Hi, I've created a simple snippet for C (and friends) that expands "tds" to a typedef'd struct declaration, since I find myself creating those all the time.
The snippet's first tab stop is the name of the struct, including the space before it. If you don't want to give the struct a name, you can just delete it and tab on. The second tab stop is the name of the struct, not including the space before it. This is, obviously, for when you do want to give the struct a name. The third tab stop is the name of the type. By default, it is the name of the struct, but capitalized. The final tab stop is the contents of the struct declaration. And that's all there is to it! Hopefully someone apart from me will find this useful. Regards, Jesper Särnesjö
c-typedef-struct.tar.gz
Description: GNU Zip compressed data
_______________________________________________ textmate-dev mailing list [email protected] http://lists.macromates.com/mailman/listinfo/textmate-dev
