Hi, I would like to find a plugin for Sublime Text 2 to automatically close html tags

What I really want for the automatic close method is that when I type

<tag> 

then becomes

 <tag></tag> 

.

The Sublime Text 2 tag tag is similar to Dreamweaver, not Coda 1.
Is there any plugin or method or a new text editor that can do this?

+7
source share
1 answer

This works out of the box, you just don't type '<' nor '>'. Just enter any name of the HTML tag (a, html, body, div, img, ...) and press "Tab", it will be automatically completed, and so the div after pressing "Tab" will become <div></div>

+11
source

All Articles