The editor provides the ability to use code templates. A code template is a block of frequently used source code that can be inserted automatically by using a particular key sequence. A ‘|’ character is used in the template to indicate the required position of the cursor after the template has been expanded.

Editing code templates

To edit code templates, do the following:

Code templates can either be expanded manually or automatically when the Space key is pressed.

Manually expanding a template

To expand a code template manually, do the following:

Automatically expanding templates

To expand the template automatically, do the following: