ReSharper 2017.2 Help

Spaces

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

This page is used to configure automatic insertion/deletion of spaces in certain positions of your source 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.

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

If there are .editorconfig, .clang-format, or _clang-format files that affect your solution, preferences on page could be overridden by EditorConfig styles or Clang-Format styles. You will see a yellow warning if at least one preference on a page is overridden by EditorConfig or Clang-Format 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: 20 October 2017

See Also