Editor Guidelines


Adds vertical column guides to the Visual Studio text editor. This version is for Visual Studio 2012, Visual Studio 2013 or Visual Studio 2015

(41) Review
Visual Studio
2015, 2013, 2012
Download (71,963)
E-mail Twitter del.icio.us Digg Facebook
Add to favorites
Reviews (41)
Q and A (16)
Sign in to write a review
Sort by:

by NaplandGames | at 4:39 AM

Great. Thank you!

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.

by AnthonyUccello | January 31 2016

by nnddcc | January 05 2016

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

by Tyler Frazier | January 04 2016

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

by Tommaso Scalici | November 12 2015

Very simple but it does its work.

by amplayer123 | October 23 2015

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

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.

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.

by Viacheslav Ivanov | July 21 2015

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

by BRIAN_____ | May 26 2015

by dgoosens | May 12 2015

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

by TMOII | April 23 2015

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.

by Grik1 | January 28 2015

Exactly what I was looking for!

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

by bewuethr | December 16 2014

by Mehradzie | November 14 2014

A little bit hard to figure out which guideline's color you're changing at first but all in all very good.

by Jonathan Karsh | June 27 2014

Well done. Does what it says and nothing else. Thanks!

by NobodysNightmare | June 18 2014

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

  • Mode with fixed column always marked?
    5 Posts | Last post 4:39 AM
    • 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     : http://visualstudiogallery.msdn.microsoft.com/da227a0b-0e31-4a11-8f6b-3a149cf2e459
      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
  • Guidelines Added Automatically
    6 Posts | Last post April 13, 2014
    • I seem to remember there being an add-in for VS2010 that added the guidelines automatically. This may have been in C# only but I'm not 100% sure. Can this extension or any other extension add the guidelines automatically? For the life of me I cannot find one that does this.
    • Figures that as soon as I submit my question I find the answer. This extension does what I was looking for: http://visualstudiogallery.msdn.microsoft.com/e792686d-542b-474a-8c55-630980e72c30
    • After the 4/9 update, my guidelines are gone and when i try to re-add them i get this error message: "No exports were found that match the constraignt: ContractName ColumnGuide.ITextEditorGuidesSettingsChanger RequiredTypeIdentity ColumnGuide.ITextEditorGuidesSettingsChanger". i've tried uninstalling/reinstalling a few times with no luck. any ideas what is causing this?
    • I also get the "No exports were found that match the constraint: ..." error.
    • I am also getting the same error message after updating on 4/9.
    • @Drew, @ypoissant, @workingmom2004,
      Sorry about that. It should be all fixed in the 4/13 update.
  • Context menu issues & solutions
    1 Posts | Last post December 31, 2013
    • I can't get the context menu to show up if I load an HTML or CSS file in the editor.  I can, however, see the context menu when I have .cs, .js or .xml file open in the editor.  Hope this helps.
1 - 10 of 16 Items