This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2024-04-11
Channels
- # announcements (2)
- # babashka (31)
- # beginners (31)
- # calva (30)
- # cider (23)
- # clerk (1)
- # clojure (46)
- # clojure-austin (5)
- # clojure-brasil (1)
- # clojure-europe (47)
- # clojure-nl (1)
- # clojure-norway (72)
- # clojure-uk (2)
- # clojurescript (39)
- # conjure (1)
- # cursive (16)
- # data-science (1)
- # datomic (35)
- # dev-tooling (4)
- # events (5)
- # introduce-yourself (2)
- # jobs-discuss (5)
- # missionary (3)
- # polylith (11)
- # releases (4)
- # scittle (4)
- # shadow-cljs (18)
- # spacemacs (16)
- # specter (2)
- # squint (27)
- # xtdb (6)
Dear Calva friends: https://github.com/BetterThanTomorrow/calva/releases/tag/v2.0.437 • Retire experimental setting for strict prevent unmatched closing bracket. Close: https://github.com/BetterThanTomorrow/calva/issues/2500 • https://github.com/BetterThanTomorrow/calva/issues/2503, nrepl 1.1.1, cider-nrepl 0.47.1 • Fix: https://github.com/BetterThanTomorrow/calva/issues/2501
I’m sorry, I seem to have introduced a regression in the ontype-formatting with 2.0.437. 😞 . Will try to fix it immediately. For now, stay on 436, please. https://github.com/BetterThanTomorrow/calva/issues/2509
Dear Calva friends: https://github.com/BetterThanTomorrow/calva/releases/tag/v2.0.438 • Fix regression: https://github.com/BetterThanTomorrow/calva/issues/2509 I’m truly sorry for the disruption. And I don’t know how my testing could miss this glaring regression. I’ll have to try to figure that out.
The VS Code team has released a rather fantastic update in latest version. Extension updates no longer take a reload of the VS Code window to apply. As a user of the Jack-in feature that is a gift! It only takes a second to update Calva and my workflow is completely undisrupted. 🎉
Hello everyone,
Quick question. Is there tools or methods to wrap calva jack-in command with another command?
Essentially If I express what I'm trying to do with calva in a command line syntax it would be this:
mirrord exec -- <calva jack-in command>
Mirrord in this case is a tool that would allow my clojure program to talk to a kubernetes cluster.
Hi! I think this may be served by custom jack-in command line: https://calva.io/connect-sequences/#custom-command-line
Your pseudo invokation is a bit less involved, but you can get closer to that by using the results from the Copy Jack-in Command Line command (not sure I remember the name correctly).
It is working this is the update i did to settings.json:
"calva.replConnectSequences": [
{
"name": "Mirrord jack-in",
"projectType": "deps.edn",
"customJackInCommandLine": "mirrord exec -- clojure -Sdeps '{:deps {nrepl/nrepl {:mvn/version,\"1.0.0\"},cider/cider-nrepl {:mvn/version,\"0.28.5\"}}}' -M -m nrepl.cmdline --middleware \"[cider.nrepl/cider-middleware]\""
}
]
Need to clean that up and use the actual variables but as a poc that does work and allow me to use kubernetes urls as if i was a part of the cluster's network. That makes me a happy camper, no more port-forwarding mess in local environment to run my dev stack.Thank you kindly @U0ETXRFEW
That’s awesome! Glad that this setup works for your use case. It’s new-ish so I love to get feedback from the field about it.
About the variables. The values you are using have been the defaults for very long. But this morning that changed. 😃
I think it could make sense to have a variable for the entire jack-in command line, seeing your use case.
It would make it simpler for this particular usecase, if you just want to wrap the command with something.
Yeah, we can’t go around making every use case easier, but this one seems to be pretty general.
Dear Calva friends: https://github.com/BetterThanTomorrow/calva/releases/tag/v2.0.439
• Fix: https://github.com/BetterThanTomorrow/calva/issues/2506
Please join me in celebrating @giovanni968’s first code contribution to Calva! 🎉 🎁

Has something changed with the Calva: Replace Current Form
- This was working and recently it seems to have stopped working.
I have updated the vscode in case that was affecting it. I have an edn file with all the data on one line and I want to get it formatted on to multiple lines - this used to work, but this now seems to do nothing.
How would you expect that call to work on :
{:key 1 :last 2 :map {:value 1}}
I was hoping it would format it across at least 3 lines.Can you try some older version of Calva and see where this regression appeared? Like bisect it by picking a month old version or so and then go from there.