cider

A channel dedicated to the Clojure Interactive Development Environment that Rocks (aka CIDER). :cider:
bozhidar 2020-12-11T09:33:27.301100Z

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. 🙂

bozhidar 2020-12-11T09:35:18.301300Z

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.

2020-12-11T10:14:40.301500Z

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 @bozhidar for this clarifications, I better understand now. BTW thx for Cider, Projectile, and so on and on... 🙏

bozhidar 2020-12-11T22:00:35.302Z

It's possible in theory, but it's not currently possible (in the sense that such a feature doesn't exist).

bozhidar 2020-12-11T22:01:11.302200Z

You can use eval-up-to-point to get the result of some specific part of the threading macro, though.

2020-12-11T22:17:22.302500Z

Never used 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 mention above.

Kevin F 2020-12-11T22:25:18.302800Z

Awesome, wasn’t familiar with the up-to-point functions, will check them out, thanks!

2020-12-11T22:30:55.303Z

it does the trick. 👍

2020-12-11T22:34:40.303400Z

Notice that you can omit parentheses when functions in a thread macro have no arguments.