Closed tortmayr closed 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.
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