closeBrackets

fun closeBrackets(config: CloseBracketsConfig = CloseBracketsConfig()): Extension

Extension that auto-closes brackets and quotes.

When the user types an opening bracket, the corresponding closing bracket is inserted after the cursor. When the user types a closing bracket that's already present after the cursor, it skips over it.