Complete paired characters
GoLand can automatically add closing braces and other paired elements.
For example, to insert paired curly braces, type the opening brace {. GoLand automatically inserts the closing brace } when the context supports automatic completion.
Press Ctrl+Alt+S to open settings and then select .
Configure the preferred options (all of them are enabled by default):
Insert paired brackets (), [], {}, <>
Insert pair quote
Insert pair '}' (in the Enter group). If enabled, GoLand will automatically add a closing brace once you press Enter.
Under the HTML/CSS node:
Insert closing tag on tag completion
Auto-close tag on typing '</'
Click OK to apply changes.
The indentation level is defined in the Code Style settings.
29 October 2026