Readit News logoReadit News
legrangramgroum commented on LSP: The good, the bad, and the ugly   michaelpj.com/blog/2024/0... · Posted by u/bryjnar
ReleaseCandidat · 2 years ago
> Syntax-coloring and [...] come to mind

Semantic highlighting is part of LSP and supported by all "bigger" LSPs.

legrangramgroum · 2 years ago
LSP syntax highlighting can be heavy weight the whole source is sent every few keystroke, and if many tokens get an annotation. It is common to use fast and simple JS frontend highlighting for simple things like literals, keyword and comments. For example, with Textmate via a VSCode extension. LSP is left to deal with the identifiers where a name resolver or a type system is needed.

Deleted Comment

u/legrangramgroum

KarmaCake day101August 24, 2024View Original