Fork me on GitHub
#calva
<
2019-02-04
>
Jacob Haag16:02:58

I've been having issues with calva, when I connect to the repl I get a Clojure Repl option but not a Clojurescript Repl. Any ideas of why this might be?

pez16:02:00

Could it be that you haven't started a ClojureScript repl and connected your browser to it?

tomd16:02:07

Is there a way to copy/paste to/from the new repl?

mseddon20:02:31

It should 'just work' with regular ctrl+c or cmd+c under mac (and respectively ctrl/cmd v for paste). If this isn't working for you this is a bug, please file a report mentioning the operating system and version of vscode you are running and I'll take a look. Thanks!

tomd08:02:03

It doesn't work in vscode 1.30.2 on Windows 10 1803. I'll log as an issue 👍

mseddon09:02:05

Thanks!

👍 5
tomd15:02:55

That's fixed 😄 I closed the issue on github - hope that's ok!

mseddon11:02:00

Perfect! Thanks! 😄

Jacob Haag18:02:17

@pez My usual workflow has been 1. Start repl in terminal 2. Connect to repl using calva 3. At this point, usually two additional drop-down options would appear, the first being clojure repl and second being clojurescript repl 4. I would then navigate to the clojurescript repl and start figwheel and connect to the repl with (require '[figwheel-sidecar.repl-api :as figwheel]) (figwheel/start-figwheel!) (figwheel/cljs-repl) However, I cannot do this now with no clojurescript repl option

pez21:02:16

@jacobhaag17 , ah, I didn't know that worked! What I do is: 1b. Start the cljs-repl from the repl from step 1, using the command in your step 4. Then connect Calva.

Jacob Haag13:02:47

Okay that makes sense, the only benefit of the approach I was using is that I could have both a clj-repl and cljs-repl

pez17:02:03

Don't you get that with my approach as well?

Jacob Haag14:02:04

Let me give it a go and see