Sublime text3修改tab键为缩进四个空格
文章目录
1.首先,在菜单栏里点击 Preferences-> Setting, (如图)
2.在弹出来的 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
(如图所示)
评论
登录后参与技术讨论,分享你的经验与见解。
登录 / 注册暂无评论