sublime text 3 html autocompletion not working cor

2019-02-19 14:03发布

问题:

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?

回答1:

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

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



回答2:

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.