This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-10-17
Channels
- # 100-days-of-code (5)
- # announcements (13)
- # beginners (98)
- # boot (19)
- # cider (10)
- # cljdoc (32)
- # clojure (142)
- # clojure-dev (37)
- # clojure-italy (3)
- # clojure-nl (2)
- # clojure-spec (30)
- # clojure-uk (18)
- # clojurescript (28)
- # cursive (8)
- # datomic (25)
- # duct (18)
- # editors (5)
- # emacs (39)
- # events (4)
- # figwheel (7)
- # figwheel-main (5)
- # fulcro (38)
- # graphql (19)
- # jobs-discuss (1)
- # jobs-rus (7)
- # keechma (1)
- # lumo (47)
- # off-topic (28)
- # om-next (3)
- # parinfer (3)
- # re-frame (18)
- # reagent (37)
- # reitit (8)
- # shadow-cljs (101)
- # specter (7)
- # tools-deps (8)
- # vim (1)
I am looking at adding something like Cider Jack-in to Calva. (Too many Calva users stumble on the dependency problem.) A question to Emacs/Cider users. Is there something you need to do to configure jack-in per project, or does Cider figure out things for you? Are there different jack-ins for figwheel and shadow-cljs users and how about clj/leiningen/boot?
No configuration needed for Emacs. I think there's a prompt when you jack in with cljs to ask whether you're using figwheel, shadow, etc.
Vim jack in is more explicit, it doesn't try and figures out the project type by looking for certain files. It just gives you a few commands to do different things.
Thanks, @dominicm. I think I have tricked myself into this ”figuring out” thing and it works quite well for some limited number of options, but gets brittle quickly. Prompting is a quite common Ux pattern in VS Code, so I might go that way. Great, now it doesn't look so hard to implement.
curious what from your POV is brittleness, I've found the cider-jack-in injecting dependencies avoids the brittleness because your version of your edit plugin works well with which nrepl/middleware. calva would benefit here as well (i.e. never having to tell users to bump the version of cider-nrepl in their profiles.clj/project.clj) -- because the versions are in sync