The JavaScript format preferences panel is opened from menu .
The JavaScript Format Preferences Panel
The JavaScript formatting preferences are the following:
- Start curly brace on new line - If true, opening curly braces will
start on a new line. Otherwise they will remain on the same line as previous content of the
JavaScript file.
- Preserve empty lines - If true, empty lines in the JavaScript code
will be preserved.
- 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.