Skip to content

Bazel protobuf generated pb.h files are not indexed #7794

@baibinghere

Description

@baibinghere

Description of the bug:

Remote SSH Development Environment.
Bazel installed on Host. Imported as bazel project.
Verified the pb.h files are generated in ./bazel-bin/, ./bazel-out/ folders.
When including headers such as configs/node_config.pb.h, CLion IDE complains 'configs/node_config.pb.h' file not found, while it should be referenced either to the file under ./bazel-bin/config/node_config.pb.h or to the protobuf definition file.

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

CLion 2025.1.3

What Bazel plugin version are you using?

2025.06.24.0.1

Metadata

Metadata

Type

Projects

Status

Untriaged

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions