sublime Text 使用方式

1 解决Tab转换成空格

首先点击Preferences --> Settings

显示对话框,在右侧 Preferences.sublime-settings-User,补充上一段代码:

 // The number of spaces a tab is considered equal to
"tab_size": 4,
 // Set to true to insert spaces when tab is pressed
 "translate_tabs_to_spaces": true,
//设置保存时自动转换
 "expand_tabs_on_save": true

猜你喜欢

转载自www.cnblogs.com/gengyi/p/9572104.html