-
I try to understand how VSCode integration works. I have checked out the glsp-server code and started the server. I was already able to run the glsp-client in my web browser. Next I tried the glsp-vscode-integration.
But what now?? In the README I found the following sentence: To test the VSCode extension with an external server (e.g started from your IDE) the launch configuration "Workflow GLSP Example Extension (External GLSP Server)" can be used. What is meant by "Workflow GLSP Example Extension (External GLSP Server)"? What is this? And how do I start this extension or where can I find this? Sorry for this stupid question but I am totally lost Thanks for any help |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 2 replies
-
Beta Was this translation helpful? Give feedback.
-
Ah! Yes this works. Very cool! |
Beta Was this translation helpful? Give feedback.
-
Just one more additional question I did not understand so far. |
Beta Was this translation helpful? Give feedback.
-
A GLSP diagram editor implementation typically consists of three parts:
If you now want to support multiple platforms, you only need to provide multiple implementations of part 3 above. The platform-independent things, such as the diagram logic (server) and the diagram rendering&UI (client) remain the same across all platforms. As an example, please look at the workflow example linked above. This diagram implementation can be used for all platforms; that is, for the same workflow-glsp & workflow server components there are four platform-specific integration components. |
Beta Was this translation helpful? Give feedback.
A GLSP diagram editor implementation typically consists of three parts:
If you now want to support multiple platforms, you only need to provide multiple implementations of part 3 above.
All other parts are the same for every platform. The platform integration takes care of things like the editor registration for a specific file type, platform-specific styling and potentially theming support (VSCode and Theia), native menus, integration with the platforms Problems …