Configuring C and C++ Formatting Style

See Also 

You can use the Options window to configure default formatting style for your C and C++ projects.

To configure C and C++ formatting style:

  1. Choose Tools > Options.
  2. Click C/C++ in the top pane of the window.
  3. Click the Formatting Styles tab.
  4. Select the language for which you want to set formatting style from the language drop-down list.
  5. Select the style you want to set from the Style Name drop-down list.
  6. Modify the style properties as desired.

To add a style:

To remove a custom style:

To duplicate a style:

You can set the following properties:

Configuring C and C++ Build Tools
Configuring C and C++ Project Settings
Configuring C and C++ Parser Settings
Configuring C and C++ Semantic Highlighting
Configuring C and C++ File Extensions
Setting Project Properties
See also

Legal Notices