Home Download Buy Blog Forum Support

CloseTagOnSlash

CloseTagOnSlash

Postby wastek on Tue Aug 30, 2011 2:28 pm

This is a command for Sublime Text 2 that is meant to be bound to the slash
("/") key in order to auto close open HTML tags.

https://github.com/kihlstrom/CloseTagOnSlash
Last edited by wastek on Sat Nov 12, 2011 8:17 pm, edited 1 time in total.
wastek
 
Posts: 6
Joined: Tue Aug 09, 2011 9:40 pm

Re: CloseTagOnSlash

Postby skaet on Wed Aug 31, 2011 2:11 am

Very handy, thanks!
skaet
 
Posts: 93
Joined: Thu Sep 16, 2010 3:37 pm

Re: CloseTagOnSlash

Postby wastek on Wed Aug 31, 2011 11:25 am

Just commited a new version of the plugin (on github). It now utilizes the close_tag command that was added in build 2111 of Sublime Text 2 (that was released earlier today). Enjoy! :)
wastek
 
Posts: 6
Joined: Tue Aug 09, 2011 9:40 pm

Re: CloseTagOnSlash

Postby wastek on Mon Oct 31, 2011 1:09 pm

wastek
 
Posts: 6
Joined: Tue Aug 09, 2011 9:40 pm

Re: CloseTagOnSlash

Postby tito on Tue Nov 08, 2011 8:15 pm

In an effort to keep packages about HTML/XML tags in a single place, We decided to mix together "Close Tag on Slash", "Tag indent" and a new one "Tag Remove"

To remember:

Close Tag on Slash - Auto Close tags when inserting "/" character.
Tag indent - Apply pretty indent to selections.
Tag Remove - Allows to remove all tags, or some selected tags from documents or selections.

With this version there is some updates to "Close Tag on Slash" to be able to work with multiples selections.

If you already have installed "Close Tag on Slash" or "Tag Indent" please remove these packages and install the new one.

Location is: https://github.com/SublimeText/Tag

Any problem let us know
Regards,
Give APIs, let the community build the rest!
https://github.com/titoBouzout
tito
 
Posts: 864
Joined: Thu Sep 29, 2011 2:27 pm
Location: Montevideo, Uruguay

Re: CloseTagOnSlash

Postby tito on Thu Dec 29, 2011 1:28 pm

Bump
Give APIs, let the community build the rest!
https://github.com/titoBouzout
tito
 
Posts: 864
Joined: Thu Sep 29, 2011 2:27 pm
Location: Montevideo, Uruguay

Re: CloseTagOnSlash

Postby kyprios1 on Sun Oct 21, 2012 11:56 am

I'm using the new (unified) tag plugin.
When auto-formatting, it introduces
  • a new line before and after a link &
  • a space before and a new line after the <sup> tag
Is there a way to change this behaviour through settings or at least by editing the core?
kyprios1
 
Posts: 8
Joined: Sat Nov 05, 2011 11:37 pm


Return to Plugin Announcements

Who is online

Users browsing this forum: gotcha1 and 11 guests