Menu

#10 Intent Array Values

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

It would be really great if the formatter indented array elements in a way which made it possible to view them. As is, they are formatted with the same indentation as the parent making it very difficult to see what is and isn't in an array.

For example:
{
→"root": {"a": "a", "b": "b"},
→"array": [
→→{"a": "a", "b": "b", "c": "c"},
→→{"a": "a", "b": "b", "c": "c"},
→→{"a": "a", "b": "b", "c": "c"}
→]
}

Currently formats as:
{
→"root": {
→→"a": "a",
→→"b": "b"
→},
→"array": [{
→→"a": "a",
→→"b": "b",
→→"c": "c"
→},
→{
→→"a": "a",
→→"b": "b",
→→"c": "c"
→},
→{
→→"a": "a",
→→"b": "b",
→→"c": "c"
→}]
}

It would be great if it could be output as follows:
{
→"root": {
→→"a": "a",
→→"b": "b"
→},
→"array": [
→→{
→→→"a": "a",
→→→"b": "b",
→→→"c": "c"
→→},
→→{
→→→"a": "a",
→→→"b": "b",
→→→"c": "c"
→→},
→→{
→→→"a": "a",
→→→"b": "b",
→→→"c": "c"
→→}
→]
}

Discussion

Anonymous
Anonymous

Add attachments
Cancel