You can expand Emmet templates with your own live templates.
Suppose you have a template entry with the following template text:
<entry type="$TYPES$">$END$ <entry>
<entry type="$TYPES$" $ATTRS$>$END$ <entry>
- Open the Settings dialog box by choosing or pressing Ctrl+Alt+S and click Live Templates under Editor.
- On the Live Templates page that opens, expand the Zen Coding template group.
- Select the template to expand. The focus moves to the Template Text area where the fields show the settings of the selected template.
- In the Template Text field, add the required text and variables to the template body.
- Click the Edit Variables button. In the Edit Template Variables dialog box that opens, specify the default variable values in the Default value field and select the Skip if defined check box, where necessary.
See Also
Procedures:
Reference:
External Links:
- http://blogs.jetbrains.com/webide/2010/03/zen-coding-support-in-webstormphpstorm/
- http://code.google.com/p/zen-coding/
Web Resources: