cursive

Issues at: https://git.io/cursive-issues
raspasov 2021-03-06T07:29:23.129300Z

@ajarosinski I just found your https://plugins.jetbrains.com/plugin/13222-clojure-namespace-sort/versions , very nice!

AJ Jaro 2021-03-06T12:52:15.134Z

Wow! Great! Thanks for the affirmation!! It's not fancy but it does the job

šŸ‘ 1
raspasov 2021-03-07T06:37:26.135Z

For sure does :)

robert-stuttaford 2021-03-06T07:33:53.131400Z

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)}

cfleming 2021-03-06T08:18:46.132100Z

@robert-stuttaford 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.

robert-stuttaford 2021-03-06T09:19:17.132500Z

thank you @raspasov and @cfleming šŸ™‚

šŸ‘ 1
cfleming 2021-03-06T09:42:24.132800Z

@robert-stuttaford If youā€™re still having problems with that or anything else, let me know

mikejcusack 2021-03-06T12:01:26.133Z

I'm confused by this because in my editor I get what you want

mikejcusack 2021-03-06T12:03:08.133200Z

Turning off "align map values" indeed works

mikejcusack 2021-03-06T12:04:09.133400Z

In general I have Align reader conditional values and One space list indent enabled

robert-stuttaford 2021-03-06T12:44:24.133600Z

thanks @mike.j.cusack - i'm literally in the first couple days, so still exploring!

šŸ‘ 1
robert-stuttaford 2021-03-06T12:44:34.133800Z

thanks @cfleming - will do šŸ™‚

cfleming 2021-03-06T21:29:06.134300Z

Yeah, the only case that wonā€™t work at the moment is if you generally want map entries aligned, but donā€™t want that to happen when thereā€™s a newline between the key and the value. If you donā€™t want any of them aligned then youā€™re good to go.

raspasov 2021-03-06T07:38:41.131500Z

Settingsā†’Editorā†’Code Styleā†’Clojure

raspasov 2021-03-06T07:42:26.131700Z

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

raspasov 2021-03-06T07:44:24.131900Z

Try under Settingsā†’Editorā†’Code Styleā†’Clojure-> General remove checkbox ā€œAlign map valuesā€