This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-01-28
Channels
- # aleph (10)
- # announcements (1)
- # aws-lambda (1)
- # beginners (162)
- # calva (81)
- # chlorine-clover (2)
- # cider (18)
- # clj-kondo (2)
- # cljs-dev (1)
- # cljsrn (12)
- # clojure (64)
- # clojure-australia (6)
- # clojure-europe (13)
- # clojure-nl (3)
- # clojure-sweden (26)
- # clojure-uk (36)
- # clojurescript (45)
- # community-development (10)
- # conjure (16)
- # core-logic (4)
- # cursive (6)
- # datascript (1)
- # emacs (1)
- # events (2)
- # fulcro (87)
- # girouette (5)
- # honeysql (4)
- # hoplon (3)
- # hugsql (3)
- # leiningen (8)
- # malli (18)
- # off-topic (33)
- # pathom (14)
- # reitit (5)
- # remote-jobs (1)
- # reveal (1)
- # shadow-cljs (50)
- # sql (3)
- # startup-in-a-month (1)
- # vim (5)
- # xtdb (30)
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 don’t think you want Default to Only Indent for matching the guide. But you probably do want One space list indent
.
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.