Fork me on GitHub
#calva
<
2022-10-09
>
pez13:10:13

Dear Calva friends: https://github.com/BetterThanTomorrow/calva/releases/tag/v2.0.306https://github.com/BetterThanTomorrow/calva/issues/1885 So, before, you needed to use strings for the Clojure REPL command and hover snippets, even when you configured them in .calva/config.edn or as part of a Clojure library. Not any longer! Now you can use Clojure code to express Clojure code. 😃 Happy coding! ❤️

🎉 4
seancorfield16:10:52

Nice! Is that .calva/config.edn global (user-level) or workspace-level?

seancorfield16:10:40

(the docs don't make it clear and there is no user-level .calva folder created automatically)

pez21:10:42

Good question. I think it is only workspace level for now. We should in any case make it clearer in the docs. @U02EMBDU2JU is most in the know about this.

1
Lukas Domagala23:10:10

Yeah it's workspace + each library can have one. We should add userspace since it would be pretty to do.

1
seancorfield00:10:41

And maybe use ~/.config/calva for that, rather than ~/.calva -- I see more and more tools moving to the XDG approach.

3
seancorfield21:10:18

Oh man! That just rocks!! Thank you! I just moved all my custom snippets out to user-level config and converted them from nasty strings to actual code that I can edit in an EDN file that Calva understands!! gratitude

pez21:10:24

Haha, that's great! Thanks for testing it immediately!

seancorfield22:10:29

https://github.com/seancorfield/vscode-calva-setup now has the custom REPL snippets, as code, in calva/config.edn instead of as strings in settings.json and the README has been updated to reflect that (and that Calva 2.0.307 or later will be needed).

1
pez22:10:23

Thanks for sharing about this. I should probably pick a lot of stuff from your setup.

pez22:10:55

Let’s hope it will be 2.0.307 that ships the user level config support. I currently have some problem with integration tests in CI. They run fine locally, so I’m a bit out of ideas what’s wrong. I’ll try again tomorrow and see if either my brain has started working or maybe it is just something temporary on CircleCI. That has happened before.

1
seancorfield22:10:49

I live and die in the Portal integration, especially now I can manipulate the most recent tap>'d value via a custom REPL snippet that lets me type in code that manipulates *v and tap>'s that result back into Portal 🙂

seancorfield22:10:09

I really need to make a couple of new screencasts around my setup...

metal 1
1