Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/h2000/zed-roc
https://github.com/h2000/zed-roc
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/h2000/zed-roc
- Owner: h2000
- Created: 2024-03-09T15:44:54.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-06-30T20:24:34.000Z (5 months ago)
- Last Synced: 2024-07-04T16:33:35.709Z (4 months ago)
- Language: Scheme
- Size: 721 KB
- Stars: 6
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- roc-awesome - Zed
README
# Roc lang support for Zed
An extension for Zed that adds Roc language support:
- syntax highlighting through treesitter and
- type tooltips, error marker, completion ... through the roc language server## Preqrequisites
- install roc from the [roc-lang](https://roc-lang.org) website
- add roc and roc_language_server to your PATH
- install Zed from the [Zed](https://zed.dev) website## ROC
- Website: [roc-lang.org](https://roc-lang.org)
- Tree Sitter: [tree-sitter-roc](https://github.com/faldor20/tree-sitter-roc)
- Language Server: [roc-language-server](https://github.com/roc-lang/roc/tree/main) included in nightly builds of the ROC compiler e.g. https://github.com/roc-lang/roc/releases/download/nightly/roc_nightly-macos_apple_silicon-latest.tar.gz, the roc_language_server binary should be included in PATH.## Development
```sh
~/Library/Application\ Support/Zed/extensions/installed/
less ~/Library/Logs/Zed/Zed.log
```![Zed Example](https://github.com/h2000/zed-roc/assets/187650/1ec0cda3-3679-4223-bc5e-3272babde364)