clangd needs compile_commands.json

Tips and information on how to install and use language servers with the editor.
Post Reply
bprlhe
Posts: 26
Joined: 01 Apr 2023 06:26

clangd needs compile_commands.json

Post 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
User avatar
Rickard Johansson
Site Admin
Posts: 6562
Joined: 19 Jul 2006 14:29

Re: clangd needs compile_commands.json

Post 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.
Post Reply