There seems to be a new setting editor.gotoLocation.multipleDefinitions which, if set to peek (as is the default) will open a peek even if the definition is unique. This may be a bug but setting it to goto solves it for me.

Answer from Marc on Stack Overflow
Discussions

Go To Definition Ctrl + Left - Click Not Working
VS Code Version: 1.90.0 89de5a8 x64 OS Version: Linux Mint 21.3 x86_64 Steps to Reproduce: Disable all my extensions Use F12 or Ctrl + F12 or Ctrl + Left - Click does not work Enable all my extensi... More on github.com
🌐 github.com
16
June 13, 2024
Ctrl+click stopped working
This isn't caused by the IntelliJ keybindings extension: Ctrl+click doesn't work after disabling it and even reloading window. Also, it can't be that because mouse operations cannot even be customized... ... I encountered this issue yesterday on my Macbook after a clean install (including removing all cached directories). I'll open a new issue if this is considered closed, but just noting it here: ... About info on VSCode... More on github.com
🌐 github.com
October 3, 2025
ctrl + click not working and also code suggestion gone and not showing error if any
Type: Bug i am using java script and on ctrl+click i cant go to function declaration from yesterday i searched for this problem and tried but nothing works VS Code version: Code 1.78.2 (b3e4e68, 20... More on github.com
🌐 github.com
11
May 12, 2023
Ctrl click not working
Are you using a external keyboard which was built with Windows in mind? There's no reason ctrl + click would jump to a function definition on a Mac. cmd + click is the default keybinding for that action. If you're using a third party keyboard, it's possible there's some other key modifier happening here. opt + click shouldn't jump to a function definition either. More on reddit.com
🌐 r/vscode
4
1
April 6, 2025
🌐
GitHub
github.com › microsoft › vscode › issues › 55092
Ctrl+click not working to find variable/function/class declaration · Issue #55092 · microsoft/vscode
July 25, 2018 - I've already searched for the answer for this here, on StackOverflow, and through Google, and no solutions I've found have worked. I'm coming from PHPStorm and Eclipse where Ctrl+click on a variable or function or class object or call takes me to its declaration... I tried editing Go To Definition (F12) or goToDeclaration (why are those named differently anyways?) but the editor ignores click; F12 doesn't even do anything. I've tried editing other things like "editor.multiCursorModifier": "alt" but nothing I'm trying is working.
Author: microsoft
🌐
GitHub
github.com › microsoft › vscode › issues › 215449
Go To Definition Ctrl + Left - Click Not Working · Issue #215449 · microsoft/vscode
June 13, 2024 - VS Code Version: 1.90.0 89de5a8 x64 OS Version: Linux Mint 21.3 x86_64 Steps to Reproduce: Disable all my extensions Use F12 or Ctrl + F12 or Ctrl + Left - Click does not work Enable all my extensi...
Author: microsoft
🌐
GitHub
github.com › microsoft › vscode › issues › 269673
Ctrl+click stopped working · Issue #269673 · microsoft/vscode
October 3, 2025 - Type: Bug Ctrl+click has been the way to jump to definition (in code) or jump to linked filename (in terminal). Recently this stopped working, making it impossible to do anything. I have to right click and select "Go to definition" in co...
🌐
GitHub
github.com › microsoft › vscode › issues › 182284
ctrl + click not working and also code suggestion gone and not showing error if any · Issue #182284 · microsoft/vscode
May 12, 2023 - Type: Bug i am using java script and on ctrl+click i cant go to function declaration from yesterday i searched for this problem and tried but nothing works VS Code version: Code 1.78.2 (b3e4e68, 20...
Author: microsoft
🌐
Developer Community
developercommunity.visualstudio.com › t › ctrl-click-go-to-definition-stopped-working-in-vs › 1536904
Ctrl + click = go to definition, stopped working in VS ...
September 22, 2021 - Skip to main content · Visual Studio · Guidelines Problems Suggestions Code of Conduct · Downloads · Visual Studio IDE Visual Studio Code Azure DevOps Team Foundation Server Accounts and Subscriptions · Subscriber Access · Microsoft Security Azure Dynamics 365 Microsoft 365 Microsoft ...
Find elsewhere
🌐
GitHub
github.com › microsoft › vscode-python › issues › 25193
Ctrl + Click not working · Issue #25193 · microsoft/vscode-python
June 18, 2025 - Type: Bug Behaviour Extension Version any greater thatn 2025.4.0: When clicking on a variable or method call with CTRL+LeftClick, nothing happens. Steps to reproduce: CTRL+LeftClick on any variable or method call Diagnostic data Output f...
Author: microsoft
🌐
YouTube
youtube.com › watch
Fix Ctrl+Click Not Working in VSCode | Quick Solution - YouTube
Is Ctrl+Click (Go to Definition) not working in Visual Studio Code? In this quick tutorial, I’ll guide you through simple steps to fix the issue and improve ...
Published: April 28, 2025
🌐
GitHub
github.com › microsoft › vscode › issues › 32143
Ctrl + Click is not working VS Code Editor(Javascript file) · Issue #32143 · microsoft/vscode
August 8, 2017 - VSCode Version: 1.14.2 OS Version: Ubuntu 14.04 LTS Steps to Reproduce: create a Javascript function invoke that function Do a Ctrl + click -> earlier it used to go to that definition. But after recent update it is not going to that defi...
Author: microsoft
🌐
Developer Community
developercommunity.visualstudio.com › content › problem › 1191049 › ctrl-click-go-to-definition-has-stopped-working-on.html
Ctrl Click Go to definition has stopped working on ...
September 20, 2020 - Skip to main content · Visual Studio · Guidelines Problems Suggestions Code of Conduct · Downloads · Visual Studio IDE Visual Studio Code Azure DevOps Team Foundation Server Accounts and Subscriptions · Subscriber Access · Microsoft Security Azure Dynamics 365 Microsoft 365 Microsoft ...
🌐
Reddit
reddit.com › r/vscode › ctrl + click occasionally not working in vs code
r/vscode on Reddit: Ctrl + Click Occasionally Not Working in VS Code
August 19, 2024 -

I'm using Linux Mint and VS Code, mostly writing JavaScript in Vue. Sometimes, the links to functions in other files don’t work. When I press `Ctrl`, the cursor doesn’t change to a hand, and it’s not clickable. However, when I close and reopen VS Code, it gets fixed. Do you know why?

🌐
GitHub
github.com › microsoft › vscode › issues › 177325
Terminal Ctrl-Click (path) not working · Issue #177325 · microsoft/vscode
March 16, 2023 - -> the mouse-cursor will not (permanently) change from text-cursor(the big I) to link-cursor(the hand with stretched out index finger) (alt+click DOES work) 6. click on the path while holding down ctrl 7. -> nothing will happen 8.
Author: microsoft
🌐
GitHub
github.com › microsoft › vscode › issues › 119252
Ctrl + Click is not working · Issue #119252 · microsoft/vscode
March 18, 2021 - We have written the needed data into your clipboard because it was too large to send. Please paste. Issue Type: Bug ctrl + click on any function should go to the function definition. VS Code version: Code 1.53.2 OS: RHEL 8.2 VS Code vers...
Author: microsoft
Top answer
1 of 16
135

First and foremost, please note that in VS Code for macOS, the familiar Ctrl + click from Windows / Linux operating systems has been replaced with ⌘ + click (i.e.: "command + click"). Try that first before proceeding any further as that shortcut should work out of the box without any special modifications.

However, if the above still doesn't work for you then try fixing the problem by editing your settings.json file. To do that, press F1, type settings json, then click Open Settings (JSON), and then do one of the following:

To use ⌘ + click as your "Go to definition" shortcut, ensure the following line exists in your JSON settings:

"editor.multiCursorModifier": "alt",

What this does is it explicitly sets VS Code's "add another cursor" shortcut to option + click (try it out for yourself!), thus freeing up ⌘ + click to be used for the "Go to definition" operation.

Conversely, to use option + click as your "Go to definition" shortcut instead, add:

"editor.multiCursorModifier": "ctrlCmd",

Note: the above line will actually set the "add another cursor" shortcut to ⌘ + click (not Ctrl + ⌘ + click, as implied by the JSON value).

2 of 16
49

Settings > User > multiCursorModifier must be set to alt (default), so the ctrl/cmd will be available to go to definition.

Documentation:

The modifier to be used to add multiple cursors with the mouse. The Go To Definition and Open Link mouse gestures will adapt such that they do not conflict with the multicursor modifier.

🌐
GitHub
github.com › redhat-developer › vscode-java › issues › 1560
Ctrl + Click is not working VS Code Editor(Java file) · Issue #1560 · redhat-developer/vscode-java
August 3, 2020 - Ctrl + Click is not working VS Code Editor(Java file)#1560 · Copy link · Labels · need info · softboy99 · opened · on Aug 3, 2020 · Issue body actions · Operating System: win 10 x64 · JDK version: 1.8 · Visual Studio Code version: 1.47.3 · Java extension version: 0.9.1 ·