-
Notifications
You must be signed in to change notification settings - Fork 375
Closed
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bughelp wantedIssues identified as good community contribution opportunitiesIssues identified as good community contribution opportunities
Milestone
Description
I pushed a minimum reproducible demo
When the order of semantic tokens provided by the language server is inconsistent with the order in the document character stream, non-ascending semantic tokens will not be highlighted. This will not be the case when using language clients based on the VS Code API, and highlighting will not be affected by token order.
Phenomenon:
The code for providing semantic tokens between the language server and the client is almost exactly the same.

doubt:
No requirement for the order of semantic tokens was found in the LSP documentation.
Is this a requirement for LSP? Or is it a bug in the vscode-languageserver/node npm package?
Metadata
Metadata
Assignees
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bughelp wantedIssues identified as good community contribution opportunitiesIssues identified as good community contribution opportunities
