Home Download Buy Blog Forum Support

Auto tag completion?

Auto tag completion?

Postby vmasto on Sat Jan 07, 2012 2:08 am

Hello, is there an option to have Sublime auto-close HTML tags without pressing alt+. all the time?
vmasto
 
Posts: 3
Joined: Sat Jan 07, 2012 1:45 am

Re: Auto tag completion?

Postby C0D312 on Sat Jan 07, 2012 2:15 am

Check out the Tag package: https://github.com/SublimeText/Tag.

The tag package includes "close tag on slash" which will autoclose tags when you press "</"
C0D312
 
Posts: 1063
Joined: Sun Jul 10, 2011 3:23 am

Re: Auto tag completion?

Postby vmasto on Sat Jan 07, 2012 2:21 am

Hmm that doesn't help much.. The thing is to save time by not having to move the cursor.

type <div> hit return and continue typing inside the tag :)
vmasto
 
Posts: 3
Joined: Sat Jan 07, 2012 1:45 am

Re: Auto tag completion?

Postby senzo on Sat Jan 07, 2012 11:39 am

Type div and hit TAB (or if you are coming from TextMate, install the Tag package and hit "ctrl+<")
senzo
 
Posts: 106
Joined: Tue May 24, 2011 9:17 am


Return to General Discussion

Who is online

Users browsing this forum: bluejohn, jbjornson, xeno.by and 52 guests