Skip to content

x/tools/gopls: register semantic tokens with textDocument/semanticTokens #42148

@stamblerre

Description

@stamblerre

We currently use textDocument/semanticTokens/full only, but the correct way is textDocument/semanticTokens. We'll have to register semantic tokens both ways to avoid regressing, but we'll eventually be able to remove the multiple registration capabilities after the next VS Code Go release.

This will depend on the release of the next version of the vscode-languageclient. See microsoft/language-server-protocol#1107 for context.

Metadata

Metadata

Assignees

No one assigned

    Labels

    DocumentationIssues describing a change to documentation.FrozenDueToAgeToolsThis label describes issues relating to any tools in the x/tools repository.goplsIssues related to the Go language server, gopls.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions