Permalink
Browse files

cleaned up snippets to change where tabbing ended and reduce unnecess…

…ary braces, added some new snippets, and reorganized list in gear menu
  • Loading branch information...
Jason Sallis
Jason Sallis committed Oct 7, 2008
1 parent 2261f36 commit 54cb5fc317483313f7e3a3c72248afd786e98bc2
Showing with 89 additions and 54 deletions.
  1. +1 −1 Snippets/@abstract.tmSnippet
  2. +1 −1 Snippets/@copyright.tmSnippet
  3. +1 −1 Snippets/@discussion.tmSnippet
  4. +1 −1 Snippets/@file.tmSnippet
  5. +1 −1 Snippets/@header.tmSnippet
  6. +1 −1 Snippets/@info.tmSnippet
  7. +1 −1 Snippets/array.tmSnippet
  8. +1 −1 Snippets/assert_equal.tmSnippet
  9. +1 −1 Snippets/assert_false.tmSnippet
  10. +1 −1 Snippets/assert_greater_than.tmSnippet
  11. +1 −1 Snippets/assert_in_delta.tmSnippet
  12. +1 −1 Snippets/assert_less_than.tmSnippet
  13. +1 −1 Snippets/assert_not_equal.tmSnippet
  14. +1 −1 Snippets/assert_throws.tmSnippet
  15. +1 −1 Snippets/assert_true.tmSnippet
  16. +1 −3 Snippets/case.tmSnippet
  17. +1 −1 Snippets/cmethod.tmSnippet
  18. +1 −3 Snippets/cond.tmSnippet
  19. +1 −1 Snippets/dict.tmSnippet
  20. +16 −0 Snippets/else.tmSnippet
  21. +1 −1 Snippets/eval.tmSnippet
  22. +1 −1 Snippets/for.tmSnippet
  23. +1 −1 Snippets/global.tmSnippet
  24. +1 −1 Snippets/if.tmSnippet
  25. +2 −2 Snippets/if:else.tmSnippet
  26. +1 −1 Snippets/if:then.tmSnippet
  27. +2 −2 Snippets/init.tmSnippet
  28. +1 −1 Snippets/ivar-accessors.tmSnippet
  29. +1 −1 Snippets/ivar.tmSnippet
  30. +1 −1 Snippets/ivars.tmSnippet
  31. +1 −1 Snippets/let.tmSnippet
  32. +1 −1 Snippets/list.tmSnippet
  33. +1 −1 Snippets/load.tmSnippet
  34. +1 −1 Snippets/macro.tmSnippet
  35. +1 −1 Snippets/parse.tmSnippet
  36. +1 −1 Snippets/puts.tmSnippet
  37. +1 −1 Snippets/quote.tmSnippet
  38. +1 −1 Snippets/raise exception.tmSnippet
  39. +1 −1 Snippets/return.tmSnippet
  40. +1 −1 Snippets/set.tmSnippet
  41. +1 −1 Snippets/setup.tmSnippet
  42. +1 −1 Snippets/synchronized.tmSnippet
  43. +1 −1 Snippets/system.tmSnippet
  44. +1 −1 Snippets/teardown.tmSnippet
  45. +1 −1 Snippets/try.tmSnippet
  46. +1 −1 Snippets/unless.tmSnippet
  47. +1 −1 Snippets/until.tmSnippet
  48. +16 −0 Snippets/var.tmSnippet
  49. +1 −1 Snippets/while.tmSnippet
  50. +8 −1 info.plist
