Fork me on GitHub
#calva
<
2020-10-14
>
Tom H.04:10:57

Thanks @brandon.ringe!

đź‘Ť 3
otwieracz10:10:09

Hey! I haven’t tried Calva for some time and I’ve been surprised - REPL window seems “weird”.

otwieracz10:10:35

Now it feels like “text buffer”, prompt seems to end with newline.

otwieracz10:10:13

After each call I end up in newline after clj::server=>

otwieracz10:10:24

Is there something wrong with my setup or is that expected?

otwieracz10:10:13

Errors also look weird:

pez11:10:49

Errors are being worked on.

pez11:10:05

Not sure I follow what is weird with the newline.

otwieracz11:10:04

Shouldn’t those things be clickable?

otwieracz11:10:18

That’s what connect message says.

otwieracz11:10:23

Another thing:

otwieracz11:10:22

Shouldn’t those … be clickable or something?

otwieracz11:10:35

I don’t see any way to explore any longer list.

otwieracz11:10:25

@pez Just to be clear - I am not trying to complain about work-in-progress things! I really appreciate all the time and effort you put in Calva. I just remember things differently and I want to make sure I don’t have something broken in my setup. 🙂

pez11:10:32

I’m not taking it as complaints, no worries.

pez12:10:08

The file urls in that stack trace thing should be clickable. If they are not, then something is wrong. But in any case we are working with printing the stack traces in a more compact and usable way.

pez12:10:56

It would be nice if the … were clickable, but they are just literal dots printed by the pretty printer. Fiddle with the pretty print settings to either disable or change the truncation limits. Or disable pretty printing, it can be toggled on/off without visiting settings.

pez12:10:45

Also, if you missed this PM, it could be worth a read: https://clojureverse.org/t/calva-summer-of-bugs-2020/6303

đź‘Ť 3
bringe15:10:55

The newline after the prompts are intended. It makes for more horizontal space for editing forms there.

cheatex19:10:18

Hi. I haven't updated for a while and after installing the latest version all my paredit hotkeys went dead. If it try to perform some op via action panel a popup says something like "command 'paredit.deleteForward' not found".

cheatex19:10:56

Actually other actions are missing too command 'calva.jackIn' not found

pez19:10:58

Sounds like Calva fails to activate. Can you check the dev console log for hints on what goes wrong?

cheatex19:10:01

I see linter failure

Oct 14, 2020 10:14:19 PM org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint notify
INFO: Unsupported notification method: $/setTraceNotification
[Error - 10:14:22 PM] java.lang.IndexOutOfBoundsException
  at clojure.lang.PersistentVector.arrayFor(PersistentVector.java:158)
  at clojure.lang.PersistentVector.nth(PersistentVector.java:162)

cheatex19:10:18

Also

[2020-10-14 22:21:10.784] [exthost] [info] extension host started
[2020-10-14 22:21:10.802] [exthost] [info] ExtensionService#_doActivateExtension betterthantomorrow.calva {"startup":false,"activationEvent":"onLanguage:clojure"}
[2020-10-14 22:21:10.802] [exthost] [info] ExtensionService#loadCommonJSModule /home/zan/.vscode/extensions/betterthantomorrow.calva-2.0.126/out/extension
[2020-10-14 22:21:11.049] [exthost] [info] ExtensionService#_doActivateExtension borkdude.clj-kondo {"startup":false,"activationEvent":"onLanguage:clojure"}

pez20:10:33

Looks like both Calva and clj-kondo fails to start. Can you try uninstalling Calva and install only clj-kondo and see if you have linting?

cheatex06:10:26

I always have linting no matter if calva installed or not. After little experimenting I see that the error above is thrown every time code has unbalanced parens.

cheatex06:10:24

I can't install earlier version. Are older packages cleaned up or it's a VSC bug?

pez06:10:11

We are not cleaning away anything.

pez06:10:34

That linting error could be the same as this issue: https://github.com/borkdude/clj-kondo.lsp/issues/11

bringe16:10:59

I can't install earlier version.Are you using the cog menu on the Calva extension in the Extensions side pane, then -> "Install another version"? That should show you older versions and you can click them to install. If that's not working, something is wrong with your installation, likely.

cheatex18:10:26

Yes, im using cog menu. I guess back up configs and reinstall is my next step.

đź‘Ť 3
pez18:10:24

I somehow doubt this is a matter of Calva version. Something else is going on.

cheatex06:10:31

I've removed entire .config/Code except setings.json and keybindings.json, reinstalled VSC. It helped 🙂

🎉 3
pez07:10:44

Weird. But great that you have it working again!