@codingame/monaco-vscode-api 14.0.3 → 14.0.5

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 (65) hide show
  1. package/missing-services.js +2 -2
  2. package/package.json +8 -8
  3. package/services.js +5 -5
  4. package/vscode/src/vs/base/common/labels.d.ts +5 -1
  5. package/vscode/src/vs/base/common/labels.js +12 -4
  6. package/vscode/src/vs/workbench/api/common/extHostVariableResolverService.js +2 -13
  7. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatActions.js +24 -5
  8. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditorActions.js +11 -11
  9. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditorController.js +6 -6
  10. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditorInput.js +2 -2
  11. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditorOverlay.js +7 -7
  12. package/vscode/src/vs/workbench/contrib/chat/browser/chatQuotasService.js +15 -15
  13. package/vscode/src/vs/workbench/contrib/chat/browser/contrib/screenshot.js +1 -1
  14. package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.js +31 -31
  15. package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.js +3 -3
  16. package/vscode/src/vs/workbench/contrib/chat/common/chatModel.js +3 -3
  17. package/vscode/src/vs/workbench/contrib/chat/common/languageModelStats.js +3 -3
  18. package/vscode/src/vs/workbench/contrib/chat/common/languageModels.js +6 -6
  19. package/vscode/src/vs/workbench/contrib/chat/common/tools/editFileTool.js +1 -1
  20. package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +13 -13
  21. package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.js +4 -4
  22. package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorAccessibilityHelp.js +5 -5
  23. package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +3 -3
  24. package/vscode/src/vs/workbench/contrib/codeEditor/browser/largeFileOptimizations.js +3 -3
  25. package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +4 -4
  26. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMinimap.js +2 -2
  27. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMultiCursorModifier.js +4 -4
  28. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderControlCharacter.js +2 -2
  29. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderWhitespace.js +2 -2
  30. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +5 -5
  31. package/vscode/src/vs/workbench/contrib/comments/browser/commentsAccessibility.js +12 -12
  32. package/vscode/src/vs/workbench/contrib/comments/common/commentContextKeys.js +11 -11
  33. package/vscode/src/vs/workbench/contrib/debug/common/abstractDebugAdapter.js +1 -1
  34. package/vscode/src/vs/workbench/contrib/debug/common/debug.js +64 -64
  35. package/vscode/src/vs/workbench/contrib/extensions/common/extensions.js +1 -1
  36. package/vscode/src/vs/workbench/contrib/files/browser/fileConstants.js +6 -6
  37. package/vscode/src/vs/workbench/contrib/folding/browser/folding.contribution.js +3 -3
  38. package/vscode/src/vs/workbench/contrib/format/browser/formatActionsMultiple.js +20 -20
  39. package/vscode/src/vs/workbench/contrib/format/browser/formatActionsNone.js +4 -4
  40. package/vscode/src/vs/workbench/contrib/format/browser/formatModified.js +1 -1
  41. package/vscode/src/vs/workbench/contrib/inlayHints/browser/inlayHintsAccessibilty.js +4 -4
  42. package/vscode/src/vs/workbench/contrib/list/browser/listResizeColumnAction.js +2 -2
  43. package/vscode/src/vs/workbench/contrib/list/browser/tableColumnResizeQuickPick.js +5 -5
  44. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chatEdit/notebookChatEditContext.js +1 -1
  45. package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorInput.js +2 -2
  46. package/vscode/src/vs/workbench/contrib/scm/common/quickDiff.js +9 -9
  47. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCompletionProvider.js +3 -3
  48. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsFile.js +3 -3
  49. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsService.js +9 -9
  50. package/vscode/src/vs/workbench/contrib/speech/common/speechService.js +29 -29
  51. package/vscode/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.js +5 -5
  52. package/vscode/src/vs/workbench/contrib/tasks/common/tasks.js +3 -3
  53. package/vscode/src/vs/workbench/contrib/testing/common/constants.js +11 -11
  54. package/vscode/src/vs/workbench/contrib/testing/common/testTypes.js +3 -3
  55. package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +16 -16
  56. package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +1 -1
  57. package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +83 -83
  58. package/vscode/src/vs/workbench/services/language/common/languageService.js +28 -28
  59. package/vscode/src/vs/workbench/services/log/common/logConstants.js +1 -1
  60. package/vscode/src/vs/workbench/services/remote/common/remoteExplorerService.js +8 -8
  61. package/vscode/src/vs/workbench/services/remote/common/tunnelModel.js +6 -6
  62. package/vscode/src/vs/workbench/services/search/common/queryBuilder.js +1 -1
  63. package/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.js +22 -22
  64. package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +13 -13
  65. package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +11 -11
@@ -10,79 +10,79 @@ var ChatContextKeys;
10
10
  'chatSessionResponseVote',
11
11
  '',
12
12
  { type: 'string', description: ( localize(
13
- 4721,
13
+ 4722,
14
14
  "When the response has been voted up, is set to 'up'. When voted down, is set to 'down'. Otherwise an empty string."
15
15
  )) }
16
16
  ));
17
17
  ChatContextKeys.responseDetectedAgentCommand = ( new RawContextKey(
18
18
  'chatSessionResponseDetectedAgentOrCommand',
19
19
  false,
20
- { type: 'boolean', description: ( localize(4722, "When the agent or command was automatically detected")) }
20
+ { type: 'boolean', description: ( localize(4723, "When the agent or command was automatically detected")) }
21
21
  ));
