Skip to content

Commit 4bb1a72

Browse files
committed
Typo fixes for all languages
1 parent ca668b7 commit 4bb1a72

File tree

6 files changed

+25
-25
lines changed

6 files changed

+25
-25
lines changed

snippets/c/cdoc.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"prefix": "/**",
44
"body": [
55
"/**",
6-
" * ${1:A one-line summay.}",
6+
" * ${1:A one-line summary.}",
77
" *",
88
" * ${2:Description.}$0",
99
" *",
@@ -21,7 +21,7 @@
2121
"prefix": "/*",
2222
"body": [
2323
"/**",
24-
" * ${1:A one-line summay.}",
24+
" * ${1:A one-line summary.}",
2525
" *",
2626
" * ${2:Description.}$0",
2727
" */"

snippets/cpp/cppdoc.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"prefix": "/**",
44
"body": [
55
"/**",
6-
" * ${1:A one-line summay.}",
6+
" * ${1:A one-line summary.}",
77
" *",
88
" * ${2:Description.}$0",
99
" *",
@@ -21,7 +21,7 @@
2121
"prefix": "/*",
2222
"body": [
2323
"/**",
24-
" * ${1:A one-line summay.}",
24+
" * ${1:A one-line summary.}",
2525
" *",
2626
" * ${2:Description.}$0",
2727
" */"
@@ -56,13 +56,13 @@
5656
"body": [
5757
"@throws ${1:ExceptionName} ${2:Description.}$0"
5858
],
59-
"description": "Indicates the exceptions that can be thrown by a function. This tag is a synonism of @exception."
59+
"description": "Indicates the exceptions that can be thrown by a function. This tag is a synonym of @exception."
6060
},
6161
"@exception": {
6262
"prefix": "@exception",
6363
"body": [
6464
"@exception ${1:ExceptionName} ${2:Description.}$0"
6565
],
66-
"description": "Indicates the exceptions that can be thrown by a function. This tag is a synonism of @throws."
66+
"description": "Indicates the exceptions that can be thrown by a function. This tag is a synonym of @throws."
6767
}
6868
}

snippets/java/javadoc.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"prefix": "/**",
44
"body": [
55
"/**",
6-
" * ${1:A one-line summay.}",
6+
" * ${1:A one-line summary.}",
77
" *",
88
" * ${2:Description.}$0",
99
" *",
@@ -22,7 +22,7 @@
2222
"prefix": "/*",
2323
"body": [
2424
"/**",
25-
" * ${1:A one-line summay.}",
25+
" * ${1:A one-line summary.}",
2626
" *",
2727
" * ${2:Description.}$0",
2828
" */"
@@ -65,14 +65,14 @@
6565
"body": [
6666
"@throws ${1:IOException} ${2:Description.}$0"
6767
],
68-
"description": "Document an exception raised by the item. Synonism of @exception."
68+
"description": "Document an exception raised by the item. Synonym of @exception."
6969
},
7070
"@exception": {
7171
"prefix": "@exception",
7272
"body": [
7373
"@exception ${1:IOException} ${2:Description.}$0"
7474
],
75-
"description": "Document an exception raised by the item. Synonism of @throws."
75+
"description": "Document an exception raised by the item. Synonym of @throws."
7676
},
7777
"@since": {
7878
"prefix": "@since",

snippets/lua/luadoc.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"comment": {
33
"prefix": "---",
44
"body": [
5-
"--- ${1:A one-line summay.}",
5+
"--- ${1:A one-line summary.}",
66
"-- ${2:Description.}$0",
77
"-- @param ${5:name} ${6:type} ${7:Parameter description.}",
88
"-- @return ${3:type} ${4: Description of the returned object.}",
@@ -13,7 +13,7 @@
1313
"comment_simple": {
1414
"prefix": "--",
1515
"body": [
16-
"--- ${1:A one-line summay.}",
16+
"--- ${1:A one-line summary.}",
1717
"-- ${2:Description.}$0"
1818
],
1919
"description": "A simple lua comment with short summary and description. Useful when you prefer to add the tags manually on functions."

snippets/php/phpdoc.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"prefix": "/**",
44
"body": [
55
"/**",
6-
" * ${1:A one-line summay.}",
6+
" * ${1:A one-line summary.}",
77
" *",
88
" * ${2:Description.}$0",
99
" *",
@@ -21,7 +21,7 @@
2121
"prefix": "/*",
2222
"body": [
2323
"/**",
24-
" * ${1:A one-line summay.}",
24+
" * ${1:A one-line summary.}",
2525
" *",
2626
" * ${2:Description.}$0",
2727
" */"
@@ -56,14 +56,14 @@
5656
"body": [
5757
"@throws ${1:ExceptionName} ${2:Description.}$0"
5858
],
59-
"description": "Indicates the exceptions that can be thrown by a function. This tag is a synonism of @exception."
59+
"description": "Indicates the exceptions that can be thrown by a function. This tag is a synonym of @exception."
6060
},
6161
"@exception": {
6262
"prefix": "@exception",
6363
"body": [
6464
"@exception ${1:ExceptionName} ${2:Description.}$0"
6565
],
66-
"description": "Indicates the exceptions that can be thrown by a function. This tag is a synonism of @throws."
66+
"description": "Indicates the exceptions that can be thrown by a function. This tag is a synonym of @throws."
6767
}
6868
}
6969

snippets/python/pydoc.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"prefix": "\"\"\"",
44
"body": [
55
"\"\"\"",
6-
"${1:A one-line summay.}",
6+
"${1:A one-line summary.}",
77
"",
88
"${2:Detailed description.}$0",
99
"",
@@ -18,13 +18,13 @@
1818
" ${7:use_it_this_way(arg1, arg2)}",
1919
"\"\"\""
2020
],
21-
"description": "A Python docstring for functions and methods, including short summary, details, args, returns, and examples. This docstring is an synonism of \"\"\"function."
21+
"description": "A Python docstring for functions and methods, including short summary, details, args, returns, and examples. This docstring is an synonym of \"\"\"function."
2222
},
2323
"comment simple": {
2424
"prefix": "\"\"",
2525
"body": [
2626
"\"\"\"",
27-
"${1:A one-line summay.}",
27+
"${1:A one-line summary.}",
2828
"",
2929
"${2:Detailed description.}$0",
3030
"\"\"\""
@@ -35,7 +35,7 @@
3535
"prefix": "\"\"\"module",
3636
"body": [
3737
"\"\"\"",
38-
"${1:A one-line summay.}",
38+
"${1:A one-line summary.}",
3939
"",
4040
"${2:Detailed description.}$0",
4141
"",
@@ -61,7 +61,7 @@
6161
"prefix": "\"\"\"function",
6262
"body": [
6363
"\"\"\"",
64-
"${1:A one-line summay.}",
64+
"${1:A one-line summary.}",
6565
"",
6666
"${2:Detailed description.}$0",
6767
"",
@@ -82,7 +82,7 @@
8282
"prefix": "\"\"\"function_typed",
8383
"body": [
8484
"\"\"\"",
85-
"${1:A one-line summay.}",
85+
"${1:A one-line summary.}",
8686
"",
8787
"${2:Detailed description.}$0",
8888
"",
@@ -103,7 +103,7 @@
103103
"prefix": "\"\"\"generator",
104104
"body": [
105105
"\"\"\"",
106-
"${1:A one-line summay.}",
106+
"${1:A one-line summary.}",
107107
"",
108108
"${2:Detailed description.}$0",
109109
"",
@@ -124,7 +124,7 @@
124124
"prefix": "\"\"\"class",
125125
"body": [
126126
"\"\"\"",
127-
"${1:A one-line summay.}",
127+
"${1:A one-line summary.}",
128128
"",
129129
"${2:Detailed description.}$0",
130130
"",
@@ -138,7 +138,7 @@
138138
"prefix": "\"\"\"exception",
139139
"body": [
140140
"\"\"\"",
141-
"${1:A one-line summay.}",
141+
"${1:A one-line summary.}",
142142
"",
143143
"${2:Detailed description.}$0",
144144
"",

0 commit comments

Comments
 (0)