You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem I am encountering is that when I try to follow the links in the includes using clangd, I get redirected to the bazel-out directory instead of the actual project files.
The generated compile-commands.json includes the following flags:
Question:
Is there a way to configure Bazel or clangd to get the includes to point to the actual project files instead of the bazel-out directory? Or am I missing something in my setup?
The text was updated successfully, but these errors were encountered:
I am setting up a Bazel build system and integrating clangd into my development workflow. My project structure is as follows:
My BUILD file for the main executable looks like this:
The problem I am encountering is that when I try to follow the links in the includes using clangd, I get redirected to the bazel-out directory instead of the actual project files.
The generated compile-commands.json includes the following flags:
I would expect the include paths to point to the actual files in my project, like this:
Question:
Is there a way to configure Bazel or clangd to get the includes to point to the actual project files instead of the bazel-out directory? Or am I missing something in my setup?
The text was updated successfully, but these errors were encountered: