chlorine-clover

About Chlorine for Atom and Clover for VS Code: https://atom.io/packages/chlorine and https://marketplace.visualstudio.com/items?itemName=mauricioszabo.clover
mauricio.szabo 2020-11-06T22:14:14.164600Z

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 🙂

🤘 2
seancorfield 2020-11-06T22:53:00.165900Z

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?

mauricio.szabo 2020-11-06T22:54:31.167100Z

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"
    }

seancorfield 2020-11-06T22:55:02.168Z

Interesting. Yeah, I was just looking at all of that. Thanks for documenting it all!

mauricio.szabo 2020-11-06T22:55:08.168200Z

So, for (defn evaluate-top-block-and-reveal []) the args will be Clover: Evaluate top block and reveal

mauricio.szabo 2020-11-06T22:56:09.169300Z

Well, I also documented for the future me, because I keep forgetting how VSCode works 😄

mauricio.szabo 2020-11-06T22:57:22.170700Z

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 🙂