ReSharper 8.0 Web Help

ReSharper | Options | Code Editing | C# | Formatting Style | Spaces

This page is used to configure automatic insertion of spaces in certain positions of source code. You can adjust the settings in five sections with check boxes and see how they work in the preview pane.

Options in this page apply when ReSharper formats new or existing code (e.g., when you run code cleanup).


To configure auto-formatting of new code, use the Auto-format on semicolon and Auto-format on closing brace options in the ReSharper | Options | Environment | Editor | Editor Behavior.


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.