Cmd+click, "Go to Function Definition" functionality?

I solved my problem by:

  • Uninstalling vscode
  • Uninstalling cursor
  • Removing the Code and Cursor folders from the %APPDATA%\Roaming folder (I’m on Windows 11)
  • Shut down the computer
  • Power on the computer
  • Install cursor fresh

Hope this helps someone

thank you. it’s working for me

Same issue with JS/TS. Have been dealing with it for a month or so. If i restart cursor it cmd+click works for a few min and then stops working

Same issue with JS/TS. Does not work at all. I’ve tried disabling all extensions and enabling again.

Perfect

Issue is also affecting me for Go code. None of the above works / applies.

Hey, that should work simply by installing the Go extension, I assume you already have this installed?

I had exactly the same issue, removed Pylance extension, then installed it again, and now it works with cmd + click🙏🏽

Works, Thank You.

I met the same issue here on my Macbook. I defined a python function in a file. Then I cannot go to the function definition by cmd+click in other python files. But Option + click works. It’s quit weird. I don’t find a way to fix it.

Hey, can you try this suggestion to see if it helps? This is usually a configuration issue, not an issue with Cursor itself!

I ran into this issue as I was coding in JavaScript and I finally figured out how to solve the problem. I followed the guide here: How I can make ctrl + click to go to definition in visual studio code editor for mac OS? - Stack Overflow

In summary go to press F1, type settings json , then click Open Settings (JSON) , and then do the following:

Add “editor.multiCursorModifier”: “alt”, to your file

{
    "editor.multiCursorModifier": "alt",
}

Basically the IDE gets freed up so that cmd + click now works again. Magic!