[Front-end Editor] install the Sublime Text3 plugin
Anyone familiar with front-end development knows that the industry has a particularly useful and powerful Editor-Sublime Text. The current Version has reached Version 3. Here I will record the latest use of this powerful tool for your reference and a log of my own.
Here we take Sidebar Enhancements (https://sublime.wbond.net/installation) installation as an example:
1. install Package Control first
Shortcut: Ctrl +'
Here is the console of Sublime Text3, or you can find the console through the menu
After finding the console, enter:
import urllib.request,os,hashlib; h = '7183a2d3e96f11eeadd761d777e62404' + 'e330c659d4bb41d3bdf022e94cab3cd0'; 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://sublime.wbond.net/' + pf.replace(' ', '%20')).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)
This is a Python code segment,
The Package Control has been installed.
In this case, the Package Control is installed, and other plug-ins can be installed. This is just a Sublime Text to manage other packages.
2. Install SideBar
Shortcut Key: Ctrl + Shift + P, and then enter it in the input box
Select Install Package.
Enter the Side Bar, and then you can find the SideBar enhncemnt and select the installation
3. After the installation is successful, go to preferences> package settings> Side Bar
Sublime Text is successfully installed.