|Can we support both an LS and Eclipse Workbench at the same time? [message #1818188]
||Tue, 10 December 2019 02:02
| Maged Elaasar
Registered: September 2013
I like to develop both an Eclipse workbench and a language server for my Xtext language. In the latter, I also like to develop a graphical notation with Sprotty. Is this doable with the same project code?|
I noticed that in your Xtext with Sprotty examples, you make modifications to the IDE plugin that will not compile with an Tycho build, especially when developing a diagram server with Sprotty (I think there is no eclipse plugin version of that library?).
If the IDE plugin has to diverge for both cases, is there a way to have two separate IDE projects (one for each case)but reuse the same DSL project? Can the same MWE2 generate two IDE projects?
Otherwise, is there an easy way to isolate the sprotty code to another project that gets built only by Gradle with the LS? The main issue is when you create the Guice injector in the MyDslIdeSetup class, and mix in the DaigramModule.
Thanks for the insights in advance.
[Updated on: Tue, 10 December 2019 02:02]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.01999 seconds