Indent Guides


Adds vertical lines at each indent level.

(155) Review
Visual Studio
2015, 2013, 2012
Download (657,767)
E-mail Twitter Digg Facebook
Add to favorites
Reviews (155)
Q and A (54)
Sign in to write a review
Sort by:

by Milan1234 | Sat 8:34 PM

by Andrew Sanostee | Fri 7:56 PM

by DannyBOU | September 30 2015

by reyesc | September 27 2015

Useful but crashes the editor at times. Sometimes, it shows up partially drawn with indent lines showing in places where it shouldn't be. I wish I could give this 5 stars.

by norachuga | August 12 2015

I tend to forget this isn't a built-in function of VS. Must-have.

by Jeff_Hunt | June 30 2015

Excellent tool. Subtle changes that help clarify at a glance where you are in the code structure. Other add-ins exist that work similar, but they are not as customizable and are very code specific (e.g., they don't work on HTML or JS files... I'm looking at you, Productivity Power Tools). Other reviews mention major lag with large files. Maybe it's been fixed, but I don't see more than a second or two delay when opening a 3000+ line JS file.

The one request I would make is for a quick way to randomly color the lines. Everything defaults to grey, which I'm sure some people like, but it'd be nice if there were an option that changed at least the first 10 or so lines to be multicolored.

Keep up the good work, Zooba!

by hitu1 | May 30 2015

It doesn't make sense to draw "continuous" lines everywhere. Restrict scope of the lines between blocks of code. Hope you got my point.

Zooba June 27 2015
| Edit |

You may prefer to use one of the extensions that understands code (they tend to be very restricted as to what languages they support). Alternatively, some of the options under Tools, Options, Indent Guides, Behaviour may be of interest to you, though they can be a bit fiddly.

by Zodarion | May 12 2015

by Peter Malík | February 15 2015

Hi Mate.
Nice plugin.
I found issue..The indent lines are badly set in case you have claass like this:
public class Person
[DisplayName("First name")]
public string Name { get; set; }

[DisplayName("Second name")]
public string Surname { get; set; }

[DisplayName("Full name")]
public string FullName
return Name + " " + Surname;

Lines are set between Name and LastnameAttribute, Surname and Full Name Attribute and soo on.

by Ammar.Zaied | February 13 2015

simple idea, the best way to develop nice plugin.

by aragonsr | January 27 2015

I really like it, but I would LOVE it if each guide was a random (nice) color. This would help even more. Red, green, blue, etc.

by Fleshwound | January 21 2015

