Rell Language Extension for Visual Studio Code
THIS IS AN ALPHA VERSION UNDER DEVELOPMENT
Rell is a programming language built for the relational blockchain platform Chromia. It allows to you build dapps in a way that's safe, concise and intuitive.
This extension enables language features for Rell, including syntax- and semantic highlighting, and compilation warnings.
Commands are built into the Command Palette of vs code to facilitate common actions in a Chromia project.
Easiest way to start a new Chromia project. It will set up everything you need to get going.
Run a postchain application locally with the configured Run.xml file.
Coloring and Styling
The extension comes with a default style schema for Rell files. If one would like to change the default style for a specific semantic token the following steps is required:
Run Rell Applications in VS Code
To run your postchain application locally you can use the
Rell postchain app in Docker
To run your postchain application you can also use Docker. Follow the guide in the Readme of this repository.
Note: If you want the blockchain to re-start from blockheight 0 when you spin up the docker containers, make sure to set the WIPE_DB environment variable to true. This will also change the genesis block with the current state of your Rell modules that is set in the run.xml file.
Calling Rell-app with Postchain-client
To call a Rell app when it is running use the Postchain client: https://bitbucket.org/chromawallet/postchain-client/src/master
To develop on the extension currently requires Java Development Kit (JDK). To check if you have JDK installed on your machine, open a terminal and run
Prepare IDE sources
Open IDE sources in VS code
Alpha release of rell language extension for VS Code. The extension is under testing, please report bugs or write feature reqeusts here.