22
22
  ChatContextKeys.responseSupportsIssueReporting = ( new RawContextKey(
23
23
  'chatResponseSupportsIssueReporting',
24
24
  false,
25
- { type: 'boolean', description: ( localize(4723, "True when the current chat response supports issue reporting.")) }
25
+ { type: 'boolean', description: ( localize(4724, "True when the current chat response supports issue reporting.")) }
26
26
  ));
27
27
  ChatContextKeys.responseIsFiltered = ( new RawContextKey(
28
28
  'chatSessionResponseFiltered',
29
29
  false,
30
- { type: 'boolean', description: ( localize(4724, "True when the chat response was filtered out by the server.")) }
30
+ { type: 'boolean', description: ( localize(4725, "True when the chat response was filtered out by the server.")) }
31
31
  ));
32
32
  ChatContextKeys.responseHasError = ( new RawContextKey(
33
33
  'chatSessionResponseError',
34
34
  false,
35
- { type: 'boolean', description: ( localize(4725, "True when the chat response resulted in an error.")) }
35
+ { type: 'boolean', description: ( localize(4726, "True when the chat response resulted in an error.")) }
36
36
  ));
37
37
  ChatContextKeys.requestInProgress = ( new RawContextKey(
38
38
  'chatSessionRequestInProgress',
39
39
  false,
40
- { type: 'boolean', description: ( localize(4726, "True when the current request is still in progress.")) }
40
+ { type: 'boolean', description: ( localize(4727, "True when the current request is still in progress.")) }
41
41
  ));
42
42
  ChatContextKeys.isRequestPaused = ( new RawContextKey(
43
43
  'chatRequestIsPaused',
44
44
  false,
45
- { type: 'boolean', description: ( localize(4727, "True when the current request is paused.")) }
45
+ { type: 'boolean', description: ( localize(4728, "True when the current request is paused.")) }
46
46
  ));
47
47
  ChatContextKeys.canRequestBePaused = ( new RawContextKey(
48
48
  'chatCanRequestBePaused',
49
49
  false,
50
- { type: 'boolean', description: ( localize(4728, "True when the current request can be paused.")) }
51
- ));
52
- ChatContextKeys.isResponse = ( new RawContextKey('chatResponse', false, { type: 'boolean', description: ( localize(4729, "The chat item is a response.")) }));
53
- ChatContextKeys.isRequest = ( new RawContextKey('chatRequest', false, { type: 'boolean', description: ( localize(4730, "The chat item is a request")) }));
54
- ChatContextKeys.itemId = ( new RawContextKey('chatItemId', '', { type: 'string', description: ( localize(4731, "The id of the chat item.")) }));
55
- ChatContextKeys.lastItemId = ( new RawContextKey('chatLastItemId', [], { type: 'string', description: ( localize(4732, "The id of the last chat item.")) }));
56
- ChatContextKeys.editApplied = ( new RawContextKey('chatEditApplied', false, { type: 'boolean', description: ( localize(4733, "True when the chat text edits have been applied.")) }));
57
- ChatContextKeys.inputHasText = ( new RawContextKey('chatInputHasText', false, { type: 'boolean', description: ( localize(4734, "True when the chat input has text.")) }));
58
- ChatContextKeys.inputHasFocus = ( new RawContextKey('chatInputHasFocus', false, { type: 'boolean', description: ( localize(4735, "True when the chat input has focus.")) }));
59
- ChatContextKeys.inChatInput = ( new RawContextKey('inChatInput', false, { type: 'boolean', description: ( localize(4736, "True when focus is in the chat input, false otherwise.")) }));
60
- ChatContextKeys.inChatSession = ( new RawContextKey('inChat', false, { type: 'boolean', description: ( localize(4737, "True when focus is in the chat widget, false otherwise.")) }));
50
+ { type: 'boolean', description: ( localize(4729, "True when the current request can be paused.")) }
51
+ ));
52
+ ChatContextKeys.isResponse = ( new RawContextKey('chatResponse', false, { type: 'boolean', description: ( localize(4730, "The chat item is a response.")) }));
53
+ ChatContextKeys.isRequest = ( new RawContextKey('chatRequest', false, { type: 'boolean', description: ( localize(4731, "The chat item is a request")) }));
54
+ ChatContextKeys.itemId = ( new RawContextKey('chatItemId', '', { type: 'string', description: ( localize(4732, "The id of the chat item.")) }));
55
+ ChatContextKeys.lastItemId = ( new RawContextKey('chatLastItemId', [], { type: 'string', description: ( localize(4733, "The id of the last chat item.")) }));
56
+ ChatContextKeys.editApplied = ( new RawContextKey('chatEditApplied', false, { type: 'boolean', description: ( localize(4734, "True when the chat text edits have been applied.")) }));
57
+ ChatContextKeys.inputHasText = ( new RawContextKey('chatInputHasText', false, { type: 'boolean', description: ( localize(4735, "True when the chat input has text.")) }));
58
+ ChatContextKeys.inputHasFocus = ( new RawContextKey('chatInputHasFocus', false, { type: 'boolean', description: ( localize(4736, "True when the chat input has focus.")) }));
59
+ ChatContextKeys.inChatInput = ( new RawContextKey('inChatInput', false, { type: 'boolean', description: ( localize(4737, "True when focus is in the chat input, false otherwise.")) }));
60
+ ChatContextKeys.inChatSession = ( new RawContextKey('inChat', false, { type: 'boolean', description: ( localize(4738, "True when focus is in the chat widget, false otherwise.")) }));
61
61
  ChatContextKeys.instructionsAttached = ( new RawContextKey(
62
62
  'chatInstructionsAttached',
63
63
  false,
64
- { type: 'boolean', description: ( localize(4738, "True when the chat has a prompt instructions attached.")) }
64
+ { type: 'boolean', description: ( localize(4739, "True when the chat has a prompt instructions attached.")) }
65
65
  ));
