Is it possible to automatically pretty print the output of an conjure evaluation ?
All output is already run through clojure.pprint as it's displayed. This won't kick in until the input is past a certain size though I think.
At the moment I am doing this but it's not optimal
(clojure.pprint/pprint data (io/writer "data.edn"))
Also when using babashka ? Maybe that's my problem
Ah no, babashka doesn't support the arguments I provide at the moment
I think
The nREPL implementation doesn't listen to the formatting key I send
This will require some other solution but I'm not sure what right now. Might be worth opening an issue on the repo so it gets some visibility and discussion :thinking_face: not sure if bb has any support for formatting output in it's nREPL support? If not it'll be a bit tricky to get it right for all cases, ideally bb would provide a key I can send in eval messages that would format the output.
So maybe this'll require a babashka pr then a Conjure change
Maybe it's also totally something that I am doing wrong. Maybe not having the right middlewares for nrepl active.
Another question I have. And probably also has been answered a lot of times. How can I make the size of the evaluation popup bigger ?
That'll be the hud#width and hud#height options :helpgrep conjure#log#hud#width
great! thanks!
So far I have been very happy developing Clojure/Babashka using Vim + Conjure, thanks @olical ! And I really love :ConjureSchool
Hm, bb recently got real pprint (was using fipp or something else before), so it's likely this is possible.