Javascript code formatting

This is using the ReSharper 6 Beta version that was just release.

When typing the following javascript code:

PM.ANewCombo = Ext.extend(Ext.form.ComboBox, {
     initComponent: function() {

     }
});

Resharper formats it as this:

PM.ANewCombo = Ext.extend(Ext.form.ComboBox, {
          initComponent: function() {

          }
     });


I'm not sure why these extra levels of indentation are being added. I've gone through all of the code formatting options for javascript and nothing seems to fix this.

Please sign in to leave a comment.