This article can be understood as a FAQ, mainly for everyone to get some skills. The specific content includes LICENSE, reset, and Package Control installation. Other content may be added in the future...
Finally, let me explain my own version: Build 3114
LICENSE
provides a registration code that has been circulated on the Internet for a long time, and I feel it is universal.
—– BEGIN LICENSE —– Anthony Sansone Single User License EA7E-878563 28B9A648 42B99D8A F2E3E9E0 16DE076E E218B3DC F3606379 C33C1526 E8B58964 B2CB3F63 BDF901BE D31424D2 082891B5 F7058694 55FA46D8 EFC11878 0868F093 B17CAFE7 63A78881 86B78E38 0F146238 BAE22DBB D4EC71A1 0EC2E701 C7F9C648 5CF29CA3 1CB14285 19A46991 E9A98676 14FD4777 2D8A0AB6 A444EE0D CA009B54 —— END LICENSE —— 或者 —– BEGIN LICENSE —– Alexey Plutalov Single User License EA7E-860776 3DC19CC1 134CDF23 504DC871 2DE5CE55 585DC8A6 253BB0D9 637C87A2 D8D0BA85 AAE574AD BA7D6DA9 2B9773F2 324C5DEF 17830A4E FBCF9D1D 182406E9 F883EA87 E585BBA1 2538C270 E2E857C2 194283CA 7234FF9E D0392F93 1D16E021 F1914917 63909E12 203C0169 3F08FFC8 86D06EA8 73DDAEF0 AC559F30 A6A67947 B60104C6 —— END LICENSE ——
Reset
Website: http://www.sublimetext.com/do...
Content:
SUBLIME TEXT 3 DOCUMENTATION Reverting to a Freshly Installed State Sublime Text can be reverted to a freshly installed state by removing your data folder. Depending on your operating system, this folder is located in: OS X: ~/Library/Application Support/Sublime Text 3 Windows: %APPDATA%\Sublime Text 3 Linux: ~/.config/sublime-text-3 To revert to a freshly installed state, you can: Exit Sublime Text Move the data folder to a backup location Start Sublime Text When restarted, a fresh data folder will be created, just as it was the first time you ran Sublime Text. Keep in mind that this will also remove all of your settings and packages. The backup copy of your data folder can be used to retrieve configuration, or custom packages that can not be reinstalled. OS X On OS X, the ~/Library folder is hidden by default. To navigate there, select the Go ▸ Go to Folder menu item in Finder, and type in ~/Library. 鼠标点击Finder后,按快捷键control+shift+g,在出现的弹框中输入正确的完整路径即可直接到达 Windows In Windows, cache files are stored in a separate location, %LOCALAPPDATA%\Sublime Text 3, to improve performance with roaming profiles.
Install Package Control
Automatic installation
Use the shortcut key control ` or enter the console through the menu option View > Show Console (perform the same operation again to exit the console).
Copy one of the commands, paste it into the console, press Enter to run, if it fails, change to another one, if both fail, please choose the manual installation
method.
import urllib.request,os,hashlib; h = '7183a2d3e96f11eeadd761d777e62404e330c659d4bb41d3bdf022e94cab3cd0'; 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) 或者 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 installation
Opening the URL (https://sublime.wbond.net/Package Control.sublime-package) will automatically download the name Package Control.sublime -package file.
Open Sublime Text 3, select the menu Preferences->Browse Packages... Open the installation directory
You will enter a window called Under the Packages directory, click to enter the upper directory Sublime Text 3. There is a folder called Installed Packages in this directory. Just put the file you just downloaded here.
Restart sublime text3 and observe whether there are two options, Package Settings and Package Control, at the bottom of the Preferences menu. If so, it means the installation is successful.
At this time, use the shortcut key control shift p, enter ip, select Package Control: Install Package, press Enter, wait for a while, and then search for the name of any plug-in you want to install. .
Note:
One thing to note is that network connectivity often occurs, so don’t worry , this is normal. If it occurs, try again after a while and it will usually be fine.