Eclipse support in Xtext as LSP + Generic Editor? [message #1767498] |
Thu, 06 July 2017 13:26 |
Krzysztof Drozd Messages: 12 Registered: July 2017 Location: Amsterdam |
Junior Member |
|
|
Hi,
LSP is getting more and more support in Eclipse world. Che is getting it, with Generic Editor in Oxygen in can replace "native" Eclipse support.
But what are pros and cons (currently) of both approaches?
LSP+GE looks more universal as it gives support for another editor for free but I'm not sure if it's that powerful as the current way of providing Eclipse support.
I know that is easy to add LSP support to current projects so I personally decided to wait. What do You think?
Krzysiek
Thanks
Krzysiek
[Updated on: Fri, 07 July 2017 08:44] Report message to a moderator
|
|
|
Re: Eclipse support in Xtext as LSP + Generic Editor? [message #1768121 is a reply to message #1767498] |
Thu, 13 July 2017 18:28 |
Jan Koehnlein Messages: 760 Registered: July 2009 Location: Hamburg |
Senior Member |
|
|
As you say, the scope of LSP is smaller, and so the resulting editor would have less features than the current Eclipse editor generated by Xtext.
This is unlikely going to change soon, as LSP targets lighter and as such less extensive tooling.
And this is one of the reasons why Xtext's support for Eclipse is here to stay.
The advantage of using LSP is that is runs on a plethora of clients, including VSCode, Che, Sublime etc.
Another advantage is that if you want to integrate multiple Xtext languages based on different versions of Xtext, that's possible with LSP, as these run in separate processes. Within Eclipse, you have to make sure thay all run on the same version of Xtext, which may not be possible.
---
Get professional support from the Xtext committers at www.typefox.io
|
|
|
Powered by
FUDForum. Page generated in 0.02956 seconds