How do I change the basic Resharper indentation options? I have noticed that Resharper's indentation settings differ from VS 2010's--VS uses four spaces for an indent, and it's hard to tell what Resharper uses--but the left margins on my code are jagged.
I'd like to reset Resharper to use the same settings as VS 2010, but I can't find the options.
Where can these be found?
Find the name of formatting rule that you want to tweak. You can look it up on the Code Editing | [Language] | Formatting Style page of ReSharper options ( Alt+R, O ) or alternatively, you can select a code block where the desired rule applies, press Alt+Enter , and choose Format selection | Configure.
If you need to adjust indentation settings, in the Settings/Preferences dialog ( Ctrl+Alt+S ), go to Editor | Code Style. On the appropriate language page, on the Tabs and Indents tab, specify the appropriate indents options and click OK.
Okay--I figured this one out: Resharper uses the Visual Studio tab settings when reformatting, so the inconsistency I am getting must have another source.
Open ReSharper > Options > [Your language] > Formatting style > Other and try playing with options in sections called "Indentation" and "Other"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With