calva

Wednesdays you might find @U0ETXRFEW in the Gather Calva space. Invite is https://gather.town/invite?token=GZqrm7CR and the password is `Be kind`.
Tom H. 2020-10-14T04:10:57.310500Z

Thanks @brandon.ringe!

đź‘Ť 1
otwieracz 2020-10-14T10:08:09.311500Z

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

otwieracz 2020-10-14T10:08:35.312200Z

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

otwieracz 2020-10-14T10:08:38.312300Z

otwieracz 2020-10-14T10:09:13.313300Z

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

otwieracz 2020-10-14T10:09:24.313600Z

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

otwieracz 2020-10-14T10:17:13.313800Z

Errors also look weird:

pez 2020-10-14T11:10:49.314300Z

Errors are being worked on.

pez 2020-10-14T11:11:05.314700Z

Not sure I follow what is weird with the newline.

otwieracz 2020-10-14T11:35:04.315200Z

Shouldn’t those things be clickable?

otwieracz 2020-10-14T11:35:18.315600Z

That’s what connect message says.

otwieracz 2020-10-14T11:35:23.315900Z

Another thing:

otwieracz 2020-10-14T11:36:22.316400Z

Shouldn’t those … be clickable or something?

otwieracz 2020-10-14T11:36:35.316700Z

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

otwieracz 2020-10-14T11:38:25.318400Z

@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. 🙂

pez 2020-10-14T11:59:32.319Z

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

pez 2020-10-14T12:01:08.320400Z

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.

pez 2020-10-14T12:03:56.323Z

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.

pez 2020-10-14T12:04:45.323400Z

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

đź‘Ť 1
bringe 2020-10-14T15:54:55.325Z

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

cheatex 2020-10-14T19:07:18.328Z

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".

bringe 2020-10-15T16:31:59.331600Z

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.

cheatex 2020-10-15T18:01:26.332Z

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

đź‘Ť 1
pez 2020-10-15T18:56:24.333300Z

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

cheatex 2020-10-19T06:57:31.397700Z

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

🎉 1
pez 2020-10-19T07:00:44.398400Z

Weird. But great that you have it working again!

cheatex 2020-10-14T19:07:56.328100Z

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

pez 2020-10-14T19:16:58.329500Z

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

cheatex 2020-10-14T19:20:01.329700Z

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)

cheatex 2020-10-14T19:23:18.329900Z

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"}

pez 2020-10-14T20:20:33.330100Z

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?