PTVS
PTVS copied to clipboard
Python Tools for Visual Studio
_This issue has been moved from [a ticket on Developer Community](https://developercommunity.visualstudio.com/t/build-fails-when-run-automated-but-succ/10621820)._ --- We use Nant to manage our nightly builds. Our solution contains a Python project. The nightly builds are...
_This issue has been moved from [a ticket on Developer Community](https://developercommunity.visualstudio.com/t/Python-Tools:-Add-support-for-running-__/10642703)._ --- Many people shove in a __main__.py file to make their Python "Package" folder runnable directly. Sadly the Python...
**Describe the bug**  **Steps to Reproduce** 1. Create a Python Application project 2. Input some code ``` import array; import glob; import math print(math.cos(10)) ``` 3. Move the cursor...
Environment  **Steps to Reproduce** 1.Create python application project and add "Lib\test\pythoninfo.py" and set as Startup File 2.Debug> Launch Python Profiling 3.Press any key to continue **Expected behavior** The VSP...
Received the following bug report from our docs team. I’m running into an error right away when I try to repro the steps in [the article.](https://learn.microsoft.com/en-us/visualstudio/python/interactive-repl-ipython?view=vs-2022) I’m using Python 3.11...
_This issue has been moved from [a ticket on Developer Community](https://developercommunity.visualstudio.com/t/Issue-with-Rename-Functionality-in-Pytho/10659594)._ --- When I click on the name of a function (variable, class, etc.) in the `Python editor` and press...
_This issue has been moved from [a ticket on Developer Community](https://developercommunity.visualstudio.com/t/Problem-creates-Search-Path-inside-Pyt/10646427)._ --- [severity:It bothers me. A fix would be nice]  Look at scr.shot. Path creates as relative from ProjDir....
Extract Method on the three lines inside func below does nothing: ```python def func(): x = 1 y = 2 return x * y ```
This options dialog:  Looks like it corresponds to these settings: ```json "python.analysis.diagnosticMode": "openFilesOnly", "python.analysis.logLevel": "info", "python.analysis.typeCheckingMode": "basic", "python.analysis.importFormat": "absolute", "python.analysis.stubsPath": "typings", "python.analysis.typeShedPaths": [], "python.analysis.indexing": false ``` There are bunch...
Open the file here: https://github.com/microsoft/pylance-release/blob/main/testing/single/src/completion.py Run the last example, that is trying to add completions for the `__init__` method. Expected result: ```python # bring up override completion after `__init__` and...