1、到官网下载安装包

http://www.sublimetext.com/2

2、附注册码一枚


【主题】

Soda Theme,安装方法:http://buymeasoda.github.io/soda-theme/

另外,作者还提供了一套 Color Scheme,即 Syntax highlighting colour schemes,下载地址

【插件】

JsFormat

【设置】

1、解决 sublime text 2 总是在新窗口中打开文件的问题,在 Preferences -> Settings –> User 中增加参数

"open_files_in_new_window": false

2、自动保存,在 Preferences -> Settings –> User 中增加参数

"save_on_focus_lost": true,
"atomic_save": true,

3、保存时去掉行末空格,在 Preferences -> Settings –> User 中增加参数

"trim_trailing_white_space_on_save": true

4、显示 空格、Tab字符

"draw_white_space": "all"

用户设置 备份如下:

{
"font_face": "YaHei Consolas Hybrid",
"font_size": 14,
"open_files_in_new_window": false,
"soda_classic_tabs": true,
"theme": "Soda Light.sublime-theme",
"color_scheme": "Packages/User/Espresso Soda.tmTheme",
"save_on_focus_lost": true,
"atomic_save": true,
"trim_trailing_white_space_on_save": true,
"draw_white_space": "all"
}

5、如何隐藏右边的 预览栏 ?

View -> Hide MiniMap

05-07 15:06