f9coga
Last Updated: September 09, 2019
·
5.897K
· hkdobrev

Close matching tag with Sublime Text

Alt + . to close a matching tag.

<a>link here

becomes

<a>link here</a>

Sublime Text knows which tag to close and clicking the shortcut repeatedly would close more and more tags in the order they have been opened. And there is a great shortcut for that!

6 Responses
Add your response

7

nice one - thx 4 sharing!

over 1 year ago ·
237

The Tag package for Sublime Text, provides many HTML tools, and one of the most interesting ones is the Close Tag, that automatically closes the current tag by just typying </.

Example: <a>something</

over 1 year ago ·
1535

On a mac it's Alt + Cmd + .

over 1 year ago ·
2746

@leech exactly ...

over 1 year ago ·
5201

Nice one. Thanks for sharing

over 1 year ago ·
5293

Useful, thanks for sharing this!

over 1 year ago ·