Setting the Workspace Code Style

You can set the default code style for a workspace using the Code Style preference panel. Once set, the specified code style is applied to all new files and projects created in the workspace. To update a source file already in the workspace, see Reformatting a Source File.

Figure 1 -Select a profile from the Select a profile list

You can also create your own profiles based on the one's included with Carbide. Simply click Edit and change the options presented in the Profile <profile_name> window that appears.

To set the workspace code style

  1. Open the Code Style preference panel
  2. Choose a profile from the Select a profile dropdown list
  3. Click OK
Related references