Cmd + click not working to jump to function definition in Cursor

I just got cursor but for some reason cmd+click is not jumping to function definition. This has been a really annoying issue that’s prevented me from using cursor over vscode. Can you help to solve this?

1 Like

Hey, sorry you are struggling with this! Which language are you coding with in your project?

The CTRL+Click functionality is powered by the language-specific extension that works for your project, so the reasons for it not working would be different for each language.

I’m using python, should I download some extension manually? What could be the issue?

Try installing this:

Same issue with JS/TS. Does not work at all. I’ve tried disabling all extensions and enabling again. I have the same extensions installed on VS Code and no problem there.

2 Likes

In case anyone else hits this issue, this is how I fixed it:

  1. Open the cmd pallete (cmp + shift + p)
  2. Type in “Install Extensions” and open the Extensions panel
  3. Search for the word “Python” and find the extension with 4M+ downloads
  4. Click “Uninstall” → “Restart Extensions” → “Install”
  5. Profit