Semantic Highlighted Language Server in VSCode

I would like to write a VSCode language server with support for semantic highlighting. The language I use has very complex rules, so I do not want to rely on the tokenizer to distinguish between identifiers and keywords.

I already have a language service in VS Community , where I wrote my own classifier. Is it possible to write your own classifier in VSCode , or the only way to colorize a document is to add the TextMate language specification file to the VSCode package?

+5
source share

Source: https://habr.com/ru/post/1242595/


All Articles