sublime text3空格和tab的显示

最近在使用sublime text3修改shell文件时,明明看着相同的文件,对比却说不一样。最后发现是空格和tab惹的祸。

1.显示空格和tab:

在Preferences→Key Bindings-User中添加如下配置:

“draw_white_space": "all",

保存后,空格和tab就显示出来了。


2.空格和tab能自由打出:

View→Indentation→Indent Using Spaces,将“Indent Using Spaces"前面的√去掉,就能随意打出空格和tab了。

你可能感兴趣的:(sublime)