To come up with the Topic again, LSP can’t handle Syntax Highlighting (yet).
There is a PR for adding such stuff:
https://github.com/Microsoft/vscode-languageserver-node/pull/367. I commented
it here too: https://issues.apache.org/jira/browse/NETBEANS-7.
The Schliemann Project was nice (NBS)
the
model.
Peter
From: Sven Reimers <sven.reim...@gmail.com>
Sent: Monday, June 19, 2017 9:00 AM
To: dev@netbeans.incubator.apache.org
Subject: Re: Provide basic editor features for more file types out of the
box[WAS: Re: AW: Introductory Email]
Who can remember Schliemann Project in NetBeans?
Sven
Am 19.06.2017 1:08 nachm. schrieb "Emilian Bold" :
> In theory adding LSP support should be just as easy since the server does
> all the heavy lifting.
>
> But if we want to have for example Erlang syntax
In theory adding LSP support should be just as easy since the server does all
the heavy lifting.
But if we want to have for example Erlang syntax highlighting, etc. in the
first case we just add another 10kb configuration file. In the second case we
have to find and ship an Erlang LSP server.
I don't believe so.
For simple editors (syntax highlighting, braces matching, keywords
completion) we can write easily a generic editor that loads the
keywords from a definition file that's already available on the links
mentioned.
LSP makes sense for full-blown support (eg. Typescript) but then
Isn't Language Server Protocol the simpliest way to get that ?
--
Emmanuel Hugonnet
http://www.ehsavoie.com
http://twitter.com/ehsavoie