Configuring a preprocessor extension

Use the Editor Configurations page of the property group editor to configure a preprocessor extension to run when you edit a file.

Before you begin

You must create and install a preprocessor extension. For more information about extending the editors, see Extending the editors.

Procedure

You can open the property group editor from the Property Group Manager or from an edit session. When you open the property group from an edit session, the property group editor opens to the appropriate page for the type of preprocessor being used.

  1. From the Property Group Manager:
    1. Double-click the name of the property group that is associated with the file you want to edit.
    2. Select the tab for the appropriate programming language for the file. Select COBOL or PL/I.
    3. In the category list, click Editor Configurations. The Editor Configurations page opens.
  2. From an edit session, right-click and click Source > Preprocessor Statements > Configure Preprocessor. The Editor Configurations page opens. If no property group is associated with the file, the Associate Property Group window opens for you to select an available property group.
  3. In the Preprocessor Integration area of the page, select Use preprocessor extension. The Preprocessor extension configuration area opens.
  4. From the Preprocessor extension list, select an installed preprocessor behavior extension.

Feedback