dirac

Dirac v1.7.2 is out: https://github.com/binaryage/dirac/releases/tag/v1.7.2
p-himik 2017-11-28T03:28:37.000043Z

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.

p-himik 2017-11-28T05:19:03.000121Z

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?

danielcompton 2017-11-28T05:55:58.000159Z

@p-himik there are settings for how many items in a collection before elipsis, defaults to 5 IIRC

danielcompton 2017-11-28T05:56:33.000020Z

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

danielcompton 2017-11-28T05:56:46.000216Z

The setting for how large a collection should be before it gets a disclosure triangle defaults to 3

p-himik 2017-11-28T06:01:14.000047Z

@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.

p-himik 2017-11-28T06:41:19.000225Z

Ah, that appears to be the correct option, yes.

p-himik 2017-11-28T06:50:05.000143Z

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?