Changing ESQL editor settings

When you open an ESQL file in the editor view, you can tailor the editor appearance by changing editor settings.

Procedure

  1. To change ESQL editor settings:
    1. Click Window > Preferences.
      The Preferences dialog box opens.
    2. Expand the item for ESQL on the left and click ESQL Editor.
    3. Update the settings available for tab width and colors:
      • Click the General tab to change the displayed tab width within the ESQL editor.
      • Click the Colors tab to change the color of the editor view background, and of the entities displayed in the editor view. These include comments and keywords in your ESQL code.
    4. When you have completed your changes, click either Apply (to apply your changes and leave the Preferences dialog box open), or OK (to apply your changes and close the dialog box). Alternatively, to close the dialog box and discard your changes, click Cancel.
    5. To return the ESQL editor settings to the initial values, click Restore Defaults.
      All values are reset to the original settings.

      If you change the editor settings when you have an editor session active, the changes are implemented immediately. If you do not have an editor session open, you see the changes when you next edit an ESQL file.

  2. To change font settings for the ESQL editor:
    1. Click Window > Preferences. The Preferences dialog box opens.
    2. Expand the item for Workbench on the left of the Preferences dialog box, and click Colors and Fonts.
    3. On the Colors and Fonts tab, expand Basic.
    4. Select a font or text color option and click Change. The Font dialog box opens.
    5. When you have completed your changes, click either Apply (to apply your changes and leave the Preferences dialog box open) or OK (to apply your changes and close the dialog box). Alternatively, to close the dialog box and discard your changes, click Cancel.
    6. To return the ESQL editor settings to the initial values, click Restore Defaults.