Home > Article > Development Tools > Problems encountered in the installation and use of sublime text3 on Mac system
The following tutorial column will introduce to you the installation and installation of sublime text3 on Mac system Problems encountered during use and solutions, I hope it will be helpful to friends in need! Mac system installation package link, or download it directly from the sublime official websiteOfficial website: http://www.sublimetext.com/3
Enter here and enter the crack code below
----- BEGIN LICENSE ----- sgbteam Single User License EA7E-1153259 8891CBB9 F1513E4F 1A3405C1 A865D53F 115F202E 7B91AB2D 0D2A40ED 352B269B 76E84F0B CD69BFC7 59F2DFEF E267328F 215652A3 E88F9D8F 4C38E3BA 5B2DAAE4 969624E7 DC9CD4D5 717FB40C 1B9738CF 20B3C4F1 E917B5B3 87C38D9C ACCE7DD8 5F7EF854 86B9743C FADC04AA FB0DA5C0 F913BE58 42FEA319 F954EFDD AE881E0B ------ END LICENSE ------
Install the plug-in
1. package control
You can also directly copy my paragraph below~
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(' ', '%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)Then enter your sublime and open the console~ Click the small icon in the lower left corner and the console will pop up, or it is more convenient to control/ Command ~ shortcut key to bring up the console ~
Then open the console and directly paste the copied code into it and press Enter and it will be OK ~
Then restart sublime text3
Enter your sublime–>Click on the upper left corner of sublime Text–>Preferences–>Package Control (or shortcut Command Shift P) to start Package Control, if there is, it means the installation is successful~
2. Plug-in: front-end essential – Emmet
Step 1: Enter your sublime–>Click sublime Text–>Preferences in the upper left corner –>Package control (or shortcut key Command Shift P) starts Package Control
Enter emmet in the pop-up input box, and then click Install
After the installation is completed, you can view it through Perferences–>Package Settings–>Emmet Is it successful? If Emmet explains that the installation is successful
If you need other plug-ins, just enter the plug-in you want in this input box~
sublime text3 How to quickly generate html skeleton structure code ?
1,
After entering sublime text3, switch it to html mode
2.
Use shortcut keys ctrl n, create a new file
3. Enter ! (English symbol), or html:5, and then press the Tab key or control E to generate the html skeleton~
As shown in the figure
Some students will encounter input! There is no response after clicking the tab key. What is the cause? It turns out that Emmet's default shortcut key is Ctrl E, and we need to set it to the commonly used Tab key.
Solution:
[{"keys": ["tab"], "args": {"action": "expand_abbreviation"}, "command": "run_emmet_action", "context": [{"key": "emmet_action_enabled.expand_abbreviation"}]}]
The above is the detailed content of Problems encountered in the installation and use of sublime text3 on Mac system. For more information, please follow other related articles on the PHP Chinese website!