trptcolin / reply

REPL-y: A fitter, happier, more productive REPL for Clojure.
Eclipse Public License 1.0
337 stars 44 forks source link

Pretty Printing with --print-value or --value-to-string #167

Open phreed opened 7 years ago

phreed commented 7 years ago

Can one of these options be used to pretty-print the repl output? In particular, can the behavior of whidbey, which uses puget, be obtained by associating puget with either --print-value or --value-to-string? If so, what would the argument to the option look like? The documentation for these two options is brief.

https://github.com/greglook/whidbey/blob/master/HISTORY.md

bbatsov commented 5 years ago

Now that nREPL support pprint natively I think it'd be a good idea to just use that instead. I'd make the pprint the default, as I guess most users would consider this better UX.