Creation of compile_commands.json

Hi everybody,

during the last month I updated my development workflow to something “languageserver” based. Editors like vscode use languageserver to provide fancy features autocompletion, syntax checking, jump to definition, highlight signatures and other features.

In common C/C++ language server implementations, all this is based on file called compile_commands.json usually created by the build system. Is there any way to generate such a file for a RIOT Project? It would be a nice addition since vscode is rising in popularity and vim(the weapon of my choice) has plugins with proper languageserver support, improving the development workflow significantly.

Cheers Simon

Try make BOARD=<YOUR_BOARD> compile-commands in your App :wink:

1 Like

Thanks for pointing that out. Its great to see that we have all the nice things