Skip to content

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

@H5-O5

Description

@H5-O5

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

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Untriaged

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions