Fork me on GitHub
#calva
<
2020-04-23
>
pez05:04:06

@hoppy, can you reproduce that condition where Calva commands are not found? If you could catch that in the debugger, it would be worth a ton. I can't get it to happen which makes it very hard to fix.

hoppy10:04:26

for me, it's just go off to a new directory, "code -n fun.clj"; type '(', ')'; <backspace> and I'm in trouble

hoppy10:04:47

ok so there is a marked difference between opening a file and opening a directory.

hoppy10:04:24

yeah, that's the different bit. everything is fine if I'm working with a folder open, but just a file open, things go bonkers.

hindol.adhya11:04:51

Okay, some plugins are not activated unless the open directory is detected to be of specific type. For example, a plugin can check the presence of deps.edn in the directory and activate Calva.

hoppy12:04:43

It's interesting that I haven't stumbled on this earlier. The usual case is working on a project, but a simple babashka exercise breaks that mold.

pez13:04:57

I think Calva is deeply assuming there is a project folder. It might be some work to get rid of that.

pez13:04:27

Please file as issue.

pez14:04:28

Thanks!!!

hoppy14:04:13

sorry I only bring trouble - other than that, this thing has been humming nicely for months for me. Liking the beginnings of the debugger as well.

pez18:04:07

Dear Calva-friends, please help test a new feature with rainbow indent guides. It disables VS Code's built in guides (they make very little sense for LISPy code) and adds structural lines instead, colored by the same rainbow as the parens. There is a screenshot here: https://github.com/BetterThanTomorrow/calva/issues/620 And here's a VSIX to install and test: https://5729-125431277-gh.circle-artifacts.com/0/tmp/artifacts/calva-2.0.94-pez-rainbow-indent-guides-12c741cf.vsix