Fork me on GitHub
#chlorine-clover
<
2020-11-06
>
mauricio.szabo22:11:14

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 đŸ™‚

metal 6
seancorfield22:11:00

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.szabo22:11:31

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

seancorfield22:11:02

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

mauricio.szabo22:11:08

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

mauricio.szabo22:11:09

Well, I also documented for the future me, because I keep forgetting how VSCode works đŸ˜„

mauricio.szabo22:11:22

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 đŸ™‚