Martin Kulov's Blog
VSTS, Oslo, INETA, ASP.NET, Debugging .NET Applications, Tips and Tricks
February 24, 2005
Visual Studio Guidelines - Rulers
I found this a long time ago, but I haven't thought to blog about it till yesterday. It is really cool hidden feature explained in
Sara Ford's blog
called
Visual Studio Guidelines
. Basically it allows you to set rulers in your text editor with preferred color. You can set at most 13 guidelines. The trick is a registry key. When it is deleted the feature is gone again (obviously).
John Robbins
described it as "the last missing pieces to call VS.NET A complete editor!"
From
Sara's blog
:
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.
Disabling Guidelines
An obvious no-brainer, just delete the Guides keys you created above. Restart VS, and no more guidelines.
#
posted by Martin Kulov @ 12:02 AM
Comments
|
Trackback
<< Home
Calendar
RSS
Martin Kulov's Facebook profile
Recent posts
WSE Policy Advisor
When you are geek
SHA-1 broken
Enterprise Library Webcasts
Overview of Indigo Architecture
Google Maps totally rocks
To tier or not to tier
Enterprise Library download
.NET Interoperability and SQL 2005 Express
Stacey finds the missing piece in WSE
History
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008
March 2008
April 2008
June 2008
July 2008
August 2008
October 2008
Copyright © 2004-2008 CodeAttest Ltd. All Rights Reserved.