Skip to content

Commit d9be748

Browse files
committed
Add an ability to remove an asterisk symbol
1 parent 6af8b4a commit d9be748

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

apiDocAutocompletion.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,27 +9,27 @@
99
class apiDocAutocompletion(sublime_plugin.EventListener):
1010
_suggestions = [
1111
("@api\tapiDoc", "@api {${1:method}} ${2:path} ${3:[title]}"),
12-
("@apiDefine\tapiDoc", "@apiDefine ${1:name} ${2:[title]}\n* ${3:[description]}"),
12+
("@apiDefine\tapiDoc", "@apiDefine ${1:name} ${2:[title]}\n${3:* } ${4:[description]}"),
1313
("@apiDescription\tapiDoc", "@apiDescription ${1:text}"),
1414
("@apiError\tapiDoc", "@apiError ${1:[(group)]} ${2:[{type\}]} ${3:field} ${4:[description]}"),
15-
("@apiErrorExample\tapiDoc", "@apiErrorExample ${1:[{type\}]} ${2:[title]}\n* ${3:example}"),
16-
("@apiExample\tapiDoc", "@apiExample ${1:[{type\}]} ${2:title}\n* ${3:example}"),
15+
("@apiErrorExample\tapiDoc", "@apiErrorExample ${1:[{type\}]} ${2:[title]}\n${3:* }${4:example}"),
16+
("@apiExample\tapiDoc", "@apiExample ${1:[{type\}]} ${2:title}\n${3:* }${4:example}"),
1717
("@apiGroup\tapiDoc", "@apiGroup ${1:name}"),
1818
("@apiHeader\tapiDoc", "@apiHeader ${1:[(group)]} ${2:[{type\}]} ${3:[field=defaultValue]} ${4:[description]}"),
19-
("@apiHeaderExample\tapiDoc", "@apiHeaderExample ${1:[{type\}]} ${2:[title]}\n* ${3:example}"),
19+
("@apiHeaderExample\tapiDoc", "@apiHeaderExample ${1:[{type\}]} ${2:[title]}\n${3:* }${4:example}"),
2020
("@apiIgnore\tapiDoc", "@apiIgnore ${1:[hint]}"),
2121
("@apiName\tapiDoc", "@apiName ${1:name}"),
2222
("@apiParam\tapiDoc", "@apiParam ${1:[(group)]} ${2:[{type\}]} ${3:[field=defaultValue]} ${4:[description]}"),
23-
("@apiParamExample\tapiDoc", "@apiParamExample ${1:[{type\}]} ${2:[title]}\n* ${3:example}"),
23+
("@apiParamExample\tapiDoc", "@apiParamExample ${1:[{type\}]} ${2:[title]}\n${3:* }${4:example}"),
2424
("@apiPermission\tapiDoc", "@apiPermission ${1:name}"),
2525
("@apiSampleRequest\tapiDoc", "@apiSampleRequest ${1:url}"),
2626
("@apiSuccess\tapiDoc", "@apiSuccess ${1:[(group)]} ${2:[{type\}]} ${3:field} ${4:[description]}"),
27-
("@apiSuccessExample\tapiDoc", "@apiSuccessExample ${1:[{type\}]} ${2:[title]}\n* ${3:example}"),
27+
("@apiSuccessExample\tapiDoc", "@apiSuccessExample ${1:[{type\}]} ${2:[title]}\n${3:* }${4:example}"),
2828
("@apiUse\tapiDoc", "@apiUse ${1:name}"),
2929
("@apiVersion\tapiDoc", "@apiVersion ${1:version}"),
3030
("@apiDefineErrorStructure\tapiDoc [deprecated]", "@apiDefineErrorStructure ${1:name}"),
3131
("@apiDefineHeaderStructure\tapiDoc [deprecated]", "@apiDefineHeaderStructure ${1:name}"),
32-
("@apiDefinePermission\tapiDoc [deprecated]", "@apiDefinePermission ${1:name} ${2:[title]}\n* ${3:[description]}"),
32+
("@apiDefinePermission\tapiDoc [deprecated]", "@apiDefinePermission ${1:name} ${2:[title]}\n${3:* } ${4:[description]}"),
3333
("@apiDefineStructure\tapiDoc [deprecated]", "@apiDefineStructure ${1:name}"),
3434
("@apiDefineSuccessStructure\tapiDoc [deprecated]", "@apiDefineSuccessStructure ${1:name}"),
3535
("@apiErrorStructure\tapiDoc [deprecated]", "@apiErrorStructure ${1:name}"),

0 commit comments

Comments
 (0)