This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-10-28
Channels
Heyo! Apologies if this has been answered elsewhere, and if so, please point me to the other thread. I can't make this option work, regardless of if the old (cljfmt) or new Calva formatter is enabled, and I'm not VSCode savvy enough to know how to debug formatting stuff. My expectation/understanding is that if the closing paren of my (comment ..)
block is on a separate line, it should be left alone, but it still gets smoshed together with the previous form. E.g. this
(pprint builds))
)
turns into this
(pprint builds)))
Using the latest version of VS Code and Calva, no cljfmt-fileIt’s a bit wrongly described there. You only get that behavior while formatting the comment form with the cursor inside it. With the cursor outside, the railing paren gets folded. I place a keyword as the last form in rich comments forms (comment … :rcf)
, to make the formatter fold against that.