Since the Roc Editor is still WIP, should we invest some time making plugins for VSCode? For example, I'm currently using Roc-lang Support (unofficial/community)
by @Benjamin Thomas. It would be nice to have other tools while we wait for the Editor to mature, starting with a formatter.
This is specifically not a goal of the Roc team. Someone will eventually make it, I'm sure, but to give the editor the best chance of success, we don't want to promote the building of competition.
Yes, I read that document. I wouldn't want the team working on Roc to deal with this. The we
that I was referring to was the community that's come together here, including myself.
Sure, just trying to say that the Roc team doesn't really want to promote its creation.
if you're looking to integrate a formatter, you can probably get a long way with having it run roc format
I'd imagine!
I was thinking the same.
@Chris Duncan you can probably get by using something like this find . -name "*.roc" | entr roc format /_
at the moment. I'm not planning on doing much more with the plugin at the moment :)
@Richard Feldman the editor sounds like a great way to fund the project. Have you thought about this? I would gladly pay for a tool if it improves my productivity.
I use https://marketplace.visualstudio.com/items?itemName=emeraldwalk.RunOnSave with the following json settings to format on save:
"emeraldwalk.runonsave": {
"commands": [
{
"match": "\\.roc$",
"cmd": "roc format ${file}"
}
]
}
Richard Feldman the editor sounds like a great way to fund the project. Have you thought about this? I would gladly pay for a tool if it improves my productivity.
the plan is for the editor to be free, in order to maximize the plugin ecosystem for it...but I'm working on getting a foundation set up so we can get GitHub Sponsors going to accept donations for the project in general!
@Richard Feldman got you. I've been a long time vim user like you, but got into JetBrain IDEs about 2 years ago (I wanted to learn Java!). Initially, I was reluctant to pay for an IDE, but then realized that it was worth it for me. These days I don't mind switching between tools when appropriate but overall I don't have time to fiddle with stuff, I'll favor something that works out of the box.
Roc looks promising to me, so I hope you'll find a model to sustain its development, be it via Github Sponsors or otherwise :)
Thanks @Shritesh Bhattarai for the suggestion :raised_hands:
Last updated: Jul 06 2025 at 12:14 UTC