Wanted to also ask this conjure question here as I don't think the actual #conjure channel is too active
Coming back to this actually just using clojure.pprint/pprint manually on the data is showing correctly now in the conjure repl buffer. Maybe it's because I took the Thanksgiving break to update my whole dev workflow or something because that wasn't working before. shrug
I'll still look for a way to make that the default so I don't have to manually call it on the data I want pprinted. Because if I don't use it manually I still get the big long single line output of large data
The weird thing about it is I use the cider nrepl middleware (for both nvim and emacs) and if I understand the docs correctly it defaults to using clojure.pprint/pprint already...
For larger values I find it useful to send them to Portal, and drill into and explore graphically. I use it like:
{
no_key,
desc = "Clojure: Open Portal",
function()
require("conjure.eval").command([[
(do
(ns dev)
(def portal ((requiring-resolve 'portal.api/open)))
(add-tap (requiring-resolve 'portal.api/submit)))
]])
end,
},
{ "<localleader>et", "<cmd>:ConjureEval (tap> *1)<cr>", desc = "Eval: Tap last value" },I appreciate this answer as after some discussions at the Conj I was thinking I need to explore Portal more. This is another good signal to do so
This workflow works for test results?