[X] I had searched in the issues and found no similar issues.
Description
Formerly, developers should manually set the --compile-commands-dir argument for clangd. According to clangd's official documentation, we can make one soft link to the 'compile_commands.json' so that clangd would automatically detect it and then do all the semantic analytical workloads.
Solution
add one new ignore item for compile_commands.json in the root path
add logic in the build.sh which can detect the build dir and make soft link for the compile_commands.json
Search before asking
Description
Formerly, developers should manually set the
--compile-commands-dir
argument for clangd. According to clangd's official documentation, we can make one soft link to the 'compile_commands.json' so that clangd would automatically detect it and then do all the semantic analytical workloads.Solution
compile_commands.json
in the root pathcompile_commands.json
Are you willing to submit PR?
Code of Conduct