Thursday, January 10, 2008

Add vertical rule in VS2005 IDE

Here is a cool tip that allows you to have a vertical rule (or say line) after 100 characters in VS IDE:

1. Close Visual Studio 2005 (if open)
2. Start regedit
3. Open the key HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\8.0\Text Editor
4. Create a new string named "Guides" and assign the value "RGB(128,0,0) 100".


5. Now open Visual Studio and see the vertial rule.

No comments: