visual studio - Javascript object array initializer formatting -


my ide visual studio 2015 resharper 9.2, want javascript object array initializer automatically formated this

var  x = [{    a: 1,    b: 2  },{    a: 3,    b: 4  }]; 

i want round , square brackets together, ideas how can this?

it formatted this:

var  x = [     {        a: 1,        b: 2      },{        a: 3,        b: 4      } ]; 

you can change formatting rules of vs explained here. problem should solved selecting either block or smart.


Comments

Popular posts from this blog

Java 3D LWJGL collision -

spring - SubProtocolWebSocketHandler - No handlers -

methods - python can't use function in submodule -