Code Style preferences

Use the Code Style preference panel to configure your global code style profiles for smart typing features, like auto-indentation and formatting. Click Window > Preferences > C/C++ > Code Style to make changes.

Code Style Preferences

Code Style Preference Options
Option Description
Configure Project Specific Settings... Opens the Project Specific Configuration dialog box to select a project to apply code style settings.
Edit... Shows a dialog which displays the settings stored in the active profile. Only user-defined profiles can be modified.
Remove Removes the selected profile. This action is only available on user-defined profiles.
New... Shows the dialog to create a new profile. The dialog requires you to enter a name for the new profile. Additionally, you may select a built-in or user-defined existing profile to base your new profile on.
Import... Imports profiles from the file system.

Related concepts
Coding aids

Related tasks
Customizing the C/C++ editor

Related reference
C/C++ editor preferences

IBM Copyright Statement