[llvm-dev] compile_commands.json and VSCode

Nathan James via llvm-dev llvm-dev at lists.llvm.org
Sat Jan 16 09:43:39 PST 2021


Hi,

I've not tested it, but compile_commands is documented as being
supported in vscode using intellisense - 
https://code.visualstudio.com/docs/cpp/faq-cpp.
However, personally I'd recommend you give clangd a try - 
https://marketplace.visualstudio.com/items?itemName=llvm-vs-code-extensions.vscode-clangd
, It too requires the compile_commands.json file.

~Nathan

On Sat, 2021-01-16 at 23:00 +0530, Deep Majumder via llvm-dev wrote:
> Hi everyone,
> While using VSCode to develop LLVM, does using the generated
> compile_commands.json file to configure Intellisense give better
> results?
> Warm regards,
> Deep
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev



More information about the llvm-dev mailing list