eclipsesource / graphical-lsp

Graphical language server platform for building web-based diagram editors
https://www.eclipse.org/glsp
Eclipse Public License 2.0
36 stars 8 forks source link

Standalone GLSP Client #243

Closed tortmayr closed 5 years ago

tortmayr commented 5 years ago

Currently, our client implementation is tightly coupled with Eclipse Theia and it's not possible to use the current GLSP client implementation in a standalone browser app.

We should decouple dependencies to Theia and provide a basic DiagramServer implementation in the @glsp/sprotty-client package (similar to "WebsocketDiagramServer" in base spotty)

See also #140

tortmayr commented 5 years ago

To reuse our current implementation we would have to use JSON-RPC communication over web sockets. This is currently not supported in LSP4J (only plain "normal" sockets are supported). However, there is an open PR that introduces a Websocket Adapter to LSP4J https://github.com/eclipse/lsp4j/pull/314.

We should monitor this.