This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
- # 100-days-of-code (2)
- # bangalore-clj (1)
- # beginners (141)
- # cider (33)
- # cljs-dev (13)
- # cljsjs (7)
- # cljsrn (1)
- # clojure (88)
- # clojure-conj (3)
- # clojure-dev (24)
- # clojure-italy (11)
- # clojure-nl (4)
- # clojure-russia (1)
- # clojure-sanfrancisco (1)
- # clojure-spec (4)
- # clojure-uk (53)
- # clojurescript (65)
- # core-logic (2)
- # cursive (28)
- # datomic (33)
- # duct (2)
- # emacs (3)
- # figwheel-main (9)
- # fulcro (44)
- # hoplon (6)
- # leiningen (144)
- # mount (1)
- # nrepl (21)
- # off-topic (102)
- # onyx (2)
- # other-languages (5)
- # pathom (6)
- # planck (3)
- # portkey (1)
- # re-frame (7)
- # reagent (5)
- # reitit (17)
- # shadow-cljs (24)
- # spacemacs (16)
- # tools-deps (64)
- # uncomplicate (2)
- # vim (22)
Experience report for using cider-nrepl with Boot, it's not enough to depend on the new nrepl , one needs to track down transitive dependencies on org.clojure/tools.nrepl and exclude them explicitly in build.boot. I've just spent time doing exactly that before things started working again. I hope this helps.
In theory, it should be okay. But because of cider-nrepl's lazy loading of namespaces, if an old tools.nrepl is loaded, then the system goes boom 🙂
That’s why it’s best to just upgrade to the latest version of Boot, as it should not have any transitive deps to
Anyways, once the new Lein release is cut we’ll probably drop the conditional loading of namespaces, and just suggest to everyone to update the build tool.
What I'm saying is that even if you're running the latest Boot, which doesn't have dependencies on tools.repl, other dependencies in your app might have, and you need to track them down. In my case, it was ankha and dirac.
Btw, I wrote an post some of you might find interesting https://metaredux.com/posts/2018/10/29/nrepl-redux.html
I don't see a dependency on tools.nrepl https://github.com/noprompt/ankha/blob/64423e04bf05459f96404ff087740bce1c9f9d37/project.clj Unless lein includes :dev deps? 😱
Right, I don't see it on master neither, but if you require
[ankha "0.1.5.1-64423e"] in a Boot project and you then ask for the dependency graph, you'll see that it pulls in
Funny, there's a three year old ticket by somebody compaining about a dependency not listed in
Does anyone know if there's a clj-refactor/clojure-mode/cider function to read the current namespace forms and add any missing require forms?
I'm thinking of a situation where I've copy-pasted some chunk of code from one namespace to another, and now I have to add all of the missing require forms.
Currently I've moved a large set of tests from one ns to another, and I'm hoping I don't have to hunt down the various ns-aliases.
add-missing-require or something, will check when in front of a computer
clean-ns is great for removing un-used require forms, but I'm hoping for something like
add-missing-require (does that exist?) that could read the current buffer and add in any missing require forms given the ns-aliases used in the buffer.
i'm having navigation issues in cljs when trying to jump to definition of something def'd of defn'd in the same ns. not sure if anyone else is seeing this
(It didn't read the whole buffer and automatically add missing libspecs, but it does it for the symbol under point, which is good enough 🙂 )
yeah the former would be definitely useful...I was looking for some linting machinery without using a linter as well 😄
Someday I'll have the time to help improve Cider @benedek, but in the mean time I'll just say thanks for making such a great tool 😄