Fork me on GitHub
#cursive
<
2021-01-28
>
Jeff Evans16:01:38

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

Jeff Evans16:01:18

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

cfleming21:01:47

I don’t think you want Default to Only Indent for matching the guide. But you probably do want One space list indent.

cfleming21:01:59

If there’s something else that you’re finding difficult, let me know.

Jeff Evans20:02:40

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.