Fork me on GitHub
#calva
<
2021-02-22
>
ingesol10:02:53

I’m trying to write a clj-kondo hook to use inside calva. Put it in .clj-kondo/hooks/my_ns.clj. Pointed at that file from .clj-kondo/config.edn, which I have pointed to from calva. Starting out by trying to get stuff printed to output, or even crashing by throwing an exception from the hook. No luck so far, no crash and nothing in the log from my prn statements. Looking at output, choosing “Log (extension host)“. Any ideas?

borkdude11:02:15

@ingesol Try from the command line first maybe

borkdude11:02:47

Also, disable linting in Calva (now possible in latest release) and try with the clj-kondo vscode plugin to determine if this is a Calva or LSP issue

ingesol11:02:17

@borkdude Thanks! Those things make sense, trying ASAP

ingesol11:02:40

just never tried from the command line, so just picked the easy way first 🙂

ingesol11:02:39

I got contact by running from the command line, thanks!

bringe17:02:56

@borkdude I wonder if the above is an issue with clojure-lsp?

borkdude17:02:29

needs a repro, @ingesol - welcome to post an issue I guess

☝️ 3