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
seancorfield 2020-05-21T00:06:03.474300Z

@mauricio.szabo I'm wondering if you just want to remove these lines from the core now? https://github.com/mauricioszabo/atom-chlorine/blob/master/src/chlorine/repl.cljs#L194-L213 (and other stuff that references them). Feels like that code's holding you back a bit now -- and it's easy to do it via the config cljs file for anyone who wants REBL integration (and I suspect such folks would already be using my config, with the extended REBL commands in it).

seancorfield 2020-05-21T00:11:59.476600Z

I was also looking for a way to invoke eval-and-render and provide an additional on-eval callback -- I'd like to be able to pop up an Atom notification when evaluation completes. The load-file and test running commands do that, because it's custom and that's built in already... Any suggestions?

mauricio.szabo 2020-05-21T00:15:10.478600Z

Yes, I'll probably remove then. I'll also probably remove everything refresh-related too - I believe they can be also configured by this ClojureScript code (will check this later)

mauricio.szabo 2020-05-21T00:15:55.479500Z

(I use "refresh" a lot, but it's a whole bunch of internal state that have no documentation at all, no tests, so they can hold evolution back too)

mauricio.szabo 2020-05-21T00:17:08.481Z

Currently, I believe there's no way to hook an additional on-eval callback... but I suspect it's not hard to add. There's also a function if you only want to evaluate code, but its API will change on some future release.

seancorfield 2020-05-21T01:43:34.481800Z

Cool. Thanks. It's for a couple of functions that I expect to be somewhat long-running and therefore I want an alert when evaluation completes.

seancorfield 2020-05-21T01:45:03.483300Z

One thing that wasn't obvious before but is much, much easier with the cljs extension stuff, is that operations that generate an off-screen range (`get-namespace` primarily), can be made to shown on-screen results by replacing the :range part of the data with the range from get-selection 🙂

mauricio.szabo 2020-05-21T14:09:30.484400Z

I'm also studying how to integrate other "render tools" on Chlorine. For example, this one is a simple POC to show dependencies for a single top-block

💯 5
👀 1
mauricio.szabo 2020-05-21T14:10:03.485400Z

Almost everything was configured by ClojureScript, without needing to recompile anything. Probably will publish this possible customization soon too 🙂