Fork me on GitHub
#cider
<
2015-08-31
>
bozhidar08:08:46

that’s a pretty nasty topic

bozhidar08:08:57

search the github tickets and you’ll see what I mean simple_smile

bozhidar08:08:23

there are some workarounds, there’s no “real” solution

bozhidar08:08:33

or if it exists - we haven’t found it yet

malabarba16:08:43

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.

malabarba16:08:40

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).

bozhidar17:08:08

after you do this you’ll also need to give me and Michael ownership in clojar, in case we need to cut releases ourselves

gtrak17:08:33

right, well I don't mind if you change groupid

gtrak17:08:09

afaik cider is the only consumer

gtrak18:08:52

I added bozhidar and cichli to clojars

mitchelkuijpers20:08:39

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?

malabarba20:08:51

@mitchelkuijpers are you running today's snapshot?

mitchelkuijpers20:08:12

I just updated with elpa so I guess so?

mitchelkuijpers20:08:46

CIDER 0.10.0snapshot (package: 20150831.715)

mitchelkuijpers20:08:04

@malabarba: The version seems to indicate that I did

mitchelkuijpers20:08:10

But I just do a

cider-connect
and then I use figwheel repl-api to start a cljs repl with
(cljs-repl)

mitchelkuijpers20:08:30

So I don't know how it would know it's a clojurescript repl

whacked22:08:18

how does one install the cider-nrepl 0.10.0-snapshot?

whacked22:08:44

the github repo master looks like it's at 0.9.1, what am i missing?

whacked22:08:59

nevermind stupid me. it's just master

malabarba22:08:51

@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.