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>
geekbeing
source share