Home

Awesome

LineAdornments VS2010 Extension

This is a sample extension for Visual Studio 2010 that shows how to use editor adornments to highlight the current line in the text editor with a different background color.

Extension sample

You can customize the colors used for the highlight by changing the 'Current Line' settings in the Fonts and Colors section of the Visual Studio options dialog.

Installation

  1. Install the Visual Studio 2010 SDK. You'll need it for building custom extensions.
  2. Open the solution in Visual Studio 2010 and build it.
  3. Close all open VS2010 instances.
  4. Using Windows Explorer, navigate to the project's output folder and double click on the LineAdornments.vsix generated.

That's it!