Fork me on GitHub
#calva
<
2021-12-31
>
rmxm13:12:18

Hey I am having slight problem with Calva, when using Jack-in, sometimes it gets buggy and spits evals into both output window and editor window. This doesn't happen when I am reusing terminal started repl. I don't have much vscode knowledge to debug what can be causing this. I have parinfer and vim extension (but I disabled them to try and it seems to still happen)

pez13:12:50

What does it mean it “spits evals in both output window and editor window”?

rmxm13:12:20

when evaling, the output appears in calva output window and also completely replaces current editor window with text from calva-output, after ctrl+z returns to normal

pez13:12:33

Oh, wow. Which command are you using for eval?

rmxm14:12:09

alt+enter, ctrl+k

rmxm14:12:22

using WSL2

pez14:12:47

I don’t think Calva binds ctrl+k on Windows. What is the command that those bindings are executing on your machine?

rmxm23:01:52

So, it seems this behaviour happens after some logging happens, using timbre. Before eval and After eval pics included

rmxm00:01:01

it sort of barfs the output from calva window, into both calva window and current editor window

pez09:01:52

Looks like that test.clj file is located in the .calva/output-window folder? Maybe if you jack-in while having that file opened, that Calva gets confused about the project root and/or about which file the output window is written to. Not sure, but please file an issue.

rmxm19:01:47

that's not the case, I can look more for logs, but would have to get some hints on which output windows to look at in vscode

pez23:12:58

Happy New Year, Calva-friends! 🎉

👍 1
Kailash K20:01:35

Happy new year Peter!

🎉 1
Stefan18:01:29

Yes happy new year, may all your (parinfer) dreams come true! 😜

😂 1