@codingame/monaco-vscode-api 8.0.1 → 8.0.3

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.
Files changed (110) hide show
  1. package/api.js +1 -1
  2. package/extensions.d.ts +24 -0
  3. package/missing-services.js +2 -2
  4. package/package.json +8 -8
  5. package/services.js +2 -2
  6. package/vscode/src/vs/base/browser/ui/dialog/dialog.js +6 -6
  7. package/vscode/src/vs/editor/browser/coreCommands.js +3 -3
  8. package/vscode/src/vs/editor/browser/editorExtensions.js +6 -6
  9. package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorWidget.js +2 -2
  10. package/vscode/src/vs/editor/browser/widget/diffEditor/commands.js +12 -12
  11. package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditor.contribution.js +5 -5
  12. package/vscode/src/vs/editor/browser/widget/diffEditor/registrations.contribution.js +5 -5
  13. package/vscode/src/vs/editor/browser/widget/multiDiffEditor/colors.js +3 -3
  14. package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidgetImpl.js +1 -1
  15. package/vscode/src/vs/editor/common/config/editorConfigurationSchema.js +49 -49
  16. package/vscode/src/vs/editor/common/core/editorColorRegistry.js +71 -71
  17. package/vscode/src/vs/editor/common/viewLayout/viewLineRenderer.js +2 -2
  18. package/vscode/src/vs/editor/contrib/caretOperations/browser/caretOperations.js +2 -2
  19. package/vscode/src/vs/editor/contrib/editorState/browser/keybindingCancellation.js +1 -1
  20. package/vscode/src/vs/editor/contrib/find/browser/findController.js +16 -16
  21. package/vscode/src/vs/editor/contrib/fontZoom/browser/fontZoom.js +3 -3
  22. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.js +3 -3
  23. package/vscode/src/vs/editor/contrib/inlineEdits/browser/commands.js +6 -6
  24. package/vscode/src/vs/editor/contrib/multicursor/browser/multicursor.js +22 -22
  25. package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHints.js +1 -1
  26. package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.js +4 -4
  27. package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetDetails.js +2 -2
  28. package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.js +2 -2
  29. package/vscode/src/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.js +9 -9
  30. package/vscode/src/vs/editor/editor.api.d.ts +91 -69
  31. package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +49 -49
  32. package/vscode/src/vs/platform/actions/common/menuResetAction.js +1 -1
  33. package/vscode/src/vs/platform/contextkey/common/contextkey.js +11 -11
  34. package/vscode/src/vs/platform/files/browser/htmlFileSystemProvider.js +2 -2
  35. package/vscode/src/vs/platform/keybinding/common/abstractKeybindingService.js +4 -4
  36. package/vscode/src/vs/platform/theme/common/iconRegistry.js +5 -5
  37. package/vscode/src/vs/platform/userDataSync/common/abstractSynchronizer.js +2 -2
  38. package/vscode/src/vs/workbench/browser/actions/developerActions.js +31 -31
  39. package/vscode/src/vs/workbench/browser/actions/textInputActions.js +6 -6
  40. package/vscode/src/vs/workbench/browser/actions/workspaceActions.js +21 -21
  41. package/vscode/src/vs/workbench/browser/parts/editor/binaryDiffEditor.js +1 -1
  42. package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbs.js +41 -41
  43. package/vscode/src/vs/workbench/browser/parts/editor/diffEditorCommands.js +6 -6
  44. package/vscode/src/vs/workbench/browser/parts/editor/editorActions.js +131 -131
  45. package/vscode/src/vs/workbench/browser/parts/editor/editorPlaceholder.js +9 -9
  46. package/vscode/src/vs/workbench/browser/parts/editor/editorQuickAccess.js +5 -5
  47. package/vscode/src/vs/workbench/browser/parts/editor/editorStatus.js +61 -61
  48. package/vscode/src/vs/workbench/browser/parts/editor/textDiffEditor.js +3 -3
  49. package/vscode/src/vs/workbench/browser/parts/editor/textEditor.js +1 -1
  50. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsAlerts.js +3 -3
  51. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCenter.js +6 -6
  52. package/vscode/src/vs/workbench/browser/parts/titlebar/menubarControl.js +18 -18
  53. package/vscode/src/vs/workbench/browser/parts/views/viewFilter.js +1 -1
  54. package/vscode/src/vs/workbench/browser/parts/views/viewPane.js +4 -4
  55. package/vscode/src/vs/workbench/browser/parts/views/viewPaneContainer.js +6 -6
  56. package/vscode/src/vs/workbench/common/contextkeys.js +70 -70
  57. package/vscode/src/vs/workbench/common/editor/diffEditorInput.js +1 -1
  58. package/vscode/src/vs/workbench/common/editor/textEditorModel.js +1 -1
  59. package/vscode/src/vs/workbench/contrib/chat/common/chatModel.js +7 -3
  60. package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.js +4 -4
  61. package/vscode/src/vs/workbench/contrib/comments/browser/commentsAccessibility.js +10 -10
  62. package/vscode/src/vs/workbench/contrib/comments/browser/commentsController.js +5 -5
  63. package/vscode/src/vs/workbench/contrib/comments/browser/commentsModel.js +1 -1
  64. package/vscode/src/vs/workbench/contrib/comments/browser/commentsTreeViewer.js +9 -9
  65. package/vscode/src/vs/workbench/contrib/comments/browser/commentsView.js +13 -13
  66. package/vscode/src/vs/workbench/contrib/comments/common/commentContextKeys.js +9 -9
  67. package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditorInput.js +3 -3
  68. package/vscode/src/vs/workbench/contrib/debug/browser/debugCommands.js +34 -34
  69. package/vscode/src/vs/workbench/contrib/debug/common/debugModel.js +6 -6
  70. package/vscode/src/vs/workbench/contrib/debug/common/debugSource.js +1 -1
  71. package/vscode/src/vs/workbench/contrib/debug/common/disassemblyViewInput.js +2 -2
  72. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActions.js +166 -166
  73. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsIcons.js +24 -24
  74. package/vscode/src/vs/workbench/contrib/extensions/common/extensionsFileTemplate.js +5 -5
  75. package/vscode/src/vs/workbench/contrib/extensions/common/extensionsInput.js +2 -2
  76. package/vscode/src/vs/workbench/contrib/files/browser/editors/binaryFileEditor.js +1 -1
  77. package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileEditor.js +8 -8
  78. package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._editorPane.js +2 -2
  79. package/vscode/src/vs/workbench/contrib/files/browser/views/openEditorsView.js +7 -7
  80. package/vscode/src/vs/workbench/contrib/files/browser/workspaceWatcher.js +4 -4
  81. package/vscode/src/vs/workbench/contrib/files/common/dirtyFilesIndicator.js +1 -1
  82. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInput.js +1 -1
  83. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindWidget.js +3 -3
  84. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/coreActions.js +4 -4
  85. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibilityProvider.js +3 -3
  86. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditorWidget.js +24 -24
  87. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookIcons.js +28 -28
  88. package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/backLayerWebView.js +4 -4
  89. package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/cellRenderer.js +1 -1
  90. package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesIcons.js +12 -12
  91. package/vscode/src/vs/workbench/contrib/scm/browser/dirtyDiffSwitcher.js +2 -2
  92. package/vscode/src/vs/workbench/contrib/scm/browser/dirtydiffDecorator.js +23 -23
  93. package/vscode/src/vs/workbench/contrib/speech/common/speechService.js +29 -29
  94. package/vscode/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.js +5 -5
  95. package/vscode/src/vs/workbench/contrib/tasks/common/taskService.js +5 -5
  96. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalMenus.js +32 -32
  97. package/vscode/src/vs/workbench/contrib/webview/browser/webview.contribution.js +3 -3
  98. package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditor.js +1 -1
  99. package/vscode/src/vs/workbench/contrib/workspace/common/workspace.js +2 -2
  100. package/vscode/src/vs/workbench/services/authentication/browser/authenticationService.js +3 -3
  101. package/vscode/src/vs/workbench/services/auxiliaryWindow/browser/auxiliaryWindowService.js +5 -5
  102. package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverSchema.js +16 -16
  103. package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverUtils.js +1 -1
  104. package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +1 -1
  105. package/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagement.js +1 -1
  106. package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +82 -82
  107. package/vscode/src/vs/workbench/services/language/common/languageService.js +28 -28
  108. package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +11 -11
  109. package/vscode/src/vs/workbench/services/views/browser/viewsService.js +7 -7
  110. package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopy.js +17 -17
