SeelabFhdo / lemma

Home of the Language Ecosystem for Modeling Microservice Architecture (LEMMA)
MIT License
33 stars 8 forks source link

Lsp upgrade #73

Open mmitas777 opened 10 months ago

mmitas777 commented 10 months ago

This PR adds support for the Language Server Protocol (LSP) to all DSLs. This is done by adding launchers to create and launch language servers basing on the language definitions of the DSLs and the Xtext implementation of a language server. The language servers are available inside runnable Fat JARs that are produced during the LEMMA build.

For demonstrating purposes, extensions for VSCode were built to use the language servers for supporting language features (auto completion, Goto Definition, etc.) outside Eclipse in every LSP-capable IDE. These extensions also include TextMate grammars and a color theme similar to the Eclipse Dark Theme for seamless switch between Eclipse and VSCode.

frademacher commented 9 months ago

Hi. First of all, thanks a lot for the PR and the valuable inclusion of the LSP feature and VSCode extensions. Highly appreciated work! And here go my comments with the PR:

commit 46fe281a82ef7e1166f1ca27ee10396a7886266b:

commit e7f999e4fbd082bf0a98a47d3279c390cc85ad45:

commit 724a39d18047af95e8f1c1c780cd0b2eafab9077: