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