-
Notifications
You must be signed in to change notification settings - Fork 4
/
tomdoc.cson
54 lines (50 loc) · 1.09 KB
/
tomdoc.cson
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# TomDoc comment snippet http://tomdoc.org/
#
# Examples
#
# tom<tab>
# tomm<tab>
# tomc<tab>
# tomi<tab>
# toma<tab>
#
".source.coffee, .source.ruby" :
"Tomdoc method skeleton" :
"prefix": "tom"
"body": """
# ${1:Public Internal Deprecated}: ${2:description}.
#
# ${3:argument} - ${4:argument description}
#
# Examples
#
# ${5:example}
#
# ${6:returns/raises section}
"""
"Tomdoc class/module skeleton":
"prefix": "tomm"
"body": """
# ${1:Public Internal Deprecated}: ${2:description}.
#
# Examples
#
# ${3:example}
"""
"Tomdoc constant skeleton":
"prefix": "tomc"
"body": """
# ${1:Public Internal Deprecated}: ${2:description}.
"""
"Tomdoc constructor skeleton":
"prefix": "tomi"
"body": """
# ${1:Public Internal Deprecated}: ${2:description}.
#
# ${3:argument} - ${4:argument description}
"""
"Tomdoc attribute skeleton":
"prefix": "toma"
"body": """
# ${1:Public Internal Deprecated}: ${2:Gets/Sets property}.
"""