Formatting

The editor provides styles, indentation, brace completion, and quotation mark completion.

Styles

The editor highlights syntax according to the settings in File > Preferences > JavaScript > Editor.

Indentation

When you type a newline after an opening brace ({), the editor indents the new line one tab beyond the current indentation.

Otherwise when you type a newline, the editor indents the new line the same as the current indentation.

Brace completion

When you type an opening brace ({), the editor appends a closing brace (}) at the beginning of a new line and places the insertion point after the opening brace.