Sublime Forum

CloseTagCommand โ€” closes closest unclosed tag

#21

Thank you all for finding it useful! :smile:

@voxmea Thanks for the code fix! In what situation did you get the extra closing โ€˜>โ€™? (I have not been able to reproduce the behavior.)

0 Likes

#22

@wastek If I had more than one open tag (maybe on the same line?) I would get an extra closing โ€˜>โ€™.

0 Likes

#23

Fixed a bug in โ€œCloseTagOnSlashCommandโ€ where nested tags of same type resulted in one of the tags being treated as open even if it was closed. See github.com/kihlstrom/CloseTagOnSlash for the latest version.

@voxmea Thank you! I hope the bug you found is gone as well now. If not please send me a message.

0 Likes

#24

Awesome! This is now included in Sublime since version 2111.

0 Likes

#25

How come I canโ€™t install this from the package manager?

0 Likes

#26

It is called โ€œtagโ€ plugin

0 Likes