forked from OBKoro1/koro1FileHeader
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
274 lines (274 loc) · 7.74 KB
/
package.json
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
{
"name": "korofileheader",
"displayName": "koroFileHeader",
"description": "在vscode中用于生成文件头部注释和函数注释的插件,经过多版迭代后,插件:支持所有主流语言,功能强大,灵活方便,文档齐全,食用简单!",
"version": "4.7.6",
"publisher": "OBKoro1",
"scripts": {
"build": "vsce package",
"postinstall": "node ./node_modules/vscode/bin/install",
"test": "node ./node_modules/vscode/bin/test",
"lint": "eslint --ext .js,.vue src --fix",
"d": "bash deploy.sh"
},
"author": {
"name": "OBKoro1",
"email": "obkoro1@foxmail.com",
"url": "http://obkoro1.com/"
},
"galleryBanner": {
"color": "#3B4859",
"theme": "dark"
},
"homepage": "https://github.com/OBKoro1/koro1FileHeader",
"license": "SEE LICENSE IN LICENSE",
"repository": {
"type": "git",
"url": "https://github.com/OBKoro1/koro1FileHeader"
},
"bugs": {
"url": "https://github.com/OBKoro1/koro1FileHeader/issues",
"email": "obkoro1@foxmail.com"
},
"icon": "images/icon.png",
"engines": {
"vscode": "^1.23.0"
},
"categories": [
"Other"
],
"keywords": [
"vscode korofileheader",
"korofileheader",
"annotation",
"comment",
"vscode comment",
"vscode annotation",
"vscode 注释",
"vscode 文件头部注释",
"注释",
"文件注释",
"头部注释",
"函数注释",
"fileheader",
"vscode-fileheader",
"Document This",
"obkoro1",
"koro1"
],
"activationEvents": [
"*",
"onCommand:extension.fileheader",
"onCommand:extension.cursorTip"
],
"main": "./src/main.js",
"contributes": {
"configuration": {
"type": "object",
"title": "File header Configuration",
"properties": {
"fileheader.customMade": {
"type": "object",
"default": {},
"description": "头部注释,默认设置:{'Author':'your name','Date':'Do not edit','LastEditors':'your name','LastEditTime':'Do not edit','Description':'file content'}"
},
"fileheader.cursorMode": {
"type": "object",
"default": {},
"description": "在光标处插入函数注释,默认配置:{'description':'','param':'','return':''}"
},
"fileheader.configObj": {
"type": "object",
"default": {
"createFileTime": true,
"language": {
"languagetest": {
"head": "/$$",
"middle": " $ @",
"end": " $/"
}
},
"autoAdd": true,
"autoAddLine": 100,
"autoAlready": true,
"annotationStr": {
"head": "/*",
"middle": " * @",
"end": " */",
"use": false
},
"headInsertLine": {
"php": 2
},
"beforeAnnotation": {
"文件后缀": "该文件后缀的头部注释之前添加某些内容"
},
"afterAnnotation": {
"文件后缀": "该文件后缀的头部注释之后添加某些内容"
},
"specialOptions": {
"特殊字段": "自定义比如LastEditTime/LastEditors"
},
"switch": {
"newlineAddAnnotation": true
},
"supportAutoLanguage": [],
"prohibitAutoAdd": [
"json"
],
"prohibitItemAutoAdd": [
"项目的全称, 整个项目禁止自动添加头部注释, 可以使用快捷键添加"
],
"moveCursor": true,
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"atSymbol": "@",
"atSymbolObj": {
"文件后缀": "修改它的@符号"
},
"colon": ": ",
"colonObj": {
"文件后缀": "修改它的冒号"
},
"filePathColon": "路径分隔符替换",
"showErrorMessage": false,
"wideSame": false,
"wideNum": 13,
"CheckFileChange": false,
"createHeader": true,
"useWorker": false,
"typeParam": true,
"designAddHead": false,
"headDesignName": "random",
"headDesign": false
},
"description": "插件配置选项,readme:https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE"
}
}
},
"commands": [
{
"command": "extension.fileheader",
"title": "fileheader"
},
{
"command": "extension.cursorTip",
"title": "cursorTip"
},
{
"command": "fileheader.random",
"title": "随机注释图案",
"category": "codeDesign-随机"
},
{
"command": "fileheader.buddhalImg",
"title": "注释图案-佛祖",
"category": "codeDesign-佛祖"
},
{
"command": "fileheader.buddhalImgSay",
"title": "注释图案-佛祖+佛曰",
"category": "codeDesign-佛祖+佛曰"
},
{
"command": "fileheader.buddhalSay",
"title": "注释图案-佛曰",
"category": "codeDesign-佛曰"
},
{
"command": "fileheader.totemDragon",
"title": "注释图案-龙图腾",
"category": "codeDesign-b-龙图腾"
},
{
"command": "fileheader.belle",
"title": "注释图案-美女",
"category": "codeDesign-美女"
},
{
"command": "fileheader.dog",
"title": "注释图案-狗",
"category": "codeDesign-狗"
},
{
"command": "fileheader.coderSong",
"title": "注释图案-程序员之歌",
"category": "codeDesign-程序员之歌"
},
{
"command": "fileheader.jesus",
"title": "注释图案-耶稣",
"category": "codeDesign-耶稣"
},
{
"command": "fileheader.totemWestDragon",
"title": "注释图案-喷火龙",
"category": "codeDesign-喷火龙"
},
{
"command": "fileheader.totemBat",
"title": "注释图案-蝙蝠",
"category": "codeDesign-蝙蝠"
},
{
"command": "fileheader.loitumaGirl",
"title": "注释图案-甩葱少女",
"category": "codeDesign-甩葱少女"
},
{
"command": "fileheader.grassHorse",
"title": "注释图案-草泥马",
"category": "codeDesign-草泥马"
},
{
"command": "fileheader.grassHorse2",
"title": "注释图案-草泥马2",
"category": "codeDesign-草泥马2"
},
{
"command": "fileheader.keyboardAll",
"title": "注释图案-全键盘",
"category": "codeDesign-全键盘"
},
{
"command": "fileheader.keyboardSmall",
"title": "注释图案-小键盘",
"category": "codeDesign-小键盘"
}
],
"keybindings": [
{
"command": "extension.codeDesign",
"key": "ctrl+alt+j",
"mac": "ctrl+cmd+j",
"linux": "ctrl+meta+j",
"when": "editorTextFocus"
},
{
"command": "extension.fileheader",
"key": "ctrl+alt+i",
"mac": "ctrl+cmd+i",
"linux": "ctrl+meta+i",
"when": "editorTextFocus"
},
{
"command": "extension.cursorTip",
"key": "ctrl+alt+t",
"mac": "ctrl+cmd+t",
"linux": "ctrl+meta+t",
"when": "editorTextFocus"
}
]
},
"devDependencies": {
"@types/mocha": "^2.2.42",
"@types/node": "^7.0.43",
"eslint": "^5.16.0",
"eslint-friendly-formatter": "^4.0.1",
"typescript": "^2.6.1",
"vscode": "^1.1.34"
},
"dependencies": {
"hoek": "^6.0.4",
"moment": "^2.24.0"
}
}