hey! i'm just getting started with Roc and im exploring editors to use. I've used both Zed and VSCode so far, and I'm just wondering, is there no auto-indentation support as of now? and additionally, im not sure if this is just how it is, but the syntax highlighting sometimes colors everything, and then other times it only colors keywords.
There is an LSP built into the roc cli which provides semantic tokens for nicer highlighting. I know VS Code supports that, but I haven't tested it on the Zed extension.
Auto indentation should work... isn't that just using the format document action which delegates to roc fmt? I'm not sure I haven't looked to closely at that in a while.
Also -- it depends on if you are talking about the old rust or new zig compiler... :sweat_smile:
mm, whatever i installed from the archives on the website. im guessing the old rust compiler?
also, does the new language server work with vscode?
Looks like we need to make a new extension for that, can you confirm @Eli Dowling?
A new exention for vs code? ... I have been using @Ivan Demchenko's https://github.com/ivan-demchenko/roc-vscode-unofficial/pull/50
Should I just use path/roc experimental-lsp for the exe path in the extension settings?
I think that was basically the main change... and adding support for the --debug flag arguments our cli accepts
I get the following error:
LS executable path: Some(/Users/username/gitrepos/temp/roc_nightly-macos_apple_silicon-2026-04-14-c4161ad/roc experimental-lsp)
LS debug executable path: None
You are ready to Roc!Error: roc experimental-lsp received an unexpected argument: `--stdio`
[Error - 3:42:06 PM] Server process exited with code 1.
[Error - 3:42:06 PM] Server initialization failed.
Last updated: May 01 2026 at 12:45 UTC