Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Mark package with BUILD.bazel file in completion #5526

Merged
merged 1 commit into from
Oct 24, 2023

Conversation

stevebarrau
Copy link
Contributor

@stevebarrau stevebarrau commented Oct 24, 2023

Checklist

  • I have filed an issue about this change and discussed potential changes with the maintainers.
  • I have received the approval from the maintainers to make this change.
  • This is not a stylistic, refactoring, or cleanup change.

Discussion thread for this change

Discussed offline with @blorente. This looks like a regression.

Description of this change

Mark package with BUILD.bazel file in completion

Diff of the behavior

The base branch for this PR, before change

In this repo under example/go/with_proto

Behavior: proto is a directory, it should be a package

image

After the change

In this repo under example/go/with_proto

Behavior: proto is a package, as expected

image

@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 Oct 24, 2023
@blorente
Copy link
Collaborator

Tested on IJ UE 2023.2 and CLion 2023.2, and it works.
Happy to merge as-is, but leaving open for a couple of days in case @mai93 would like to give it a look.

@mai93 mai93 removed the awaiting-review Awaiting review from Bazel team on PRs label Oct 24, 2023
@mai93 mai93 merged commit 8d9e657 into bazelbuild:master Oct 24, 2023
8 checks passed
blorente pushed a commit to blorente/intellij that referenced this pull request Nov 1, 2023
In my current real version of the plugin (4023-171-api-version-232-api-version-232), a BUILD.bazel file already marks the directory as a bazel package. In the apple branch it does not. This attempts to fix this.

Upstream-PR: bazelbuild#5526
Reviewed-by: Daniel Wagner-Hall <[email protected]>
Reviewed-by: Borja Lorente <[email protected]>
@stevebarrau stevebarrau deleted the mark-packages-in-completion branch November 9, 2023 07:54
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