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
Answer from pailhead on Stack Overflow
Discussions

c++ - VSCode "go to definition" not working - Stack Overflow
I installed Visual Studio Code 1.1 with the C/C++ extension, opened my C++ project and tried to use "Go to definition" in vain. The "Go to definition" is not working at all. Example, go to definit... More on stackoverflow.com
🌐 stackoverflow.com
Go to Definition missing from menu [Python]
Environment data VS Code version: 1.32.3 Extension version (available under the Extensions sidebar): python 2019.3.6215 OS and version: Ubuntu 18.04 Python version (& distribution if applicable, e.... More on github.com
🌐 github.com
3
March 31, 2019
VSCode no longer showing Go To Definition on right click.
VSCode Version: 1.30.1 OS Version: Windows x64 10.0.1 Python Project. Extension is installed. Steps to Reproduce: System restore while having VSCode installed. Reinstall VSCode and extensions due t... More on github.com
🌐 github.com
4
January 2, 2019
Go to definition not working anymore
Environment data VS Code version: 1.33.1 (Stable Channel) Extension version (ms-python.python): 2019.3.6558 OS and version: Ubuntu 18.04 Python version (& distribution if applicable, e.g. Anaco... More on github.com
🌐 github.com
16
April 23, 2019
🌐
Luxiyalu
luxiyalu.com › python-vscode-go-to-definition-doesnt-work
Python + VSCode: “Go to Definition” Doesn’t Work? | Have Fun Learning
Make sure that you have Microsoft’s Python extension installed. If you need more than one paths, simply create a .env file in project root path, and add extra paths in, separated by :, as such: ... VSCode will know to look for definitions under these paths.
🌐
GitHub
github.com › microsoft › vscode-python › issues › 5033
Go to Definition missing from menu [Python] · Issue #5033 · microsoft/vscode-python
March 31, 2019 - microsoft / vscode-python Public forked from DonJayamanne/pythonVSCode ... Python version (& distribution if applicable, e.g. Anaconda): 3.6 · Type of virtual environment used (N/A | venv | virtualenv | conda | ...): N/A · Relevant/affected Python packages and their versions: N/A · Ability to right click on a function and go to its definition
Author: microsoft
🌐
GitHub
github.com › Microsoft › vscode › issues › 65914
VSCode no longer showing Go To Definition on right click. · Issue #65914 · microsoft/vscode
January 2, 2019 - OS Version: Windows x64 10.0.1 Python Project. Extension is installed. ... System restore while having VSCode installed. Reinstall VSCode and extensions due to restore causing malfunction. After the above steps happening my VSCode no longer shows the 'Go To Definition' option in the right click.
Author: microsoft
Find elsewhere
🌐
GitHub
github.com › microsoft › vscode-python › issues › 5425
Go to definition not working anymore · Issue #5425 · microsoft/vscode-python
April 23, 2019 - So maybe there is some issue with only "Go to Definition". Also one more thing if you've written function in same class and use self.method_name() then it will able to navigate to the method · Tried to reinstall the python extension (ms-python.python) >> Not worked
Author: microsoft
🌐
GitHub
github.com › microsoft › vscode-python › issues › 18919
Go to Definition missing from menu · Issue #18919 · microsoft/vscode-python
April 13, 2022 - Issue Type: Bug 1, open a folder with python files 2, right click to check menu 3, no 'Go to Definition' item found VS Code version: Code 1.66.2 (dfd34e8260c270da74b5c2d86d61aee4b6d56977, 2022-04-11T07:46:01.075Z) OS version: Windows_NT ...
Author: microsoft
🌐
GitHub
github.com › microsoft › vscode-python › issues › 16057
Go to definition not working: "No definition found for 'function'" · Issue #16057 · microsoft/vscode-python
April 27, 2021 - Value of the python.languageServer setting: JediLSP · On Ctrl+click (or F12) on any function, class, variable,... go to the definition.
Author: microsoft
🌐
YouTube
youtube.com › watch
How To Enable Go To Definition In Visual Studio Code? - Next LVL Programming - YouTube
How To Enable Go To Definition In Visual Studio Code? Unlocking the full potential of Visual Studio Code can significantly enhance your coding experience. In...
Published: January 23, 2025
🌐
GitHub
github.com › microsoft › vscode › issues › 196989
Go to definition stopped working · Issue #196989 · microsoft/vscode
October 30, 2023 - Type: Bug Go to definition stopped working. VS Code version: Code 1.83.1 (f1b07bd, 2023-10-10T23:48:05.904Z) OS version: Windows_NT x64 10.0.22621 Modes: System Info Item Value CPUs 12th Gen Intel(R) Core(TM) i7-1255U (12 x 2611) GPU Sta...
Author: microsoft
🌐
GitHub
github.com › microsoft › vscode-python › issues › 5199
'Go to definition' not working · Issue #5199 · microsoft/vscode-python
April 11, 2019 - Relevant/affected Python packages and their versions: None · There is 'go to definition' in short cut menu, and press shortcut key defined in Visual Studio Code can lead to expected position.
Author: microsoft
🌐
Visual Studio Code
code.visualstudio.com › docs › python › editing
Editing Python in Visual Studio Code
November 3, 2021 - Go to Definition (F12) jumps from your code into the code that defines an object.
🌐
GitHub
github.com › microsoft › vscode-python › issues › 22625
"Go to definition" does not work. Duplicate, but the previous question has been closed. · Issue #5241 · microsoft/pylance-release
December 11, 2023 - Same issue, but the answers don't solve the problem for me: https://stackoverflow.com/questions/64255834/no-definition-found-for-function-vscode-python (Switching python.languageserver to Jedi or Pylance did not help.) The problem occured today for the first time. I have tried restarting, have not tried re-installing. I have enabled github copilot today for the first time, so one guess is that this caused the issue. I also get another warning (but I got that before): The git repository at ...
Author: microsoft
🌐
YouTube
youtube.com › bir grewal
Fix: VS Code Go to Definition Not Working - YouTube
Visual Studio Code (VS Code) is a very popular code editor among the developers of the world. This is due to it's awesome and unique features, and one such f...
Published: December 21, 2021
Views: 32K
🌐
GitHub
github.com › microsoft › vscode › issues › 212213
"Go to Definition" and "Go to Declaration" have disappeared · Issue #212213 · microsoft/vscode
May 7, 2024 - Type: Bug I just upgraded VSCode to 1.89.0 and the right-click "Go to Definition" and "Go to Declaration" options disappeared. They're absent from the right-click menu in al...
Author: microsoft
🌐
GitHub
github.com › microsoft › vscode › issues › 123365
go to definition ....loading,and not working · Issue #123365 · microsoft/vscode
May 8, 2021 - I have installed the newest version of vscode-python from https://github.com/microsoft/vscode-python. In some project, It works well when i right click and go to definiton.But after i used sometimes, this does not work well.
Author: microsoft