This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-11-08
Channels
- # adventofcode (9)
- # announcements (5)
- # babashka (3)
- # beginners (46)
- # calva (21)
- # cider (15)
- # clj-kondo (20)
- # cljs-dev (57)
- # cljsrn (10)
- # clojure (147)
- # clojure-dev (6)
- # clojure-europe (3)
- # clojure-france (2)
- # clojure-italy (8)
- # clojure-nl (18)
- # clojure-norway (5)
- # clojure-spec (16)
- # clojure-uk (63)
- # clojuredesign-podcast (7)
- # clojurescript (65)
- # clojurex (42)
- # cursive (12)
- # datomic (10)
- # fulcro (47)
- # graalvm (102)
- # graphql (2)
- # jobs (5)
- # joker (12)
- # off-topic (33)
- # pedestal (6)
- # re-frame (6)
- # reagent (8)
- # reitit (6)
- # remote-jobs (4)
- # rewrite-clj (10)
- # shadow-cljs (86)
- # sql (45)
- # testing (4)
- # tools-deps (43)
- # vim (8)
- # xtdb (3)
@dpsutton learned to use the repl from the cli, as you suggested, and now using cider-jack-in-cljs
which is working perfectly.
i think this could really help demystify what CIDER is doing. here its clear that its calling shadow-cljs watch
and then (shadow/watch :app) (shadow/nrepl-select :app)
. this way if you ever need to start up your app without CIDER its trivial to toss it into a terminal and know how to invoke your clojurescript entry
I feel really dumb. Which fn would I call to send a string to open REPL and have it executed?
@U052SB76M you mean an action which you would like to execute from a clojure buffer?
Ah, that's a bit different. There are bunch of cider-send-...
fns. I guess you can look at their implementation.
Hmm, actually they seem to be spacemacs specifict. But this can still be useful I think: https://github.com/syl20bnr/spacemacs/blob/master/layers/%2Blang/clojure/funcs.el#L32
Hey, I have some :style/indent
metadata on macros in a library I'm using but the indent spec it is being ignored by cider 0.23.0. Does cider have a cache of this info somewhere that I can clear?
I waited a while and reloaded the code a few more times and the problem seems to be fixed ¯\(ツ)/¯