The unofficial VSCode extension for the Roc language. Download it from:
- Syntax highlighting
- With the language server:
- Shows errors/warnings inline
- Hover to view type
- Go-to-definition (not for builtins)
- Format on save
The roc_language_server
binary is included with the roc nightly. You can also build it from source if you need to.
Update your VSCode settings.json
to point to the language server binary location:
{
"roc-lang.language-server.exe": "<path to language server binary>",
// If you'd like to format Roc files on save
"editor.formatOnSave": true
}
- Language server integration
Big kudos to early contributors: