Visual Studio 2013 Preview: C++ Automatic Brace Completion

5-16-2012 3-08-49 PM

One of the new features in VS2013 for C++ Developers is automatic brace completion. We’ve had this in other languages for a while and this is an example of the C++ language gaining IDE parity with VB and C#.


Essentially, if you type any of the following characters:

{ (curly brace)

[ (square bracket)

( (parentheses)

' (single quote)

" (double quote)


The editor will automatically add the appropriate closing character to complete the set as you type.



Turning it Off

If you don’t like this feature, you can always turn it off by going to Tools | Options | Text Editor | C/C++ | General and deselecting Automatic Brace Completion:

5-17-2012 2-05-24 AM

Comments (5)

  1. einsteinsci says:

    Is there any way to disable some parts of it but not others? I like brace completion but not quote completion.

  2. me says:

    Same thing with quotes. I don't like this feature. Is there any way to disable it?

  3. me says:

    I mean without disabling brace completion.

  4. zainnab says:

    Hey Me,

    Not that I am aware of. Currently all that functionality is wrapped up in one option. You "might" be able to work around this by manipulating the formatting rules.


  5. RS says:

    So I've turned it off but it's still messing up my Watch window… How do I turn it off fully?

Skip to main content