The JavaScript format preferences panel is opened from menu .
The following options control the behavior of Format and Indent
action:
- Start curly brace on new line - Opening curly braces start on a new
line.
- Preserve empty lines - Empty lines in the JavaScript code are
preserved. Enabled by default.
- Allow formatting embedded JavaScript - Applied only to XHTML
documents, this option allows the application to format embedded JavaScript code, taking
precedence over the Schema aware format and indent option. Enabled by default.