Skip to content

Conversation

@LeFrosch
Copy link
Collaborator

@LeFrosch LeFrosch commented Nov 24, 2025

Apparently, I was to eager with #7994 and this requires a more proper fix. With this fix the Bazel import banner will be shown:

  • for com.intellij.clion.projectStatus.isProjectAwareFile and files with BuildFileType
  • if there is a WORKSPACE(.bazel)? or MODULE.bazel file in the project root

And if there is CidrWorkspace.getInitializedWorkspaces(project) the status will be an information rather then a warning.

Furthermore, there seems to be some common logic that no banner is show for files which are already part of a project.

@LeFrosch LeFrosch marked this pull request as ready for review November 24, 2025 12:25
@github-actions github-actions bot added product: CLion CLion plugin product: IntelliJ IntelliJ plugin product: GoLand GoLand plugin awaiting-review Awaiting review from Bazel team on PRs labels Nov 24, 2025
@LeFrosch LeFrosch force-pushed the pull/ae304963388d30ff3134986901fd78a75a23577d branch from e1a691f to 7a94657 Compare November 26, 2025 10:12
@LeFrosch LeFrosch merged commit c55842f into bazelbuild:master Nov 26, 2025
3 checks passed
@LeFrosch LeFrosch deleted the pull/ae304963388d30ff3134986901fd78a75a23577d branch November 26, 2025 11:26
@github-project-automation github-project-automation bot moved this from Untriaged to Done in Bazel IntelliJ Plugin Nov 26, 2025
@github-actions github-actions bot removed the awaiting-review Awaiting review from Bazel team on PRs label Nov 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

product: CLion CLion plugin product: GoLand GoLand plugin product: IntelliJ IntelliJ plugin

Projects

Development

Successfully merging this pull request may close these issues.

4 participants