Fork me on GitHub
#editors
<
2018-10-10
>
kmiasko06:10:35

Hi. I'm trying to use Calva with VSCode but cannot get it to work. Calva can't connect to repl.

➜  ~ code --version
1.28.0
431ef9da3cf88a7e164f9d33bf62695e07c6c2a9
x64
Lein is configured as in Calva docs. All the time i'm getting command 'calva.connect' not found. Running Calva from project root, with clj file open. Any one had this?

pez06:10:56

Which version of Calva?

pez06:10:44

There is an issue with Calva not initialising when some non-clojure pane opens on startup, that I haven't quite figured out. Try closing the project with a .clj* file open and then reopening it. Might work.

kmiasko06:10:33

@pez 1.3.44, latest i think

pez06:10:13

Might be an issue with VSCode 1.28, then, I am upgrading to try it out.

pez06:10:10

It works still after upgrade here. Hmm …

pez06:10:16

Thing is you get that command not found, which means Calva is not loaded. It should load when a clojure file is opened, but it seems that in same cases it needs a clojure file to be opened first thing.

kmiasko06:10:09

kk, i'll be trying later, need to go to work

kmiasko06:10:13

thanks for checking it

pez06:10:53

Maybe you can collect some hint for me if you Toggle Development Tools (the Help menu). And see if there's an error there that could be related.

pez06:10:53

Talk later, thanks for reaching out!

kmiasko06:10:33

@pez The problem was i had calva paredit and paredit installed, that was preventing plugin to load. Uninstalling paredit helped. Still can't connect tho, but now its other error. https://nopaste.xyz/?b54f9dd8e52cfccd#VZT3D51MnM7K0lbXVwZMdgHMHQUVfPsCQ/HFl2sOYo8=

pez07:10:27

Oh, that was a strange side effect of having both installed. But really good to know. I guess it can happen often.

pez07:10:25

Now it looks like you are havinbg trouble getting the ClojureScript REPL running. What does the Calva says Output pane contain? What kind of project is this? Figwheel?

pez07:10:08

Let's continue this in #calva-dev