Skip to main content

Spacing

The Spacing options page specifies space insertion rules for the Code Formatting tool.

Note

The options page is language-dependent. It means that the options set depends on the currently selected language.

opSpacing

Each tree view item specifies whether CodeRush Classic adds a space at each occurrence of a certain construct or not. To clearly see how the current option affects your code, look at the code example at the bottom of the options page.

Note that if the Keep existing whitespaces option on the General options page is on, CodeRush Classic leaves white spaces in existing code regardless of the specified Spacing rules. In any case, the rules affect newly generated code anyway.

Note

This product is designed for outdated versions of Visual Studio. Although Visual Studio 2015 is supported, consider using the CodeRush extension with Visual Studio 2015 or higher.