#6270

jonhutch24
Member

zhouzh2 wrote:
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.

This feature has be requested for some time now. But please feel free to keep hounding them about it! Hopefully we can get enough people to push it then he’ll implement it 🙂