Ecosyste.ms: Awesome

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

https://github.com/ivan-demchenko/roc-vscode-unofficial

An experimental VSCode extension for Roc language
https://github.com/ivan-demchenko/roc-vscode-unofficial

Last synced: about 1 month ago
JSON representation

An experimental VSCode extension for Roc language

Lists

README

        

# Roc language VSCode extension (unofficial)

The unofficial VSCode extension for the [Roc language](https://roc-lang.org/). Download it from:

- [VSCode Marketplace](https://marketplace.visualstudio.com/items?itemName=IvanDemchenko.roc-lang-unofficial)
- [Open VSX Registry](https://open-vsx.org/extension/IvanDemchenko/roc-lang-unofficial)

## 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_lang_server` binary is included with [the roc nightly](https://github.com/roc-lang/roc/releases). You can also [build it from source](https://github.com/roc-lang/roc/blob/main/crates/lang_srv/README.md#building-from-source) if you need to.

Update your VSCode `settings.json` to point to the language server binary location:

```json
{
"roc-lang.language-server.exe": "",
// 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:

- [Hannes](https://github.com/Hasnep)
- [Richard Feldman](https://github.com/rtfeldman)
- [ayazhafiz](https://github.com/ayazhafiz)