The Remote Systems LPEX Editor is the default editor for AIX® COBOL files. You can choose
an alternative editor, such as the COBOL Editor, by using the Open
with menu item. You can also change the default editor
associated with any particular file extension.
About this task
You might prefer the Remote Systems LPEX Editor, however,
for an experience consistent with traditional Eclipse editors, such
as the Java and C++ editors
and to take advantage these features, you might prefer the COBOL Editor:
- Capitalization formatting
- Indentation formatting
- Quick fixes
- Task tags
- Mark occurances
- Range Indicator & Show Selected Only
- "Surround with" menu
Restriction: The COBOL Editor, and compare editor
(when comparing COBOL files) have several limitations:
- Double-byte character set (DBCS) limitations: Remote DBCS characters
are not supported. Files containing remote DBCS characters can be
opened in read-only mode only. Use the Remote Systems LPEX Editor
to edit these files.
- Bidirectional Text Limitations: Remote bidirectional characters
are not supported. Remote files containing bidirectional characters
can be opened in read-only mode only. Use the Remote Systems LPEX
Editor to edit these files.
- Other Limitations: Several features present in the Remote Systems
LPEX Editor are not available in the COBOL Editor, or compare editor
when comparing COBOL files, including autosave, automatic maintenance
of sequence numbers, and preventing text modifications left of the
information margin from shifting sequence numbers out of position.
Procedure
- To choose the Remote Systems LPEX Editor when you open
a COBOL, select the file and double click on it.
- To choose the COBOL Editor when you open a COBOL, select
the file and then click Open with > COBOL Editor.
- To associate another editor or specify the default editor
for any file type, click Window > Preferences and
then expand General > Editors and select File
Associations. On the File Associations preference
page, you can do any of the following tasks:
- To add an editor for a file type, select the file type and
click the Add button next to the Associated
editors list. Choose from the list of Internal
editors or click External programs and
then click Browse to search for and select
the external editor you want to use.
- To set the default editor for a file type, select the file
type, select an editor from the Associated editors list,
and click Default.