适用于MacOSX和Windows

安装package control

显示控制台
ctrl+` 或者 view->console

输入以下代码安装package control

import  urllib.request,os;pf='Package Control.sublime-package';ipp=sublime.installed_packages_path();urllib.request.install_opener(urllib.request.build_opener(urllib.request.ProxyHandler()));open(os.path.join(ipp,pf),'wb').write(urllib.request.urlopen('http://sublime.wbond.net/'+pf.replace(' ','%20')).read())

// 或者

import urllib.request,os,hashlib; h = '7183a2d3e96f11eeadd761d777e62404' + 'e330c659d4bb41d3bdf022e94cab3cd0'; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); urllib.request.install_opener( urllib.request.build_opener( urllib.request.ProxyHandler()) ); by = urllib.request.urlopen( 'http://sublime.wbond.net/' + pf.replace(' ', '%20')).read(); dh = hashlib.sha256(by).hexdigest(); print('Error validating download (got %s instead of %s), please try manual install' % (dh, h)) if dh != h else open(os.path.join( ipp, pf), 'wb' ).write(by)

安装常用插件和配置

按ctrl+shift+p

输入 package control install package 回车

安装以下插件

localization 汉化工具

emmet 格式化工具

html/css/js prettify html格式化

phpfmt格式化工具

// 等号对齐
"enable_auto_align": true,

DocBlockr 自动注释工具
{
"jsdocs_extra_tags":[
"@Author topzyh",
"@DateTime {{date}}",
"@copyright {1:[copyright]}",
"@license
{1:[license]}",
"@version ${1:[version]}"
],
"jsdocs_function_description": false
}

Pretty JSON JSON格式化工具
热键CTRL + ALT + J

## 注册码
—– BEGIN LICENSE —–
TwitterInc
200 User License
EA7E-890007
1D77F72E 390CDD93 4DCBA022 FAF60790
61AA12C0 A37081C5 D0316412 4584D136
94D7F7D4 95BC8C1C 527DA828 560BB037
D1EDDD8C AE7B379F 50C9D69D B35179EF
2FE898C4 8E4277A8 555CE714 E1FB0E43
D5D52613 C3D12E98 BC49967F 7652EED2
9D2D2E61 67610860 6D338B72 5CF95C69
E36B85CC 84991F19 7575D828 470A92AB
—— END LICENSE ——