The indentation of anonymous objects are missing when formatting it in idea plugin:

8 views
Skip to first unread message

Freewind

unread,
Jan 13, 2013, 11:22:47 PM1/13/13
to haxe...@googlegroups.com
I'm using idea 12 with haxe plugin. When I formatting the following anonymous object, the indentations are missing:

        var x = {
            a:"aa",
            b:"bb",
            d: {
                x: "xx",
                y: "yyy",
                z: function() {
                    return "zzz";
                }
            }
        }

It looks like:

        var x = {
        a:"aa",
        b:"bb",
        d: {
        x: "xx",
        y: "yyy",
        z: function() {
            return "zzz";
        }
        }
        }
        trace(x.d.z());

Which is hard to read. Is there any configuration for this or do I miss something?

Freewind

unread,
Jan 13, 2013, 11:39:14 PM1/13/13
to haxe...@googlegroups.com
I reported an issue for it:  http://youtrack.jetbrains.com/issue/IDEA-98975 
Reply all
Reply to author
Forward
0 new messages