calva

pez 2025-04-11T20:25:00.030719Z

Dear Calva friends: https://github.com/BetterThanTomorrow/calva/releases/tag/v2.0.499 • Fix: https://github.com/BetterThanTomorrow/calva/issues/2738 • Fix: https://github.com/BetterThanTomorrow/calva/issues/2748 It also means you can format current enclosing form (using tab) at all cursor positions. Thanks, @phill for providing! ❤️ 🙏 calva

leo 2025-04-11T22:16:10.890399Z

Hi! I'm a clojure beginner and I'm having a lot of fun with Calva, so thank you pez! I was watching this video of AOC problem solving (https://www.youtube.com/watch?v=n-3wGIYLXlg) and I noticed that the calva output was being shown in a pretty right side panel with nice properties (colours, formatting, ...). Noob question: how do I get that, instead of the default output.calva-repl window? Or is this just some configuration that I'm missing? Thanks!!

pez 2025-04-12T07:32:33.445129Z

Yes, so this is the setting.

🙌 1
leo 2025-04-12T09:03:53.490709Z

Awesome! That's it. Thanks a lot @pez!!

leo 2025-04-12T09:09:04.498959Z

For reference, this is what my settings look like to get the code and evaluation sent to the terminal output:

"calva.outputDestinations": {
        "evalResults": "terminal",
        "evalOutput": "terminal",
        "otherOutput": "terminal"
    },
    "calva.evaluationSendCodeToOutputWindow": true,

pez 2025-04-12T09:11:09.878559Z

Thanks for sharing. There’s some unfortunate confusing naming there, but I guess that’s hard to avoid when iterating on a product while people depend on each iteration.

👍 1
pez 2025-04-11T22:33:07.212869Z

You are welcome, @leochatain! 🙏 The output is configurable via the calva.outputDestinations setting. See https://calva.io/output/ for some info around it.

🙏 1
leo 2025-04-11T22:58:27.449029Z

Thanks a lot for the reply @pez! I see now that that was the Calva Output window, and I managed to send my outputs there. One more question: on your video you seem to show the command that generated the output in the output window, like this:

leo 2025-04-11T22:58:58.591649Z

Whereas my calva output only has the results:

leo 2025-04-11T22:59:16.808189Z

How do I send the evaluation input to the output window?

pez 2025-04-11T23:12:51.798709Z

Actually what I use in that video is the terminal output destination. I recommend that over the output window.

pez 2025-04-11T23:16:18.952609Z

I’m afk. Trying to recall how to get the evaluated code in there… the settings UI has a search box which is pretty strong. See if you can find the setting there. Sorry I can’t be of more help right now!