PhpStorm
 
Get PhpStorm
You are viewing the documentation for an earlier version of PhpStorm.

Code Style: EJS

Last modified: 17 March 2022

Windows and Linux: File | Settings | Code Style | EJS

macOS: PhpStorm | Preferences | Code Style | EJS

Ctrl+Alt+S or the Settings/Preferences button

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. 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.