Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Eclipse support in Xtext as LSP + Generic Editor?(It's better to go With LSP+GE or stay with 'native' support for a while?)
Eclipse support in Xtext as LSP + Generic Editor? [message #1767498] Thu, 06 July 2017 13:26 Go to next message
Krzysztof Drozd is currently offline Krzysztof DrozdFriend
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 Go to previous message
Jan Koehnlein is currently offline Jan KoehnleinFriend
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
Previous Topic:How to remove the dependency of "org.eclipse.xtext.common.types.ui" plugin
Next Topic:Customizing content assist suggestions
Goto Forum:
  


Current Time: Fri Apr 19 07:11:55 GMT 2024

Powered by FUDForum. Page generated in 0.01518 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top