does anyone have an IntelliJ code style file that basically implements this? https://guide.clojure.style/ having a hard time making the formatting match what is outlined there
at a minimum, I had to enable Default to Only Indent
, but I still haven’t figure out how to accomplish the https://guide.clojure.style/#one-space-indent part
I could be misunderstanding things, but it seems necessary to have Default to Only Indent
checked in order to have the basic defn
spacing work properly (i.e. one indent for the body, on a newline after the param list declaration). This can even be seen directly in the built-in example snippet to the right.
Ex:
I don’t think you want Default to Only Indent for matching the guide. But you probably do want One space list indent
.
If there’s something else that you’re finding difficult, let me know.