Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Semantic highlighting protocol extension #368

Closed
kittaakos opened this issue Jun 27, 2018 · 1 comment
Closed

Semantic highlighting protocol extension #368

kittaakos opened this issue Jun 27, 2018 · 1 comment

Comments

@kittaakos
Copy link

kittaakos commented Jun 27, 2018

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:

Update:

@dbaeumer
Copy link
Member

dbaeumer commented Oct 6, 2020

I am closing the issue since semantic highlighting is in the upcoming 3.16 spec.

@dbaeumer dbaeumer closed this as completed Oct 6, 2020
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 20, 2020
@dbaeumer dbaeumer removed this from the Backlog milestone Oct 24, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants