Code Yarns ‍👨‍💻
Tech BlogPersonal Blog

Indent Guides in Visual Studio 2010

📅 2012-May-14 ⬩ ✍️ Ashwin Nanjappa ⬩ 📚 Archive

 

Indent guides are vertical lines drawn by the editor to show the levels of indentation at each line of source code. This can be quite useful to understand or edit code that has more than a handful levels of indentation. Indent Guides is a beautiful extension that adds this feature to Visual Studio 2010.

To customize the settings of Indent Guides, visit Tools → Options → Indent Guides. Settings like the style of the line (solid, dashed or dotted) and color can be changed here.

It would be convenient to have a keyboard shortcut to toggle the indent guides on or off. This can be done by assigning a keyboard shortcut to the command Edit.ViewIndentGuides.

Tried with: Indent Guides 11.0 and Visual Studio 2010