-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpackage.json
257 lines (257 loc) · 6.67 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
{
"name": "log-analysis",
"displayName": "Log Analysis",
"description": "Add highlights and filters to help log analysis",
"publisher": "XinyaYang0506",
"repository": {
"type": "git",
"url": "https://github.com/SoySauceFor3/log-analysis.git"
},
"icon": "image/icon.png",
"version": "1.1.2",
"engines": {
"vscode": "^1.49.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onStartupFinished"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "log-analysis.addGroup",
"title": "Add Group",
"icon": "$(file-directory-create)"
},
{
"command": "log-analysis.editGroup",
"title": "Edit a new name for This Group",
"icon": "$(edit)"
},
{
"command": "log-analysis.deleteGroup",
"title": "Delete This Group",
"icon": "$(dialog-close)"
},
{
"command": "log-analysis.enableHighlight",
"title": "Enable Highlight",
"icon": "$(paintcan)"
},
{
"command": "log-analysis.disableHighlight",
"title": "Disable Highlight",
"icon": "$(paintcan)"
},
{
"command": "log-analysis.enableVisibility",
"title": "Enable Visbility",
"icon": "$(eye)"
},
{
"command": "log-analysis.disableVisibility",
"title": "Disable Visbility",
"icon": "$(eye-closed)"
},
{
"command": "log-analysis.turnOnFocusMode",
"title": "Turn on Focus Mode",
"icon": "$(symbol-keyword)"
},
{
"command": "log-analysis.deleteFilter",
"title": "Delete This Filter",
"icon": "$(dialog-close)"
},
{
"command": "log-analysis.editFilter",
"title": "Edit Regex for This Filter",
"icon": "$(edit)"
},
{
"command": "log-analysis.addFilter",
"title": "Add a Filter",
"icon": "$(plus)"
},
{
"command": "log-analysis.deleteProject",
"title": "Delete This Project",
"icon": "$(dialog-close)"
},
{
"command": "log-analysis.editProject",
"title": "Edit a new name for This Project",
"icon": "$(edit)"
},
{
"command": "log-analysis.addProject",
"title": "Add Project",
"icon": "$(repo-create)"
},
{
"command": "log-analysis.openSettings",
"title": "Open Settings",
"icon": "$(gear)"
},
{
"command": "log-analysis.refreshSettings",
"title": "Refresh",
"icon": "$(refresh)"
},
{
"command": "log-analysis.saveProject",
"title": "Save groups to project",
"icon": "$(save-as)"
},
{
"command": "log-analysis.selectProject",
"title": "Select project"
}
],
"menus": {
"view/item/context": [
{
"command": "log-analysis.addFilter",
"when": "view == filters && viewItem =~ /^g-/",
"group": "inline@1"
},
{
"command": "log-analysis.editGroup",
"when": "view == filters && viewItem =~ /^g-/",
"group": "inline@2"
},
{
"command": "log-analysis.editFilter",
"when": "view == filters && viewItem =~ /^f-/",
"group": "inline@2"
},
{
"command": "log-analysis.editProject",
"when": "view == filters.settings",
"group": "inline@2"
},
{
"command": "log-analysis.disableHighlight",
"when": "view == filters && viewItem =~ /-lit/",
"group": "inline@3"
},
{
"command": "log-analysis.enableHighlight",
"when": "view == filters && viewItem =~ /-unlit/",
"group": "inline@3"
},
{
"command": "log-analysis.disableVisibility",
"when": "view == filters && viewItem =~ /-visible/",
"group": "inline@4"
},
{
"command": "log-analysis.enableVisibility",
"when": "view == filters && viewItem =~ /-invisible/",
"group": "inline@4"
},
{
"command": "log-analysis.deleteGroup",
"when": "view == filters && viewItem =~ /^g-/",
"group": "inline@5"
},
{
"command": "log-analysis.deleteFilter",
"when": "view == filters && viewItem =~ /^f-/",
"group": "inline@5"
},
{
"command": "log-analysis.deleteProject",
"when": "view == filters.settings",
"group": "inline@5"
}
],
"view/title": [
{
"command": "log-analysis.addGroup",
"when": "view == filters",
"group": "navigation@1"
},
{
"command": "log-analysis.turnOnFocusMode",
"when": "view == filters",
"group": "navigation@2"
},
{
"command": "log-analysis.saveProject",
"when": "view == filters",
"group": "navigation@3"
},
{
"command": "log-analysis.addProject",
"when": "view == filters.settings",
"group": "navigation@1"
},
{
"command": "log-analysis.openSettings",
"when": "view == filters.settings",
"group": "navigation@2"
},
{
"command": "log-analysis.refreshSettings",
"when": "view == filters.settings",
"group": "navigation@3"
}
]
},
"keybindings": [
{
"command": "log-analysis.turnOnFocusMode",
"key": "ctrl+h",
"mac": "cmd+h"
}
],
"views": {
"explorer": [
{
"id": "filters",
"name": "Filters"
}
],
"filter_project_setting": [
{
"id": "filters.settings",
"name": "Projects"
}
]
},
"viewsContainers": {
"activitybar": [
{
"id": "filter_project_setting",
"title": "Log Analysis",
"icon": "$(preview)"
}
]
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"lint": "eslint src --ext ts",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/vscode": "^1.49.0",
"@types/glob": "^7.1.3",
"@types/mocha": "^8.0.0",
"@types/node": "^14.0.27",
"eslint": "^7.6.0",
"@typescript-eslint/eslint-plugin": "^3.8.0",
"@typescript-eslint/parser": "^3.8.0",
"glob": "^7.1.6",
"mocha": "^8.1.3",
"typescript": "^4.0.2",
"vscode-test": "^1.4.0"
}
}