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 getPackageName which didn't respect "build ignore" #7034

Merged
merged 1 commit into from
Nov 27, 2024

Conversation

H5-O5
Copy link
Contributor

@H5-O5 H5-O5 commented Nov 21, 2024

This fixed the indexing problem caused by retrieving the wrong package name.

fixes #7010

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.

Please note that the maintainers will not be reviewing this change until all checkboxes are ticked. See
the Contributions section in the README for more
details.

Discussion thread for this change

Issue number: 7010

Description of this change

getPackageName wrongly returns "ignore" which should be ignored. This change will check "build ignore" (the build tag) and respect this tag (that is, ignore files containing this tag).

This fixed the indexing problem caused by retrieving the wrong package name.

fixes bazelbuild#7010
@github-actions github-actions bot added product: GoLand GoLand plugin awaiting-review Awaiting review from Bazel team on PRs labels Nov 21, 2024
@tpasternak
Copy link
Collaborator

@iliakondratev could you please look at that?

@iliakondratev iliakondratev merged commit bfe4785 into bazelbuild:master Nov 27, 2024
7 checks passed
@github-actions github-actions bot removed the awaiting-review Awaiting review from Bazel team on PRs label Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
product: GoLand GoLand plugin
Projects
Development

Successfully merging this pull request may close these issues.

IDE indexing broken for go_proto_library with custom compilers
3 participants