calva 2025-04-11

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

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!!

Yes, so this is the setting.

🙌 1

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

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,

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

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

🙏 1

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:

Whereas my calva output only has the results:

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

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

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!