Setting colors and fonts for language elements

Use the Syntax Coloring preference to associate colors and selected font styles with language elements. For example, comments can be defined to display in green. The setting on this preference overrides any setting on the Colors and Fonts preference.

Procedure

  1. Click Window > Preferences.
  2. Expand the categories to one of the following choices:
    • COBOL > Editor > Syntax Coloring
    • JCL > Editor > Syntax Coloring
    • PL/I > Editor > Syntax Coloring
  3. From the Elements field, select a language element.
  4. To select the color that you want for the element, click the color button and then click OK to save your selection. The results of your selection are displayed in the Preview field.
  5. Click Apply to save your changes.

Feedback