@@ -85,7 +85,7 @@ class CommentsModel extends Disposable {
85
85
  }
86
86
  getMessage() {
87
87
  if (!this._resourceCommentThreads.length) {
88
- return ( localize(5310, "There are no comments in this workspace yet."));
88
+ return ( localize(5312, "There are no comments in this workspace yet."));
89
89
  }
90
90
  else {
91
91
  return '';
@@ -33,7 +33,7 @@ import { IKeybindingService } from '../../../../platform/keybinding/common/keybi
33
33
  import { IHoverService } from '../../../../platform/hover/browser/hover.service.js';
34
34
  const COMMENTS_VIEW_ID = 'workbench.panel.comments';
35
35
  const COMMENTS_VIEW_STORAGE_ID = 'Comments';
36
- const COMMENTS_VIEW_TITLE = ( localize2(5319, "Comments"));
36
+ const COMMENTS_VIEW_TITLE = ( localize2(5321, "Comments"));
37
37
  class CommentsModelVirualDelegate {
38
38
  static { this.RESOURCE_ID = 'resource-with-comments'; }
39
39
  static { this.COMMENT_ID = 'comment-node'; }
@@ -172,13 +172,13 @@ let CommentNodeRenderer = class CommentNodeRenderer {
172
172
  }
173
173
  getCountString(commentCount) {
174
174
  if (commentCount > 2) {
175
- return ( localize(5320, "{0} replies", commentCount - 1));
175
+ return ( localize(5322, "{0} replies", commentCount - 1));
176
176
  }
177
177
  else if (commentCount === 2) {
178
- return ( localize(5321, "1 reply"));
178
+ return ( localize(5323, "1 reply"));
179
179
  }
180
180
  else {
181
- return ( localize(5322, "1 comment"));
181
+ return ( localize(5324, "1 comment"));
182
182
  }
183
183
  }
184
184
  getRenderedComment(commentBody, disposables) {
@@ -193,7 +193,7 @@ let CommentNodeRenderer = class CommentNodeRenderer {
193
193
  for (let i = 0; i < images.length; i++) {
194
194
  const image = images[i];
195
195
  const textDescription = $('');
196
- textDescription.textContent = image.alt ? ( localize(5323, "Image: {0}", image.alt)) : ( localize(5324, "Image"));
196
+ textDescription.textContent = image.alt ? ( localize(5325, "Image: {0}", image.alt)) : ( localize(5326, "Image"));
197
197
  image.parentNode.replaceChild(textDescription, image);
198
198
  }
199
199
  return renderedComment;
@@ -211,7 +211,7 @@ let CommentNodeRenderer = class CommentNodeRenderer {
211
211
  const commentCount = node.element.replies.length + 1;
212
212
  if (node.element.threadRelevance === CommentThreadApplicability.Outdated) {
213
213
  templateData.threadMetadata.relevance.style.display = '';
214
- templateData.threadMetadata.relevance.innerText = ( localize(5325, "Outdated"));
214
+ templateData.threadMetadata.relevance.innerText = ( localize(5327, "Outdated"));
215
215
  templateData.threadMetadata.separator.style.display = 'none';
216
216
  }
217
217
  else {
@@ -245,11 +245,11 @@ let CommentNodeRenderer = class CommentNodeRenderer {
245
245
  }
246
246
  if (node.element.range) {
247
247
  if (node.element.range.startLineNumber === node.element.range.endLineNumber) {
248
- templateData.threadMetadata.range.textContent = ( localize(5326, "[Ln {0}]", node.element.range.startLineNumber));
248
+ templateData.threadMetadata.range.textContent = ( localize(5328, "[Ln {0}]", node.element.range.startLineNumber));
249
249
  }
250
250
  else {
251
251
  templateData.threadMetadata.range.textContent = ( localize(
252
- 5327,
252
+ 5329,
253
253
  "[Ln {0}-{1}]",
254
254
  node.element.range.startLineNumber,
255
255
  node.element.range.endLineNumber
@@ -270,7 +270,7 @@ let CommentNodeRenderer = class CommentNodeRenderer {
270
270
  templateData.repliesMetadata.container.style.display = '';
271
271
  templateData.repliesMetadata.count.textContent = this.getCountString(commentCount);
272
272
  const lastComment = node.element.replies[node.element.replies.length - 1].comment;
273
- templateData.repliesMetadata.lastReplyDetail.textContent = ( localize(5328, "Last reply from {0}", lastComment.userName));
273
+ templateData.repliesMetadata.lastReplyDetail.textContent = ( localize(5330, "Last reply from {0}", lastComment.userName));
274
274
  templateData.repliesMetadata.timestamp.setTimestamp(lastComment.timestamp ? ( (new Date(lastComment.timestamp))) : undefined);
275
275
  }
276
276
  getCommentThreadWidgetStateColor(state, theme) {
@@ -101,8 +101,8 @@ let CommentsPanel = class CommentsPanel extends FilterViewPane {
101
101
  super({
102
102
  ...options,
103
103
  filterOptions: {
104
- placeholder: ( localize(5329, "Filter (e.g. text, author)")),
105
- ariaLabel: ( localize(5330, "Filter comments")),
104
+ placeholder: ( localize(5331, "Filter (e.g. text, author)")),
105
+ ariaLabel: ( localize(5332, "Filter comments")),
106
106
  history: viewState['filterHistory'] || [],
107
107
  text: viewState['filter'] || '',
108
108
  focusContextKey: CommentsViewFilterFocusContextKey.key
@@ -186,7 +186,7 @@ let CommentsPanel = class CommentsPanel extends FilterViewPane {
186
186
  this.tree?.filterComments();
187
187
  this.cachedFilterStats = undefined;
188
188
  const { total, filtered } = this.getFilterStats();
189
- this.filterWidget.updateBadge(total === filtered || total === 0 ? undefined : ( localize(5331, "Showing {0} of {1}", filtered, total)));
189
+ this.filterWidget.updateBadge(total === filtered || total === 0 ? undefined : ( localize(5333, "Showing {0} of {1}", filtered, total)));
190
190
  this.filterWidget.checkMoreFilters(!this.filters.showResolved || !this.filters.showUnresolved);
191
191
  }
192
192
  renderBody(container) {
@@ -267,8 +267,8 @@ let CommentsPanel = class CommentsPanel extends FilterViewPane {
267
267
  let accessibleViewHint = '';
268
268
  if (forAriaLabel && this.configurationService.getValue(AccessibilityVerbositySettingId.Comments)) {
269
269
  const kbLabel = this.keybindingService.lookupKeybinding(AccessibleViewAction.id)?.getAriaLabel();
270
- accessibleViewHint = kbLabel ? ( localize(5332, "Inspect this in the accessible view ({0}).\n", kbLabel)) : ( localize(
271
- 5333,
270
+ accessibleViewHint = kbLabel ? ( localize(5334, "Inspect this in the accessible view ({0}).\n", kbLabel)) : ( localize(
271
+ 5335,
272
272
  "Inspect this in the accessible view via the command Open Accessible View which is currently not triggerable via keybinding.\n"
273
273
  ));
274
274
  }
@@ -277,7 +277,7 @@ let CommentsPanel = class CommentsPanel extends FilterViewPane {
277
277
  if (element.range) {
278
278
  if (element.threadRelevance === CommentThreadApplicability.Outdated) {
279
279
  return accessibleViewHint + ( localize(
280
- 5334,
280
+ 5336,
281
281
  "Outdated from {0} at line {1} column {2} in {3},{4} comment: {5}",
282
282
  element.comment.userName,
283
283
  element.range.startLineNumber,
@@ -289,7 +289,7 @@ let CommentsPanel = class CommentsPanel extends FilterViewPane {
289
289
  }
290
290
  else {
291
291
  return accessibleViewHint + ( localize(
292
- 5335,
292
+ 5337,
293
293
  "{0} at line {1} column {2} in {3},{4} comment: {5}",
294
294
  element.comment.userName,
295
295
  element.range.startLineNumber,
@@ -303,7 +303,7 @@ let CommentsPanel = class CommentsPanel extends FilterViewPane {
303
303
  else {
304
304
  if (element.threadRelevance === CommentThreadApplicability.Outdated) {
305
305
  return accessibleViewHint + ( localize(
306
- 5336,
306
+ 5338,
307
307
  "Outdated from {0} in {1},{2} comment: {3}",
308
308
  element.comment.userName,
309
309
  basename(element.resource),
@@ -313,7 +313,7 @@ let CommentsPanel = class CommentsPanel extends FilterViewPane {
313
313
  }
314
314
  else {
315
315
  return accessibleViewHint + ( localize(
316
- 5337,
316
+ 5339,
317
317
  "{0} in {1},{2} comment: {3}",
318
318
  element.comment.userName,
319
319
  basename(element.resource),
@@ -328,14 +328,14 @@ let CommentsPanel = class CommentsPanel extends FilterViewPane {
328
328
  return '';
329
329
  }
330
330
  return '\n' + ( (node.replies.map(reply => ( localize(
331
- 5338,
331
+ 5340,
332
332
  "{0} {1}",
333
333
  reply.comment.userName,
334
334
  (typeof reply.comment.body === 'string') ? reply.comment.body : reply.comment.body.value
335
335
  ))))).join('\n');
336
336
  }
337
337
  getReplyCountAsString(node, forAriaLabel) {
338
- return node.replies.length && !forAriaLabel ? ( localize(5339, " {0} replies,", node.replies.length)) : '';
338
+ return node.replies.length && !forAriaLabel ? ( localize(5341, " {0} replies,", node.replies.length)) : '';
339
339
  }
340
340
  createTree() {
341
341
  this.treeLabels = this._register(this.instantiationService.createInstance(ResourceLabels, this));
@@ -351,11 +351,11 @@ let CommentsPanel = class CommentsPanel extends FilterViewPane {
351
351
  accessibilityProvider: {
352
352
  getAriaLabel: (element) => {
353
353
  if (element instanceof CommentsModel) {
354
- return ( localize(5340, "Comments for current workspace"));
354
+ return ( localize(5342, "Comments for current workspace"));
355
355
  }
356
356
  if (element instanceof ResourceWithCommentThreads) {
357
357
  return ( localize(
358
- 5341,
358
+ 5343,
359
359
  "Comments in {0}, full path {1}",
360
360
  basename(element.resource),
361
361
  element.resource.fsPath
@@ -3,16 +3,16 @@ import { RawContextKey } from '../../../../platform/contextkey/common/contextkey
3
3
  var CommentContextKeys;
4
4
  ( ((function(CommentContextKeys) {
5
5
  CommentContextKeys.activeCursorHasCommentingRange = ( (new RawContextKey('activeCursorHasCommentingRange', false, {
6
- description: ( localize(5301, "Whether the position at the active cursor has a commenting range")),
6
+ description: ( localize(5303, "Whether the position at the active cursor has a commenting range")),
7
7
  type: 'boolean'
8
8
  })));
9
9
  CommentContextKeys.activeEditorHasCommentingRange = ( (new RawContextKey('activeEditorHasCommentingRange', false, {
10
- description: ( localize(5302, "Whether the active editor has a commenting range")),
10
+ description: ( localize(5304, "Whether the active editor has a commenting range")),
11
11
  type: 'boolean'
12
12
  })));
13
13
  CommentContextKeys.WorkspaceHasCommenting = ( (new RawContextKey('workspaceHasCommenting', false, {
14
14
  description: ( localize(
15
- 5303,
15
+ 5305,
16
16
  "Whether the open workspace has either comments or commenting ranges."
17
17
  )),
18
18
  type: 'boolean'
@@ -20,16 +20,16 @@ var CommentContextKeys;
20
20
  CommentContextKeys.commentThreadIsEmpty = ( (new RawContextKey(
21
21
  'commentThreadIsEmpty',
22
22
  false,
23
- { type: 'boolean', description: ( localize(5304, "Set when the comment thread has no comments")) }
23
+ { type: 'boolean', description: ( localize(5306, "Set when the comment thread has no comments")) }
24
24
  )));
25
- CommentContextKeys.commentIsEmpty = ( (new RawContextKey('commentIsEmpty', false, { type: 'boolean', description: ( localize(5305, "Set when the comment has no input")) })));
26
- CommentContextKeys.commentContext = ( (new RawContextKey('comment', undefined, { type: 'string', description: ( localize(5306, "The context value of the comment")) })));
27
- CommentContextKeys.commentThreadContext = ( (new RawContextKey('commentThread', undefined, { type: 'string', description: ( localize(5307, "The context value of the comment thread")) })));
25
+ CommentContextKeys.commentIsEmpty = ( (new RawContextKey('commentIsEmpty', false, { type: 'boolean', description: ( localize(5307, "Set when the comment has no input")) })));
26
+ CommentContextKeys.commentContext = ( (new RawContextKey('comment', undefined, { type: 'string', description: ( localize(5308, "The context value of the comment")) })));
27
+ CommentContextKeys.commentThreadContext = ( (new RawContextKey('commentThread', undefined, { type: 'string', description: ( localize(5309, "The context value of the comment thread")) })));
28
28
  CommentContextKeys.commentControllerContext = ( (new RawContextKey(
29
29
  'commentController',
30
30
  undefined,
31
- { type: 'string', description: ( localize(5308, "The comment controller id associated with a comment thread")) }
31
+ { type: 'string', description: ( localize(5310, "The comment controller id associated with a comment thread")) }
32
32
  )));
33
- CommentContextKeys.commentFocused = ( (new RawContextKey('commentFocused', false, { type: 'boolean', description: ( localize(5309, "Set when the comment is focused")) })));
33
+ CommentContextKeys.commentFocused = ( (new RawContextKey('commentFocused', false, { type: 'boolean', description: ( localize(5311, "Set when the comment is focused")) })));
34
34
  })(CommentContextKeys || (CommentContextKeys = {}))));
35
35
  export { CommentContextKeys };
@@ -304,12 +304,12 @@ let CustomEditorInput = class CustomEditorInput extends LazilyResolvedWebviewEdi
304
304
  claim(claimant, targetWindow, scopedContextKeyService) {
305
305
  if (this.doCanMove(targetWindow.vscodeWindowId) !== true) {
306
306
  throw createEditorOpenError(localize(
307
- 9509,
307
+ 9516,
308
308
  "Unable to open the editor in this window, it contains modifications that can only be saved in the original window."
309
309
  ), [
310
310
  toAction({
311
311
  id: 'openInOriginalWindow',
312
- label: localize(9510, "Open in Original Window"),
312
+ label: localize(9517, "Open in Original Window"),
313
313
  run: async () => {
314
314
  const originalPart = this.editorGroupsService.getPart(this.layoutService.getContainer(getWindow(this.webview.container).window));
315
315
  const currentPart = this.editorGroupsService.getPart(this.layoutService.getContainer(targetWindow.window));
@@ -335,7 +335,7 @@ let CustomEditorInput = class CustomEditorInput extends LazilyResolvedWebviewEdi
335
335
  const sourceWindowId = getWindow(this.webview.container).vscodeWindowId;
336
336
  if (sourceWindowId !== targetWindowId) {
337
337
  return ( localize(
338
- 9511,
338
+ 9518,
339
339
  "Unable to move '{0}': The editor contains changes that can only be saved in its current window.",
340
340
  this.getName()
341
341
  ));
@@ -71,34 +71,34 @@ const CALLSTACK_DOWN_ID = 'workbench.action.debug.callStackDown';
71
71
  const ADD_TO_WATCH_ID = 'debug.addToWatchExpressions';
72
72
  const COPY_EVALUATE_PATH_ID = 'debug.copyEvaluatePath';
73
73
  const COPY_VALUE_ID = 'workbench.debug.viewlet.action.copyValue';
74
- const DEBUG_COMMAND_CATEGORY = ( localize2(5751, 'Debug'));
75
- const RESTART_LABEL = ( localize2(5752, "Restart"));
76
- const STEP_OVER_LABEL = ( localize2(5753, "Step Over"));
77
- const STEP_INTO_LABEL = ( localize2(5754, "Step Into"));
78
- const STEP_INTO_TARGET_LABEL = ( localize2(5755, "Step Into Target"));
79
- const STEP_OUT_LABEL = ( localize2(5756, "Step Out"));
80
- const PAUSE_LABEL = ( localize2(5757, "Pause"));
81
- const DISCONNECT_LABEL = ( localize2(5758, "Disconnect"));
82
- const DISCONNECT_AND_SUSPEND_LABEL = ( localize2(5759, "Disconnect and Suspend"));
83
- const STOP_LABEL = ( localize2(5760, "Stop"));
84
- const CONTINUE_LABEL = ( localize2(5761, "Continue"));
85
- const FOCUS_SESSION_LABEL = ( localize2(5762, "Focus Session"));
86
- const SELECT_AND_START_LABEL = ( localize2(5763, "Select and Start Debugging"));
87
- const DEBUG_CONFIGURE_LABEL = ( localize(5764, "Open '{0}'", 'launch.json'));
88
- const DEBUG_START_LABEL = ( localize2(5765, "Start Debugging"));
89
- const DEBUG_RUN_LABEL = ( localize2(5766, "Start Without Debugging"));
90
- const NEXT_DEBUG_CONSOLE_LABEL = ( localize2(5767, "Focus Next Debug Console"));
91
- const PREV_DEBUG_CONSOLE_LABEL = ( localize2(5768, "Focus Previous Debug Console"));
92
- const OPEN_LOADED_SCRIPTS_LABEL = ( localize2(5769, "Open Loaded Script..."));
93
- const CALLSTACK_TOP_LABEL = ( localize2(5770, "Navigate to Top of Call Stack"));
94
- const CALLSTACK_BOTTOM_LABEL = ( localize2(5771, "Navigate to Bottom of Call Stack"));
95
- const CALLSTACK_UP_LABEL = ( localize2(5772, "Navigate Up Call Stack"));
96
- const CALLSTACK_DOWN_LABEL = ( localize2(5773, "Navigate Down Call Stack"));
97
- const COPY_EVALUATE_PATH_LABEL = ( localize2(5774, "Copy as Expression"));
98
- const COPY_VALUE_LABEL = ( localize2(5775, "Copy Value"));
99
- const ADD_TO_WATCH_LABEL = ( localize2(5776, "Add to Watch"));
100
- const SELECT_DEBUG_CONSOLE_LABEL = ( localize2(5777, "Select Debug Console"));
101
- const SELECT_DEBUG_SESSION_LABEL = ( localize2(5778, "Select Debug Session"));
74
+ const DEBUG_COMMAND_CATEGORY = ( localize2(5750, 'Debug'));
75
+ const RESTART_LABEL = ( localize2(5751, "Restart"));
76
+ const STEP_OVER_LABEL = ( localize2(5752, "Step Over"));
77
+ const STEP_INTO_LABEL = ( localize2(5753, "Step Into"));
78
+ const STEP_INTO_TARGET_LABEL = ( localize2(5754, "Step Into Target"));
79
+ const STEP_OUT_LABEL = ( localize2(5755, "Step Out"));
80
+ const PAUSE_LABEL = ( localize2(5756, "Pause"));
81
+ const DISCONNECT_LABEL = ( localize2(5757, "Disconnect"));
82
+ const DISCONNECT_AND_SUSPEND_LABEL = ( localize2(5758, "Disconnect and Suspend"));
83
+ const STOP_LABEL = ( localize2(5759, "Stop"));
84
+ const CONTINUE_LABEL = ( localize2(5760, "Continue"));
85
+ const FOCUS_SESSION_LABEL = ( localize2(5761, "Focus Session"));
86
+ const SELECT_AND_START_LABEL = ( localize2(5762, "Select and Start Debugging"));
87
+ const DEBUG_CONFIGURE_LABEL = ( localize(5763, "Open '{0}'", 'launch.json'));
88
+ const DEBUG_START_LABEL = ( localize2(5764, "Start Debugging"));
89
+ const DEBUG_RUN_LABEL = ( localize2(5765, "Start Without Debugging"));
90
+ const NEXT_DEBUG_CONSOLE_LABEL = ( localize2(5766, "Focus Next Debug Console"));
91
+ const PREV_DEBUG_CONSOLE_LABEL = ( localize2(5767, "Focus Previous Debug Console"));
92
+ const OPEN_LOADED_SCRIPTS_LABEL = ( localize2(5768, "Open Loaded Script..."));
93
+ const CALLSTACK_TOP_LABEL = ( localize2(5769, "Navigate to Top of Call Stack"));
94
+ const CALLSTACK_BOTTOM_LABEL = ( localize2(5770, "Navigate to Bottom of Call Stack"));
95
+ const CALLSTACK_UP_LABEL = ( localize2(5771, "Navigate Up Call Stack"));
96
+ const CALLSTACK_DOWN_LABEL = ( localize2(5772, "Navigate Down Call Stack"));
97
+ const COPY_EVALUATE_PATH_LABEL = ( localize2(5773, "Copy as Expression"));
98
+ const COPY_VALUE_LABEL = ( localize2(5774, "Copy Value"));
99
+ const ADD_TO_WATCH_LABEL = ( localize2(5775, "Add to Watch"));
100
+ const SELECT_DEBUG_CONSOLE_LABEL = ( localize2(5776, "Select Debug Console"));
101
+ const SELECT_DEBUG_SESSION_LABEL = ( localize2(5777, "Select Debug Session"));
102
102
  const DEBUG_QUICK_ACCESS_PREFIX = 'debug ';
103
103
  const DEBUG_CONSOLE_QUICK_ACCESS_PREFIX = 'debug consoles ';
104
104
  function isThreadContext(obj) {
@@ -319,7 +319,7 @@ CommandsRegistry.registerCommand({
319
319
  let id = targets[0].id;
320
320
  if (targets.length > 1) {
321
321
  const picks = ( (targets.map(t => ({ label: t.label, _id: t.id }))));
322
- const pick = await quickInputService.pick(picks, { placeHolder: ( localize(5779, "Choose the specific location")) });
322
+ const pick = await quickInputService.pick(picks, { placeHolder: ( localize(5778, "Choose the specific location")) });
323
323
  if (!pick) {
324
324
  return;
325
325
  }
@@ -329,7 +329,7 @@ CommandsRegistry.registerCommand({
329
329
  }
330
330
  }
331
331
  }
332
- return notificationService.warn(( localize(5780, "No executable code is associated at the current cursor position.")));
332
+ return notificationService.warn(( localize(5779, "No executable code is associated at the current cursor position.")));
333
333
  }
334
334
  });
335
335
  CommandsRegistry.registerCommand({
@@ -363,7 +363,7 @@ CommandsRegistry.registerCommand({
363
363
  MenuRegistry.appendMenuItem(MenuId.EditorContext, {
364
364
  command: {
365
365
  id: JUMP_TO_CURSOR_ID,
366
- title: ( localize(5781, "Jump to Cursor")),
366
+ title: ( localize(5780, "Jump to Cursor")),
367
367
  category: DEBUG_COMMAND_CATEGORY
368
368
  },
369
369
  when: ( (ContextKeyExpr.and(CONTEXT_JUMP_TO_CURSOR_SUPPORTED, EditorContextKeys.editorTextFocus))),
@@ -528,7 +528,7 @@ KeybindingsRegistry.registerCommandAndKeybindingRule({
528
528
  qp.items = targets?.map(target => ({ target, label: target.label }));
529
529
  }
530
530
  else {
531
- qp.placeholder = ( localize(5782, "No step targets available"));
531
+ qp.placeholder = ( localize(5781, "No step targets available"));
532
532
  }
533
533
  });
534
534
  }
@@ -867,7 +867,7 @@ registerAction2(class AddConfigurationAction extends Action2 {
867
867
  constructor() {
868
868
  super({
869
869
  id: ADD_CONFIGURATION_ID,
870
- title: ( localize2(5783, "Add Configuration...")),
870
+ title: ( localize2(5782, "Add Configuration...")),
871
871
  category: DEBUG_COMMAND_CATEGORY,
872
872
  f1: true,
873
873
  menu: {
@@ -921,7 +921,7 @@ KeybindingsRegistry.registerCommandAndKeybindingRule({
921
921
  MenuRegistry.appendMenuItem(MenuId.EditorContext, {
922
922
  command: {
923
923
  id: TOGGLE_INLINE_BREAKPOINT_ID,
924
- title: ( localize(5784, "Add Inline Breakpoint")),
924
+ title: ( localize(5783, "Add Inline Breakpoint")),
925
925
  category: DEBUG_COMMAND_CATEGORY
926
926
  },
927
927
  when: ( (ContextKeyExpr.and(
@@ -157,7 +157,7 @@ class ExpressionContainer {
157
157
  );
158
158
  }
159
159
  return (
160
- (new Variable(this.session, this.threadId, this, 0, '', undefined, ( localize(5810, "Invalid variable attributes")), 0, 0, undefined, { kind: 'virtual' }, undefined, undefined, false))
160
+ (new Variable(this.session, this.threadId, this, 0, '', undefined, ( localize(5809, "Invalid variable attributes")), 0, 0, undefined, { kind: 'virtual' }, undefined, undefined, false))
161
161
  );
162
162
  })));
163
163
  if (this.session.autoExpandLazyVariables) {
@@ -198,7 +198,7 @@ class ExpressionContainer {
198
198
  }
199
199
  async evaluateExpression(expression, session, stackFrame, context, keepLazyVars = false, location) {
200
200
  if (!session || (!stackFrame && context !== 'repl')) {
201
- this.value = context === 'repl' ? ( localize(5811, "Please start a debug session to evaluate expressions")) : Expression.DEFAULT_VALUE;
201
+ this.value = context === 'repl' ? ( localize(5810, "Please start a debug session to evaluate expressions")) : Expression.DEFAULT_VALUE;
202
202
  this.reference = 0;
203
203
  return false;
204
204
  }
@@ -274,7 +274,7 @@ class VisualizedExpression {
274
274
  }
275
275
  }
276
276
  class Expression extends ExpressionContainer {
277
- static { this.DEFAULT_VALUE = ( localize(5812, "not available")); }
277
+ static { this.DEFAULT_VALUE = ( localize(5811, "not available")); }
278
278
  constructor(name, id = generateUuid()) {
279
279
  super(undefined, undefined, 0, id);
280
280
  this.name = name;
@@ -506,9 +506,9 @@ class Thread {
506
506
  get stateLabel() {
507
507
  if (this.stoppedDetails) {
508
508
  return this.stoppedDetails.description ||
509
- (this.stoppedDetails.reason ? ( localize(5813, "Paused on {0}", this.stoppedDetails.reason)) : ( localize(5814, "Paused")));
509
+ (this.stoppedDetails.reason ? ( localize(5812, "Paused on {0}", this.stoppedDetails.reason)) : ( localize(5813, "Paused")));
510
510
  }
511
- return ( localize(5815, "Running"));
511
+ return ( localize(5814, "Running"));
512
512
  }
513
513
  async fetchCallStack(levels = 20) {
514
514
  if (this.stopped) {
@@ -815,7 +815,7 @@ class Breakpoint extends BaseBreakpoint {
815
815
  get message() {
816
816
  if (this.textFileService.isDirty(this.uri)) {
817
817
  return ( localize(
818
- 5816,
818
+ 5815,
819
819
  "Unverified breakpoint. File is modified, please restart debug session."
820
820
  ));
821
821
  }
@@ -7,7 +7,7 @@ import { SIDE_GROUP, ACTIVE_GROUP } from '../../../services/editor/common/editor
7
7
  import { Schemas } from '../../../../base/common/network.js';
8
8
  import { isUri } from './debugUtils.js';
9
9
  import { TextEditorSelectionRevealType } from '../../../../platform/editor/common/editor.js';
10
- const UNKNOWN_SOURCE_LABEL = ( localize(5817, "Unknown Source"));
10
+ const UNKNOWN_SOURCE_LABEL = ( localize(5816, "Unknown Source"));
11
11
  class Source {
12
12
  constructor(raw_, sessionId, uriIdentityService, logService) {
13
13
  let path;
@@ -2,7 +2,7 @@ import { EditorInput } from '../../../common/editor/editorInput.js';
2
2
  import { localize } from '../../../../nls.js';
3
3
  import { Codicon } from '../../../../base/common/codicons.js';
4
4
  import { registerIcon } from '../../../../platform/theme/common/iconRegistry.js';
5
- const DisassemblyEditorIcon = registerIcon('disassembly-editor-label-icon', Codicon.debug, ( localize(5818, 'Icon of the disassembly editor label.')));
5
+ const DisassemblyEditorIcon = registerIcon('disassembly-editor-label-icon', Codicon.debug, ( localize(5817, 'Icon of the disassembly editor label.')));
6
6
  class DisassemblyViewInput extends EditorInput {
7
7
  constructor() {
8
8
  super(...arguments);
@@ -19,7 +19,7 @@ class DisassemblyViewInput extends EditorInput {
19
19
  return DisassemblyViewInput._instance;
20
20
  }
21
21
  getName() {
22
- return ( localize(5819, "Disassembly"));
22
+ return ( localize(5818, "Disassembly"));
23
23
  }
24
24
  getIcon() {
25
25
  return DisassemblyEditorIcon;