Automatic installation:
1. Open the console via the shortcut key CTRL + ' or View > Show Console Menu
2, paste the corresponding version of the code after the carriage return installation
For Sublime Text 3:
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 ())
For Sublime Text 2:
Import urllib2,os;pf= ' package control.sublime-package '; Ipp=sublime.installed_packages_path (); Os.makedirs (IPP) Ifnotos.path.exists (IPP) Elsenone;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 ());p rint (' Please restart Sublime Text to finish installation ')
manual Installation:1, click Preferences > Browse Packages ... Menu
2. Enter installed packages/directory
3. Download the package control.sublime-package and copy the files to the installed packages/directory
4. Restart Sublime Text
Sublime Text 3 Installation Plug-in manages the package control