You're looking at the documentation for the "main" branch, click here to view the documentation for the latest stable release.

Setting up your editor

Emacs

No official plugin exists for Emacs, but a syntax definition for Inko is found in this discussion.

Helix

Starting with version 24.07, Helix has built-in support for syntax highlighting and code formatting, thanks to the official Tree-sitter grammar for Inko.

(Neo)Vim

For Vim and Neovim we provide an official plugin. This plugin adds support for syntax highlighting, file type detection, folding, and indentation.

Users of NeoVim can also use nvim-treesitter to take advantage of Tree-sitter support for Inko, providing more accurate highlights.

The NeoVim plugin conform.nvim provides support for automatic formatting of source code using inko fmt.

Visual Studio Code

An official extension for Visual Studio Code is provided here. To install it, open VS Code's Quick Open window (Ctrl+P) and run the following:

ext install inko-lang.inko