Fork me on GitHub
#calva
<
2024-01-26
>
Lukas Domagala23:01:59

I got motivated to do some new integrations into Calva again (read this as: use other people’s work to make me look smart). This time, it’s https://github.com/flow-storm/flow-storm-debugger giving Calva some nice “built-in” instrumentation and sending parts of it to https://github.com/djblue/portal for a richer experience. In the clip, you can see me call a function, see the result of the last function call in a normal Calva hover, change the function, and rerun it with the last input by just hitting a hotkey. Finally, I hit a hotkey to send all executions of that function to https://github.com/djblue/portal. Would anyone be interested in this? The code is very much a proof of concept so I’ll clean it up if so.

❤️ 4
pez23:01:24

It’s plain lovely.

Lukas Domagala00:01:15

The fun bit is that I didn’t have to touch the Calva source 🙂 It’s all happening through customREPLHoverSnippets and customREPLCommandSnippets

🤯 2