-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cant disable squiggles #114
Comments
If you don't have a working build (e.g. missing compile_commands.json, or not all the required headers, or the code is just not portable to your platform) then clangd isn't going to work very well. For example, if an #include is not found, then we're not going to be able to parse code that refers to types defined in that header. Go-to-definition is unlikely to work reliably etc. So I'm not sure what your goal is here:
|
This can sometimes be useful, e.g. local declarations can often be resolved and navigated to. (This is also one of the cases where allowing the textual heuristic for go-to-def to trigger for non-dependent identifiers would be helpful.) |
just hide the diagnostics, there is too many |
This has been specifically requested: clangd/vscode-clangd#114 and various issues can be addressed with this as a workaround, e.g.: clangd/clangd#662 Differential Revision: https://reviews.llvm.org/D95349
Clangd 12 will support this with config:
|
|
Thanks! |
This has been specifically requested: clangd/vscode-clangd#114 and various issues can be addressed with this as a workaround, e.g.: clangd/clangd#662 Differential Revision: https://reviews.llvm.org/D95349
This has been specifically requested: clangd/vscode-clangd#114 and various issues can be addressed with this as a workaround, e.g.: clangd/clangd#662 Differential Revision: https://reviews.llvm.org/D95349
clangd version 10.0.0 (https://github.com/llvm/llvm-project d32170dbd5b0d54436537b6b75beaf44324e0c28)
os: macos 10.15.7
vscode 1.51.1
clangd extesion v0.1.8
there are some error squiggles on many files, i build on linux server, so i want disable squiggles, but i dont find the config.
like this:
The text was updated successfully, but these errors were encountered: