Deep Majumder via llvm-dev
2021-Jan-16 17:30 UTC
[llvm-dev] compile_commands.json and VSCode
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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20210116/34d4ccd1/attachment.html>
Nathan James via llvm-dev
2021-Jan-16 17:43 UTC
[llvm-dev] compile_commands.json and VSCode
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