sublime text3空格和tab的显示

来源:互联网 发布:gopro中文软件 编辑:程序博客网 时间:2024/05/16 14:16

最近在使用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了。

0 0
原创粉丝点击