PhpStorm 2016.1 Help

#parse Directive

Using the #parse directive, you can include other templates in file templates. This is useful for inserting reusable contents (e.g. standard headers, copyright statements, etc.) into multiple file templates.

The syntax for the #parse directive is:


For example: #parse("ActionScript File").

The templates that can be referenced like this in other templates, are shown on the Includes tab of the File and Code Templates settings page.

See Also

Last modified: 12 July 2016