Reputation: 245
I have a legacy system that uses the following settings for indentation for all languages in Visual Studio.
Tab Size: 8 Indent Size: 4 Keep Tabs
When I let Visual Studio format my code, I get the following:
When I let Resharper format the code. I get the following:
I've searched Google, Stack Overflow and have played with tons of options in both Visual Studioand Resharper. I still can't get Resharper formatting to match. Can anyone help? I'd really like to use Resharper formatting/cleanup, but need to figure this out first.
Thanks in advance!
Upvotes: 5
Views: 594
Reputation: 10118
ReSharper doesn't understand when indent size is different from the tab size, because this kind of formatting style has too few benefits, too many drawback and is rarely used. I suggest reformatting everything.
Upvotes: 2