Write and edit source codeGenerate codeComplete paired charactersComplete paired characters Last modified: 23 November 2021PhpStorm can automatically add closing braces and other paired elements. Finish code with closing braces Press Ctrl+Alt+S to open the IDE settings and select Editor | General | Smart Keys.Select the Insert pair } checkbox in the Enter group. This enables adding closing braces when you press Enter.Configure automatic insertion of paired elements by selecting the following check boxes:Insert pair bracketInsert pair quoteAuto-close tag on typing '</'Click OK to apply changes. The indentation level is defined in the Code Style settings.Thanks for your feedback!Was this page helpful?YesNo