Search code examples
pythonvisual-studiovisual-studio-2013spacestabstop

Show spaces as tabs in Visual Studio


I need to use spaces instead of tabs and unfortunately I can't explain Visual Studio 2013 to show every 4 spaces as tab-stop. Example:

def hello():
....for i in range(3):
........print('Hello world!')

but i need something like

def hello():
...|for i in range(3):
...|...|print('Hello world!')

I mean i don't need exactly vertical line character, just somehow distinguish indents.

By the way Geany IDE makes it great.

EDIT: Visual Studio does show me spaces, it doesn't show vertical lines.


Solution

  • Looks like i have found solution: you need to install "Indent Guides" extension to VS. http://visualstudiogallery.msdn.microsoft.com/e792686d-542b-474a-8c55-630980e72c30