Hello. Is it possible to sort namespace requires alphabetically when formatting file?
There's also a plug-in for IntelliJ https://plugins.jetbrains.com/plugin/13222-clojure-namespace-sort
And there is one more plugin for that https://plugins.jetbrains.com/plugin/12731-amethyst
i've seen coworkers make sure that the requires are each on a line (ie, add a newline after :require and before the final closing paren) and then use the built-in intellij feature to sort lines.
Didn’t know about intellij Sort lines
It works, thanks for suggestion!
It’s not right now (apart from dpsutton’s workaround), but this is something I’ve been working on recently. I had to park it for a while, but it will be in sometime soon.