Your extension will be available shortly on the Visual Studio Marketplace at this link.

Editor Guidelines


Adds vertical column guides to the Visual Studio text editor.

4.7 Star
Visual Studio
2017, 2015, 2013, 2012
Download (113,331)
E-mail Twitter Digg Facebook
Add to favorites
Sign in to write a review
Sort by:

5 Star
by skipp33r | October 28 2016

It is nice but is it possible to add an option that allows difference colors for guidelines? As I use the lines to indicate max code columns allowed by different source projects (e.g. 100 for one and 120 for another), it looks better to have different colors.

1 Star
by Jerzy62 | August 14 2016

not working, it created the guideline but now is impossible to remove it, the menu remove guideline is grayed

5 Star
by Eben Zhang embed | July 05 2016

5 Star
by davidchen9568 | June 20 2016

5 Star
by NaplandGames | May 28 2016

Great. Thank you!

5 Star
by Lorenzo Delana | March 25 2016

Excellent, it does the job.
Just place your cursor somewhere column,
right click and go with Guidelines menu.
I prefer yellow color on dark theme.

5 Star
by AnthonyUccello | January 31 2016

5 Star
by nnddcc | January 05 2016

Setting up the line position is a bit unintuitive (right click), but once set up, works as advertised :)

5 Star
by Tyler Frazier | January 04 2016

I've been using this extension for years and I love it!

5 Star
by Tommaso Scalici | November 12 2015

Very simple but it does its work.

5 Star
by amplayer123 | October 23 2015

This is a really handy tool!
I love that you can control it from the VS Command Window.

5 Star
by reyesc | September 27 2015

Simple and elegant. Helps with crafting beautiful code. Great job guys. I hope the boys at Microsoft put this inside of Visual Studio by default.

5 Star
by Stankiewicz | August 21 2015

Each time I install this extension, I forget how to show or hide the guidelines and I have to come back to this website to read the documentation.

5 Star
by Viacheslav Ivanov | July 21 2015

Great extension, but I wand an option for a separate color for each guideline.

4 Star
by BRIAN_____ | May 26 2015

5 Star
by dgoosens | May 12 2015

this should be a default feature as it is on any other IDE

5 Star
by TMOII | April 23 2015

4 Star
by bradlandis | March 24 2015

Works well, but I'm only giving 4 stars because I think the config should be elsewhere. My right-click is already long enough as it is, and it just doesn't seem to fit there. I'd suggest in Options, but directly under Tools would be my 2nd pick.

5 Star
by Grik1 | January 28 2015

Exactly what I was looking for!

5 Star
by F.I.D.O | January 10 2015

