Creating and Customizing Code Templates

See Also

To customize the list of code templates:

  1. Choose Tools > Options.
  2. Click Editor and select the Code Templates tab.
  3. Select C from the Language drop-down list to display the code template list for C, or select CPLUSPLUS to select the list for C++.
  4. Edit, create, and remove templates according to your wishes.

Special Code Template Syntax

When you use the Options window to create code templates, the construct ${cursor} indicates where the insertion point should go after the code snippet has been added to your code.
See Also
Using Code Templates


Copyright © 2014, Oracle and/or its affiliates. All rights reserved.