This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-10-14
Channels
- # asami (1)
- # babashka (50)
- # beginners (70)
- # bristol-clojurians (6)
- # calva (36)
- # chlorine-clover (1)
- # cider (4)
- # clj-kondo (3)
- # cljdoc (49)
- # cljsrn (5)
- # clojure (96)
- # clojure-australia (3)
- # clojure-dev (1)
- # clojure-europe (84)
- # clojure-nl (4)
- # clojure-spec (9)
- # clojure-uk (65)
- # clojurescript (31)
- # community-development (6)
- # conjure (17)
- # cursive (8)
- # datascript (5)
- # datomic (12)
- # duct (3)
- # emacs (18)
- # figwheel-main (2)
- # fulcro (7)
- # helix (1)
- # jobs (3)
- # luminus (7)
- # off-topic (77)
- # pathom (3)
- # portal (1)
- # rdf (4)
- # re-frame (1)
- # reitit (4)
- # remote-jobs (4)
- # reveal (15)
- # rum (1)
- # sci (38)
- # shadow-cljs (22)
- # spacemacs (1)
- # specter (6)
- # sql (1)
- # test-check (1)
- # tools-deps (60)
- # vim (12)
Is it possible to configure macro indentations in Cursive? I see the “Intentions > Clojure > Indentation” in Options, but I don’t see any way to affect it.
E.g., I’m using (jdbc/with-db-connection [conn {:datasource d}] (my-long-expression))
, and IntelliJ keeps wanting to format it like
(jdbc/with-db-connection [conn {:datasource d}]
(my-long-expression))
, when the sensible thing would be
(jdbc/with-db-connection [conn {:datasource d}]
(my-long-expression))
Even just cond->
wants to be aligned like the first example, when the styleguide says it should be aligned like the second.
(The styleguide = https://github.com/bbatsov/clojure-style-guide#body-indentation )
Thanks a bunch, I’ll have a lok at that!