ReSharper | Options | Code Editing | Razor | Editor
This page allows you to adjust ReSharper's Razor features in the editor. These are language-specific settings that complement the main set of editor features.
|Auto-format on enter||
If this check box is selected, ReSharper automatically formats recently added code after you press
You can specify formatting settings in the following pages of ReSharper options:
|Auto-format on closing tag||If this check box is selected, ReSharper automatically formats recently added code after you type the closing tag of an element.|
|Synchronous changing of matching tag||If this check box is selected, ReSharper simultaneously changes the closing tag when you are editing the opening tag of an element and vice versa.|
|Override brace style for C# to always use "At end of line (K & R Style)"||If this check box is selected, ReSharper will always use Kernighan & Ritchie style brace layout in markup pages regardless of whatever style you’re using in code-behind.|
ReSharper's settings are saved in settings layers that enable you to have different settings for different solutions as well as to share your settings with your team. To learn more, study the Managing and Sharing Options section.