Problems window showing "phantom" errors #3277
Labels
area-intellisense
LSP-related functionality: auto-complete, docstrings, navigation, refactoring, etc.
bug
Issue identified by VS Code Team member as probable bug
Environment data
Actual behavior
While typing a name, the Problems window raises "used before definition" warnings that do not go away when the name is completed.
The following actions do NOT fix this:
The only reliable way I have found so far to fix this is to restart VSCode.
Unlike #2290, this does NOT happen when jedi is enabled. This also does not appear to be a linter issue, as the (pylint) output does not show any of these warnings:
Can't seem to reproduce this with a toy example, but it is happening often enough in real projects that it is becoming a major usability issue. The number of "problems" explodes with phantom entries and makes the tool useless.
Expected behavior
Don't show problems in Problems window if they don't exist.
Logs
Output for
Python
in theOutput
panel (View
→Output
, change the drop-down the upper-right of theOutput
panel toPython
)Output from
Console
under theDeveloper Tools
panel (toggle Developer Tools on underHelp
)console.log
The text was updated successfully, but these errors were encountered: