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!
Written by Haralan Dobrev
Related protips
6 Responses

nice one - thx 4 sharing!
over 1 year ago
·

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
·

On a mac it's Alt + Cmd + .
over 1 year ago
·
@leech exactly ...
over 1 year ago
·

Nice one. Thanks for sharing
over 1 year ago
·
Useful, thanks for sharing this!
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Sublime text
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#