Real-time syntax checking of REXX files

Real-time syntax checking automatically validates the syntax of REXX code.

The editor performs real-time syntax checking and provides annotations that describe the errors. If an error is found, a warning icon (Exclamation mark in yellow triangle) is displayed. To see the annotation that describes the error, hover your mouse over the icon.

You can customize the appearance of the annotation. The default appearance is a yellow squiggly line under the detected error. To customize, click Editor > Text editors > Annotation in the Preferences window. Then, select Exclamation mark in yellow triangle Warnings in the annotation types list. Change the appearance by selecting values under Show in. For example, to highlight the error, check the Text as box and select Highlighted from the menu. Use the Color field to define the highlight color.

The editor checks for the following error types in REXX source files:
  • Keywords that expect an expression to be the next clause
  • Keywords that expect an instruction to be the next clause
  • Keywords that expect specific keywords to be the next symbol
  • Keywords that expect a delimiter to be the next symbol
  • Keywords used as variables in contexts where they are reserved
Limitations:
  • Files that are opened from the Git Repositories view and are not contained in an Eclipse project do not show syntax errors in the editor.
  • The syntax error messages are in English, and are not translatable.