After updating to 2021.3, "Goto definition", "Find all references", "Rename Symbol" work only after second attempt. #15740
Labels
area-intellisense
LSP-related functionality: auto-complete, docstrings, navigation, refactoring, etc.
bug
Issue identified by VS Code Team member as probable bug
python.languageServer
setting: Pylance[NOTE: If you suspect that your issue is related to the Microsoft Python Language Server (
python.languageServer: 'Microsoft'
), please download our new language server Pylance from the VS Code marketplace to see if that fixes your issue]Expected behaviour
"Goto definition", "Find all references", "Rename Symbol" are expected to work every time
Actual behaviour
After first attempt to execute one of those commands, for "Goto definition" - "No definition found" message is displayed, for "Find all references" - "No results", for "Rename Symbol" - "No result".
The second time same command is attempted, it works as expected.
Downgrading to the previous version of the extension solved the problem.
Steps to reproduce:
[NOTE: Self-contained, minimal reproducing code samples are extremely helpful and will expedite addressing your issue]
Logs
Output for
Python
in theOutput
panel (View
→Output
, change the drop-down the upper-right of theOutput
panel toPython
)The text was updated successfully, but these errors were encountered: