@codingame/monaco-vscode-keybindings-service-override 21.6.0 → 22.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": "21.6.0",
3
+ "version": "22.0.0",
4
4
  "private": false,
5
5
  "description": "VSCode public API plugged on the monaco editor - keybindings service-override",
6
6
  "keywords": [],
@@ -15,13 +15,13 @@
15
15
  },
16
16
  "type": "module",
17
17
  "dependencies": {
18
- "@codingame/monaco-vscode-2a22c7b4-b906-5914-8cd1-3ed912fb738f-common": "21.6.0",
19
- "@codingame/monaco-vscode-40cada32-7e9c-528a-81fc-766e4da54147-common": "21.6.0",
20
- "@codingame/monaco-vscode-a3eaa464-944c-5b8f-8886-213068ba4897-common": "21.6.0",
21
- "@codingame/monaco-vscode-acd79e2c-c7e3-5594-873a-427e3006b3d8-common": "21.6.0",
22
- "@codingame/monaco-vscode-api": "21.6.0",
23
- "@codingame/monaco-vscode-d609a7d3-bf87-551a-884f-550a8b327ec5-common": "21.6.0",
24
- "@codingame/monaco-vscode-files-service-override": "21.6.0"
18
+ "@codingame/monaco-vscode-2a22c7b4-b906-5914-8cd1-3ed912fb738f-common": "22.0.0",
19
+ "@codingame/monaco-vscode-37b3b402-09f5-5f69-89ef-ce30559f63cc-common": "22.0.0",
20
+ "@codingame/monaco-vscode-40cada32-7e9c-528a-81fc-766e4da54147-common": "22.0.0",
21
+ "@codingame/monaco-vscode-a3eaa464-944c-5b8f-8886-213068ba4897-common": "22.0.0",
22
+ "@codingame/monaco-vscode-api": "22.0.0",
23
+ "@codingame/monaco-vscode-d609a7d3-bf87-551a-884f-550a8b327ec5-common": "22.0.0",
24
+ "@codingame/monaco-vscode-files-service-override": "22.0.0"
25
25
  },
26
26
  "main": "index.js",
27
27
  "module": "index.js",
