80 Column Guidelines in Visual Studio Express

Guidelines in Visual Studio ExpressI 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]SoftwareMicrosoft
VisualStudio8.0Text Editor

Visual Studio Express 2005: [HKEY_CURRENT_USER]SoftwareMicrosoft
VCExpress8.0Text Editor

Visual Studio Express 2008: [HKEY_CURRENT_USER]SoftwareMicrosoft
VCExpress9.0Text Editor

Regedit: Guidelines in Visual Studio Express
It would of course be nice to have the setting in Visual Studio but for now this is good enough!

Publicerat av Ola

Mångsysslande doer & klätterentusiast. Jag driver varumärket Sten & bloggen Klätterbilder. Jag konsultar inom IT & Marknadsföring samt undervisar inom webb på Folkuniversitetet. Jag älskar att fota. /// Doer & climbing enthusiast. I run the climbing brand Sten & the blog Klätterbilder. Consulting with IT & marketing & teaching at Folkuniversitetet. I love to take pictures.

2 svar på ”80 Column Guidelines in Visual Studio Express”

  1. Wow, it’s the future, now! 🙂

    If only the formatter could break lines automatically at column 80 my life would be perfect.

Kommentarer inaktiverade.