首页 > 其他 > 详细

Sublime text3修改tab键为缩进为四个空格

时间:2017-04-04 20:21:00      阅读:148      评论:0      收藏:0      [点我收藏+]

1. 菜单栏里点击 Preferences-> Setting, 如图

技术分享

2. 在弹出来的Preferences.sublime-settings-User里,添加如下三行:

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

如下图所示,保存退出即可。

技术分享

 

Sublime text3修改tab键为缩进为四个空格

原文:http://www.cnblogs.com/honkly/p/6666091.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!