-
Notifications
You must be signed in to change notification settings - Fork 384
Semantic highlighting protocol extension #368
Copy link
Copy link
Closed
Description
I have started to work on a semantic highlighting extension of the LSP.
The semantic highlighting information is pushed from the server to the client as a notification. This notification contains the lines and the ranges where the coloring has the be applied and the desired coloring details are given as TextMate scopes.
In the reference implementation of the client, I was trying to map the TextMate scopes into the appropriate theme I can use as a decoration in the TextEditor decoration. How can one map the TextMate scopes into themes (and eventually TextEditorDecorationType) with the current VS Code API?
Any suggestions and feedback are welcome. Thanks!
Related issues:
- Support semantic highlighting (
Microsoft/language-server-protocol) - Proposal for (Semantic) Coloring (see #18) (
Microsoft/language-server-protocol) - Provide an API for advanced/semantic source highlighting (
Microsoft/vscode) - Add support for lexical syntax coloring (
Microsoft/language-server-protocol)
Update:
- GH-715: Implemented the semantic highlighting support. is a reference LS implementation in Java.
- GH-1845: Extended the LSP with the semantic highlighting capabilities. is a reference client implementation in Theia through the monaco API.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels