Skip to main content



      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 09:26 Go to next message
Eclipse UserFriend
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

[Updated on: Fri, 07 July 2017 04:44] by Moderator

Re: Eclipse support in Xtext as LSP + Generic Editor? [message #1768121 is a reply to message #1767498] Thu, 13 July 2017 14:28 Go to previous message
Eclipse UserFriend
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.
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: Wed Jul 16 17:47:14 EDT 2025

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

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

Back to the top