Development - borkdominik/bigER GitHub Wiki
📖 Table of Contents
Clone the bigER repository and open the root folder in VS Code. Within VS Code, open the terminal and execute the following commands:
language-server/gradlew -p language-server/ build
yarn --cwd webview
yarn --cwd extension
The first command builds the Xtext-based language server and copies the resulting start scripts and JAR files to the extension/server
folder, so the extension can access it. The next command builds and bundles the webview with the client-side diagram components into the extension/pack
folder. At last, the extension is build with a resulting main.js
file.
After the build, the extension
folder should have the files as shown in the screenshot:
If you do not have Eclipse installed, we recommend downloading the Eclipse IDE for Java and DSL Developers, as it comes with Xtext already pre-installed. The Eclipse Plug-ins for Gradle are also required to import the project.
Import the Gradle project by creating a new workspace in eclipse and selecting File
-> Import
-> Gradle
-> Existing Gradle Project
.
Click on Next
and select the language-server
folder as the Project root directory.
After clicking on Finish
, the project and its subdirectories will be imported to the workspace.
Theses:
- Developing Sprotty-based Modeling Tools for VS Code
- Multi-Notation Support for a Hybrid VS Code Modeling Tool
Documentation: