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
borkdude 2021-01-18T15:25:30.000800Z

@mauricio.szabo does linter-kondo (https://github.com/clj-kondo/clj-kondo/blob/master/doc/editor-integration.md#atom) still work with atom these days? I was going to recommend it to someone, but just making sure

borkdude 2021-01-18T15:30:02.001200Z

or maybe @seancorfield knows

mauricio.szabo 2021-01-18T17:00:54.001700Z

Yes, you have to install linter-ui if I'm not mistaken, but it works 🙂

borkdude 2021-01-18T17:14:15.001900Z

thanks :)

seancorfield 2021-01-18T18:48:32.002500Z

@borkdude It was still working fine for me about a month ago -- the last time I fired up Atom, before switching to VS Code.

borkdude 2021-01-18T18:48:43.002700Z

:thumbsup:

seancorfield 2021-01-18T21:14:44.004300Z

@mauricio.szabo I'm trying to do something unorthodox with Clover and wondered if there was somewhere I could look in VS Code to get a detailed log of what Clover is trying to do when connecting to a Socket REPL (I have a setup that I thought might look like a Socket REPL but Clover isn't connecting to it and I'm not sure how to debug it).

seancorfield 2021-01-18T21:14:59.004700Z

I can do this with Atom/Chlorine if that exposes detailed logging more easily?

mauricio.szabo 2021-01-18T22:25:18.005400Z

Yes, Atom/Chlorine will expose detailed logging more easily (because REPL-Tooling is written together with Chlorine, and also because there's a single devtools).

mauricio.szabo 2021-01-18T22:26:03.006300Z

But as far as I know, it tries to send a "detect Clojure implementation" form like #?(:cljs :using-cljs-repl :clj :user-clj-repl ....)

mauricio.szabo 2021-01-18T22:26:11.006600Z

Maybe that's what's breaking the connection?

seancorfield 2021-01-18T23:09:16.007100Z

OK, so I can enable devtools and see what's going on? Thanks.

seancorfield 2021-01-18T23:09:43.007700Z

I have no idea what part of the process breaks right now. Will report back. May have more questions 🙂

seancorfield 2021-01-18T23:11:48.008500Z

Hmm, nope. That doesn't seem to report what Chlorine is trying to do with the connection. Do I need to enable something to see more debugging?

seancorfield 2021-01-18T23:12:03.008800Z

(or will I have to run Chlorine from source?)

mauricio.szabo 2021-01-18T23:19:06.010500Z

Ah, sorry I misunderstood. No, Chlorine does not debug anything bt default, you have to run from source and add some prn info :(

seancorfield 2021-01-18T23:31:47.010800Z

OK, cool. That gives me a path forward.

seancorfield 2021-01-18T23:32:22.011500Z

I'm trying to see whether I can put a Socket REPL like API on top of a prepl so I can connect to more things 🙂

seancorfield 2021-01-18T23:34:38.013600Z

In particular, Reveal has a setup where it can pass through prepl data to a remote server, so you can use Reveal with processes that run elsewhere (or even cljs processes). But it only supports a prepl right now. So I'm trying to build an adapter so that it looks like a Socket REPL, and see whether I can coax Chlorine (and Clover) to connect to it (and side-load unrepl etc)...