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

How to install the Sublime Emmet plug-in

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

Share

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

This article is about how to install the Sublime Emmet plug-in. The editor thought it was very practical, so I shared it with you as a reference. Let's follow the editor and have a look.

Before installing the Emmet plug-in, we first need to install the Package Control plug-in Manager on Sublime Text3

Then hold down the shortcut key Ctrl+Shift+P or select Perferences-- > Package Control in the menu bar to open the command panel. If there is no response, it will pop up later, as shown in the following figure.

Type Emmet to install it. After the installation is complete, you can check whether the installation is successful by going to Perferences-- > Package Settings-- > Emmet, if Emmet is successfully installed in the instructions.

After the installation is complete, we use the Emmet plug-in to quickly generate HTML code, for example, enter html:5 and hold down the Tab key to generate the complete structure of the HTML file, but many people type html:5 and then hold down the Tab key after the installation is completed and do not respond, 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.

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"}]}]

7 restart Sublime Text3 at this time we can do the code completion operation, enter html:5 on the newly created file, press and hold the Tab key to see the following code.

Thank you for reading! On how to install the Sublime Emmet plug-in to share here, 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, you can share it and let more people see it.

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