Remote C/C++ Editor

Using the Remote C/C++ Editor, you can edit local and remote C and C++ files.

The Remote C/C++ Editor is based on the Eclipse CDT C/C++ Editor and will present you with different options and features based on the type of file you are editing.

The Remote C/C++ Editor provides the following features:
  • Syntax coloring
  • Content assist
  • Open Declarations
  • Save As action
  • Line break conversions (UNIX, Windows, or macOS 9)
  • Autocomment
  • Outline view
Note: The Remote C/C++ Editor does not support commands.

Syntax coloring

The Remote C/C++ Editor color codes syntax, such as C/C++ keywords, comments, and built-in types. This coloring makes it easier to visually understand the structure of the source code that you are editing. You can also modify the color and font settings through the Syntax Coloring preference page.

Content assist

You can use content assist to help you complete a method, type, or field name in the Remote C/C++ Editor.

Open declarations

You can use the Open Declaration action to open the declaration of a selection.

Open definitions

You can use the Open Definition action to open the definition of a selection.

Open header files

You can use the Open Header File action to open the header file specified on the current line.

Save As

You can use the Save As action to save documents to a remote location.

Line break conversions

You can change the line delimiters for C and C++ files. To modify the line delimiters for a C/C++ file:
  1. Open the C/C++ file for which you want to change the line delimiters.
  2. In the workbench, select File > Convert Line Delimiters To.
  3. From the submenu, select one of the available systems:
    • UNIX
    • Windows
    • macOS 9
This modifies the open file and saves it with the new-line delimiters.

Autocomment

You can use the autocomment feature to automatically insert a small comment on each line that you change while editing a file in the Remote C/C++ Editor. Using this feature, you can customize the content of the comment, as well as the appearance of the comment. For example, you can track changes in a source file by inserting a comment on a line each time that it is modified. This comment can include custom details such as a defect number and the initials of the person that modified this line.

This feature is available when editing z/OSĀ® UNIX files, local files in a z/OS UNIX subproject, local PDS members, and sequential data sets.

Outline view

You can use the Outline view to display a structural view of the C elements contained in the current file that you are editing.