Use the highlighter to mark multiple occurrences of variables
in your ILE RPG code to easily see where they are used.
Procedure
- Open an ILE RPG source member. Right-click
the member and select .
- Click a variable in your code and then select the highlighter
in the toolbar.
The occurrences of the selected
variable are highlighted. Marker symbols are also displayed in the
left and right margins of the editor so that the locations of the
variable in your code can be easily identified. This image shows the
variable num3 highlighted.
- Optional: Change how occurrences are displayed.
For example, you can change the highlighter color. Click .
Select Occurrences (org.eclipse.imp.runtime.occurrenceAnnotation) to
work with the highlighter preferences.