Home Download Buy Blog Forum Support

Class plugin Sublime Text 2

Class plugin Sublime Text 2

Postby jonkerh on Thu Mar 27, 2014 11:00 am

Hello,

Once I had a plugin with which the following was;

When I insert a . (dot) in a tag and hit tab it converts to class="" end move the cursor into double quotes, also when I insert a # in a tag and hit tab it converts to an id="" and moves the cursor.

But I lost that plugin, does somebody know where I can find it or what its called?
jonkerh
 
Posts: 2
Joined: Thu Mar 27, 2014 10:54 am

Re: Class plugin Sublime Text 2

Postby Orlmente on Thu Mar 27, 2014 2:49 pm

I think you are looking for Emmet (formerly ZenCoding): http://emmet.io/

hope it helps ;)
Orlmente
 
Posts: 116
Joined: Mon Mar 18, 2013 12:37 pm

Re: Class plugin Sublime Text 2

Postby jonkerh on Thu Mar 27, 2014 4:31 pm

Orlmente wrote:I think you are looking for Emmet (formerly ZenCoding): http://emmet.io/

hope it helps ;)



I'm sorry but Emmet doesn't do the job for me.

When I am in a tag (I mean in between the < >) and type a # and hit tab then a become the following code:

Code: Select all
<div <div id="">


What I want is when I have this:
Code: Select all
<div #>

and when I now hit tab when my cursor is behind the # or . then I want this:
Code: Select all
<div id="">
or
Code: Select all
<div class="">

and the cursor between de double quotes.

And I know that there was a plugin for that in the past.
jonkerh
 
Posts: 2
Joined: Thu Mar 27, 2014 10:54 am


Return to General Discussion

Who is online

Users browsing this forum: Google [Bot] and 31 guests