This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2024-06-28
Channels
- # announcements (1)
- # beginners (128)
- # calva (15)
- # cider (1)
- # clerk (4)
- # clj-kondo (10)
- # clojure-berlin (5)
- # clojure-denmark (2)
- # clojure-europe (59)
- # clojure-nl (2)
- # clojure-norway (83)
- # clojure-sweden (3)
- # clojure-uk (4)
- # cursive (11)
- # datomic (8)
- # emacs (13)
- # events (1)
- # hyperfiddle (3)
- # juxt (2)
- # malli (13)
- # nrepl (10)
- # off-topic (46)
- # releases (2)
- # reveal (1)
- # rewrite-clj (6)
- # sci (6)
- # scittle (17)
- # shadow-cljs (2)
- # xtdb (2)
- # yamlscript (8)
Dear Calva friends: https://github.com/BetterThanTomorrow/calva/releases/tag/v2.0.460 • https://github.com/BetterThanTomorrow/calva/issues/2583 Yes, full auto-jack-in is here! See https://calva.io/customizing-jack-in-and-connect/.
woot woot!
Typo in the docs [calva.replConnectSequences]connect-sequences.md) first bullet of Customizing Jack-in
Works beautifully! Thanks for this option. Now to add it to all my project configs that have connection settings...

It’s a bit funny. Some year ago or so I set out to make this possible. Had to start with fixing a few other things first. Then I forgot to add this config…
Noticed that calva doesn't highlight the first parens here even though it's unmatched. Is this expected behavior?
or is this because I am in a mini-playground project and you don't get kondo there?
You should have clj-kondo in the mini project. It’s provided by clojure-lsp, so if the statusbar item for clojure-lsp says things are good, then linting should be active. However, I don’t think the linter checks unbalance. Rather unbalance will throw the linter out of whack and probably disable it until there’s balance again. The balance check is done by Calva itself. And it is far from perfect. You are welcome to file an issue.
how come these ones get highlighted?
Not sure, maybe we are only detecting extraneous closing brackets. I can have a look later. Here’s the code, if you’re curious. 😃 https://github.com/BetterThanTomorrow/calva/blob/dev/src/highlight/src/extension.ts
My favorite feature is the decision to bind format
to the tab button. it forces the superior whitespace upon the heretics makes it very easy to see the structure of the code by its when doing non-structural edits. I often find myself chopping a block of code off, adding paren until balanced and then slurping/barfing while spamming tab until the indentation works out

