transformation supported for snippets

This commit is contained in:
Zhang Chiyuan
2008-03-07 11:09:08 +00:00
parent fcbd79ca21
commit 06c08dded4
2 changed files with 32 additions and 5 deletions

13
snippets/objc-mode/prop Normal file
View File

@@ -0,0 +1,13 @@
#name : foo { ... } ; setFoo { ... }
# --
- (${1:id})${2:foo}
{
return $2;
}
- (void)set${2:$(capitalize text)}:($1)aValue
{
[$2 autorelease];
$2 = [aValue retain];
}
$0