Or what do you use right now?
I don't think there is really a best. Coffee script syntax highlighting tends to work ok, but I don't think any specific editor will really help you with roc
I use helix.
Some people use vscode or vim
There is a language server that can be built from source and at least kinda works, but I don't know that status of that. I used it for a while, but eventual just switch to having a second terminal window open that on save would run roc check
and then roc test
on my code.
Something simple like this in a second terminal can be a huge boon:
ls examples/* | entr -ccs "roc check examples/Inspect.roc && roc test examples/Inspect.roc"
vscode has an unofficial syntax highlighting plugin https://marketplace.visualstudio.com/items?itemName=benjamin-thomas.roc-lang-support
Last updated: Jul 06 2025 at 12:14 UTC