This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-07-13
Channels
- # babashka (5)
- # beginners (55)
- # calva (24)
- # cider (11)
- # cljsrn (14)
- # clojure (55)
- # clojure-europe (9)
- # clojure-houston (1)
- # clojure-italy (1)
- # clojure-nl (7)
- # clojure-uk (38)
- # clojurescript (4)
- # code-reviews (12)
- # cursive (3)
- # datomic (86)
- # figwheel-main (14)
- # helix (10)
- # hoplon (4)
- # interceptors (1)
- # jobs (2)
- # jobs-discuss (13)
- # kaocha (5)
- # leiningen (5)
- # local-first-clojure (1)
- # luminus (2)
- # malli (27)
- # membrane (1)
- # off-topic (43)
- # pedestal (5)
- # re-frame (32)
- # reagent (22)
- # reitit (24)
- # remote-jobs (2)
- # shadow-cljs (1)
- # spacemacs (1)
- # sql (1)
- # tools-deps (32)
- # xtdb (51)
is there a way to "unload"/reset everything from the repl without disconnecting & reconnecting?
(context: i've changed a name of a function, the old one is still loaded and I want to forget it)
there are some tools out there that do this, you might want to check out the clojure.tools.namespace library or Stuart Sierra's Reloaded workflow
😛 it causes bugs (e.g i forget to change the name in a call, get old behavior + new behavior and confusing runtime bugs)
@U014X1MN7MM You may find this useful https://www.demystifyfp.com/clojure/marketplace-middleware/configuring-database-connection-pooling-migration-reloaded-workflow/
I'll read that as well, @UNRL5S30U. 😃 For the specific use case, what I usually do when I rename a function is to redefine the old name such that it throws.
@pez It would be great for Calva to implement cider-undef - using it has the same effect that anything referencing the var throws a "unbound var" / "unable to resolve" error
@yuhon If you want to make an issue in the repo for this enhancement that would be appreciated 😃. PRs are of course appreciated too if you have time, but an issue to start is good.

I'm seeing the "command 'paredit.deleteBackward' not found" error when I hit backspace. The only google result was this channel a month ago 😐
To be fair, I used Calva a while ago, and am just now getting back to it. So there's every chance that there's some old config laying around. I did uninstall and reinstall to no avail
You are certainly not the first one. Maybe that extension has stopped working with more recent vs code.
@pez I was just catching up on recent happenings here. I created this task for improving the docs for complete beginners. @way_gfp8cs and anyone else who might have something to add, please add it to that issue. https://github.com/BetterThanTomorrow/calva/issues/679