@codingame/monaco-vscode-keybindings-service-override 31.0.0 → 32.0.0

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codingame/monaco-vscode-keybindings-service-override",
3
- "version": "31.0.0",
3
+ "version": "32.0.0",
4
4
  "private": false,
5
5
  "description": "VSCode public API plugged on the monaco editor - keybindings service-override",
6
6
  "keywords": [],
@@ -15,8 +15,8 @@
15
15
  },
16
16
  "type": "module",
17
17
  "dependencies": {
18
- "@codingame/monaco-vscode-api": "31.0.0",
19
- "@codingame/monaco-vscode-files-service-override": "31.0.0"
18
+ "@codingame/monaco-vscode-api": "32.0.0",
19
+ "@codingame/monaco-vscode-files-service-override": "32.0.0"
20
20
  },
21
21
  "main": "index.js",
22
22
  "module": "index.js",
@@ -23,7 +23,7 @@ const keyboardConfiguration = {
23
23
  "id": "keyboard",
24
24
  "order": 15,
25
25
  "type": "object",
26
- "title": ( localize(1994, "Keyboard")),
26
+ "title": ( localize(2006, "Keyboard")),
27
27
  "properties": {
28
28
  "keyboard.dispatch": {
29
29
  scope: ConfigurationScope.APPLICATION,
@@ -31,7 +31,7 @@ const keyboardConfiguration = {
31
31
  enum: ["code", "keyCode"],
32
32
  default: "code",
33
33
  markdownDescription: ( localize(
34
- 1995,
34
+ 2007,
35
35
  "Controls the dispatching logic for key presses to use either `code` (recommended) or `keyCode`."
36
36
  )),
37
37
  included: OS === OperatingSystem.Macintosh || OS === OperatingSystem.Linux
@@ -40,7 +40,7 @@ const keyboardConfiguration = {
40
40
  scope: ConfigurationScope.APPLICATION,
41
41
  type: "boolean",
42
42
  default: false,
43
- markdownDescription: ( localize(1996, "Controls if the AltGraph+ modifier should be treated as Ctrl+Alt+.")),
43
+ markdownDescription: ( localize(2008, "Controls if the AltGraph+ modifier should be treated as Ctrl+Alt+.")),
44
44
  included: OS === OperatingSystem.Windows
45
45
  }
46
46
  }
@@ -10,10 +10,10 @@ class RunCommands extends Action2 {
10
10
  constructor() {
11
11
  super({
12
12
  id: "runCommands",
13
- title: ( localize2(7994, "Run Commands")),
13
+ title: ( localize2(8325, "Run Commands")),
14
14
  f1: false,
15
15
  metadata: {
16
- description: ( localize(7995, "Run several commands")),
16
+ description: ( localize(8326, "Run several commands")),
17
17
  args: [{
18
18
  name: "args",
19
19
  schema: {
@@ -22,7 +22,7 @@ class RunCommands extends Action2 {
22
22
  properties: {
23
23
  commands: {
24
24
  type: "array",
25
- description: ( localize(7996, "Commands to run")),
25
+ description: ( localize(8327, "Commands to run")),
26
26
  items: {
27
27
  anyOf: [{
28
28
  $ref: "vscode://schemas/keybindings#/definitions/commandNames"
@@ -54,14 +54,14 @@ class RunCommands extends Action2 {
54
54
  const notificationService = accessor.get(INotificationService);
55
55
  if (!this._isCommandArgs(args)) {
56
56
  notificationService.error(( localize(
57
- 7997,
57
+ 8328,
58
58
  "'runCommands' has received an argument with incorrect type. Please, review the argument passed to the command."
59
59
  )));
60
60
  return;
61
61
  }
62
62
  if (args.commands.length === 0) {
63
63
  notificationService.warn(( localize(
64
- 7998,
64
+ 8329,
65
65
  "'runCommands' has not received commands to run. Did you forget to pass commands in the 'runCommands' argument?"
66
66
  )));
67
67
  return;
@@ -15,7 +15,7 @@ class ToggleKeybindingsLogAction extends Action2 {
15
15
  constructor() {
16
16
  super({
17
17
  id: "workbench.action.toggleKeybindingsLog",
18
- title: ( localize2(10268, "Toggle Keyboard Shortcuts Troubleshooting")),
18
+ title: ( localize2(10580, "Toggle Keyboard Shortcuts Troubleshooting")),
19
19
  category: Categories.Developer,
20
20
  f1: true
21
21
  });
@@ -24,7 +24,7 @@ import { DEFINE_KEYBINDING_EDITOR_CONTRIB_ID } from '@codingame/monaco-vscode-ap
24
24
 
25
25
  var KeybindingEditorDecorationsRenderer_1;
26
26
  const NLS_KB_LAYOUT_ERROR_MESSAGE = ( localize(
27
- 11768,
27
+ 12070,
28
28
  "You won't be able to produce this key combination under your current keyboard layout."
29
29
  ));
30
30
  let DefineKeybindingEditorContribution = class DefineKeybindingEditorContribution extends Disposable {
@@ -184,13 +184,13 @@ let KeybindingEditorDecorationsRenderer = KeybindingEditorDecorationsRenderer_1
184
184
  } else {
185
185
  if (usLabel && uiLabel !== usLabel) {
186
186
  msg = ( new MarkdownString(( localize(
187
- 11769,
187
+ 12071,
188
188
  "**{0}** for your current keyboard layout (**{1}** for US standard).",
189
189
  uiLabel,
190
190
  usLabel
191
191
  ))));
192
192
  } else {
193
- msg = ( new MarkdownString(( localize(11770, "**{0}** for your current keyboard layout.", uiLabel))));
193
+ msg = ( new MarkdownString(( localize(12072, "**{0}** for your current keyboard layout.", uiLabel))));
194
194
  }
195
195
  className = "keybindingInfo";
196
196
  overviewRulerColor = themeColorFromId(overviewRulerInfo);
@@ -20,194 +20,194 @@ import { IKeybindingService } from '@codingame/monaco-vscode-api/vscode/vs/platf
20
20
  const apiMenus = [{
21
21
  key: "commandPalette",
22
22
  id: MenuId.CommandPalette,
23
- description: ( localize(15875, "The Command Palette")),
23
+ description: ( localize(16179, "The Command Palette")),
24
24
  supportsSubmenus: false
25
25
  }, {
26
26
  key: "touchBar",
27
27
  id: MenuId.TouchBarContext,
28
- description: ( localize(15876, "The touch bar (macOS only)")),
28
+ description: ( localize(16180, "The touch bar (macOS only)")),
29
29
  supportsSubmenus: false
30
30
  }, {
31
31
  key: "editor/title",
32
32
  id: MenuId.EditorTitle,
33
- description: ( localize(15877, "The editor title menu"))
33
+ description: ( localize(16181, "The editor title menu"))
34
34
  }, {
35
35
  key: "modalEditor/editorTitle",
36
36
  id: MenuId.ModalEditorEditorTitle,
37
- description: ( localize(15878, "The editor title menu in the modal editor"))
37
+ description: ( localize(16182, "The editor title menu in the modal editor"))
38
38
  }, {
39
39
  key: "editor/title/run",
40
40
  id: MenuId.EditorTitleRun,
41
- description: ( localize(15879, "Run submenu inside the editor title menu"))
41
+ description: ( localize(16183, "Run submenu inside the editor title menu"))
42
42
  }, {
43
43
  key: "editor/context",
44
44
  id: MenuId.EditorContext,
45
- description: ( localize(15880, "The editor context menu"))
45
+ description: ( localize(16184, "The editor context menu"))
46
46
  }, {
47
47
  key: "editor/context/copy",
48
48
  id: MenuId.EditorContextCopy,
49
- description: ( localize(15881, "'Copy as' submenu in the editor context menu"))
49
+ description: ( localize(16185, "'Copy as' submenu in the editor context menu"))
50
50
  }, {
51
51
  key: "editor/context/share",
52
52
  id: MenuId.EditorContextShare,
53
- description: ( localize(15882, "'Share' submenu in the editor context menu")),
53
+ description: ( localize(16186, "'Share' submenu in the editor context menu")),
54
54
  proposed: "contribShareMenu"
55
55
  }, {
56
56
  key: "explorer/context",
57
57
  id: MenuId.ExplorerContext,
58
- description: ( localize(15883, "The file explorer context menu"))
58
+ description: ( localize(16187, "The file explorer context menu"))
59
59
  }, {
60
60
  key: "explorer/context/share",
61
61
  id: MenuId.ExplorerContextShare,
62
- description: ( localize(15884, "'Share' submenu in the file explorer context menu")),
62
+ description: ( localize(16188, "'Share' submenu in the file explorer context menu")),
63
63
  proposed: "contribShareMenu"
64
64
  }, {
65
65
  key: "editor/title/context",
66
66
  id: MenuId.EditorTitleContext,
67
- description: ( localize(15885, "The editor tabs context menu"))
67
+ description: ( localize(16189, "The editor tabs context menu"))
68
68
  }, {
69
69
  key: "editor/title/context/share",
70
70
  id: MenuId.EditorTitleContextShare,
71
- description: ( localize(15886, "'Share' submenu inside the editor title context menu")),
71
+ description: ( localize(16190, "'Share' submenu inside the editor title context menu")),
72
72
  proposed: "contribShareMenu"
73
73
  }, {
74
74
  key: "debug/callstack/context",
75
75
  id: MenuId.DebugCallStackContext,
76
- description: ( localize(15887, "The debug callstack view context menu"))
76
+ description: ( localize(16191, "The debug callstack view context menu"))
77
77
  }, {
78
78
  key: "debug/variables/context",
79
79
  id: MenuId.DebugVariablesContext,
80
- description: ( localize(15888, "The debug variables view context menu"))
80
+ description: ( localize(16192, "The debug variables view context menu"))
81
81
  }, {
82
82
  key: "debug/watch/context",
83
83
  id: MenuId.DebugWatchContext,
84
- description: ( localize(15889, "The debug watch view context menu"))
84
+ description: ( localize(16193, "The debug watch view context menu"))
85
85
  }, {
86
86
  key: "debug/toolBar",
87
87
  id: MenuId.DebugToolBar,
88
- description: ( localize(15890, "The debug toolbar menu"))
88
+ description: ( localize(16194, "The debug toolbar menu"))
89
89
  }, {
90
90
  key: "debug/createConfiguration",
91
91
  id: MenuId.DebugCreateConfiguration,
92
92
  proposed: "contribDebugCreateConfiguration",
93
- description: ( localize(15891, "The debug create configuration menu"))
93
+ description: ( localize(16195, "The debug create configuration menu"))
94
94
  }, {
95
95
  key: "notebook/variables/context",
96
96
  id: MenuId.NotebookVariablesContext,
97
- description: ( localize(15892, "The notebook variables view context menu"))
97
+ description: ( localize(16196, "The notebook variables view context menu"))
98
98
  }, {
99
99
  key: "menuBar/home",
100
100
  id: MenuId.MenubarHomeMenu,
101
- description: ( localize(15893, "The home indicator context menu (web only)")),
101
+ description: ( localize(16197, "The home indicator context menu (web only)")),
102
102
  proposed: "contribMenuBarHome",
103
103
  supportsSubmenus: false
104
104
  }, {
105
105
  key: "menuBar/edit/copy",
106
106
  id: MenuId.MenubarCopy,
107
- description: ( localize(15894, "'Copy as' submenu in the top level Edit menu"))
107
+ description: ( localize(16198, "'Copy as' submenu in the top level Edit menu"))
108
108
  }, {
109
109
  key: "scm/title",
110
110
  id: MenuId.SCMTitle,
111
- description: ( localize(15895, "The Source Control title menu"))
111
+ description: ( localize(16199, "The Source Control title menu"))
112
112
  }, {
113
113
  key: "scm/sourceControl",
114
114
  id: MenuId.SCMSourceControl,
115
- description: ( localize(15896, "The Source Control menu"))
115
+ description: ( localize(16200, "The Source Control menu"))
116
116
  }, {
117
117
  key: "scm/repositories/title",
118
118
  id: MenuId.SCMSourceControlTitle,
119
- description: ( localize(15897, "The Source Control Repositories title menu")),
119
+ description: ( localize(16201, "The Source Control Repositories title menu")),
120
120
  proposed: "contribSourceControlTitleMenu"
121
121
  }, {
122
122
  key: "scm/repository",
123
123
  id: MenuId.SCMSourceControlInline,
124
- description: ( localize(15898, "The Source Control repository menu"))
124
+ description: ( localize(16202, "The Source Control repository menu"))
125
125
  }, {
126
126
  key: "scm/resourceState/context",
127
127
  id: MenuId.SCMResourceContext,
128
- description: ( localize(15899, "The Source Control resource state context menu"))
128
+ description: ( localize(16203, "The Source Control resource state context menu"))
129
129
  }, {
130
130
  key: "scm/resourceFolder/context",
131
131
  id: MenuId.SCMResourceFolderContext,
132
- description: ( localize(15900, "The Source Control resource folder context menu"))
132
+ description: ( localize(16204, "The Source Control resource folder context menu"))
133
133
  }, {
134
134
  key: "scm/resourceGroup/context",
135
135
  id: MenuId.SCMResourceGroupContext,
136
- description: ( localize(15901, "The Source Control resource group context menu"))
136
+ description: ( localize(16205, "The Source Control resource group context menu"))
137
137
  }, {
138
138
  key: "scm/change/title",
139
139
  id: MenuId.SCMChangeContext,
140
- description: ( localize(15902, "The Source Control inline change menu"))
140
+ description: ( localize(16206, "The Source Control inline change menu"))
141
141
  }, {
142
142
  key: "scm/inputBox",
143
143
  id: MenuId.SCMInputBox,
144
- description: ( localize(15903, "The Source Control input box menu")),
144
+ description: ( localize(16207, "The Source Control input box menu")),
145
145
  proposed: "contribSourceControlInputBoxMenu"
146
146
  }, {
147
147
  key: "scm/history/title",
148
148
  id: MenuId.SCMHistoryTitle,
149
- description: ( localize(15904, "The Source Control History title menu")),
149
+ description: ( localize(16208, "The Source Control History title menu")),
150
150
  proposed: "contribSourceControlHistoryTitleMenu"
151
151
  }, {
152
152
  key: "scm/historyItem/context",
153
153
  id: MenuId.SCMHistoryItemContext,
154
- description: ( localize(15905, "The Source Control history item context menu")),
154
+ description: ( localize(16209, "The Source Control history item context menu")),
155
155
  proposed: "contribSourceControlHistoryItemMenu"
156
156
  }, {
157
157
  key: "scm/historyItemRef/context",
158
158
  id: MenuId.SCMHistoryItemRefContext,
159
- description: ( localize(15906, "The Source Control history item reference context menu")),
159
+ description: ( localize(16210, "The Source Control history item reference context menu")),
160
160
  proposed: "contribSourceControlHistoryItemMenu"
161
161
  }, {
162
162
  key: "scm/artifactGroup/context",
163
163
  id: MenuId.SCMArtifactGroupContext,
164
- description: ( localize(15907, "The Source Control artifact group context menu")),
164
+ description: ( localize(16211, "The Source Control artifact group context menu")),
165
165
  proposed: "contribSourceControlArtifactGroupMenu"
166
166
  }, {
167
167
  key: "scm/artifact/context",
168
168
  id: MenuId.SCMArtifactContext,
169
- description: ( localize(15908, "The Source Control artifact context menu")),
169
+ description: ( localize(16212, "The Source Control artifact context menu")),
170
170
  proposed: "contribSourceControlArtifactMenu"
171
171
  }, {
172
172
  key: "statusBar/remoteIndicator",
173
173
  id: MenuId.StatusBarRemoteIndicatorMenu,
174
- description: ( localize(15909, "The remote indicator menu in the status bar")),
174
+ description: ( localize(16213, "The remote indicator menu in the status bar")),
175
175
  supportsSubmenus: false
176
176
  }, {
177
177
  key: "terminal/context",
178
178
  id: MenuId.TerminalInstanceContext,
179
- description: ( localize(15910, "The terminal context menu"))
179
+ description: ( localize(16214, "The terminal context menu"))
180
180
  }, {
181
181
  key: "terminal/title/context",
182
182
  id: MenuId.TerminalTabContext,
183
- description: ( localize(15911, "The terminal tabs context menu"))
183
+ description: ( localize(16215, "The terminal tabs context menu"))
184
184
  }, {
185
185
  key: "view/title",
186
186
  id: MenuId.ViewTitle,
187
- description: ( localize(15912, "The contributed view title menu"))
187
+ description: ( localize(16216, "The contributed view title menu"))
188
188
  }, {
189
189
  key: "viewContainer/title",
190
190
  id: MenuId.ViewContainerTitle,
191
- description: ( localize(15913, "The contributed view container title menu")),
191
+ description: ( localize(16217, "The contributed view container title menu")),
192
192
  proposed: "contribViewContainerTitle"
193
193
  }, {
194
194
  key: "view/item/context",
195
195
  id: MenuId.ViewItemContext,
196
- description: ( localize(15914, "The contributed view item context menu"))
196
+ description: ( localize(16218, "The contributed view item context menu"))
197
197
  }, {
198
198
  key: "comments/comment/editorActions",
199
199
  id: MenuId.CommentEditorActions,
200
- description: ( localize(15915, "The contributed comment editor actions")),
200
+ description: ( localize(16219, "The contributed comment editor actions")),
201
201
  proposed: "contribCommentEditorActionsMenu"
202
202
  }, {
203
203
  key: "comments/commentThread/title",
204
204
  id: MenuId.CommentThreadTitle,
205
- description: ( localize(15916, "The contributed comment thread title menu"))
205
+ description: ( localize(16220, "The contributed comment thread title menu"))
206
206
  }, {
207
207
  key: "comments/commentThread/context",
208
208
  id: MenuId.CommentThreadActions,
209
209
  description: ( localize(
210
- 15917,
210
+ 16221,
211
211
  "The contributed comment thread context menu, rendered as buttons below the comment editor"
212
212
  )),
213
213
  supportsSubmenus: false
@@ -215,7 +215,7 @@ const apiMenus = [{
215
215
  key: "comments/commentThread/additionalActions",
216
216
  id: MenuId.CommentThreadAdditionalActions,
217
217
  description: ( localize(
218
- 15917,
218
+ 16221,
219
219
  "The contributed comment thread context menu, rendered as buttons below the comment editor"
220
220
  )),
221
221
  supportsSubmenus: true,
@@ -224,19 +224,19 @@ const apiMenus = [{
224
224
  key: "comments/commentThread/title/context",
225
225
  id: MenuId.CommentThreadTitleContext,
226
226
  description: ( localize(
227
- 15918,
227
+ 16222,
228
228
  "The contributed comment thread title's peek context menu, rendered as a right click menu on the comment thread's peek title."
229
229
  )),
230
230
  proposed: "contribCommentPeekContext"
231
231
  }, {
232
232
  key: "comments/comment/title",
233
233
  id: MenuId.CommentTitle,
234
- description: ( localize(15919, "The contributed comment title menu"))
234
+ description: ( localize(16223, "The contributed comment title menu"))
235
235
  }, {
236
236
  key: "comments/comment/context",
237
237
  id: MenuId.CommentActions,
238
238
  description: ( localize(
239
- 15920,
239
+ 16224,
240
240
  "The contributed comment context menu, rendered as buttons below the comment editor"
241
241
  )),
242
242
  supportsSubmenus: false
@@ -244,227 +244,241 @@ const apiMenus = [{
244
244
  key: "comments/commentThread/comment/context",
245
245
  id: MenuId.CommentThreadCommentContext,
246
246
  description: ( localize(
247
- 15921,
247
+ 16225,
248
248
  "The contributed comment context menu, rendered as a right click menu on the an individual comment in the comment thread's peek view."
249
249
  )),
250
250
  proposed: "contribCommentPeekContext"
251
251
  }, {
252
252
  key: "commentsView/commentThread/context",
253
253
  id: MenuId.CommentsViewThreadActions,
254
- description: ( localize(15922, "The contributed comment thread context menu in the comments view")),
254
+ description: ( localize(16226, "The contributed comment thread context menu in the comments view")),
255
255
  proposed: "contribCommentsViewThreadMenus"
256
256
  }, {
257
257
  key: "notebook/toolbar",
258
258
  id: MenuId.NotebookToolbar,
259
- description: ( localize(15923, "The contributed notebook toolbar menu"))
259
+ description: ( localize(16227, "The contributed notebook toolbar menu"))
260
260
  }, {
261
261
  key: "notebook/kernelSource",
262
262
  id: MenuId.NotebookKernelSource,
263
- description: ( localize(15924, "The contributed notebook kernel sources menu")),
263
+ description: ( localize(16228, "The contributed notebook kernel sources menu")),
264
264
  proposed: "notebookKernelSource"
265
265
  }, {
266
266
  key: "notebook/cell/title",
267
267
  id: MenuId.NotebookCellTitle,
268
- description: ( localize(15925, "The contributed notebook cell title menu"))
268
+ description: ( localize(16229, "The contributed notebook cell title menu"))
269
269
  }, {
270
270
  key: "notebook/cell/execute",
271
271
  id: MenuId.NotebookCellExecute,
272
- description: ( localize(15926, "The contributed notebook cell execution menu"))
272
+ description: ( localize(16230, "The contributed notebook cell execution menu"))
273
273
  }, {
274
274
  key: "interactive/toolbar",
275
275
  id: MenuId.InteractiveToolbar,
276
- description: ( localize(15927, "The contributed interactive toolbar menu"))
276
+ description: ( localize(16231, "The contributed interactive toolbar menu"))
277
277
  }, {
278
278
  key: "interactive/cell/title",
279
279
  id: MenuId.InteractiveCellTitle,
280
- description: ( localize(15928, "The contributed interactive cell title menu"))
280
+ description: ( localize(16232, "The contributed interactive cell title menu"))
281
281
  }, {
282
282
  key: "issue/reporter",
283
283
  id: MenuId.IssueReporter,
284
- description: ( localize(15929, "The contributed issue reporter menu"))
284
+ description: ( localize(16233, "The contributed issue reporter menu"))
285
285
  }, {
286
286
  key: "testing/item/context",
287
287
  id: MenuId.TestItem,
288
- description: ( localize(15930, "The contributed test item menu"))
288
+ description: ( localize(16234, "The contributed test item menu"))
289
289
  }, {
290
290
  key: "testing/item/gutter",
291
291
  id: MenuId.TestItemGutter,
292
- description: ( localize(15931, "The menu for a gutter decoration for a test item"))
292
+ description: ( localize(16235, "The menu for a gutter decoration for a test item"))
293
293
  }, {
294
294
  key: "testing/profiles/context",
295
295
  id: MenuId.TestProfilesContext,
296
- description: ( localize(15932, "The menu for configuring testing profiles."))
296
+ description: ( localize(16236, "The menu for configuring testing profiles."))
297
297
  }, {
298
298
  key: "testing/item/result",
299
299
  id: MenuId.TestPeekElement,
300
- description: ( localize(15933, "The menu for an item in the Test Results view or peek."))
300
+ description: ( localize(16237, "The menu for an item in the Test Results view or peek."))
301
301
  }, {
302
302
  key: "testing/message/context",
303
303
  id: MenuId.TestMessageContext,
304
304
  description: ( localize(
305
- 15934,
305
+ 16238,
306
306
  "A prominent button overlaying editor content where the message is displayed"
307
307
  ))
308
308
  }, {
309
309
  key: "testing/message/content",
310
310
  id: MenuId.TestMessageContent,
311
- description: ( localize(15935, "Context menu for the message in the results tree"))
311
+ description: ( localize(16239, "Context menu for the message in the results tree"))
312
312
  }, {
313
313
  key: "extension/context",
314
314
  id: MenuId.ExtensionContext,
315
- description: ( localize(15936, "The extension context menu"))
315
+ description: ( localize(16240, "The extension context menu"))
316
316
  }, {
317
317
  key: "timeline/title",
318
318
  id: MenuId.TimelineTitle,
319
- description: ( localize(15937, "The Timeline view title menu"))
319
+ description: ( localize(16241, "The Timeline view title menu"))
320
320
  }, {
321
321
  key: "timeline/item/context",
322
322
  id: MenuId.TimelineItemContext,
323
- description: ( localize(15938, "The Timeline view item context menu"))
323
+ description: ( localize(16242, "The Timeline view item context menu"))
324
324
  }, {
325
325
  key: "ports/item/context",
326
326
  id: MenuId.TunnelContext,
327
- description: ( localize(15939, "The Ports view item context menu"))
327
+ description: ( localize(16243, "The Ports view item context menu"))
328
328
  }, {
329
329
  key: "ports/item/origin/inline",
330
330
  id: MenuId.TunnelOriginInline,
331
- description: ( localize(15940, "The Ports view item origin inline menu"))
331
+ description: ( localize(16244, "The Ports view item origin inline menu"))
332
332
  }, {
333
333
  key: "ports/item/port/inline",
334
334
  id: MenuId.TunnelPortInline,
335
- description: ( localize(15941, "The Ports view item port inline menu"))
335
+ description: ( localize(16245, "The Ports view item port inline menu"))
336
336
  }, {
337
337
  key: "file/newFile",
338
338
  id: MenuId.NewFile,
339
339
  description: ( localize(
340
- 15942,
340
+ 16246,
341
341
  "The 'New File...' quick pick, shown on welcome page and File menu."
342
342
  )),
343
343
  supportsSubmenus: false
344
344
  }, {
345
345
  key: "webview/context",
346
346
  id: MenuId.WebviewContext,
347
- description: ( localize(15943, "The webview context menu"))
347
+ description: ( localize(16247, "The webview context menu"))
348
348
  }, {
349
349
  key: "file/share",
350
350
  id: MenuId.MenubarShare,
351
- description: ( localize(15944, "Share submenu shown in the top level File menu.")),
351
+ description: ( localize(16248, "Share submenu shown in the top level File menu.")),
352
352
  proposed: "contribShareMenu"
353
353
  }, {
354
354
  key: "editor/inlineCompletions/actions",
355
355
  id: MenuId.InlineCompletionsActions,
356
- description: ( localize(15945, "The actions shown when hovering on an inline completion")),
356
+ description: ( localize(16249, "The actions shown when hovering on an inline completion")),
357
357
  supportsSubmenus: false,
358
358
  proposed: "inlineCompletionsAdditions"
359
359
  }, {
360
360
  key: "editor/content",
361
361
  id: MenuId.EditorContent,
362
- description: ( localize(15946, "The prominent button in an editor, overlays its content")),
362
+ description: ( localize(16250, "The prominent button in an editor, overlays its content")),
363
363
  proposed: "contribEditorContentMenu"
364
364
  }, {
365
365
  key: "editor/lineNumber/context",
366
366
  id: MenuId.EditorLineNumberContext,
367
- description: ( localize(15947, "The contributed editor line number context menu"))
367
+ description: ( localize(16251, "The contributed editor line number context menu"))
368
368
  }, {
369
369
  key: "mergeEditor/result/title",
370
370
  id: MenuId.MergeInputResultToolbar,
371
- description: ( localize(15948, "The result toolbar of the merge editor")),
371
+ description: ( localize(16252, "The result toolbar of the merge editor")),
372
372
  proposed: "contribMergeEditorMenus"
373
373
  }, {
374
374
  key: "multiDiffEditor/content",
375
375
  id: MenuId.MultiDiffEditorContent,
376
- description: ( localize(15949, "A prominent button overlaying the multi diff editor")),
376
+ description: ( localize(16253, "A prominent button overlaying the multi diff editor")),
377
377
  proposed: "contribEditorContentMenu"
378
378
  }, {
379
379
  key: "multiDiffEditor/resource/title",
380
380
  id: MenuId.MultiDiffEditorFileToolbar,
381
- description: ( localize(15950, "The resource toolbar in the multi diff editor")),
381
+ description: ( localize(16254, "The resource toolbar in the multi diff editor")),
382
382
  proposed: "contribMultiDiffEditorMenus"
383
383
  }, {
384
384
  key: "diffEditor/gutter/hunk",
385
385
  id: MenuId.DiffEditorHunkToolbar,
386
- description: ( localize(15951, "The gutter toolbar in the diff editor")),
386
+ description: ( localize(16255, "The gutter toolbar in the diff editor")),
387
387
  proposed: "contribDiffEditorGutterToolBarMenus"
388
388
  }, {
389
389
  key: "diffEditor/gutter/selection",
390
390
  id: MenuId.DiffEditorSelectionToolbar,
391
- description: ( localize(15951, "The gutter toolbar in the diff editor")),
391
+ description: ( localize(16255, "The gutter toolbar in the diff editor")),
392
392
  proposed: "contribDiffEditorGutterToolBarMenus"
393
393
  }, {
394
394
  key: "searchPanel/aiResults/commands",
395
395
  id: MenuId.SearchActionMenu,
396
396
  description: ( localize(
397
- 15952,
397
+ 16256,
398
398
  "The commands that will contribute to the menu rendered as buttons next to the AI search title"
399
399
  ))
400
400
  }, {
401
401
  key: "editor/context/chat",
402
402
  id: MenuId.ChatTextEditorMenu,
403
- description: ( localize(15953, "The Chat submenu in the text editor context menu.")),
403
+ description: ( localize(16257, "The Chat submenu in the text editor context menu.")),
404
404
  supportsSubmenus: false,
405
405
  proposed: "chatParticipantPrivate"
406
406
  }, {
407
407
  key: "chat/input/editing/sessionToolbar",
408
408
  id: MenuId.ChatEditingSessionChangesToolbar,
409
- description: ( localize(15954, "The Chat Editing widget toolbar menu for session changes.")),
410
- proposed: "chatSessionsProvider"
411
- }, {
412
- key: "chat/input/editing/sessionApplyActions",
413
- id: MenuId.ChatEditingSessionApplySubmenu,
414
- description: ( localize(
415
- 15955,
416
- "Submenu for apply actions in the Chat Editing session changes toolbar."
417
- )),
409
+ description: ( localize(16258, "The Chat Editing widget toolbar menu for session changes.")),
418
410
  proposed: "chatSessionsProvider"
419
411
  }, {
420
412
  key: "chat/input/editing/sessionTitleToolbar",
421
413
  id: MenuId.ChatEditingSessionTitleToolbar,
422
- description: ( localize(15956, "The Chat Editing widget toolbar menu for session title.")),
423
- proposed: "chatSessionsProvider"
424
- }, {
425
- key: "chat/input/editing/sessionChangeToolbar",
426
- id: MenuId.ChatEditingSessionChangeToolbar,
427
- description: ( localize(15957, "The Chat Editing widget toolbar menu for session changes.")),
414
+ description: ( localize(16259, "The Chat Editing widget toolbar menu for session title.")),
428
415
  proposed: "chatSessionsProvider"
429
416
  }, {
430
417
  key: "chat/chatSessions",
431
418
  id: MenuId.AgentSessionsContext,
432
- description: ( localize(15958, "The Chat Sessions menu.")),
419
+ description: ( localize(16260, "The Chat Sessions menu.")),
433
420
  supportsSubmenus: false,
434
421
  proposed: "chatSessionsProvider"
435
422
  }, {
436
423
  key: "chatSessions/newSession",
437
424
  id: MenuId.AgentSessionsCreateSubMenu,
438
- description: ( localize(15959, "Menu for new chat sessions.")),
425
+ description: ( localize(16261, "Menu for new chat sessions.")),
439
426
  supportsSubmenus: false,
440
427
  proposed: "chatSessionsProvider"
441
428
  }, {
442
429
  key: "chat/multiDiff/context",
443
430
  id: MenuId.ChatMultiDiffContext,
444
- description: ( localize(15960, "The Chat Multi-Diff context menu.")),
431
+ description: ( localize(16262, "The Chat Multi-Diff context menu.")),
445
432
  supportsSubmenus: false,
446
433
  proposed: "chatSessionsProvider"
447
434
  }, {
448
435
  key: "chat/customizations/create",
449
436
  id: MenuId.for("AICustomizationManagementCreate"),
450
- description: ( localize(15961, "The create button in the Chat Customizations management editor.")),
437
+ description: ( localize(16263, "The create button in the Chat Customizations management editor.")),
438
+ supportsSubmenus: false,
439
+ proposed: "chatSessionCustomizationProvider"
440
+ }, {
441
+ key: "chat/customizations/item",
442
+ id: MenuId.for("AICustomizationManagementEditorItem"),
443
+ description: ( localize(
444
+ 16264,
445
+ "The item context menu in the Chat Customizations management editor, including inline actions."
446
+ )),
451
447
  supportsSubmenus: false,
452
448
  proposed: "chatSessionCustomizationProvider"
453
449
  }, {
454
450
  key: "chat/editor/inlineGutter",
455
451
  id: MenuId.ChatEditorInlineMenu,
456
- description: ( localize(15962, "The inline gutter menu in the chat editor.")),
452
+ description: ( localize(16265, "The inline gutter menu in the chat editor.")),
457
453
  supportsSubmenus: false,
458
454
  proposed: "contribChatEditorInlineGutterMenu"
459
455
  }, {
460
456
  key: "chat/contextUsage/actions",
461
457
  id: MenuId.ChatContextUsageActions,
462
- description: ( localize(15963, "Actions in the chat context usage details popup.")),
458
+ description: ( localize(16266, "Actions in the chat context usage details popup.")),
463
459
  proposed: "chatParticipantAdditions"
464
460
  }, {
465
461
  key: "chat/newSession",
466
462
  id: MenuId.ChatNewMenu,
467
- description: ( localize(15964, "The Chat new session menu.")),
463
+ description: ( localize(16267, "The Chat new session menu.")),
464
+ proposed: "chatSessionsProvider"
465
+ }, {
466
+ key: "agents/changes/actions",
467
+ id: MenuId.AgentsChangesToolbar,
468
+ description: ( localize(16268, "The Changes view toolbar of the agents window.")),
469
+ proposed: "chatSessionsProvider"
470
+ }, {
471
+ key: "agents/changes/actions/primary",
472
+ id: MenuId.AgentsChangesPrimaryActionSubMenu,
473
+ description: ( localize(
474
+ 16269,
475
+ "The Changes view toolbar primary action submenu in the agents window."
476
+ )),
477
+ proposed: "chatSessionsProvider"
478
+ }, {
479
+ key: "agents/change/inline",
480
+ id: MenuId.AgentsChangeInlineToolbar,
481
+ description: ( localize(16270, "The Changes view inline menu in the agents window.")),
468
482
  proposed: "chatSessionsProvider"
469
483
  }];
470
484
  var schema;
@@ -476,23 +490,23 @@ var schema;
476
490
  function isValidMenuItem(item, collector) {
477
491
  if (typeof item.command !== "string") {
478
492
  collector.error(( localize(
479
- 15965,
493
+ 16271,
480
494
  "property `{0}` is mandatory and must be of type `string`",
481
495
  "command"
482
496
  )));
483
497
  return false;
484
498
  }
485
499
  if (item.alt && typeof item.alt !== "string") {
486
- collector.error(( localize(15966, "property `{0}` can be omitted or must be of type `string`", "alt")));
500
+ collector.error(( localize(16272, "property `{0}` can be omitted or must be of type `string`", "alt")));
487
501
  return false;
488
502
  }
489
503
  if (item.when && typeof item.when !== "string") {
490
- collector.error(( localize(15966, "property `{0}` can be omitted or must be of type `string`", "when")));
504
+ collector.error(( localize(16272, "property `{0}` can be omitted or must be of type `string`", "when")));
491
505
  return false;
492
506
  }
493
507
  if (item.group && typeof item.group !== "string") {
494
508
  collector.error(( localize(
495
- 15966,
509
+ 16272,
496
510
  "property `{0}` can be omitted or must be of type `string`",
497
511
  "group"
498
512
  )));
@@ -504,19 +518,19 @@ var schema;
504
518
  function isValidSubmenuItem(item, collector) {
505
519
  if (typeof item.submenu !== "string") {
506
520
  collector.error(( localize(
507
- 15965,
521
+ 16271,
508
522
  "property `{0}` is mandatory and must be of type `string`",
509
523
  "submenu"
510
524
  )));
511
525
  return false;
512
526
  }
513
527
  if (item.when && typeof item.when !== "string") {
514
- collector.error(( localize(15966, "property `{0}` can be omitted or must be of type `string`", "when")));
528
+ collector.error(( localize(16272, "property `{0}` can be omitted or must be of type `string`", "when")));
515
529
  return false;
516
530
  }
517
531
  if (item.group && typeof item.group !== "string") {
518
532
  collector.error(( localize(
519
- 15966,
533
+ 16272,
520
534
  "property `{0}` can be omitted or must be of type `string`",
521
535
  "group"
522
536
  )));
@@ -527,7 +541,7 @@ var schema;
527
541
  schema.isValidSubmenuItem = isValidSubmenuItem;
528
542
  function isValidItems(items, collector) {
529
543
  if (!Array.isArray(items)) {
530
- collector.error(( localize(15967, "submenu items must be an array")));
544
+ collector.error(( localize(16273, "submenu items must be an array")));
531
545
  return false;
532
546
  }
533
547
  for (const item of items) {
@@ -546,15 +560,15 @@ var schema;
546
560
  schema.isValidItems = isValidItems;
547
561
  function isValidSubmenu(submenu, collector) {
548
562
  if (typeof submenu !== "object") {
549
- collector.error(( localize(15968, "submenu items must be an object")));
563
+ collector.error(( localize(16274, "submenu items must be an object")));
550
564
  return false;
551
565
  }
552
566
  if (typeof submenu.id !== "string") {
553
- collector.error(( localize(15965, "property `{0}` is mandatory and must be of type `string`", "id")));
567
+ collector.error(( localize(16271, "property `{0}` is mandatory and must be of type `string`", "id")));
554
568
  return false;
555
569
  }
556
570
  if (typeof submenu.label !== "string") {
557
- collector.error(( localize(15965, "property `{0}` is mandatory and must be of type `string`", "label")));
571
+ collector.error(( localize(16271, "property `{0}` is mandatory and must be of type `string`", "label")));
558
572
  return false;
559
573
  }
560
574
  return true;
@@ -566,24 +580,24 @@ var schema;
566
580
  properties: {
567
581
  command: {
568
582
  description: ( localize(
569
- 15969,
583
+ 16275,
570
584
  "Identifier of the command to execute. The command must be declared in the 'commands'-section"
571
585
  )),
572
586
  type: "string"
573
587
  },
574
588
  alt: {
575
589
  description: ( localize(
576
- 15970,
590
+ 16276,
577
591
  "Identifier of an alternative command to execute. The command must be declared in the 'commands'-section"
578
592
  )),
579
593
  type: "string"
580
594
  },
581
595
  when: {
582
- description: ( localize(15971, "Condition which must be true to show this item")),
596
+ description: ( localize(16277, "Condition which must be true to show this item")),
583
597
  type: "string"
584
598
  },
585
599
  group: {
586
- description: ( localize(15972, "Group into which this item belongs")),
600
+ description: ( localize(16278, "Group into which this item belongs")),
587
601
  type: "string"
588
602
  }
589
603
  }
@@ -593,15 +607,15 @@ var schema;
593
607
  required: ["submenu"],
594
608
  properties: {
595
609
  submenu: {
596
- description: ( localize(15973, "Identifier of the submenu to display in this item.")),
610
+ description: ( localize(16279, "Identifier of the submenu to display in this item.")),
597
611
  type: "string"
598
612
  },
599
613
  when: {
600
- description: ( localize(15971, "Condition which must be true to show this item")),
614
+ description: ( localize(16277, "Condition which must be true to show this item")),
601
615
  type: "string"
602
616
  },
603
617
  group: {
604
- description: ( localize(15972, "Group into which this item belongs")),
618
+ description: ( localize(16278, "Group into which this item belongs")),
605
619
  type: "string"
606
620
  }
607
621
  }
@@ -611,16 +625,16 @@ var schema;
611
625
  required: ["id", "label"],
612
626
  properties: {
613
627
  id: {
614
- description: ( localize(15974, "Identifier of the menu to display as a submenu.")),
628
+ description: ( localize(16280, "Identifier of the menu to display as a submenu.")),
615
629
  type: "string"
616
630
  },
617
631
  label: {
618
- description: ( localize(15975, "The label of the menu item which leads to this submenu.")),
632
+ description: ( localize(16281, "The label of the menu item which leads to this submenu.")),
619
633
  type: "string"
620
634
  },
621
635
  icon: {
622
636
  description: ( localize(
623
- 15976,
637
+ 16282,
624
638
  "(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)\""
625
639
  )),
626
640
  anyOf: [{
@@ -629,11 +643,11 @@ var schema;
629
643
  type: "object",
630
644
  properties: {
631
645
  light: {
632
- description: ( localize(15977, "Icon path when a light theme is used")),
646
+ description: ( localize(16283, "Icon path when a light theme is used")),
633
647
  type: "string"
634
648
  },
635
649
  dark: {
636
- description: ( localize(15978, "Icon path when a dark theme is used")),
650
+ description: ( localize(16284, "Icon path when a dark theme is used")),
637
651
  type: "string"
638
652
  }
639
653
  }
@@ -642,11 +656,11 @@ var schema;
642
656
  }
643
657
  };
644
658
  schema.menusContribution = {
645
- description: ( localize(15979, "Contributes menu items to the editor")),
659
+ description: ( localize(16285, "Contributes menu items to the editor")),
646
660
  type: "object",
647
661
  properties: index(apiMenus, menu => menu.key, menu => ({
648
662
  markdownDescription: menu.proposed ? ( localize(
649
- 15980,
663
+ 16286,
650
664
  "Proposed API, requires `enabledApiProposal: [\"{0}\"]` - {1}",
651
665
  menu.proposed,
652
666
  menu.description
@@ -665,18 +679,18 @@ var schema;
665
679
  }
666
680
  };
667
681
  schema.submenusContribution = {
668
- description: ( localize(15981, "Contributes submenu items to the editor")),
682
+ description: ( localize(16287, "Contributes submenu items to the editor")),
669
683
  type: "array",
670
684
  items: submenu
671
685
  };
672
686
  function isValidCommand(command, collector) {
673
687
  if (!command) {
674
- collector.error(( localize(15982, "expected non-empty value.")));
688
+ collector.error(( localize(16288, "expected non-empty value.")));
675
689
  return false;
676
690
  }
677
691
  if (isFalsyOrWhitespace(command.command)) {
678
692
  collector.error(( localize(
679
- 15965,
693
+ 16271,
680
694
  "property `{0}` is mandatory and must be of type `string`",
681
695
  "command"
682
696
  )));
@@ -690,7 +704,7 @@ var schema;
690
704
  }
691
705
  if (command.enablement && typeof command.enablement !== "string") {
692
706
  collector.error(( localize(
693
- 15966,
707
+ 16272,
694
708
  "property `{0}` can be omitted or must be of type `string`",
695
709
  "precondition"
696
710
  )));
@@ -715,7 +729,7 @@ var schema;
715
729
  return true;
716
730
  }
717
731
  collector.error(( localize(
718
- 15983,
732
+ 16289,
719
733
  "property `icon` can be omitted or must be either a string or a literal like `{dark, light}`"
720
734
  )));
721
735
  return false;
@@ -723,21 +737,21 @@ var schema;
723
737
  function isValidLocalizedString(localized, collector, propertyName) {
724
738
  if (typeof localized === "undefined") {
725
739
  collector.error(( localize(
726
- 15984,
740
+ 16290,
727
741
  "property `{0}` is mandatory and must be of type `string` or `object`",
728
742
  propertyName
729
743
  )));
730
744
  return false;
731
745
  } else if (typeof localized === "string" && isFalsyOrWhitespace(localized)) {
732
746
  collector.error(( localize(
733
- 15965,
747
+ 16271,
734
748
  "property `{0}` is mandatory and must be of type `string`",
735
749
  propertyName
736
750
  )));
737
751
  return false;
738
752
  } else if (typeof localized !== "string" && (isFalsyOrWhitespace(localized.original) || isFalsyOrWhitespace(localized.value))) {
739
753
  collector.error(( localize(
740
- 15985,
754
+ 16291,
741
755
  "properties `{0}` and `{1}` are mandatory and must be of type `string`",
742
756
  `${propertyName}.value`,
743
757
  `${propertyName}.original`
@@ -751,37 +765,37 @@ var schema;
751
765
  required: ["command", "title"],
752
766
  properties: {
753
767
  command: {
754
- description: ( localize(15986, "Identifier of the command to execute")),
768
+ description: ( localize(16292, "Identifier of the command to execute")),
755
769
  type: "string"
756
770
  },
757
771
  title: {
758
- description: ( localize(15987, "Title by which the command is represented in the UI")),
772
+ description: ( localize(16293, "Title by which the command is represented in the UI")),
759
773
  type: "string"
760
774
  },
761
775
  shortTitle: {
762
776
  markdownDescription: ( localize(
763
- 15988,
777
+ 16294,
764
778
  "(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."
765
779
  )),
766
780
  type: "string"
767
781
  },
768
782
  category: {
769
783
  description: ( localize(
770
- 15989,
784
+ 16295,
771
785
  "(Optional) Category string by which the command is grouped in the UI"
772
786
  )),
773
787
  type: "string"
774
788
  },
775
789
  enablement: {
776
790
  description: ( localize(
777
- 15990,
791
+ 16296,
778
792
  "(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."
779
793
  )),
780
794
  type: "string"
781
795
  },
782
796
  icon: {
783
797
  description: ( localize(
784
- 15991,
798
+ 16297,
785
799
  "(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)\""
786
800
  )),
787
801
  anyOf: [{
@@ -790,11 +804,11 @@ var schema;
790
804
  type: "object",
791
805
  properties: {
792
806
  light: {
793
- description: ( localize(15992, "Icon path when a light theme is used")),
807
+ description: ( localize(16298, "Icon path when a light theme is used")),
794
808
  type: "string"
795
809
  },
796
810
  dark: {
797
- description: ( localize(15993, "Icon path when a dark theme is used")),
811
+ description: ( localize(16299, "Icon path when a dark theme is used")),
798
812
  type: "string"
799
813
  }
800
814
  }
@@ -803,7 +817,7 @@ var schema;
803
817
  }
804
818
  };
805
819
  schema.commandsContribution = {
806
- description: ( localize(15994, "Contributes commands to the command palette.")),
820
+ description: ( localize(16300, "Contributes commands to the command palette.")),
807
821
  oneOf: [commandType, {
808
822
  type: "array",
809
823
  items: commandType
@@ -853,14 +867,14 @@ commandsExtensionPoint.setHandler(extensions => {
853
867
  if (existingCmd) {
854
868
  if (existingCmd.source) {
855
869
  extension.collector.info(( localize(
856
- 15995,
870
+ 16301,
857
871
  "Command `{0}` already registered by {1} ({2})",
858
872
  userFriendlyCommand.command,
859
873
  existingCmd.source.title,
860
874
  existingCmd.source.id
861
875
  )));
862
876
  } else {
863
- extension.collector.info(( localize(15996, "Command `{0}` already registered", userFriendlyCommand.command)));
877
+ extension.collector.info(( localize(16302, "Command `{0}` already registered", userFriendlyCommand.command)));
864
878
  }
865
879
  }
866
880
  _commandRegistrations.add(MenuRegistry.addCommand({
@@ -908,19 +922,19 @@ submenusExtensionPoint.setHandler(extensions => {
908
922
  continue;
909
923
  }
910
924
  if (!submenuInfo.id) {
911
- collector.warn(( localize(15997, "`{0}` is not a valid submenu identifier", submenuInfo.id)));
925
+ collector.warn(( localize(16303, "`{0}` is not a valid submenu identifier", submenuInfo.id)));
912
926
  continue;
913
927
  }
914
928
  if (( _submenus.has(submenuInfo.id))) {
915
929
  collector.info(( localize(
916
- 15998,
930
+ 16304,
917
931
  "The `{0}` submenu was already previously registered.",
918
932
  submenuInfo.id
919
933
  )));
920
934
  continue;
921
935
  }
922
936
  if (!submenuInfo.label) {
923
- collector.warn(( localize(15999, "`{0}` is not a valid submenu label", submenuInfo.label)));
937
+ collector.warn(( localize(16305, "`{0}` is not a valid submenu label", submenuInfo.label)));
924
938
  continue;
925
939
  }
926
940
  let absoluteIcon;
@@ -981,7 +995,7 @@ menusExtensionPoint.setHandler(extensions => {
981
995
  }
982
996
  if (menu.proposed && !isProposedApiEnabled(extension.description)) {
983
997
  collector.error(( localize(
984
- 16000,
998
+ 16306,
985
999
  "{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}",
986
1000
  entry[0],
987
1001
  menu.proposed,
@@ -996,7 +1010,7 @@ menusExtensionPoint.setHandler(extensions => {
996
1010
  const alt = menuItem.alt && MenuRegistry.getCommand(menuItem.alt) || undefined;
997
1011
  if (!command) {
998
1012
  collector.error(( localize(
999
- 16001,
1013
+ 16307,
1000
1014
  "Menu item references a command `{0}` which is not defined in the 'commands' section.",
1001
1015
  menuItem.command
1002
1016
  )));
@@ -1004,13 +1018,13 @@ menusExtensionPoint.setHandler(extensions => {
1004
1018
  }
1005
1019
  if (menuItem.alt && !alt) {
1006
1020
  collector.warn(( localize(
1007
- 16002,
1021
+ 16308,
1008
1022
  "Menu item references an alt-command `{0}` which is not defined in the 'commands' section.",
1009
1023
  menuItem.alt
1010
1024
  )));
1011
1025
  }
1012
1026
  if (menuItem.command === menuItem.alt) {
1013
- collector.info(( localize(16003, "Menu item references the same command as default and alt-command")));
1027
+ collector.info(( localize(16309, "Menu item references the same command as default and alt-command")));
1014
1028
  }
1015
1029
  item = {
1016
1030
  command,
@@ -1022,7 +1036,7 @@ menusExtensionPoint.setHandler(extensions => {
1022
1036
  } else {
1023
1037
  if (menu.supportsSubmenus === false) {
1024
1038
  collector.error(( localize(
1025
- 16004,
1039
+ 16310,
1026
1040
  "Menu item references a submenu for a menu which doesn't have submenu support."
1027
1041
  )));
1028
1042
  continue;
@@ -1030,7 +1044,7 @@ menusExtensionPoint.setHandler(extensions => {
1030
1044
  const submenu = _submenus.get(menuItem.submenu);
1031
1045
  if (!submenu) {
1032
1046
  collector.error(( localize(
1033
- 16005,
1047
+ 16311,
1034
1048
  "Menu item references a submenu `{0}` which is not defined in the 'submenus' section.",
1035
1049
  menuItem.submenu
1036
1050
  )));
@@ -1043,7 +1057,7 @@ menusExtensionPoint.setHandler(extensions => {
1043
1057
  }
1044
1058
  if (( submenuRegistrations.has(submenu.id.id))) {
1045
1059
  collector.warn(( localize(
1046
- 16006,
1060
+ 16312,
1047
1061
  "The `{0}` submenu was already contributed to the `{1}` menu.",
1048
1062
  menuItem.submenu,
1049
1063
  entry[0]
@@ -1071,7 +1085,7 @@ menusExtensionPoint.setHandler(extensions => {
1071
1085
  }
1072
1086
  if (menu.id === MenuId.ViewContainerTitle && !menuItem.when?.includes("viewContainer == workbench.view.debug")) {
1073
1087
  collector.error(( localize(
1074
- 16007,
1088
+ 16313,
1075
1089
  "The {0} menu contribution must check {1} in its {2} clause.",
1076
1090
  "`viewContainer/title`",
1077
1091
  "`viewContainer == workbench.view.debug`",
@@ -1173,7 +1187,7 @@ let CommandsTableRenderer = class CommandsTableRenderer extends Disposable {
1173
1187
  dispose: () => {}
1174
1188
  };
1175
1189
  }
1176
- const headers = [( localize(16008, "ID")), ( localize(16009, "Title")), ( localize(16010, "Keyboard Shortcuts")), ( localize(16011, "Menu Contexts"))];
1190
+ const headers = [( localize(16314, "ID")), ( localize(16315, "Title")), ( localize(16316, "Keyboard Shortcuts")), ( localize(16317, "Menu Contexts"))];
1177
1191
  const rows = ( commands.sort((a, b) => a.id.localeCompare(b.id)).map(command => {
1178
1192
  return [( new MarkdownString()).appendMarkdown(`\`${command.id}\``), typeof command.title === "string" ? command.title : command.title.value, command.keybindings, ( new MarkdownString()).appendMarkdown(`${( command.menus.sort((a, b) => a.localeCompare(b)).map(menu => `\`${menu}\``)).join(" ")}`)];
1179
1193
  }));
@@ -1204,7 +1218,7 @@ let CommandsTableRenderer = class CommandsTableRenderer extends Disposable {
1204
1218
  CommandsTableRenderer = ( __decorate([( __param(0, IKeybindingService))], CommandsTableRenderer));
1205
1219
  ( Registry.as(Extensions.ExtensionFeaturesRegistry)).registerExtensionFeature({
1206
1220
  id: "commands",
1207
- label: ( localize(16012, "Commands")),
1221
+ label: ( localize(16318, "Commands")),
1208
1222
  access: {
1209
1223
  canToggle: false
1210
1224
  },
@@ -51,39 +51,39 @@ import { EditorContextKeys } from '@codingame/monaco-vscode-api/vscode/vs/editor
51
51
  var WorkbenchKeybindingService_1;
52
52
  function isValidContributedKeyBinding(keyBinding, rejects) {
53
53
  if (!keyBinding) {
54
- rejects.push(( localize(16421, "expected non-empty value.")));
54
+ rejects.push(( localize(16729, "expected non-empty value.")));
55
55
  return false;
56
56
  }
57
57
  if (typeof keyBinding.command !== "string") {
58
58
  rejects.push(( localize(
59
- 16422,
59
+ 16730,
60
60
  "property `{0}` is mandatory and must be of type `string`",
61
61
  "command"
62
62
  )));
63
63
  return false;
64
64
  }
65
65
  if (keyBinding.key && typeof keyBinding.key !== "string") {
66
- rejects.push(( localize(16423, "property `{0}` can be omitted or must be of type `string`", "key")));
66
+ rejects.push(( localize(16731, "property `{0}` can be omitted or must be of type `string`", "key")));
67
67
  return false;
68
68
  }
69
69
  if (keyBinding.when && typeof keyBinding.when !== "string") {
70
- rejects.push(( localize(16423, "property `{0}` can be omitted or must be of type `string`", "when")));
70
+ rejects.push(( localize(16731, "property `{0}` can be omitted or must be of type `string`", "when")));
71
71
  return false;
72
72
  }
73
73
  if (keyBinding.mac && typeof keyBinding.mac !== "string") {
74
- rejects.push(( localize(16423, "property `{0}` can be omitted or must be of type `string`", "mac")));
74
+ rejects.push(( localize(16731, "property `{0}` can be omitted or must be of type `string`", "mac")));
75
75
  return false;
76
76
  }
77
77
  if (keyBinding.linux && typeof keyBinding.linux !== "string") {
78
78
  rejects.push(( localize(
79
- 16423,
79
+ 16731,
80
80
  "property `{0}` can be omitted or must be of type `string`",
81
81
  "linux"
82
82
  )));
83
83
  return false;
84
84
  }
85
85
  if (keyBinding.win && typeof keyBinding.win !== "string") {
86
- rejects.push(( localize(16423, "property `{0}` can be omitted or must be of type `string`", "win")));
86
+ rejects.push(( localize(16731, "property `{0}` can be omitted or must be of type `string`", "win")));
87
87
  return false;
88
88
  }
89
89
  return true;
@@ -97,33 +97,33 @@ const keybindingType = {
97
97
  required: ["command", "key"],
98
98
  properties: {
99
99
  command: {
100
- description: ( localize(16424, "Identifier of the command to run when keybinding is triggered.")),
100
+ description: ( localize(16732, "Identifier of the command to run when keybinding is triggered.")),
101
101
  type: "string"
102
102
  },
103
103
  args: {
104
- description: ( localize(16425, "Arguments to pass to the command to execute."))
104
+ description: ( localize(16733, "Arguments to pass to the command to execute."))
105
105
  },
106
106
  key: {
107
107
  description: ( localize(
108
- 16426,
108
+ 16734,
109
109
  "Key or key sequence (separate keys with plus-sign and sequences with space, e.g. Ctrl+O and Ctrl+L L for a chord)."
110
110
  )),
111
111
  type: "string"
112
112
  },
113
113
  mac: {
114
- description: ( localize(16427, "Mac specific key or key sequence.")),
114
+ description: ( localize(16735, "Mac specific key or key sequence.")),
115
115
  type: "string"
116
116
  },
117
117
  linux: {
118
- description: ( localize(16428, "Linux specific key or key sequence.")),
118
+ description: ( localize(16736, "Linux specific key or key sequence.")),
119
119
  type: "string"
120
120
  },
121
121
  win: {
122
- description: ( localize(16429, "Windows specific key or key sequence.")),
122
+ description: ( localize(16737, "Windows specific key or key sequence.")),
123
123
  type: "string"
124
124
  },
125
125
  when: {
126
- description: ( localize(16430, "Condition when the key is active.")),
126
+ description: ( localize(16738, "Condition when the key is active.")),
127
127
  type: "string"
128
128
  }
129
129
  }
@@ -132,7 +132,7 @@ const keybindingsExtPoint = ExtensionsRegistry.registerExtensionPoint({
132
132
  extensionPoint: "keybindings",
133
133
  deps: [commandsExtensionPoint],
134
134
  jsonSchema: {
135
- description: ( localize(16431, "Contributes keybindings.")),
135
+ description: ( localize(16739, "Contributes keybindings.")),
136
136
  oneOf: [keybindingType, {
137
137
  type: "array",
138
138
  items: keybindingType
@@ -555,7 +555,7 @@ let WorkbenchKeybindingService = WorkbenchKeybindingService_1 = class WorkbenchK
555
555
  }
556
556
  if (rejects.length > 0) {
557
557
  collector.error(( localize(
558
- 16432,
558
+ 16740,
559
559
  "Invalid `contributes.{0}`: {1}",
560
560
  keybindingsExtPoint.name,
561
561
  rejects.join("\n")
@@ -643,7 +643,7 @@ let WorkbenchKeybindingService = WorkbenchKeybindingService_1 = class WorkbenchK
643
643
  static _getAllCommandsAsComment(boundCommands) {
644
644
  const unboundCommands = getAllUnboundCommands(boundCommands);
645
645
  const pretty = unboundCommands.sort().join("\n// - ");
646
- return "// " + ( localize(16433, "Here are other available commands: ")) + "\n// - " + pretty;
646
+ return "// " + ( localize(16741, "Here are other available commands: ")) + "\n// - " + pretty;
647
647
  }
648
648
  mightProducePrintableCharacter(event) {
649
649
  if (event.ctrlKey || event.metaKey || event.altKey) {
@@ -766,7 +766,7 @@ class KeybindingsJsonSchema {
766
766
  this.schema = {
767
767
  id: KeybindingsJsonSchema.schemaId,
768
768
  type: "array",
769
- title: ( localize(16434, "Keybindings configuration")),
769
+ title: ( localize(16742, "Keybindings configuration")),
770
770
  allowTrailingCommas: true,
771
771
  allowComments: true,
772
772
  definitions: {
@@ -790,7 +790,7 @@ class KeybindingsJsonSchema {
790
790
  "type": "string",
791
791
  "enum": this.commandsEnum,
792
792
  "enumDescriptions": this.commandsEnumDescriptions,
793
- "description": ( localize(16435, "Name of the command to execute"))
793
+ "description": ( localize(16743, "Name of the command to execute"))
794
794
  },
795
795
  "commandType": {
796
796
  "anyOf": [{
@@ -799,7 +799,7 @@ class KeybindingsJsonSchema {
799
799
  "type": "string",
800
800
  "enum": this.removalCommandsEnum,
801
801
  "enumDescriptions": this.commandsEnumDescriptions,
802
- "description": ( localize(16436, "Name of the command to remove keyboard shortcut for"))
802
+ "description": ( localize(16744, "Name of the command to remove keyboard shortcut for"))
803
803
  }, {
804
804
  "type": "string"
805
805
  }]
@@ -821,7 +821,7 @@ class KeybindingsJsonSchema {
821
821
  "properties": {
822
822
  "key": {
823
823
  "type": "string",
824
- "description": ( localize(16437, "Key or key sequence (separated by space)"))
824
+ "description": ( localize(16745, "Key or key sequence (separated by space)"))
825
825
  },
826
826
  "command": {
827
827
  "anyOf": [{
@@ -833,7 +833,7 @@ class KeybindingsJsonSchema {
833
833
  "type": "array"
834
834
  },
835
835
  "errorMessage": ( localize(
836
- 16438,
836
+ 16746,
837
837
  "Incorrect type. Expected \"{0}\". The field 'command' does not support running multiple commands. Use command 'runCommands' to pass it multiple commands to run.",
838
838
  "string"
839
839
  ))
@@ -847,10 +847,10 @@ class KeybindingsJsonSchema {
847
847
  },
848
848
  "when": {
849
849
  "type": "string",
850
- "description": ( localize(16439, "Condition when the key is active."))
850
+ "description": ( localize(16747, "Condition when the key is active."))
851
851
  },
852
852
  "args": {
853
- "description": ( localize(16440, "Arguments to pass to the command to execute."))
853
+ "description": ( localize(16748, "Arguments to pass to the command to execute."))
854
854
  }
855
855
  },
856
856
  "$ref": "#/definitions/commandsSchemas"
@@ -476,12 +476,12 @@ const keyboardConfiguration = {
476
476
  "id": "keyboard",
477
477
  "order": 15,
478
478
  "type": "object",
479
- "title": ( localize(16441, "Keyboard")),
479
+ "title": ( localize(16749, "Keyboard")),
480
480
  "properties": {
481
481
  "keyboard.layout": {
482
482
  "type": "string",
483
483
  "default": "autodetect",
484
- "description": ( localize(16442, "Control the keyboard layout used in web."))
484
+ "description": ( localize(16750, "Control the keyboard layout used in web."))
485
485
  }
486
486
  }
487
487
  };