Home >

Turning Off Code Block Highlighting in Visual Studio 2010

1. June 2010

I have been using Visual Studio 2010 for a while now and one of the features that drove me crazy was the block highlighting. I went hunting for a way to turn this off. I found it on a MSDN blog post. I have found I like the feature though just no the default colors. Here is the fix I put in place.

Go to Tools –> Options –> Fonts and Colors:

image

In the Display Items list find Collapsible Region Item:

image

Leave the foreground color the default and change the background to a dark gray. I did it with the custom color selector like so.

image

This makes the regions far more eye candy and less ouch.

image

Enjoy.