Just published on anouncements, but will publish here too: just published a new version of Clover (the port of Chlorine to VSCode). I've tested with a custom config that I use on Atom (that really pushes the limits of what a config can do) and so far, it seems to be working! So, Sean's dotfiles to work with REBL and Reveal should work without any trouble (or modification) - just fire up a REPL, call the command "Open Config File" and past everything there 🙂
Wow, nice! I might actually try VS Code over the weekend to see how it works... how easy is it to configure the key bindings for the newly-added commands?
It's quite easy, honestly. It's on the README, but in a nutshell, you'll do something like this, for a (defn hello-world [])
for example:
{
"key": "ctrl+h",
"command": "workbench.action.tasks.runTask",
"args": "Clover: Hello world"
}
Interesting. Yeah, I was just looking at all of that. Thanks for documenting it all!
So, for (defn evaluate-top-block-and-reveal [])
the args
will be Clover: Evaluate top block and reveal
Well, I also documented for the future me, because I keep forgetting how VSCode works 😄
BTW, I just found out that these custom tasks do not work with Eclipse Theia, so they also don't work with GitPod... but at least the other things (connecting, evaluating, etc) are ok 🙂