Loading

Guidelines – a hidden feature for the Visual Studio Editor

Warning! To enable guidelines, you’ll need to modify your registry settings. Follow the instructions below at your own risk.

Enabling Guidelines

First, shut down Visual Studio 2005 if already started.

Under

[HKEY_CURRENT_USER]\Software\Microsoft\VisualStudio\8.0\Text Editor

Create a string value called

Guides

Set Guides to the following

RGB(x,y,z) n1,...,n13

Where x,y,z are the RGB values and n is the column number. You can have at most 13 guidelines.

For example,

Guides = RGB(128,0,0) 5, 80

will place a Red guideline at column numbers 5 and 80.

And now launch VS and open a text file.

 

link:http://blogs.msdn.com/b/saraford/archive/2004/11/15/257953.aspx

posted @ 2010-06-13 18:42  .net's  阅读(548)  评论(0)    收藏  举报