semanticTokens

Capabilities relating to textDocument/semanticTokens.

textDocument.semanticTokens.dynamicRegistration
Client Supported Since
Emacs (eglot) -
Neovim -
Visual Studio Code 1.65.2

Whether implementation supports dynamic registration. If this is set to true the client supports the new (TextDocumentRegistrationOptions & StaticRegistrationOptions) return value for the corresponding server capability as well.

textDocument.semanticTokens.requests.range
Client Supported Since
Emacs (eglot) -
Neovim -
Visual Studio Code 1.65.2

The client will send the textDocument/semanticTokens/range request if the server provides a corresponding handler.

textDocument.semanticTokens.requests.full
Client Supported Since
Emacs (eglot) -
Neovim 0.9.1
Visual Studio Code 1.65.2

The client will send the textDocument/semanticTokens/full request if the server provides a corresponding handler.

textDocument.semanticTokens.requests.full.delta
Client Supported Since
Emacs (eglot) -
Neovim 0.9.1
Visual Studio Code 1.65.2
textDocument.semanticTokens.tokenTypes
Client class comment decorator enum enumMember event function interface keyword macro method modifier namespace number operator parameter property regexp string struct type typeParameter variable
Emacs (eglot) - - - - - - - - - - - - - - - - - - - - - - -
Neovim 0.9.1 0.9.1 0.9.1 0.9.1 0.9.1 0.9.1 0.9.1 0.9.1 0.9.1 0.9.1 0.9.1 0.9.1 0.9.1 0.9.1 0.9.1 0.9.1 0.9.1 0.9.1 0.9.1 0.9.1 0.9.1 0.9.1 0.9.1
Visual Studio Code 1.65.2 1.65.2 1.65.2 1.65.2 1.65.2 1.65.2 1.65.2 1.65.2 1.65.2 1.65.2 1.65.2 1.65.2 1.65.2 1.65.2 1.65.2 1.65.2 1.65.2 1.65.2 1.65.2 1.65.2 1.65.2 1.65.2 1.65.2

The token types that the client supports.

textDocument.semanticTokens.tokenModifiers
Client abstract async declaration defaultLibrary definition deprecated documentation modification readonly static
Emacs (eglot) - - - - - - - - - -
Neovim 0.9.1 0.9.1 0.9.1 0.9.1 0.9.1 0.9.1 0.9.1 0.9.1 0.9.1 0.9.1
Visual Studio Code 1.65.2 1.65.2 1.65.2 1.65.2 1.65.2 1.65.2 1.65.2 1.65.2 1.65.2 1.65.2

The token modifiers that the client supports.

textDocument.semanticTokens.overlappingTokenSupport
Client Supported Since
Emacs (eglot) -
Neovim 0.9.1
Visual Studio Code -

Whether the client supports tokens that can overlap each other.

textDocument.semanticTokens.multilineTokenSupport
Client Supported Since
Emacs (eglot) -
Neovim -
Visual Studio Code -

Whether the client supports tokens that can span multiple lines.

since v3.17.0 textDocument.semanticTokens.serverCancelSupport
Client Supported Since
Emacs (eglot) -
Neovim -
Visual Studio Code -

Whether the client allows the server to actively cancel a semantic token request, e.g. supports returning LSPErrorCodes.ServerCancelled. If a server does the client needs to retrigger the request.

since v3.17.0 textDocument.semanticTokens.augmentsSyntaxTokens
Client Supported Since
Emacs (eglot) -
Neovim 0.9.1
Visual Studio Code -

Whether the client uses semantic tokens to augment existing syntax tokens. If set to true client side created syntax tokens and semantic tokens are both used for colorization. If set to false the client only uses the returned semantic tokens for colorization.

If the value is undefined then the client behavior is not specified.