Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/humaans/rescript-zed

ReScript support for Zed editor
https://github.com/humaans/rescript-zed

Last synced: 1 day ago
JSON representation

ReScript support for Zed editor

Awesome Lists containing this project

README

        

# rescript-zed

ReScript support for [Zed](zed.dev) editor.

This extension plugs in the following projects:

- [tree-sitter-rescript](https://github.com/rescript-lang/tree-sitter-rescript) parser
- [@rescript/language-server](https://github.com/rescript-lang/rescript-vscode) LSP

## 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