Fork me on GitHub
#calva
<
2020-08-11
>
levitanong04:08:00

calva + WSL2 also works well for me, except it has some trouble running kondo. I keep getting Couldn't start client clj-kondo 😞 can anyone help?

pez04:08:43

That message seems to be coming from the clj-kondo extension. (At least it does not come from Calva, afaict.)

borkdude06:08:55

@levitanong what do you see in the clj-kondo output window?

agold11:08:37

I get this message in the output Window: "clj-kondo was not found on the classpath. Debugger decorations will not be enabled. More details: https://calva.io/debugger/#dependencies" But clj-kondo seems to be working just fine, so I ignored it.

bringe16:08:59

I've also wondered if clojure-lsp can provide me with what I need, but integrating that is still on the todo list

pez17:08:30

The user can't disable uninstall clj-kondo w/o first disabling Calva.

pez17:08:10

This is a mistake in the current Calva conf, but you could depend on it and then we don't need to fix the mistake. 😃

pez17:08:00

I don't know when that dependency was added, actually. It is quite odd.

borkdude17:08:12

@U9A1RLFNV No, that wasn't what I was suggesting. My suggestion was to copy what clj-kondo is doing running as an LSP server, but it its output for Calva

borkdude17:08:26

So not depending, but forking the plugin code

borkdude17:08:46

This will mean an extra JVM as well

borkdude17:08:55

so, I'll leave those trade offs up to you

bringe17:08:36

Ah I see. Thanks for the info. We can ponder this, but for a single call, I think what we have works fine for now. Just need to remove the confusing message.

pez18:08:50

The message is actually what you need if you don't use jack-in, right?

bringe19:08:40

The message displays if, on repl connect, clj-kondo is not found on the classpath (really the code requires it, and if error, displays that message). So not just about jack-in, if the user connected to some repl started without jack-in that has clj-kondo as a dep, then decorations would work and that message would not show