Tweaking my color settings

Like many developers, I spend a lot of time reading and writing code every day.  After hearing so many developers praise the "dark background/light text" colors that have become popular, I decided to switch too.  I did some research and found a theme I really liked.  I tweaked it very slightly and have been using it ever since.  It is much easier on the eyes.

However, one thing has been bothering me.  When Visual Studio stops in an exception or when an exception is thrown and Visual Studio highlights the catch block, the coloring is almost unreadable.  Here's a quick sample:

image

I remember doing a quick run through trying to find what this type of code block was called so I could change the color, but had no luck.

Today, I couldn't stand it anymore.  I methodically searched through every color option and finally found the one that corresponds to this case:

Read-Only Region

Looking in the Options dialog, the "Sample" shown looks okay:

image

But that's because the "Item Foreground" is set to "Default" and VS assumes black.  Since my default text color is White, this combination is horrible.  I picked a new color from the background color dropdown (Olvie) and now my eyes are much happier:

image

Technorati tags: ,

No Comments