-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage_note.json
358 lines (358 loc) · 12.8 KB
/
package_note.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
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
{
"name": "all-opened-files",
"displayName": "All Opened Files",
"description": "Manage all Opened Files, and quick access it.",
"license": "MIT",
"version": "3.1.31",
"keywords": [
"file",
"clipboard",
"bookmark",
"ring paste",
"vim",
"mark",
"open",
"history"
],
"author": {
"name": "liyongjin"
},
"homepage": "https://github.com/iwifigame/vscode_all_opened_files",
"repository": {
"type": "git",
"url": "https://github.com/iwifigame/vscode_all_opened_files"
},
"bugs": {
"url": "https://github.com/iwifigame/vscode_all_opened_files/issues"
},
"publisher": "liyongjin",
"engines": {
"vscode": "^1.30.0"
},
"categories": [
"Formatters"
],
"icon": "images/icon2.png",
"activationEvents": [
"onStartupFinished"
],
"main": "./out/extension.js",
"contributes": {
"commands": [ // 增加的命令。可用来快捷键绑定
{
"command": "AllOpenedFiles.showAllOpenedFiles",
"category": "AllOpenedFiles",
"title": "Show All Opened Files"
},
{
"command": "AllOpenedFiles.quickOpen",
"category": "AllOpenedFiles",
"title": "Quick Open"
},
{
"command": "AllOpenedFiles.insertLineNumber",
"category": "AllOpenedFiles",
"title": "Insert Line Number"
},
{
"command": "ClipManager.copyToHistory",
"title": "Copy to Clipboard History",
"category": "ClipManager"
},
{
"command": "ClipManager.pickAndPaste",
"title": "Pick and Paste",
"category": "ClipManager"
},
{
"command": "ClipManager.ringPaste",
"title": "Ring Paste",
"category": "ClipManager"
},
{
"command": "ClipManager.showClipboardInFile",
"title": "Show in the file",
"category": "ClipManager"
},
{
"command": "ClipManager.history.clear",
"title": "Clear History",
"category": "ClipManager",
"icon": {
"dark": "resources/dark/clear-history.svg",
"light": "resources/light/clear-history.svg"
}
},
{
"command": "ClipManager.history.remove",
"title": "Remove",
"category": "ClipManager",
"icon": {
"dark": "resources/dark/remove.svg",
"light": "resources/light/remove.svg"
}
},
{
"command": "BookmarkManager.addBookmark",
"title": "Add Bookmark",
"category": "BookmarkManager"
},
{
"command": "BookmarkManager.remove",
"title": "Remove Bookmark",
"category": "BookmarkManager",
"icon": {
"dark": "resources/dark/remove.svg",
"light": "resources/light/remove.svg"
}
},
{
"command": "BookmarkManager.showBookmarks",
"title": "Show Bookmarks",
"category": "BookmarkManager"
},
{
"command": "BookmarkManager.showBookmarkInFile",
"title": "Show Bookmark In The File",
"category": "BookmarkManager"
}
],
"keybindings": [ // 插件设置的快捷键绑定
{
"command": "AllOpenedFiles.showAllOpenedFiles",
"key": "alt+shift+o",
"mac": "alt+shift+o"
},
{
"command": "ClipManager.copyToHistory",
"key": "Ctrl+Shift+C",
"mac": "Cmd+Shift+C",
"when": "textInputFocus && !editorReadonly"
},
{
"command": "ClipManager.pickAndPaste",
"key": "Ctrl+Shift+V",
"mac": "Cmd+Shift+V",
"when": "textInputFocus && !editorReadonly"
},
{
"command": "ClipManager.ringPaste",
"key": "Alt+P",
"mac": "Alt+P",
"when": "textInputFocus && !editorReadonly"
},
{
"command": "BookmarkManager.addBookmark",
"key": "Ctrl+M",
"mac": "Cmd+M",
"when": "textInputFocus && !editorReadonly"
}
],
"viewsContainers": { // 视图容器。最左边竖条上图标以及对应的窗口
"activitybar": [
{
"id": "ClipManager",
"title": "ClipManager",
"icon": "images/clipboard_activitybar.svg" // 竖条上对应的图标
},
{
"id": "BookmarkManager",
"title": "BookmarkManager",
"icon": "images/bookmark_activitybar.svg"
}
]
},
"views": { // 上面图标点击后,对应的窗口
"ClipManager": [
{
"id": "clipboardHistory",
"name": "Clipboard History"
}
],
"BookmarkManager": [ // 窗口中分两个
{
"id": "bookmark",
"name": "bookmark"
},
{
"id": "quick bookmark",
"name": "quick bookmark"
}
]
},
"menus": {
"commandPalette": [ // 控制ctrl+shift+p时,命令的显示
{
"command": "ClipManager.pickAndPaste"
},
{
"command": "ClipManager.ringPaste"
},
{
// todo bookmark处理
"command": "ClipManager.showClipboardInFile",
"when": "false" // 永不显示
},
{
"command": "ClipManager.history.clear"
},
{
"command": "ClipManager.history.remove",
"when": "false" // 永不显示
}
],
"view/item/context": [ // 侧边栏中显示的菜单
{
"command": "ClipManager.showClipboardInFile",
"when": "viewItem =~ /^clipHistoryItem:file/",
"group": "0_navigation"
},
{
"command": "ClipManager.history.remove",
"when": "viewItem =~ /^clipHistoryItem:/",
"group": "1_modification" // 在项目右键,显示删除选项
},
{
"command": "ClipManager.history.remove",
"when": "viewItem =~ /^clipHistoryItem:/",
"group": "inline" // 在项目右边显示删除按钮
},
{
"command": "BookmarkManager.remove",
"when": "viewItem =~ /^bookmarkItem:/",
"group": "1_modification"
},
{
"command": "BookmarkManager.remove",
"when": "viewItem =~ /^bookmarkItem:/",
"group": "inline"
}
],
"view/title": [ // 侧边栏顶部显示的按钮
{
"command": "ClipManager.history.clear",
"when": "view == clipboardHistory",
"group": "navigation"
}
]
},
"configuration": [ // 配置
{
"title": "All Opened Files",
"properties": {
"ShowAllOpenedFiles.itemWidth": {
"type": "number",
"default": 80,
"description": "all opened files item width"
},
"InsertLineNumber.formats": {
"type": "array",
"default": [
{
"align": "right",
"width": "alignToLast"
},
{
"width": "alignToLast"
},
{},
{
"start": "current",
"align": "right",
"padding": "zero",
"width": 6,
"prefix": "[CODE_",
"suffix": "] "
}
],
"description": "insert line number"
}
}
},
{
"title": "Clip Manager",
"properties": {
"ClipManager.avoidDuplicates": {
"type": "boolean",
"default": true,
"description": "Avoid duplicate clips in the list"
},
"ClipManager.checkInterval": {
"type": "integer",
"default": 500,
"description": "Time in milliseconds to check changes in clipboard. Set zero to disable."
},
"ClipManager.maxClipboardSize": {
"type": "integer",
"default": 1000000,
"description": "Maximum clipboard size in bytes."
},
"ClipManager.maxClips": {
"type": "integer",
"default": 100,
"description": "Maximum number of clips to save in clipboard"
},
"ClipManager.moveToTop": {
"type": "boolean",
"default": true,
"description": "Move used clip to top in the list"
},
"ClipManager.onlyWindowFocused": {
"type": "boolean",
"default": true,
"description": "Get clips only from VSCode"
},
"ClipManager.preview": {
"type": "boolean",
"default": true,
"description": "View a preview while you are choosing the clip"
},
"ClipManager.saveTo": {
"type": [
"string",
"null",
"boolean"
],
"default": null,
"description": "Set location to save the clipboard file, set false to disable",
"scope": "application"
},
"ClipManager.snippet.enabled": {
"scope": "resource",
"type": "boolean",
"default": true,
"description": "Enable completion snippets"
},
"ClipManager.snippet.max": {
"scope": "resource",
"type": "integer",
"default": 10,
"description": "Maximum number of clips to suggests in snippets (Zero for all)"
},
"ClipManager.snippet.prefix": {
"scope": "resource",
"type": "string",
"default": "clip",
"description": "Default prefix for snippets completion (clip1, clip2, ...)"
}
}
}
]
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install",
"test": "npm run compile && node ./node_modules/vscode/bin/test"
},
"devDependencies": {
"@types/mocha": "^2.2.42",
"@types/node": "^8.10.25",
"tslint": "^5.8.0",
"typescript": "^3.1.4",
"vscode": "^1.1.25"
},
"dependencies": {
}
}