- Open the template settings, and in the Template Text area
click the Edit Variables button.
Note
The Edit Variables button is enabled only if the template body contains at least one user-defined variable, that is, a variable different from $END$ or $SELECTION$.
The Edit Template Variables dialog box opens, where you can define how the variables will be processed when the template is used.
- In the Name text box, specify the variable name to be used in the template body.
- In the Expression drop-down list, specify the expression to be calculated by
WebStorm when the template is expanded. Do one of the following:
- Type a string constant in double quotes.
- Type a predefined function with possible arguments or select one from the drop-down list.
Tip
An argument of a function can be either a line constant or another predefined function.
- To enable WebStorm to proceed with the next input field, if an input field associated with the current variable is already defined, select the Skip if defined check box.
- To arrange variables in the order you want WebStorm to switch between associated input fields, use the Move Up and Move Down buttons.

