bazelbuild / intellij

IntelliJ plugin for Bazel projects
https://ij.bazel.build/
Apache License 2.0
761 stars 303 forks source link

Golang: some files in Go external libraries can not be selected on sidebar #6436

Open hunshcn opened 4 months ago

hunshcn commented 4 months ago

Description of the bug:

Sidebar has all Go external libraries and a function named "select opened file".

This function is supported by 593a8014a48194d2a23479bbd09d230efc2b5b5c.

I found an interesting thing that some files at module root cannot be selected.

example 1: sigs.k8s.io/json/json.go example 2: go.uber.org/zap/array.go, but files in next level are selectable. go.uber.org/zap/buffer/buffer.go

Which category does this issue belong to?

Intellij

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.

2024.1.1

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

go

What Bazel plugin version are you using?

2024.04.23.0.1-api-version-241

Have you found anything relevant by searching the web?

No response

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

No response