Fork me on GitHub
#calva
<
2020-05-22
>
craftybones09:05:03

You know that pesky problem of command not found?

craftybones09:05:12

I am able to consistently reproduce it

craftybones09:05:41

If I launch VSCode with code ~/.clojure/deps.edn

craftybones09:05:43

then it bombs

craftybones09:05:52

if I go into that directory and launch code from there, it works

craftybones09:05:58

But after updating that to 2.10 it went away. 😞

craftybones09:05:04

Ok, I thought I could consistently replicate it. Ignore

pez09:05:43

Upgrading to 2.10 of what? 😃

craftybones10:05:59

Sorry, 2.0.101

pez16:05:29

2.0.98 is supposed to fix the problems with bare files (which was a common reason for command not found): https://github.com/BetterThanTomorrow/calva/releases/tag/v2.0.98

craftybones10:05:40

Anyway, ignore.

craftybones10:05:44

Next time it comes

craftybones10:05:46

Its like catching pokemon

craftybones10:05:28

is formatting different for EDN files?

craftybones10:05:33

Wow, the upgrade change da lot of things. My indent guides don’t show any more

pez16:05:29

v2.0.94 replaced the built in indent guides with Calva's own: https://github.com/BetterThanTomorrow/calva/releases/tag/v2.0.94 You might want to check out: https://calva.io/customizing/#calva-highlight

craftybones10:05:44

hitting tab on an empty line throws up

craftybones10:05:00

calva-fmt.formatCurrentForm not found

pez16:05:27

Doesn't sound good at all. Please file an issue with a repro. As @U9A1RLFNV says, file it from within VS Code and we will get some info about your setup along with the issue.

craftybones10:05:17

@pez - I’ve found more information. I installed every version one at a time from 2.0.88. My troubles begin when I go from 2.0.91 to 2.0.92. In 2.0.92,hitting a tab on an empty line brings up calva-fmt.formatCurrentForm not found. Thereafter, every version seems to have problems invoking either shortcuts or formatting

craftybones10:05:18

from 2.0.90 onwards I have a problem invoking certain other actions like transpose

craftybones10:05:45

so as of now, I am on 2.0.89. That is stable and works well for me. Every version after that is acting strange

craftybones10:05:37

However, on 2.0.89, opening arbitrary files outside current project causes other strange issues

craftybones10:05:45

especially edn files.

Dmytro Bunin18:05:43

Is it somehow possible to find all usages of qualified keywords? Eg is I want to find all ::foo even if it used as ::bar/foo

pez18:05:32

There is no ”find usages” in Calva at all yet. You'll have to use multi-file regex search to come close to that, I think.