Provides language support via TGRL Language Server.
During the hands-on sessions, participants have two options to use our tool - (1) Using VS Code desktop-based application (highly recommended) and (2) Using web-based VS Code views in browser. The second option provides limited support for the features of the TGRL extension. For example, the code highlighting feature and visualization of diagrams are currently not supported by the web-based VS Code views in a browser. However, participants will be still able to edit the textual TGRL models collaborate using the second option.
============
Visual Studio Code
-
Install the Visual Studio (VS) Code application on your system from here.
-
Clone the repository
git clone https://github.com/Rijul5/vscode-turn.git
Open Terminal to create a project run directory (workspace) and launch VS code extension
mkdir workspace
cd workspace
code .
-
Install the VSIX file of our proposed TGRL extension in VS Code
-
Install the VS Code Live Share extension using the "Search extensions in Marketplace" or using the below command after CTRL + P (VS Code Quick Open)
ext install MS-vsliveshare.vsliveshare-pack
-
Click on the "LiveShare" option in the bottom left corner of VS Code to start a collaboration session
-
Modeller can then create TGRL Models (file with .turn extension) collaboratively. For quick start, we have provided a sample TGRL model "example.turn" in the "examples" folder of this repository.
============
- Clone the repository
git clone https://github.com/Rijul5/vscode-turn.git
Open Terminal to create a project run directory (workspace) and launch VS code extension
mkdir workspace
cd workspace
code .
- Inside VS Code, run the below commands in the terminal
yarn
yarn build
-
Launch Extension Development Mode" by pressing the key "F5"
-
Click on the "LiveShare" option in the bottom left corner of VS Code to start a collaboration session
-
To package the extension in a VSIX file, use the below command
vsce package