Viewing and working with editor properties
You can view the project or resource level properties of a C/C++ file through the Properties action within the editor instance.
Procedure
To view and work with the properties of an open C/C++ file, complete the following steps:
- In the editor instance for the open C/C++ file,
click to see the menu, then select Properties to
open the Properties dialog box. Alternatively,
you can press Shift + Enter. Note: The information that is displayed in this dialog box is dependent on the context from which the C/C++ file was opened. For example, if the file was opened from within a project or from the Remote Error List view. The information contained in this page is also used by other features in the Remote C/C++ editor, such as content assist.
- Click the General tab
to view or change the current context, and to change the text limit
used when saving. Note: By default, the Limit text to column value that was set on the System z preference page (C/C++ > Editor > z Systems). This setting applies to all instances of the Remote C/C++ Editor to restrict text to a specific column number.
- To change the Limit to text value:
- Click Edit to open the Edit Column Limit dialog box.
- Type the new value that you want to use to set the column
limits for this editor instance and restrict text to a specific column
number. Note: The value is only preserved for this editor instance.
- Click OK to close the dialog box. The new value is displayed in the General tab.
- To change the current context:
- Select a different context from the Current
Context drop-down list. This value does not become active until you click OK in the Properties dialog box.
- Select a different context from the Current
Context drop-down list.
- Click the Include Paths tab to view
the system and user include paths for the file open in the editor.
The editor will use these locations when searching for header files for content assist, open declaration, and open definition actions.
- Click the User Macro tab to view
the list of user macros that are associated with the file open in
the editor. These values affect the usage of the outline view, inactive code highlighting, content assist, open declaration, and open definition actions.
- Click the System Macro tab to view
the list of system macros that are associated with the file open in
the editor. These values affect the usage of the outline view, inactive code highlighting, content assist, open declaration and open definition actions. System macros are automatically retrieved from the host.
- To refresh the list of system macros, click Refresh System Macro Definition.
- Click OK to save any pending changes.