PHP笔记网

革命尚未成功,同志仍须努力下载JDK17

作者:Albert.Wen  添加时间:2017-10-27 19:21:44  修改时间:2024-12-20 13:50:34  分类:电脑/软件使用  编辑

1、到官网下载安装包

http://www.sublimetext.com/3

2、附注册码一枚

Sublime Text v3.2.3 Build 3211

----- BEGIN LICENSE -----
Member J2TeaM
Single User License
EA7E-1011316
D7DA350E 1B8B0760 972F8B60 F3E64036
B9B4E234 F356F38F 0AD1E3B7 0E9C5FAD
FA0A2ABE 25F65BD8 D51458E5 3923CE80
87428428 79079A01 AA69F319 A1AF29A4
A684C2DC 0B1583D4 19CBD290 217618CD
5653E0A0 BACE3948 BB2EE45E 422D2C87
DD9AF44B 99C49590 D2DBDEE1 75860FD2
8C8BB2AD B2ECE5A4 EFC08AF2 25A9B864
------ END LICENSE ------​

3、个性化设置

1) 解决 sublime text 总是在新窗口中打开文件的问题,在 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) 文本不换行

"word_wrap": "false",

5) 显示 空格、Tab字符

"draw_white_space": "all"

用户设置 备份如下:

{
	"atomic_save": true,
	"auto_close_tags": true,
	"color_scheme": "Packages/Color Scheme - Default/Celeste.sublime-color-scheme",
	"draw_white_space": "all",
	"font_face": "YaHei Consolas Hybrid",
	"font_size": 16,
	"open_files_in_new_window": false,
	"remember_open_files": true,
	"save_on_focus_lost": true,
	"tab_size": 4,
	"translate_tabs_to_spaces": true,
	"trim_trailing_white_space_on_save": true,
	"update_check": false,
	"word_wrap": "false"
}

6) 如何隐藏右边的 预览栏 ?

View -> Hide MiniMap

7) 修改快捷键

在 Preferences -> Key Bindings -> 填入内容

// 按住 “command + alt + 向下键” 复制单行

[
	{ "keys": ["command+alt+down"], "command": "duplicate_line" }
]