AppCode: Turn off automatic matching brace

634 Views Asked by At

How do a I turn off AppCode generating a closing brace } whenever I type the opening brace { character?

What I've Tried:

I looked through: Settings --> Code Style --> Objective-C and then selected "Wrapping and Braces" and in that list, nothing jumps out as disabling the automatic right brace.

With such a sophisticated set of customizations, I know it has to be there!

Update:

Here's a visual on the answer provided by @pjumble

enter image description here

2

There are 2 best solutions below

2
On BEST ANSWER

Turn off "AppCode" -> "Preferences" -> "Editor" -> "Smart Keys" -> "Insert Pair Bracket" and "Insert Pair '}'"

1
On

Choose Xcode > Preferences, click Text Editing, and deselect Automatically insert closing ‘}’.