Code templates can help to reduce the time spent on routine coding.
The IDE provides a number of predefined code templates for DDL sources.
In addition, you can create further templates for your own use.
To search for all DDL templates available...
- Open the preferences page
from the menu bar.
To use a template...
- In the DDL source editor, write the beginning characters of the template.
- Select Ctrl + Space (code completion).
Tip Alternatively, you can use the
Templates
view to insert the template code in the DDL source using Drag
& Drop.
To create an additional DDL template for your own use...
- Open either the Templates view or the preferences page (referred
above).
- Open the New Template dialog and specify the
Name and the Description, and
edit the Pattern of the template.
Tip If
you want to add the new template to the DDL source creation wizard, select
DDL (creation) as the
Context.
- Improve the format for the source code template manually.
- Save the new template with OK.