1、安裝Sublime Text 3
下載安裝:http://www.sublimetext.com/3
Package Control安裝:https://sublime.wbond.net/installation

4.1、安裝插件
安裝方法1(Control):
- CTRL+` ,出現控制台
- 粘貼以下代碼至控制台(可用)
import urllib2,os,hashlib; h = '2915d1851351e5ee549c20394736b442' + '8bc59f460fa1548d1514676163dafc88'; 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')
import urllib.request,os,hashlib; h = '2915d1851351e5ee549c20394736b442' + '8bc59f460fa1548d1514676163dafc88'; 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)
- 選擇菜單:Preferences > Browse Packages
- 打開sublime插件安裝包文件夾
- 下載文件並復制到打開的文件夾
- 重啟sublime
4.2、常用插件
1、ConvertToUTF8 支持多種編碼,解決中文亂碼問題。
2、Bracket Highlighter 用於高亮匹配括號、引號、html標簽。
3、DocBlockr 可以自動生成PHPDoc風格的注釋。
4、Emmet 快速編寫HTML,原 Zen Coding。
5、SideBar Enhancements 這個插件改進了側邊欄,增加了許多功能
6、evernote 這個是 evernote 的插件,支持 markdown 語法
7、markdown preview markdown 預覽插件
5、擴展VIM功能