Skip to main content

Tooling for Aleo Instructions

info

If you have installed a Leo syntax plugin then you should already be able to see syntax highlighting for .aleo Aleo instructions.

Aleo maintains several syntax highlighting implementations across different platforms. If you do not see your favorite editor on this list, please reach out on GitHub.

  1. Sublime Text.
  2. Visual Studio Code.
  3. Intellij.

Sublime Text​


Download the editor here: https://www.sublimetext.com/download. Aleo instructions support for Sublime's LSP plugin is provided through a language-server.

Install​

  1. Install LSP and LSP-leo from Package Control.
  2. Restart Sublime.

Usage​

Follow these steps to toggle the Aleo instructions syntax highlighter.

  1. Open Sublime Text.
  2. From Settings > Select Color Scheme... > LSP-leo
  3. This will also allow you to see syntax highlighting for Aleo instructions.

VSCode​

Download the editor here: https://code.visualstudio.com/download.

Install​

  1. Install Leo for VSCode from VSCode marketplace.
  2. The correct extension ID is aleohq.leo-extension, and the description should state "the official VSCode extension for Leo".

Usage​

  1. Open VSCode.
  2. Go to Settings > Extensions or use the left side panel Extensions button to enable the Leo plugin.
  3. This will also allow you to see syntax highlighting for Aleo instructions.

IntelliJ​

Download the editor here: https://www.jetbrains.com/idea/download/.

Install​

  1. Download the Aleo Developer Plugin from JetBrains marketplace.
  2. Click on the gear icon in the upper right > Plugins > gear icon up top > Install Plugin from Disk > Select the downloaded zip file
  3. This will also allow you to see syntax highlighting for Aleo instructions.