Clarity Web IDE

Clarity Web IDE is based on Gitpod, an open-source Web IDE for github and gitlab repositories. The design and functionality is inspired by Visual Studio Code. With extra configuration the Web IDE can be adjusted for the type of code hosted in the repo. The configuration for Clarity development can contain:

Using Web IDE

  1. Open a git repo that is configured to use the Clarity Web IDE in a browser
  2. Prefix the url with https://gitpod.io/# in the browser like https://gitpod.io/#https://github.com/friedger/clarity-smart-contracts
  3. Enjoy all the tools

Videos

Setting up your git repo for Clarity Web IDE

  1. Add .gitpod.yaml
  2. Add .gitpod.Dockerfile
  3. Use the gitpod link to enjoy all the tools

.gitpod.yaml

The gitpod configuration file defines

.gitpod.Dockerfile

The docker image contains the setup for the clarity tools. As the tools are developing fast, currently, it makes sense to clone the repo and build them. In the future, the docker image would use just the released versions.