Not sure what the reviewer below is running on but i can confirm that my midrange computer has had no problems with this addon in a 6000 class file. (I didn't write it)

by Calon | January 13 2015

I'd love to give this extension five stars for its great features, but its performance plummets for large files (4000+ lines).

It took me a while to track down the source of the stuttering in VS, but Windows Performance Analyzer conclusively showed that IndentGuide.dll spent about 13 straight seconds at nearly 100% CPU usage just chewing through a couple seconds' worth of me mashing the keyboard.

Sorry! I would really love to be able to turn this extension back on. = (

by Cleroth | January 08 2015

Great plugin with many options. Unfortunately it completely lags out Visual Studio on large files, making it unusable.

by ThE_JacO | December 26 2014

So simple yet so indispensable.
Thanks for providing this. It would be stellar if line paragraph/line ending could be added, with or without system specific subtleties.

by Tyelpion | December 11 2014

by Scott Carmichael | November 27 2014

Absolutely chokes on larger files. Locked up Visual Studio and I can't be using this thing if it can't even open a file close to a thousand lines. Probably usable for files with 50 LOC or less.

by kcwill2 | November 21 2014

I find this tool indispensable. Nice job!

by Tyler D M | November 17 2014

by Aleksandar Toplek at Sunoptos | October 06 2014

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

  • For VS Community 2013?
    2 Posts | Last post June 27, 2015
    • Is it possible to use Indent Guides for VS Community 2013?
    • Apologies for the delayed response - yes. VS Community is fully supported and can run any extensions you like.
  • My Indent Guides have disappeared!
    2 Posts | Last post March 12, 2015
    • I am running Visual Studio 2013 Ultimate. I just noticed today that my precious 'lil Indent Guides are gone!  I checked extensions, made sure they were installed and enabled..all was well, but still no Indent Guidelines.  So..uninstall/reinstalled them and still no Indent Guidelines. Rebooted...stilll no Indent Guidelines. Can yo please offer me some assistance to get me Guidelines back!
    • Have you tried the menu option shown on the Description tab?
  • nice
    1 Posts | Last post February 13, 2015
  • Porting this extension to Atmel studio
    1 Posts | Last post January 06, 2015
    • Hi, 
      I am interested to port this extension to Atmel studio (, which is based on the Visual Studio Isolated Shell Platform. Is it ok ?. Other than adding some information in the extension.vsixmanifest i don't think i will alter your code.
  • Scrolling problem
    1 Posts | Last post December 18, 2014
    • I am having problems with scrolling.  Randomly, this feature misbehaves.  When I scroll the text window, either up or down, it only scrolls the region that contains the indent characters.  The remainder of the window is static.  I had two sessions of VS2013 open.  I closed and reopened the one that was misbehaving and the problem did not go away.  Then I closed both sessions and opened one and all is good. Has anyone else encountered this?
  • Can't install.
    2 Posts | Last post November 08, 2014
    • While trying to install "IndentGuide v14.vsix" on vs-2012, I'm getting this message:
      "This extension is not installable on any currently installed products."
      Any ideas?
    • Sorry I missed your question. Do you have one of the Express editions? Because those don't support extensions - you can only install extensions into the paid versions of VS 2012.
  • Guide lines are now 2 pixels wide
    7 Posts | Last post June 17, 2014
    • I've just found that I haven't updated this extension and now installed version 14 for Visual Studio 2010. I noticed that the guide lines are now 2 pixels wide, instead of 1 pixel before. The dot pitch is still the same, but the dots are now 2x1 px instead of 1x1 px. Is that intentional or a bug? I'd like to have the thinner line back. It also happens with default settings.
    • (Apologies for the slow reply.) The dots should be antialiased/slightly blurry, which is why they appear wider. I made a significant performance improvement that had an effect on the layout, and without this option the dots are not consistently 1 pixel tall. In my opinion, it was unusably ugly, while the antialiasing was bearably ugly.
      I'll see if I can find a way to get the dots to render properly for the next version, but I don't think it's likely.
      (Technical details: the reason the layout changed is because I now render all the lines as a single adornment, rather than doing each one individually. This means that there is a canvas control that the editor handles the layout, but the canvas handles the layout for each line. The performance improvement is huge though, so I won't be switching back.)
    • Since I've never seen lines other than this, maybe you could just move them to either side by 0.5 pixels. This seems to be a usual and old trick, coming from GDI+ days where things started to become "device-independent" (a bad idea actually because it simply doesn't work on a "device").
    • That sounds like it has potential, but I'm really not sure how it can improve the look. (It sounds like it might work only because I've got enough experience to know that things that sound like they'll never work often do :) )
      Moving the line up or down is more likely to affect the vertical spacing, which is the real issue. Given a choice between dots that look good horizontally and dots that look good vertically, I picked vertically. Next time I get some time for this, I'll give it a try.
    • When I open the file it says "The installation was unable to install the extension to all selected products....."
      help please
    • If you're using VS 2010, you need to follow the link on the Description tab of this page.
      If you're using an earlier version of VS, sorry. They aren't supported.
    • I've fixed this in the code. My guides are now 1-pixel sharp again. See
  • Bug together with "Word Wrap with Auto-Indent" extension
    2 Posts | Last post March 17, 2014
    • When used together with the "Word Wrap with Auto-Indent" extension (, all indent guide lines are shifted to the right if the first visible line is a wrap overflow line which is indented itself. Hard to explain, just try it out, scroll down to a wrap line and you'll see the mess... VS2010.
    • I was sure I fixed this, but I don't remember whether it was before or after the last release. It certainly appeared without needing that extension. It may be that the other extension changes how the lines are rendered in a way that breaks how I'm finding the left-most position *and* how I'm detecting that it is being wrapped.
      That said, since the other extension is only available for VS2010, I'm unlikely to fix it. At this stage, I'm not supporting VS2010 other than to keep building the extension for as long as possible. You are welcome to take the source from my CodePlex page and make the fix - it's an easy project to build - and I will accept contributions if they look safe enough.
  • totally messed up visual studio 2013/javascript
    3 Posts | Last post February 20, 2014
    • I installed this extension and when editing javascript in visual studio 2013 it totally messes up indentation, jumping like 100 pixel to the right in some cases. I uninstalled it but for some reason it is still wrecking havoc and I can't even restore settings using the import/export option. In short, I think this extension ruined my box and I have to start from scratch now.
    • reproduce:
      make braces
      then indent in the previous braces and make more:
      at the third level something screws up:
      keep doing this anyway and eventually this dialog comes up:
      specified argument was out of the range of valid values: parameter name: offset
    • I'd be extremely surprised if this was due to Indent Guides. For starters, it never modifies the text buffer at all, and has almost no code paths that depend on the language in use. If it is causing this, it should also be causing it in C# and C++.
      Jumping many pixels across is a known issue if you have word wrap enabled and the first visible line of text is actually the second part of a wrapped line.
      If you want to clean up the existing Indent Guides settings, delete your HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\12.0\IndentGuide registry key. There are no settings stored anywhere else unless you've explicitly exported them.
  • Column 0
    3 Posts | Last post January 02, 2014
    • Hi,
      Is it possible to configure Indent Guides so the indent line will be drawn also in column 0? Below is an example about what I mean. In the first example the function code starts in column 0, in the second example it starts in column 1. And I will like to see in the first case also two indent lines as it is in the second example.
      void f()
      void f()
      So I will like if the first example will be displayed as follows:
      void f()
    • This should be pretty easy to add, though it won't be in before the next version (currently unscheduled) and will be off by default, so you'll have to go option hunting - most likely through the theme customizations.
    • Of course I expect it will be off by default. I'm looking forward to the new version. Thank you very much for your effort.
1 - 10 of 54 Items