ReSharper
 
Get ReSharper
Get your hands on the new features ahead of the release by joining the Early Access Program for ReSharper 2025.1! Learn more

Formatting Style

Last modified: 11 February 2024
ReSharper options: Code Editing | XML | Formatting Style

This page helps you configure a number of settings that control how ReSharper generates new XML code and how it reformats existing code. You can adjust the values and check the preview pane at the bottom of the page to see how your preferences affect the code.

Your XML code formatting preferences are also used to reformat XML-like languages: ASP.NET, XAML, and MSBuild.

The options that you configure on this page apply in the following cases: