this zip doesn't contain .vsix file do I do something wrong ?
Clicking that link above should download a .vsix file for you. It did for me. Does it not for you?
I got a zip: calva-2.0.174-1040-getting-started-repl-c61e5e6e.zip
I've manually convereted .zip to .vsix I got an error
Converted?
I mean just changed extension (converted was wrong word)
You should get away with just changing the file extension.
What was the error you got?
Strange. I'm afk and can't test this myself. Let's see if someone else can. Never had that happen before...
1✔️@m373h4n I just downloaded that on Windows, got the zip, changed .zip
to .vsix
, and then in VS Code > Extensions > ...
> Install from VSIX... and selected the newly renamed .vsix
file and it installed fine for me.
clojure -Sdeps '{:deps {nrepl/nrepl {:mvn/version,"0.8.3"},cider/cider-nrepl {:mvn/version,"0.25.8"}}}' -A:add-libs:reveal-nrepl-middleware:dev -m nrepl.cmdline --middleware "[cider.nrepl/cider-middleware]"
WARNING: When invoking clojure.main, use -M
nREPL server started on port 49526 on host localhost - <nrepl://localhost:49526>
This is the output I’m getting. No errors, but I do see a WARNING
about invoking clojure.mainMaybe the file got corrupted in your download @m373h4n. I just tried it (on Mac, but anyway) and vscode happily just uses it.
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?
@ingesol Try from the command line first maybe
Good points. Upon second thought, it’s not clear how to speed it up. I think my (perceived) issue was that adding #_
is much slower than doing cmd-slash. But that’s not a fair comparison, because cmd-slash does not comment out structurally …
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
I think I should simply get into the habit of using alt+left/right
and then type #_
.
@borkdude Thanks! Those things make sense, trying ASAP
just never tried from the command line, so just picked the easy way first 🙂
I got contact by running from the command line, thanks!
I see. What about in the output.calva-repl window?
@borkdude I wonder if the above is an issue with clojure-lsp?
could be.
again I got Element 'Identity' has invalid value for attribute 'Version' ---> System.FormatException: Input string was not in a correct format.
but np I'll wait normal release 🙂