66
66
  ChatContextKeys.supported = ( ContextKeyExpr.or(( IsWebContext.toNegated()), ( RemoteNameContext.notEqualsTo(''))));
67
67
  ChatContextKeys.enabled = ( new RawContextKey('chatIsEnabled', false, { type: 'boolean', description: ( localize(
68
- 4739,
68
+ 4740,
69
69
  "True when chat is enabled because a default chat participant is activated with an implementation."
70
70
  )) }));
71
71
  ChatContextKeys.panelParticipantRegistered = ( new RawContextKey(
72
72
  'chatPanelParticipantRegistered',
73
73
  false,
74
- { type: 'boolean', description: ( localize(4740, "True when a default chat participant is registered for the panel.")) }
74
+ { type: 'boolean', description: ( localize(4741, "True when a default chat participant is registered for the panel.")) }
75
75
  ));
76
76
  ChatContextKeys.editingParticipantRegistered = ( new RawContextKey(
77
77
  'chatEditingParticipantRegistered',
78
78
  false,
79
- { type: 'boolean', description: ( localize(4741, "True when a default chat participant is registered for editing.")) }
79
+ { type: 'boolean', description: ( localize(4742, "True when a default chat participant is registered for editing.")) }
80
80
  ));
81
81
  ChatContextKeys.chatEditingCanUndo = ( new RawContextKey(
82
82
  'chatEditingCanUndo',
83
83
  false,
84
84
  { type: 'boolean', description: ( localize(
85
- 4742,
85
+ 4743,
86
86
  "True when it is possible to undo an interaction in the editing panel."
87
87
  )) }
88
88
  ));
@@ -90,7 +90,7 @@ var ChatContextKeys;
90
90
  'chatEditingCanRedo',
91
91
  false,
92
92
  { type: 'boolean', description: ( localize(
93
- 4743,
93
+ 4744,
94
94
  "True when it is possible to redo an interaction in the editing panel."
95
95
  )) }
96
96
  ));
@@ -98,23 +98,23 @@ var ChatContextKeys;
98
98
  'chatExtensionInvalid',
99
99
  false,
100
100
  { type: 'boolean', description: ( localize(
101
- 4744,
101
+ 4745,
102
102
  "True when the installed chat extension is invalid and needs to be updated."
103
103
  )) }
104
104
  ));
105
105
  ChatContextKeys.inputCursorAtTop = ( new RawContextKey('chatCursorAtTop', false));
106
106
  ChatContextKeys.inputHasAgent = ( new RawContextKey('chatInputHasAgent', false));
107
107
  ChatContextKeys.location = ( new RawContextKey('chatLocation', undefined));
108
- ChatContextKeys.inQuickChat = ( new RawContextKey('quickChatHasFocus', false, { type: 'boolean', description: ( localize(4745, "True when the quick chat UI has focus, false otherwise.")) }));
108
+ ChatContextKeys.inQuickChat = ( new RawContextKey('quickChatHasFocus', false, { type: 'boolean', description: ( localize(4746, "True when the quick chat UI has focus, false otherwise.")) }));
109
109
  ChatContextKeys.hasFileAttachments = ( new RawContextKey(
110
110
  'chatHasFileAttachments',
111
111
  false,
112
- { type: 'boolean', description: ( localize(4746, "True when the chat has file attachments.")) }
112
+ { type: 'boolean', description: ( localize(4747, "True when the chat has file attachments.")) }
113
113
  ));
114
114
  ChatContextKeys.languageModelsAreUserSelectable = ( new RawContextKey(
115
115
  'chatModelsAreUserSelectable',
116
116
  false,
117
- { type: 'boolean', description: ( localize(4747, "True when the chat model can be selected manually by the user.")) }
117
+ { type: 'boolean', description: ( localize(4748, "True when the chat model can be selected manually by the user.")) }
118
118
  ));
119
119
  ChatContextKeys.Setup = {
120
120
  signedOut: ( new RawContextKey('chatSetupSignedOut', false, true)),
@@ -131,12 +131,12 @@ var ChatContextKeys;
131
131
  ChatContextKeys.chatQuotaExceeded = ( new RawContextKey('chatQuotaExceeded', false, true));
132
132
  ChatContextKeys.completionsQuotaExceeded = ( new RawContextKey('completionsQuotaExceeded', false, true));
133
133
  ChatContextKeys.Editing = {
134
- hasToolsAgent: ( new RawContextKey('chatHasToolsAgent', false, { type: 'boolean', description: ( localize(4748, "True when a tools agent is registered.")) })),
135
- agentMode: ( new RawContextKey('chatAgentMode', false, { type: 'boolean', description: ( localize(4749, "True when edits is in agent mode.")) })),
134
+ hasToolsAgent: ( new RawContextKey('chatHasToolsAgent', false, { type: 'boolean', description: ( localize(4749, "True when a tools agent is registered.")) })),
135
+ agentMode: ( new RawContextKey('chatAgentMode', false, { type: 'boolean', description: ( localize(4750, "True when edits is in agent mode.")) })),
136
136
  agentModeDisallowed: ( new RawContextKey(
137
137
  'chatAgentModeDisallowed',
138
138
  undefined,
139
- { type: 'boolean', description: ( localize(4750, "True when agent mode is not allowed.")) }
139
+ { type: 'boolean', description: ( localize(4751, "True when agent mode is not allowed.")) }
140
140
  )),
141
141
  };
142
142
  })(ChatContextKeys || (ChatContextKeys = {}));
