-
Notifications
You must be signed in to change notification settings - Fork 27
/
package.json
318 lines (318 loc) · 9.26 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
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
{
"name": "code-annotation",
"displayName": "Code Annotation",
"description": "Create and track notes on your source code.",
"icon": "resources/code-annotation.png",
"publisher": "tkcandrade",
"author": "Thamara Andrade",
"homepage": "https://github.com/thamara/vscode-code-annotation#readme",
"repository": {
"type": "git",
"url": "github:thamara/vscode-code-annotation.git"
},
"version": "0.0.3-dev",
"engines": {
"vscode": "^1.47.0"
},
"categories": [
"Other"
],
"activationEvents": [
"*"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "code-annotation.addNote",
"category": "Code Annotation",
"title": "Add note"
},
{
"command": "code-annotation.addPlainNote",
"category": "Code Annotation",
"title": "Add plain note"
},
{
"command": "code-annotation.clearAllNotes",
"category": "Code Annotation",
"title": "Clear all notes"
},
{
"command": "code-annotation.refreshEntry",
"category": "Code Annotation",
"title": "Refresh",
"icon": {
"light": "resources/light/refresh.svg",
"dark": "resources/dark/refresh.svg"
}
},
{
"command": "code-annotation.summary",
"category": "Code Annotation",
"title": "Summary",
"icon": {
"light": "resources/light/summary.svg",
"dark": "resources/dark/summary.svg"
}
},
{
"command": "code-annotation.removeNote",
"category": "Code Annotation",
"title": "Remove note",
"icon": {
"dark": "resources/dark/remove.svg",
"light": "resources/light/remove.svg"
}
},
{
"command": "code-annotation.checkNote",
"category": "Code Annotation",
"title": "Check note",
"icon": {
"dark": "resources/dark/check.svg",
"light": "resources/light/check.svg"
}
},
{
"command": "code-annotation.checkAllNotes",
"category": "Code Annotation",
"title": "Check all notes",
"icon": {
"dark": "resources/dark/checkall.svg",
"light": "resources/light/checkall.svg"
}
},
{
"command": "code-annotation.uncheckNote",
"category": "Code Annotation",
"title": "Uncheck note",
"icon": {
"dark": "resources/dark/uncheck.svg",
"light": "resources/light/uncheck.svg"
}
},
{
"command": "code-annotation.uncheckAllNotes",
"category": "Code Annotation",
"title": "Uncheck all notes",
"icon": {
"dark": "resources/dark/uncheckall.svg",
"light": "resources/light/uncheckall.svg"
}
},
{
"command": "code-annotation.removeAllNotes",
"category": "Code Annotation",
"title": "Remove all notes",
"icon": {
"dark": "resources/dark/removeall.svg",
"light": "resources/light/removeall.svg"
}
},
{
"command": "code-annotation.openNote",
"category": "Code Annotation",
"title": "Open note"
},
{
"command": "code-annotation.editNote",
"category": "Code Annotation",
"title": "Edit note"
},
{
"command": "code-annotation.copyNote",
"category": "Code Annotation",
"title": "Copy note"
}
],
"keybindings": [
{
"key": "ctrl+alt+n",
"command": "code-annotation.addNote",
"mac": "cmd+alt+n",
"when": "editorTextFocus"
},
{
"key": "ctrl+alt+p",
"command": "code-annotation.addPlainNote",
"mac": "cmd+alt+p",
"when": "editorTextFocus"
}
],
"menus": {
"commandPalette": [
{
"command": "code-annotation.removeNote",
"when": "false"
},
{
"command": "code-annotation.checkNote",
"when": "false"
},
{
"command": "code-annotation.uncheckNote",
"when": "false"
},
{
"command": "code-annotation.openNote",
"when": "false"
},
{
"command": "code-annotation.editNote",
"when": "false"
},
{
"command": "code-annotation.copyNote",
"when": "false"
}
],
"editor/context": [
{
"command": "code-annotation.addNote",
"title": "Code Annotation: Add note"
}
],
"view/title": [
{
"command": "code-annotation.refreshEntry",
"when": "view == codeAnnotationView",
"group": "navigation"
},
{
"command": "code-annotation.summary",
"when": "view == codeAnnotationView",
"group": "navigation"
}
],
"view/item/context": [
{
"command": "code-annotation.checkNote",
"when": "view == codeAnnotationView && viewItem == $PendingNote",
"group": "inline@1"
},
{
"command": "code-annotation.uncheckNote",
"when": "view == codeAnnotationView && viewItem == $CompleteNote",
"group": "inline@1"
},
{
"command": "code-annotation.removeNote",
"when": "view == codeAnnotationView && viewItem == $PendingNote || viewItem == $CompleteNote",
"group": "inline@2"
},
{
"command": "code-annotation.checkAllNotes",
"when": "view == codeAnnotationView && viewItem == $menu-pending",
"group": "inline"
},
{
"command": "code-annotation.uncheckAllNotes",
"when": "view == codeAnnotationView && viewItem == $menu-done",
"group": "inline"
},
{
"command": "code-annotation.removeAllNotes",
"when": "view == codeAnnotationView && viewItem == $menu-done || view == codeAnnotationView && viewItem == $menu-pending",
"group": "inline@3"
},
{
"command": "code-annotation.openNote",
"when": "view == codeAnnotationView && viewItem == $PendingNote || view == codeAnnotationView && viewItem == $CompleteNote",
"group": "3_open@1"
},
{
"command": "code-annotation.editNote",
"when": "view == codeAnnotationView && viewItem == $PendingNote || view == codeAnnotationView && viewItem == $CompleteNote",
"group": "3_open@2"
},
{
"command": "code-annotation.copyNote",
"when": "view == codeAnnotationView && viewItem == $PendingNote || view == codeAnnotationView && viewItem == $CompleteNote",
"group": "3_open@3"
}
]
},
"viewsContainers": {
"activitybar": [
{
"id": "codeAnnotation",
"title": "Code Annotation",
"icon": "resources/code-annotation.svg"
}
]
},
"views": {
"codeAnnotation": [
{
"id": "codeAnnotationView",
"name": "Code Annotation"
}
]
},
"configuration": {
"title": "Code Annotation",
"properties": {
"code-annotation.showFileName": {
"type": "boolean",
"default": true,
"description": "Show file name under annotation"
},
"code-annotation.showTimeStampForNoteCreation": {
"type": "boolean",
"default": false,
"description": "Show created at timestamp under annotation"
},
"code-annotation.showTimeStampForNoteResolution": {
"type": "boolean",
"default": false,
"description": "Show resolved at timestamp under annotation"
},
"code-annotation.customTODO": {
"type": "array",
"default": [],
"description": "An array of RegExps to use as TODO for note suggestions"
},
"code-annotation.annotationBG.enableDecoration": {
"description": "Enable color for the background for the annotation on the source code",
"type": "boolean",
"default": true
},
"code-annotation.annotationBG.color.dark": {
"description": "Color for the background for the annotation on the source code in a Dark theme",
"type": "string",
"default": "#FFFFFF13"
},
"code-annotation.annotationBG.color.light": {
"description": "Color for the background for the annotation on the source code in a Light theme",
"type": "string",
"default": "#0000000C"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"lint": "eslint src --ext ts --fix",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/vscode": "^1.47.0",
"@types/glob": "^7.1.3",
"@types/mocha": "^8.0.1",
"@types/node": "^14.0.27",
"eslint": "^7.6.0",
"@typescript-eslint/parser": "^3.8.0",
"@typescript-eslint/eslint-plugin": "^3.8.0",
"glob": "^7.1.6",
"mocha": "^8.1.1",
"typescript": "^3.9.7",
"vscode-test": "^1.4.0"
},
"dependencies": {
"vscode-uri": "^2.1.2"
}
}