|
9 | 9 | class apiDocAutocompletion(sublime_plugin.EventListener): |
10 | 10 | _suggestions = [ |
11 | 11 | ("@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]}"), |
13 | 13 | ("@apiDescription\tapiDoc", "@apiDescription ${1:text}"), |
14 | 14 | ("@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}"), |
17 | 17 | ("@apiGroup\tapiDoc", "@apiGroup ${1:name}"), |
18 | 18 | ("@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}"), |
20 | 20 | ("@apiIgnore\tapiDoc", "@apiIgnore ${1:[hint]}"), |
21 | 21 | ("@apiName\tapiDoc", "@apiName ${1:name}"), |
22 | 22 | ("@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}"), |
24 | 24 | ("@apiPermission\tapiDoc", "@apiPermission ${1:name}"), |
25 | 25 | ("@apiSampleRequest\tapiDoc", "@apiSampleRequest ${1:url}"), |
26 | 26 | ("@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}"), |
28 | 28 | ("@apiUse\tapiDoc", "@apiUse ${1:name}"), |
29 | 29 | ("@apiVersion\tapiDoc", "@apiVersion ${1:version}"), |
30 | 30 | ("@apiDefineErrorStructure\tapiDoc [deprecated]", "@apiDefineErrorStructure ${1:name}"), |
31 | 31 | ("@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]}"), |
33 | 33 | ("@apiDefineStructure\tapiDoc [deprecated]", "@apiDefineStructure ${1:name}"), |
34 | 34 | ("@apiDefineSuccessStructure\tapiDoc [deprecated]", "@apiDefineSuccessStructure ${1:name}"), |
35 | 35 | ("@apiErrorStructure\tapiDoc [deprecated]", "@apiErrorStructure ${1:name}"), |
|
0 commit comments