This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-11-23
Channels
- # announcements (66)
- # babashka (41)
- # beginners (93)
- # calva (10)
- # cider (2)
- # clj-kondo (112)
- # cljs-dev (6)
- # cljsrn (1)
- # clojure (44)
- # clojure-dev (10)
- # clojure-europe (35)
- # clojure-italy (15)
- # clojure-nl (3)
- # clojure-uk (2)
- # clojurescript (38)
- # conjure (1)
- # datalevin (1)
- # datomic (16)
- # deps-new (4)
- # events (7)
- # figwheel-main (1)
- # fulcro (59)
- # graalvm (21)
- # integrant (3)
- # introduce-yourself (8)
- # jobs-discuss (2)
- # malli (23)
- # membrane (11)
- # membrane-term (2)
- # missionary (17)
- # off-topic (7)
- # pathom (23)
- # pedestal (6)
- # polylith (7)
- # portal (25)
- # releases (1)
- # remote-jobs (3)
- # reveal (5)
- # shadow-cljs (43)
- # spacemacs (7)
- # sql (18)
- # tools-deps (33)
- # vim (10)
- # xtdb (36)
Is it on the Calva roadmap to make scripting Calva in CLJ/CLJS possible? I.e. Emacs :: ELisp == Calva :: CLJ/CLJS ?
Calva has no roadmap. 😀 I think it would be interesting to investigate how it could be achieved, but it is nothing we have discussed.
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!")
ThanksHi 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.
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.
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?
Not sure about this, but could it have to do with the Note here? https://calva.io/customizing/#clojure-defaults
Thanks @U0ETXRFEW editor.wordSeparators
is the magic incantation. I should contribute some of these to the http://calva.io/vim page.
Please do. 😃 There is also this issue about it, I now remember: https://github.com/BetterThanTomorrow/calva/issues/1246