-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
68 lines (68 loc) · 2.18 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
{
"name": "comment-pattern",
"description": "各种各种的图案注释,佛祖保佑、神兽保佑",
"displayName": "图案注释,佛祖保佑、神兽保佑",
"version": "0.1.2",
"publisher": "OneOne",
"engines": {
"HBuilderX": "^2.7.0"
},
"categories": [
"Other"
],
"main": "./extension.js",
"activationEvents": [
"onCommand:extension.commentPattern",
"onCommand:extension.commentPatternAbout"
],
"contributes": {
"configuration": {
"title": "插件 - 图案注释",
"properties": {
"commentPattern.isShowContextMenu": {
"type": "boolean",
"default": true,
"description": "编辑器,右键菜单,禁用【图案注释】"
}
}
},
"commands": [{
"command": "extension.commentPattern",
"title": "图案注释"
}, {
"command": "extension.commentPatternAbout",
"title": "关于/评价"
}],
"keybindings": [{
"command": "extension.commentPattern",
"key": "Ctrl+Shift+/",
"macosx": "command+Shift+/"
}],
"menus": {
"editor/context": [{
"command": "extension.commentPattern",
"group": "assist",
"when": "editorTextFocus && config.commentPattern.isShowContextMenu"
}],
"menubar/tool": [{
"title": "图案注释",
"group": "ext_settings",
"id": "commentPattern"
}, {
"command": "extension.commentPattern",
"title": "插入图案注释",
"group": "commentPattern@1"
}, {
"group": "commentPattern@3"
}, {
"command": "extension.commentPatternAbout",
"title": "关于/评价",
"group": "commentPattern@4"
}]
}
},
"extensionDependencies": [
"plugin-manager"
],
"dependencies": {}
}