!!! This repository is discontinued. This project has moved to eclipse-glsp and will be maintained there !!!
This project contains the glue code necessary to diagram editors built with the graphical language server platform (GLSP) with VSCode, as well as an example VSCode extension for the workflow diagram example for testing purposes.
The workflow diagram is a consistent example provided by all GLSP components. The example implements a simple flow chart diagram editor with different types of nodes and edges (see screenshot below). The example can be used to try out different GLSP features, as well as several available integrations with IDE platforms (Theia, VSCode, Eclipse, Standalone). As the example is fully open source, you can also use it as a blueprint for a custom implementation of a GLSP diagram editor. See our project website for an overview of the workflow example and all components implementing it.
Clone this repository and build the VSCode integration packages:
yarn install
Now you can start the VSCode extension by opening this repository in VSCode and executing the "Workflow GLSP Example Extension" launch configuration, provided with this project.
If you want to explore or change the Workflow Diagram Server too, you can clone, build and start the workflow example glsp-server
from your IDE instead of using the embedded pre-built version of the Workflow Diagram Server. See workflow example glsp-server
for instructions on building and running the Workflow Diagram Server example.
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.
In addition to this repository, the related source code can be found here:
- https://github.com/eclipse-glsp/glsp-server
- https://github.com/eclipse-glsp/glsp-client
For more information, please visit the Eclipse GLSP Umbrella repository and the Eclipse GLSP Website. If you have questions, contact us on our spectrum chat and have a look at our communication and support options.