Fork me on GitHub
#cider
<
2016-04-23
>
piotrek18:04:31

Hi, ciders doc describe that I can use cider-jack-in-clojurescript to start two repl buffers (clj and cljs) (https://cider.readthedocs.org/en/latest/up_and_running/#clojurescript-usage)

piotrek18:04:06

is my understanding correct that it works only with lein and for boot I have to use boot-cljs-repl?

piotrek18:04:13

ok, got it working

piotrek18:04:30

I had to add:

(task-options!
 repl {:middleware '[cemerick.piggieback/wrap-cljs-repl]})

piotrek18:04:48

I will update the doc later so it is described explicitly for boot too

piotrek18:04:45

btw, would it be possible to have cider-jack-in-clojurescript to pass com.cemerick/piggieback and -m com.cemerick/piggieback when it is calling boot to start the repl server?

piotrek18:04:31

then it would be as seamless as with cider-jack-in when there is no setup required in build.boot

sgrove19:04:52

Hey all, hitting Alias ct already exists in namespace (accidentally eval’ed the ns form too soon), how do I remove the existing alias?

sgrove19:04:04

ns-unalias, got it!

malabarba20:04:06

@piotrek: nice. I was trying to do that myself this week and failed. I think I forgot about the wrap-cljs-repl.

malabarba20:04:51

Could you open a PR with boot instructions on the manual?

malabarba20:04:21

If it works for me I'll be glad to implement the midddleware injection.

jsa-aerial21:04:38

I confiirmed that under 0.9.1, function signature printing didn't include the fully qualified name space. In 12 (maybe 10 or 11?) fully qualified name is printed. This often takes up too much space that could be used to more clearly show signature. I looked, but while I couldn't find a switch for this, I'm guessing there must be one that now has a different default. True?

malabarba22:04:55

No. It doesn't have a switch yet. You can file an issue to ask for one.

jsa-aerial22:04:33

That's interesting - how did it work before? I have a 0.9 still available and it doesn't do that.

malabarba22:04:18

It's a new feature. We added the namespace but didn't add a switch for it. 😉