Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>This is originally from Sara's <a href="http://blogs.msdn.com/b/saraford/archive/2004/11/15/257953.aspx" rel="noreferrer">blog</a>.</p> <p>It also works with almost any version of Visual Studio, you just need to change the "8.0" in the registry key to the appropriate version number for your version of Visual Studio.</p> <p>The guide line shows up in the Output window too. (Visual Studio 2010 corrects this, and the line only shows up in the code editor window.)</p> <p>You can also have the guide in multiple columns by listing more than one number after the color specifier:</p> <pre><code>RGB(230,230,230), 4, 80 </code></pre> <p>Puts a white line at column 4 and column 80.</p> <p>Be sure to pick a line color that will be visisble on your background. This color won't show up on the default background color in VS. This is the value for a light grey: RGB(221, 221, 221).</p> <p>Here are the registry keys that I know of:</p> <p><strong>Visual Studio 2010</strong>: HKCU\Software\Microsoft\VisualStudio\10.0\Text Editor</p> <p><strong>Visual Studio 2008</strong>: HKCU\Software\Microsoft\VisualStudio\9.0\Text Editor</p> <p><strong>Visual Studio 2005</strong>: HKCU\Software\Microsoft\VisualStudio\8.0\Text Editor</p> <p><strong>Visual Studio 2003</strong>: HKCU\Software\Microsoft\VisualStudio\7.1\Text Editor</p> <p>For those running Visual Studio 2010, you may want to install the following extensions rather than changing the registry yourself:</p> <ul> <li><p><a href="http://visualstudiogallery.msdn.microsoft.com/en-us/0fbf2878-e678-4577-9fdb-9030389b338c" rel="noreferrer">http://visualstudiogallery.msdn.microsoft.com/en-us/0fbf2878-e678-4577-9fdb-9030389b338c</a></p></li> <li><p><a href="http://visualstudiogallery.msdn.microsoft.com/en-us/7f2a6727-2993-4c1d-8f58-ae24df14ea91" rel="noreferrer">http://visualstudiogallery.msdn.microsoft.com/en-us/7f2a6727-2993-4c1d-8f58-ae24df14ea91</a></p></li> </ul> <p>These are also part of the <a href="http://visualstudiogallery.msdn.microsoft.com/en-us/d0d33361-18e2-46c0-8ff2-4adea1e34fef" rel="noreferrer">Productivity Power Tools</a>, which includes many other very useful extensions.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload