Dark star
Dark star

Reputation: 5832

SublimeText 3 issue with Emmet

When i press tab button only generate last character. but i want generate entire line to the html.

for example when i write div>a and press tab, generate

div><a href=""></a>

instead of:

<div><a href=""></a></div>

What's the problem? how can i fix this?

SublimeText 3 and emmet

Upvotes: 3

Views: 88

Answers (2)

Sergey Chikuyonok
Sergey Chikuyonok

Reputation: 2691

It happens because you’re actually completing snippet from autocomplete popup. Either press Esc before expanding abbreviation or set disable_tab_abbreviations_on_auto_complete preference to false: https://github.com/sergeche/emmet-sublime/blob/master/Preferences.sublime-settings#L29

Upvotes: 1

Seekme
Seekme

Reputation: 174

I have the same issue, because it generally does it everytime, I'm used to do this :
TAB -> CTRL + Z -> TAB

Not very convenient, but does the job.

Upvotes: 0

Related Questions