80 Column Guidelines in Visual Studio Express
Posted in Uncategorized on January 26th, 2008 by Ola Lindberg – 2 Comments
I wanted to add a 80 column guideline to Visual Studio Express. I searched the settings without luck. Instead I found Sara Ford’s blog explaining how to do that. In the comments Tobias explained how to do that in Visual Studio Express as well. I tried it in Visual Studio C# Express 2005 and 2008. Works fine. The following is just a compilation from Saras blog with comments, all in one place.
Close Visual Studio. Add a string value to the Windows registry called Guides with the value RGB(153,153,153) 79 for a gray (#999) guideline at column 80 to any of the following locations.
Visual Studio 2005: [HKEY_CURRENT_USER]\Software\Microsoft\
VisualStudio\8.0\Text Editor
Visual Studio Express 2005: [HKEY_CURRENT_USER]\Software\Microsoft\
VCExpress\8.0\Text Editor
Visual Studio Express 2008: [HKEY_CURRENT_USER]\Software\Microsoft\
VCExpress\9.0\Text Editor
It would of course be nice to have the setting in Visual Studio but for now this is good enough!
