Skip to content
Johannes Altmanninger edited this page May 21, 2022 · 4 revisions

C++ tooling setup

If you want to use Clang tools (e.g. clangd via kak-lsp) to hack on Kakoune's C++ sources. you'll need to create a compile_commands.json file so the Clang tool will use the correct build flags.

One solution is to wrap your make invocations with bear:

bear -- make debug=yes clean all

Another solution is to teach the build system to output compile_commands.json.

Clone this wiki locally