package control 安装

sublime3
import urllib.request,os,hashlib; h = '6f4c264a24d933ce70df5dedcf1dcaee' + 'ebe013ee18cced0ef93d5f746d80ef60'; 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://packagecontrol.io/' + 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) 
sublime2
import urllib2,os,hashlib; h = '6f4c264a24d933ce70df5dedcf1dcaee' + 'ebe013ee18cced0ef93d5f746d80ef60'; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); os.makedirs( ipp ) if not os.path.exists(ipp) else None; urllib2.install_opener( urllib2.build_opener( urllib2.ProxyHandler()) ); by = urllib2.urlopen( 'http://packagecontrol.io/' + pf.replace(' ', '%20')).read(); dh = hashlib.sha256(by).hexdigest(); open( os.path.join( ipp, pf), 'wb' ).write(by) if dh == h else None; print('Error validating download (got %s instead of %s), please try manual install' % (dh, h) if dh != h else 'Please restart Sublime Text to finish installation') 

激活码

ctrl+~
—– BEGIN LICENSE —– 
Esri, Inc 
19 User License 
EA7E-853424 
BBB0D927 00F6E4AB 0AFFEFEA 82C4A3E5 
4F9A99D1 7C0475AB 5A708861 6C81D74E 
4BBA1F56 877CE0E2 88126328 486D8600 
8A0A85D7 49671882 49969D92 312F27A7 
5CCAE55B D711D4E2 9069DE55 B510370C 
9499567E 61D548BA FB260403 711DFE24 
1BAFDA6D 1F52E6B1 B728EF5B A40CCD4D 
FD716AF5 1760D208 0E05F26E 22660950 
—— END LICENSE ——

—– BEGIN LICENSE —– 
Die Socialisten GmbH 
10 User License 
EA7E-800613 
51311422 E45F49ED 3F0ADE0C E5B8A508 
2F4D9B65 64E1E244 EDA11F0E F9D06110 
B7B2E826 E6FDAA72 2C653693 5D80582F 
09DCFFB5 113A940C 5045C0CD 5F8332F8 
34356CC6 D96F6FDB 4DEC20EA 0A24D83A 
2C82C329 E3290B29 A16109A7 EC198EB9 
F28EBB17 9C07403F D44BA75A C23C6874 
EBF11238 5546C3DD 737DC616 445C2941 
—— END LICENSE ——

—– BEGIN LICENSE —– 
Dylan Tittel 
Single User License 
EA7E-898127 
CD1A23C0 E8687245 18A89BFA 7CF52C10 
A20AA536 9E1A57C7 D33839DC 6613C428 
91E9C7FF F4702893 251C6403 27A10818 
6F48AC9C BB66843D C1D60DEA B952C2D0 
40019115 E5278B04 95EBB709 D6B1C5B9 
67CA940A 88701851 32910570 57AD5B96 
263A8906 AFBFAB46 52F6706F CACFC74E 
DFAD4752 D10E58B6 744B90F2 13AF2B9C 
—— END LICENSE ——


安装插件 ctrl+shift+p - install - 搜索插件名称 -回车安装

常用插件

名称 作用
ChineseLocalzations 汉化
docblockr 注释生成插件
sif 待完善
cobalt2 比较喜欢的一种配色方案
PHPCompanion PHP 引入 use
convertToUtf8 转成 utf-8
gbksuport 转成中文