vscode-clangd icon indicating copy to clipboard operation
vscode-clangd copied to clipboard

Can't go to definition in Windows

Open CnsMaple opened this issue 1 year ago • 9 comments

Please describe the problem. For hints on what information is helpful, see: https://clangd.llvm.org/troubleshooting.html

If you can, provide a minimal chunk of code that shows the problem (either inline, or attach it if larger).

Logs Please attach the clangd log from the "Output" window if you can. If possible, run with --log=verbose - note that the logs will include the contents of open files!

System information Clangd version (from the log, or clangd --version): 17.0.3 clangd extension version: Operating system:


There is no problem with the same project on Linux. The smallest reproducible project is to create a qt project, then comment a variable, and then use go to definition. In the first one in the list, it is not updated and still shows the commented variable. Clip_2024-03-23_10-54-33

CnsMaple avatar Mar 23 '24 03:03 CnsMaple