Home > Article > Development Tools > How to install emmet plug-in in sublime
To install the Emmet plug-in in Sublime Text, please perform the following steps: Open the command palette, enter Package Control: Install Package and press Enter. In the Package Control menu, type emmet and press Enter. Install the Emmet plugin and restart Sublime Text. Enable Emmet and add key bindings: { "keys": ["tab"], "command": "expand_abbreviation" }.
How to install the Emmet plug-in in Sublime Text
Step 1: Open Package Control
Ctrl
Shift
P
(Windows) or Cmd
Shift
P
(macOS) opens the command palette. Package Control: Install Package
and press Enter. Step 2: Search for the Emmet plugin
emmet
and press Enter. Step 3: Install Emmet
Emmet
plugin and press Enter to install it . Step 4: Enable Emmet
Preferences
> Key Bindings - User
. <code>{ "keys": ["tab"], "command": "expand_abbreviation" }</code>
Verify installation
To verify that Emmet was successfully installed, try the following steps in Sublime Text:
<code class="html">ul>li*5</code>
Tab
key, Emmet should automatically expand the code snippet to: <code class="html"><ul> <li></li> <li></li> <li></li> <li></li> <li></li> </ul></code>
The above is the detailed content of How to install emmet plug-in in sublime. For more information, please follow other related articles on the PHP Chinese website!