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) and it still works, kind of, but there are in General not enough nbs files, no one does it ever to add such simple Things to NetBeans, except from cucumber. So as you can see it in my ticket, I added more links into the ticket. We should refactor the NBS to use the same token files as VS Code or Sublime or UltraEdit, because they have a lot of files for almost any language. I wanted to have a look into the NBS Code but it is to heavy for me and to much stuff, that I don’t understand. But what I can say is, we don’t Need a new Syntax for the NBS files we don’t Need NBS, I mean the Name is ok it is General, but we don’t Need our own Format. We should use, what is already there. That’s it. And if we can use this and adding almost any language into NetBeans (Again I only talk About simple Syntax highlighting, Maybe braces matching and a Little bit more, same what other Editors does), we can NetBeans handle as a simple Editor, when you want to open a file. That will decrease the whole loading time of NetBeans but you can still use NetBeans to open a file. Now I use VS Code to open a simple file, because it opens after I close and open my eyes again. In most 2 seconds and I can work. So no modules needed, to open a file with NetBeans when you don’t have it open. I know that we can’t handle all of the Features of C#, Java or Kotlin, but this is not the Point. Brining simple Editor support. Cheers Chris On 2017/06/19 07:47:02, Emilian Bold <[email protected]> wrote: > 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 we> > also need (to include) a server.> > > --emi> > > > On Mon, Jun 19, 2017 at 10:44 AM, ehsavoie <[email protected]> wrote:> > > Isn't Language Server Protocol the simpliest way to get that ?> > >> > > ----------> > > Emmanuel Hugonnet> > > http://www.ehsavoie.com> > > http://twitter.com/ehsavoie> >
