Compartilhar via


Did you know... What does that Automatic Delimiter Highlighting option do? - #096

Honestly, I had to ask around what this one did.  I couldn’t remember to save my life.

Automatic Delimiter Highlighting

Automatic Delimiter Highlighting Tools Option

Whenever you have code construct pairs (that’s what the documentation calls them), when you finish typing either the start or end pair, both pairs of words will become bold.  To turn off this feature, go to Tools – Options – Text Editor – General

code construct pairs highlighted

Customizing the Automatic Delimiter Highlighting

You can customize the color for the bolding by going to Tools – Options – Fonts and Colors and selecting Brace Matching (Highlight).

Brace Matching fonts and colors option set to red

then volia…  (i knew that french degree would pay off one day)

automatic Delimiter highlight in red

Technorati tags: VS2005Tip, VS2008Tip

Comments

  • Anonymous
    November 28, 2007
    PingBack from http://msdnrss.thecoderblogs.com/2007/11/29/

  • Anonymous
    November 29, 2007
    Err...should that be "voila"? (Or if Unicode's going to work for me here, more accurately: "voilà".) Or possibly "viola", but maybe that's my musical background kicking in...

  • Anonymous
    November 29, 2007
    Hey Now Sarah, Nice little tip. FYI for anyone Customizing the Automatic Delimiter Highlighting. It's Tools - Options - 'ENVIRONMENT' -Fonts and Colors. I chose my favorite ... Orange. Thx 4 the info, Catto

  • Anonymous
    November 29, 2007
    Nitpick - why is it called "Brace matching" in the UI if the documentation refers to it as "code construct pairs"? The documentation is more accurate, considering #if/endif is not a brace; but it is also harder to understand.

  • Anonymous
    November 30, 2007
    I wonder why I can't turn it OFF in VS2008?

  • Anonymous
    December 03, 2007
    A previous tip talked about what that automatic delimiter highlighting option does. A follow-up tip is

  • Anonymous
    January 14, 2008
    A previous tip talked about what that automatic delimiter highlighting option does. A follow-up tip is

  • Anonymous
    January 25, 2008
    I'm glad you posted about this.  The default colour was so subtle I didn't even notice.  

  • Anonymous
    August 20, 2008
    The comment has been removed

  • Anonymous
    March 02, 2009
    Автоматическое выделение разделителей Всякий раз, когда вы используете парные символы в вашем коде, при