The System z LPEX Editor, PL/I Editor, and
PL/I Compare Editor in Rational® Developer
for System z® provide
a variety of ways to navigate to and from variable declarations, even
when a variable is declared in a different file.
About this task
To enable the
Open Declaration and
hyperlink functions for PL/I source files, you need to enable Annotations
and Tooling. See the related links for more information.
Procedure
To navigate to and from variable declarations:
- To navigate in a PL/I program from a variable or method
name, perform one of the following actions:
- Position the text cursor on a field or paragraph name and
press the F3 key.
- Hover the cursor over a variable or method name, hold down
the Ctrl key, and click.
- Right-click the data item reference, and select Open
Declaration from the pop-up menu.
If the declaration is located in the same file as
the reference, the editor navigates to the declaration in the same
editor. If the declaration is in a collapsed region, the region is
expanded. If the reference is in another file and the location of
the file can be determined, the source file is opened in a new instance
of the editor.
- Hovering the cursor over a variable, paragraph, or section
causes hover help to display details about the highlighted element.
Hovering the cursor over this help causes a toolbar to appear. The
toolbar contains a toolbar button for opening the declaration of the
hovered element.
- To go back to the previous location, click the left arrow
(
) icon in the menu bar.
- To move forward again to the previously navigated location,
click the right arrow (
) icon in the menu
bar.