Sublime Forum

Class plugin Sublime Text 2

#1

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?

0 Likes

#2

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

hope it helps :wink:

0 Likes

#3

[quote=“Orlmente”]I think you are looking for Emmet (formerly ZenCoding): emmet.io/

hope it helps :wink:[/quote]

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:

<div <div id="">

What I want is when I have this:

<div #>

and when I now hit tab when my cursor is behind the # or . then I want this:

<div id="">[/code] or [code]<div class="">

and the cursor between de double quotes.

And I know that there was a plugin for that in the past.

0 Likes