Permalink
Browse files

Update commands for latest YARD tags.

  • Loading branch information...
Alexander Kern
Alexander Kern committed Aug 27, 2011
1 parent 01f5c5f commit 337dac4c9aa220818d727103ffed2f338cae16de
@@ -0,0 +1,26 @@
+<?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>beforeRunningCommand</key>
+ <string>nop</string>
+ <key>command</key>
+ <string>#!/usr/bin/env ruby
+
+/^\s*#(\s+)/ =~ ENV['TM_CURRENT_LINE']
+puts
+print "##{$1}"</string>
+ <key>input</key>
+ <string>none</string>
+ <key>keyEquivalent</key>
+ <string></string>
+ <key>name</key>
+ <string>Continue Comments</string>
+ <key>output</key>
+ <string>insertAsSnippet</string>
+ <key>scope</key>
+ <string>comment.line.number-sign.ruby</string>
+ <key>uuid</key>
+ <string>FA8F1197-8CBA-4A78-BEB7-731165579D27</string>
+</dict>
+</plist>
@@ -1,32 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
- <key>beforeRunningCommand</key>
- <string>nop</string>
- <key>command</key>
- <string>#!/usr/bin/ruby
-
-comments = &lt;&lt;-"end-comment"
-##
-# $0
-#
-# @author $USER
-end-comment
-print comments.chomp</string>
- <key>fallbackInput</key>
- <string>none</string>
- <key>input</key>
- <string>none</string>
- <key>name</key>
- <string>Start Comments</string>
- <key>output</key>
- <string>insertAsSnippet</string>
- <key>scope</key>
- <string>source.ruby</string>
- <key>tabTrigger</key>
- <string>##</string>
- <key>uuid</key>
- <string>11314DEC-DEC2-4F8C-BC58-C5484D9651B9</string>
-</dict>
-</plist>
@@ -3,17 +3,14 @@
<plist version="1.0">
<dict>
<key>content</key>
- <string>
-# </string>
- <key>keyEquivalent</key>
- <string></string>
+ <string>@attribute [${1:[rw, r, w]}] ${2:name}</string>
<key>name</key>
- <string>New Comment Line</string>
+ <string>DSL Attribute</string>
<key>scope</key>
<string>comment.line.number-sign.ruby</string>
<key>tabTrigger</key>
- <string>source.ruby</string>
+ <string>attribute</string>
<key>uuid</key>
- <string>B8AD763C-830B-4A5B-AD40-5E7B90C83F0A</string>
+ <string>BCF492CA-005D-4745-B4DD-044963208F36</string>
</dict>
</plist>
@@ -3,14 +3,14 @@
<plist version="1.0">
<dict>
<key>content</key>
- <string>@category ${0:categories}</string>
+ <string>@method ${1:signature}</string>
<key>name</key>
- <string>Categories</string>
+ <string>DSL Method</string>
<key>scope</key>
<string>comment.line.number-sign.ruby</string>
<key>tabTrigger</key>
- <string>cat</string>
+ <string>method</string>
<key>uuid</key>
- <string>CB762D11-43B1-446A-8548-7A39581A9A89</string>
+ <string>7B28AFB3-D02A-442A-AF76-6ABDCB6E1F63</string>
</dict>
</plist>
@@ -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>@scope ${1:[class, instance]}</string>
+ <key>name</key>
+ <string>DSL Scope</string>
+ <key>scope</key>
+ <string>comment.line.number-sign.ruby</string>
+ <key>tabTrigger</key>
+ <string>scope</string>
+ <key>uuid</key>
+ <string>0C4D9C7C-A54C-4FDE-BA19-BD284F9C50C5</string>
+</dict>
+</plist>
@@ -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>@visibility ${1:[public, private, protected]}</string>
+ <key>name</key>
+ <string>DSL Visibility</string>
+ <key>scope</key>
+ <string>comment.line.number-sign.ruby</string>
+ <key>tabTrigger</key>
+ <string>version</string>
+ <key>uuid</key>
+ <string>88502108-3E29-4986-96EE-7C109C022125</string>
+</dict>
+</plist>
View
@@ -0,0 +1,17 @@
+<?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>@macro [${1:[new, attached]}] ${2:name}
+# ${3:content}</string>
+ <key>name</key>
+ <string>Macro</string>
+ <key>scope</key>
+ <string>comment.line.number-sign.ruby</string>
+ <key>tabTrigger</key>
+ <string>macro</string>
+ <key>uuid</key>
+ <string>E9393745-5DB1-4106-ACB4-D729285AF5DF</string>
+</dict>
+</plist>
@@ -3,14 +3,14 @@
<plist version="1.0">
<dict>
<key>content</key>
- <string>@calls </string>
+ <string>@note ${1:description}</string>
<key>name</key>
- <string>Calls Method</string>
+ <string>Note</string>
<key>scope</key>
<string>comment.line.number-sign.ruby</string>
<key>tabTrigger</key>
- <string>calls</string>
+ <string>note</string>
<key>uuid</key>
- <string>E05CA577-3978-4591-9AE9-B723ACA4EC47</string>
+ <string>AD11F245-AD7D-4605-9194-0C2D1B2BE56C</string>
</dict>
</plist>
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>@option ${1:argument} [${2:types}] ${3:key} ${4:description}</string>
+ <key>name</key>
+ <string>Option</string>
+ <key>scope</key>
+ <string>comment.line.number-sign.ruby</string>
+ <key>tabTrigger</key>
+ <string>opt</string>
+ <key>uuid</key>
+ <string>C426210A-EDAF-49E7-9B90-641E5D3D3547</string>
+</dict>
+</plist>
@@ -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>@overload ${1:name}
+# ${2:description}
+# $3</string>
+ <key>name</key>
+ <string>Overload</string>
+ <key>scope</key>
+ <string>comment.line.number-sign.ruby</string>
+ <key>tabTrigger</key>
+ <string>overload</string>
+ <key>uuid</key>
+ <string>6DF6049E-2CF0-4BD0-9753-3685D746D6F7</string>
+</dict>
+</plist>
@@ -3,14 +3,14 @@
<plist version="1.0">
<dict>
<key>content</key>
- <string>@alias </string>
+ <string>@private</string>
<key>name</key>
- <string>Alias Of</string>
+ <string>Private</string>
<key>scope</key>
<string>comment.line.number-sign.ruby</string>
<key>tabTrigger</key>
- <string>alias</string>
+ <string>private</string>
<key>uuid</key>
- <string>A537FD23-3EFA-48CF-AE22-714C1A134940</string>
+ <string>97914362-E9F4-4B44-87C7-7C93FFEC30BE</string>
</dict>
</plist>
@@ -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>@attr_reader [${1:types}] ${2:name} ${3:description}</string>
+ <key>name</key>
+ <string>Struct Attribute Reader</string>
+ <key>scope</key>
+ <string>comment.line.number-sign.ruby</string>
+ <key>tabTrigger</key>
+ <string>attrr</string>
+ <key>uuid</key>
+ <string>9C51AD4D-B208-476B-877E-C64C11AF1938</string>
+</dict>
+</plist>
@@ -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>@attr_writer [${1:types}] ${2:name} ${3:description}</string>
+ <key>name</key>
+ <string>Struct Attribute Writer</string>
+ <key>scope</key>
+ <string>comment.line.number-sign.ruby</string>
+ <key>tabTrigger</key>
+ <string>attrw</string>
+ <key>uuid</key>
+ <string>24378A01-E5C5-41FE-B6D7-C2314D55F351</string>
+</dict>
+</plist>
@@ -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>@attr [${1:types}] ${2:name} ${3:description}</string>
+ <key>name</key>
+ <string>Struct Attribute</string>
+ <key>scope</key>
+ <string>comment.line.number-sign.ruby</string>
+ <key>tabTrigger</key>
+ <string>attr</string>
+ <key>uuid</key>
+ <string>9409018A-F864-465F-A05D-6C1F0AFD2707</string>
+</dict>
+</plist>
View
@@ -0,0 +1,17 @@
+<?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>@todo ${1:title}
+# ${2: ${3:description}}</string>
+ <key>name</key>
+ <string>TODO</string>
+ <key>scope</key>
+ <string>comment.line.number-sign.ruby</string>
+ <key>tabTrigger</key>
+ <string>since</string>
+ <key>uuid</key>
+ <string>E831763F-05E7-48E3-B89A-839C59489A5D</string>
+</dict>
+</plist>
@@ -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>@yieldreturn [${1:types}] ${3:Description}</string>
+ <key>name</key>
+ <string>Yields Return</string>
+ <key>scope</key>
+ <string>comment.line.number-sign.ruby</string>
+ <key>tabTrigger</key>
+ <string>yreturn</string>
+ <key>uuid</key>
+ <string>A4A3DD53-E89D-436A-9FBC-A365C940A152</string>
+</dict>
+</plist>
View
@@ -3,13 +3,14 @@
<plist version="1.0">
<dict>
<key>content</key>
- <string>@demo ${1:spec/$0}</string>
+ <string>@example ${1:title}
+# ${2:example}</string>
<key>name</key>
- <string>Demo</string>
+ <string>Example</string>
<key>scope</key>
<string>comment.line.number-sign.ruby</string>
<key>tabTrigger</key>
- <string>demo</string>
+ <string>example</string>
<key>uuid</key>
<string>0D37D210-5B4F-4BFD-AA92-C80CCDD5959D</string>
</dict>
@@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
- <string>@deprecated ${1:Description}</string>
+ <string>@deprecated ${1:description}</string>
<key>name</key>
<string>Deprecated</string>
<key>scope</key>
View
@@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
- <string>@param [${1:Types}] ${2:Name} ${3:Description}</string>
+ <string>@param [${1:types}] ${2:name} ${3:description}</string>
<key>name</key>
<string>Parameter</string>
<key>scope</key>
View
@@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
- <string>@raise [${1:ExceptionClass}] ${3:Description}</string>
+ <string>@raise [${1:exception_class}] ${2:description}</string>
<key>name</key>
<string>Raises Exception</string>
<key>scope</key>
@@ -3,9 +3,9 @@
<plist version="1.0">
<dict>
<key>content</key>
- <string>@return [${1:Types}] ${2:Description}</string>
+ <string>@return [${1:types}] ${2:description}</string>
<key>name</key>
- <string>Returns</string>
+ <string>Return</string>
<key>scope</key>
<string>comment.line.number-sign.ruby</string>
<key>tabTrigger</key>
View
@@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
- <string>@see ${1:Name or URL}</string>
+ <string>@see ${1:name_or_url} ${2:description}</string>
<key>name</key>
<string>See Also</string>
<key>scope</key>
View
@@ -3,9 +3,9 @@
<plist version="1.0">
<dict>
<key>content</key>
- <string>@since ${1:number}</string>
+ <string>@since ${1:version}</string>
<key>name</key>
- <string>Available Since</string>
+ <string>Since</string>
<key>scope</key>
<string>comment.line.number-sign.ruby</string>
<key>tabTrigger</key>
View
@@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
- <string>@yield [${1:parameter names}] ${3:Description}</string>
+ <string>@yield [${1:parameters}] ${2:description}</string>
<key>name</key>
<string>Yields Block</string>
<key>scope</key>
Oops, something went wrong.

0 comments on commit 337dac4

Please sign in to comment.