All Projects → eclipse-glsp → glsp-server

eclipse-glsp / glsp-server

Licence: other
Java-based server framework of the graphical language server platform

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to glsp-server

glsp-examples
Example diagram editors built with Eclipse GLSP
Stars: ✭ 28 (+12%)
Mutual labels:  diagram, graphical-models, lsp, lsp-server
merlin-language-server
Minimal cross-platform LSP wrapper for merlin
Stars: ✭ 28 (+12%)
Mutual labels:  lsp, lsp-server
ltex-ls
LTeX Language Server: LSP language server for LanguageTool 🔍✔️ with support for LaTeX 🎓, Markdown 📝, and others
Stars: ✭ 182 (+628%)
Mutual labels:  lsp, lsp-server
ansible-language-server
Ansible Language Server
Stars: ✭ 114 (+356%)
Mutual labels:  lsp, lsp-server
camel-language-server
The Apache Camel LSP server implementation
Stars: ✭ 31 (+24%)
Mutual labels:  lsp, lsp-server
Glsp
Graphical language server platform for building web-based diagram editors
Stars: ✭ 53 (+112%)
Mutual labels:  diagram, lsp
Diagram Maker
A library to display an interactive editor for any graph-like data.
Stars: ✭ 2,086 (+8244%)
Mutual labels:  diagram, diagram-editor
tds-vscode
Totvs Developer Studio for vscode
Stars: ✭ 135 (+440%)
Mutual labels:  lsp, lsp-server
LspCpp
A Language Server Protocol implementation in C++
Stars: ✭ 40 (+60%)
Mutual labels:  lsp, lsp-server
nvim-metals
A Metals plugin for Neovim
Stars: ✭ 265 (+960%)
Mutual labels:  lsp
TikZ-diagrams
Diagrams I made using the excellent TikZ package for LaTeX
Stars: ✭ 24 (-4%)
Mutual labels:  diagram
coc-svelte
svelte support for (Neo)Vim
Stars: ✭ 156 (+524%)
Mutual labels:  lsp
dotfiles
Current dotfiles and scripts
Stars: ✭ 35 (+40%)
Mutual labels:  lsp
vscode
The Visual Studio Code Extension for the Erlang Language Server
Stars: ✭ 62 (+148%)
Mutual labels:  lsp
dgcnn
Clean & Documented TF2 implementation of "An end-to-end deep learning architecture for graph classification" (M. Zhang et al., 2018).
Stars: ✭ 21 (-16%)
Mutual labels:  graphical-models
uml-diagram-for-kotlin-design-pattern-examples
UML diagram list of GoF design pattern examples written in Kotlin.
Stars: ✭ 23 (-8%)
Mutual labels:  diagram
typescript-language-server
TypeScript & JavaScript Language Server
Stars: ✭ 1,118 (+4372%)
Mutual labels:  lsp
tower-lsp
Language Server Protocol implementation written in Rust
Stars: ✭ 455 (+1720%)
Mutual labels:  lsp
Mermaid
Provides a parser function to generate diagrams and flowcharts with the help of the mermaid script language
Stars: ✭ 27 (+8%)
Mutual labels:  diagram
PlantUml.Net
a .Net wrapper for PlantUml
Stars: ✭ 35 (+40%)
Mutual labels:  diagram

Eclipse GLSP Server build-status

Contains the code for the Java-based framework to create GLSP server components.

Building

The GLSP server bundles are built with Java 11 or higher and maven. Execute mvn clean verify -Pm2 (for maven) or mvn clean verify -Pp2 (for p2). The nightly builds are available as maven repository or p2 update site.

Maven Repositories build-status-server

P2 Update Sites build-status-server

All changes on the master branch are deployed automatically to the corresponding snapshot repositories.

Structure of this repository

  • org.eclipse.glsp.graph: EMF-based implementation of graphical model that's used for client-server communication

  • org.eclipse.glsp.layout: Server-based layout using the Eclipse Layout Kernel framework (adapted from Eclipse Sprotty Server)

  • org.eclipse.glsp.server: Generic base implementation for standalone GLSP servers (based on JSON-RPC)

  • org.eclipse.glsp.server.emf: Reusable implementations if an EMF-based source model is used

  • org.eclipse.glsp.server.websocket: Extension of the base server implementation for communication over websockets

  • org.eclipse.glsp.example.workflow: GLSP server for the Workflow Diagram example

Workflow Diagram Example

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.

diagramanimated.mp4

How to start the Workflow Diagram example?

To see the diagram in action, you need to choose and launch one diagram client, see here for an overview of available clients.

Please look at the workflow example guides in the repository linked above to get more information on building and running the respecitive GLSP clients.

Building the Workflow Diagram example server

In the root of this repository, run

mvn clean verify -Pm2 -Pfatjar

Execute from IDE

To run the Workflow Diagram example server within an IDE, run the main method of WorkflowServerLauncher.java as a Java Application, located in the module glsp-server/examples/org.eclipse.glsp.example.workflow.launch.

Execute Standalone JAR

In the folder examples/org.eclipse.glsp.example.workflow/target, you should have a jar file org.eclipse.glsp.example.workflow-X.X.X-SNAPSHOT-glsp.jar whereas X.X.X is the current version.

To run the Workflow Diagram example server standalone JAR, run this command in your terminal:

    cd examples/org.eclipse.glsp.example.workflow/target
    java -jar org.eclipse.glsp.example.workflow-X.X.X-SNAPSHOT-glsp.jar

Usage

    usage: java -jar org.eclipse.glsp.example.workflow-X.X.X-glsp.jar [-c <arg>] [-d <arg>]
        [-f <arg>] [-h] [-j <arg>] [-l <arg>] [-p <arg>] [-w]

    options:
    -c,--consoleLog <arg>      Enable/Disable console logging. [default='true']
    -d,--logDir <arg>          Set the directory for log files (File logging has to be
                                enabled)
    -f,--fileLog <arg>         Enable/Disable file logging. [default='false']
    -h,--help                  Display usage information about GLSPServerLauncher
    -j,--jettyLogLevel <arg>   Set the log level for the Jetty websocket server.
                                [default='INFO']
    -l,--logLevel <arg>        Set the log level. [default='INFO']
    -p,--port <arg>            Set server port. [default='5007']
    -w,--websocket             Use websocket launcher instead of default launcher.

Once the server is running, choose a diagram client integration (such as Eclipse Theia, VSCode, Eclipse, or Standalone) below.

Where to find the sources?

In addition to this repository, the related source code can be found here:

See also

For more information, please visit the Eclipse GLSP Umbrella repository and the Eclipse GLSP Website. If you have questions, please raise them in the discussions and have a look at our communication and support options.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].