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