June 23, 2010

Disable Current Line Highlighting in Visual Studio 2010

After installing the Visual Studio 2010 Pro Power Tools, Current Line Highlighting is enabled. This is alright for some, but it causes frustration when trying to view parenthesis, bracket and brace boundaries. Below is a screenshot of a program with the current line highlighting turned on.

To disable current line highlighting, Navigate to Tools -> Options. In the options dialog box, expand the environment section and click on the Fonts and Colors subsection. The screen contains a list of different types of text in Visual Studio and their associated formatting. Find the Current Line (Extension) Item and change the Item Background from Default to White. This will make the background of the Current Line White.