@codingame/monaco-vscode-api 23.0.3 → 23.1.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.
Files changed (72) hide show
  1. package/package.json +8 -8
  2. package/services.d.ts +6 -0
  3. package/services.js +9 -3
  4. package/vscode/src/vs/base/browser/ui/codicons/codicon/codicon.ttf +0 -0
  5. package/vscode/src/vs/editor/contrib/format/browser/format.js +0 -7
  6. package/vscode/src/vs/platform/policy/common/policy.js +27 -4
  7. package/vscode/src/vs/platform/product/common/product.js +3 -3
  8. package/vscode/src/vs/platform/request/common/request.d.ts +1 -0
  9. package/vscode/src/vs/platform/request/common/request.js +3 -2
  10. package/vscode/src/vs/workbench/api/common/extHostQuickOpen.js +8 -6
  11. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorContextKeys.js +7 -7
  12. package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.js +50 -50
  13. package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.js +2 -2
  14. package/vscode/src/vs/workbench/contrib/chat/common/chatVariableEntries.js +2 -2
  15. package/vscode/src/vs/workbench/contrib/chat/common/constants.d.ts +1 -0
  16. package/vscode/src/vs/workbench/contrib/chat/common/constants.js +1 -0
  17. package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsService.js +3 -3
  18. package/vscode/src/vs/workbench/contrib/chat/common/languageModels.js +8 -8
  19. package/vscode/src/vs/workbench/contrib/chat/common/modelPicker/modelPickerWidget.js +1 -1
  20. package/vscode/src/vs/workbench/contrib/chat/common/tools/manageTodoListTool.js +11 -11
  21. package/vscode/src/vs/workbench/contrib/chat/common/tools/runSubagentTool.js +2 -2
  22. package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +13 -13
  23. package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.js +4 -4
  24. package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorAccessibilityHelp.js +5 -5
  25. package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +3 -3
  26. package/vscode/src/vs/workbench/contrib/codeEditor/browser/largeFileOptimizations.js +3 -3
  27. package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +4 -4
  28. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMinimap.js +2 -2
  29. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMultiCursorModifier.js +4 -4
  30. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderControlCharacter.js +2 -2
  31. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderWhitespace.js +2 -2
  32. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +5 -5
  33. package/vscode/src/vs/workbench/contrib/comments/browser/commentsAccessibility.js +12 -12
  34. package/vscode/src/vs/workbench/contrib/comments/common/commentContextKeys.js +11 -11
  35. package/vscode/src/vs/workbench/contrib/debug/common/abstractDebugAdapter.js +1 -1
  36. package/vscode/src/vs/workbench/contrib/debug/common/debug.js +65 -65
  37. package/vscode/src/vs/workbench/contrib/dropOrPasteInto/browser/commands.js +2 -2
  38. package/vscode/src/vs/workbench/contrib/dropOrPasteInto/browser/configurationSchema.js +4 -4
  39. package/vscode/src/vs/workbench/contrib/extensions/common/extensions.js +1 -1
  40. package/vscode/src/vs/workbench/contrib/extensions/common/searchExtensionsTool.js +4 -4
  41. package/vscode/src/vs/workbench/contrib/files/browser/fileConstants.js +6 -6
  42. package/vscode/src/vs/workbench/contrib/folding/browser/folding.contribution.js +3 -3
  43. package/vscode/src/vs/workbench/contrib/format/browser/formatActionsMultiple.js +20 -20
  44. package/vscode/src/vs/workbench/contrib/format/browser/formatActionsNone.js +4 -4
  45. package/vscode/src/vs/workbench/contrib/format/browser/formatModified.js +1 -1
  46. package/vscode/src/vs/workbench/contrib/inlayHints/browser/inlayHintsAccessibilty.js +4 -4
  47. package/vscode/src/vs/workbench/contrib/list/browser/listResizeColumnAction.js +2 -2
  48. package/vscode/src/vs/workbench/contrib/list/browser/tableColumnResizeQuickPick.js +5 -5
  49. package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.js +4 -4
  50. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCompletionProvider.js +3 -3
  51. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsFile.js +3 -3
  52. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsService.js +9 -9
  53. package/vscode/src/vs/workbench/contrib/speech/common/speechService.js +29 -29
  54. package/vscode/src/vs/workbench/contrib/tasks/common/constants.js +1 -1
  55. package/vscode/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.js +5 -5
  56. package/vscode/src/vs/workbench/contrib/tasks/common/tasks.js +4 -4
  57. package/vscode/src/vs/workbench/contrib/testing/common/constants.js +11 -11
  58. package/vscode/src/vs/workbench/contrib/testing/common/testTypes.js +3 -3
  59. package/vscode/src/vs/workbench/services/accounts/common/defaultAccount.js +1 -1
  60. package/vscode/src/vs/workbench/services/chat/common/chatEntitlementService.d.ts +2 -1
  61. package/vscode/src/vs/workbench/services/chat/common/chatEntitlementService.js +19 -11
  62. package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +16 -16
  63. package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +1 -1
  64. package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +87 -87
  65. package/vscode/src/vs/workbench/services/language/common/languageService.js +28 -28
  66. package/vscode/src/vs/workbench/services/log/common/logConstants.js +1 -1
  67. package/vscode/src/vs/workbench/services/remote/common/remoteExplorerService.js +8 -8
  68. package/vscode/src/vs/workbench/services/remote/common/tunnelModel.js +6 -6
  69. package/vscode/src/vs/workbench/services/search/common/queryBuilder.js +1 -1
  70. package/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.js +22 -22
  71. package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +13 -13
  72. package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +13 -13
