Sublime Forum

XML / HTML Tag autocomplete

#1

Hi,
I’m new on this forum, I love your app!
I would like to ask you if it’s possible to add another XML/HTML autocomplete feature:

In the code below:

<html>
    <body>
        <div></
    </body>
</html>

When I start to write the div closure “</”, I would like SublimeText app replace automatically

</

by

</div>

This feature was very confortable with Espresso app, she is missing me a lot!

Thank you, best regards.

0 Likes

#2

To complete my request, I would like to add:

In the code below:

<html>
    <body>
        <div></div>
    </
</html>

the autocompletion replace

</

by

</body>

too

There is a tag architecture analyze in this implementation.

Note: In the code below

<html>
    <body>
        <br/></
    </body>
</html>
</

will not be replaced because all tags are already closed

0 Likes

#3

Aside from the very last request

Autocomplete via </ is in latest ST3 builds.

0 Likes

#4

Ho sorry, I was in v2.
Thank you very much, it’s perfect!
Just what I want.

0 Likes