clangd needs compile_commands.json
clangd needs compile_commands.json
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
- Rickard Johansson
- Site Admin
- Posts: 6739
- Joined: 19 Jul 2006 14:29
Re: clangd needs compile_commands.json
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.