Skip to content

v1.1.0

Choose a tag to compare

@github-actions github-actions released this 15 Apr 08:31
c8e8834
Semantic tokens (1.1.0) (#3)

* feat(semantic-tokens): emit tokens from the tree-sitter parse tree

Adds a textDocument/semanticTokens/full handler that walks the parse
tree and emits tokens for imports (namespace + import keyword), object
types, property and binding names, signal handlers (event), required
properties, comments, strings, numbers, regexes, and keyword literals.
Multi-line strings/comments are split per line so clients render every
line. Tokens are delta-encoded per the LSP spec.

* feat(semantic-tokens): advertise SemanticTokensProvider in capabilities

* test(semantic-tokens): cover legend, delta encoding, and token coverage

* docs: cut 1.1.0 with semantic tokens, tests, and DocumentSymbol fix