Visual Studio 2013 Preview: C++ Automatic Brace Completion

Tips Search

Visual Studio 2013 Preview: C++ Automatic Brace Completion

  • Comments 5

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

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

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

  • I mean without disabling brace completion.

  • 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

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

Page 1 of 1 (5 items)
Leave a Comment
  • Please add 3 and 7 and type the answer here:
  • Post