@codingame/monaco-vscode-keybindings-service-override 14.0.6 → 15.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +9 -8
- package/vscode/src/vs/platform/keyboardLayout/common/keyboardConfig.js +3 -3
- package/vscode/src/vs/workbench/browser/contextkeys.js +2 -2
- package/vscode/src/vs/workbench/contrib/commands/common/commands.contribution.js +5 -5
- package/vscode/src/vs/workbench/contrib/keybindings/browser/keybindings.contribution.js +53 -1
- package/vscode/src/vs/workbench/contrib/preferences/browser/keybindingsEditorContribution.js +4 -4
- package/vscode/src/vs/workbench/services/actions/common/menusExtensionPoint.js +142 -134
- package/vscode/src/vs/workbench/services/keybinding/browser/keybindingService.js +24 -24
- package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayoutService.js +2 -2
|
@@ -21,215 +21,215 @@ const apiMenus = [
|
|
|
21
21
|
{
|
|
22
22
|
key: 'commandPalette',
|
|
23
23
|
id: MenuId.CommandPalette,
|
|
24
|
-
description: ( localize(
|
|
24
|
+
description: ( localize(11459, "The Command Palette")),
|
|
25
25
|
supportsSubmenus: false
|
|
26
26
|
},
|
|
27
27
|
{
|
|
28
28
|
key: 'touchBar',
|
|
29
29
|
id: MenuId.TouchBarContext,
|
|
30
|
-
description: ( localize(
|
|
30
|
+
description: ( localize(11460, "The touch bar (macOS only)")),
|
|
31
31
|
supportsSubmenus: false
|
|
32
32
|
},
|
|
33
33
|
{
|
|
34
34
|
key: 'editor/title',
|
|
35
35
|
id: MenuId.EditorTitle,
|
|
36
|
-
description: ( localize(
|
|
36
|
+
description: ( localize(11461, "The editor title menu"))
|
|
37
37
|
},
|
|
38
38
|
{
|
|
39
39
|
key: 'editor/title/run',
|
|
40
40
|
id: MenuId.EditorTitleRun,
|
|
41
|
-
description: ( localize(
|
|
41
|
+
description: ( localize(11462, "Run submenu inside the editor title menu"))
|
|
42
42
|
},
|
|
43
43
|
{
|
|
44
44
|
key: 'editor/context',
|
|
45
45
|
id: MenuId.EditorContext,
|
|
46
|
-
description: ( localize(
|
|
46
|
+
description: ( localize(11463, "The editor context menu"))
|
|
47
47
|
},
|
|
48
48
|
{
|
|
49
49
|
key: 'editor/context/copy',
|
|
50
50
|
id: MenuId.EditorContextCopy,
|
|
51
|
-
description: ( localize(
|
|
51
|
+
description: ( localize(11464, "'Copy as' submenu in the editor context menu"))
|
|
52
52
|
},
|
|
53
53
|
{
|
|
54
54
|
key: 'editor/context/share',
|
|
55
55
|
id: MenuId.EditorContextShare,
|
|
56
|
-
description: ( localize(
|
|
56
|
+
description: ( localize(11465, "'Share' submenu in the editor context menu")),
|
|
57
57
|
proposed: 'contribShareMenu'
|
|
58
58
|
},
|
|
59
59
|
{
|
|
60
60
|
key: 'explorer/context',
|
|
61
61
|
id: MenuId.ExplorerContext,
|
|
62
|
-
description: ( localize(
|
|
62
|
+
description: ( localize(11466, "The file explorer context menu"))
|
|
63
63
|
},
|
|
64
64
|
{
|
|
65
65
|
key: 'explorer/context/share',
|
|
66
66
|
id: MenuId.ExplorerContextShare,
|
|
67
|
-
description: ( localize(
|
|
67
|
+
description: ( localize(11467, "'Share' submenu in the file explorer context menu")),
|
|
68
68
|
proposed: 'contribShareMenu'
|
|
69
69
|
},
|
|
70
70
|
{
|
|
71
71
|
key: 'editor/title/context',
|
|
72
72
|
id: MenuId.EditorTitleContext,
|
|
73
|
-
description: ( localize(
|
|
73
|
+
description: ( localize(11468, "The editor tabs context menu"))
|
|
74
74
|
},
|
|
75
75
|
{
|
|
76
76
|
key: 'editor/title/context/share',
|
|
77
77
|
id: MenuId.EditorTitleContextShare,
|
|
78
|
-
description: ( localize(
|
|
78
|
+
description: ( localize(11469, "'Share' submenu inside the editor title context menu")),
|
|
79
79
|
proposed: 'contribShareMenu'
|
|
80
80
|
},
|
|
81
81
|
{
|
|
82
82
|
key: 'debug/callstack/context',
|
|
83
83
|
id: MenuId.DebugCallStackContext,
|
|
84
|
-
description: ( localize(
|
|
84
|
+
description: ( localize(11470, "The debug callstack view context menu"))
|
|
85
85
|
},
|
|
86
86
|
{
|
|
87
87
|
key: 'debug/variables/context',
|
|
88
88
|
id: MenuId.DebugVariablesContext,
|
|
89
|
-
description: ( localize(
|
|
89
|
+
description: ( localize(11471, "The debug variables view context menu"))
|
|
90
90
|
},
|
|
91
91
|
{
|
|
92
92
|
key: 'debug/toolBar',
|
|
93
93
|
id: MenuId.DebugToolBar,
|
|
94
|
-
description: ( localize(
|
|
94
|
+
description: ( localize(11472, "The debug toolbar menu"))
|
|
95
95
|
},
|
|
96
96
|
{
|
|
97
97
|
key: 'debug/createConfiguration',
|
|
98
98
|
id: MenuId.DebugCreateConfiguration,
|
|
99
99
|
proposed: 'contribDebugCreateConfiguration',
|
|
100
|
-
description: ( localize(
|
|
100
|
+
description: ( localize(11473, "The debug create configuration menu"))
|
|
101
101
|
},
|
|
102
102
|
{
|
|
103
103
|
key: 'notebook/variables/context',
|
|
104
104
|
id: MenuId.NotebookVariablesContext,
|
|
105
|
-
description: ( localize(
|
|
105
|
+
description: ( localize(11474, "The notebook variables view context menu"))
|
|
106
106
|
},
|
|
107
107
|
{
|
|
108
108
|
key: 'menuBar/home',
|
|
109
109
|
id: MenuId.MenubarHomeMenu,
|
|
110
|
-
description: ( localize(
|
|
110
|
+
description: ( localize(11475, "The home indicator context menu (web only)")),
|
|
111
111
|
proposed: 'contribMenuBarHome',
|
|
112
112
|
supportsSubmenus: false
|
|
113
113
|
},
|
|
114
114
|
{
|
|
115
115
|
key: 'menuBar/edit/copy',
|
|
116
116
|
id: MenuId.MenubarCopy,
|
|
117
|
-
description: ( localize(
|
|
117
|
+
description: ( localize(11476, "'Copy as' submenu in the top level Edit menu"))
|
|
118
118
|
},
|
|
119
119
|
{
|
|
120
120
|
key: 'scm/title',
|
|
121
121
|
id: MenuId.SCMTitle,
|
|
122
|
-
description: ( localize(
|
|
122
|
+
description: ( localize(11477, "The Source Control title menu"))
|
|
123
123
|
},
|
|
124
124
|
{
|
|
125
125
|
key: 'scm/sourceControl',
|
|
126
126
|
id: MenuId.SCMSourceControl,
|
|
127
|
-
description: ( localize(
|
|
127
|
+
description: ( localize(11478, "The Source Control menu"))
|
|
128
128
|
},
|
|
129
129
|
{
|
|
130
130
|
key: 'scm/sourceControl/title',
|
|
131
131
|
id: MenuId.SCMSourceControlTitle,
|
|
132
|
-
description: ( localize(
|
|
132
|
+
description: ( localize(11479, "The Source Control title menu")),
|
|
133
133
|
proposed: 'contribSourceControlTitleMenu'
|
|
134
134
|
},
|
|
135
135
|
{
|
|
136
136
|
key: 'scm/resourceState/context',
|
|
137
137
|
id: MenuId.SCMResourceContext,
|
|
138
|
-
description: ( localize(
|
|
138
|
+
description: ( localize(11480, "The Source Control resource state context menu"))
|
|
139
139
|
},
|
|
140
140
|
{
|
|
141
141
|
key: 'scm/resourceFolder/context',
|
|
142
142
|
id: MenuId.SCMResourceFolderContext,
|
|
143
|
-
description: ( localize(
|
|
143
|
+
description: ( localize(11481, "The Source Control resource folder context menu"))
|
|
144
144
|
},
|
|
145
145
|
{
|
|
146
146
|
key: 'scm/resourceGroup/context',
|
|
147
147
|
id: MenuId.SCMResourceGroupContext,
|
|
148
|
-
description: ( localize(
|
|
148
|
+
description: ( localize(11482, "The Source Control resource group context menu"))
|
|
149
149
|
},
|
|
150
150
|
{
|
|
151
151
|
key: 'scm/change/title',
|
|
152
152
|
id: MenuId.SCMChangeContext,
|
|
153
|
-
description: ( localize(
|
|
153
|
+
description: ( localize(11483, "The Source Control inline change menu"))
|
|
154
154
|
},
|
|
155
155
|
{
|
|
156
156
|
key: 'scm/inputBox',
|
|
157
157
|
id: MenuId.SCMInputBox,
|
|
158
|
-
description: ( localize(
|
|
158
|
+
description: ( localize(11484, "The Source Control input box menu")),
|
|
159
159
|
proposed: 'contribSourceControlInputBoxMenu'
|
|
160
160
|
},
|
|
161
161
|
{
|
|
162
162
|
key: 'scm/history/title',
|
|
163
163
|
id: MenuId.SCMHistoryTitle,
|
|
164
|
-
description: ( localize(
|
|
164
|
+
description: ( localize(11485, "The Source Control History title menu")),
|
|
165
165
|
proposed: 'contribSourceControlHistoryTitleMenu'
|
|
166
166
|
},
|
|
167
167
|
{
|
|
168
168
|
key: 'scm/historyItem/context',
|
|
169
169
|
id: MenuId.SCMHistoryItemContext,
|
|
170
|
-
description: ( localize(
|
|
170
|
+
description: ( localize(11486, "The Source Control history item context menu")),
|
|
171
171
|
proposed: 'contribSourceControlHistoryItemMenu'
|
|
172
172
|
},
|
|
173
173
|
{
|
|
174
174
|
key: 'scm/historyItem/hover',
|
|
175
175
|
id: MenuId.SCMHistoryItemHover,
|
|
176
|
-
description: ( localize(
|
|
176
|
+
description: ( localize(11487, "The Source Control history item hover menu")),
|
|
177
177
|
proposed: 'contribSourceControlHistoryItemMenu'
|
|
178
178
|
},
|
|
179
179
|
{
|
|
180
180
|
key: 'scm/historyItemRef/context',
|
|
181
181
|
id: MenuId.SCMHistoryItemRefContext,
|
|
182
|
-
description: ( localize(
|
|
182
|
+
description: ( localize(11488, "The Source Control history item reference context menu")),
|
|
183
183
|
proposed: 'contribSourceControlHistoryItemMenu'
|
|
184
184
|
},
|
|
185
185
|
{
|
|
186
186
|
key: 'statusBar/remoteIndicator',
|
|
187
187
|
id: MenuId.StatusBarRemoteIndicatorMenu,
|
|
188
|
-
description: ( localize(
|
|
188
|
+
description: ( localize(11489, "The remote indicator menu in the status bar")),
|
|
189
189
|
supportsSubmenus: false
|
|
190
190
|
},
|
|
191
191
|
{
|
|
192
192
|
key: 'terminal/context',
|
|
193
193
|
id: MenuId.TerminalInstanceContext,
|
|
194
|
-
description: ( localize(
|
|
194
|
+
description: ( localize(11490, "The terminal context menu"))
|
|
195
195
|
},
|
|
196
196
|
{
|
|
197
197
|
key: 'terminal/title/context',
|
|
198
198
|
id: MenuId.TerminalTabContext,
|
|
199
|
-
description: ( localize(
|
|
199
|
+
description: ( localize(11491, "The terminal tabs context menu"))
|
|
200
200
|
},
|
|
201
201
|
{
|
|
202
202
|
key: 'view/title',
|
|
203
203
|
id: MenuId.ViewTitle,
|
|
204
|
-
description: ( localize(
|
|
204
|
+
description: ( localize(11492, "The contributed view title menu"))
|
|
205
205
|
},
|
|
206
206
|
{
|
|
207
207
|
key: 'viewContainer/title',
|
|
208
208
|
id: MenuId.ViewContainerTitle,
|
|
209
|
-
description: ( localize(
|
|
209
|
+
description: ( localize(11493, "The contributed view container title menu")),
|
|
210
210
|
proposed: 'contribViewContainerTitle'
|
|
211
211
|
},
|
|
212
212
|
{
|
|
213
213
|
key: 'view/item/context',
|
|
214
214
|
id: MenuId.ViewItemContext,
|
|
215
|
-
description: ( localize(
|
|
215
|
+
description: ( localize(11494, "The contributed view item context menu"))
|
|
216
216
|
},
|
|
217
217
|
{
|
|
218
218
|
key: 'comments/comment/editorActions',
|
|
219
219
|
id: MenuId.CommentEditorActions,
|
|
220
|
-
description: ( localize(
|
|
220
|
+
description: ( localize(11495, "The contributed comment editor actions")),
|
|
221
221
|
proposed: 'contribCommentEditorActionsMenu'
|
|
222
222
|
},
|
|
223
223
|
{
|
|
224
224
|
key: 'comments/commentThread/title',
|
|
225
225
|
id: MenuId.CommentThreadTitle,
|
|
226
|
-
description: ( localize(
|
|
226
|
+
description: ( localize(11496, "The contributed comment thread title menu"))
|
|
227
227
|
},
|
|
228
228
|
{
|
|
229
229
|
key: 'comments/commentThread/context',
|
|
230
230
|
id: MenuId.CommentThreadActions,
|
|
231
231
|
description: ( localize(
|
|
232
|
-
|
|
232
|
+
11497,
|
|
233
233
|
"The contributed comment thread context menu, rendered as buttons below the comment editor"
|
|
234
234
|
)),
|
|
235
235
|
supportsSubmenus: false
|
|
@@ -238,7 +238,7 @@ const apiMenus = [
|
|
|
238
238
|
key: 'comments/commentThread/additionalActions',
|
|
239
239
|
id: MenuId.CommentThreadAdditionalActions,
|
|
240
240
|
description: ( localize(
|
|
241
|
-
|
|
241
|
+
11497,
|
|
242
242
|
"The contributed comment thread context menu, rendered as buttons below the comment editor"
|
|
243
243
|
)),
|
|
244
244
|
supportsSubmenus: true,
|
|
@@ -248,7 +248,7 @@ const apiMenus = [
|
|
|
248
248
|
key: 'comments/commentThread/title/context',
|
|
249
249
|
id: MenuId.CommentThreadTitleContext,
|
|
250
250
|
description: ( localize(
|
|
251
|
-
|
|
251
|
+
11498,
|
|
252
252
|
"The contributed comment thread title's peek context menu, rendered as a right click menu on the comment thread's peek title."
|
|
253
253
|
)),
|
|
254
254
|
proposed: 'contribCommentPeekContext'
|
|
@@ -256,13 +256,13 @@ const apiMenus = [
|
|
|
256
256
|
{
|
|
257
257
|
key: 'comments/comment/title',
|
|
258
258
|
id: MenuId.CommentTitle,
|
|
259
|
-
description: ( localize(
|
|
259
|
+
description: ( localize(11499, "The contributed comment title menu"))
|
|
260
260
|
},
|
|
261
261
|
{
|
|
262
262
|
key: 'comments/comment/context',
|
|
263
263
|
id: MenuId.CommentActions,
|
|
264
264
|
description: ( localize(
|
|
265
|
-
|
|
265
|
+
11500,
|
|
266
266
|
"The contributed comment context menu, rendered as buttons below the comment editor"
|
|
267
267
|
)),
|
|
268
268
|
supportsSubmenus: false
|
|
@@ -271,7 +271,7 @@ const apiMenus = [
|
|
|
271
271
|
key: 'comments/commentThread/comment/context',
|
|
272
272
|
id: MenuId.CommentThreadCommentContext,
|
|
273
273
|
description: ( localize(
|
|
274
|
-
|
|
274
|
+
11501,
|
|
275
275
|
"The contributed comment context menu, rendered as a right click menu on the an individual comment in the comment thread's peek view."
|
|
276
276
|
)),
|
|
277
277
|
proposed: 'contribCommentPeekContext'
|
|
@@ -279,113 +279,113 @@ const apiMenus = [
|
|
|
279
279
|
{
|
|
280
280
|
key: 'commentsView/commentThread/context',
|
|
281
281
|
id: MenuId.CommentsViewThreadActions,
|
|
282
|
-
description: ( localize(
|
|
282
|
+
description: ( localize(11502, "The contributed comment thread context menu in the comments view")),
|
|
283
283
|
proposed: 'contribCommentsViewThreadMenus'
|
|
284
284
|
},
|
|
285
285
|
{
|
|
286
286
|
key: 'notebook/toolbar',
|
|
287
287
|
id: MenuId.NotebookToolbar,
|
|
288
|
-
description: ( localize(
|
|
288
|
+
description: ( localize(11503, "The contributed notebook toolbar menu"))
|
|
289
289
|
},
|
|
290
290
|
{
|
|
291
291
|
key: 'notebook/kernelSource',
|
|
292
292
|
id: MenuId.NotebookKernelSource,
|
|
293
|
-
description: ( localize(
|
|
293
|
+
description: ( localize(11504, "The contributed notebook kernel sources menu")),
|
|
294
294
|
proposed: 'notebookKernelSource'
|
|
295
295
|
},
|
|
296
296
|
{
|
|
297
297
|
key: 'notebook/cell/title',
|
|
298
298
|
id: MenuId.NotebookCellTitle,
|
|
299
|
-
description: ( localize(
|
|
299
|
+
description: ( localize(11505, "The contributed notebook cell title menu"))
|
|
300
300
|
},
|
|
301
301
|
{
|
|
302
302
|
key: 'notebook/cell/execute',
|
|
303
303
|
id: MenuId.NotebookCellExecute,
|
|
304
|
-
description: ( localize(
|
|
304
|
+
description: ( localize(11506, "The contributed notebook cell execution menu"))
|
|
305
305
|
},
|
|
306
306
|
{
|
|
307
307
|
key: 'interactive/toolbar',
|
|
308
308
|
id: MenuId.InteractiveToolbar,
|
|
309
|
-
description: ( localize(
|
|
309
|
+
description: ( localize(11507, "The contributed interactive toolbar menu")),
|
|
310
310
|
},
|
|
311
311
|
{
|
|
312
312
|
key: 'interactive/cell/title',
|
|
313
313
|
id: MenuId.InteractiveCellTitle,
|
|
314
|
-
description: ( localize(
|
|
314
|
+
description: ( localize(11508, "The contributed interactive cell title menu")),
|
|
315
315
|
},
|
|
316
316
|
{
|
|
317
317
|
key: 'issue/reporter',
|
|
318
318
|
id: MenuId.IssueReporter,
|
|
319
|
-
description: ( localize(
|
|
319
|
+
description: ( localize(11509, "The contributed issue reporter menu"))
|
|
320
320
|
},
|
|
321
321
|
{
|
|
322
322
|
key: 'testing/item/context',
|
|
323
323
|
id: MenuId.TestItem,
|
|
324
|
-
description: ( localize(
|
|
324
|
+
description: ( localize(11510, "The contributed test item menu")),
|
|
325
325
|
},
|
|
326
326
|
{
|
|
327
327
|
key: 'testing/item/gutter',
|
|
328
328
|
id: MenuId.TestItemGutter,
|
|
329
|
-
description: ( localize(
|
|
329
|
+
description: ( localize(11511, "The menu for a gutter decoration for a test item")),
|
|
330
330
|
},
|
|
331
331
|
{
|
|
332
332
|
key: 'testing/profiles/context',
|
|
333
333
|
id: MenuId.TestProfilesContext,
|
|
334
|
-
description: ( localize(
|
|
334
|
+
description: ( localize(11512, "The menu for configuring testing profiles.")),
|
|
335
335
|
},
|
|
336
336
|
{
|
|
337
337
|
key: 'testing/item/result',
|
|
338
338
|
id: MenuId.TestPeekElement,
|
|
339
|
-
description: ( localize(
|
|
339
|
+
description: ( localize(11513, "The menu for an item in the Test Results view or peek.")),
|
|
340
340
|
},
|
|
341
341
|
{
|
|
342
342
|
key: 'testing/message/context',
|
|
343
343
|
id: MenuId.TestMessageContext,
|
|
344
344
|
description: ( localize(
|
|
345
|
-
|
|
345
|
+
11514,
|
|
346
346
|
"A prominent button overlaying editor content where the message is displayed"
|
|
347
347
|
)),
|
|
348
348
|
},
|
|
349
349
|
{
|
|
350
350
|
key: 'testing/message/content',
|
|
351
351
|
id: MenuId.TestMessageContent,
|
|
352
|
-
description: ( localize(
|
|
352
|
+
description: ( localize(11515, "Context menu for the message in the results tree")),
|
|
353
353
|
},
|
|
354
354
|
{
|
|
355
355
|
key: 'extension/context',
|
|
356
356
|
id: MenuId.ExtensionContext,
|
|
357
|
-
description: ( localize(
|
|
357
|
+
description: ( localize(11516, "The extension context menu"))
|
|
358
358
|
},
|
|
359
359
|
{
|
|
360
360
|
key: 'timeline/title',
|
|
361
361
|
id: MenuId.TimelineTitle,
|
|
362
|
-
description: ( localize(
|
|
362
|
+
description: ( localize(11517, "The Timeline view title menu"))
|
|
363
363
|
},
|
|
364
364
|
{
|
|
365
365
|
key: 'timeline/item/context',
|
|
366
366
|
id: MenuId.TimelineItemContext,
|
|
367
|
-
description: ( localize(
|
|
367
|
+
description: ( localize(11518, "The Timeline view item context menu"))
|
|
368
368
|
},
|
|
369
369
|
{
|
|
370
370
|
key: 'ports/item/context',
|
|
371
371
|
id: MenuId.TunnelContext,
|
|
372
|
-
description: ( localize(
|
|
372
|
+
description: ( localize(11519, "The Ports view item context menu"))
|
|
373
373
|
},
|
|
374
374
|
{
|
|
375
375
|
key: 'ports/item/origin/inline',
|
|
376
376
|
id: MenuId.TunnelOriginInline,
|
|
377
|
-
description: ( localize(
|
|
377
|
+
description: ( localize(11520, "The Ports view item origin inline menu"))
|
|
378
378
|
},
|
|
379
379
|
{
|
|
380
380
|
key: 'ports/item/port/inline',
|
|
381
381
|
id: MenuId.TunnelPortInline,
|
|
382
|
-
description: ( localize(
|
|
382
|
+
description: ( localize(11521, "The Ports view item port inline menu"))
|
|
383
383
|
},
|
|
384
384
|
{
|
|
385
385
|
key: 'file/newFile',
|
|
386
386
|
id: MenuId.NewFile,
|
|
387
387
|
description: ( localize(
|
|
388
|
-
|
|
388
|
+
11522,
|
|
389
389
|
"The 'New File...' quick pick, shown on welcome page and File menu."
|
|
390
390
|
)),
|
|
391
391
|
supportsSubmenus: false,
|
|
@@ -393,55 +393,63 @@ const apiMenus = [
|
|
|
393
393
|
{
|
|
394
394
|
key: 'webview/context',
|
|
395
395
|
id: MenuId.WebviewContext,
|
|
396
|
-
description: ( localize(
|
|
396
|
+
description: ( localize(11523, "The webview context menu"))
|
|
397
397
|
},
|
|
398
398
|
{
|
|
399
399
|
key: 'file/share',
|
|
400
400
|
id: MenuId.MenubarShare,
|
|
401
|
-
description: ( localize(
|
|
401
|
+
description: ( localize(11524, "Share submenu shown in the top level File menu.")),
|
|
402
402
|
proposed: 'contribShareMenu'
|
|
403
403
|
},
|
|
404
404
|
{
|
|
405
405
|
key: 'editor/inlineCompletions/actions',
|
|
406
406
|
id: MenuId.InlineCompletionsActions,
|
|
407
|
-
description: ( localize(
|
|
407
|
+
description: ( localize(11525, "The actions shown when hovering on an inline completion")),
|
|
408
408
|
supportsSubmenus: false,
|
|
409
409
|
proposed: 'inlineCompletionsAdditions'
|
|
410
410
|
},
|
|
411
411
|
{
|
|
412
412
|
key: 'editor/content',
|
|
413
413
|
id: MenuId.EditorContent,
|
|
414
|
-
description: ( localize(
|
|
414
|
+
description: ( localize(11526, "The prominent button in an editor, overlays its content")),
|
|
415
415
|
proposed: 'contribEditorContentMenu'
|
|
416
416
|
},
|
|
417
417
|
{
|
|
418
418
|
key: 'editor/lineNumber/context',
|
|
419
419
|
id: MenuId.EditorLineNumberContext,
|
|
420
|
-
description: ( localize(
|
|
420
|
+
description: ( localize(11527, "The contributed editor line number context menu"))
|
|
421
421
|
},
|
|
422
422
|
{
|
|
423
423
|
key: 'mergeEditor/result/title',
|
|
424
424
|
id: MenuId.MergeInputResultToolbar,
|
|
425
|
-
description: ( localize(
|
|
425
|
+
description: ( localize(11528, "The result toolbar of the merge editor")),
|
|
426
426
|
proposed: 'contribMergeEditorMenus'
|
|
427
427
|
},
|
|
428
428
|
{
|
|
429
429
|
key: 'multiDiffEditor/resource/title',
|
|
430
430
|
id: MenuId.MultiDiffEditorFileToolbar,
|
|
431
|
-
description: ( localize(
|
|
431
|
+
description: ( localize(11529, "The resource toolbar in the multi diff editor")),
|
|
432
432
|
proposed: 'contribMultiDiffEditorMenus'
|
|
433
433
|
},
|
|
434
434
|
{
|
|
435
435
|
key: 'diffEditor/gutter/hunk',
|
|
436
436
|
id: MenuId.DiffEditorHunkToolbar,
|
|
437
|
-
description: ( localize(
|
|
437
|
+
description: ( localize(11530, "The gutter toolbar in the diff editor")),
|
|
438
438
|
proposed: 'contribDiffEditorGutterToolBarMenus'
|
|
439
439
|
},
|
|
440
440
|
{
|
|
441
441
|
key: 'diffEditor/gutter/selection',
|
|
442
442
|
id: MenuId.DiffEditorSelectionToolbar,
|
|
443
|
-
description: ( localize(
|
|
443
|
+
description: ( localize(11530, "The gutter toolbar in the diff editor")),
|
|
444
444
|
proposed: 'contribDiffEditorGutterToolBarMenus'
|
|
445
|
+
},
|
|
446
|
+
{
|
|
447
|
+
key: 'searchPanel/aiResults/commands',
|
|
448
|
+
id: MenuId.SearchActionMenu,
|
|
449
|
+
description: ( localize(
|
|
450
|
+
11531,
|
|
451
|
+
"The commands that will contribute to the menu rendered as buttons next to the AI search title"
|
|
452
|
+
)),
|
|
445
453
|
}
|
|
446
454
|
];
|
|
447
455
|
var schema;
|
|
@@ -453,23 +461,23 @@ var schema;
|
|
|
453
461
|
function isValidMenuItem(item, collector) {
|
|
454
462
|
if (typeof item.command !== 'string') {
|
|
455
463
|
collector.error(( localize(
|
|
456
|
-
|
|
464
|
+
11532,
|
|
457
465
|
"property `{0}` is mandatory and must be of type `string`",
|
|
458
466
|
'command'
|
|
459
467
|
)));
|
|
460
468
|
return false;
|
|
461
469
|
}
|
|
462
470
|
if (item.alt && typeof item.alt !== 'string') {
|
|
463
|
-
collector.error(( localize(
|
|
471
|
+
collector.error(( localize(11533, "property `{0}` can be omitted or must be of type `string`", 'alt')));
|
|
464
472
|
return false;
|
|
465
473
|
}
|
|
466
474
|
if (item.when && typeof item.when !== 'string') {
|
|
467
|
-
collector.error(( localize(
|
|
475
|
+
collector.error(( localize(11533, "property `{0}` can be omitted or must be of type `string`", 'when')));
|
|
468
476
|
return false;
|
|
469
477
|
}
|
|
470
478
|
if (item.group && typeof item.group !== 'string') {
|
|
471
479
|
collector.error(( localize(
|
|
472
|
-
|
|
480
|
+
11533,
|
|
473
481
|
"property `{0}` can be omitted or must be of type `string`",
|
|
474
482
|
'group'
|
|
475
483
|
)));
|
|
@@ -481,19 +489,19 @@ var schema;
|
|
|
481
489
|
function isValidSubmenuItem(item, collector) {
|
|
482
490
|
if (typeof item.submenu !== 'string') {
|
|
483
491
|
collector.error(( localize(
|
|
484
|
-
|
|
492
|
+
11532,
|
|
485
493
|
"property `{0}` is mandatory and must be of type `string`",
|
|
486
494
|
'submenu'
|
|
487
495
|
)));
|
|
488
496
|
return false;
|
|
489
497
|
}
|
|
490
498
|
if (item.when && typeof item.when !== 'string') {
|
|
491
|
-
collector.error(( localize(
|
|
499
|
+
collector.error(( localize(11533, "property `{0}` can be omitted or must be of type `string`", 'when')));
|
|
492
500
|
return false;
|
|
493
501
|
}
|
|
494
502
|
if (item.group && typeof item.group !== 'string') {
|
|
495
503
|
collector.error(( localize(
|
|
496
|
-
|
|
504
|
+
11533,
|
|
497
505
|
"property `{0}` can be omitted or must be of type `string`",
|
|
498
506
|
'group'
|
|
499
507
|
)));
|
|
@@ -504,7 +512,7 @@ var schema;
|
|
|
504
512
|
schema.isValidSubmenuItem = isValidSubmenuItem;
|
|
505
513
|
function isValidItems(items, collector) {
|
|
506
514
|
if (!Array.isArray(items)) {
|
|
507
|
-
collector.error(( localize(
|
|
515
|
+
collector.error(( localize(11534, "submenu items must be an array")));
|
|
508
516
|
return false;
|
|
509
517
|
}
|
|
510
518
|
for (const item of items) {
|
|
@@ -524,15 +532,15 @@ var schema;
|
|
|
524
532
|
schema.isValidItems = isValidItems;
|
|
525
533
|
function isValidSubmenu(submenu, collector) {
|
|
526
534
|
if (typeof submenu !== 'object') {
|
|
527
|
-
collector.error(( localize(
|
|
535
|
+
collector.error(( localize(11535, "submenu items must be an object")));
|
|
528
536
|
return false;
|
|
529
537
|
}
|
|
530
538
|
if (typeof submenu.id !== 'string') {
|
|
531
|
-
collector.error(( localize(
|
|
539
|
+
collector.error(( localize(11532, "property `{0}` is mandatory and must be of type `string`", 'id')));
|
|
532
540
|
return false;
|
|
533
541
|
}
|
|
534
542
|
if (typeof submenu.label !== 'string') {
|
|
535
|
-
collector.error(( localize(
|
|
543
|
+
collector.error(( localize(11532, "property `{0}` is mandatory and must be of type `string`", 'label')));
|
|
536
544
|
return false;
|
|
537
545
|
}
|
|
538
546
|
return true;
|
|
@@ -544,24 +552,24 @@ var schema;
|
|
|
544
552
|
properties: {
|
|
545
553
|
command: {
|
|
546
554
|
description: ( localize(
|
|
547
|
-
|
|
555
|
+
11536,
|
|
548
556
|
'Identifier of the command to execute. The command must be declared in the \'commands\'-section'
|
|
549
557
|
)),
|
|
550
558
|
type: 'string'
|
|
551
559
|
},
|
|
552
560
|
alt: {
|
|
553
561
|
description: ( localize(
|
|
554
|
-
|
|
562
|
+
11537,
|
|
555
563
|
'Identifier of an alternative command to execute. The command must be declared in the \'commands\'-section'
|
|
556
564
|
)),
|
|
557
565
|
type: 'string'
|
|
558
566
|
},
|
|
559
567
|
when: {
|
|
560
|
-
description: ( localize(
|
|
568
|
+
description: ( localize(11538, 'Condition which must be true to show this item')),
|
|
561
569
|
type: 'string'
|
|
562
570
|
},
|
|
563
571
|
group: {
|
|
564
|
-
description: ( localize(
|
|
572
|
+
description: ( localize(11539, 'Group into which this item belongs')),
|
|
565
573
|
type: 'string'
|
|
566
574
|
}
|
|
567
575
|
}
|
|
@@ -571,15 +579,15 @@ var schema;
|
|
|
571
579
|
required: ['submenu'],
|
|
572
580
|
properties: {
|
|
573
581
|
submenu: {
|
|
574
|
-
description: ( localize(
|
|
582
|
+
description: ( localize(11540, 'Identifier of the submenu to display in this item.')),
|
|
575
583
|
type: 'string'
|
|
576
584
|
},
|
|
577
585
|
when: {
|
|
578
|
-
description: ( localize(
|
|
586
|
+
description: ( localize(11538, 'Condition which must be true to show this item')),
|
|
579
587
|
type: 'string'
|
|
580
588
|
},
|
|
581
589
|
group: {
|
|
582
|
-
description: ( localize(
|
|
590
|
+
description: ( localize(11539, 'Group into which this item belongs')),
|
|
583
591
|
type: 'string'
|
|
584
592
|
}
|
|
585
593
|
}
|
|
@@ -589,16 +597,16 @@ var schema;
|
|
|
589
597
|
required: ['id', 'label'],
|
|
590
598
|
properties: {
|
|
591
599
|
id: {
|
|
592
|
-
description: ( localize(
|
|
600
|
+
description: ( localize(11541, 'Identifier of the menu to display as a submenu.')),
|
|
593
601
|
type: 'string'
|
|
594
602
|
},
|
|
595
603
|
label: {
|
|
596
|
-
description: ( localize(
|
|
604
|
+
description: ( localize(11542, 'The label of the menu item which leads to this submenu.')),
|
|
597
605
|
type: 'string'
|
|
598
606
|
},
|
|
599
607
|
icon: {
|
|
600
608
|
description: ( localize(
|
|
601
|
-
|
|
609
|
+
11543,
|
|
602
610
|
'(Optional) Icon which is used to represent the submenu in the UI. Either a file path, an object with file paths for dark and light themes, or a theme icon references, like `\\$(zap)`'
|
|
603
611
|
)),
|
|
604
612
|
anyOf: [{
|
|
@@ -608,11 +616,11 @@ var schema;
|
|
|
608
616
|
type: 'object',
|
|
609
617
|
properties: {
|
|
610
618
|
light: {
|
|
611
|
-
description: ( localize(
|
|
619
|
+
description: ( localize(11544, 'Icon path when a light theme is used')),
|
|
612
620
|
type: 'string'
|
|
613
621
|
},
|
|
614
622
|
dark: {
|
|
615
|
-
description: ( localize(
|
|
623
|
+
description: ( localize(11545, 'Icon path when a dark theme is used')),
|
|
616
624
|
type: 'string'
|
|
617
625
|
}
|
|
618
626
|
}
|
|
@@ -621,11 +629,11 @@ var schema;
|
|
|
621
629
|
}
|
|
622
630
|
};
|
|
623
631
|
schema.menusContribution = {
|
|
624
|
-
description: ( localize(
|
|
632
|
+
description: ( localize(11546, "Contributes menu items to the editor")),
|
|
625
633
|
type: 'object',
|
|
626
634
|
properties: index(apiMenus, menu => menu.key, menu => ({
|
|
627
635
|
markdownDescription: menu.proposed ? ( localize(
|
|
628
|
-
|
|
636
|
+
11547,
|
|
629
637
|
"Proposed API, requires `enabledApiProposal: [\"{0}\"]` - {1}",
|
|
630
638
|
menu.proposed,
|
|
631
639
|
menu.description
|
|
@@ -640,18 +648,18 @@ var schema;
|
|
|
640
648
|
}
|
|
641
649
|
};
|
|
642
650
|
schema.submenusContribution = {
|
|
643
|
-
description: ( localize(
|
|
651
|
+
description: ( localize(11548, "Contributes submenu items to the editor")),
|
|
644
652
|
type: 'array',
|
|
645
653
|
items: submenu
|
|
646
654
|
};
|
|
647
655
|
function isValidCommand(command, collector) {
|
|
648
656
|
if (!command) {
|
|
649
|
-
collector.error(( localize(
|
|
657
|
+
collector.error(( localize(11549, "expected non-empty value.")));
|
|
650
658
|
return false;
|
|
651
659
|
}
|
|
652
660
|
if (isFalsyOrWhitespace(command.command)) {
|
|
653
661
|
collector.error(( localize(
|
|
654
|
-
|
|
662
|
+
11532,
|
|
655
663
|
"property `{0}` is mandatory and must be of type `string`",
|
|
656
664
|
'command'
|
|
657
665
|
)));
|
|
@@ -665,7 +673,7 @@ var schema;
|
|
|
665
673
|
}
|
|
666
674
|
if (command.enablement && typeof command.enablement !== 'string') {
|
|
667
675
|
collector.error(( localize(
|
|
668
|
-
|
|
676
|
+
11533,
|
|
669
677
|
"property `{0}` can be omitted or must be of type `string`",
|
|
670
678
|
'precondition'
|
|
671
679
|
)));
|
|
@@ -691,7 +699,7 @@ var schema;
|
|
|
691
699
|
return true;
|
|
692
700
|
}
|
|
693
701
|
collector.error(( localize(
|
|
694
|
-
|
|
702
|
+
11550,
|
|
695
703
|
"property `icon` can be omitted or must be either a string or a literal like `{dark, light}`"
|
|
696
704
|
)));
|
|
697
705
|
return false;
|
|
@@ -699,7 +707,7 @@ var schema;
|
|
|
699
707
|
function isValidLocalizedString(localized, collector, propertyName) {
|
|
700
708
|
if (typeof localized === 'undefined') {
|
|
701
709
|
collector.error(( localize(
|
|
702
|
-
|
|
710
|
+
11551,
|
|
703
711
|
"property `{0}` is mandatory and must be of type `string` or `object`",
|
|
704
712
|
propertyName
|
|
705
713
|
)));
|
|
@@ -707,7 +715,7 @@ var schema;
|
|
|
707
715
|
}
|
|
708
716
|
else if (typeof localized === 'string' && isFalsyOrWhitespace(localized)) {
|
|
709
717
|
collector.error(( localize(
|
|
710
|
-
|
|
718
|
+
11532,
|
|
711
719
|
"property `{0}` is mandatory and must be of type `string`",
|
|
712
720
|
propertyName
|
|
713
721
|
)));
|
|
@@ -715,7 +723,7 @@ var schema;
|
|
|
715
723
|
}
|
|
716
724
|
else if (typeof localized !== 'string' && (isFalsyOrWhitespace(localized.original) || isFalsyOrWhitespace(localized.value))) {
|
|
717
725
|
collector.error(( localize(
|
|
718
|
-
|
|
726
|
+
11552,
|
|
719
727
|
"properties `{0}` and `{1}` are mandatory and must be of type `string`",
|
|
720
728
|
`${propertyName}.value`,
|
|
721
729
|
`${propertyName}.original`
|
|
@@ -729,37 +737,37 @@ var schema;
|
|
|
729
737
|
required: ['command', 'title'],
|
|
730
738
|
properties: {
|
|
731
739
|
command: {
|
|
732
|
-
description: ( localize(
|
|
740
|
+
description: ( localize(11553, 'Identifier of the command to execute')),
|
|
733
741
|
type: 'string'
|
|
734
742
|
},
|
|
735
743
|
title: {
|
|
736
|
-
description: ( localize(
|
|
744
|
+
description: ( localize(11554, 'Title by which the command is represented in the UI')),
|
|
737
745
|
type: 'string'
|
|
738
746
|
},
|
|
739
747
|
shortTitle: {
|
|
740
748
|
markdownDescription: ( localize(
|
|
741
|
-
|
|
749
|
+
11555,
|
|
742
750
|
'(Optional) Short title by which the command is represented in the UI. Menus pick either `title` or `shortTitle` depending on the context in which they show commands.'
|
|
743
751
|
)),
|
|
744
752
|
type: 'string'
|
|
745
753
|
},
|
|
746
754
|
category: {
|
|
747
755
|
description: ( localize(
|
|
748
|
-
|
|
756
|
+
11556,
|
|
749
757
|
'(Optional) Category string by which the command is grouped in the UI'
|
|
750
758
|
)),
|
|
751
759
|
type: 'string'
|
|
752
760
|
},
|
|
753
761
|
enablement: {
|
|
754
762
|
description: ( localize(
|
|
755
|
-
|
|
763
|
+
11557,
|
|
756
764
|
'(Optional) Condition which must be true to enable the command in the UI (menu and keybindings). Does not prevent executing the command by other means, like the `executeCommand`-api.'
|
|
757
765
|
)),
|
|
758
766
|
type: 'string'
|
|
759
767
|
},
|
|
760
768
|
icon: {
|
|
761
769
|
description: ( localize(
|
|
762
|
-
|
|
770
|
+
11558,
|
|
763
771
|
'(Optional) Icon which is used to represent the command in the UI. Either a file path, an object with file paths for dark and light themes, or a theme icon references, like `\\$(zap)`'
|
|
764
772
|
)),
|
|
765
773
|
anyOf: [{
|
|
@@ -769,11 +777,11 @@ var schema;
|
|
|
769
777
|
type: 'object',
|
|
770
778
|
properties: {
|
|
771
779
|
light: {
|
|
772
|
-
description: ( localize(
|
|
780
|
+
description: ( localize(11559, 'Icon path when a light theme is used')),
|
|
773
781
|
type: 'string'
|
|
774
782
|
},
|
|
775
783
|
dark: {
|
|
776
|
-
description: ( localize(
|
|
784
|
+
description: ( localize(11560, 'Icon path when a dark theme is used')),
|
|
777
785
|
type: 'string'
|
|
778
786
|
}
|
|
779
787
|
}
|
|
@@ -782,7 +790,7 @@ var schema;
|
|
|
782
790
|
}
|
|
783
791
|
};
|
|
784
792
|
schema.commandsContribution = {
|
|
785
|
-
description: ( localize(
|
|
793
|
+
description: ( localize(11561, "Contributes commands to the command palette.")),
|
|
786
794
|
oneOf: [
|
|
787
795
|
commandType,
|
|
788
796
|
{
|
|
@@ -826,7 +834,7 @@ commandsExtensionPoint.setHandler(extensions => {
|
|
|
826
834
|
if (existingCmd) {
|
|
827
835
|
if (existingCmd.source) {
|
|
828
836
|
extension.collector.info(( localize(
|
|
829
|
-
|
|
837
|
+
11562,
|
|
830
838
|
"Command `{0}` already registered by {1} ({2})",
|
|
831
839
|
userFriendlyCommand.command,
|
|
832
840
|
existingCmd.source.title,
|
|
@@ -834,7 +842,7 @@ commandsExtensionPoint.setHandler(extensions => {
|
|
|
834
842
|
)));
|
|
835
843
|
}
|
|
836
844
|
else {
|
|
837
|
-
extension.collector.info(( localize(
|
|
845
|
+
extension.collector.info(( localize(11563, "Command `{0}` already registered", userFriendlyCommand.command)));
|
|
838
846
|
}
|
|
839
847
|
}
|
|
840
848
|
_commandRegistrations.add(MenuRegistry.addCommand({
|
|
@@ -875,19 +883,19 @@ submenusExtensionPoint.setHandler(extensions => {
|
|
|
875
883
|
continue;
|
|
876
884
|
}
|
|
877
885
|
if (!submenuInfo.id) {
|
|
878
|
-
collector.warn(( localize(
|
|
886
|
+
collector.warn(( localize(11564, "`{0}` is not a valid submenu identifier", submenuInfo.id)));
|
|
879
887
|
continue;
|
|
880
888
|
}
|
|
881
889
|
if (( _submenus.has(submenuInfo.id))) {
|
|
882
890
|
collector.info(( localize(
|
|
883
|
-
|
|
891
|
+
11565,
|
|
884
892
|
"The `{0}` submenu was already previously registered.",
|
|
885
893
|
submenuInfo.id
|
|
886
894
|
)));
|
|
887
895
|
continue;
|
|
888
896
|
}
|
|
889
897
|
if (!submenuInfo.label) {
|
|
890
|
-
collector.warn(( localize(
|
|
898
|
+
collector.warn(( localize(11566, "`{0}` is not a valid submenu label", submenuInfo.label)));
|
|
891
899
|
continue;
|
|
892
900
|
}
|
|
893
901
|
let absoluteIcon;
|
|
@@ -944,7 +952,7 @@ menusExtensionPoint.setHandler(extensions => {
|
|
|
944
952
|
}
|
|
945
953
|
if (menu.proposed && !isProposedApiEnabled(extension.description, menu.proposed)) {
|
|
946
954
|
collector.error(( localize(
|
|
947
|
-
|
|
955
|
+
11567,
|
|
948
956
|
"{0} is a proposed menu identifier. It requires 'package.json#enabledApiProposals: [\"{1}\"]' and is only available when running out of dev or with the following command line switch: --enable-proposed-api {2}",
|
|
949
957
|
entry[0],
|
|
950
958
|
menu.proposed,
|
|
@@ -959,7 +967,7 @@ menusExtensionPoint.setHandler(extensions => {
|
|
|
959
967
|
const alt = menuItem.alt && MenuRegistry.getCommand(menuItem.alt) || undefined;
|
|
960
968
|
if (!command) {
|
|
961
969
|
collector.error(( localize(
|
|
962
|
-
|
|
970
|
+
11568,
|
|
963
971
|
"Menu item references a command `{0}` which is not defined in the 'commands' section.",
|
|
964
972
|
menuItem.command
|
|
965
973
|
)));
|
|
@@ -967,20 +975,20 @@ menusExtensionPoint.setHandler(extensions => {
|
|
|
967
975
|
}
|
|
968
976
|
if (menuItem.alt && !alt) {
|
|
969
977
|
collector.warn(( localize(
|
|
970
|
-
|
|
978
|
+
11569,
|
|
971
979
|
"Menu item references an alt-command `{0}` which is not defined in the 'commands' section.",
|
|
972
980
|
menuItem.alt
|
|
973
981
|
)));
|
|
974
982
|
}
|
|
975
983
|
if (menuItem.command === menuItem.alt) {
|
|
976
|
-
collector.info(( localize(
|
|
984
|
+
collector.info(( localize(11570, "Menu item references the same command as default and alt-command")));
|
|
977
985
|
}
|
|
978
986
|
item = { command, alt, group: undefined, order: undefined, when: undefined };
|
|
979
987
|
}
|
|
980
988
|
else {
|
|
981
989
|
if (menu.supportsSubmenus === false) {
|
|
982
990
|
collector.error(( localize(
|
|
983
|
-
|
|
991
|
+
11571,
|
|
984
992
|
"Menu item references a submenu for a menu which doesn't have submenu support."
|
|
985
993
|
)));
|
|
986
994
|
continue;
|
|
@@ -988,7 +996,7 @@ menusExtensionPoint.setHandler(extensions => {
|
|
|
988
996
|
const submenu = _submenus.get(menuItem.submenu);
|
|
989
997
|
if (!submenu) {
|
|
990
998
|
collector.error(( localize(
|
|
991
|
-
|
|
999
|
+
11572,
|
|
992
1000
|
"Menu item references a submenu `{0}` which is not defined in the 'submenus' section.",
|
|
993
1001
|
menuItem.submenu
|
|
994
1002
|
)));
|
|
@@ -1001,7 +1009,7 @@ menusExtensionPoint.setHandler(extensions => {
|
|
|
1001
1009
|
}
|
|
1002
1010
|
if (( submenuRegistrations.has(submenu.id.id))) {
|
|
1003
1011
|
collector.warn(( localize(
|
|
1004
|
-
|
|
1012
|
+
11573,
|
|
1005
1013
|
"The `{0}` submenu was already contributed to the `{1}` menu.",
|
|
1006
1014
|
menuItem.submenu,
|
|
1007
1015
|
entry[0]
|
|
@@ -1023,7 +1031,7 @@ menusExtensionPoint.setHandler(extensions => {
|
|
|
1023
1031
|
}
|
|
1024
1032
|
if (menu.id === MenuId.ViewContainerTitle && !menuItem.when?.includes('viewContainer == workbench.view.debug')) {
|
|
1025
1033
|
collector.error(( localize(
|
|
1026
|
-
|
|
1034
|
+
11574,
|
|
1027
1035
|
"The {0} menu contribution must check {1} in its {2} clause.",
|
|
1028
1036
|
'`viewContainer/title`',
|
|
1029
1037
|
'`viewContainer == workbench.view.debug`',
|
|
@@ -1110,10 +1118,10 @@ let CommandsTableRenderer = class CommandsTableRenderer extends Disposable {
|
|
|
1110
1118
|
return { data: { headers: [], rows: [] }, dispose: () => { } };
|
|
1111
1119
|
}
|
|
1112
1120
|
const headers = [
|
|
1113
|
-
( localize(
|
|
1114
|
-
( localize(
|
|
1115
|
-
( localize(
|
|
1116
|
-
( localize(
|
|
1121
|
+
( localize(11575, "ID")),
|
|
1122
|
+
( localize(11576, "Title")),
|
|
1123
|
+
( localize(11577, "Keyboard Shortcuts")),
|
|
1124
|
+
( localize(11578, "Menu Contexts"))
|
|
1117
1125
|
];
|
|
1118
1126
|
const rows = ( commands.sort((a, b) => a.id.localeCompare(b.id))
|
|
1119
1127
|
.map(command => {
|
|
@@ -1153,7 +1161,7 @@ CommandsTableRenderer = ( __decorate([
|
|
|
1153
1161
|
], CommandsTableRenderer));
|
|
1154
1162
|
( Registry.as(Extensions.ExtensionFeaturesRegistry)).registerExtensionFeature({
|
|
1155
1163
|
id: 'commands',
|
|
1156
|
-
label: ( localize(
|
|
1164
|
+
label: ( localize(11579, "Commands")),
|
|
1157
1165
|
access: {
|
|
1158
1166
|
canToggle: false,
|
|
1159
1167
|
},
|