JavaScript

The JavaScript Format preferences panel is opened from menu OptionsPreferences+Editor+Format+JavaScript

 

Figure 18.19. The JavaScript Format preferences panel

The JavaScript Format preferences panel

Start curly brace on new line

If true, opening curly braces will start on a new line.

Preserve empty lines

If true, empty lines in the JavaScript code will be preserved.

Allow formatting embedded JavaScript

If checked, the JavaScript content embedded in XML will be formated when the XML content is formated.