sublime text Installation Package Control

Automatic mode: press ctrl + `shortcut or the View> Show Console, you will see an input box at the bottom, then enter: sublime text 2 are:
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')
sublim text3 of:
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())
Manual mode:
Click the Preferences > Browse Packages… menu
Browse up a folder and then into the Installed Packages/ folder
Download Package Control.sublime-package and copy it into the Installed Packages/ directory
Restart Sublime Text
Download package control package , put Sublime Text 2.0.2 \ Data \ Installed Packages below can be. Then restart the editor. Reference: [. 1].  Https://sublime.wbond.net/installation#st3

Reproduced in: https: //my.oschina.net/itfanr/blog/195683

Guess you like

Origin blog.csdn.net/weixin_33841503/article/details/91799547