emacs

Consider also joining #cider, #lsp and #inf-clojure, where most of the tool-specific discussions are happening.
solf 2021-03-13T09:45:20.054400Z

@bmaddy There's also https://github.com/clj-commons/rewrite-clj as a non-emacs option

2021-03-16T19:30:05.006100Z

Thanks for the suggestion. I'd looked into this but it seemed like a lot of work for such a simple edit. I ended up adding the newline with sed and then manually indenting each file.

ag 2021-03-13T20:35:43.056200Z

@bmaddy whenever I need to get some tiny in-buffer manipulations with clojure structures I'd use jet, babashka or zprint, e.g.: with <C-u |> - shell-command-on-region:

zprint '{:map {:comma? false :justify? true}}'
straightens up a map, removes commas and aligns things nicely

4
1
2021-03-16T19:34:37.006300Z

I ended up adding the newline with sed and then manually indenting each file. Reformatting all of our files would have resulted in too many changes and merge conflicts in this case. I appreciate the suggestion though!