Welcome to MSDN Blogs Sign in | Join | Help

Sara Ford's Weblog

My adventures embracing open source on CodePlex and at Microsoft

News

    • Did you know... All author proceeds go directly to sending Hurricane Katrina survivors to college.

      Microsoft Visual Studio Tips book

      Recent Entries

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: ,
Posted: Thursday, November 29, 2007 3:00 AM by saraford

Comments

Ian Griffiths said:

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...

# November 29, 2007 8:04 AM

ccatto said:

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

# November 29, 2007 11:30 AM

arun.philip said:

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.

# November 30, 2007 5:21 AM

orangy said:

I wonder why I can't turn it OFF in VS2008?

# November 30, 2007 10:51 AM

Noticias externas said:

A previous tip talked about what that automatic delimiter highlighting option does. A follow-up tip is

# December 4, 2007 6:15 AM

Sara Ford's WebLog said:

A previous tip talked about what that automatic delimiter highlighting option does. A follow-up tip is

# January 15, 2008 1:07 AM

Darren said:

I'm glad you posted about this.  The default colour was so subtle I didn't even notice.  

# January 25, 2008 6:25 PM

Visual Studio 2008 ワンポイント said:

前回のワンポイントでは 区切り記号の自動強調表示するオプション の動作について説明しました。補足として、[かっこの一致] の色を変更する方法を説明します。 [ツール] メニューの [オプション] をクリックし、[フォントおよび色]

# August 20, 2008 10:34 PM

Секреты Visual Studio said:

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

# March 3, 2009 1:35 AM
New Comments to this post are disabled
Page view tracker