Open migraine-user opened 2 weeks ago
clojure-mode, which is the library used in this project also supports formatting.
You can see this at work in this playground, formatting happens when you hit tab:
Oh, there wouldn't be a need for a new library. Is formatting available on the website as it is now, or would that still need to be added with clojure-mode?
and perhaps a keyboard shortcut! When I am going through a problem, it's hard to iterate on the browser while formatting it so I can mentally parse it. It would be nice to have a way to format the code that I was writing so far. Maybe it would be possible to use cljfmt for this? I am still new to clojure, but I think I can try implementing this myself if that's alright.