Page 1 of 1

clangd needs compile_commands.json

Posted: 15 Jun 2023 12:06
by bprlhe
What is your solution to this? Have the text editor generate this file? Sublime Text's plugin requires to use cmake as the build system: https://github.com/sublimelsp/LSP-clangd

Re: clangd needs compile_commands.json

Posted: 16 Jun 2023 14:05
by Rickard Johansson
Not sure. Some language servers do require some "project/solution/settings" file to work properly. But I don't know how to create these using some general easy action.