@@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
<string>;; @abstract $1</string>
<string>;; @abstract $0</string>
<key>name</key>
<string>@abstract</string>
<key>scope</key>
@@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
<string>;; @copyright $1</string>
<string>;; @copyright $0</string>
<key>name</key>
<string>@copyright</string>
<key>scope</key>
@@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
<string>;; @discussion $1</string>
<string>;; @discussion $0</string>
<key>name</key>
<string>@discussion</string>
<key>scope</key>
View
@@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
<string>;; @file $1</string>
<string>;; @file $0</string>
<key>name</key>
<string>@file</string>
<key>scope</key>
@@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
<string>;; @header $1</string>
<string>;; @header $0</string>
<key>name</key>
<string>@header</string>
<key>scope</key>
View
@@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
<string>;; @info $1</string>
<string>;; @info $0</string>
<key>name</key>
<string>@info</string>
<key>scope</key>
View
@@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
<string>(array $1)$0</string>
<string>(array $0)</string>
<key>name</key>
<string>array</string>
<key>scope</key>
@@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
<string>(assert_equal ${1:first} ${2:second})$0</string>
<string>(assert_equal ${1:first} ${0:second})</string>
<key>name</key>
<string>assert_equal</string>
<key>scope</key>
@@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
<string>(assert_false $1)$0</string>
<string>(assert_false $0)</string>
<key>name</key>
<string>assert_false</string>
<key>scope</key>
@@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
<string>(assert_greater_than ${1:first} ${2:second})$0</string>
<string>(assert_greater_than ${1:first} ${0:second})</string>
<key>name</key>
<string>assert_greater_than</string>
<key>scope</key>
@@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
<string>(assert_in_delta ${1:first} ${2:second} ${3:delta})$0</string>
<string>(assert_in_delta ${1:first} ${2:second} ${0:delta})</string>
<key>name</key>
<string>assert_in_delta</string>
<key>scope</key>
@@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
<string>(assert_less_than ${1:first} ${2:second})$0</string>
<string>(assert_less_than ${1:first} ${0:second})</string>
<key>name</key>
<string>assert_less_than</string>
<key>scope</key>
@@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
<string>(assert_not_equal ${1:first} ${2:second})$0</string>
<string>(assert_not_equal ${1:first} ${0:second})</string>
<key>name</key>
<string>assert_not_equal</string>
<key>scope</key>
@@ -5,7 +5,7 @@
<key>content</key>
<string>(assert_throws "$1"
(do ($2)
($3)))$0</string>
$0))</string>
<key>name</key>
<string>assert_throws</string>
<key>scope</key>
@@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
<string>(assert_true $1)$0</string>
<string>(assert_true $0)</string>
<key>name</key>
<string>assert_true</string>
<key>scope</key>
View
@@ -4,9 +4,7 @@
<dict>
<key>content</key>
<string>(case ${1:expression}
(${2:first} ($3))
(${4:second} ($5))
(else ($6)))$0</string>
(${2:first} $0))</string>
<key>name</key>
<string>case</string>
<key>scope</key>
@@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
<string>(cmethod (${1:id}) ${2:name}${3::(${4:id})${5:${4/(NS([AEIOQUY])?(\w+).*)|(.)?.*/(?1:a(?2:n$2)$3: (?4:anArgument))/}}} is
<string>(cmethod (${1:id}) ${2:name}${3::(${4:id})${5:${4/(NS([AEIOQUY])?(\w+).*)|(.)?.*/(?1:a(?2:n$2)$3: (?4:anArgument))/}}}is
$0)</string>
<key>name</key>
<string>cmethod</string>
View
@@ -3,9 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
<string>(cond ((${1:first}) ($2))
((${3:second}) ($4))
(else ($5)))$0</string>
<string>(cond ((${1:first}) $0))</string>
<key>name</key>
<string>cond</string>
<key>scope</key>
View
@@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
<string>(dict $1)$0</string>
<string>(dict $0)</string>
<key>name</key>
<string>dict</string>
<key>scope</key>
View
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>content</key>
<string>(else $0)</string>
<key>name</key>
<string>else</string>
<key>scope</key>
<string>source.nu</string>
<key>tabTrigger</key>
<string>else</string>
<key>uuid</key>
<string>3792ECBA-AA86-4EE7-85A5-905C3F5617CD</string>
</dict>
</plist>
View
@@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
<string>(eval ($1))$0</string>
<string>(eval ($0))</string>
<key>name</key>
<string>eval</string>
<key>scope</key>
View
@@ -4,7 +4,7 @@
<dict>
<key>content</key>
<string>(for ((${1:initialize}) (${2:test}) (${3:modify}))
$4)$0</string>
$0)</string>
<key>name</key>
<string>for</string>
<key>scope</key>
@@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
<string>(global ${1:symbol} ${2:value})$0</string>
<string>(global ${1:symbol} ${0:value})</string>
<key>name</key>
<string>global</string>
<key>scope</key>
View
@@ -4,7 +4,7 @@
<dict>
<key>content</key>
<string>(if ($1)
($2))$0</string>
$0)</string>
<key>name</key>
<string>if</string>
<key>scope</key>
@@ -4,8 +4,8 @@
<dict>
<key>content</key>
<string>(if ($1)
($2)
(else ($3)))$0</string>
$2
(else $0))</string>
<key>name</key>
<string>if/else</string>
<key>scope</key>
@@ -4,7 +4,7 @@
<dict>
<key>content</key>
<string>(if ($1)
(then ($2)))$0</string>
(then $0))</string>
<key>name</key>
<string>if/then</string>
<key>scope</key>
View
@@ -5,8 +5,8 @@
<key>content</key>
<string>(${1:imethod} (id) init is
(super init)
$2
(return self))$0</string>
$0
(return self))</string>
<key>name</key>
<string>init</string>
<key>scope</key>
@@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
<string>(ivar-accessors)$0</string>
<string>(ivar-accessors)</string>
<key>name</key>
<string>ivar-accessors</string>
<key>scope</key>
View
@@ -4,7 +4,7 @@
<dict>
<key>content</key>
<string>(ivar (${1:id}) ${2:name}
$3)$0</string>
$0)</string>
<key>name</key>
<string>ivar</string>
<key>scope</key>
View
@@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
<string>(ivars)$0</string>
<string>(ivars)</string>
<key>name</key>
<string>ivars</string>
<key>scope</key>
View
@@ -4,7 +4,7 @@
<dict>
<key>content</key>
<string>(let ($1)
($2))$0</string>
$0)</string>
<key>name</key>
<string>let</string>
<key>scope</key>
View
@@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
<string>(list $1)$0</string>
<string>(list $0)</string>
<key>name</key>
<string>list</string>
<key>scope</key>
View
@@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
<string>(load "${1}")$0</string>
<string>(load "${0}")</string>
<key>name</key>
<string>load</string>
<key>scope</key>
View
@@ -4,7 +4,7 @@
<dict>
<key>content</key>
<string>(macro ${1:name}
$2)$0</string>
$0)</string>
<key>name</key>
<string>macro</string>
<key>scope</key>
View
@@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
<string>(parse "($1)")$0</string>
<string>(parse "($0)")</string>
<key>name</key>
<string>parse</string>
<key>scope</key>
View
@@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
<string>(puts $1)$0</string>
<string>(puts $0)</string>
<key>name</key>
<string>puts</string>
<key>scope</key>
View
@@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
<string>(quote ($1))$0</string>
<string>(quote ($0))</string>
<key>name</key>
<string>quote</string>
<key>scope</key>
@@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
<string>(NSException raise:"$1" format:"$2")</string>
<string>(NSException raise:"$1" format:"$0")</string>
<key>name</key>
<string>raise exception</string>
<key>scope</key>
@@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
<string>(return $1)$0</string>
<string>(return $0)</string>
<key>name</key>
<string>return</string>
<key>scope</key>
View
@@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
<string>(set ${1:symbol} ${2:value})$0</string>
<string>(set ${1:symbol} ${0:value})</string>
<key>name</key>
<string>set</string>
<key>scope</key>
View
@@ -4,7 +4,7 @@
<dict>
<key>content</key>
<string>(imethod (id) setup is
$2)$0</string>
$0)</string>
<key>name</key>
<string>setup</string>
<key>scope</key>
@@ -4,7 +4,7 @@
<dict>
<key>content</key>
<string>(synchronized ${1:object}
($2))$0</string>
$0)</string>
<key>name</key>
<string>synchronized</string>
<key>scope</key>
Oops, something went wrong.

0 comments on commit 54cb5fc

Please sign in to comment.