@@ -31,13 +31,13 @@ var ChatEditingSessionState;
31
31
  ChatEditingSessionState[ChatEditingSessionState["Disposed"] = 3] = "Disposed";
32
32
  })(ChatEditingSessionState || (ChatEditingSessionState = {}));
33
33
  const CHAT_EDITING_MULTI_DIFF_SOURCE_RESOLVER_SCHEME = 'chat-editing-multi-diff-source';
34
- const chatEditingWidgetFileStateContextKey = ( new RawContextKey('chatEditingWidgetFileState', undefined, ( localize(4751, "The current state of the file in the chat editing widget"))));
34
+ const chatEditingWidgetFileStateContextKey = ( new RawContextKey('chatEditingWidgetFileState', undefined, ( localize(4752, "The current state of the file in the chat editing widget"))));
35
35
  const chatEditingWidgetFileReadonlyContextKey = ( new RawContextKey('chatEditingWidgetFileReadonly', undefined, ( localize(
36
- 4752,
36
+ 4753,
37
37
  "Whether the file has been marked as read-only in the chat editing widget"
38
38
  ))));
39
39
  const chatEditingAgentSupportsReadonlyReferencesContextKey = ( new RawContextKey('chatEditingAgentSupportsReadonlyReferences', undefined, ( localize(
40
- 4753,
40
+ 4754,
41
41
  "Whether the chat editing agent supports readonly references (temporary)"
42
42
  ))));
43
43
  const decidedChatEditingResourceContextKey = ( new RawContextKey('decidedChatEditingResource', []));
@@ -222,7 +222,7 @@ class Response extends Disposable {
222
222
  segment = { text: part.command.title, isBlock: true };
223
223
  break;
224
224
  case 'textEditGroup':
225
- segment = { text: ( localize(4754, "Made changes.")), isBlock: true };
225
+ segment = { text: ( localize(4755, "Made changes.")), isBlock: true };
226
226
  break;
227
227
  case 'confirmation':
228
228
  segment = { text: `${part.title}\n${part.message}`, isBlock: true };
@@ -983,8 +983,8 @@ function getCodeCitationsMessage(citations) {
983
983
  }
984
984
  const licenseTypes = citations.reduce((set, c) => set.add(c.license), ( new Set()));
985
985
  const label = licenseTypes.size === 1 ?
986
- ( localize(4755, "Similar code found with 1 license type", licenseTypes.size)) :
987
- ( localize(4756, "Similar code found with {0} license types", licenseTypes.size));
986
+ ( localize(4756, "Similar code found with 1 license type", licenseTypes.size)) :
987
+ ( localize(4757, "Similar code found with {0} license types", licenseTypes.size));
988
988
  return label;
989
989
  }
990
990
 
