theia-ide / theia-sprotty-example

An example application integrating Sprotty views with Theia
Apache License 2.0
18 stars 5 forks source link

theia-sprotty-example

An example application integrating graphical sprotty views for an Xtext-based DSL with Theia

sprotty Theia Demo

Build and Run

git clone git@github.com:TypeFox/theia-sprotty-example.git

# Build the diagram-aware language server for the example DSL
cd theia-sprotty-example/server
./gradlew installDist
cd ..

# Prepare the Theia extension for the example DSL
cd theia-dsl-extension
npm install
cd ..

To run the Theia web app:

# Build and run the Theia webapp
cd theia-app
npm install
npm run build
npm run start

To run the Theia Electron app

# Build and run the Theia Electron app
cd theia-electron
npm install
npm run build
npm run start

How to Use the Examples