Skip to content

Support Bazel plugin processing C++ targets in IntelliJ #8276

Open

Description

@cornerwings

Description of the feature request:

IntelliJ 2025.3 onwards now support C++ directly without needing to switch to CLion, https://youtrack.jetbrains.com/issue/CPP-4141/Make-CLion-available-as-IntelliJ-plugin#focus=Change-27-13089124.0-0.pinned

We have a large Bazel project that uses both Java and C++. After installing the plugin, it seems to correctly recognize files but when any C++ file is opened, it reports an error "This file does not belong to any project target".

It is not clear if plugin pre filters targets to only JVM targets or its not able to recognize C++ targets for some other reason.

Which category does this issue belong to?

Intellij

What underlying problem are you trying to solve with this feature?

Bazel supports mixed language development well, having Bazel plugin detect appropriate C++ targets with help of newly launched C/C++ Language Support will significantly ease development of these cross language projects.

What operating system, Intellij IDE and programming languages are you using? Please provide specific versions.

AL2 via Remote SSH, Intellij IDEA 2025.3.4, Java and C++

Have you found anything relevant by searching the web?

No

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

No response

Activity

  1. ujohnny commented on Apr 10, 2026

    @ujohnny
    Collaborator

    @cornerwings have you migrated from Bazel for IntelliJ to Bazel plugin (ie old to new)?

  2. cornerwings commented on Apr 15, 2026

    @cornerwings
    Author

    Yes I am currently using the new IntelliJ Bazel plugin (github.com/JetBrains/hirschgarten right?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions