Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Add abstract tag, try autocomplete tags

  • Loading branch information...
commit 01f5c5f442c372fa848aac89ad034e8bfcf4d530 1 parent bcbe543
Loren Segal authored June 10, 2008
21  Preferences/Complete: Tags.tmPreferences
... ...
@@ -0,0 +1,21 @@
  1
+<?xml version="1.0" encoding="UTF-8"?>
  2
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
  3
+<plist version="1.0">
  4
+<dict>
  5
+	<key>name</key>
  6
+	<string>Complete: Tags</string>
  7
+	<key>scope</key>
  8
+	<string>comment.line.number-sign.ruby</string>
  9
+	<key>settings</key>
  10
+	<dict>
  11
+		<key>completionCommand</key>
  12
+		<string>#!/usr/bin/env ruby
  13
+                          require "yard"
  14
+                          puts YARD::Tags::Library.labels.keys.map {|x| x.to_s }.join(" ")</string>
  15
+		<key>disableDefaultCompletion</key>
  16
+		<integer>1</integer>
  17
+	</dict>
  18
+	<key>uuid</key>
  19
+	<string>4DA00FEA-56BB-4C69-91B7-29DF70184035</string>
  20
+</dict>
  21
+</plist>
16  Snippets/Abstract.tmSnippet
... ...
@@ -0,0 +1,16 @@
  1
+<?xml version="1.0" encoding="UTF-8"?>
  2
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
  3
+<plist version="1.0">
  4
+<dict>
  5
+	<key>content</key>
  6
+	<string>@abstract </string>
  7
+	<key>name</key>
  8
+	<string>Abstract</string>
  9
+	<key>scope</key>
  10
+	<string>comment.line.number-sign.ruby</string>
  11
+	<key>tabTrigger</key>
  12
+	<string>abs</string>
  13
+	<key>uuid</key>
  14
+	<string>8AD5C547-4237-467E-9133-4A9E950B096B</string>
  15
+</dict>
  16
+</plist>
2  Snippets/alias.tmSnippet
@@ -3,7 +3,7 @@
3 3
 <plist version="1.0">
4 4
 <dict>
5 5
 	<key>content</key>
6  
-	<string>@alias $0</string>
  6
+	<string>@alias </string>
7 7
 	<key>name</key>
8 8
 	<string>Alias Of</string>
9 9
 	<key>scope</key>
2  Snippets/api.tmSnippet
@@ -3,7 +3,7 @@
3 3
 <plist version="1.0">
4 4
 <dict>
5 5
 	<key>content</key>
6  
-	<string>@api ${1:[public, semi-public, private]}</string>
  6
+	<string>@api ${1:[public, package, private]}</string>
7 7
 	<key>name</key>
8 8
 	<string>API</string>
9 9
 	<key>scope</key>
2  Snippets/calls.tmSnippet
@@ -3,7 +3,7 @@
3 3
 <plist version="1.0">
4 4
 <dict>
5 5
 	<key>content</key>
6  
-	<string>@calls $0</string>
  6
+	<string>@calls </string>
7 7
 	<key>name</key>
8 8
 	<string>Calls Method</string>
9 9
 	<key>scope</key>
2  info.plist
@@ -17,6 +17,7 @@
17 17
 			<dict>
18 18
 				<key>items</key>
19 19
 				<array>
  20
+					<string>8AD5C547-4237-467E-9133-4A9E950B096B</string>
20 21
 					<string>A537FD23-3EFA-48CF-AE22-714C1A134940</string>
21 22
 					<string>2C841751-10DF-4B94-B83A-7F1C15280FCF</string>
22 23
 					<string>3741FD89-32A7-4F23-8639-4043B17B3412</string>
@@ -42,6 +43,7 @@
42 43
 	<string>YARD</string>
43 44
 	<key>ordering</key>
44 45
 	<array>
  46
+		<string>8AD5C547-4237-467E-9133-4A9E950B096B</string>
45 47
 		<string>A537FD23-3EFA-48CF-AE22-714C1A134940</string>
46 48
 		<string>2C841751-10DF-4B94-B83A-7F1C15280FCF</string>
47 49
 		<string>3741FD89-32A7-4F23-8639-4043B17B3412</string>

0 notes on commit 01f5c5f

Please sign in to comment.
Something went wrong with that request. Please try again.