Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 35447
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T14:14:15+00:00 2026-05-10T14:14:15+00:00

Introduction I’ve always been searching for a way to make Visual Studio draw a

  • 0

Introduction

I’ve always been searching for a way to make Visual Studio draw a line after a certain amount of characters.

Below is a guide to enable these so called guidelines for various versions of Visual Studio.

Visual Studio 2013 or later

Install Paul Harrington’s Editor Guidelines extension.

Visual Studio 2010 and 2012

  1. Install Paul Harrington’s Editor Guidelines extension for VS 2010 or VS 2012.
  2. Open the registry at:
    VS 2010: HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\10.0\Text Editor
    VS 2012: HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\11.0\Text Editor
    and add a new string called Guides with the value RGB(100,100,100), 80. The first part specifies the color, while the other one (80) is the column the line will be displayed.
  3. Or install the Guidelines UI extension (which is also a part of the Productivity Power Tools), which will add entries to the editor’s context menu for adding/removing the entries without needing to edit the registry directly. The current disadvantage of this method is that you can’t specify the column directly.

Visual Studio 2008 and Other Versions

If you are using Visual Studio 2008 open the registry at HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\9.0\Text Editor and add a new string called Guides with the value RGB(100,100,100), 80. The first part specifies the color, while the other one (80) is the column the line will be displayed. The vertical line will appear, when you restart Visual Studio.

This trick also works for various other version of Visual Studio, as long as you use the correct path:

2003: HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\7.1\Text Editor 2005: HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\8.0\Text Editor 2008: HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\9.0\Text Editor 2008 Express: HKEY_CURRENT_USER\Software\Microsoft\VCExpress\9.0\Text Editor 

This also works in SQL Server 2005 and probably other versions.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T14:14:15+00:00Added an answer on May 10, 2026 at 2:14 pm

    For those running Visual Studio 2015 or later, the best solution is to install the Editor Guidelines by Paul Harrington rather than changing the registry yourself.

    This is originally from Sara’s blog.

    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.

    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.)

    You can also have the guide in multiple columns by listing more than one number after the color specifier:

    RGB(230,230,230), 4, 80 

    Puts a white line at column 4 and column 80. This should be the value of a string value Guides in "Text Editor" key (see bellow).

    Be sure to pick a line color that will be visible 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).

    Here are the registry keys that I know of:

    Visual Studio 2010: HKCU\Software\Microsoft\VisualStudio\10.0\Text Editor

    Visual Studio 2008: HKCU\Software\Microsoft\VisualStudio\9.0\Text Editor

    Visual Studio 2005: HKCU\Software\Microsoft\VisualStudio\8.0\Text Editor

    Visual Studio 2003: HKCU\Software\Microsoft\VisualStudio\7.1\Text Editor

    Productivity Power Tools includes guidelines and other useful extensions for older versions of Visual Studio.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Introduction : Hello Everyone, I have been looking for days for a way to
Introduction I have been so annoyed by applications that have a startup dialog which
INTRODUCTION I'm using excel downloads as a way of users downloading a score sheet,
Introduction After watching this video from LIDNUG, about .NET code protection http://secureteam.net/lidnug_recording/Untitled.swf (especially from
After introduction of Autoloader, I started to port existing ZF app. The immediate error
With introduction of GObject introspection the way to access theme colors through widget.get_style() method
By way of introduction... I've run into this question: Difference between 2 adjacent fields
Introduction The Model-View-Controller approach has been in my head since before the holidays and
I've been reading Introduction to Algorithms and started to get a few ideas and
The Introduction Okay, so after version 0.60 of GTK+ , the designers realized that

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.