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

Searching for files using "relative path from project root" doesn't work. #7197

Open
H5-O5 opened this issue Dec 18, 2024 · 0 comments
Open
Assignees
Labels
awaiting-maintainer Awaiting review from Bazel team on issues product: GoLand GoLand plugin type: bug

Comments

@H5-O5
Copy link
Contributor

H5-O5 commented Dec 18, 2024

Description of the bug:

Suppose you have a .bazelproject which only opens app/foo

directories:
  app/foo
derive_targets_from_directories: true
targets:
additional_languages:

Then, in Search --> Files (Ctrl+Super+O)

Here:

  • if you type in "foo/mycode.go", it shows up without a problem.
  • But if you type in "app/foo/mycode.go", nothing shows up.

I'm using GoLand and up-to-date version of the plugin. It may seem natural from plugin's developer's perspective, but plugin users are likely to feel confused and surprised. Therefore, it looks like a bug to me.

I wonder if we can do something to make the search bar work in this case.

Which category does this issue belong to?

No response

What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.

No response

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

#GO-243.22562.186

What programming languages and tools are you using? Please provide specific versions.

Go

What Bazel plugin version are you using?

latest stable

Have you found anything relevant by searching the web?

No response

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

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting-maintainer Awaiting review from Bazel team on issues product: GoLand GoLand plugin type: bug
Projects
Status: Untriaged
Development

No branches or pull requests

6 participants