Go to definition does not work.
See original GitHub issueEnvironment data
- VS Code version: 1.28.2
- Extension version (available under the Extensions sidebar):
- OS and version: Windows 10
- Python version (& distribution if applicable, e.g. Anaconda): 2.7.15 64bit anaconda
- Type of virtual environment used (N/A | venv | virtualenv | conda | …): conda
Actual behavior
Go to definition does not work.
Logs
Output for Python
in the Output
panel (View
→Output
, change the drop-down the upper-right of the Output
panel to Python
)
Starting Microsoft Python language server.
Microsoft Python Language Server version 0.1.50.0
Initializing for C:\Users\chzhu\AppData\Local\Continuum\anaconda2\envs\clover2\python.exe
[Error - 10:21:06 AM] One or more errors occurred. (Exception of type 'Microsoft.PythonTools.Parsing.BadSourceException' was thrown.)
Issue Analytics
- State:
- Created 5 years ago
- Comments:10
Top Results From Across the Web
VSCode "go to definition" not working - Stack Overflow
A simple solution that worked for me is that I closed the current workspace and created a new workspace, added the folders which...
Read more >Go to definition not working · Issue #6854 - GitHub
I tried to open another project and it worked! but my project does not. ... Other extensions you installed (and if the issue...
Read more >Ctrl + Click go to definition not working. : r/vscode - Reddit
I had a the same issue: F12 and Ctrl + Click and Right Click "Go To Definition" wasn't working. The fix for me...
Read more >VS 2019 ignores Go to Definition setting
In Visual Studio 2019, go to View --> Options --> Text Editor --> General · Either uncheck “Enable mouse click to perform Go...
Read more >Go to definition not always working in VS Code
I would run an SFDX: Refresh SObject Definitions to make sure all definitions are imported. Also check that your Java runtime for the...
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 FreeTop 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
Top GitHub Comments
Well, the reason “Go to definition” was invented was to get rid of this “workaround”… I still think having the functionality hang in 50% of the cases is worse than not having it at all.