ReSharper Reformat, array initialization, space after comma

ReSharper Reformatting Code

int[] array = new int[width, height]; 

to

 int[] array = new int[width,height]; 

But I want a space after the decimal point! Cannot find this parameter in options ...

+4
source share
1 answer

If you go to the parameters Resharper-> Languagues-> C # โ†’ Formatting Style-> Spaces, in the "Other" section there is an option "After the decimal point"

If you activate this, Resharper will add the space you are looking for. Beware that it also changes this in method calls and possibly elsewhere.

0
source

All Articles