How to achieve formatting like Visual Studio 2015 collection initializers:

I would like to format code during code cleanup in following way:

var z = new B()
{
}

var collectionVariable = new List<int>
{
}

var arrayVariable = new int[]
{
}


All options I found this time allows format code only after "=" mark.  I cannot find option to have brackets on the beggining.

1 comment
Comment actions Permalink

Please try untick ReSharper | Options | Code Editing | C# | Formatting Style | Other | Align Multiline Constructs | Array, object and collection initializer.

0

Please sign in to leave a comment.