-
Notifications
You must be signed in to change notification settings - Fork 142
Closed
Labels
enhancementNew feature or requestNew feature or requesttextDocument/semanticTokensSemantic syntax highlightingSemantic syntax highlighting
Description
Current Version
0.6.1
Background
Syntax highlighting is currently done on the client, which means that each client implements their own logic and deals with their own bugs. This is because LSP historically did not provide a way of highlighting a document via protocol.
Proposal
Upcoming LSP 3.16 has support for textDocument/semanticTokens
which the server could implement and provide a single source of truth for how to highlight a document.
NodeJS client implementation is available in microsoft/vscode-languageserver-node#367
Related LSP methods
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesttextDocument/semanticTokensSemantic syntax highlightingSemantic syntax highlighting