Skip to content

Bazel for CLion Plugin Issue: bazel root includes not respected by IDE #7848

@trammel-may

Description

@trammel-may

Description of the bug:

Steps to Reproduce

  1. Open the project in CLion with the Bazel plugin installed.
  2. Open main.cpp in /packages/app/.
  3. Observe that the include for Message.hpp shows an error ('packages/lib/Message.hpp' file not found clang (pp_file_not_found)), even though the file exists in /packages/lib/.

Expected Result
The include statements should be recognized correctly, and no error should be shown.

Actual Result
The include statements show an error indicating that the file is not found.

Which category does this issue belong to?

No response

What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.

follow instructions at this repo to replicate issue

Which Intellij IDE are you using? Please provide the specific version.

CLion 2025.2 Build #CL-252.23892.426, built on August 2, 2025

What programming languages and tools are you using? Please provide specific versions.

c++/objc

What Bazel plugin version are you using?

2025.08.04-api-version-252

Have you found anything relevant by searching the web?

No response

Any other information, logs, or outputs that you want to share?

No response

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Untriaged

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions