Condividi tramite


Brace Matching Rectangle

Menu:  Tools -> Options -> Fonts and Colors -> Display Items
Versions:  2008,2010
Published:  4/16/2010
Code:  vstipEdit0050

 

Download the seriously cool Tip of the Day Extension to get the daily tips delivered to your Start Page!

 

Are you tired of having wimpy brace matching rectangles?  Do the other developers make fun of your default colors?  Are you finding it hard to get a date?  Well, we can help you with the first two problems, at least.  First, let's begin by looking at the default colors for the brace matching rectangles:

image

 

Not cool.  Now just go to Tools -> Options -> Fonts and Colors -> Display Items and choose "Brace Matching (Rectangle)":

image

 

Now choose your new options:

image

 

And watch as they marvel at your amazing new brace matching bling:

image

Comments

  • Anonymous
    April 15, 2010
    Nice, mine is red, like the t-shirt I´ll by with the $100 haha

  • Anonymous
    April 15, 2010
    Very useful. Too bad the function itself doesn't work with C code...

  • Anonymous
    April 15, 2010
    Neat. Now some expandomatic bliss to select the block... probably in a tip I missed I suppose.

  • Anonymous
    April 15, 2010
    Hey Now Zain,     Nice. orange is a preference, let us remember the hotkey Ctrl + } which will move the cursor focus to the other bracket. Great Post! Thx 4 the info, Catto

  • Anonymous
    July 20, 2010
    This is nice but there is a problem, the color choice is re-used for selecting tags within the HTML Source Editor.  I don't see how that has anything to do with brace matching, and unfortunately you can only configure the background color so it's hard to get something that works under both scenarios.