Closed cssharsha closed 1 month ago
Any luck, Sree? If you indeed did solve it, any chance you'd be down to drop a note for future folks?
Hey @cpsauer, thanks for the reply. I was away on the weekend and just saw your message. Looks like clangd doesn't like when I have two different llvm toolchains added. Changed it to one and looks like it now works.
Appreciate the active support btw!
Hey, This looks like a wonderful tool and I have been trying to use this to generate the
compile_commands.json
for my project. I am trying to run this inside a dev container in vscode. I am using a custom toolchain for the project. Although the build is successful I have not been able to get the clangd functionality working. Maybe it does not find the clang includes that are built/added by the toolchain? Any insight would be great. I am adding theWORKSPACE
file here for reference:I am just using the top level command to generate the compile_commands file since this is fairly small project with just two targets (
bazel run @hedron_compile_commands//:refresh_all
)