This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-10-07
Channels
- # babashka (30)
- # beginners (49)
- # calva (22)
- # cider (9)
- # clara (2)
- # clj-commons (1)
- # cljdoc (1)
- # clojars (7)
- # clojure (153)
- # clojure-australia (2)
- # clojure-europe (45)
- # clojure-italy (3)
- # clojure-losangeles (1)
- # clojure-nl (17)
- # clojure-portugal (3)
- # clojure-uk (6)
- # clojurescript (21)
- # conjure (4)
- # copenhagen-clojurians (5)
- # cryogen (3)
- # cursive (19)
- # datahike (14)
- # datascript (4)
- # datomic (9)
- # events (5)
- # fulcro (23)
- # graalvm (1)
- # gratitude (4)
- # helix (2)
- # holy-lambda (5)
- # improve-getting-started (2)
- # jobs (10)
- # kaocha (1)
- # leiningen (1)
- # liquid (8)
- # membrane (81)
- # off-topic (88)
- # polylith (29)
- # quil (1)
- # reitit (2)
- # remote-jobs (8)
- # reveal (8)
- # sci (1)
- # shadow-cljs (14)
- # specter (4)
- # sql (5)
- # tools-build (11)
- # tools-deps (5)
Bit related to my earlier questions about completions, I couldn't find anything except a very brief mention from Slack years ago… has there been any discussion or thoughts about getting https://github.com/alexander-yakushev/compliment working with calva?
Well, afaiu compliment is what is being used by cider-nrepl
when we look for completions. Maybe I have that wrong. Can you elaborate on what it is you lack that you think compliment would provide?
I think cider-nrepl has it's inbuilt thing, which is being separated into the incomplete library
As to what it provides, not sure! But it sure does get mentioned as the… ah… most complete completion system for clojure
Well, at least compliment is listed as leveraged by cider-nrepl here. https://github.com/clojure-emacs/cider-nrepl/blob/master/README.md#hall-of-fame
Hm hm. I'm not quite yet at the point where I would really dig in to the source an see what' exactly is happening with calva and completion, all the way through the stack. But getting closer.
It’s pretty straightforward. Calva sends the complete
op to the nREPL server which is assumed to use cider-nrepl to perform it. It’s handled here: https://github.com/clojure-emacs/cider-nrepl/blob/master/src/cider/nrepl/middleware/complete.clj Where you can see that it is really compliment that takes care of it.
I am still curious about what it is you are missing from Calva’s completions? Because whatever it is, it can’t be compliment. 😃
The biggest problem is how it just refuses to complete without writing more than I'd like. And often it doesn't seem to complete from required namespaces, until it at some point starts doing it. It somehow feels like it's just not completing to what I want, but I can't put my finger on it exactly (not that I have tried to examine it very rigorously) and I guess I was hoping for an easy solution by potentially switching the completion engine.
One of the best things I like about it is how it does complete to things that do not exist in my code, or any required namespaces, but only in the repl. For example when exploring databases, it makes it much, much handier to drill into the results
Oh, ok. I had the impression that the problem is somewhere below (or is it above :?) calva
I'm attempting to jack in from a deps.edn project. Up until yesterday, everything was fine. This morning, when I try to jack in, I'm getting the following: Error building classpath. zip END header not found java.util.zip.ZipException: zip END header not found at java.base/java.util.zip.ZipFile$Source.zerror(ZipFile.java:1607) at java.base/java.util.zip.ZipFile$Source.findEND(ZipFile.java:1497) ... Jack-in process exited. Status: 1 Since this started today, and I've changed nothing about the deps.edn file, I have no idea about why this is happening. Any suggestions?
Super strange, @fadrian! It doesn’t seem to be something coming from Calva, but with things like that, who knows...
Dear Calva friends, it’s that time of year again, can we have some attention, comments, thumbs up on this VS Code issue, please? https://github.com/microsoft/vscode/issues/3220#issuecomment-430124153 It would enable us to create super awesome evaluation experiences. Thanks in advance 🙏