Configuring Formatting Style for C/C++/Fortran Projects

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 Editor in the top pane of the window.
  3. Click the Formatting tab.
  4. Select the language for which you want to set formatting style from the Language list.
  5. Select the style you want to set from the Style 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:

See also
  Configuring Build Tools for C/C++/Fortran Projects
Configuring Project Options for C/C++/Fortran Projects
Configuring Code Assistance Settings for C and C++ Projects
Configuring Highlighting for C/C++/Fortran Projects
Configuring File Extensions for C/C++/Fortran Projects
Setting Project Properties

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.