Mac Pro 安装 Sublime Text 2.0.2,个性化设置,主题 和 插件 收藏

1、到官网下载安装包

http://www.sublimetext.com/2

2、附注册码一枚

----- BEGIN LICENSE -----
Andrew Weber
Single User License
EA7E-855605
813A03DD 5E4AD9E6 6C0EEB94 BC99798F
942194A6 02396E98 E62C9979 4BB979FE
91424C9D A45400BF F6747D88 2FB88078
90F5CC94 1CDC92DC 8457107A F151657B
1D22E383 A997F016 42397640 33F41CFC
E1D0AE85 A0BBD039 0E9C8D55 E1B89D5D
5CDB7036 E56DE1C0 EFCC0840 650CD3A6
B98FC99C 8FAC73EE D2B95564 DF450523
------ END LICENSE ------

 


 

【主题】

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

posted @ 2016-07-19 07:42  52php  阅读(1323)  评论(0编辑  收藏  举报