Sublime2 安裝注意

sublime 2

叫出Sublime2的Console「Ctrl + `」這個在安裝時會用得到… 在下面的網頁「Sublime Package Control – Install」有一長串的指令碼,

http://wbond.net/sublime_packages/package_control/installation

Command:

import urllib2,os; 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())); open(os.path.join(ipp,pf),'wb').write(urllib2.urlopen('http://sublime.wbond.net/'+pf.replace(' ','%20')).read()); print 'Please restart Sublime Text to finish installation'

必要安裝套件
1.ZenCodeing
2.jsformat
3.SublimeTmpl外掛 (HTML範本)
4.YUI Compressor(壓縮js css)