PTVS code completion does not work
See original GitHub issueSince upgrading to VS 1.5.8.1 (PTVS 15.8.18201.1) I am unable to get code completion, Go To Definition, variable renaming etc.
This applies both to my modules and 3rd party modules.
The status bar in VS has the message “Python source analysis is not up to date”. I’ve tried deleting the .vs
folder and that didn’t help. I tried reverting to the “old” intellisense engine but that just caused VS to run on very high CPU and even after I waited almost 12 hours (with the computer on) I couldn’t get proper completions. The Python Environment window just showed that the vast majority of packages were still not processed. Tried “Refreshing Db” a few time but that did not help.
Diagnostic info attached.
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
PTVS code completion does not work · Issue #4687
I have 15.8.6 and code completion does not work on the code in my own project. It does work on installed packages. Go...
Read more >PTVS lxml code completion does not work
I am trying to use lxml package to parse XML file. Simple code work well in python interpreter. But, PTVS code completion does...
Read more >COM/Python: Autocompletion
Python code completion does not work in PyCrust and in PTV Visum menu 'Scripts->VisumAddIn->Python Console'. Only commands beginning with '_' are shown.
Read more >why python Intellisense in VS cannot autocomplete ...
I used VS2019 16.8.1 with python 3.9. I installed the Python Requests Module extra package to use that. I created a python console...
Read more >Edit Python code - Visual Studio (Windows)
Completions are often triggered by typing different statements (such as import ) and operators (including a period), but you can have them ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
The fix will be included in 15.8.3.
I have 15.8.6 and code completion does not work on the code in my own project. It does work on installed packages. Go to definition, and find all references also do not work, unless it’s within the same file.