Skip to content

How to dynamically register semantic tokens #1107

@stamblerre

Description

@stamblerre

I have a few questions about dynamic registration for the semantic tokens methods.

  • Should they each be registered individually? When I register textDocument/semanticTokens/full, textDocument/semanticTokens/full/delta, and textDocument/semanticTokens/range, I get errors for textDocument/semanticTokens/full/delta and textDocument/semanticTokens/range.
  • Should the registration options for each method be the same SemanticTokensOptions? Should full and range be configured in those options or left out since they are registered individually?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions