question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

PTVS code completion does not work

See original GitHub issue

Since 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:closed
  • Created 5 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
huguesvcommented, Aug 31, 2018

The fix will be included in 15.8.3.

0reactions
ejc1commented, Oct 5, 2018

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.

Read more comments on GitHub >

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

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found