#6265
zhouzh2
Participant

Do you have any plan to make the snippet plug-in more powerful (like TextMate’s bundle system):

Type

for[TAB] 

get:

for (unsigned int i = 0; i < count; i ++) 
{
^
}

The first Tab stays on “unsigned int”, a second Tab stays on “i”, if you change “i” to “idx”, then the following “i”s changes to “idx” too. A third Tab go to “count”, a fourth tab let the cursor goes to “^”‘s position and close snippet mode therefore you can insert Tab normally.

I just tested TextMate on my friend’s computer and this so-called “bundle” is quite amazing.