您的位置:首页 > 其它

[mark] 使用Sublime Text 2时如何将Tab配置为4个空格

2016-03-22 13:02 344 查看
在Mac OS X系统下,Sublime Text是一款比较赞的编辑器。

作为空格党的自觉,今天mark一下使用Sublime Text 2时如何将Tab配置为4个空格:

方法来自以下两个链接:

http://www.dbpoo.com/sublime-text2-tab/

http://www.micmiu.com/software/common/sublime-text2-tab-space/

链接页面分别介绍了如何在 Preference --> Settings-User 或 Preference --> Settings-Default 中添加如下的配置信息:

{
// 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
}
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: