Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What are the problems in the installation and use of sublime text3 in Mac system

2025-04-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

This article will explain in detail the problems encountered in the installation and use of sublime text3 in the Mac system. The editor thinks it is very practical, so I share it with you for reference. I hope you can get something after reading this article.

Below by the sublime tutorial column to introduce the Mac system sublime text3 installation and use of the problems and solutions, I hope to help friends in need!

Link to the Mac system installation package, or download it directly from the sublime official website

Official website: http://www.sublimetext.com/3

Interface after successful installation

Crack

Enter from here and enter the decoding below.

-BEGIN LICENSE-sgbteamSingle User LicenseEA7E-11532598891CBB9 F1513E4F 1A3405C1 A865D53F115F202E 7B91AB2D 0D2A40ED 352B269B76E84F0B CD69BFC7 59F2DFEF E267328F215652A3 E88F9D8F 4C38E3BA 5B2DAAE4969624E7 DC9CD4D5 717FB40C 1B9738CF20B3C4F1 E917B5B3 87C38D9C ACCE7DD85F7EF854 86B9743C FADC04AA FB0DA5C0F913BE58 42FEA319 F954EFDD AE881E0B- END LICENSE-install the plug-in 1. Package control

Link point here: https://packagecontrol.io

Copy the corresponding code according to your needs.

You can also directly copy the following paragraph ~ 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 go to your sublime and open the console ~

Clicking on the small icon in the lower left corner will bring up console, or more convenient, control/command+~ shortcut keys to bring up the console ~

(this ~ is the one below the esc in the upper left corner)

Then open the console and paste the copied code directly into the OK.

Then restart sublime text3

Enter your sublime- > Click sublime Text- > Preferences- > Package Control (or the shortcut key Command+Shift+P) in the upper left corner to start Package Control. If so, the installation is successful.

two。 Plug-in: front-end must-Emmet

Step 1: enter your sublime- > Click on the upper left corner sublime Text- > Preferences- > Package control (or shortcut key Command+Shift+P) to start Package Control

Step 2: enter PCI (Quick match to Package Control:Install Package command) in the Package control input box and click execute.

Wait a few seconds ~

Enter emmet in the input box that pops up again, and then click install

After the installation is completed, you can use Perferences- > Package Settings- > Emmet to check whether the installation is successful. If Emmet is successfully installed in the instructions,

If you need other plug-ins, just enter the plug-in you want in this input box.

How can sublime text3 quickly generate html skeleton structure code?

1 、

After entering sublime text3, switch it to html mode

Click this button in the lower right corner to switch

2 、

Use the shortcut key ctrl+n to create a new file

3 、

Enter! (English symbol), or html:5, and then press Tab or control+E to generate a html skeleton.

As shown in the picture

Some students will encounter input! After clicking the tab button, there is no response, what is the reason for this? It turns out that the default shortcut key for Emmet is Ctrl+E, which we need to set to the commonly used Tab key.

Solution:

Select Preferences- > PackageSettings- > Emmet- > KeyBindings- > User in the menu bar, and paste the following information into it:

[{"keys": ["tab"], "args": {"action": "expand_abbreviation"}, "command": "run_emmet_action", "context": [{"key": "emmet_action_enabled.expand_abbreviation"}]}]

Restart Sublime Text3, and then we can complete the code.

This is the end of this article on "what are the problems encountered in the installation and use of sublime text3 in the Mac system". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, please share it out for more people to see.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report