x/tools/gopls: .go files starting with "_" can cause error #43517
Labels
FrozenDueToAge
gopls
Issues related to the Go language server, gopls.
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Tools
This label describes issues relating to any tools in the x/tools repository.
Projects
What version of Go, VS Code & VS Code Go extension are you using?
go version
gopls -v version
go env
Share the Go related settings you have added/edited
Describe the bug
In my project I have an obsolete "_claims.go" file which is not ignored by gopls, causing bugs:
if I comment the package "github.com/dgrijalva/jwt-go" in _claims.go gopls works again.
With this bug, none of the features like "Show all occurrences" work.
"gopls" should ignore all files starting with "_", the same as "go build" does.
The text was updated successfully, but these errors were encountered: