Skip to main content

Tooling for 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.
  4. Vim.

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-aleo-developer from Package Control.
  2. Restart Sublime.

Usage

Follow these steps to toggle the Aleo instructions syntax highlighter.

  1. Open Sublime Text.
  2. From Preferences > Select Color Scheme... > LSP-aleo-developer

VSCode

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

Install

Install Leo for VSCode from VSCode marketplace.
The correct extension ID is aleohq.leo-extension.

Usage

  1. Open VSCode.
  2. From Preferences > Color Theme... > Aleo Theme

Intellij

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

Install

Install the Aleo Developer Plugin from JetBrains marketplace.

Vim

Download the editor here: https://www.vim.org/ Or use the more up-to-date Neovim, from here: https://neovim.io/

Install

For activating the full functionality, this plugin requires either the plugin manager or the .vimrc to have the following:

syntax enable
filetype plugin indent on

Most plugin managers don't do this automatically, so these statements are usually added by users in their vimrc right after the plugin manager load section.

Then, just install the plugin with your favorite plugin manager.

Vim8 packages


git clone https://github.com/julesdesmit/aleo.vim ~/.vim/pack/plugins/start/aleo.vim

Vundle


Plugin 'julesdesmit/aleo.vim'

Pathogen


git clone --depth=1 https://github.com/julesdesmit/aleo.vim.git ~/.vim/bundle/aleo.vim

vim-plug


Plug 'julesdesmit/aleo.vim'

dein.vim


call dein#add('julesdesmit/aleo.vim')

NeoBundle


NeoBundle 'julesdesmit/aleo.vim'