rescript-zed icon indicating copy to clipboard operation
rescript-zed copied to clipboard

ReScript support for Zed editor

rescript-zed

ReScript support for Zed editor.

This extension plugs in the following projects:

Developing

Zed and it's support for extensions is being actively developed. The current workflow that can be used to build this extension locally and install it into Zed is:

Clone zed and build the zed-extension cli:

git clone [email protected]:zed-industries/zed.git
cd zed
cargo build --release --package extension_cli
ln -sf "$(pwd -P)/target/release/zed-extension" /usr/local/bin/zed-extension

Build and install the extension locally

make build

Tail zed logs

tail -f ~/Library/Logs/Zed/Zed.log

After opening a ReScript file, open Cmd + Shift + P nav and find

language selector: toggle

And to see the language server logs, open Cmd + Shift + P nav and find

debug: open language server logs