Menu

#11 Compact small objects

open
nobody
None
1
2014-09-22
2014-09-22
No

This would first need to have a configuration dialog added.
But it would be nice if there was a way to specify that any objects under a certain size be formatted into a single line. Under 40 characters for example.

Currently we get this:
{
→"obj1": {
→→"a": "a",
→→"b": "b"
→},
→"obj2": {
→→"a": "a",
→→"b": "b",
→→"c": "c"
→},
→"obj3": {
→→"a": "a",
→→"b": "b",
→→"c": "c",
→→"d": {
→→→"x": "x",
→→→"y": "y"
→→}
→}
}

But this would be nice (obj3 is larger than 40 characters, but its child is not):
{
→"obj1": {"a": "a", "b": "b"},
→"obj2": {"a": "a", "b": "b", "c": "c"},
→"obj3": {
→→"a": "a",
→→"b": "b",
→→"c": "c",
→→"d": {"x": "x", "y": "y"}
→}
}

Discussion

Anonymous
Anonymous

Add attachments
Cancel