This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2015-08-31
Channels
- # admin-announcements (9)
- # announcements (2)
- # beginners (16)
- # boot (18)
- # cider (22)
- # cljs-dev (10)
- # clojure (154)
- # clojure-denmark (5)
- # clojure-dev (5)
- # clojure-nl (2)
- # clojure-russia (13)
- # clojurescript (161)
- # cursive (3)
- # datomic (9)
- # editors (5)
- # emacs (25)
- # hoplon (57)
- # immutant (19)
- # instaparse (1)
- # ldnclj (2)
- # liberator (19)
- # off-topic (7)
- # re-frame (12)
- # reagent (10)
Hey everyone. If you do simultanenous Clojure and ClojureScript development, you may want to try the current CIDER snapshots. As long as you have both a clj and a cljs REPL connected on the same project, CIDER will automatically know which to use when evaluating any code from any buffer.
This is the same effect you get from the cider-jack-in-clojurescript
command from a few weeks ago, except it works even if you manually create those REPL buffers under whatever workflow you use. As everyone knows, there are dozens of ways to create cljs repls, so we'd love any feedback confirming where it does (or doesn't work).
after you do this you’ll also need to give me and Michael ownership in clojar, in case we need to cut releases ourselves
I currently use figwheel nrepl with cider and it works like a charm but it seems that cider does not detect the cljs repl so it does not do the switching is there anything obvious I am missing how to do this?
@mitchelkuijpers are you running today's snapshot?
I just updated with elpa so I guess so?
CIDER 0.10.0snapshot (package: 20150831.715)
@malabarba: The version seems to indicate that I did
But I just do a
cider-connect
and then I use figwheel repl-api to start a cljs repl with (cljs-repl)
So I don't know how it would know it's a clojurescript repl
@mitchelkuijpers I'll give your scenario a try tomorrow. See if it works for me. As for how it would know... Cider has a middleware that checks if it's a cljs repl and informs emacs automatically.