Code Templates preferences

You can manipulate any of the common code templates that are predefined within the CDT. To modify, delete, export, import, or create your own templates click Window > Preferences > C/C++ > Code Templates.

Code Templates Preferences
New
Creates a new code template.
Edit
Edits the code template that is selected in the list.
Remove
Removes the selected code templates from the list.
Import
Imports a code template.
Export
Exports the selected code templates.
Export All
Exports all templates in the list.
Enable All
Makes all templates available when you invoke the Content Assist feature.
Disable All
Makes all templates unavailable when you invoke the Content Assist feature.

Related concepts
Coding aids

Related tasks
Customizing the C/C++ editor
Working with Content Assist

Related reference
C/C++ editor preferences

IBM Copyright Statement