Permalink
Browse files

Added action and outlet snippets

  • Loading branch information...
1 parent 814655f commit cf4b5985052852346ef133325092d297ceefc967 @luuse luuse committed with Dec 12, 2009
Showing with 40 additions and 1 deletion.
  1. +19 −0 Snippets/Action.tmSnippet
  2. +16 −0 Snippets/Outlet.tmSnippet
  3. +5 −1 info.plist
View
19 Snippets/Action.tmSnippet
@@ -0,0 +1,19 @@
+<?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>- (@action)${1:doSomething}:(id)sender
+{
+ $3
+}</string>
+ <key>name</key>
+ <string>Action</string>
+ <key>scope</key>
+ <string>source.js.objj</string>
+ <key>tabTrigger</key>
+ <string>ac</string>
+ <key>uuid</key>
+ <string>951F3031-D14B-4CB9-AD59-5D85D53EEDB0</string>
+</dict>
+</plist>
View
16 Snippets/Outlet.tmSnippet
@@ -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>@outlet ${1:CPTextField} ${2:text};</string>
+ <key>name</key>
+ <string>Outlet</string>
+ <key>scope</key>
+ <string>source.js.objj</string>
+ <key>tabTrigger</key>
+ <string>ot</string>
+ <key>uuid</key>
+ <string>E7D76CC0-3C64-4879-B935-1E24E8D543B2</string>
+</dict>
+</plist>
View
6 info.plist
@@ -104,14 +104,18 @@
<dict>
<key>items</key>
<array>
- <string>74D1015F-D379-435B-87DD-187087CBBBE8</string>
+ <string>951F3031-D14B-4CB9-AD59-5D85D53EEDB0</string>
+ <string>E7D76CC0-3C64-4879-B935-1E24E8D543B2</string>
+ <string>------------------------------------</string>
<string>D01EA8CC-C1C6-49AD-83FD-99A4D7FAE230</string>
<string>EFF53DCE-BA90-4641-B6BB-044C80E8BAFC</string>
<string>3C170916-F58D-4CB8-9F8A-8A2CB7D10B67</string>
+ <string>------------------------------------</string>
<string>4BF6588D-DAE5-436A-9869-F610DE4CD9BC</string>
<string>06743940-B13B-4D58-ADAB-7739DBC44BA8</string>
<string>A8093797-EE12-407A-B541-B773A812AFA1</string>
<string>A6DB5172-C3D4-4CFE-ADDD-75221402C1A3</string>
+ <string>------------------------------------</string>
<string>722E4F60-483A-493E-B887-063F1595D173</string>
<string>0B77AF3E-D6F4-4201-AFA9-BD6003E5F44B</string>
<string>EC56EC3D-E3F8-46A4-BEFD-B8934962B1E9</string>

0 comments on commit cf4b598

Please sign in to comment.