ReSharper 2022.3 Help

Spaces

ReSharper options: Code Editing | CSS | Formatting Style | Spaces

Use this page to configure how to insert or remove spaces in different code constructs. You can adjust the values and check the preview pane at the bottom of the page to see how your preferences affect the code.

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

If there are .editorconfig files that affect your solution, preferences on this page could be overridden by EditorConfig styles. You will see a yellow warning if at least one preference on the page is overridden by EditorConfig styles for the current file, each overridden preference will also be highlighted with yellow. For example:

Code formatting options overridden by EditorConfig styles

Last modified: 03 August 2022