PTVS icon indicating copy to clipboard operation
PTVS copied to clipboard

Python Tools for Visual Studio

Results 249 PTVS issues
Sort by recently updated
recently updated
newest added

_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...

user responded
needs repro

_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...

enhancement

**Describe the bug** ![image](https://github.com/microsoft/PTVS/assets/82852072/c3fbce15-5a80-49c1-8981-5b3655d2711f) **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...

user responded

Environment ![image](https://github.com/microsoft/PTVS/assets/59192491/8ad8b985-2027-421b-86d2-37654aaf38b4) **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...

needs investigation

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...

bug

_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...

bug
P3

_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] ![image.png](https://aka.ms/dc/image?name=B1fe1c97fd14642ceba32bddcf8a66027638495830990213158_20240424-221818-image.png&tid=1fe1c97fd14642ceba32bddcf8a66027638495830990213158) Look at scr.shot. Path creates as relative from ProjDir....

waiting for response

Extract Method on the three lines inside func below does nothing: ```python def func(): x = 1 y = 2 return x * y ```

bug

This options dialog: ![image](https://github.com/microsoft/PTVS/assets/19672699/e56bb874-6999-4a7a-9833-418134ad8e4f) 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...

enhancement

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...

bug