On this page:
Introduction
In the Editor, you can configure the editor's behavior related to the paired braces. When the option Insert pair } is enabled, the closing brace is automatically added with indent on pressing ⏎⏎⏎⏎⏎. Indentation level is defined in the Code Style settings.
Configuring paired elements behavior
- Press ⌘,⌘,⌘,⌥F7⌃⌥S or choose (for Windows and Linux) or (for macOS) on the main menu, and then go to .
-
Configure automatic insertion of paired elements by selecting the following checkboxes:
- Insert pair bracket
- Insert pair quote
- Auto-close tag on typing '</'
- Insert pair %> in JSP
- To have the closing braces inserted upon pressing ⏎⏎⏎⏎⏎, select the Insert pair } checkbox.
- Apply changes and click OK.