Permalink
Browse files

Thrift: add service snippet

git-svn-id: http://svn.textmate.org/trunk/Bundles/Thrift.tmbundle@10088 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
  • Loading branch information...
1 parent 9ce722d commit cd600447e5dbd8cb7b78896b014d6b71bf6b603a @kballard kballard committed Jul 1, 2008
Showing with 20 additions and 0 deletions.
  1. +18 −0 Snippets/service.tmSnippet
  2. +2 −0 info.plist
View
18 Snippets/service.tmSnippet
@@ -0,0 +1,18 @@
+<?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>service ${1:Name} ${2/.+/extends /m}${2:Super} {
+ ${3:void} ${4:method}(${5:args})
+}</string>
+ <key>name</key>
+ <string>service</string>
+ <key>scope</key>
+ <string>source.thrift -meta</string>
+ <key>tabTrigger</key>
+ <string>ser</string>
+ <key>uuid</key>
+ <string>90593423-A61F-4BAF-8368-EFA79DC347E1</string>
+</dict>
+</plist>
View
2 info.plist
@@ -30,12 +30,14 @@
<key>ordering</key>
<array>
<string>9E5704AC-54ED-4D7C-946C-6DC3727BDC4C</string>
+ <string>90593423-A61F-4BAF-8368-EFA79DC347E1</string>
<string>FA5FBCA2-12D6-4C3B-A9A0-5B9C9AD141AD</string>
<string>908FD647-26E2-4A8E-BBC9-084233EFA5B7</string>
<string>9240E318-0643-4BF7-8EBA-DD947C8CB7B9</string>
<string>C1341136-77B4-433A-A17D-C0ECE06A3402</string>
<string>C334A09A-D090-4EC1-AD14-23FB9AF4D287</string>
<string>841E598E-C872-4A98-A4D5-F13272F51B6F</string>
+ <string>4B087906-E44D-48BF-8601-2BB95E285CAF</string>
</array>
<key>uuid</key>
<string>503C9BCE-892F-420D-86B5-B6B8E34F6742</string>

0 comments on commit cd60044

Please sign in to comment.