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?Which version of Calva?
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.
@pez 1.3.44, latest i think
Might be an issue with VSCode 1.28, then, I am upgrading to try it out.
It works still after upgrade here. Hmm …
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.
kk, i'll be trying later, need to go to work
thanks for checking it
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.
Talk later, thanks for reaching out!
@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=
Oh, that was a strange side effect of having both installed. But really good to know. I guess it can happen often.
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?
Let's continue this in #calva-dev