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

在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
}

 

posted @ 2016-03-22 13:02  噜噗  阅读(347)  评论(0编辑  收藏  举报