Code Style: EJS
On this page, configure formatting options to be applied within EJS inclusions in your code. WebStorm recognizes such inclusions based on these delimiters specified on the EJS page of the Settings dialog. The default delimiters are <%
and %>
. For more information about using EJS, refer to http://embeddedjs.com/getting_started.html.
View the result in the Preview pane.
Item | Description |
---|---|
Spaces within execute tag | Select this checkbox to have spaces inserted between the opening |
Spaces within execute and get escaped tag | Select this checkbox to have spaces inserted between the template body on the one hand and the opening/closing delimiters or escape tags |
Spaces within execute and get unescaped tag | Select this checkbox to have spaces inserted between the template body on the one hand and the opening/closing delimiters or unescape tags |
Spaces within generate tag | Select this checkbox to have spaces inserted between the template body on the one hand and the opening/closing delimiters or generate tags |
Spaces within filter tag | Select this checkbox to have spaces inserted between the template body on the one hand and the opening/closing delimiters or filter tags |
Before ':' | Select this checkbox to have a space inserted before a colon |
After ':' | Select this checkbox to have a space inserted after a colon |
Chain '|' | Select this checkbox to have spaces inserted before and after a vertical bar |