Fork me on GitHub
#calva
<
2023-02-09
>
practicalli-johnny01:02:09

Is there a setting that would prevent Calva from opening the REPL window when starting (jack-in) or connecting to a REPL. Or is the only option to close the window each time it opens? Thank you.

bringe01:02:42

You can set calva.autoOpenREPLWindow to false.

👍 2
jurjanpaul16:02:35

Not complaining, but this is just to let you know that the (in)famous parinfer supporting version 2.0.227 sadly stopped being usable for me this week (after upgrading VS Code). I'm just grateful that it worked so well for so long! Some auto-formatting somewhere in VS Code has suddenly started to immediately remove spaces that I type within a form. And I can't imagine where to look for a possible cause and/or solution. Is parinfer support still a (hopefully feasible) target on the radar for Calva? I still very much hope so!

pez16:02:31

It's fantastic to hear you could use it for this long! And a bit sad. Means I was so, so close to figuring it out. It's like I was swimming towards land for miles and miles and then sunk just by the shore.

pez16:02:04

It's interesting what you say about some autoformatting in VS Code starting to do stuff. We have a recent https://clojurians.slack.com/archives/CBE668G4R/p1675855895843909 that I am unable to wrap my head around. Maybe it has started with a recent VS Code... @U02CX2V8PJN, can you try repro with an old VS Code? Something from late last year should be enough old.

pez16:02:16

As for the radar. Until you told me this, @URLHASEM6, Parinfer in Calva was off my radar. But now I think we actually need to find the root causes to why it messed things up even for users that didn't enable Parinfer. And once we have found that cause and fixed it, the road should be paved for Parinfer again. No commitment here though, but I know myself and how dying on some hill is something I can see myself doing.

jurjanpaul16:02:05

Saw the other issue too and wondered if it could be related somehow.

pez16:02:14

Have you tried with older VS Code, @URLHASEM6?

jurjanpaul16:02:57

Not yet, but will once I figure out how to go back a version. 🙂

pez16:02:07

You see the download links there at the start of the page.

jurjanpaul16:02:38

Yes, downgraded VS Code in Aptitude, which solved the problem. Thanks anyway @U0ETXRFEW! I clearly remember how hard you tried last time around. It is clear to me that VS Code is not exactly helpful in this respect. (Parinfer does not seem at all urgent for most Clojure developers. It's just that to me paredit barfing and slurping never comes close to the immediacy I experience when parinfer allows me to not have to think at that level. 🙂 And therefore, it indeed seems a desirable entry point to have for beginners.)

pez16:02:08

To me Parinfer seems a bit dangerous for beginners. But I could be tainted by my bug-ridden implementation.

jurjanpaul16:02:03

Interesting. Yes, I can see that too. I do sometimes need to make an effort to figure out what went wrong in my code, perhaps a bit less so in other editors that support it well. 😉 Still, much easier for me to get used to than not having it though. (I'm sure that my Python background has a lot to do with naturally expressing intent through indenting. 🙂)

skylize19:02:36

I am beginner enough to clearly remember that, initially, even auto-formatting and bracket-management could frequently be disorienting. And those are both way more straightforward. Personally Parinfer doesn't fit my taste at all. But if it did, I would still strongly avoid directing beginners to it. Feel out the language as it actually is first.

Thierry07:02:59

Just read your question to try with an older vscode. Will do!

🙏 2
Thierry08:02:34

Well that was more shittier then I thought, wanted to do it in a sandbox. couldnt even get clojure-lsp to start. will try again later

pez08:02:42

It's probably trickier to do a separate install on Windows than on Mac. But if the installer gives you an option for install location, that should be enough sandbox, I think.

jurjanpaul08:02:59

Tastes clearly differ. 'Feel out the language as it actually is first.' is fine for a few days, but I remember that editing as plain text was so painful that without structural editing support, with parinfer posing the lowest threshold w.r.t. where I came from, I really just wanted to run away.

pez09:02:55

Neither Paredit, nor Parinfer is the language anyway. It's two methods to manipulate the text.