Autocomplete list ulli * n in Sublime Text 3

0

Seeing various tutorials on the internet where they use Sublime Text 3 to edit HTML codes, type ul>li{item}*4 and then Ctrl + Space Sublime completes the code with: / p>

<ul>
  <li>item</li>
  <li>item</li>
  <li>item</li>
  <li>item</li>
</ul>

I tried to use some plugins and even then the shortcut does not work.

I installed the plugins that are in this question: How to put autocomplete in Sublime Text 3?

I use Sublime Text 3 Build 3126 in Windows 10.

    
asked by anonymous 01.06.2017 / 03:26

1 answer

5

This type of shortcut is defined in the Emmet package.

To use, just type the desired structure and press Tab . It is important to note that the shortcut will only work by default in HTML files, so you need to make sure the syntax is correct in the lower right corner of the editor.

    
01.06.2017 / 13:56