Fork me on GitHub
#calva
<
2020-05-27
>
punit-naik07:05:58

Guys, this message pops up when calva starts even when I have clj-kondo installed:

clj-kondo was not found on the classpath. Debugger decorations will not be enabled. More details: 
Any ideas?

pez08:05:59

@punit-naik: I thought we had stopped popping up that message… Might be remembering incorrectly. Which version of Calva are you on?

punit-naik09:05:58

@pez I am using 2.0.101

pez09:05:04

And the message pops up? As in an alert box?

punit-naik09:05:34

The message pops up in the output tab.

pez10:05:54

Ah, OK. You can disregard that message. We will remove it eventually.

punit-naik11:05:44

Okay thanks.

brandon.ringe16:05:25

Yeah, it's just to make you aware that debugger decorations will not work since you do not have clj-kondo on the classpath, as in a dependency loaded into the repl you're connected to.

brandon.ringe16:05:01

I felt it's best to make users aware at least, rather than them think some feature doesn't work and not know why.

punit-naik18:05:02

@ Got it, thanks! 👍

punit-naik18:05:03

I have the following map entry inside my project.clj:

:checkout-deps-shares ^:replace [:source-paths :resource-paths :compile-path
                                   #=(eval leiningen.core.classpath/checkout-deps-paths)]
Now when I try to create a repl, it says Could not parse project.clj. And if I remove the #= reader macro, it works normally. Is there any way I can make this work with the dynamic eval #=?

punit-naik19:05:21

Thanks @pez, understood! 👍