Fork me on GitHub
#clojure-europe
<
2021-07-02
>
RAMart06:07:27

Good morning!

RAMart06:07:51

Next – and final – :clojureD 2021 talk by @alexmiller now online: https://www.youtube.com/watch?v=BTAx-gFz6Ks

🎉 22
RAMart06:07:18

Thanks @ska, for being such a wonderful host, for your support since the very beginning of the :clojureD conference back in 2015, for the very beginning of the conference itself and for your trust. 🙇 🍻

dharrigan07:07:08

Good Morning!

pez07:07:13

morning!

thomas08:07:36

TGIF!!!! And good morning of course!

orestis09:07:07

What's a nice command-line tool to auto-format a big EDN file to avoid annoying merge conflicts when it's hand edited?

ordnungswidrig09:07:42

Jet might be what you're looking for: https://github.com/borkdude/jet

otfrom09:07:03

of course @U04V15CAJ has written something 🙂

dharrigan09:07:05

Ha! I asked the same question yesterday in #clojure-uk!

pez10:07:47

cljfmt also comes to mind.

borkdude10:07:28

there's also a zprint binary (which is highly configurable)

👍 4
pez11:07:27

You can also hand edit it with Calva, which will keep it formatted. 😃 Depends a bit on how big it is though. Calva croaks a bit on huge maps.

pez11:07:09

Then use the same .cljmft config for the command line use of cljfmt as for Calva.

orestis12:07:43

jet seems to change the order of map keys so it's out 🙂

pez12:07:22

Avoid or exchange annoying conflicts? That’s the question.

orestis12:07:20

zprint with {:style :indent-only} was what I wanted, thanks!

👍 2
reefersleep15:07:56

Good morning :hugging_face:

pez16:07:43

Target audience: Curious coders who have yet to give Clojure a chance.

pez16:07:42

And I do notice the horrible bug with line comments getting deleted by Paredit… Will fix tonight!