The content of this article is to introduce the installation method of the sublime text3 plug-in (detailed explanation of the steps). It has certain reference value. Friends in need can refer to it. I hope it will be helpful to you.
Step 1
Press Ctrl ` (the key below ESC) to bring up the console, paste the following code into the bottom command line and press Enter
Step 2
Input: import urllib.request,os,hashlib; h = '6f4c264a24d933ce70df5dedcf1dcaee' 'ebe013ee18cced0ef93d5f746d80ef60'; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path() ; urllib.request.install_opener( urllib.request.build_opener( urllib.request.ProxyHandler()) ); by = urllib.request.urlopen( 'http://packagecontrol.io/' pf.replace(' ', ' ' )).read(); dh = hashlib.sha256(by).hexdigest(); print('Error validating download (got %s instead of %s), please try manual install' % (dh, h)) if dh != h else open(os.path.join( ipp, pf), 'wb' ).write(by)
Step 3
Restart Sublime Text 3 . If you see the package control item in Perferences->package settings, (or the console output 275309 The size of the package indicates that the download is complete), the installation is successful
PS: Then it is recommended that you restart it. sublime Reload sublime plug-in
Step 4
##Preferences There will be an additional item under the menu package control
# Indicates successful download and installation. Click on it. Package Control (ctrl shift p)There will be an equal sign " = " in the lower left corner. Turn around like crazy Loading the plug-in List You need to wait patiently. The longest time I waited was seven or eight minutes. Here tell it what to do. Selectinstall Package Install plug-in
Then wait for the equal sign in the lower left corner. The first loading will be slightly slower, followed by seconds of loading After loading is completed, a list of all plug-ins will pop up [ The official website shows that there are currently 3900 windows packages (plug-ins)More than 2000 text3 versions of plug-ins】.
The above is the detailed content of How to install the sublime text3 plug-in (detailed steps). For more information, please follow other related articles on the PHP Chinese website!