Rell Language Extension for Visual Studio CodeTHIS 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. FeaturesThis extension enables language features for Rell, including syntax- and semantic highlighting, and compilation warnings. CommandsCommands are built into the Command Palette of vs code to facilitate common actions in a Chromia project. Avaliable commands:
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 StylingThe 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 CodeTo run your postchain application locally you can use the Rell postchain app in DockerTo 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-clientTo call a Rell app when it is running use the Postchain client: https://bitbucket.org/chromawallet/postchain-client/src/master ContributingRequirementsTo 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
Release Notes0.1.0Alpha release of rell language extension for VS Code. The extension is under testing, please report bugs or write feature reqeusts here. |