on April 19, 2022 SOLVED
In my emacs, I use
clangd, there are so many clangd error outputs but it can compile success, there’s also happened in other projects. And when I use clion with clangd these errors are just gone and the syntax check outputs are the same as compiler compilation output.
These are my operations when I get starting with a project:
cmake -B build -DCMAKE_EXPORT_COMPILE_COMMAND=YES -DCMAKE_BUILD_TYPE=Debug && ln -s build/compile_command.json ..
Are there any operations and configurations I missed?
here’s my collected info following the lsp troubleshooting guide
And I wonder if there’s some better tracing workflow for solving lsp-related issues?