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
There are still some cases with multiline comment toggle. I’ve found these two: • https://github.com/BetterThanTomorrow/calva/issues/3078 • https://github.com/BetterThanTomorrow/calva/issues/3081
I restored the ctrl+/ key binding. Thank you for un-breaking it @pez and @jonurnieta!
Thanks! If you still see something strange I will have a look
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
Dear Calva friends, calva https://github.com/BetterThanTomorrow/calva/releases/tag/v2.0.556 • Fix: https://github.com/BetterThanTomorrow/calva/issues/3078 • Fix: https://github.com/BetterThanTomorrow/calva/issues/3081 • Fix: https://github.com/BetterThanTomorrow/calva/issues/3083 • Fix: https://github.com/BetterThanTomorrow/calva/issues/1299 Thanks @jonurnieta and https://github.com/marco-carvalho! 🙏 ❤️ calva
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?!?
What does your calva.connect call look like?
See https://github.com/seancorfield/vscode-calva-setup/blob/develop/joyride/src/remote_repl.cljs#L22
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 🙂
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.
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.