Clangd parsing occasionally failed. #1958
Unanswered
zx616456607
asked this question in
Q&A
Replies: 1 comment 5 replies
-
Can you provide a code example and clangd logs? Also, what is the relevance of the screenshots of the vscode-clangd source code that you are showing? |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Clangd serverOptions sets the installation path for clangd.exe, and options.cwd sets the workspace directory.
Clangd clientOptions sets the configuration fallbackFlags of the header file. These configuration items I configure are the parent directory of the header file directory, and the header file is introduced through the relative path in the editor.
When opening and switching files, we will dynamically set the header file configuration and reset the header file configuration through the clangd restart command.
We are currently doing this and have encountered some problems, such as incomplete display of reference files when viewing references, blank page of call tree information, etc.
Beta Was this translation helpful? Give feedback.
All reactions