This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-01-22
Channels
- # announcements (2)
- # beginners (42)
- # calva (2)
- # cider (13)
- # clara (2)
- # cljdoc (1)
- # cljs-dev (8)
- # clojure (118)
- # clojure-australia (1)
- # clojure-europe (3)
- # clojure-finland (2)
- # clojure-italy (42)
- # clojure-japan (1)
- # clojure-nl (2)
- # clojure-spec (26)
- # clojure-uk (58)
- # clojurescript (83)
- # cursive (6)
- # data-science (2)
- # datomic (13)
- # devcards (2)
- # duct (9)
- # figwheel-main (4)
- # fulcro (11)
- # graphql (51)
- # jobs (1)
- # juxt (14)
- # kaocha (1)
- # off-topic (24)
- # re-frame (65)
- # reagent (4)
- # reitit (19)
- # remote-jobs (8)
- # shadow-cljs (50)
- # specter (3)
- # speculative (1)
- # vim (5)
- # yada (50)
I can see that I can register a new REPL type with cider-register-cljs-repl-type
, but I can't see anything that could be placed in a .dir-locals.el
.
I’ve “hacked” it doing something like this:
((nil . ((eval . (with-eval-after-load 'cider
(cider-register-cljs-repl-type
'fw-cc
"(do (start) (start-fw) (use 'figwheel-sidecar.repl-api) (cljs-repl))")
(setq cider-default-cljs-repl 'fw-cc))))))
I’m sure there are now better ways, but that worked for meHas this functionality been removed from Cider, and if so, could we have it back? 😉
cider doc said, "Sometimes, cider-ns-refresh
may not work for you. If you're looking for a bit more forceful reloading the cider-ns-reload
and cider-ns-reload-all
commands can be used instead. " I don't know what's that (some) time......
Yeah I wrote that in the doc, basically I needed a way to introduce the fact that cider-ns-reload
has a completely different mechanism for reloading namespace, which is (require :reload)
...while refreshing is basically using tools.namespace
.
"Might not work for you" is as in "you don't like that workflow".
Rephrasing might make sense if too confusing.
That is not how I read that, but that makes total sense for me now. I have been in #nrepl for a few days, should I idle anywhere else to glean other insights like this? Happy to tentaviley PR doc changes myself if I can catch them.
Well yeah writing here or in #nrepl for this kind of feedback is for sure a good thing