Share via


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

  • Anonymous
    November 03, 2013
    Is there any way to disable some parts of it but not others? I like brace completion but not quote completion.

  • Anonymous
    January 17, 2014
    Same thing with quotes. I don't like this feature. Is there any way to disable it?

  • Anonymous
    January 18, 2014
    I mean without disabling brace completion.

  • Anonymous
    January 19, 2014
    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. Z

  • Anonymous
    November 25, 2014
    So I've turned it off but it's still messing up my Watch window... How do I turn it off fully?