1 - 20 of 45 Items   
Sign in to start a discussion

  • Extension deactivated at VS2015 launch
    2 Posts | Last post November 11, 2016
    • Hi, since last update, each time I launch vs2015, the editor guidelines extension is deactivated. I reactivate it in extensions settings, click relaunch and guidelines are working. If I quit and relaunch Visual Studio, the extension is deactivated again and I have to do all the process to reactivate it and relaunch by clicking the button in the settings. Any idea how to resolve this or is it a (known) bug in the latest version?
      Thank you!
    • Thanks for the report. I have not seen that myself. Is anyone else seeing it?
      I'll investigate what might trigger VS 2015 to think the extension should be disabled. A few ways I can think of:
      1. Visual Studio is running in "safe mode". Extensions are disabled in that case.
      2. Visual Studio is not shutting down cleanly.
      3. There is another instance of devenv.exe running (locking access to settings)
      Are you also seeing this behavior with other extensions?
  • Command "Edit.AddGuideline" does not accept arguments or switches
    2 Posts | Last post July 08, 2016
    • I tried calling  EditAddGuideline 80 from the command window and get the error msg:
          Command "Edit.AddGuideline" does not accept arguments or switches
      I can add (and delete) a guideline from the context menu at the current carat location. 
      Visual Studio Community 2015
      V. 14.0.25123.00 Update 2
      Windows 7 Professional
      I do have Productivity Power Tools installed, in case that's relevant. 
    • I should have done this test before posting:
      I disabled Productivity Power Tools and restarted VS.
      I can still enter the command Edit.AddGuideline and add a guideline at the current carat position. But now, if I add a column number I get a different error:
          Command "Edit.AddGuideline" is not available.
  • Mode with fixed column always marked?
    5 Posts | Last post May 28, 2016
    • Have you considered allowing a persistent column tag at a fixed column for all files (of a given type)?  For example: always mark it at column 80 or whatever row width limit you want the code to have?
    • I also would like this.  I wonder if there's a way to get VS to run a set of commands on a per-filetype basis.
    • Is the idea to have different settings for different file extensions?
      If so, I like the idea, but it does start to complicate the UI a bit.
      e.g. When you right-click to add/remove a guideline are you changing the settings for all files, or for all files with the same extension?
      Or should it be exposed as two different commands?
      - Paul
      (Don't hold your breath on this. I rarely find time to work on this extension.)
    • I don't particularly care to have it on a per-filetype basis, but would be nice to simply be able to have it for all files.
    • derp nevermind! Sorry. my other panel was just a little under the guideline... Cheers!
  • VS2015 MVC Razor VB, no context menu
    2 Posts | Last post March 29, 2016
    • I don't see a context menu entry for any of my code.  This is a MVC project, VB, Razor.  The Command Window method works, but is inconvenient, obviously.  I see others have had issues with html and other files in the past.  I'm guessing it's a similar problem?
    • Timothy, it works for me.
      Here are my exact repro steps:
      1. File/New Project.
      2. Select Visual Basic, Web, ASP.Net Web Application
      3. Select "MVC" from the wizard
      4. "Change Authentication" to "No Authentication"
      5. Uncheck "Host in the cloud"
      6. OK
      When project is created:
      1. In the Solution Explorer, expand "Views/Home"
      2. Double-click on "About.vbhtml"
      3. Right-click on the editor window
      Guidelines sub-menu is in the context menu.
      What did I miss?
      - Paul
  • No exports were found...
    2 Posts | Last post May 01, 2015
    • I've been used this extension normaly well in several development systems.
      But it not worked in the last one.
      Add/Remove/RemoveAll every command shows below alert message.
      No exports were found that match the constraint: 
      	ContractName	ColumnGuide.ITextEditorGuidesSettingsChanger
      	RequiredTypeIdentity	ColumnGuide.ITextEditorGuidesSettingsChanger
      when I typed "Edit.AddGuideline" in command window, shows same output.
      OS : Windows 10 Insider Preview.
      VS : Visual Studio 2013 Community with Update 5 RC
      Is it Windows 10 problem?
    • I'v reinstalled VS 2013 Update 5 RC and it works perfectly.
      Sorry Paul.
      - Soungjin
  • VS2013: No right-click menu
    6 Posts | Last post March 11, 2015
    • The right click menu where we could add guidelines in VS2012 does not show up in VS2013.
    • Piotr, I haven't seen this problem before. Can you try uninstalling and re-installing the Editor Guidelines extension?
      Verify that the extension is installed by looking for it on the "Tools/Extension and Updates..." UI.
      If it is installed, you can check that the command works by doing this:
      1. Create a new Text File (Ctrl+N, Enter)
      2. Show the "Command" window (Ctrl+Alt+A)
      3. In the Command window, type Edit.AddGuideline and hit Enter
      You should see a new guideline appear at column 0
      You can remove it again by tying Edit.RemoveGuideline in the Command window.
      If all of that seems to be working fine, then perhaps you have another extension that is modifying the right-click menu. Try disabling or uninstalling other extensions to see if the Guidelines menu comes back.
      - Paul
    • Hi Paul.
      Uh, I'm not sure why but after executing these commands (without reinstalling the extension) the menu came back... Maybe I was blind yesterday (though I double-checked), but oh well, it works now. Thanks for your feedback and a most useful extension :].
    • Hi Paul,
      I don't see local context menu "Guidelines" for .html file. But when execute command Edit.AddGuideline, the guideline was added at position 16. How can I remove it from this position and add guideline at position 80?
      - Alexander
    • Alexander,
      Thanks for the feedback.
      It's a bug that the context menu doesn't show for .html files. I'll look into fixing it soon - later this week, hopefully. To workaround it, does the context menu show up for other file extensions? (e.g. .txt). If so, you could add/remove guidelines with a .txt file open and then switch back to .html.
      Using the "Edit.AddGuideline" and "Edit.RemoveGuideline" commands requires that the cursor is placed at the point (column) where you want the guideline to be added/removed. That actually gives me an idea for a feature request: these commands should accept an argument indicating the column number.
      - Paul
    • I think I've fixed the HTML issue. Please download the latest version.  1.11.70311.0
      - Paul
  • VS Express 2013 for Desktop Instalation error
    2 Posts | Last post January 28, 2015
    • Hi Paul,
      I'm using Visual Studio Express 2013 for Windows Desktop and I get an instalation error :
      27.1.2015 г. 20:24:26 - Microsoft VSIX Installer
      27.1.2015 г. 20:24:26 - -------------------------------------------
      27.1.2015 г. 20:24:26 - Initializing Install...
      27.1.2015 г. 20:24:26 - Extension Details...
      27.1.2015 г. 20:24:26 - 	Identifier      : Editor_Guidelines.Microsoft Corp..123716ef-b2ed-4fab-bbcf-1d5f84856ca3
      27.1.2015 г. 20:24:26 - 	Name            : Editor Guidelines
      27.1.2015 г. 20:24:26 - 	Author          : Paul Harrington
      27.1.2015 г. 20:24:26 - 	Version         : 1.11.70123.0
      27.1.2015 г. 20:24:26 - 	Description     : Adds vertical column guides to the Visual Studio text editor. This version is for Visual Studio 2012 or Visual Studio 2013.
      27.1.2015 г. 20:24:26 - 	Locale          : en-US
      27.1.2015 г. 20:24:26 - 	MoreInfoURL     :
      27.1.2015 г. 20:24:26 - 	InstalledByMSI  : False
      27.1.2015 г. 20:24:26 - 	SupportedFrameworkVersionRange : [4.5,)
      27.1.2015 г. 20:24:26 - 	Supported Products : 
      27.1.2015 г. 20:24:26 - 		Microsoft.VisualStudio.IntegratedShell
      27.1.2015 г. 20:24:26 - 			Version : [11.0,15.0)
      27.1.2015 г. 20:24:26 - 	References      : 
      27.1.2015 г. 20:24:26 - 		-------------------------------------------------------
      27.1.2015 г. 20:24:26 - 		Identifier   : Microsoft.VisualStudio.MPF.11.0
      27.1.2015 г. 20:24:26 - 		Name         : Visual Studio MPF 11.0
      27.1.2015 г. 20:24:26 - 		Version      : [11.0,12.0)
      27.1.2015 г. 20:24:26 - 		MoreInfoURL  : 
      27.1.2015 г. 20:24:26 - 		Nested       : No
      27.1.2015 г. 20:24:26 - Searching for applicable products...
      27.1.2015 г. 20:24:26 - Found installed product - Microsoft Visual Studio Express 2013 for Windows Desktop
      27.1.2015 г. 20:24:26 - Found installed product - Global Location
      27.1.2015 г. 20:24:26 - VSIXInstaller.NoAppl
    • The Express editions of Visual Studio do not support non-Microsoft extensions. While I work for Microsoft, this extension was released as a personal project, so I can't make it work for Express. Sorry :-(
  • VSIX Installer error
    5 Posts | Last post January 23, 2015
    • Hi Paul,
      I'm using Visual Studio 2012 in 64-bit Windows 7. When I installed this Editor Guidelines, I got the an error.
      It seams the VSIX - file is damaged. Could you check this, please?
      Here is the installation log:
      21.08.2013 09:30:19 - Microsoft VSIX Installer
      21.08.2013 09:30:19 - -------------------------------------------
      21.08.2013 09:30:19 - Initializing Install...
      21.08.2013 09:30:19 - Microsoft.VisualStudio.ExtensionManager.InvalidExtensionPackageException: Die Datei ist kein gültiges VSIX-Paket. ---> System.IO.FileFormatException: Die Datei enthält beschädigte Daten.
         bei MS.Internal.IO.Zip.ZipIOEndOfCentralDirectoryBlock.FindPosition(Stream archiveStream)
         bei MS.Internal.IO.Zip.ZipIOEndOfCentralDirectoryBlock.SeekableLoad(ZipIOBlockManager blockManager)
         bei MS.Internal.IO.Zip.ZipArchive..ctor(Stream archiveStream, FileMode mode, FileAccess access, Boolean streaming, Boolean ownStream)
         bei MS.Internal.IO.Zip.ZipArchive.OpenOnStream(Stream stream, FileMode mode, FileAccess access, Boolean streaming)
         bei System.IO.Packaging.ZipPackage..ctor(Stream s, FileMode mode, FileAccess access, Boolean streaming)
         bei System.IO.Packaging.Package.Open(Stream stream, FileMode packageMode, FileAccess packageAccess, Boolean streaming)
         bei Microsoft.VisualStudio.ExtensionManager.InstallableExtensionImpl.ReadVSIXManifestFromPackage(Stream vsixStream, CultureInfo preferredCulture)
         --- Ende der internen Ausnahmestapelüberwachung ---
         bei Microsoft.VisualStudio.ExtensionManager.InstallableExtensionImpl.ReadVSIXManifestFromPackage(Stream vsixStream, CultureInfo preferredCulture)
         bei Microsoft.VisualStudio.ExtensionManager.InstallableExtensionImpl..ctor(String path, CultureInfo preferredCulture)
         bei VSIXInstaller.App.InitializeInstall()
         bei System.Threading.Tasks.Task.InnerInvoke()
         bei System.Threading.Tasks.Task.Execute()
    • The extension could not be installed because the following error occurred:
      The extension 'Editor Guidelines' requires a version of the .NET Framework that is not installed.
      This is a very strange error, considering I have full VS2013 installed. I also have VS2015 CTP 5 (January 2015 release) installed.
    • I just received this message. I downloaded the VSIX and edited the vsixmanifest file it contains to read "[4.5,)" instead of just "4.5", and it resolved the problem.
    • Thanks for the bug report, @Jon and thanks to @Sam for the hint on how to fix it. Yes, this is because the latest VS 2015 CTP includes .Net 4.6 as an in-place update to 4.5.
      I'll try and publish an update later today.
    • I just uploaded version 1.11.70123.0 which has the fix for loading in VS 2015 CTP 5.
  • VS2013 Express
    2 Posts | Last post November 07, 2014
    • According to the install log, this isn't compatible with VS2013 Express. Any chance this could be supported?
    • The Express editions of Visual Studio do not support non-Microsoft extensions. While I work for Microsoft, this extension was released as a personal project, so I can't make it work for Express. Sorry.
  • Visual Studio "14"
    2 Posts | Last post September 30, 2014
    • Is there any version available for Visual Studio "14"?
    • Yes. I have published a new version today which works in Visual Studio "14". Version 1.11.60930.0
1 - 10 of 18 Items