f9coga
Last Updated: January 12, 2018
·
5.813K
· 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!

Say Thanks
Respond

6 Responses
Add your response

7
D0cf05706db596593805f89b201708fd

nice one - thx 4 sharing!

over 1 year ago ·
237
Yo nueva

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
Default profile 5 normal

On a mac it's Alt + Cmd + .

over 1 year ago ·
2746

@leech exactly ...

over 1 year ago ·
5201
208bdc1223b97f8c24d0b73ed79cfd22

Nice one. Thanks for sharing

over 1 year ago ·
5293

Useful, thanks for sharing this!

over 1 year ago ·