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`.
roelof 2020-12-29T13:28:15.470Z

I messed up my layout. Is it somehow possible to show calva repl back in a seperate window instead of a tab

pez 2020-12-29T13:31:54.471900Z

Yes, one way is to drag it so that you see a half of a window highlight and drop it there. There are also vscode commands for it.

roelof 2020-12-29T13:34:04.472200Z

thanks, you saved my day

❤️ 1
roelof 2020-12-29T13:56:00.473400Z

why does I get here a unresolved symbol but the code works

roelof 2020-12-29T13:56:05.473600Z

(ns ground-up.chapter7 (:require [cheshire.core :refer :all]))

(parse-string "{\"foo\":\"bar\"}" true)

ericdallo 2020-12-29T13:56:42.473700Z

Is parse-string a macro?

roelof 2020-12-29T13:58:32.473900Z

not that I know or the book is telling me

1
verma 2020-12-29T14:58:53.477300Z

I am editing some cljs code and it seems like the clojure-lsp is working correctly (I enabled verbose logging), but whenever I try to do an action like Find Definition or hover I see that the clojure-lsp response arrives (which looks correct) but vscode still shows that its loading stuff (shows "Loading...") for hover and keeps showing that progress indicator on the top.

verma 2020-12-29T14:59:47.477700Z

E.g. I went to a call to swap! and hit F12, it shows this in the log

verma 2020-12-29T14:59:52.477800Z

verma 2020-12-29T15:00:16.478300Z

and this progress bar keeps animating on the top

verma 2020-12-29T15:01:49.479300Z

this is with the remote server plugin, the code is on a remote server

verma 2020-12-29T15:07:09.480200Z

hmm, it seems like when I open the same folder locally (without the remote server) the IDE is able to parse out the responses.

pez 2020-12-29T15:20:11.480800Z

Please file an issue about that @verma

pez 2020-12-29T15:40:02.480900Z

I don’t know the answer to your question, but if you haven’t loaded the file, it is sometimes hard to predict the behaviour.

verma 2020-12-29T16:36:58.481200Z

will do, thanks!

bringe 2020-12-29T16:44:47.481300Z

Sometimes things that are required (like macros) are not picked up by the linter unless explicitly configured. You can see the clj-kondo config docs (and this specifically), here: https://github.com/borkdude/clj-kondo/blob/master/doc/config.md#unrecognized-macros

bringe 2020-12-29T16:45:21.481700Z

But, it's just a lint warning in any case, so you can ignore for now if you're just learning and don't want to pile on more info