1.安裝Package Control
菜單欄:view - show console
在輸入框輸入下面內(nèi)容后席楚,回車拼卵,安裝完成后重啟即可
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())
2. 打開(kāi)Install Package
菜單欄:Preferences - Package Control - Install Package