[haiku-development] [linting and autocomplete] How to generate compile_commands.json / alternatives

  • From: Abhay Raj Singh <abhayofficialone@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Sun, 21 Mar 2021 22:03:05 +0530

I use NeoVim as my primary editor it uses clangd with Language Server
Protocol in the backend.
It requires compile_commands.json which is generated by cmake.

I also use VScode with "C/C++ intellisense" but  it also fails to lint.

Is there any other way to use linting and autocomplete. Thanks!
-- 
Abhay
*(rathod-sahaab)*

Other related posts: