Thanks to visit codestin.com
Credit goes to github.com

Skip to content

inconsistent indenting in objects, particularly of functions #6

Description

@GoogleCodeExporter
attempt to indent the following object (or dictionary / associative array / 
hashtable, whatever you like to call them):

{
    func1 : function () {
                //indents beneath function keyword
            },
          key2 : 'now in the wrong place',
    a_list : [
        'much better',
    'what??',
    'weird'
        ],
    another_function : function () {
        var inconsistently_ended_up_here;
    },
    another_function: function () {
                          //this time here
}

What is the expected output? What do you see instead?

desired output would be: indentation steps in one after braces or list openers,
indentation returns to normal level for each new key


Original issue reported on code.google.com by [email protected] on 25 Jan 2011 at 11:58

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions