cider 2025-01-26

what would be the most idiomatic way to automatically run some Clojure code after jack-in? In my case I want to do something like:

(set! *print-length* 50)

There's cider-connected-hook , so you can add any elisp function there, for example running cider-interactive-eval with the form you mentioned. Not sure if it's the simplest way, though.

https://docs.cider.mx/cider/usage/pretty_printing.html#print-options There’s also ways to set the print options with elisp

Thanks a lot! Both approaches work.