Fork me on GitHub
#calva
<
2020-12-29
>
roelof13:12:15

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

pez13:12:54

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.

roelof13:12:04

thanks, you saved my day

❤️ 3
roelof13:12:00

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

roelof13:12:05

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

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

ericdallo13:12:42

Is parse-string a macro?

roelof13:12:32

not that I know or the book is telling me

3
pez15:12:02

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.

bringe16:12:47

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

bringe16:12:21

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

verma14:12:53

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.

verma14:12:47

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

verma15:12:16

and this progress bar keeps animating on the top

verma15:12:49

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

verma15:12:09

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

pez15:12:11

Please file an issue about that @verma

verma16:12:58

will do, thanks!