Yup, I tried every usual keystroke on Ubuntu - didn't work. Good to know that it's possible with history. Maybe I'll give it a try when time permits.
I guess it's more cljs-devtools
related, but there's no channel devoted to it.
When printing large nested CLJS data structures, the formatter tends to layout them horizontally. I think it depends on the number of elements in a collection.
E.g. I have a list of two items - there's no triangle icon to expand it next to it. But those two items are rather wide when printed out, so if I expand both of them, I'll have to constantly scroll the whole screen horizontally to be able to check them both.
Is it possible to somehow change it? Maybe there's some setting on how large a collection should be for the triangle icon to appear?
@p-himik there are settings for how many items in a collection before elipsis, defaults to 5 IIRC
It would be really useful to be able to configure Dirac to print into a width budget so you don't hit the kind of things you mention
The setting for how large a collection should be before it gets a disclosure triangle defaults to 3
@danielcompton Could you please point me towards where these settings are?
In https://github.com/binaryage/cljs-devtools/blob/master/src/lib/devtools/defaults.cljs the only setting that sounds relevant to the disclosure triangle is :min-expandable-sequable-count-for-well-known-types
, but it's set to 4.
Ah, that appears to be the correct option, yes.
Another thing - when I click on a disclosure triangle, it always makes the console window scroll back to the left. Is there any way to prevent it?