Fork me on GitHub
#calva
<
2021-11-23
>
qqq05:11:42

Is it on the Calva roadmap to make scripting Calva in CLJ/CLJS possible? I.e. Emacs :: ELisp == Calva :: CLJ/CLJS ?

pez06:11:30

Calva has no roadmap. 😀 I think it would be interesting to investigate how it could be achieved, but it is nothing we have discussed.

lambdam16:11:42

Hello everyone, Is there a way to add hooks to Calva so that when running the "Calva: Refresh all namespaces", the system is halted and started again (reloaded workflow) ? The same thing achieved with Cider on this page: https://docs.cider.mx/cider/usage/misc_features.html#reloading-code with the following code :

(setq cider-ns-refresh-before-fn "user/stop-system!"
      cider-ns-refresh-after-fn "user/start-system!")
Thanks

pez16:11:03

Hi there! There are no such hooks in Calva. The best you can currently do is to configure custom repl command snippets that you can run before and after refreshing namespaces. You are welcome to file a feature request.

lambdam09:11:27

Do the feature requests go to Github > Discussions > Ideas ?

pez17:11:04

As an issue on the repo I think is best. There is not so very much to discuss here. There is prior art and it is more a matter of spending the time to investigate how to do it and to do it.

amar20:11:05

to any Calva + VSCodeVim users out there: when using w in normal mode the cursor doesn't end up where expected. for eg |hello/world will navigate to hello/world| instead of hello|/world If I disable Calva, w works as expected. Anyone know of a workaround or what in Calva might be influencing the behavior?

pez17:11:56

Not sure about this, but could it have to do with the Note here? https://calva.io/customizing/#clojure-defaults

amar12:11:41

Thanks @U0ETXRFEW editor.wordSeparators is the magic incantation. I should contribute some of these to the http://calva.io/vim page.

pez13:11:57

Please do. 😃 There is also this issue about it, I now remember: https://github.com/BetterThanTomorrow/calva/issues/1246

👍 1