简体   繁体   中英

sublime text 3 html autocompletion not working correctly

I am trying to use sublimetext3 for editing html.

If I do

ul tab, then it generates <ul></ul>

if I do ul.temp tab, then it generates <ul class="temp"></ul>

however, when I am trying ul>li.temp tab, it is generating ul><li class="temp"></li>

What I am expecting to see is <ul><li class="temp"></li></ul>

I have package control. What am I missing in getting this functionality?

Note: Moved to an answer at the request of the original poster.

Perhaps the behavior you are looking for comes from the Emmet plugin

What you are describing it the expected behavior for Sublime Text.

The functionality that you are looking for comes from Emmet as skuroda said. Just install it using Package Control and you should be good to go.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM