This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-03-06
Channels
- # announcements (4)
- # asami (11)
- # babashka (1)
- # beginners (70)
- # bitcoin (2)
- # calva (68)
- # cider (311)
- # clara (1)
- # clj-kondo (58)
- # cljsrn (18)
- # clojure (37)
- # clojure-australia (1)
- # clojure-europe (22)
- # clojure-poland (6)
- # clojure-serbia (2)
- # clojure-spec (9)
- # clojurescript (11)
- # conjure (4)
- # cursive (16)
- # data-oriented-programming (21)
- # datahike (1)
- # emacs (10)
- # events (1)
- # fulcro (9)
- # girouette (2)
- # graalvm (52)
- # graphql (2)
- # jobs-discuss (5)
- # lsp (8)
- # malli (8)
- # off-topic (17)
- # other-languages (46)
- # pathom (17)
- # portal (2)
- # shadow-cljs (11)
- # slack-help (2)
- # sql (47)
- # tools-deps (14)
- # tree-sitter (1)
- # xtdb (6)
@ajarosinski I just found your https://plugins.jetbrains.com/plugin/13222-clojure-namespace-sort/versions , very nice!
hi @cfleming 😄 finally trying Cursive out in anger. wondering if there's a way to prevent the formatter from indenting map values that begin on the next line? we have a large mature codebase, and this is causing whitespace wars and frustration in our team 😅
;; what I want
{:long-key-over-here
(let [something :worth-its-own-line]
something)}
;; what I get
{:long-key-over-here
(let [something :worth-its-own-line]
something)}
Actually… perhaps I don’t have it configured to get what you want, when I have multiple keys in the map; I am not sure 🙂 sorry
Try under Settings→Editor→Code Style→Clojure-> General remove checkbox “Align map values”
@U0509NKGK Ugh, no, currently not I’m afraid. I’ve been meaning to fix this for the longest time, I’ll try to get it in the next EAP. As raspasov says, disabling the alignment altogether might fix it too - depends whether you want the alignment for other entries or not.
@U0509NKGK If you’re still having problems with that or anything else, let me know
I'm confused by this because in my editor I get what you want
Turning off "align map values" indeed works
In general I have Align reader conditional values and One space list indent enabled
thanks @U01NYKKE69G - i'm literally in the first couple days, so still exploring!
thanks @cfleming - will do 🙂