Fork me on GitHub
#chlorine-clover
<
2020-10-26
>
borkdude13:10:40

@kiemdoder Recently there was a blog article about Clojure formatters: https://clojureverse.org/t/clojure-formatting-with-cljstyle/6743 Maybe cljstyle can be hooked up to some key binding

borkdude13:10:15

I'm not sure what chlorine uses for formatting. In Emacs I think clojure-mode takes care of this...?

mauricio.szabo13:10:31

Chlorine uses.... nothing đŸ˜„

borkdude13:10:13

@mauricio.szabo Maybe you could make some assistant binary chlorine that includes clj-kondo, cljstyle, etc and you bind this to Atom keybindings and people get all kinds of extras when they have that installed ;)

mauricio.szabo13:10:15

It just connects to a socket-repl and evaluates commands, really. Everything else is outside the scope of the package. I don't really know if this decision will be final, to be honest, but as I'm currently really busy with lots of things, so maybe it'll take a while to wrap everything. But the idea of an assistant binary could be useful... but I have to consider that there's at least 3 operating systems to work with, so....

borkdude13:10:22

or defer to some other installed binaries. cljstyle already has a binary, clj-kondo as well

borkdude13:10:49

yeah makes sense not to wrap those projects with your own binary

borkdude13:10:21

so maybe someone can just make an Atom package around cljstyle and you can install that independently

kiemdoder14:10:22

Thanks @borkdude I will have a look at the article you referred to.

mauricio.szabo14:10:44

I believe atom-beautify does it

kiemdoder14:10:54

Ah, I see atom-beautify supports cljfmt

kiemdoder14:10:25

That should be easy enough to get going đŸ™‚

kiemdoder14:10:36

I see atom-beautify has almost 8 million downloads so far.

kiemdoder14:10:53

Someone likes it đŸ™‚