How do I align ReSharpers "cleanup code" with Visual Studio's "format document"
- by Thomas Jespersen
I'm a big fan of ReSharpers "cleanup code" feature. Especially the Solution wide clean up.
But I use Visual Studio's Ctrl+K+D (Format document), it formats the code slightly differed than ReSharper.
I'm on a quest to align ReSharper with Visual Studio (not the other way... because you can not share Visual Studio settings in the solution/source control system).
So I'm after something like this:
<Configuration>
<CodeStyleSettings>
<Sharing>SOLUTION</Sharing>
<CSharp>
<FormatSettings>
<SPACE_AROUND_MULTIPLICATIVE_OP>True</SPACE_AROUND_MULTIPLICATIVE_OP>
<SPACE_BEFORE_TYPEOF_PARENTHESES>False</SPACE_BEFORE_TYPEOF_PARENTHESES>
</FormatSettings>
</CSharp>
</CodeStyleSettings>
</Configuration>
Which other settings will help ReSharper format code like Visual Studio?