x/tools/gopls: semantic tokens appear to have broken since v0.13.2 #63415
Labels
FrozenDueToAge
gopls
Issues related to the Go language server, gopls.
Tools
This label describes issues relating to any tools in the x/tools repository.
Milestone
gopls version
go env
(taken from vscode
Go: Locate Configured Go Tools
output)What did you do?
Originally submitted as a vscode-go bug (golang/vscode-go#3000), something appears to have changed between v0.13.2 and v0.14.0-pre.2 such that semantic tokens are not being correctly integrated into vscode-go. All tokens display
type not in legend (ignored)
. This was discovered while using theGo Nightly
exension, which was installing gopls v0.14.0-pre.2.In my case, the issue was resolved by switching away from the nightly extension to the default and reinstalling the go tools with
Go: Install/Update tools
, which installed gopls v0.13.2, wherupon semantic tokens were restored.What did you expect to see?
Semantic tokens.
What did you see instead?
semantic token type not in legend (ignored)
modifiers not in legend (ignored)
Editor and settings
The text was updated successfully, but these errors were encountered: