Home  >  Article  >  Development Tools  >  Problems encountered in the installation and use of sublime text3 on Mac system

Problems encountered in the installation and use of sublime text3 on Mac system

藏色散人
藏色散人forward
2020-11-03 15:33:003440browse

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

Interface after successful installation

Crack

Problems encountered in the installation and use of sublime text3 on Mac systemEnter 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
Problems encountered in the installation and use of sublime text3 on Mac system1. package control

The link is here: https://packagecontrol.io

Copy the corresponding code according to your needs~


Problems encountered in the installation and use of sublime text3 on Mac system
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)
Problems encountered in the installation and use of sublime text3 on Mac systemThen 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 ~
(This ~ is the one under esc in the upper left corner)


Then open the console and directly paste the copied code into it and press Enter and it will be OK ~

Problems encountered in the installation and use of sublime text3 on Mac system 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~Problems encountered in the installation and use of sublime text3 on Mac system
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

Step 2: Enter PCI in the Package control input box (quickly match to Package Control: Install Package command) and click Execute

Wait a few seconds~

Enter emmet in the pop-up input box, and then click Install
Problems encountered in the installation and use of sublime text3 on Mac systemAfter 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

Click the button in the lower right corner to switch


2.
Use shortcut keys ctrl n, create a new file
3. Problems encountered in the installation and use of sublime text3 on Mac system 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.
Problems encountered in the installation and use of sublime text3 on Mac systemSolution:

Select Preferences–>PackageSettings–>Emmet–>KeyBindings–>User in the menu bar and paste the following information in:
[{"keys": ["tab"], "args": {"action": "expand_abbreviation"}, "command": "run_emmet_action", "context": [{"key": "emmet_action_enabled.expand_abbreviation"}]}]
Restart Sublime Text3, now we can perform code completion~


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!

Statement:
This article is reproduced at:csdn.net. If there is any infringement, please contact admin@php.cn delete