Setting template preferences
You can use the Templates preference page to define code templates that enable you to use custom code snippets.
About this task
Note: Custom code snippets (and the shortcuts that invoke them) are used in conjunction with content
assist to type frequently used code constructs quickly. For example, a predefined code snippet is
provided for the if else statement in the list of available templates. The
shortcut that invokes this code snippet is
ifelse
. In the z Systems® LPEX Editor, you can typeifelse and then
press Ctrl + Space to insert the entire code block for an if else
statement into the source file.To set the C/C++ Templates preferences, complete the following steps:
Procedure
Results
Note: Templates added to the C/C++ parser templates preference page will also appear for the Remote
C/C++ Editor.