Posts Tagged: vs 2005

Line Length Guides in Visual Studio

Here’s yet another tip for Visual Studio 2005/2008 users. If your company enforces any sort of line limit, and you want to make yourself visually aware of when you may be approaching or dealing with that limit, add this key to your registry:

[HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\9.0\Text Editor]
(New String Value) "Guides"="RGB(192,192,192) 110"

110 Being your line limit, and 9.0 being the version of your VS. (2005 users should find 8.0)

Restart VS and you’re good to go.