AppCode 2018.2 Help

Complete Paired Characters

AppCode can automatically add closing braces and other paired elements.

To enable adding closing braces:

  1. Open the Settings / Preferences dialog (⌘,), click Editor, then General, and then Smart Keys.
  2. Select the Insert pair } check box in the Enter group. This enables adding closing braces when you press .
  3. Configure automatic insertion of paired elements by selecting the following check boxes:
    • Insert pair bracket
    • Insert pair quote
    • Auto-close tag on typing '</'
  4. Click OK to apply changes.

The indentation level is defined in the Code Style settings.

Last modified: 8 May 2018