Skip to content

Zed Extension

There is an extension for the Zed editor available at GitHub.

This extension is not yet in the Zed extensions repository so you will need to install it from source.

To install it, clone the repository:

bash
git clone https://github.com/hoplang/hop-zed

Then, inside Zed, open the command palette (Ctrl-Shift-P/Cmd-Shift-P) and choose install dev extension and point it to the cloned repository. This will compile and install the extension. You will need cargo/rustc on your path for compilation to work.

When installed you should get syntax highlighting and LSP information for .hop files. You will need the hop compiler (see Installation) on your path for the language server to work.