Fork me on GitHub
#calva
<
2021-04-01
>
0xclj14:04:03

I’m trying to run Calva+Reveal for Exercism exercises. The namespace changes on reveal but ctrl+enter or alt+enter doesn’t do anything on the reveal window. How do I ensure that the result of the execution is also visible on reveal?

pez15:04:24

Does the tap command show results in reveal?

0xclj15:04:01

(tap> (+ 1 3)) true on calva tap> 4 on reveal

pez20:04:06

Hmmm, I don’t know what goes wrong. Almost seems like a reveal problem, maybe try with version 1.3.194 of reveal?

alpox19:04:07

@pez I'm baffled... I debugged calva for the hover-hint issue and I just see that all data is there. It just won't show in the popup. All there is in the popup is still Loading...

alpox20:04:29

Au wei... I'm speechless, sorry for taking your time 😞 Some weird errors in the terminal of calva and by printing the stacktrace I found out that there was a problem concerning avil.clojure and apparently I had the Clojure extension installed next to calva. That messed things up and ate the hover hints. I uninstalled the Clojure extension and it all starts working 🤷

alpox20:04:03

I wasn't aware that these extensions interfere

pez20:04:25

Oh, so it is working now for you?

alpox20:04:12

The hints are working now as expected - the toggle I figured out how to tickle a bit for it to do what I want 😄

pez20:04:37

Yeah, I think it might be a bit glitchy.

pez20:04:10

Totally confusing when two REPL extensions are installed. Glad you got it to work!

alpox20:04:21

Its not even that glitchy once I get it to the right mode 😄 may be by accident but works well enough. On the way I now learned at least something - how to partially debug vscode extensions 🙂

calva 3
cschep22:04:37

hey all, not sure if this is a supported configuration but I’m using the VS Code Remote plugin to SSH to a raspberry pi to develop a little bot program in clojure

ericdallo22:04:48

hey, not sure I get it, you are running the vscode in a raspberry?

ericdallo22:04:13

if so, you will probably have issues with clojure-lsp native binary as there is no arm compiled binary yet

pez22:04:11

Calva should mostly work anyway, I think. At least when the REPL is connected.

cschep22:04:25

ahhh.. interesting.

cschep22:04:41

well that makes sense, thanks! 🙂

alpox22:04:27

Im using calva and clojure-lsp through WSL Remote which I believe is similar. Works like a charm

cschep22:04:44

I’m getting an error with clojure-lsp

cschep22:04:47

[Error - 9:55:46 PM] Connection to server is erroring. Shutting down server.
[Error - 9:55:46 PM] Connection to server is erroring. Shutting down server.
[Error - 9:55:46 PM] Connection to server is erroring. Shutting down server.
[Error - 9:55:46 PM] Connection to server is erroring. Shutting down server.
/home/ubuntu/.vscode-server/extensions/betterthantomorrow.calva-2.0.183/clojure-lsp: 1: Syntax error: "(" unexpected