@@ -30,13 +30,13 @@ LanguageModelStatsService = ( __decorate([
30
30
  const CopilotUsageExtensionFeatureId = 'copilot';
31
31
  ( Registry.as(Extensions.ExtensionFeaturesRegistry)).registerExtensionFeature({
32
32
  id: CopilotUsageExtensionFeatureId,
33
- label: ( localize(4759, "Copilot")),
34
- description: ( localize(4760, "Language models usage statistics of this extension.")),
33
+ label: ( localize(4760, "Copilot")),
34
+ description: ( localize(4761, "Language models usage statistics of this extension.")),
35
35
  icon: Codicon.copilot,
36
36
  access: {
37
37
  canToggle: false
38
38
  },
39
- accessDataLabel: ( localize(4761, "chat")),
39
+ accessDataLabel: ( localize(4762, "chat")),
40
40
  });
41
41
 
42
42
  export { CopilotUsageExtensionFeatureId, LanguageModelStatsService };
@@ -24,14 +24,14 @@ const languageModelType = {
24
24
  properties: {
25
25
  vendor: {
26
26
  type: 'string',
27
- description: ( localize(4762, "A globally unique vendor of language models."))
27
+ description: ( localize(4763, "A globally unique vendor of language models."))
28
28
  }
29
29
  }
30
30
  };
31
31
  const languageModelExtensionPoint = ExtensionsRegistry.registerExtensionPoint({
32
32
  extensionPoint: 'languageModels',
33
33
  jsonSchema: {
34
- description: ( localize(4763, "Contribute language models of a specific vendor.")),
34
+ description: ( localize(4764, "Contribute language models of a specific vendor.")),
35
35
  oneOf: [
36
36
  languageModelType,
37
37
  {
@@ -61,24 +61,24 @@ let LanguageModelsService = class LanguageModelsService {
61
61
  this._vendors.clear();
62
62
  for (const extension of extensions) {
63
63
  if (!isProposedApiEnabled(extension.description, 'chatProvider')) {
64
- extension.collector.error(( localize(4764, "This contribution point requires the 'chatProvider' proposal.")));
64
+ extension.collector.error(( localize(4765, "This contribution point requires the 'chatProvider' proposal.")));
65
65
  continue;
66
66
  }
67
67
  for (const item of Iterable.wrap(extension.value)) {
68
68
  if (( this._vendors.has(item.vendor))) {
69
69
  extension.collector.error(( localize(
70
- 4765,
70
+ 4766,
71
71
  "The vendor '{0}' is already registered and cannot be registered twice",
72
72
  item.vendor
73
73
  )));
74
74
  continue;
75
75
  }
76
76
  if (isFalsyOrWhitespace(item.vendor)) {
77
- extension.collector.error(( localize(4766, "The vendor field cannot be empty.")));
77
+ extension.collector.error(( localize(4767, "The vendor field cannot be empty.")));
78
78
  continue;
79
79
  }
80
80
  if (item.vendor.trim() !== item.vendor) {
81
- extension.collector.error(( localize(4767, "The vendor field cannot start or end with whitespace.")));
81
+ extension.collector.error(( localize(4768, "The vendor field cannot start or end with whitespace.")));
82
82
  continue;
83
83
  }
84
84
  this._vendors.add(item.vendor);
@@ -40,7 +40,7 @@ class Person {
40
40
  const EditToolData = {
41
41
  id: 'vscode_editFile',
42
42
  tags: ['vscode_editing'],
43
- displayName: ( localize(4772, "Edit File")),
43
+ displayName: ( localize(4773, "Edit File")),
44
44
  modelDescription: `Edit a file in the workspace. Use this tool once per file that needs to be modified, even if there are multiple changes for a file. Generate the "explanation" property first. ${codeInstructions}`,
45
45
  inputSchema: {
46
46
  type: 'object',
@@ -18,17 +18,17 @@ const createCodeActionsAutoSave = (description) => {
18
18
  enum: ['always', 'explicit', 'never', true, false],
19
19
  enumDescriptions: [
20
20
  ( localize(
21
- 4791,
21
+ 4792,
22
22
  'Triggers Code Actions on explicit saves and auto saves triggered by window or focus changes.'
23
23
  )),
24
- ( localize(4792, 'Triggers Code Actions only when explicitly saved')),
25
- ( localize(4793, 'Never triggers Code Actions on save')),
24
+ ( localize(4793, 'Triggers Code Actions only when explicitly saved')),
25
+ ( localize(4794, 'Never triggers Code Actions on save')),
26
26
  ( localize(
27
- 4794,
27
+ 4795,
28
28
  'Triggers Code Actions only when explicitly saved. This value will be deprecated in favor of "explicit".'
29
29
  )),
30
30
  ( localize(
31
- 4795,
31
+ 4796,
32
32
  'Never triggers Code Actions on save. This value will be deprecated in favor of "never".'
33
33
  ))
34
34
  ],
@@ -41,14 +41,14 @@ const createNotebookCodeActionsAutoSave = (description) => {
41
41
  type: ['string', 'boolean'],
42
42
  enum: ['explicit', 'never', true, false],
43
43
  enumDescriptions: [
44
- ( localize(4796, 'Triggers Code Actions only when explicitly saved.')),
45
- ( localize(4797, 'Never triggers Code Actions on save.')),
44
+ ( localize(4797, 'Triggers Code Actions only when explicitly saved.')),
45
+ ( localize(4798, 'Never triggers Code Actions on save.')),
46
46
  ( localize(
47
- 4798,
47
+ 4799,
48
48
  'Triggers Code Actions only when explicitly saved. This value will be deprecated in favor of "explicit".'
49
49
  )),
50
50
  ( localize(
51
- 4799,
51
+ 4800,
52
52
  'Triggers Code Actions only when explicitly saved. This value will be deprecated in favor of "never".'
53
53
  ))
54
54
  ],
@@ -70,7 +70,7 @@ const codeActionsOnSaveSchema = {
70
70
  }
71
71
  ],
72
72
  markdownDescription: ( localize(
73
- 4800,
73
+ 4801,
74
74
  'Run Code Actions for the editor on save. Code Actions must be specified and the editor must not be shutting down. When {0} is set to `afterDelay`, Code Actions will only be run when the file is saved explicitly. Example: `"source.organizeImports": "explicit" `',
75
75
  '`#files.autoSave#`'
76
76
  )),
@@ -102,7 +102,7 @@ const notebookCodeActionsOnSaveSchema = {
102
102
  }
103
103
  ],
104
104
  markdownDescription: ( localize(
105
- 4801,
105
+ 4802,
106
106
  'Run a series of Code Actions for a notebook on save. Code Actions must be specified and the editor must not be shutting down. When {0} is set to `afterDelay`, Code Actions will only be run when the file is saved explicitly. Example: `"notebook.source.organizeImports": "explicit"`',
107
107
  '`#files.autoSave#`'
108
108
  )),
@@ -150,12 +150,12 @@ let CodeActionsContribution = class CodeActionsContribution extends Disposable {
150
150
  for (const codeActionKind of allProvidedKinds) {
151
151
  if (CodeActionKind.Source.contains(codeActionKind) && !properties[codeActionKind.value]) {
152
152
  properties[codeActionKind.value] = createCodeActionsAutoSave(( localize(
153
- 4802,
153
+ 4803,
154
154
  "Controls whether '{0}' actions should be run on file save.",
155
155
  codeActionKind.value
156
156
  )));
157
157
  notebookProperties[codeActionKind.value] = createNotebookCodeActionsAutoSave(( localize(
158
- 4802,
158
+ 4803,
159
159
  "Controls whether '{0}' actions should be run on file save.",
160
160
  codeActionKind.value
161
161
  )));
@@ -29,12 +29,12 @@ import { isWindows } from '../../../../../base/common/platform.js';
29
29
 
30
30
  var EditorDictation_1;
31
31
  const EDITOR_DICTATION_IN_PROGRESS = ( new RawContextKey('editorDictation.inProgress', false));
32
- const VOICE_CATEGORY = ( localize2(4805, "Voice"));
32
+ const VOICE_CATEGORY = ( localize2(4806, "Voice"));
33
33
  class EditorDictationStartAction extends EditorAction2 {
34
34
  constructor() {
35
35
  super({
36
36
  id: 'workbench.action.editorDictation.start',
37
- title: ( localize2(4806, "Start Dictation in Editor")),
37
+ title: ( localize2(4807, "Start Dictation in Editor")),
38
38
  category: VOICE_CATEGORY,
39
39
  precondition: ( ContextKeyExpr.and(HasSpeechProvider, ( SpeechToTextInProgress.toNegated()), (
40
40
  EditorContextKeys.readOnly.toNegated()))),
@@ -71,7 +71,7 @@ class EditorDictationStopAction extends EditorAction2 {
71
71
  constructor() {
72
72
  super({
73
73
  id: EditorDictationStopAction.ID,
74
- title: ( localize2(4807, "Stop Dictation in Editor")),
74
+ title: ( localize2(4808, "Stop Dictation in Editor")),
75
75
  category: VOICE_CATEGORY,
76
76
  precondition: EDITOR_DICTATION_IN_PROGRESS,
77
77
  f1: true,
@@ -96,7 +96,7 @@ class DictationWidget extends Disposable {
96
96
  const stopActionKeybinding = keybindingService.lookupKeybinding(EditorDictationStopAction.ID)?.getLabel();
97
97
  actionBar.push(toAction({
98
98
  id: EditorDictationStopAction.ID,
99
- label: stopActionKeybinding ? ( localize(4808, "Stop Dictation ({0})", stopActionKeybinding)) : ( localize(4809, "Stop Dictation")),
99
+ label: stopActionKeybinding ? ( localize(4809, "Stop Dictation ({0})", stopActionKeybinding)) : ( localize(4810, "Stop Dictation")),
100
100
  class: ThemeIcon.asClassName(Codicon.micFilled),
101
101
  run: () => EditorDictation.get(editor)?.stop()
102
102
  }), { icon: true, label: false, keybinding: stopActionKeybinding });
@@ -31,19 +31,19 @@ class DiffEditorAccessibilityHelp {
31
31
  return;
32
32
  }
33
33
  const switchSides = ( localize(
34
- 4810,
34
+ 4811,
35
35
  "Run the command Diff Editor: Switch Side{0} to toggle between the original and modified editors.",
36
36
  '<keybinding:diffEditor.switchSide>'
37
37
  ));
38
38
  const diffEditorActiveAnnouncement = ( localize(
39
- 4811,
39
+ 4812,
40
40
  "The setting, accessibility.verbosity.diffEditorActive, controls if a diff editor announcement is made when it becomes the active editor."
41
41
  ));
42
42
  const keys = ['accessibility.signals.diffLineDeleted', 'accessibility.signals.diffLineInserted', 'accessibility.signals.diffLineModified'];
43
43
  const content = [
44
- ( localize(4812, "You are in a diff editor.")),
44
+ ( localize(4813, "You are in a diff editor.")),
45
45
  ( localize(
46
- 4813,
46
+ 4814,
47
47
  "View the next{0} or previous{1} diff in diff review mode, which is optimized for screen readers.",
48
48
  '<keybinding:' + AccessibleDiffViewerNext.id + '>',
49
49
  '<keybinding:' + AccessibleDiffViewerPrev.id + '>'
@@ -51,7 +51,7 @@ class DiffEditorAccessibilityHelp {
51
51
  switchSides,
52
52
  diffEditorActiveAnnouncement,
53
53
  ( localize(
54
- 4814,
54
+ 4815,
55
55
  "To control which accessibility signals should be played, the following settings can be configured: {0}.",
56
56
  keys.join(', ')
57
57
  )),
@@ -35,7 +35,7 @@ let DiffEditorHelperContribution = class DiffEditorHelperContribution extends Di
35
35
  const onlyWhiteSpaceChange = ( computationResult.map(r => r && !r.identical && r.changes2.length === 0));
36
36
  this._register(autorunWithStore((reader, store) => {
37
37
  if (onlyWhiteSpaceChange.read(reader)) {
38
- const helperWidget = store.add(this._instantiationService.createInstance(FloatingEditorClickWidget, this._diffEditor.getModifiedEditor(), ( localize(4815, "Show Whitespace Differences")), null));
38
+ const helperWidget = store.add(this._instantiationService.createInstance(FloatingEditorClickWidget, this._diffEditor.getModifiedEditor(), ( localize(4816, "Show Whitespace Differences")), null));
39
39
  store.add(helperWidget.onClick(() => {
40
40
  this._textResourceConfigurationService.updateValue(this._diffEditor.getModel().modified.uri, 'diffEditor.ignoreTrimWhitespace', false);
41
41
  }));
@@ -46,11 +46,11 @@ let DiffEditorHelperContribution = class DiffEditorHelperContribution extends Di
46
46
  const diffComputationResult = this._diffEditor.getDiffComputationResult();
47
47
  if (diffComputationResult && diffComputationResult.quitEarly) {
48
48
  this._notificationService.prompt(Severity$1.Warning, ( localize(
49
- 4816,
49
+ 4817,
50
50
  "The diff algorithm was stopped early (after {0} ms.)",
51
51
  this._diffEditor.maxComputationTime
52
52
  )), [{
53
- label: ( localize(4817, "Remove Limit")),
53
+ label: ( localize(4818, "Remove Limit")),
54
54
  run: () => {
55
55
  this._textResourceConfigurationService.updateValue(this._diffEditor.getModel().modified.uri, 'diffEditor.maxComputationTime', 0);
56
56
  }
@@ -26,16 +26,16 @@ let LargeFileOptimizationsWarner = class LargeFileOptimizationsWarner extends Di
26
26
  }
27
27
  if (model.isTooLargeForTokenization()) {
28
28
  const message = ( localize(
29
- 4837,
29
+ 4838,
30
30
  "{0}: tokenization, wrapping, folding, codelens, word highlighting and sticky scroll have been turned off for this large file in order to reduce memory usage and avoid freezing or crashing.",
31
31
  basename(model.uri.path)
32
32
  ));
33
33
  this._notificationService.prompt(Severity$1.Info, message, [
34
34
  {
35
- label: ( localize(4838, "Forcefully Enable Features")),
35
+ label: ( localize(4839, "Forcefully Enable Features")),
36
36
  run: () => {
37
37
  this._configurationService.updateValue(`editor.largeFileOptimizations`, false).then(() => {
38
- this._notificationService.info(( localize(4839, "Please reopen file in order for this setting to take effect.")));
38
+ this._notificationService.info(( localize(4840, "Please reopen file in order for this setting to take effect.")));
39
39
  }, (err) => {
40
40
  this._notificationService.error(err);
41
41
  });
@@ -194,7 +194,7 @@ let FormatOnSaveParticipant = class FormatOnSaveParticipant {
194
194
  const nestedProgress = ( new Progress(provider => {
195
195
  progress.report({
196
196
  message: ( localize(
197
- 4854,
197
+ 4855,
198
198
  "Running '{0}' Formatter ([configure]({1})).",
199
199
  provider.displayName || provider.extensionId && provider.extensionId.value || '???',
200
200
  'command:workbench.action.openSettings?%5B%22editor.formatOnSave%22%5D'
@@ -304,7 +304,7 @@ let CodeActionOnSaveParticipant = class CodeActionOnSaveParticipant extends Disp
304
304
  : ( ( Object.keys(setting))
305
305
  .filter(x => setting[x] === 'never' || false)
306
306
  .map(x => ( new HierarchicalKind(x))));
307
- progress.report({ message: ( localize(4855, "Quick Fixes")) });
307
+ progress.report({ message: ( localize(4856, "Quick Fixes")) });
308
308
  const filteredSaveList = Array.isArray(setting) ? codeActionsOnSave : codeActionsOnSave.filter(x => setting[x.value] === 'always' || ((setting[x.value] === 'explicit' || setting[x.value] === true) && context.reason === SaveReason.EXPLICIT));
309
309
  await this.applyOnSaveActions(textEditorModel, filteredSaveList, excludedActions, progress, token);
310
310
  }
@@ -322,7 +322,7 @@ let CodeActionOnSaveParticipant = class CodeActionOnSaveParticipant extends Disp
322
322
  _report() {
323
323
  progress.report({
324
324
  message: ( localize(
325
- 4856,
325
+ 4857,
326
326
  "Getting code actions from {0} ([configure]({1})).",
327
327
  ( [...this._names].map(name => `'${name}'`)).join(', '),
328
328
  'command:workbench.action.openSettings?%5B%22editor.codeActionsOnSave%22%5D'
@@ -349,7 +349,7 @@ let CodeActionOnSaveParticipant = class CodeActionOnSaveParticipant extends Disp
349
349
  }
350
350
  try {
351
351
  for (const action of actionsToRun.validActions) {
352
- progress.report({ message: ( localize(4857, "Applying code action '{0}'.", action.action.title)) });
352
+ progress.report({ message: ( localize(4858, "Applying code action '{0}'.", action.action.title)) });
353
353
  await this.instantiationService.invokeFunction(applyCodeAction, action, ApplyCodeActionReason.OnSave, {}, token);
354
354
  if (token.isCancellationRequested) {
355
355
  return;
@@ -11,8 +11,8 @@ class ToggleMinimapAction extends Action2 {
11
11
  super({
12
12
  id: ToggleMinimapAction.ID,
13
13
  title: {
14
- ...( localize2(4858, "Toggle Minimap")),
15
- mnemonicTitle: ( localize(4859, "&&Minimap")),
14
+ ...( localize2(4859, "Toggle Minimap")),
15
+ mnemonicTitle: ( localize(4860, "&&Minimap")),
16
16
  },
17
17
  category: Categories.View,
18
18
  f1: true,
@@ -17,7 +17,7 @@ class ToggleMultiCursorModifierAction extends Action2 {
17
17
  constructor() {
18
18
  super({
19
19
  id: ToggleMultiCursorModifierAction.ID,
20
- title: ( localize2(4860, 'Toggle Multi-Cursor Modifier')),
20
+ title: ( localize2(4861, 'Toggle Multi-Cursor Modifier')),
21
21
  f1: true
22
22
  });
23
23
  }
@@ -57,7 +57,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSelectionMenu, {
57
57
  group: '4_config',
58
58
  command: {
59
59
  id: ToggleMultiCursorModifierAction.ID,
60
- title: ( localize(4861, "Switch to Alt+Click for Multi-Cursor"))
60
+ title: ( localize(4862, "Switch to Alt+Click for Multi-Cursor"))
61
61
  },
62
62
  when: ( multiCursorModifier.isEqualTo('ctrlCmd')),
63
63
  order: 1
@@ -67,8 +67,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSelectionMenu, {
67
67
  command: {
68
68
  id: ToggleMultiCursorModifierAction.ID,
69
69
  title: (isMacintosh
70
- ? ( localize(4862, "Switch to Cmd+Click for Multi-Cursor"))
71
- : ( localize(4863, "Switch to Ctrl+Click for Multi-Cursor")))
70
+ ? ( localize(4863, "Switch to Cmd+Click for Multi-Cursor"))
71
+ : ( localize(4864, "Switch to Ctrl+Click for Multi-Cursor")))
72
72
  },
73
73
  when: ( multiCursorModifier.isEqualTo('altKey')),
74
74
  order: 1
@@ -11,8 +11,8 @@ class ToggleRenderControlCharacterAction extends Action2 {
11
11
  super({
12
12
  id: ToggleRenderControlCharacterAction.ID,
13
13
  title: {
14
- ...( localize2(4864, "Toggle Control Characters")),
15
- mnemonicTitle: ( localize(4865, "Render &&Control Characters")),
14
+ ...( localize2(4865, "Toggle Control Characters")),
15
+ mnemonicTitle: ( localize(4866, "Render &&Control Characters")),
16
16
  },
17
17
  category: Categories.View,
18
18
  f1: true,
@@ -11,8 +11,8 @@ class ToggleRenderWhitespaceAction extends Action2 {
11
11
  super({
12
12
  id: ToggleRenderWhitespaceAction.ID,
13
13
  title: {
14
- ...( localize2(4866, "Toggle Render Whitespace")),
15
- mnemonicTitle: ( localize(4867, "&&Render Whitespace")),
14
+ ...( localize2(4867, "Toggle Render Whitespace")),
15
+ mnemonicTitle: ( localize(4868, "&&Render Whitespace")),
16
16
  },
17
17
  category: Categories.View,
18
18
  f1: true,
@@ -24,7 +24,7 @@ const transientWordWrapState = 'transientWordWrapState';
24
24
  const isWordWrapMinifiedKey = 'isWordWrapMinified';
25
25
  const isDominatedByLongLinesKey = 'isDominatedByLongLines';
26
26
  const CAN_TOGGLE_WORD_WRAP = ( new RawContextKey('canToggleWordWrap', false, true));
27
- const EDITOR_WORD_WRAP = ( new RawContextKey('editorWordWrap', false, ( localize(4868, 'Whether the editor is currently using word wrapping.'))));
27
+ const EDITOR_WORD_WRAP = ( new RawContextKey('editorWordWrap', false, ( localize(4869, 'Whether the editor is currently using word wrapping.'))));
28
28
  function writeTransientState(model, state, codeEditorService) {
29
29
  codeEditorService.setTransientModelProperty(model, transientWordWrapState, state);
30
30
  }
@@ -36,7 +36,7 @@ class ToggleWordWrapAction extends EditorAction {
36
36
  constructor() {
37
37
  super({
38
38
  id: TOGGLE_WORD_WRAP_ID,
39
- label: ( localize2(4869, "View: Toggle Word Wrap")),
39
+ label: ( localize2(4870, "View: Toggle Word Wrap")),
40
40
  precondition: undefined,
41
41
  kbOpts: {
42
42
  kbExpr: null,
@@ -242,7 +242,7 @@ registerEditorAction(ToggleWordWrapAction);
242
242
  MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
243
243
  command: {
244
244
  id: TOGGLE_WORD_WRAP_ID,
245
- title: ( localize(4870, "Disable wrapping for this file")),
245
+ title: ( localize(4871, "Disable wrapping for this file")),
246
246
  icon: Codicon.wordWrap
247
247
  },
248
248
  group: 'navigation',
@@ -252,7 +252,7 @@ MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
252
252
  MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
253
253
  command: {
254
254
  id: TOGGLE_WORD_WRAP_ID,
255
- title: ( localize(4871, "Enable wrapping for this file")),
255
+ title: ( localize(4872, "Enable wrapping for this file")),
256
256
  icon: Codicon.wordWrap
257
257
  },
258
258
  group: 'navigation',
@@ -262,7 +262,7 @@ MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
262
262
  MenuRegistry.appendMenuItem(MenuId.MenubarViewMenu, {
263
263
  command: {
264
264
  id: TOGGLE_WORD_WRAP_ID,
265
- title: ( localize(4872, "&&Word Wrap")),
265
+ title: ( localize(4873, "&&Word Wrap")),
266
266
  toggled: EDITOR_WORD_WRAP,
267
267
  precondition: CAN_TOGGLE_WORD_WRAP
268
268
  },