@@ -69,23 +69,23 @@ const languageModelChatProviderType = {
69
69
  properties: {
70
70
  vendor: {
71
71
  type: 'string',
72
- description: ( localize(5815, "A globally unique vendor of language model chat provider."))
72
+ description: ( localize(5819, "A globally unique vendor of language model chat provider."))
73
73
  },
74
74
  displayName: {
75
75
  type: 'string',
76
- description: ( localize(5816, "The display name of the language model chat provider."))
76
+ description: ( localize(5820, "The display name of the language model chat provider."))
77
77
  },
78
78
  managementCommand: {
79
79
  type: 'string',
80
80
  description: ( localize(
81
- 5817,
81
+ 5821,
82
82
  "A command to manage the language model chat provider, e.g. 'Manage Copilot models'. This is used in the chat model picker. If not provided, a gear icon is not rendered during vendor selection."
83
83
  ))
84
84
  },
85
85
  when: {
86
86
  type: 'string',
87
87
  description: ( localize(
88
- 5818,
88
+ 5822,
89
89
  "Condition which must be true to show this language model chat provider in the Manage Models list."
90
90
  ))
91
91
  }
@@ -94,7 +94,7 @@ const languageModelChatProviderType = {
94
94
  const languageModelChatProviderExtensionPoint = ExtensionsRegistry.registerExtensionPoint({
95
95
  extensionPoint: 'languageModelChatProviders',
96
96
  jsonSchema: {
97
- description: ( localize(5819, "Contribute language model chat providers of a specific vendor.")),
97
+ description: ( localize(5823, "Contribute language model chat providers of a specific vendor.")),
98
98
  oneOf: [
99
99
  languageModelChatProviderType,
100
100
  {
@@ -144,18 +144,18 @@ let LanguageModelsService = class LanguageModelsService {
144
144
  for (const item of Iterable.wrap(extension.value)) {
145
145
  if (( this._vendors.has(item.vendor))) {
146
146
  extension.collector.error(( localize(
147
- 5820,
147
+ 5824,
148
148
  "The vendor '{0}' is already registered and cannot be registered twice",
149
149
  item.vendor
150
150
  )));
151
151
  continue;
152
152
  }
153
153
  if (isFalsyOrWhitespace(item.vendor)) {
154
- extension.collector.error(( localize(5821, "The vendor field cannot be empty.")));
154
+ extension.collector.error(( localize(5825, "The vendor field cannot be empty.")));
155
155
  continue;
156
156
  }
157
157
  if (item.vendor.trim() !== item.vendor) {
158
- extension.collector.error(( localize(5822, "The vendor field cannot start or end with whitespace.")));
158
+ extension.collector.error(( localize(5826, "The vendor field cannot start or end with whitespace.")));
159
159
  continue;
160
160
  }
161
161
  this._vendors.set(item.vendor, item);
@@ -1,6 +1,6 @@
1
1
 
2
2
  import { localize } from '../../../../../nls.js';
3
3
 
4
- const DEFAULT_MODEL_PICKER_CATEGORY = { label: ( localize(5823, "Other Models")), order: Number.MAX_SAFE_INTEGER };
4
+ const DEFAULT_MODEL_PICKER_CATEGORY = { label: ( localize(5827, "Other Models")), order: Number.MAX_SAFE_INTEGER };
5
5
 
6
6
  export { DEFAULT_MODEL_PICKER_CATEGORY };
@@ -62,8 +62,8 @@ function createManageTodoListToolData(writeOnly, includeDescription = true) {
62
62
  toolReferenceName: 'todos',
63
63
  canBeReferencedInPrompt: true,
64
64
  icon: ThemeIcon.fromId(Codicon.checklist.id),
65
- displayName: ( localize(5952, 'Manage and track todo items for task planning')),
66
- userDescription: ( localize(5953, 'Tool for managing and tracking todo items for task planning')),
65
+ displayName: ( localize(5956, 'Manage and track todo items for task planning')),
66
+ userDescription: ( localize(5957, 'Tool for managing and tracking todo items for task planning')),
67
67
  modelDescription: 'Manage a structured todo list to track progress and plan tasks throughout your coding session. Use this tool VERY frequently to ensure task visibility and proper planning.\n\nWhen to use this tool:\n- Complex multi-step work requiring planning and tracking\n- When user provides multiple tasks or requests (numbered/comma-separated)\n- After receiving new instructions that require multiple steps\n- BEFORE starting work on any todo (mark as in-progress)\n- IMMEDIATELY after completing each todo (mark completed individually)\n- When breaking down larger tasks into smaller actionable steps\n- To give users visibility into your progress and planning\n\nWhen NOT to use:\n- Single, trivial tasks that can be completed in one step\n- Purely conversational/informational requests\n- When just reading files or performing simple searches\n\nCRITICAL workflow:\n1. Plan tasks by writing todo list with specific, actionable items\n2. Mark ONE todo as in-progress before starting work\n3. Complete the work for that specific todo\n4. Mark that todo as completed IMMEDIATELY\n5. Move to next todo and repeat\n\nTodo states:\n- not-started: Todo not yet begun\n- in-progress: Currently working (limit ONE at a time)\n- completed: Finished successfully\n\nIMPORTANT: Mark todos completed as soon as they are done. Do not batch completions.',
68
68
  source: ToolDataSource.Internal,
69
69
  inputSchema: {
@@ -138,7 +138,7 @@ let ManageTodoListTool = class ManageTodoListTool extends Disposable {
138
138
  break;
139
139
  }
140
140
  case 'read': {
141
- message = ( localize(5954, "Read todo list"));
141
+ message = ( localize(5958, "Read todo list"));
142
142
  break;
143
143
  }
144
144
  }
@@ -150,7 +150,7 @@ let ManageTodoListTool = class ManageTodoListTool extends Disposable {
150
150
  status: todo.status
151
151
  })));
152
152
  return {
153
- pastTenseMessage: ( new MarkdownString(message ?? ( localize(5955, "Updated todo list")))),
153
+ pastTenseMessage: ( new MarkdownString(message ?? ( localize(5959, "Updated todo list")))),
154
154
  toolSpecificData: {
155
155
  kind: 'todoList',
156
156
  sessionId: chatSessionId,
@@ -161,8 +161,8 @@ let ManageTodoListTool = class ManageTodoListTool extends Disposable {
161
161
  generatePastTenseMessage(currentTodos, newTodos) {
162
162
  if (currentTodos.length === 0) {
163
163
  return newTodos.length === 1
164
- ? ( localize(5956, "Created 1 todo"))
165
- : ( localize(5957, "Created {0} todos", newTodos.length));
164
+ ? ( localize(5960, "Created 1 todo"))
165
+ : ( localize(5961, "Created {0} todos", newTodos.length));
166
166
  }
167
167
  const currentTodoMap = ( new Map(( currentTodos.map(todo => [todo.id, todo]))));
168
168
  const startedTodos = newTodos.filter(newTodo => {
@@ -174,7 +174,7 @@ let ManageTodoListTool = class ManageTodoListTool extends Disposable {
174
174
  const totalTodos = newTodos.length;
175
175
  const currentPosition = newTodos.findIndex(todo => todo.id === startedTodo.id) + 1;
176
176
  return localize(
177
- 5958,
177
+ 5962,
178
178
  "Starting: *{0}* ({1}/{2})",
179
179
  startedTodo.title,
180
180
  currentPosition,
@@ -190,7 +190,7 @@ let ManageTodoListTool = class ManageTodoListTool extends Disposable {
190
190
  const totalTodos = newTodos.length;
191
191
  const currentPosition = newTodos.findIndex(todo => todo.id === completedTodo.id) + 1;
192
192
  return localize(
193
- 5959,
193
+ 5963,
194
194
  "Completed: *{0}* ({1}/{2})",
195
195
  completedTodo.title,
196
196
  currentPosition,
@@ -200,10 +200,10 @@ let ManageTodoListTool = class ManageTodoListTool extends Disposable {
200
200
  const addedTodos = newTodos.filter(newTodo => !( currentTodoMap.has(newTodo.id)));
201
201
  if (addedTodos.length > 0) {
202
202
  return addedTodos.length === 1
203
- ? ( localize(5960, "Added 1 todo"))
204
- : ( localize(5961, "Added {0} todos", addedTodos.length));
203
+ ? ( localize(5964, "Added 1 todo"))
204
+ : ( localize(5965, "Added {0} todos", addedTodos.length));
205
205
  }
206
- return localize(5962, "Updated todo list");
206
+ return localize(5966, "Updated todo list");
207
207
  }
208
208
  handleRead(todoItems, sessionResource) {
209
209
  if (todoItems.length === 0) {
@@ -45,9 +45,9 @@ let RunSubagentTool = class RunSubagentTool extends Disposable {
45
45
  toolReferenceName: VSCodeToolReference.runSubagent,
46
46
  canBeReferencedInPrompt: true,
47
47
  icon: ThemeIcon.fromId(Codicon.organization.id),
48
- displayName: ( localize(5963, 'Run Subagent')),
48
+ displayName: ( localize(5967, 'Run Subagent')),
49
49
  userDescription: ( localize(
50
- 5964,
50
+ 5968,
51
51
  'Runs a task within an isolated subagent context. Enables efficient organization of tasks and context window management.'
52
52
  )),
53
53
  modelDescription: BaseModelDescription,
@@ -18,17 +18,17 @@ const createCodeActionsAutoSave = (description) => {
18
18
  enum: ['always', 'explicit', 'never', true, false],
19
19
  enumDescriptions: [
20
20
  ( localize(
21
- 5966,
21
+ 5970,
22
22
  'Triggers Code Actions on explicit saves and auto saves triggered by window or focus changes.'
23
23
  )),
24
- ( localize(5967, 'Triggers Code Actions only when explicitly saved')),
25
- ( localize(5968, 'Never triggers Code Actions on save')),
24
+ ( localize(5971, 'Triggers Code Actions only when explicitly saved')),
25
+ ( localize(5972, 'Never triggers Code Actions on save')),
26
26
  ( localize(
27
- 5969,
27
+ 5973,
28
28
  'Triggers Code Actions only when explicitly saved. This value will be deprecated in favor of "explicit".'
29
29
  )),
30
30
  ( localize(
31
- 5970,
31
+ 5974,
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(5971, 'Triggers Code Actions only when explicitly saved.')),
45
- ( localize(5972, 'Never triggers Code Actions on save.')),
44
+ ( localize(5975, 'Triggers Code Actions only when explicitly saved.')),
45
+ ( localize(5976, 'Never triggers Code Actions on save.')),
46
46
  ( localize(
47
- 5973,
47
+ 5977,
48
48
  'Triggers Code Actions only when explicitly saved. This value will be deprecated in favor of "explicit".'
49
49
  )),
50
50
  ( localize(
51
- 5974,
51
+ 5978,
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
- 5975,
73
+ 5979,
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
- 5976,
105
+ 5980,
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
- 5977,
153
+ 5981,
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
- 5977,
158
+ 5981,
159
159
  "Controls whether '{0}' actions should be run on file save.",
160
160
  codeActionKind.value
161
161
  )));
@@ -32,12 +32,12 @@ import { isWindows } from '../../../../../base/common/platform.js';
32
32
  var EditorDictation_1;
33
33
  registerCss(editorDictation);
34
34
  const EDITOR_DICTATION_IN_PROGRESS = ( new RawContextKey('editorDictation.inProgress', false));
35
- const VOICE_CATEGORY = ( localize2(5980, "Voice"));
35
+ const VOICE_CATEGORY = ( localize2(5984, "Voice"));
36
36
  class EditorDictationStartAction extends EditorAction2 {
37
37
  constructor() {
38
38
  super({
39
39
  id: 'workbench.action.editorDictation.start',
40
- title: ( localize2(5981, "Start Dictation in Editor")),
40
+ title: ( localize2(5985, "Start Dictation in Editor")),
41
41
  category: VOICE_CATEGORY,
42
42
  precondition: ( ContextKeyExpr.and(HasSpeechProvider, ( SpeechToTextInProgress.toNegated()), (
43
43
  EditorContextKeys.readOnly.toNegated()))),
@@ -74,7 +74,7 @@ class EditorDictationStopAction extends EditorAction2 {
74
74
  constructor() {
75
75
  super({
76
76
  id: EditorDictationStopAction.ID,
77
- title: ( localize2(5982, "Stop Dictation in Editor")),
77
+ title: ( localize2(5986, "Stop Dictation in Editor")),
78
78
  category: VOICE_CATEGORY,
79
79
  precondition: EDITOR_DICTATION_IN_PROGRESS,
80
80
  f1: true,
@@ -99,7 +99,7 @@ class DictationWidget extends Disposable {
99
99
  const stopActionKeybinding = keybindingService.lookupKeybinding(EditorDictationStopAction.ID)?.getLabel();
100
100
  actionBar.push(toAction({
101
101
  id: EditorDictationStopAction.ID,
102
- label: stopActionKeybinding ? ( localize(5983, "Stop Dictation ({0})", stopActionKeybinding)) : ( localize(5984, "Stop Dictation")),
102
+ label: stopActionKeybinding ? ( localize(5987, "Stop Dictation ({0})", stopActionKeybinding)) : ( localize(5988, "Stop Dictation")),
103
103
  class: ThemeIcon.asClassName(Codicon.micFilled),
104
104
  run: () => EditorDictation.get(editor)?.stop()
105
105
  }), { icon: true, label: false, keybinding: stopActionKeybinding });
@@ -31,19 +31,19 @@ class DiffEditorAccessibilityHelp {
31
31
  return;
32
32
  }
33
33
  const switchSides = ( localize(
34
- 5985,
34
+ 5989,
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
- 5986,
39
+ 5990,
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(5987, "You are in a diff editor.")),
44
+ ( localize(5991, "You are in a diff editor.")),
45
45
  ( localize(
46
- 5988,
46
+ 5992,
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
- 5989,
54
+ 5993,
55
55
  "To control which accessibility signals should be played, the following settings can be configured: {0}.",
56
56
  keys.join(', ')
57
57
  )),
@@ -32,7 +32,7 @@ let DiffEditorHelperContribution = class DiffEditorHelperContribution extends Di
32
32
  const onlyWhiteSpaceChange = ( computationResult.map(r => r && !r.identical && r.changes2.length === 0));
33
33
  this._register(autorunWithStore((reader, store) => {
34
34
  if (onlyWhiteSpaceChange.read(reader)) {
35
- const helperWidget = store.add(this._instantiationService.createInstance(FloatingEditorClickWidget, this._diffEditor.getModifiedEditor(), ( localize(5990, "Show Whitespace Differences")), null));
35
+ const helperWidget = store.add(this._instantiationService.createInstance(FloatingEditorClickWidget, this._diffEditor.getModifiedEditor(), ( localize(5994, "Show Whitespace Differences")), null));
36
36
  store.add(helperWidget.onClick(() => {
37
37
  this._textResourceConfigurationService.updateValue(this._diffEditor.getModel().modified.uri, 'diffEditor.ignoreTrimWhitespace', false);
38
38
  }));
@@ -43,11 +43,11 @@ let DiffEditorHelperContribution = class DiffEditorHelperContribution extends Di
43
43
  const diffComputationResult = this._diffEditor.getDiffComputationResult();
44
44
  if (diffComputationResult && diffComputationResult.quitEarly) {
45
45
  this._notificationService.prompt(Severity$1.Warning, ( localize(
46
- 5991,
46
+ 5995,
47
47
  "The diff algorithm was stopped early (after {0} ms.)",
48
48
  this._diffEditor.maxComputationTime
49
49
  )), [{
50
- label: ( localize(5992, "Remove Limit")),
50
+ label: ( localize(5996, "Remove Limit")),
51
51
  run: () => {
52
52
  this._textResourceConfigurationService.updateValue(this._diffEditor.getModel().modified.uri, 'diffEditor.maxComputationTime', 0);
53
53
  }
@@ -26,16 +26,16 @@ let LargeFileOptimizationsWarner = class LargeFileOptimizationsWarner extends Di
26
26
  }
27
27
  if (model.isTooLargeForTokenization()) {
28
28
  const message = ( localize(
29
- 6011,
29
+ 6015,
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(6012, "Forcefully Enable Features")),
35
+ label: ( localize(6016, "Forcefully Enable Features")),
36
36
  run: () => {
37
37
  this._configurationService.updateValue(`editor.largeFileOptimizations`, false).then(() => {
38
- this._notificationService.info(( localize(6013, "Please reopen file in order for this setting to take effect.")));
38
+ this._notificationService.info(( localize(6017, "Please reopen file in order for this setting to take effect.")));
39
39
  }, (err) => {
40
40
  this._notificationService.error(err);
41
41
  });
@@ -193,7 +193,7 @@ let FormatOnSaveParticipant = class FormatOnSaveParticipant {
193
193
  const nestedProgress = ( new Progress(provider => {
194
194
  progress.report({
195
195
  message: ( localize(
196
- 6028,
196
+ 6032,
197
197
  "Running '{0}' Formatter ([configure]({1})).",
198
198
  provider.displayName || provider.extensionId && provider.extensionId.value || '???',
199
199
  (createCommandUri('workbench.action.openSettings', 'editor.formatOnSave').toString())
@@ -302,7 +302,7 @@ let CodeActionOnSaveParticipant = class CodeActionOnSaveParticipant extends Disp
302
302
  : ( ( Object.keys(setting))
303
303
  .filter(x => setting[x] === 'never' || false)
304
304
  .map(x => ( new HierarchicalKind(x))));
305
- progress.report({ message: ( localize(6029, "Quick Fixes")) });
305
+ progress.report({ message: ( localize(6033, "Quick Fixes")) });
306
306
  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));
307
307
  await this.applyOnSaveActions(textEditorModel, filteredSaveList, excludedActions, progress, token);
308
308
  }
@@ -320,7 +320,7 @@ let CodeActionOnSaveParticipant = class CodeActionOnSaveParticipant extends Disp
320
320
  _report() {
321
321
  progress.report({
322
322
  message: ( localize(
323
- 6030,
323
+ 6034,
324
324
  "Getting code actions from {0} ([configure]({1})).",
325
325
  ( [...this._names].map(name => `'${name}'`)).join(', '),
326
326
  (createCommandUri('workbench.action.openSettings', 'editor.codeActionsOnSave').toString())
@@ -342,7 +342,7 @@ let CodeActionOnSaveParticipant = class CodeActionOnSaveParticipant extends Disp
342
342
  }
343
343
  try {
344
344
  for (const action of actionsToRun.validActions) {
345
- progress.report({ message: ( localize(6031, "Applying code action '{0}'.", action.action.title)) });
345
+ progress.report({ message: ( localize(6035, "Applying code action '{0}'.", action.action.title)) });
346
346
  await this.instantiationService.invokeFunction(applyCodeAction, action, ApplyCodeActionReason.OnSave, {}, token);
347
347
  if (token.isCancellationRequested) {
348
348
  return;
@@ -11,8 +11,8 @@ class ToggleMinimapAction extends Action2 {
11
11
  super({
12
12
  id: ToggleMinimapAction.ID,
13
13
  title: {
14
- ...( localize2(6032, "Toggle Minimap")),
15
- mnemonicTitle: ( localize(6033, "&&Minimap")),
14
+ ...( localize2(6036, "Toggle Minimap")),
15
+ mnemonicTitle: ( localize(6037, "&&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(6034, 'Toggle Multi-Cursor Modifier')),
20
+ title: ( localize2(6038, '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(6035, "Switch to Alt+Click for Multi-Cursor"))
60
+ title: ( localize(6039, "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(6036, "Switch to Cmd+Click for Multi-Cursor"))
71
- : ( localize(6037, "Switch to Ctrl+Click for Multi-Cursor")))
70
+ ? ( localize(6040, "Switch to Cmd+Click for Multi-Cursor"))
71
+ : ( localize(6041, "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(6038, "Toggle Control Characters")),
15
- mnemonicTitle: ( localize(6039, "Render &&Control Characters")),
14
+ ...( localize2(6042, "Toggle Control Characters")),
15
+ mnemonicTitle: ( localize(6043, "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(6040, "Toggle Render Whitespace")),
15
- mnemonicTitle: ( localize(6041, "&&Render Whitespace")),
14
+ ...( localize2(6044, "Toggle Render Whitespace")),
15
+ mnemonicTitle: ( localize(6045, "&&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(6042, 'Whether the editor is currently using word wrapping.'))));
27
+ const EDITOR_WORD_WRAP = ( new RawContextKey('editorWordWrap', false, ( localize(6046, '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(6043, "View: Toggle Word Wrap")),
39
+ label: ( localize2(6047, "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(6044, "Disable wrapping for this file")),
245
+ title: ( localize(6048, "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(6045, "Enable wrapping for this file")),
255
+ title: ( localize(6049, "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(6046, "&&Word Wrap")),
265
+ title: ( localize(6050, "&&Word Wrap")),
266
266
  toggled: EDITOR_WORD_WRAP,
267
267
  precondition: CAN_TOGGLE_WORD_WRAP
268
268
  },
@@ -13,52 +13,52 @@ import { Disposable } from '../../../../base/common/lifecycle.js';
13
13
  var CommentAccessibilityHelpNLS;
14
14
  (function (CommentAccessibilityHelpNLS) {
15
15
  CommentAccessibilityHelpNLS.intro = ( localize(
16
- 6168,
16
+ 6172,
17
17
  "The editor contains commentable range(s). Some useful commands include:"
18
18
  ));
19
19
  CommentAccessibilityHelpNLS.tabFocus = ( localize(
20
- 6169,
20
+ 6173,
21
21
  "This widget contains a text area, for composition of new comments, and actions, that can be tabbed to once tab moves focus mode has been enabled with the command Toggle Tab Key Moves Focus{0}.",
22
22
  `<keybinding:${ToggleTabFocusModeAction.ID}>`
23
23
  ));
24
- CommentAccessibilityHelpNLS.commentCommands = ( localize(6170, "Some useful comment commands include:"));
25
- CommentAccessibilityHelpNLS.escape = ( localize(6171, "- Dismiss Comment (Escape)"));
24
+ CommentAccessibilityHelpNLS.commentCommands = ( localize(6174, "Some useful comment commands include:"));
25
+ CommentAccessibilityHelpNLS.escape = ( localize(6175, "- Dismiss Comment (Escape)"));
26
26
  CommentAccessibilityHelpNLS.nextRange = ( localize(
27
- 6172,
27
+ 6176,
28
28
  "- Go to Next Commenting Range{0}.",
29
29
  `<keybinding:${CommentCommandId.NextRange}>`
30
30
  ));
31
31
  CommentAccessibilityHelpNLS.previousRange = ( localize(
32
- 6173,
32
+ 6177,
33
33
  "- Go to Previous Commenting Range{0}.",
34
34
  `<keybinding:${CommentCommandId.PreviousRange}>`
35
35
  ));
36
36
  CommentAccessibilityHelpNLS.nextCommentThread = ( localize(
37
- 6174,
37
+ 6178,
38
38
  "- Go to Next Comment Thread{0}.",
39
39
  `<keybinding:${CommentCommandId.NextThread}>`
40
40
  ));
41
41
  CommentAccessibilityHelpNLS.previousCommentThread = ( localize(
42
- 6175,
42
+ 6179,
43
43
  "- Go to Previous Comment Thread{0}.",
44
44
  `<keybinding:${CommentCommandId.PreviousThread}>`
45
45
  ));
46
46
  CommentAccessibilityHelpNLS.nextCommentedRange = ( localize(
47
- 6176,
47
+ 6180,
48
48
  "- Go to Next Commented Range{0}.",
49
49
  `<keybinding:${CommentCommandId.NextCommentedRange}>`
50
50
  ));
51
51
  CommentAccessibilityHelpNLS.previousCommentedRange = ( localize(
52
- 6177,
52
+ 6181,
53
53
  "- Go to Previous Commented Range{0}.",
54
54
  `<keybinding:${CommentCommandId.PreviousCommentedRange}>`
55
55
  ));
56
56
  CommentAccessibilityHelpNLS.addComment = ( localize(
57
- 6178,
57
+ 6182,
58
58
  "- Add Comment on Current Selection{0}.",
59
59
  `<keybinding:${CommentCommandId.Add}>`
60
60
  ));
61
- CommentAccessibilityHelpNLS.submitComment = ( localize(6179, "- Submit Comment{0}.", `<keybinding:${CommentCommandId.Submit}>`));
61
+ CommentAccessibilityHelpNLS.submitComment = ( localize(6183, "- Submit Comment{0}.", `<keybinding:${CommentCommandId.Submit}>`));
62
62
  })(CommentAccessibilityHelpNLS || (CommentAccessibilityHelpNLS = {}));
63
63
  class CommentsAccessibilityHelpProvider extends Disposable {
64
64
  constructor() {
@@ -5,20 +5,20 @@ import { RawContextKey } from '../../../../platform/contextkey/common/contextkey
5
5
  var CommentContextKeys;
6
6
  (function (CommentContextKeys) {
7
7
  CommentContextKeys.activeCursorHasCommentingRange = ( new RawContextKey('activeCursorHasCommentingRange', false, {
8
- description: ( localize(6245, "Whether the position at the active cursor has a commenting range")),
8
+ description: ( localize(6249, "Whether the position at the active cursor has a commenting range")),
9
9
  type: 'boolean'
10
10
  }));
11
11
  CommentContextKeys.activeCursorHasComment = ( new RawContextKey('activeCursorHasComment', false, {
12
- description: ( localize(6246, "Whether the position at the active cursor has a comment")),
12
+ description: ( localize(6250, "Whether the position at the active cursor has a comment")),
13
13
  type: 'boolean'
14
14
  }));
15
15
  CommentContextKeys.activeEditorHasCommentingRange = ( new RawContextKey('activeEditorHasCommentingRange', false, {
16
- description: ( localize(6247, "Whether the active editor has a commenting range")),
16
+ description: ( localize(6251, "Whether the active editor has a commenting range")),
17
17
  type: 'boolean'
18
18
  }));
19
19
  CommentContextKeys.WorkspaceHasCommenting = ( new RawContextKey('workspaceHasCommenting', false, {
20
20
  description: ( localize(
21
- 6248,
21
+ 6252,
22
22
  "Whether the open workspace has either comments or commenting ranges."
23
23
  )),
24
24
  type: 'boolean'
@@ -26,19 +26,19 @@ var CommentContextKeys;
26
26
  CommentContextKeys.commentThreadIsEmpty = ( new RawContextKey(
27
27
  'commentThreadIsEmpty',
28
28
  false,
29
- { type: 'boolean', description: ( localize(6249, "Set when the comment thread has no comments")) }
29
+ { type: 'boolean', description: ( localize(6253, "Set when the comment thread has no comments")) }
30
30
  ));
31
- CommentContextKeys.commentIsEmpty = ( new RawContextKey('commentIsEmpty', false, { type: 'boolean', description: ( localize(6250, "Set when the comment has no input")) }));
32
- CommentContextKeys.commentContext = ( new RawContextKey('comment', undefined, { type: 'string', description: ( localize(6251, "The context value of the comment")) }));
33
- CommentContextKeys.commentThreadContext = ( new RawContextKey('commentThread', undefined, { type: 'string', description: ( localize(6252, "The context value of the comment thread")) }));
31
+ CommentContextKeys.commentIsEmpty = ( new RawContextKey('commentIsEmpty', false, { type: 'boolean', description: ( localize(6254, "Set when the comment has no input")) }));
32
+ CommentContextKeys.commentContext = ( new RawContextKey('comment', undefined, { type: 'string', description: ( localize(6255, "The context value of the comment")) }));
33
+ CommentContextKeys.commentThreadContext = ( new RawContextKey('commentThread', undefined, { type: 'string', description: ( localize(6256, "The context value of the comment thread")) }));
34
34
  CommentContextKeys.commentControllerContext = ( new RawContextKey(
35
35
  'commentController',
36
36
  undefined,
37
- { type: 'string', description: ( localize(6253, "The comment controller id associated with a comment thread")) }
37
+ { type: 'string', description: ( localize(6257, "The comment controller id associated with a comment thread")) }
38
38
  ));
39
- CommentContextKeys.commentFocused = ( new RawContextKey('commentFocused', false, { type: 'boolean', description: ( localize(6254, "Set when the comment is focused")) }));
39
+ CommentContextKeys.commentFocused = ( new RawContextKey('commentFocused', false, { type: 'boolean', description: ( localize(6258, "Set when the comment is focused")) }));
40
40
  CommentContextKeys.commentingEnabled = ( new RawContextKey('commentingEnabled', true, {
41
- description: ( localize(6255, "Whether commenting functionality is enabled")),
41
+ description: ( localize(6259, "Whether commenting functionality is enabled")),
42
42
  type: 'boolean'
43
43
  }));
44
44
  })(CommentContextKeys || (CommentContextKeys = {}));
@@ -63,7 +63,7 @@ class AbstractDebugAdapter {
63
63
  request_seq: request.seq,
64
64
  success: false,
65
65
  command,
66
- message: ( localize(6849, "Timeout after {0} ms for '{1}'", timeout, command))
66
+ message: ( localize(6853, "Timeout after {0} ms for '{1}'", timeout, command))
67
67
  };
68
68
  clb(err);
69
69
  }