Has anyone managed to start and connect to a socket-repl using VSCode and Clover? I'm using mac osx and the lastest clojure-clr distro:
$ clojure.main
(clojure.core.server/start-server {:name "test" :port 4004 :accept 'clojure.core.server/repl})
telnet connects me to the repl through the terminal
telnet localhost 4004
clover says: REPL not connected: Connection refused.
@jarvinenemil i tried and was also unsuccessful. with the developer tools made visible (via the about menu), i observed an error show up after i invoked the "Clover: Connect Socket REPL" command and filled in the connection info. i don't know if there is a #clover channel yet, but may be it's worth reporting to @mauricio.szabo via #chlorine or the github repository for clover?
What's the error you saw on developer tools, @sogaiu?
just a moment, i am struggling to get it out of a vm 🙂
This should be harmless (please, do not ask me why it happens - VSCode is strange...)
ok is there somewhere else i might look for clues?
If Clover says REPL not connected: Connection refused
, it means it's catching the error. Are you running on Windows, which ClojureCLR version are you using, how did you fire up the Socket REPL?
i am trying via an ubuntu flavor
this is with the latest alpha for clojureclr
Great, I'm also on Ubuntu, so it'll be easier to debug
i started the clojure clr repl using the invocation above
at the repl
sorry i mean i started the socket repl via the command line repl
ah i have some steps for installing
clojure clr
just a sec
> this is with the latest alpha for clojureclr I did not test with it yet... is there a "quickstart" for installing it?
method 2 is quicker
Oh, faster than I was able to type 😄
Thanks 😄
note there is a prep step
@mauricio.szabo ah. sorry i didn't mention the telemetry thing up front
No worries, I already had it disabled
even for dotnet?
> You can opt-out of telemetry by setting the DOTNET_CLI_TELEMETRY_OPTOUT environment variable to '1' or 'true' using your favorite shell.
i should update the snippet
Yes, I was trying to compile MAGIC other day so this env was already on my shell config
awesome -- cool that you are trying MAGIC too 🙂
Ok, maybe there's a point to that webview message... I also can't connect from Clover, but I got no error - just nothing happens
ok, so at least it is reproducible
Ok, I'll check what's happening. I hope is an easy fix (well, with VSCode, that's mostly not true but anyway 😄)
Can you open an issue for me, please?
np -- i will do so 🙂
At least is not a repl-tooling issue - I can connect from Chlorine
ah interesting. so atm one could use chlorine instead may be?
Yes, until I fix the issue on vscode side, its an alternative
neat -- thanks for taking a look! ...and good luck with the investigation 🙂
@mauricio.szabo @jarvinenemil here is an issue: https://github.com/mauricioszabo/clover/issues/22
Ok, just fixed this issue (https://github.com/mauricioszabo/clover/pull/23), and published a new version. There is still some problems that I need to track (mostly, some garbage showing on the REPL) but it'll need more work (it's a common issue that's on the project for a while)
i was able to verify that evaluation of selection works 🙂 tyvm!
cool, thanks!