Packaging and moving glsp-client/glsp-server into Theia blueprint electron #1409
-
I was trying to package up my code currently based on the glsp-examples/java-emf-theia template into an electron app. Is it pretty straightforward to create an electron app from this example, or would it be a bigger change in the structure of the code? Edit: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 9 replies
-
I don't think there should be any issues since there is already a browser app or is there anything in particular that you are facing? |
Beta Was this translation helpful? Give feedback.
So the way the GLSP server is started and connected to Theia is controlled by the
GLSPServerContribution
and for the tasklist that would be theTaskListGLSPServerContribution
specifically. In it's core this contribution makes sure that the (frontend) client connections are properly forwarded to the GLSP server. There is already a base implementation that supports socket and websocket connections. The general setup is controlled by theGLSPServerContributionOptions
(andGLSPSocketServerContributionOptions
). There are two ways to start the GLSP server: