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.

Does anyone know how to fix this? It's not a must, but it bothers me.
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.

To avoid peek panel below the code when ctrl + click is pressed, change this setting in vscode user settings. File -> Preferences -> Settings -> User: definitionLinkOpensInPeek Uncheck the check box.

Go To Definition Ctrl + Left - Click Not Working
Ctrl+click stopped working
ctrl + click not working and also code suggestion gone and not showing error if any
Ctrl click not working
I have a mac and I could not get ctrl + click to take me to the function definition, even after trying all the recommendation I could find online and asking chat. For some reason it was mapped to option + click instead. Hope this helps others, there seemed to be nothing online about this :)
Make sure you have "PHP IntelliSense" Extension and "php.executablePath" set to PHP bin file.
p.s. VSCode is not IDE, it is only code editor and support for PHP is poor.
In case anyone is still having the same issue, I just tried the PHP Intelephense extension by Ben Mewburn and Ctrl+Click to go to definition just works without any configuration. Link to extension
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?
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).
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.