简体   繁体   中英

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.

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

下载并安装适用于VS2015Productivity Power Tools,然后您可以在编辑>高级菜单中找到这些选项。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM