To write formulas efficiently, you can use editor templates. An editor template is a commonly used piece of code that can be inserted easily.
Click Complete Template on the Insert menu (or press Ctrl+J) to expand the pattern at the cursor position to a template.
For example, to insert a parameter definition, enter “p” and press Ctrl+J. The pattern “p” will be expanded to a default parameter definition:
param | caption = "" endparam
where | indicates the position of the cursor, so you’re ready to type the name of the parameter.
If the pattern is not unique (for example when there are multiple patterns starting with “p”), a dialog box is shown where you can select the desired template.
Go to the Editor tab in the Options dialog to see the default patterns and templates and customize them.