The package Control plug-in is a handy plugin for Sublime text management plug-ins, but because Sublime text 3 updates the Python function, the API is different, resulting in many Python-based plugins that do not work, package Con Trol The original installation method is invalid.
There are 2 ways to install Git on the web, and it feels too much trouble. The ST3 package Control Easy installation method for Wbond website is translated here for easy access.
Simple installation Method:
From the menu View-show console or CTRL + ~ shortcut keys, bring up the console. Paste the following Python code in and enter to perform the installation without exception. The installation code for ST3 and ST2 is provided below:
Sublime Text 3:
Import ' Package Control.sublime-package ' ' WB ' ' http://sublime.wbond.net/ ' + pf.replace (','%20'). Read ())
Sublime Text 2:
ImportUrllib2,os; pf='Package Control.sublime-package'; IPP = Sublime.installed_packages_path (); Os.makedirs (IPP)if notOs.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 ());Print('Restart Sublime Text to finish installation')
Manual Installation:
You may not be able to use code installation for a variety of reasons, and you can manually install the package Control by using the following steps:
1. Click Preferences > Browse Packages menu
2. Go to the upper-level directory of the Open directory before entering the installed packages/directory
3. Download the package control.sublime-package? and copy to installed packages/directory
4. Restart Sublime Text.
Package Control Master File: Https://github.com/wbond/sublime_package_control
How to use:
Shortcut key ctrl+shift+p (menu –tools–command paletter), enter install Select Install package and enter, input or select the plug-in you need to install (note the small text changes in the lower left corner, will prompt installation success).
Reference:
Https://sublime.wbond.net/installation#st3
Sublime How to install and use the package Control in text 2/3