calva

pez 2026-02-19T07:52:13.543889Z

Dear Calva friends, calva https://github.com/BetterThanTomorrow/calva/releases/tag/v2.0.555 • Fix: https://github.com/BetterThanTomorrow/calva/issues/3065 • Fix: https://github.com/BetterThanTomorrow/calva/issues/3066 • Fix: https://github.com/BetterThanTomorrow/calva/issues/3067 • Fix: https://github.com/BetterThanTomorrow/calva/issues/3072 TL;DR: Calva refused to let me connect to multiple default Scittle sequences. Now fixed! @jonurnieta has been busy with fixing the multiline comment toggle. And he also fixed an age-old issue with insertSemiColon not working at the very start of the file. Thanks Jon! ❤️ 🙏 calva

🎉 4
pez 2026-02-19T07:54:49.573589Z

There are still some cases with multiline comment toggle. I’ve found these two: • https://github.com/BetterThanTomorrow/calva/issues/3078https://github.com/BetterThanTomorrow/calva/issues/3081

seancorfield 2026-02-19T15:44:53.742599Z

I restored the ctrl+/ key binding. Thank you for un-breaking it @pez and @jonurnieta!

💪🏿 1
jramosg 2026-02-19T16:26:24.223089Z

Thanks! If you still see something strange I will have a look

pez 2026-02-19T16:27:30.309269Z

We’re unbreaking it a bit more as we speak. 😃 https://app.circleci.com/pipelines/github/BetterThanTomorrow/calva/9594/workflows/490dcaf4-20d5-4673-b89c-9c8d7fcbdb0b

seancorfield 2026-02-19T22:04:53.723959Z

Q: I have a Joyride script that invokes calva.connect as a command to create a new REPL session (to a remote server). That returns a Promise with a clientKey in it -- but I don't see any API in Calva that lets me map that to the REPL session key that I could use for repl.evaluateCode. Halp?!?

👀 1
pez 2026-02-20T10:24:08.069529Z

What does your calva.connect call look like?

seancorfield 2026-02-20T13:54:23.932289Z

When there was only one Clojure REPL, always called clj, I used to call calva.disconnect first, then calva.connect (but the same call). The nREPL server runs on a remote server. That script as a whole starts an SSH tunnel for specific ports, connects Calva to the remote nREPL, then spits the local Portal config to the remote server via that new REPL session. That allows me to start Portal on the server using my normal key bindings, and the remote server launches Portal in VS Code locally 🙂

seancorfield 2026-02-19T23:19:40.891819Z

For now, I handle this by calling repl.listSessions, making a set of the replSessionKey values, issuing the calva.connect and getting a new set of replSessionKey values and picking the new one. It works but it feels very clumsy.

seancorfield 2026-02-19T23:21:02.155309Z

In other scripts that used to call repl.evaluateCode and explicitly pass "clj", I am now passing js/undefined so that the evaluate command does its own session routing. I can't do that for the script above because I specifically need to evaluate the code in the newly-connected REPL.