Creating a clean up profile

  1. On the Window menu, select Preferences.

    The Preferences dialog box is displayed.

  2. Select Micro Focus > COBOL > Code Style > Clean Up.

    The Clean Up pane is displayed.

  3. Click New.

    The Preferences Profile Creation dialog box is displayed.

  4. In the Profile name field, type a name for the profile; this name must be unique to the profile names currently in the workspace.
  5. In the Initialize with profile field, select an existing profile on which to base the initial values.
  6. If you intend to configure the profile preferences now, select Open the edit dialog now; otherwise, the profile will be created with the same values as the profile you selected in the previous field.
  7. Click OK.

    If Open the edit dialog now was selected, the Edit COBOL Clean Up Formatting Preferences dialog box is displayed.

  8. Edit the values, as explained in Clean up preferences, and then click OK.

    The profile settings are saved.

  9. To use the profile the next time you invoke clean up formatting from the COBOL editor, ensure it is selected as the Active profile, and then click Apply and Close.

Any profiles that you create can be exported to other workspaces, or to other users on other machines.

To use the active profile when in the COBOL editor, see To format COBOL source code.