Skip to content

ivan-demchenko/roc-vscode-unofficial

Repository files navigation

Roc language VSCode extension (unofficial)

The unofficial VSCode extension for the Roc language. Download it from:

Features

  • Syntax highlighting
  • With the language server:
    • Shows errors/warnings inline
    • Hover to view type
    • Go-to-definition (not for builtins)
    • Format on save

Configuring language server

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
}

Release Notes

0.1.0

  • Language server integration

Contributors

Big kudos to early contributors: