PhpStorm 8.0.0 Web Help

File | Settings | Code Style - EJS

settings

On this page, configure formatting options to be applied within EJS inclusions in your code. PhpStorm recognizes such inclusions based on these delimiters specified on the EJS page of the Settings dialog box. The default delimiters are <% and %>. For more details about using EJS, see http://embeddedjs.com/getting_started.html.

View the result in the Preview pane.

Item Description
Spaces within execute tag Select this check box to have spaces inserted between the opening (<%) and closing (%>) delimiters and the template body inside them. Otherwise, the template body is not separated from the delimiters.
Spaces within execute and get escaped tag Select this check box to have spaces inserted between the template body on the one hand and the opening/closing delimiters or escape tags (=) on the other. Otherwise, the template body immediately follows and precedes the delimiters and tags.
Spaces within execute and get unescaped tag Select this check box to have spaces inserted between the template body on the one hand and the opening/closing delimiters or unescape tags (==) on the other. Otherwise, the template body immediately follows and precedes the delimiters and tags.
Spaces within generate tag Select this check box to have spaces inserted between the template body on the one hand and the opening/closing delimiters or generate tags (%) on the other. Otherwise, the template body immediately follows and precedes the delimiters and tags.
Spaces within filter tag Select this check box to have spaces inserted between the template body on the one hand and the opening/closing delimiters or filter tags (%=:) on the other. Otherwise, the template body immediately follows and precedes the tags.
Before ':' Select this check box to have a space inserted before a colon (:).
After ':' Select this check box to have a space inserted after a colon (:).
Chain '|' Select this check box to have spaces inserted before and after a vertical bar (|).

See Also

Procedures:

Reference:

Web Resources: