This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
- # adventofcode (174)
- # announcements (5)
- # aws (9)
- # babashka (17)
- # beginners (259)
- # boot-dev (1)
- # calva (6)
- # cider (19)
- # circleci (7)
- # clj-kondo (9)
- # cljfx (51)
- # cljs-dev (4)
- # clojure (83)
- # clojure-australia (2)
- # clojure-dev (9)
- # clojure-europe (78)
- # clojure-nl (3)
- # clojure-spec (4)
- # clojure-switzerland (1)
- # clojure-uk (18)
- # clojurescript (22)
- # conjure (17)
- # cursive (17)
- # data-science (1)
- # datomic (15)
- # defnpodcast (1)
- # events (2)
- # fulcro (39)
- # graalvm (16)
- # graphql (1)
- # kaocha (5)
- # lambdaisland (11)
- # malli (6)
- # meander (1)
- # off-topic (26)
- # pathom (10)
- # re-frame (10)
- # reitit (6)
- # rewrite-clj (7)
- # sci (3)
- # shadow-cljs (28)
- # sql (12)
- # test-check (10)
- # tools-deps (31)
Hi @jr0cket Today, you closed one Cider Github issue: > I am no longer using cider-jack-in with Clojure CLI tools so will close this issue I'm curious, can I ask you what's your new approch now?
I can't answer this question, but my own anecdotal experience says a lot of people are starting an nrepl on their own and then using cider-connect
What's the reason for? Do you think for more controls?
For the moment and in my experience, I'm happy with
> Do you think for more controls? Yes, over the middleware and start-up/setup so when they connect again everything is how they left it > I'm happy with `cider-jack-in` Same
I guess the main problem for most people using the Clojure CLI is that they also using some aliases in their projects that CIDER obviously doesn't know about and they have to tweak the jack-in command manually. And if they happen to have another alias with a
main in it, nothing good comes out of this. 🙂
cider-jack-in certainly produces better results out of the box for Lein and Boot, but that's not surprising as it was created with them and in mind, and the Clojure CLI support was just adapted to what we have. I'm still using Lein all the time, so I'm far from being an expert on the all the way people are using the Clojure CLI.
For me and since I begin with Clojure only for two years, I use both but 80% of time Clojure CLI, I I'm not part of the era where only Leiningen /Bootreigned 🙂 Perfect, thx @U051BLM8F for this clarifications, I better understand now. BTW thx for Cider, Projectile, and so on and on... 🙏
Any chance there’s a way to display the output of each form in a thread? For example something that produced comments like these:
(->> [2 1 3] (reverse) ;; => (3 1 2) (sort)) ;; => (1 2 3)
@kevin586 Not exactly the solution you ask for, but did you tried
Yeah! The debugger is what I’m using currently, there’s just times where I forget what the output of the previous form (i.e. the output to the current form) was and would like to see it again
Looks like the https://docs.cider.mx/cider/debugging/enlighten.html feature is along the lines of what I’d be interested in but it applies to functions called as opposed to forms in the thread
By the way, very nice feature Enlighten! I had seen in video presentation but forgot it, thanks for the reminder. :) For your request, I don't know if it's possible. Anyone else with the answer?
It's possible in theory, but it's not currently possible (in the sense that such a feature doesn't exist).
You can use eval-up-to-point to get the result of some specific part of the threading macro, though.
eval-up-to-point before, it's nice! Thanks for the advice. 👍
@kevin586 With the argument, you can print the result in the current buffer, so then it can be a solution to manually comment the result in order to keep it and not to forget the output as you
Awesome, wasn’t familiar with the
up-to-point functions, will check them out, thanks!
Notice that you can omit parentheses when functions in a thread macro have no arguments.