installing using the Package control component
You can also install the package control component and install it directly online:
1. Press CTRL + ' bring up the console, or the View-show console on the navigation bar (note: There will be a conflict with this shortcut for installing QQ Input method, Input Method property setting-Input Method Management-Cancel Hotkey switch to QQ pinyin)
2. Paste the following code into the bottom command line and enter:
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 ())
It's sublime Text3 .
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 (' Restart Sublime Text to finish installation ')
It's sublime Text2 .
If not, you can look at this, the link is as follows: Https://packagecontrol.io/installation#st3
3. Ctrl+shift+p bring up the command panel, enter install to bring up the Install Package option and enter, then select the plugin to install in the list.
4. Recommend a plugin is formatted HTML+CSS+JS, very good, highly recommended
The sublime text plugin installs the Mac version of the