@@ -20,7 +20,7 @@ const keyboardConfiguration = {
20
20
  'id': 'keyboard',
21
21
  'order': 15,
22
22
  'type': 'object',
23
- 'title': ( localize(1922, "Keyboard")),
23
+ 'title': ( localize(1924, "Keyboard")),
24
24
  'properties': {
25
25
  'keyboard.dispatch': {
26
26
  scope: ConfigurationScope.APPLICATION,
@@ -28,7 +28,7 @@ const keyboardConfiguration = {
28
28
  enum: ['code', 'keyCode'],
29
29
  default: 'code',
30
30
  markdownDescription: ( localize(
31
- 1923,
31
+ 1925,
32
32
  "Controls the dispatching logic for key presses to use either `code` (recommended) or `keyCode`."
33
33
  )),
34
34
  included: OS === OperatingSystem.Macintosh || OS === OperatingSystem.Linux
@@ -37,7 +37,7 @@ const keyboardConfiguration = {
37
37
  scope: ConfigurationScope.APPLICATION,
38
38
  type: 'boolean',
39
39
  default: false,
40
- markdownDescription: ( localize(1924, "Controls if the AltGraph+ modifier should be treated as Ctrl+Alt+.")),
40
+ markdownDescription: ( localize(1926, "Controls if the AltGraph+ modifier should be treated as Ctrl+Alt+.")),
41
41
  included: OS === OperatingSystem.Windows
42
42
  }
43
43
  }
@@ -10,10 +10,10 @@ class RunCommands extends Action2 {
10
10
  constructor() {
11
11
  super({
12
12
  id: 'runCommands',
13
- title: ( localize2(5799, "Run Commands")),
13
+ title: ( localize2(5868, "Run Commands")),
14
14
  f1: false,
15
15
  metadata: {
16
- description: ( localize(5800, "Run several commands")),
16
+ description: ( localize(5869, "Run several commands")),
17
17
  args: [
18
18
  {
19
19
  name: 'args',
@@ -23,7 +23,7 @@ class RunCommands extends Action2 {
23
23
  properties: {
24
24
  commands: {
25
25
  type: 'array',
26
- description: ( localize(5801, "Commands to run")),
26
+ description: ( localize(5870, "Commands to run")),
27
27
  items: {
28
28
  anyOf: [
29
29
  {
@@ -63,14 +63,14 @@ class RunCommands extends Action2 {
63
63
  const notificationService = accessor.get(INotificationService);
64
64
  if (!this._isCommandArgs(args)) {
65
65
  notificationService.error(( localize(
66
- 5802,
66
+ 5871,
67
67
  "'runCommands' has received an argument with incorrect type. Please, review the argument passed to the command."
68
68
  )));
69
69
  return;
70
70
  }
71
71
  if (args.commands.length === 0) {
72
72
  notificationService.warn(( localize(
73
- 5803,
73
+ 5872,
74
74
  "'runCommands' has not received commands to run. Did you forget to pass commands in the 'runCommands' argument?"
75
75
  )));
76
76
  return;
@@ -15,7 +15,7 @@ class ToggleKeybindingsLogAction extends Action2 {
15
15
  constructor() {
16
16
  super({
17
17
  id: 'workbench.action.toggleKeybindingsLog',
18
- title: ( localize2(8001, "Toggle Keyboard Shortcuts Troubleshooting")),
18
+ title: ( localize2(8073, "Toggle Keyboard Shortcuts Troubleshooting")),
19
19
  category: Categories.Developer,
20
20
  f1: true
21
21
  });
@@ -20,11 +20,11 @@ import { KeybindingParser } from '@codingame/monaco-vscode-2a22c7b4-b906-5914-8c
20
20
  import { assertReturnsDefined } from '@codingame/monaco-vscode-api/vscode/vs/base/common/types';
21
21
  import { isEqual } from '@codingame/monaco-vscode-api/vscode/vs/base/common/resources';
22
22
  import { IUserDataProfileService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/userDataProfile/common/userDataProfile.service';
23
- import { DEFINE_KEYBINDING_EDITOR_CONTRIB_ID } from '@codingame/monaco-vscode-acd79e2c-c7e3-5594-873a-427e3006b3d8-common/vscode/vs/workbench/services/preferences/common/preferences';
23
+ import { DEFINE_KEYBINDING_EDITOR_CONTRIB_ID } from '@codingame/monaco-vscode-37b3b402-09f5-5f69-89ef-ce30559f63cc-common/vscode/vs/workbench/services/preferences/common/preferences';
24
24
 
25
25
  var KeybindingEditorDecorationsRenderer_1;
26
26
  const NLS_KB_LAYOUT_ERROR_MESSAGE = ( localize(
27
- 9354,
27
+ 9444,
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 {
@@ -182,14 +182,14 @@ let KeybindingEditorDecorationsRenderer = KeybindingEditorDecorationsRenderer_1
182
182
  else {
183
183
  if (usLabel && uiLabel !== usLabel) {
184
184
  msg = ( new MarkdownString(( localize(
185
- 9355,
185
+ 9445,
186
186
  "**{0}** for your current keyboard layout (**{1}** for US standard).",
187
187
  uiLabel,
188
188
  usLabel
189
189
  ))));
190
190
  }
191
191
  else {
192
- msg = ( new MarkdownString(( localize(9356, "**{0}** for your current keyboard layout.", uiLabel))));
192
+ msg = ( new MarkdownString(( localize(9446, "**{0}** for your current keyboard layout.", uiLabel))));
193
193
  }
194
194
  className = 'keybindingInfo';
195
195
  overviewRulerColor = themeColorFromId(overviewRulerInfo);
@@ -21,220 +21,220 @@ const apiMenus = [
21
21
  {
22
22
  key: 'commandPalette',
23
23
  id: MenuId.CommandPalette,
24
- description: ( localize(12934, "The Command Palette")),
24
+ description: ( localize(13056, "The Command Palette")),
25
25
  supportsSubmenus: false
26
26
  },
27
27
  {
28
28
  key: 'touchBar',
29
29
  id: MenuId.TouchBarContext,
30
- description: ( localize(12935, "The touch bar (macOS only)")),
30
+ description: ( localize(13057, "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(12936, "The editor title menu"))
36
+ description: ( localize(13058, "The editor title menu"))
37
37
  },
38
38
  {
39
39
  key: 'editor/title/run',
40
40
  id: MenuId.EditorTitleRun,
41
- description: ( localize(12937, "Run submenu inside the editor title menu"))
41
+ description: ( localize(13059, "Run submenu inside the editor title menu"))
42
42
  },
43
43
  {
44
44
  key: 'editor/context',
45
45
  id: MenuId.EditorContext,
46
- description: ( localize(12938, "The editor context menu"))
46
+ description: ( localize(13060, "The editor context menu"))
47
47
  },
48
48
  {
49
49
  key: 'editor/context/copy',
50
50
  id: MenuId.EditorContextCopy,
51
- description: ( localize(12939, "'Copy as' submenu in the editor context menu"))
51
+ description: ( localize(13061, "'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(12940, "'Share' submenu in the editor context menu")),
56
+ description: ( localize(13062, "'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(12941, "The file explorer context menu"))
62
+ description: ( localize(13063, "The file explorer context menu"))
63
63
  },
64
64
  {
65
65
  key: 'explorer/context/share',
66
66
  id: MenuId.ExplorerContextShare,
67
- description: ( localize(12942, "'Share' submenu in the file explorer context menu")),
67
+ description: ( localize(13064, "'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(12943, "The editor tabs context menu"))
73
+ description: ( localize(13065, "The editor tabs context menu"))
74
74
  },
75
75
  {
76
76
  key: 'editor/title/context/share',
77
77
  id: MenuId.EditorTitleContextShare,
78
- description: ( localize(12944, "'Share' submenu inside the editor title context menu")),
78
+ description: ( localize(13066, "'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(12945, "The debug callstack view context menu"))
84
+ description: ( localize(13067, "The debug callstack view context menu"))
85
85
  },
86
86
  {
87
87
  key: 'debug/variables/context',
88
88
  id: MenuId.DebugVariablesContext,
89
- description: ( localize(12946, "The debug variables view context menu"))
89
+ description: ( localize(13068, "The debug variables view context menu"))
90
90
  },
91
91
  {
92
92
  key: 'debug/watch/context',
93
93
  id: MenuId.DebugWatchContext,
94
- description: ( localize(12947, "The debug watch view context menu"))
94
+ description: ( localize(13069, "The debug watch view context menu"))
95
95
  },
96
96
  {
97
97
  key: 'debug/toolBar',
98
98
  id: MenuId.DebugToolBar,
99
- description: ( localize(12948, "The debug toolbar menu"))
99
+ description: ( localize(13070, "The debug toolbar menu"))
100
100
  },
101
101
  {
102
102
  key: 'debug/createConfiguration',
103
103
  id: MenuId.DebugCreateConfiguration,
104
104
  proposed: 'contribDebugCreateConfiguration',
105
- description: ( localize(12949, "The debug create configuration menu"))
105
+ description: ( localize(13071, "The debug create configuration menu"))
106
106
  },
107
107
  {
108
108
  key: 'notebook/variables/context',
109
109
  id: MenuId.NotebookVariablesContext,
110
- description: ( localize(12950, "The notebook variables view context menu"))
110
+ description: ( localize(13072, "The notebook variables view context menu"))
111
111
  },
112
112
  {
113
113
  key: 'menuBar/home',
114
114
  id: MenuId.MenubarHomeMenu,
115
- description: ( localize(12951, "The home indicator context menu (web only)")),
115
+ description: ( localize(13073, "The home indicator context menu (web only)")),
116
116
  proposed: 'contribMenuBarHome',
117
117
  supportsSubmenus: false
118
118
  },
119
119
  {
120
120
  key: 'menuBar/edit/copy',
121
121
  id: MenuId.MenubarCopy,
122
- description: ( localize(12952, "'Copy as' submenu in the top level Edit menu"))
122
+ description: ( localize(13074, "'Copy as' submenu in the top level Edit menu"))
123
123
  },
124
124
  {
125
125
  key: 'scm/title',
126
126
  id: MenuId.SCMTitle,
127
- description: ( localize(12953, "The Source Control title menu"))
127
+ description: ( localize(13075, "The Source Control title menu"))
128
128
  },
129
129
  {
130
130
  key: 'scm/sourceControl',
131
131
  id: MenuId.SCMSourceControl,
132
- description: ( localize(12954, "The Source Control menu"))
132
+ description: ( localize(13076, "The Source Control menu"))
133
133
  },
134
134
  {
135
135
  key: 'scm/sourceControl/title',
136
136
  id: MenuId.SCMSourceControlTitle,
137
- description: ( localize(12955, "The Source Control title menu")),
137
+ description: ( localize(13077, "The Source Control title menu")),
138
138
  proposed: 'contribSourceControlTitleMenu'
139
139
  },
140
140
  {
141
141
  key: 'scm/resourceState/context',
142
142
  id: MenuId.SCMResourceContext,
143
- description: ( localize(12956, "The Source Control resource state context menu"))
143
+ description: ( localize(13078, "The Source Control resource state context menu"))
144
144
  },
145
145
  {
146
146
  key: 'scm/resourceFolder/context',
147
147
  id: MenuId.SCMResourceFolderContext,
148
- description: ( localize(12957, "The Source Control resource folder context menu"))
148
+ description: ( localize(13079, "The Source Control resource folder context menu"))
149
149
  },
150
150
  {
151
151
  key: 'scm/resourceGroup/context',
152
152
  id: MenuId.SCMResourceGroupContext,
153
- description: ( localize(12958, "The Source Control resource group context menu"))
153
+ description: ( localize(13080, "The Source Control resource group context menu"))
154
154
  },
155
155
  {
156
156
  key: 'scm/change/title',
157
157
  id: MenuId.SCMChangeContext,
158
- description: ( localize(12959, "The Source Control inline change menu"))
158
+ description: ( localize(13081, "The Source Control inline change menu"))
159
159
  },
160
160
  {
161
161
  key: 'scm/inputBox',
162
162
  id: MenuId.SCMInputBox,
163
- description: ( localize(12960, "The Source Control input box menu")),
163
+ description: ( localize(13082, "The Source Control input box menu")),
164
164
  proposed: 'contribSourceControlInputBoxMenu'
165
165
  },
166
166
  {
167
167
  key: 'scm/history/title',
168
168
  id: MenuId.SCMHistoryTitle,
169
- description: ( localize(12961, "The Source Control History title menu")),
169
+ description: ( localize(13083, "The Source Control History title menu")),
170
170
  proposed: 'contribSourceControlHistoryTitleMenu'
171
171
  },
172
172
  {
173
173
  key: 'scm/historyItem/context',
174
174
  id: MenuId.SCMHistoryItemContext,
175
- description: ( localize(12962, "The Source Control history item context menu")),
175
+ description: ( localize(13084, "The Source Control history item context menu")),
176
176
  proposed: 'contribSourceControlHistoryItemMenu'
177
177
  },
178
178
  {
179
179
  key: 'scm/historyItem/hover',
180
180
  id: MenuId.SCMHistoryItemHover,
181
- description: ( localize(12963, "The Source Control history item hover menu")),
181
+ description: ( localize(13085, "The Source Control history item hover menu")),
182
182
  proposed: 'contribSourceControlHistoryItemMenu'
183
183
  },
184
184
  {
185
185
  key: 'scm/historyItemRef/context',
186
186
  id: MenuId.SCMHistoryItemRefContext,
187
- description: ( localize(12964, "The Source Control history item reference context menu")),
187
+ description: ( localize(13086, "The Source Control history item reference context menu")),
188
188
  proposed: 'contribSourceControlHistoryItemMenu'
189
189
  },
190
190
  {
191
191
  key: 'statusBar/remoteIndicator',
192
192
  id: MenuId.StatusBarRemoteIndicatorMenu,
193
- description: ( localize(12965, "The remote indicator menu in the status bar")),
193
+ description: ( localize(13087, "The remote indicator menu in the status bar")),
194
194
  supportsSubmenus: false
195
195
  },
196
196
  {
197
197
  key: 'terminal/context',
198
198
  id: MenuId.TerminalInstanceContext,
199
- description: ( localize(12966, "The terminal context menu"))
199
+ description: ( localize(13088, "The terminal context menu"))
200
200
  },
201
201
  {
202
202
  key: 'terminal/title/context',
203
203
  id: MenuId.TerminalTabContext,
204
- description: ( localize(12967, "The terminal tabs context menu"))
204
+ description: ( localize(13089, "The terminal tabs context menu"))
205
205
  },
206
206
  {
207
207
  key: 'view/title',
208
208
  id: MenuId.ViewTitle,
209
- description: ( localize(12968, "The contributed view title menu"))
209
+ description: ( localize(13090, "The contributed view title menu"))
210
210
  },
211
211
  {
212
212
  key: 'viewContainer/title',
213
213
  id: MenuId.ViewContainerTitle,
214
- description: ( localize(12969, "The contributed view container title menu")),
214
+ description: ( localize(13091, "The contributed view container title menu")),
215
215
  proposed: 'contribViewContainerTitle'
216
216
  },
217
217
  {
218
218
  key: 'view/item/context',
219
219
  id: MenuId.ViewItemContext,
220
- description: ( localize(12970, "The contributed view item context menu"))
220
+ description: ( localize(13092, "The contributed view item context menu"))
221
221
  },
222
222
  {
223
223
  key: 'comments/comment/editorActions',
224
224
  id: MenuId.CommentEditorActions,
225
- description: ( localize(12971, "The contributed comment editor actions")),
225
+ description: ( localize(13093, "The contributed comment editor actions")),
226
226
  proposed: 'contribCommentEditorActionsMenu'
227
227
  },
228
228
  {
229
229
  key: 'comments/commentThread/title',
230
230
  id: MenuId.CommentThreadTitle,
231
- description: ( localize(12972, "The contributed comment thread title menu"))
231
+ description: ( localize(13094, "The contributed comment thread title menu"))
232
232
  },
233
233
  {
234
234
  key: 'comments/commentThread/context',
235
235
  id: MenuId.CommentThreadActions,
236
236
  description: ( localize(
237
- 12973,
237
+ 13095,
238
238
  "The contributed comment thread context menu, rendered as buttons below the comment editor"
239
239
  )),
240
240
  supportsSubmenus: false
@@ -243,7 +243,7 @@ const apiMenus = [
243
243
  key: 'comments/commentThread/additionalActions',
244
244
  id: MenuId.CommentThreadAdditionalActions,
245
245
  description: ( localize(
246
- 12973,
246
+ 13095,
247
247
  "The contributed comment thread context menu, rendered as buttons below the comment editor"
248
248
  )),
249
249
  supportsSubmenus: true,
@@ -253,7 +253,7 @@ const apiMenus = [
253
253
  key: 'comments/commentThread/title/context',
254
254
  id: MenuId.CommentThreadTitleContext,
255
255
  description: ( localize(
256
- 12974,
256
+ 13096,
257
257
  "The contributed comment thread title's peek context menu, rendered as a right click menu on the comment thread's peek title."
258
258
  )),
259
259
  proposed: 'contribCommentPeekContext'
@@ -261,13 +261,13 @@ const apiMenus = [
261
261
  {
262
262
  key: 'comments/comment/title',
263
263
  id: MenuId.CommentTitle,
264
- description: ( localize(12975, "The contributed comment title menu"))
264
+ description: ( localize(13097, "The contributed comment title menu"))
265
265
  },
266
266
  {
267
267
  key: 'comments/comment/context',
268
268
  id: MenuId.CommentActions,
269
269
  description: ( localize(
270
- 12976,
270
+ 13098,
271
271
  "The contributed comment context menu, rendered as buttons below the comment editor"
272
272
  )),
273
273
  supportsSubmenus: false
@@ -276,7 +276,7 @@ const apiMenus = [
276
276
  key: 'comments/commentThread/comment/context',
277
277
  id: MenuId.CommentThreadCommentContext,
278
278
  description: ( localize(
279
- 12977,
279
+ 13099,
280
280
  "The contributed comment context menu, rendered as a right click menu on the an individual comment in the comment thread's peek view."
281
281
  )),
282
282
  proposed: 'contribCommentPeekContext'
@@ -284,113 +284,113 @@ const apiMenus = [
284
284
  {
285
285
  key: 'commentsView/commentThread/context',
286
286
  id: MenuId.CommentsViewThreadActions,
287
- description: ( localize(12978, "The contributed comment thread context menu in the comments view")),
287
+ description: ( localize(13100, "The contributed comment thread context menu in the comments view")),
288
288
  proposed: 'contribCommentsViewThreadMenus'
289
289
  },
290
290
  {
291
291
  key: 'notebook/toolbar',
292
292
  id: MenuId.NotebookToolbar,
293
- description: ( localize(12979, "The contributed notebook toolbar menu"))
293
+ description: ( localize(13101, "The contributed notebook toolbar menu"))
294
294
  },
295
295
  {
296
296
  key: 'notebook/kernelSource',
297
297
  id: MenuId.NotebookKernelSource,
298
- description: ( localize(12980, "The contributed notebook kernel sources menu")),
298
+ description: ( localize(13102, "The contributed notebook kernel sources menu")),
299
299
  proposed: 'notebookKernelSource'
300
300
  },
301
301
  {
302
302
  key: 'notebook/cell/title',
303
303
  id: MenuId.NotebookCellTitle,
304
- description: ( localize(12981, "The contributed notebook cell title menu"))
304
+ description: ( localize(13103, "The contributed notebook cell title menu"))
305
305
  },
306
306
  {
307
307
  key: 'notebook/cell/execute',
308
308
  id: MenuId.NotebookCellExecute,
309
- description: ( localize(12982, "The contributed notebook cell execution menu"))
309
+ description: ( localize(13104, "The contributed notebook cell execution menu"))
310
310
  },
311
311
  {
312
312
  key: 'interactive/toolbar',
313
313
  id: MenuId.InteractiveToolbar,
314
- description: ( localize(12983, "The contributed interactive toolbar menu")),
314
+ description: ( localize(13105, "The contributed interactive toolbar menu")),
315
315
  },
316
316
  {
317
317
  key: 'interactive/cell/title',
318
318
  id: MenuId.InteractiveCellTitle,
319
- description: ( localize(12984, "The contributed interactive cell title menu")),
319
+ description: ( localize(13106, "The contributed interactive cell title menu")),
320
320
  },
321
321
  {
322
322
  key: 'issue/reporter',
323
323
  id: MenuId.IssueReporter,
324
- description: ( localize(12985, "The contributed issue reporter menu"))
324
+ description: ( localize(13107, "The contributed issue reporter menu"))
325
325
  },
326
326
  {
327
327
  key: 'testing/item/context',
328
328
  id: MenuId.TestItem,
329
- description: ( localize(12986, "The contributed test item menu")),
329
+ description: ( localize(13108, "The contributed test item menu")),
330
330
  },
331
331
  {
332
332
  key: 'testing/item/gutter',
333
333
  id: MenuId.TestItemGutter,
334
- description: ( localize(12987, "The menu for a gutter decoration for a test item")),
334
+ description: ( localize(13109, "The menu for a gutter decoration for a test item")),
335
335
  },
336
336
  {
337
337
  key: 'testing/profiles/context',
338
338
  id: MenuId.TestProfilesContext,
339
- description: ( localize(12988, "The menu for configuring testing profiles.")),
339
+ description: ( localize(13110, "The menu for configuring testing profiles.")),
340
340
  },
341
341
  {
342
342
  key: 'testing/item/result',
343
343
  id: MenuId.TestPeekElement,
344
- description: ( localize(12989, "The menu for an item in the Test Results view or peek.")),
344
+ description: ( localize(13111, "The menu for an item in the Test Results view or peek.")),
345
345
  },
346
346
  {
347
347
  key: 'testing/message/context',
348
348
  id: MenuId.TestMessageContext,
349
349
  description: ( localize(
350
- 12990,
350
+ 13112,
351
351
  "A prominent button overlaying editor content where the message is displayed"
352
352
  )),
353
353
  },
354
354
  {
355
355
  key: 'testing/message/content',
356
356
  id: MenuId.TestMessageContent,
357
- description: ( localize(12991, "Context menu for the message in the results tree")),
357
+ description: ( localize(13113, "Context menu for the message in the results tree")),
358
358
  },
359
359
  {
360
360
  key: 'extension/context',
361
361
  id: MenuId.ExtensionContext,
362
- description: ( localize(12992, "The extension context menu"))
362
+ description: ( localize(13114, "The extension context menu"))
363
363
  },
364
364
  {
365
365
  key: 'timeline/title',
366
366
  id: MenuId.TimelineTitle,
367
- description: ( localize(12993, "The Timeline view title menu"))
367
+ description: ( localize(13115, "The Timeline view title menu"))
368
368
  },
369
369
  {
370
370
  key: 'timeline/item/context',
371
371
  id: MenuId.TimelineItemContext,
372
- description: ( localize(12994, "The Timeline view item context menu"))
372
+ description: ( localize(13116, "The Timeline view item context menu"))
373
373
  },
374
374
  {
375
375
  key: 'ports/item/context',
376
376
  id: MenuId.TunnelContext,
377
- description: ( localize(12995, "The Ports view item context menu"))
377
+ description: ( localize(13117, "The Ports view item context menu"))
378
378
  },
379
379
  {
380
380
  key: 'ports/item/origin/inline',
381
381
  id: MenuId.TunnelOriginInline,
382
- description: ( localize(12996, "The Ports view item origin inline menu"))
382
+ description: ( localize(13118, "The Ports view item origin inline menu"))
383
383
  },
384
384
  {
385
385
  key: 'ports/item/port/inline',
386
386
  id: MenuId.TunnelPortInline,
387
- description: ( localize(12997, "The Ports view item port inline menu"))
387
+ description: ( localize(13119, "The Ports view item port inline menu"))
388
388
  },
389
389
  {
390
390
  key: 'file/newFile',
391
391
  id: MenuId.NewFile,
392
392
  description: ( localize(
393
- 12998,
393
+ 13120,
394
394
  "The 'New File...' quick pick, shown on welcome page and File menu."
395
395
  )),
396
396
  supportsSubmenus: false,
@@ -398,82 +398,82 @@ const apiMenus = [
398
398
  {
399
399
  key: 'webview/context',
400
400
  id: MenuId.WebviewContext,
401
- description: ( localize(12999, "The webview context menu"))
401
+ description: ( localize(13121, "The webview context menu"))
402
402
  },
403
403
  {
404
404
  key: 'file/share',
405
405
  id: MenuId.MenubarShare,
406
- description: ( localize(13000, "Share submenu shown in the top level File menu.")),
406
+ description: ( localize(13122, "Share submenu shown in the top level File menu.")),
407
407
  proposed: 'contribShareMenu'
408
408
  },
409
409
  {
410
410
  key: 'editor/inlineCompletions/actions',
411
411
  id: MenuId.InlineCompletionsActions,
412
- description: ( localize(13001, "The actions shown when hovering on an inline completion")),
412
+ description: ( localize(13123, "The actions shown when hovering on an inline completion")),
413
413
  supportsSubmenus: false,
414
414
  proposed: 'inlineCompletionsAdditions'
415
415
  },
416
416
  {
417
417
  key: 'editor/content',
418
418
  id: MenuId.EditorContent,
419
- description: ( localize(13002, "The prominent button in an editor, overlays its content")),
419
+ description: ( localize(13124, "The prominent button in an editor, overlays its content")),
420
420
  proposed: 'contribEditorContentMenu'
421
421
  },
422
422
  {
423
423
  key: 'editor/lineNumber/context',
424
424
  id: MenuId.EditorLineNumberContext,
425
- description: ( localize(13003, "The contributed editor line number context menu"))
425
+ description: ( localize(13125, "The contributed editor line number context menu"))
426
426
  },
427
427
  {
428
428
  key: 'mergeEditor/result/title',
429
429
  id: MenuId.MergeInputResultToolbar,
430
- description: ( localize(13004, "The result toolbar of the merge editor")),
430
+ description: ( localize(13126, "The result toolbar of the merge editor")),
431
431
  proposed: 'contribMergeEditorMenus'
432
432
  },
433
433
  {
434
434
  key: 'multiDiffEditor/resource/title',
435
435
  id: MenuId.MultiDiffEditorFileToolbar,
436
- description: ( localize(13005, "The resource toolbar in the multi diff editor")),
436
+ description: ( localize(13127, "The resource toolbar in the multi diff editor")),
437
437
  proposed: 'contribMultiDiffEditorMenus'
438
438
  },
439
439
  {
440
440
  key: 'diffEditor/gutter/hunk',
441
441
  id: MenuId.DiffEditorHunkToolbar,
442
- description: ( localize(13006, "The gutter toolbar in the diff editor")),
442
+ description: ( localize(13128, "The gutter toolbar in the diff editor")),
443
443
  proposed: 'contribDiffEditorGutterToolBarMenus'
444
444
  },
445
445
  {
446
446
  key: 'diffEditor/gutter/selection',
447
447
  id: MenuId.DiffEditorSelectionToolbar,
448
- description: ( localize(13006, "The gutter toolbar in the diff editor")),
448
+ description: ( localize(13128, "The gutter toolbar in the diff editor")),
449
449
  proposed: 'contribDiffEditorGutterToolBarMenus'
450
450
  },
451
451
  {
452
452
  key: 'searchPanel/aiResults/commands',
453
453
  id: MenuId.SearchActionMenu,
454
454
  description: ( localize(
455
- 13007,
455
+ 13129,
456
456
  "The commands that will contribute to the menu rendered as buttons next to the AI search title"
457
457
  )),
458
458
  },
459
459
  {
460
460
  key: 'editor/context/chat',
461
461
  id: MenuId.ChatTextEditorMenu,
462
- description: ( localize(13008, "The Chat submenu in the text editor context menu.")),
462
+ description: ( localize(13130, "The Chat submenu in the text editor context menu.")),
463
463
  supportsSubmenus: false,
464
464
  proposed: 'chatParticipantPrivate'
465
465
  },
466
466
  {
467
467
  key: 'chat/chatSessions',
468
468
  id: MenuId.ChatSessionsMenu,
469
- description: ( localize(13009, "The Chat Sessions menu.")),
469
+ description: ( localize(13131, "The Chat Sessions menu.")),
470
470
  supportsSubmenus: false,
471
471
  proposed: 'chatSessionsProvider'
472
472
  },
473
473
  {
474
474
  key: 'chat/multiDiff/context',
475
475
  id: MenuId.ChatMultiDiffContext,
476
- description: ( localize(13010, "The Chat Multi-Diff context menu.")),
476
+ description: ( localize(13132, "The Chat Multi-Diff context menu.")),
477
477
  supportsSubmenus: false,
478
478
  proposed: 'chatSessionsProvider',
479
479
  },
@@ -487,23 +487,23 @@ var schema;
487
487
  function isValidMenuItem(item, collector) {
488
488
  if (typeof item.command !== 'string') {
489
489
  collector.error(( localize(
490
- 13011,
490
+ 13133,
491
491
  "property `{0}` is mandatory and must be of type `string`",
492
492
  'command'
493
493
  )));
494
494
  return false;
495
495
  }
496
496
  if (item.alt && typeof item.alt !== 'string') {
497
- collector.error(( localize(13012, "property `{0}` can be omitted or must be of type `string`", 'alt')));
497
+ collector.error(( localize(13134, "property `{0}` can be omitted or must be of type `string`", 'alt')));
498
498
  return false;
499
499
  }
500
500
  if (item.when && typeof item.when !== 'string') {
501
- collector.error(( localize(13012, "property `{0}` can be omitted or must be of type `string`", 'when')));
501
+ collector.error(( localize(13134, "property `{0}` can be omitted or must be of type `string`", 'when')));
502
502
  return false;
503
503
  }
504
504
  if (item.group && typeof item.group !== 'string') {
505
505
  collector.error(( localize(
506
- 13012,
506
+ 13134,
507
507
  "property `{0}` can be omitted or must be of type `string`",
508
508
  'group'
509
509
  )));
@@ -515,19 +515,19 @@ var schema;
515
515
  function isValidSubmenuItem(item, collector) {
516
516
  if (typeof item.submenu !== 'string') {
517
517
  collector.error(( localize(
518
- 13011,
518
+ 13133,
519
519
  "property `{0}` is mandatory and must be of type `string`",
520
520
  'submenu'
521
521
  )));
522
522
  return false;
523
523
  }
524
524
  if (item.when && typeof item.when !== 'string') {
525
- collector.error(( localize(13012, "property `{0}` can be omitted or must be of type `string`", 'when')));
525
+ collector.error(( localize(13134, "property `{0}` can be omitted or must be of type `string`", 'when')));
526
526
  return false;
527
527
  }
528
528
  if (item.group && typeof item.group !== 'string') {
529
529
  collector.error(( localize(
530
- 13012,
530
+ 13134,
531
531
  "property `{0}` can be omitted or must be of type `string`",
532
532
  'group'
533
533
  )));
@@ -538,7 +538,7 @@ var schema;
538
538
  schema.isValidSubmenuItem = isValidSubmenuItem;
539
539
  function isValidItems(items, collector) {
540
540
  if (!Array.isArray(items)) {
541
- collector.error(( localize(13013, "submenu items must be an array")));
541
+ collector.error(( localize(13135, "submenu items must be an array")));
542
542
  return false;
543
543
  }
544
544
  for (const item of items) {
@@ -558,15 +558,15 @@ var schema;
558
558
  schema.isValidItems = isValidItems;
559
559
  function isValidSubmenu(submenu, collector) {
560
560
  if (typeof submenu !== 'object') {
561
- collector.error(( localize(13014, "submenu items must be an object")));
561
+ collector.error(( localize(13136, "submenu items must be an object")));
562
562
  return false;
563
563
  }
564
564
  if (typeof submenu.id !== 'string') {
565
- collector.error(( localize(13011, "property `{0}` is mandatory and must be of type `string`", 'id')));
565
+ collector.error(( localize(13133, "property `{0}` is mandatory and must be of type `string`", 'id')));
566
566
  return false;
567
567
  }
568
568
  if (typeof submenu.label !== 'string') {
569
- collector.error(( localize(13011, "property `{0}` is mandatory and must be of type `string`", 'label')));
569
+ collector.error(( localize(13133, "property `{0}` is mandatory and must be of type `string`", 'label')));
570
570
  return false;
571
571
  }
572
572
  return true;
@@ -578,24 +578,24 @@ var schema;
578
578
  properties: {
579
579
  command: {
580
580
  description: ( localize(
581
- 13015,
581
+ 13137,
582
582
  'Identifier of the command to execute. The command must be declared in the \'commands\'-section'
583
583
  )),
584
584
  type: 'string'
585
585
  },
586
586
  alt: {
587
587
  description: ( localize(
588
- 13016,
588
+ 13138,
589
589
  'Identifier of an alternative command to execute. The command must be declared in the \'commands\'-section'
590
590
  )),
591
591
  type: 'string'
592
592
  },
593
593
  when: {
594
- description: ( localize(13017, 'Condition which must be true to show this item')),
594
+ description: ( localize(13139, 'Condition which must be true to show this item')),
595
595
  type: 'string'
596
596
  },
597
597
  group: {
598
- description: ( localize(13018, 'Group into which this item belongs')),
598
+ description: ( localize(13140, 'Group into which this item belongs')),
599
599
  type: 'string'
600
600
  }
601
601
  }
@@ -605,15 +605,15 @@ var schema;
605
605
  required: ['submenu'],
606
606
  properties: {
607
607
  submenu: {
608
- description: ( localize(13019, 'Identifier of the submenu to display in this item.')),
608
+ description: ( localize(13141, 'Identifier of the submenu to display in this item.')),
609
609
  type: 'string'
610
610
  },
611
611
  when: {
612
- description: ( localize(13017, 'Condition which must be true to show this item')),
612
+ description: ( localize(13139, 'Condition which must be true to show this item')),
613
613
  type: 'string'
614
614
  },
615
615
  group: {
616
- description: ( localize(13018, 'Group into which this item belongs')),
616
+ description: ( localize(13140, 'Group into which this item belongs')),
617
617
  type: 'string'
618
618
  }
619
619
  }
@@ -623,16 +623,16 @@ var schema;
623
623
  required: ['id', 'label'],
624
624
  properties: {
625
625
  id: {
626
- description: ( localize(13020, 'Identifier of the menu to display as a submenu.')),
626
+ description: ( localize(13142, 'Identifier of the menu to display as a submenu.')),
627
627
  type: 'string'
628
628
  },
629
629
  label: {
630
- description: ( localize(13021, 'The label of the menu item which leads to this submenu.')),
630
+ description: ( localize(13143, 'The label of the menu item which leads to this submenu.')),
631
631
  type: 'string'
632
632
  },
633
633
  icon: {
634
634
  description: ( localize(
635
- 13022,
635
+ 13144,
636
636
  '(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)"'
637
637
  )),
638
638
  anyOf: [{
@@ -642,11 +642,11 @@ var schema;
642
642
  type: 'object',
643
643
  properties: {
644
644
  light: {
645
- description: ( localize(13023, 'Icon path when a light theme is used')),
645
+ description: ( localize(13145, 'Icon path when a light theme is used')),
646
646
  type: 'string'
647
647
  },
648
648
  dark: {
649
- description: ( localize(13024, 'Icon path when a dark theme is used')),
649
+ description: ( localize(13146, 'Icon path when a dark theme is used')),
650
650
  type: 'string'
651
651
  }
652
652
  }
@@ -655,11 +655,11 @@ var schema;
655
655
  }
656
656
  };
657
657
  schema.menusContribution = {
658
- description: ( localize(13025, "Contributes menu items to the editor")),
658
+ description: ( localize(13147, "Contributes menu items to the editor")),
659
659
  type: 'object',
660
660
  properties: index(apiMenus, menu => menu.key, menu => ({
661
661
  markdownDescription: menu.proposed ? ( localize(
662
- 13026,
662
+ 13148,
663
663
  "Proposed API, requires `enabledApiProposal: [\"{0}\"]` - {1}",
664
664
  menu.proposed,
665
665
  menu.description
@@ -674,18 +674,18 @@ var schema;
674
674
  }
675
675
  };
676
676
  schema.submenusContribution = {
677
- description: ( localize(13027, "Contributes submenu items to the editor")),
677
+ description: ( localize(13149, "Contributes submenu items to the editor")),
678
678
  type: 'array',
679
679
  items: submenu
680
680
  };
681
681
  function isValidCommand(command, collector) {
682
682
  if (!command) {
683
- collector.error(( localize(13028, "expected non-empty value.")));
683
+ collector.error(( localize(13150, "expected non-empty value.")));
684
684
  return false;
685
685
  }
686
686
  if (isFalsyOrWhitespace(command.command)) {
687
687
  collector.error(( localize(
688
- 13011,
688
+ 13133,
689
689
  "property `{0}` is mandatory and must be of type `string`",
690
690
  'command'
691
691
  )));
@@ -699,7 +699,7 @@ var schema;
699
699
  }
700
700
  if (command.enablement && typeof command.enablement !== 'string') {
701
701
  collector.error(( localize(
702
- 13012,
702
+ 13134,
703
703
  "property `{0}` can be omitted or must be of type `string`",
704
704
  'precondition'
705
705
  )));
@@ -725,7 +725,7 @@ var schema;
725
725
  return true;
726
726
  }
727
727
  collector.error(( localize(
728
- 13029,
728
+ 13151,
729
729
  "property `icon` can be omitted or must be either a string or a literal like `{dark, light}`"
730
730
  )));
731
731
  return false;
@@ -733,7 +733,7 @@ var schema;
733
733
  function isValidLocalizedString(localized, collector, propertyName) {
734
734
  if (typeof localized === 'undefined') {
735
735
  collector.error(( localize(
736
- 13030,
736
+ 13152,
737
737
  "property `{0}` is mandatory and must be of type `string` or `object`",
738
738
  propertyName
739
739
  )));
@@ -741,7 +741,7 @@ var schema;
741
741
  }
742
742
  else if (typeof localized === 'string' && isFalsyOrWhitespace(localized)) {
743
743
  collector.error(( localize(
744
- 13011,
744
+ 13133,
745
745
  "property `{0}` is mandatory and must be of type `string`",
746
746
  propertyName
747
747
  )));
@@ -749,7 +749,7 @@ var schema;
749
749
  }
750
750
  else if (typeof localized !== 'string' && (isFalsyOrWhitespace(localized.original) || isFalsyOrWhitespace(localized.value))) {
751
751
  collector.error(( localize(
752
- 13031,
752
+ 13153,
753
753
  "properties `{0}` and `{1}` are mandatory and must be of type `string`",
754
754
  `${propertyName}.value`,
755
755
  `${propertyName}.original`
@@ -763,37 +763,37 @@ var schema;
763
763
  required: ['command', 'title'],
764
764
  properties: {
765
765
  command: {
766
- description: ( localize(13032, 'Identifier of the command to execute')),
766
+ description: ( localize(13154, 'Identifier of the command to execute')),
767
767
  type: 'string'
768
768
  },
769
769
  title: {
770
- description: ( localize(13033, 'Title by which the command is represented in the UI')),
770
+ description: ( localize(13155, 'Title by which the command is represented in the UI')),
771
771
  type: 'string'
772
772
  },
773
773
  shortTitle: {
774
774
  markdownDescription: ( localize(
775
- 13034,
775
+ 13156,
776
776
  '(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.'
777
777
  )),
778
778
  type: 'string'
779
779
  },
780
780
  category: {
781
781
  description: ( localize(
782
- 13035,
782
+ 13157,
783
783
  '(Optional) Category string by which the command is grouped in the UI'
784
784
  )),
785
785
  type: 'string'
786
786
  },
787
787
  enablement: {
788
788
  description: ( localize(
789
- 13036,
789
+ 13158,
790
790
  '(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.'
791
791
  )),
792
792
  type: 'string'
793
793
  },
794
794
  icon: {
795
795
  description: ( localize(
796
- 13037,
796
+ 13159,
797
797
  '(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)"'
798
798
  )),
799
799
  anyOf: [{
@@ -803,11 +803,11 @@ var schema;
803
803
  type: 'object',
804
804
  properties: {
805
805
  light: {
806
- description: ( localize(13038, 'Icon path when a light theme is used')),
806
+ description: ( localize(13160, 'Icon path when a light theme is used')),
807
807
  type: 'string'
808
808
  },
809
809
  dark: {
810
- description: ( localize(13039, 'Icon path when a dark theme is used')),
810
+ description: ( localize(13161, 'Icon path when a dark theme is used')),
811
811
  type: 'string'
812
812
  }
813
813
  }
@@ -816,7 +816,7 @@ var schema;
816
816
  }
817
817
  };
818
818
  schema.commandsContribution = {
819
- description: ( localize(13040, "Contributes commands to the command palette.")),
819
+ description: ( localize(13162, "Contributes commands to the command palette.")),
820
820
  oneOf: [
821
821
  commandType,
822
822
  {
@@ -830,10 +830,10 @@ const _commandRegistrations = ( new DisposableStore());
830
830
  const commandsExtensionPoint = ExtensionsRegistry.registerExtensionPoint({
831
831
  extensionPoint: 'commands',
832
832
  jsonSchema: schema.commandsContribution,
833
- activationEventsGenerator: (contribs, result) => {
833
+ activationEventsGenerator: function* (contribs) {
834
834
  for (const contrib of contribs) {
835
835
  if (contrib.command) {
836
- result.push(`onCommand:${contrib.command}`);
836
+ yield `onCommand:${contrib.command}`;
837
837
  }
838
838
  }
839
839
  }
@@ -860,7 +860,7 @@ commandsExtensionPoint.setHandler(extensions => {
860
860
  if (existingCmd) {
861
861
  if (existingCmd.source) {
862
862
  extension.collector.info(( localize(
863
- 13041,
863
+ 13163,
864
864
  "Command `{0}` already registered by {1} ({2})",
865
865
  userFriendlyCommand.command,
866
866
  existingCmd.source.title,
@@ -868,7 +868,7 @@ commandsExtensionPoint.setHandler(extensions => {
868
868
  )));
869
869
  }
870
870
  else {
871
- extension.collector.info(( localize(13042, "Command `{0}` already registered", userFriendlyCommand.command)));
871
+ extension.collector.info(( localize(13164, "Command `{0}` already registered", userFriendlyCommand.command)));
872
872
  }
873
873
  }
874
874
  _commandRegistrations.add(MenuRegistry.addCommand({
@@ -909,19 +909,19 @@ submenusExtensionPoint.setHandler(extensions => {
909
909
  continue;
910
910
  }
911
911
  if (!submenuInfo.id) {
912
- collector.warn(( localize(13043, "`{0}` is not a valid submenu identifier", submenuInfo.id)));
912
+ collector.warn(( localize(13165, "`{0}` is not a valid submenu identifier", submenuInfo.id)));
913
913
  continue;
914
914
  }
915
915
  if (( _submenus.has(submenuInfo.id))) {
916
916
  collector.info(( localize(
917
- 13044,
917
+ 13166,
918
918
  "The `{0}` submenu was already previously registered.",
919
919
  submenuInfo.id
920
920
  )));
921
921
  continue;
922
922
  }
923
923
  if (!submenuInfo.label) {
924
- collector.warn(( localize(13045, "`{0}` is not a valid submenu label", submenuInfo.label)));
924
+ collector.warn(( localize(13167, "`{0}` is not a valid submenu label", submenuInfo.label)));
925
925
  continue;
926
926
  }
927
927
  let absoluteIcon;
@@ -978,7 +978,7 @@ menusExtensionPoint.setHandler(extensions => {
978
978
  }
979
979
  if (menu.proposed && !isProposedApiEnabled(extension.description, menu.proposed)) {
980
980
  collector.error(( localize(
981
- 13046,
981
+ 13168,
982
982
  "{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}",
983
983
  entry[0],
984
984
  menu.proposed,
@@ -993,7 +993,7 @@ menusExtensionPoint.setHandler(extensions => {
993
993
  const alt = menuItem.alt && MenuRegistry.getCommand(menuItem.alt) || undefined;
994
994
  if (!command) {
995
995
  collector.error(( localize(
996
- 13047,
996
+ 13169,
997
997
  "Menu item references a command `{0}` which is not defined in the 'commands' section.",
998
998
  menuItem.command
999
999
  )));
@@ -1001,20 +1001,20 @@ menusExtensionPoint.setHandler(extensions => {
1001
1001
  }
1002
1002
  if (menuItem.alt && !alt) {
1003
1003
  collector.warn(( localize(
1004
- 13048,
1004
+ 13170,
1005
1005
  "Menu item references an alt-command `{0}` which is not defined in the 'commands' section.",
1006
1006
  menuItem.alt
1007
1007
  )));
1008
1008
  }
1009
1009
  if (menuItem.command === menuItem.alt) {
1010
- collector.info(( localize(13049, "Menu item references the same command as default and alt-command")));
1010
+ collector.info(( localize(13171, "Menu item references the same command as default and alt-command")));
1011
1011
  }
1012
1012
  item = { command, alt, group: undefined, order: undefined, when: undefined };
1013
1013
  }
1014
1014
  else {
1015
1015
  if (menu.supportsSubmenus === false) {
1016
1016
  collector.error(( localize(
1017
- 13050,
1017
+ 13172,
1018
1018
  "Menu item references a submenu for a menu which doesn't have submenu support."
1019
1019
  )));
1020
1020
  continue;
@@ -1022,7 +1022,7 @@ menusExtensionPoint.setHandler(extensions => {
1022
1022
  const submenu = _submenus.get(menuItem.submenu);
1023
1023
  if (!submenu) {
1024
1024
  collector.error(( localize(
1025
- 13051,
1025
+ 13173,
1026
1026
  "Menu item references a submenu `{0}` which is not defined in the 'submenus' section.",
1027
1027
  menuItem.submenu
1028
1028
  )));
@@ -1035,7 +1035,7 @@ menusExtensionPoint.setHandler(extensions => {
1035
1035
  }
1036
1036
  if (( submenuRegistrations.has(submenu.id.id))) {
1037
1037
  collector.warn(( localize(
1038
- 13052,
1038
+ 13174,
1039
1039
  "The `{0}` submenu was already contributed to the `{1}` menu.",
1040
1040
  menuItem.submenu,
1041
1041
  entry[0]
@@ -1057,7 +1057,7 @@ menusExtensionPoint.setHandler(extensions => {
1057
1057
  }
1058
1058
  if (menu.id === MenuId.ViewContainerTitle && !menuItem.when?.includes('viewContainer == workbench.view.debug')) {
1059
1059
  collector.error(( localize(
1060
- 13053,
1060
+ 13175,
1061
1061
  "The {0} menu contribution must check {1} in its {2} clause.",
1062
1062
  '`viewContainer/title`',
1063
1063
  '`viewContainer == workbench.view.debug`',
@@ -1144,10 +1144,10 @@ let CommandsTableRenderer = class CommandsTableRenderer extends Disposable {
1144
1144
  return { data: { headers: [], rows: [] }, dispose: () => { } };
1145
1145
  }
1146
1146
  const headers = [
1147
- ( localize(13054, "ID")),
1148
- ( localize(13055, "Title")),
1149
- ( localize(13056, "Keyboard Shortcuts")),
1150
- ( localize(13057, "Menu Contexts"))
1147
+ ( localize(13176, "ID")),
1148
+ ( localize(13177, "Title")),
1149
+ ( localize(13178, "Keyboard Shortcuts")),
1150
+ ( localize(13179, "Menu Contexts"))
1151
1151
  ];
1152
1152
  const rows = ( commands.sort((a, b) => a.id.localeCompare(b.id))
1153
1153
  .map(command => {
@@ -1187,7 +1187,7 @@ CommandsTableRenderer = ( __decorate([
1187
1187
  ], CommandsTableRenderer));
1188
1188
  ( Registry.as(Extensions.ExtensionFeaturesRegistry)).registerExtensionFeature({
1189
1189
  id: 'commands',
1190
- label: ( localize(13058, "Commands")),
1190
+ label: ( localize(13180, "Commands")),
1191
1191
  access: {
1192
1192
  canToggle: false,
1193
1193
  },
@@ -50,39 +50,39 @@ import { getAllUnboundCommands } from '@codingame/monaco-vscode-d609a7d3-bf87-55
50
50
  var WorkbenchKeybindingService_1;
51
51
  function isValidContributedKeyBinding(keyBinding, rejects) {
52
52
  if (!keyBinding) {
53
- rejects.push(( localize(13450, "expected non-empty value.")));
53
+ rejects.push(( localize(13581, "expected non-empty value.")));
54
54
  return false;
55
55
  }
56
56
  if (typeof keyBinding.command !== 'string') {
57
57
  rejects.push(( localize(
58
- 13451,
58
+ 13582,
59
59
  "property `{0}` is mandatory and must be of type `string`",
60
60
  'command'
61
61
  )));
62
62
  return false;
63
63
  }
64
64
  if (keyBinding.key && typeof keyBinding.key !== 'string') {
65
- rejects.push(( localize(13452, "property `{0}` can be omitted or must be of type `string`", 'key')));
65
+ rejects.push(( localize(13583, "property `{0}` can be omitted or must be of type `string`", 'key')));
66
66
  return false;
67
67
  }
68
68
  if (keyBinding.when && typeof keyBinding.when !== 'string') {
69
- rejects.push(( localize(13452, "property `{0}` can be omitted or must be of type `string`", 'when')));
69
+ rejects.push(( localize(13583, "property `{0}` can be omitted or must be of type `string`", 'when')));
70
70
  return false;
71
71
  }
72
72
  if (keyBinding.mac && typeof keyBinding.mac !== 'string') {
73
- rejects.push(( localize(13452, "property `{0}` can be omitted or must be of type `string`", 'mac')));
73
+ rejects.push(( localize(13583, "property `{0}` can be omitted or must be of type `string`", 'mac')));
74
74
  return false;
75
75
  }
76
76
  if (keyBinding.linux && typeof keyBinding.linux !== 'string') {
77
77
  rejects.push(( localize(
78
- 13452,
78
+ 13583,
79
79
  "property `{0}` can be omitted or must be of type `string`",
80
80
  'linux'
81
81
  )));
82
82
  return false;
83
83
  }
84
84
  if (keyBinding.win && typeof keyBinding.win !== 'string') {
85
- rejects.push(( localize(13452, "property `{0}` can be omitted or must be of type `string`", 'win')));
85
+ rejects.push(( localize(13583, "property `{0}` can be omitted or must be of type `string`", 'win')));
86
86
  return false;
87
87
  }
88
88
  return true;
@@ -92,33 +92,33 @@ const keybindingType = {
92
92
  default: { command: '', key: '' },
93
93
  properties: {
94
94
  command: {
95
- description: ( localize(13453, 'Identifier of the command to run when keybinding is triggered.')),
95
+ description: ( localize(13584, 'Identifier of the command to run when keybinding is triggered.')),
96
96
  type: 'string'
97
97
  },
98
98
  args: {
99
- description: ( localize(13454, "Arguments to pass to the command to execute."))
99
+ description: ( localize(13585, "Arguments to pass to the command to execute."))
100
100
  },
101
101
  key: {
102
102
  description: ( localize(
103
- 13455,
103
+ 13586,
104
104
  'Key or key sequence (separate keys with plus-sign and sequences with space, e.g. Ctrl+O and Ctrl+L L for a chord).'
105
105
  )),
106
106
  type: 'string'
107
107
  },
108
108
  mac: {
109
- description: ( localize(13456, 'Mac specific key or key sequence.')),
109
+ description: ( localize(13587, 'Mac specific key or key sequence.')),
110
110
  type: 'string'
111
111
  },
112
112
  linux: {
113
- description: ( localize(13457, 'Linux specific key or key sequence.')),
113
+ description: ( localize(13588, 'Linux specific key or key sequence.')),
114
114
  type: 'string'
115
115
  },
116
116
  win: {
117
- description: ( localize(13458, 'Windows specific key or key sequence.')),
117
+ description: ( localize(13589, 'Windows specific key or key sequence.')),
118
118
  type: 'string'
119
119
  },
120
120
  when: {
121
- description: ( localize(13459, 'Condition when the key is active.')),
121
+ description: ( localize(13590, 'Condition when the key is active.')),
122
122
  type: 'string'
123
123
  },
124
124
  }
@@ -127,7 +127,7 @@ const keybindingsExtPoint = ExtensionsRegistry.registerExtensionPoint({
127
127
  extensionPoint: 'keybindings',
128
128
  deps: [commandsExtensionPoint],
129
129
  jsonSchema: {
130
- description: ( localize(13460, "Contributes keybindings.")),
130
+ description: ( localize(13591, "Contributes keybindings.")),
131
131
  oneOf: [
132
132
  keybindingType,
133
133
  {
@@ -515,7 +515,7 @@ let WorkbenchKeybindingService = WorkbenchKeybindingService_1 = class WorkbenchK
515
515
  }
516
516
  if (rejects.length > 0) {
517
517
  collector.error(( localize(
518
- 13461,
518
+ 13592,
519
519
  "Invalid `contributes.{0}`: {1}",
520
520
  keybindingsExtPoint.name,
521
521
  rejects.join('\n')
@@ -603,7 +603,7 @@ let WorkbenchKeybindingService = WorkbenchKeybindingService_1 = class WorkbenchK
603
603
  static _getAllCommandsAsComment(boundCommands) {
604
604
  const unboundCommands = getAllUnboundCommands(boundCommands);
605
605
  const pretty = unboundCommands.sort().join('\n// - ');
606
- return '// ' + ( localize(13462, "Here are other available commands: ")) + '\n// - ' + pretty;
606
+ return '// ' + ( localize(13593, "Here are other available commands: ")) + '\n// - ' + pretty;
607
607
  }
608
608
  mightProducePrintableCharacter(event) {
609
609
  if (event.ctrlKey || event.metaKey || event.altKey) {
@@ -728,7 +728,7 @@ class KeybindingsJsonSchema {
728
728
  this.schema = {
729
729
  id: KeybindingsJsonSchema.schemaId,
730
730
  type: 'array',
731
- title: ( localize(13463, "Keybindings configuration")),
731
+ title: ( localize(13594, "Keybindings configuration")),
732
732
  allowTrailingCommas: true,
733
733
  allowComments: true,
734
734
  definitions: {
@@ -752,7 +752,7 @@ class KeybindingsJsonSchema {
752
752
  'type': 'string',
753
753
  'enum': this.commandsEnum,
754
754
  'enumDescriptions': this.commandsEnumDescriptions,
755
- 'description': ( localize(13464, "Name of the command to execute")),
755
+ 'description': ( localize(13595, "Name of the command to execute")),
756
756
  },
757
757
  'commandType': {
758
758
  'anyOf': [
@@ -763,7 +763,7 @@ class KeybindingsJsonSchema {
763
763
  'type': 'string',
764
764
  'enum': this.removalCommandsEnum,
765
765
  'enumDescriptions': this.commandsEnumDescriptions,
766
- 'description': ( localize(13465, "Name of the command to remove keyboard shortcut for")),
766
+ 'description': ( localize(13596, "Name of the command to remove keyboard shortcut for")),
767
767
  },
768
768
  {
769
769
  'type': 'string'
@@ -781,7 +781,7 @@ class KeybindingsJsonSchema {
781
781
  'properties': {
782
782
  'key': {
783
783
  'type': 'string',
784
- 'description': ( localize(13466, "Key or key sequence (separated by space)")),
784
+ 'description': ( localize(13597, "Key or key sequence (separated by space)")),
785
785
  },
786
786
  'command': {
787
787
  'anyOf': [
@@ -794,7 +794,7 @@ class KeybindingsJsonSchema {
794
794
  'type': 'array'
795
795
  },
796
796
  'errorMessage': ( localize(
797
- 13467,
797
+ 13598,
798
798
  "Incorrect type. Expected \"{0}\". The field 'command' does not support running multiple commands. Use command 'runCommands' to pass it multiple commands to run.",
799
799
  'string'
800
800
  ))
@@ -810,10 +810,10 @@ class KeybindingsJsonSchema {
810
810
  },
811
811
  'when': {
812
812
  'type': 'string',
813
- 'description': ( localize(13468, "Condition when the key is active."))
813
+ 'description': ( localize(13599, "Condition when the key is active."))
814
814
  },
815
815
  'args': {
816
- 'description': ( localize(13469, "Arguments to pass to the command to execute."))
816
+ 'description': ( localize(13600, "Arguments to pass to the command to execute."))
817
817
  }
818
818
  },
819
819
  '$ref': '#/definitions/commandsSchemas'
@@ -483,12 +483,12 @@ const keyboardConfiguration = {
483
483
  'id': 'keyboard',
484
484
  'order': 15,
485
485
  'type': 'object',
486
- 'title': ( localize(13470, "Keyboard")),
486
+ 'title': ( localize(13601, "Keyboard")),
487
487
  'properties': {
488
488
  'keyboard.layout': {
489
489
  'type': 'string',
490
490
  'default': 'autodetect',
491
- 'description': ( localize(13471, "Control the keyboard layout used in web."))
491
+ 'description': ( localize(13602, "Control the keyboard layout used in web."))
492
492
  }
493
493
  }
494
494
  };