Reputation: 865
I am working on Typescript/Javascript project using VSCODE. I use to hover mouse on the method and can see the function definition, cmd + click
go the definition. Somehow(I don't know what I did), the "Go to Definition" disappear from the right click menu.
This is what I got right now.
Search a lot on Google, tried add editor.multipleCursor: ctrlCmd
but it is not working as well.
Anyone has similar situation.
Upvotes: 5
Views: 11757
Reputation: 23
I reinstalled my Python Extension and everything got back as it was before. Try to delete unneeded extensions and update your Python Extension.
Upvotes: 0
Reputation: 5431
In my case it was: https://github.com/microsoft/vscode/issues/142564#issuecomment-1041004004
Also make sure you have not disabled the built-in typescript extension:
In the extensions view
Search @builtin typescript
Make sure TypeScript and JavaScript Language Features is enabled
Upvotes: 6
Reputation: 553
My friend had the same issue, even after disabling all extension, reloading then and re-enabling them, it didn't solve the issue. However, after disabling, reloading and re-enabling, a prompt for missing dependencies showed up. Best to follow that prompt and install what's needed unless you know what you're doing.
My friend did not install dotnet on their pc. After installing dotnet, then again, disabling, reloading and re-enabling all extensions, it works.
Upvotes: 1
Reputation: 11
fast answer: if is WSL installed verific dotnet version betwen systems. i had to match them...
Upvotes: 0
Reputation: 86
I had the same issue today, some answers online pointed out that this is a problem with extensions, but each blame different one. What worked for me is reinstalling these extensions: python, c/c++, git history, then restarting VSCode. Maybe for your situation you need to uninstall different extensions and install them again, especially (but not limited to) recent ones.
Upvotes: 5