Dear Calva friends: calva https://github.com/BetterThanTomorrow/calva/releases/tag/v2.0.571 • Dev: Fix npm audit: upgrade jest, typescript, and patch transitive deps ◦ jest ^27 → ^30 (fixes @tootallnate/once vulnerability chain) ◦ typescript ^4.6 → ^5.8 ◦ Add npm overrides for diff and serialize-javascript (mocha transitive deps) ◦ tsconfig: target es6 → es2020, add skipLibCheck • https://github.com/BetterThanTomorrow/calva/issues/3159 • https://github.com/BetterThanTomorrow/calva/issues/3160 • Jack-in and connect menus sort project types: custom, then “official” Clojure/ClojureScript, then dialects, then generic
Bit of a weird situation: calva appears to be desynced with my global deps.edn. Some of the aliases defined in it are still available when jacking in, but changes to the file are ignored. Any idea what might be going on? One additional piece of info: the global deps.edn (`~/.clojure/deps.edn`) is a symlink to a file in my config repo.
Does Calva even track that file?
I think we have a setting for bringing in the aliases you want from there. So maybe that’s what you find stale, if you had the mental model that the file was being used?
Ah yeah, that's gotta be it
I'm guessing calva can't just look at that file when jacking in?
Well, it could, but some have a ton of aliases there and it would make the list hard to use for them.
Maybe that could be a setting? I don't know what the majority use case is, but I'd be surprised if most people had a ton of aliases in their global deps.edn. I'd honestly be surprised if most people used it at all
Yeah, could be a setting. Or if the myAliases setting is not used, we default to the reading the global aliases. If you don’t want any global aliases you set it to an empty array…
Yeah vscode often does the thing where you can use a string for simple things and a collection for more power. So maybe “all” could be the default, and other options could be “none” and an array
If we make none the default, things will keep working as they are.
Fair enough
You’re welcome with issue + PR 😃
https://github.com/BetterThanTomorrow/calva/issues/3165, not sure when I'll have time for a PR but I'll put it on my todo list