clangd / vscode-clangd

Visual Studio Code extension for clangd
https://marketplace.visualstudio.com/items?itemName=llvm-vs-code-extensions.vscode-clangd
MIT License
592 stars 97 forks source link

Subject: Clangd Not Functioning Properly in Specific Workspace #641

Closed DYAAL closed 2 weeks ago

DYAAL commented 2 weeks ago

Hi, today I encountered a strange issue while working. My Clangd suddenly stopped functioning normally, and the problem only occurs in the current workspace. Other workspaces don't have this issue.

The problem appeared suddenly during use, with Clangd failing to parse and navigate correctly. I have verified that compile_commands.json is in the correct path and the index is properly generated, but it still doesn't work correctly. I have attached compile_commands.json and clangd.log in hopes that you can help me. clangd.log 1718628473944 compile_commands.json

HighCommander4 commented 2 weeks ago

Is this a duplicate report of https://github.com/clangd/clangd/issues/2070?

DYAAL commented 2 weeks ago

yes

HighCommander4 commented 2 weeks ago

Duplicate of https://github.com/clangd/clangd/issues/2070