Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
in cursor IDE there is issue when we try to “Go to definition” right click menu similar as vs code its shows “no definition found for …”
Steps to Reproduce
issue can be reproduce in any C file.
Expected Behavior
its should work same as VS code
Screenshots / Screen Recordings
Operating System
Windows 10/11
Current Cursor Version (Menu → About Cursor → Copy)
Version: 2.1.36 (system setup)
VSCode Version: 1.105.1
Commit: 9cd7c8b6cebcbccc1242df211dee45a4b6fe15e0
Date: 2025-11-26T03:43:48.079Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Windows_NT x64 10.0.26200
Additional Information
extensions:
anysphere.cpptools
ms-vscode.cpptools-themes
llvm-vs-code-extensions.vscode-clangd
ms-python.python
anysphere.cursorpyright
ms-python.vscode-python-envs
ms-python.debugpy
vadimcn.vscode-lldb
Does this stop you from using Cursor
No - Cursor works, but with this issue
deanrie
(Dean Rie)
3
Hey, thanks for the report.
You have two C++ extensions installed simultaneously - anysphere.cpptools and llvm-vs-code-extensions.vscode-clangd. They are conflicting.
Try removing llvm-vs-code-extensions.vscode-clangd and restart Cursor.
If that doesn’t help, the extension needs a compile_commands.json file in the project root.
Let me know if this helps.
after removing, still facing same issue.
there is no file name with compile_commands.json in root, also in VS code with same project folder its working fine without this file
Sal.Andani
(Sal Andani)
6
I have the same issue - Angular project. Works fine in Antigravity and vsCode.
Sal.Andani
(Sal Andani)
7
Found the culprit! In my case, I exported the Angular Language from vsCode (v: 21.0.0) and installed it in Cursor. Fixed the issue.
1 Like
mine not resolve yet, still facing same!!
hi @deanrie
is this support portal, where peoples get at least answer or we need to ask on any other place where we get solution?
system
(system)
Closed
11
This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.