x/tools/gopls: don't downrank symbol results outside of the workspace folder, but in a workspace module #63458
Labels
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.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Open vim/editor, and do a symbol search for
cue.Str
What did you expect to see?
The result for
cuelang.org/go/cue.Str
as the best match.What did you see instead?
cuelang.org/go/cue.Str
as the 13th best match with a number of worse matches scoring higher (highest score first)Logs from my session locally:
cc @findleyr
The text was updated successfully, but these errors were encountered: