9805 New JavaScript formatting feedback

9805 introducing new formatting to JavaScript. One of the features is to
format arrays one element per line regardless how it was formatted before. I
could not find any option to control this behaviour. While it might be
useful for array variable initializatin it is very inconvenient in things
like method call parameters - instead of one line readable method call

Ext.callback(callback || this.callback, scope || this.scope, [attachments,
records, this]);

it suddenly expands to multiline

Ext.callback(callback || this.callback, scope || this.scope, [
attachments,
records,
this
]);

in json objects it sometimes make realy bizzare and hard to read layouts
especially in combination with nested objects

Would it be possible to make this behavior more configurable or at least
optional?





Please sign in to leave a comment.