Artem Svirskyi
Artem Svirskyi

Reputation: 7849

Nested abbreviation expansion with emmet in sublime text

In sublime text with emmet plugin I can write
enter image description here
To get
enter image description here
But if I want to generate some lorem or other tag
enter image description here
after pressing tab I go to the next list item
enter image description here
how can I avoid this?

Upvotes: 1

Views: 1058

Answers (2)

Sergey Chikuyonok
Sergey Chikuyonok

Reputation: 2699

When you expand abbreviation (especially like ul>li*3), Emmet generates tabstops (fields in terms of Sublime Text) in some important places assuming that you’re likely want to fill-up data in them (attribute values, tag contents etc.). So after you expand abbreviation you’re actually moving between tabstops with Tab/Shift-Tab. It’s a pity that ST does not displays decorations for tabstops.

You can simply press Esc key to quit tabstops mode and use Tab for expanding abbreviations.

Upvotes: 1

Riccardo Marotti
Riccardo Marotti

Reputation: 20348

You can use CTRL+E to expand lorem3, instead of TAB.

Upvotes: 2

Related Questions