@codingame/monaco-vscode-api 11.0.1 → 11.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.
- package/api.js +1 -1
- package/extensions.d.ts +1 -1
- package/missing-services.js +2 -2
- package/package.json +8 -8
- package/services.js +2 -2
- package/vscode/src/vs/base/browser/ui/dialog/dialog.js +6 -6
- package/vscode/src/vs/base/browser/ui/dropdown/dropdownActionViewItem.js +1 -1
- package/vscode/src/vs/base/common/date.js +61 -61
- package/vscode/src/vs/base/common/errorMessage.js +15 -6
- package/vscode/src/vs/editor/browser/coreCommands.js +3 -3
- package/vscode/src/vs/editor/browser/editorExtensions.js +6 -6
- package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorWidget.js +2 -2
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/colors.js +3 -3
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidgetImpl.js +2 -2
- package/vscode/src/vs/editor/common/config/editorOptions.js +364 -364
- package/vscode/src/vs/editor/common/viewLayout/viewLineRenderer.js +2 -2
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeAction.js +1 -1
- package/vscode/src/vs/editor/contrib/contextmenu/browser/contextmenu.js +10 -10
- package/vscode/src/vs/editor/contrib/cursorUndo/browser/cursorUndo.js +2 -2
- package/vscode/src/vs/editor/contrib/editorState/browser/keybindingCancellation.js +1 -1
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesController.js +3 -3
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesTree.js +3 -3
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.js +3 -3
- package/vscode/src/vs/editor/contrib/lineSelection/browser/lineSelection.js +1 -1
- package/vscode/src/vs/editor/contrib/linesOperations/browser/linesOperations.js +30 -30
- package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess.js +5 -5
- package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess.js +32 -32
- package/vscode/src/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.js +4 -4
- package/vscode/src/vs/editor/contrib/tokenization/browser/tokenization.js +1 -1
- package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +49 -49
- package/vscode/src/vs/platform/action/common/actionCommonCategories.js +6 -6
- package/vscode/src/vs/platform/actions/common/menuResetAction.js +1 -1
- package/vscode/src/vs/platform/configuration/common/configurationModels.js +5 -20
- package/vscode/src/vs/platform/files/browser/htmlFileSystemProvider.js +2 -2
- package/vscode/src/vs/platform/files/common/files.js +6 -6
- package/vscode/src/vs/platform/languagePacks/common/languagePacks.js +1 -1
- package/vscode/src/vs/platform/log/common/log.js +6 -6
- package/vscode/src/vs/platform/markers/common/markers.js +3 -3
- package/vscode/src/vs/platform/request/common/request.js +14 -14
- package/vscode/src/vs/platform/theme/common/iconRegistry.js +5 -5
- package/vscode/src/vs/platform/theme/common/tokenClassificationRegistry.js +42 -42
- package/vscode/src/vs/platform/workspace/common/workspace.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostDiagnostics.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostExtensionService.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostLanguageModels.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostLogService.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostNotebook.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostStatusBar.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostTelemetry.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTerminalService.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTreeViews.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTunnelService.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostWorkspace.js +1 -1
- package/vscode/src/vs/workbench/api/common/jsonValidationExtensionPoint.js +12 -12
- package/vscode/src/vs/workbench/browser/actions/developerActions.js +31 -31
- package/vscode/src/vs/workbench/browser/actions/layoutActions.js +129 -129
- package/vscode/src/vs/workbench/browser/actions/textInputActions.js +6 -6
- package/vscode/src/vs/workbench/browser/actions/workspaceActions.js +21 -21
- package/vscode/src/vs/workbench/browser/editor.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/editor/binaryDiffEditor.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/diffEditorCommands.js +6 -6
- package/vscode/src/vs/workbench/browser/parts/editor/editorQuickAccess.js +5 -5
- package/vscode/src/vs/workbench/browser/parts/editor/editorStatus.js +61 -61
- package/vscode/src/vs/workbench/browser/parts/editor/textDiffEditor.js +3 -3
- package/vscode/src/vs/workbench/browser/parts/titlebar/windowTitle.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/views/treeView.js +7 -7
- package/vscode/src/vs/workbench/browser/quickaccess.js +1 -1
- package/vscode/src/vs/workbench/browser/workbench.contribution.js +217 -217
- package/vscode/src/vs/workbench/common/configuration.js +10 -10
- package/vscode/src/vs/workbench/common/contextkeys.js +70 -70
- package/vscode/src/vs/workbench/common/editor/textEditorModel.js +1 -1
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +131 -131
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatQuickInputActions.js +9 -9
- package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +15 -15
- package/vscode/src/vs/workbench/contrib/codeActions/common/codeActionsExtensionPoint.js +10 -10
- package/vscode/src/vs/workbench/contrib/codeActions/common/documentationExtensionPoint.js +6 -6
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorAccessibilityHelp.js +5 -5
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/inspectEditorTokens/inspectEditorTokens.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/largeFileOptimizations.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoSymbolQuickAccess.js +6 -6
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMinimap.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMultiCursorModifier.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderControlCharacter.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderWhitespace.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +5 -5
- package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditorInput.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/callStackEditorContribution.js +2 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/debugColors.js +12 -12
- package/vscode/src/vs/workbench/contrib/debug/browser/debugIcons.js +57 -57
- package/vscode/src/vs/workbench/contrib/debug/common/debug.js +63 -63
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsIcons.js +24 -24
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsFileTemplate.js +5 -5
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/files/browser/editors/binaryFileEditor.js +1 -1
- package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileEditor.js +8 -8
- package/vscode/src/vs/workbench/contrib/files/browser/fileConstants.js +6 -6
- package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._configuration.js +52 -52
- package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._editorPane.js +2 -2
- package/vscode/src/vs/workbench/contrib/files/browser/workspaceWatcher.js +4 -4
- package/vscode/src/vs/workbench/contrib/files/common/dirtyFilesIndicator.js +1 -1
- package/vscode/src/vs/workbench/contrib/folding/browser/folding.contribution.js +3 -3
- package/vscode/src/vs/workbench/contrib/format/browser/formatActionsMultiple.js +20 -20
- package/vscode/src/vs/workbench/contrib/format/browser/formatActionsNone.js +4 -4
- package/vscode/src/vs/workbench/contrib/format/browser/formatModified.js +1 -1
- package/vscode/src/vs/workbench/contrib/inlayHints/browser/inlayHintsAccessibilty.js +4 -4
- package/vscode/src/vs/workbench/contrib/list/browser/listResizeColumnAction.js +2 -2
- package/vscode/src/vs/workbench/contrib/list/browser/tableColumnResizeQuickPick.js +5 -5
- package/vscode/src/vs/workbench/contrib/scm/browser/dirtyDiffSwitcher.js +2 -2
- package/vscode/src/vs/workbench/contrib/scm/browser/dirtydiffDecorator.js +23 -23
- package/vscode/src/vs/workbench/contrib/scm/browser/scmHistory.js +13 -13
- package/vscode/src/vs/workbench/contrib/search/browser/symbolsQuickAccess.js +2 -2
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalColorRegistry.js +23 -23
- package/vscode/src/vs/workbench/contrib/url/browser/trustedDomains.js +6 -6
- package/vscode/src/vs/workbench/contrib/webview/browser/webview.contribution.js +3 -3
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditor.js +1 -1
- package/vscode/src/vs/workbench/contrib/workspace/common/workspace.js +2 -2
- package/vscode/src/vs/workbench/services/auxiliaryWindow/browser/auxiliaryWindowService.js +5 -5
- package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +15 -15
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagement.js +1 -1
- package/vscode/src/vs/workbench/services/extensionRecommendations/common/workspaceExtensionsConfig.js +6 -6
- package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.js +5 -5
- package/vscode/src/vs/workbench/services/language/common/languageService.js +28 -28
- package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorModel.js +7 -7
- package/vscode/src/vs/workbench/services/search/common/queryBuilder.js +1 -1
- package/vscode/src/vs/workbench/services/textMate/common/TMGrammars.js +9 -9
- package/vscode/src/vs/workbench/services/textfile/common/textFileEditorModel.js +3 -3
- package/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.js +22 -22
- package/vscode/src/vs/workbench/services/themes/common/colorThemeData.js +8 -8
- package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +13 -13
- package/vscode/src/vs/workbench/services/views/browser/viewsService.js +7 -7
|
@@ -268,163 +268,163 @@ class AccessibilitySignal {
|
|
|
268
268
|
return [...this._signals];
|
|
269
269
|
}
|
|
270
270
|
static { this.errorAtPosition = AccessibilitySignal.register({
|
|
271
|
-
name: ( localize(
|
|
271
|
+
name: ( localize(2259, 'Error at Position')),
|
|
272
272
|
sound: Sound.error,
|
|
273
|
-
announcementMessage: ( localize(
|
|
273
|
+
announcementMessage: ( localize(2260, 'Error')),
|
|
274
274
|
settingsKey: 'accessibility.signals.positionHasError',
|
|
275
275
|
delaySettingsKey: 'accessibility.signalOptions.delays.errorAtPosition'
|
|
276
276
|
}); }
|
|
277
277
|
static { this.warningAtPosition = AccessibilitySignal.register({
|
|
278
|
-
name: ( localize(
|
|
278
|
+
name: ( localize(2261, 'Warning at Position')),
|
|
279
279
|
sound: Sound.warning,
|
|
280
|
-
announcementMessage: ( localize(
|
|
280
|
+
announcementMessage: ( localize(2262, 'Warning')),
|
|
281
281
|
settingsKey: 'accessibility.signals.positionHasWarning',
|
|
282
282
|
delaySettingsKey: 'accessibility.signalOptions.delays.warningAtPosition'
|
|
283
283
|
}); }
|
|
284
284
|
static { this.errorOnLine = AccessibilitySignal.register({
|
|
285
|
-
name: ( localize(
|
|
285
|
+
name: ( localize(2263, 'Error on Line')),
|
|
286
286
|
sound: Sound.error,
|
|
287
287
|
legacySoundSettingsKey: 'audioCues.lineHasError',
|
|
288
288
|
legacyAnnouncementSettingsKey: 'accessibility.alert.error',
|
|
289
|
-
announcementMessage: ( localize(
|
|
289
|
+
announcementMessage: ( localize(2264, 'Error on Line')),
|
|
290
290
|
settingsKey: 'accessibility.signals.lineHasError',
|
|
291
291
|
}); }
|
|
292
292
|
static { this.warningOnLine = AccessibilitySignal.register({
|
|
293
|
-
name: ( localize(
|
|
293
|
+
name: ( localize(2265, 'Warning on Line')),
|
|
294
294
|
sound: Sound.warning,
|
|
295
295
|
legacySoundSettingsKey: 'audioCues.lineHasWarning',
|
|
296
296
|
legacyAnnouncementSettingsKey: 'accessibility.alert.warning',
|
|
297
|
-
announcementMessage: ( localize(
|
|
297
|
+
announcementMessage: ( localize(2266, 'Warning on Line')),
|
|
298
298
|
settingsKey: 'accessibility.signals.lineHasWarning',
|
|
299
299
|
}); }
|
|
300
300
|
static { this.foldedArea = AccessibilitySignal.register({
|
|
301
|
-
name: ( localize(
|
|
301
|
+
name: ( localize(2267, 'Folded Area on Line')),
|
|
302
302
|
sound: Sound.foldedArea,
|
|
303
303
|
legacySoundSettingsKey: 'audioCues.lineHasFoldedArea',
|
|
304
304
|
legacyAnnouncementSettingsKey: 'accessibility.alert.foldedArea',
|
|
305
|
-
announcementMessage: ( localize(
|
|
305
|
+
announcementMessage: ( localize(2268, 'Folded')),
|
|
306
306
|
settingsKey: 'accessibility.signals.lineHasFoldedArea',
|
|
307
307
|
}); }
|
|
308
308
|
static { this.break = AccessibilitySignal.register({
|
|
309
|
-
name: ( localize(
|
|
309
|
+
name: ( localize(2269, 'Breakpoint on Line')),
|
|
310
310
|
sound: Sound.break,
|
|
311
311
|
legacySoundSettingsKey: 'audioCues.lineHasBreakpoint',
|
|
312
312
|
legacyAnnouncementSettingsKey: 'accessibility.alert.breakpoint',
|
|
313
|
-
announcementMessage: ( localize(
|
|
313
|
+
announcementMessage: ( localize(2270, 'Breakpoint')),
|
|
314
314
|
settingsKey: 'accessibility.signals.lineHasBreakpoint',
|
|
315
315
|
}); }
|
|
316
316
|
static { this.inlineSuggestion = AccessibilitySignal.register({
|
|
317
|
-
name: ( localize(
|
|
317
|
+
name: ( localize(2271, 'Inline Suggestion on Line')),
|
|
318
318
|
sound: Sound.quickFixes,
|
|
319
319
|
legacySoundSettingsKey: 'audioCues.lineHasInlineSuggestion',
|
|
320
320
|
settingsKey: 'accessibility.signals.lineHasInlineSuggestion',
|
|
321
321
|
}); }
|
|
322
322
|
static { this.terminalQuickFix = AccessibilitySignal.register({
|
|
323
|
-
name: ( localize(
|
|
323
|
+
name: ( localize(2272, 'Terminal Quick Fix')),
|
|
324
324
|
sound: Sound.quickFixes,
|
|
325
325
|
legacySoundSettingsKey: 'audioCues.terminalQuickFix',
|
|
326
326
|
legacyAnnouncementSettingsKey: 'accessibility.alert.terminalQuickFix',
|
|
327
|
-
announcementMessage: ( localize(
|
|
327
|
+
announcementMessage: ( localize(2273, 'Quick Fix')),
|
|
328
328
|
settingsKey: 'accessibility.signals.terminalQuickFix',
|
|
329
329
|
}); }
|
|
330
330
|
static { this.onDebugBreak = AccessibilitySignal.register({
|
|
331
|
-
name: ( localize(
|
|
331
|
+
name: ( localize(2274, 'Debugger Stopped on Breakpoint')),
|
|
332
332
|
sound: Sound.break,
|
|
333
333
|
legacySoundSettingsKey: 'audioCues.onDebugBreak',
|
|
334
334
|
legacyAnnouncementSettingsKey: 'accessibility.alert.onDebugBreak',
|
|
335
|
-
announcementMessage: ( localize(
|
|
335
|
+
announcementMessage: ( localize(2275, 'Breakpoint')),
|
|
336
336
|
settingsKey: 'accessibility.signals.onDebugBreak',
|
|
337
337
|
}); }
|
|
338
338
|
static { this.noInlayHints = AccessibilitySignal.register({
|
|
339
|
-
name: ( localize(
|
|
339
|
+
name: ( localize(2276, 'No Inlay Hints on Line')),
|
|
340
340
|
sound: Sound.error,
|
|
341
341
|
legacySoundSettingsKey: 'audioCues.noInlayHints',
|
|
342
342
|
legacyAnnouncementSettingsKey: 'accessibility.alert.noInlayHints',
|
|
343
|
-
announcementMessage: ( localize(
|
|
343
|
+
announcementMessage: ( localize(2277, 'No Inlay Hints')),
|
|
344
344
|
settingsKey: 'accessibility.signals.noInlayHints',
|
|
345
345
|
}); }
|
|
346
346
|
static { this.taskCompleted = AccessibilitySignal.register({
|
|
347
|
-
name: ( localize(
|
|
347
|
+
name: ( localize(2278, 'Task Completed')),
|
|
348
348
|
sound: Sound.taskCompleted,
|
|
349
349
|
legacySoundSettingsKey: 'audioCues.taskCompleted',
|
|
350
350
|
legacyAnnouncementSettingsKey: 'accessibility.alert.taskCompleted',
|
|
351
|
-
announcementMessage: ( localize(
|
|
351
|
+
announcementMessage: ( localize(2279, 'Task Completed')),
|
|
352
352
|
settingsKey: 'accessibility.signals.taskCompleted',
|
|
353
353
|
}); }
|
|
354
354
|
static { this.taskFailed = AccessibilitySignal.register({
|
|
355
|
-
name: ( localize(
|
|
355
|
+
name: ( localize(2280, 'Task Failed')),
|
|
356
356
|
sound: Sound.taskFailed,
|
|
357
357
|
legacySoundSettingsKey: 'audioCues.taskFailed',
|
|
358
358
|
legacyAnnouncementSettingsKey: 'accessibility.alert.taskFailed',
|
|
359
|
-
announcementMessage: ( localize(
|
|
359
|
+
announcementMessage: ( localize(2281, 'Task Failed')),
|
|
360
360
|
settingsKey: 'accessibility.signals.taskFailed',
|
|
361
361
|
}); }
|
|
362
362
|
static { this.terminalCommandFailed = AccessibilitySignal.register({
|
|
363
|
-
name: ( localize(
|
|
363
|
+
name: ( localize(2282, 'Terminal Command Failed')),
|
|
364
364
|
sound: Sound.error,
|
|
365
365
|
legacySoundSettingsKey: 'audioCues.terminalCommandFailed',
|
|
366
366
|
legacyAnnouncementSettingsKey: 'accessibility.alert.terminalCommandFailed',
|
|
367
|
-
announcementMessage: ( localize(
|
|
367
|
+
announcementMessage: ( localize(2283, 'Command Failed')),
|
|
368
368
|
settingsKey: 'accessibility.signals.terminalCommandFailed',
|
|
369
369
|
}); }
|
|
370
370
|
static { this.terminalCommandSucceeded = AccessibilitySignal.register({
|
|
371
|
-
name: ( localize(
|
|
371
|
+
name: ( localize(2284, 'Terminal Command Succeeded')),
|
|
372
372
|
sound: Sound.success,
|
|
373
|
-
announcementMessage: ( localize(
|
|
373
|
+
announcementMessage: ( localize(2285, 'Command Succeeded')),
|
|
374
374
|
settingsKey: 'accessibility.signals.terminalCommandSucceeded',
|
|
375
375
|
}); }
|
|
376
376
|
static { this.terminalBell = AccessibilitySignal.register({
|
|
377
|
-
name: ( localize(
|
|
377
|
+
name: ( localize(2286, 'Terminal Bell')),
|
|
378
378
|
sound: Sound.terminalBell,
|
|
379
379
|
legacySoundSettingsKey: 'audioCues.terminalBell',
|
|
380
380
|
legacyAnnouncementSettingsKey: 'accessibility.alert.terminalBell',
|
|
381
|
-
announcementMessage: ( localize(
|
|
381
|
+
announcementMessage: ( localize(2287, 'Terminal Bell')),
|
|
382
382
|
settingsKey: 'accessibility.signals.terminalBell',
|
|
383
383
|
}); }
|
|
384
384
|
static { this.notebookCellCompleted = AccessibilitySignal.register({
|
|
385
|
-
name: ( localize(
|
|
385
|
+
name: ( localize(2288, 'Notebook Cell Completed')),
|
|
386
386
|
sound: Sound.taskCompleted,
|
|
387
387
|
legacySoundSettingsKey: 'audioCues.notebookCellCompleted',
|
|
388
388
|
legacyAnnouncementSettingsKey: 'accessibility.alert.notebookCellCompleted',
|
|
389
|
-
announcementMessage: ( localize(
|
|
389
|
+
announcementMessage: ( localize(2289, 'Notebook Cell Completed')),
|
|
390
390
|
settingsKey: 'accessibility.signals.notebookCellCompleted',
|
|
391
391
|
}); }
|
|
392
392
|
static { this.notebookCellFailed = AccessibilitySignal.register({
|
|
393
|
-
name: ( localize(
|
|
393
|
+
name: ( localize(2290, 'Notebook Cell Failed')),
|
|
394
394
|
sound: Sound.taskFailed,
|
|
395
395
|
legacySoundSettingsKey: 'audioCues.notebookCellFailed',
|
|
396
396
|
legacyAnnouncementSettingsKey: 'accessibility.alert.notebookCellFailed',
|
|
397
|
-
announcementMessage: ( localize(
|
|
397
|
+
announcementMessage: ( localize(2291, 'Notebook Cell Failed')),
|
|
398
398
|
settingsKey: 'accessibility.signals.notebookCellFailed',
|
|
399
399
|
}); }
|
|
400
400
|
static { this.diffLineInserted = AccessibilitySignal.register({
|
|
401
|
-
name: ( localize(
|
|
401
|
+
name: ( localize(2292, 'Diff Line Inserted')),
|
|
402
402
|
sound: Sound.diffLineInserted,
|
|
403
403
|
legacySoundSettingsKey: 'audioCues.diffLineInserted',
|
|
404
404
|
settingsKey: 'accessibility.signals.diffLineInserted',
|
|
405
405
|
}); }
|
|
406
406
|
static { this.diffLineDeleted = AccessibilitySignal.register({
|
|
407
|
-
name: ( localize(
|
|
407
|
+
name: ( localize(2293, 'Diff Line Deleted')),
|
|
408
408
|
sound: Sound.diffLineDeleted,
|
|
409
409
|
legacySoundSettingsKey: 'audioCues.diffLineDeleted',
|
|
410
410
|
settingsKey: 'accessibility.signals.diffLineDeleted',
|
|
411
411
|
}); }
|
|
412
412
|
static { this.diffLineModified = AccessibilitySignal.register({
|
|
413
|
-
name: ( localize(
|
|
413
|
+
name: ( localize(2294, 'Diff Line Modified')),
|
|
414
414
|
sound: Sound.diffLineModified,
|
|
415
415
|
legacySoundSettingsKey: 'audioCues.diffLineModified',
|
|
416
416
|
settingsKey: 'accessibility.signals.diffLineModified',
|
|
417
417
|
}); }
|
|
418
418
|
static { this.chatRequestSent = AccessibilitySignal.register({
|
|
419
|
-
name: ( localize(
|
|
419
|
+
name: ( localize(2295, 'Chat Request Sent')),
|
|
420
420
|
sound: Sound.chatRequestSent,
|
|
421
421
|
legacySoundSettingsKey: 'audioCues.chatRequestSent',
|
|
422
422
|
legacyAnnouncementSettingsKey: 'accessibility.alert.chatRequestSent',
|
|
423
|
-
announcementMessage: ( localize(
|
|
423
|
+
announcementMessage: ( localize(2296, 'Chat Request Sent')),
|
|
424
424
|
settingsKey: 'accessibility.signals.chatRequestSent',
|
|
425
425
|
}); }
|
|
426
426
|
static { this.chatResponseReceived = AccessibilitySignal.register({
|
|
427
|
-
name: ( localize(
|
|
427
|
+
name: ( localize(2297, 'Chat Response Received')),
|
|
428
428
|
legacySoundSettingsKey: 'audioCues.chatResponseReceived',
|
|
429
429
|
sound: {
|
|
430
430
|
randomOneOf: [
|
|
@@ -437,45 +437,45 @@ class AccessibilitySignal {
|
|
|
437
437
|
settingsKey: 'accessibility.signals.chatResponseReceived'
|
|
438
438
|
}); }
|
|
439
439
|
static { this.progress = AccessibilitySignal.register({
|
|
440
|
-
name: ( localize(
|
|
440
|
+
name: ( localize(2298, 'Progress')),
|
|
441
441
|
sound: Sound.progress,
|
|
442
442
|
legacySoundSettingsKey: 'audioCues.chatResponsePending',
|
|
443
443
|
legacyAnnouncementSettingsKey: 'accessibility.alert.progress',
|
|
444
|
-
announcementMessage: ( localize(
|
|
444
|
+
announcementMessage: ( localize(2299, 'Progress')),
|
|
445
445
|
settingsKey: 'accessibility.signals.progress'
|
|
446
446
|
}); }
|
|
447
447
|
static { this.clear = AccessibilitySignal.register({
|
|
448
|
-
name: ( localize(
|
|
448
|
+
name: ( localize(2300, 'Clear')),
|
|
449
449
|
sound: Sound.clear,
|
|
450
450
|
legacySoundSettingsKey: 'audioCues.clear',
|
|
451
451
|
legacyAnnouncementSettingsKey: 'accessibility.alert.clear',
|
|
452
|
-
announcementMessage: ( localize(
|
|
452
|
+
announcementMessage: ( localize(2301, 'Clear')),
|
|
453
453
|
settingsKey: 'accessibility.signals.clear'
|
|
454
454
|
}); }
|
|
455
455
|
static { this.save = AccessibilitySignal.register({
|
|
456
|
-
name: ( localize(
|
|
456
|
+
name: ( localize(2302, 'Save')),
|
|
457
457
|
sound: Sound.save,
|
|
458
458
|
legacySoundSettingsKey: 'audioCues.save',
|
|
459
459
|
legacyAnnouncementSettingsKey: 'accessibility.alert.save',
|
|
460
|
-
announcementMessage: ( localize(
|
|
460
|
+
announcementMessage: ( localize(2303, 'Save')),
|
|
461
461
|
settingsKey: 'accessibility.signals.save'
|
|
462
462
|
}); }
|
|
463
463
|
static { this.format = AccessibilitySignal.register({
|
|
464
|
-
name: ( localize(
|
|
464
|
+
name: ( localize(2304, 'Format')),
|
|
465
465
|
sound: Sound.format,
|
|
466
466
|
legacySoundSettingsKey: 'audioCues.format',
|
|
467
467
|
legacyAnnouncementSettingsKey: 'accessibility.alert.format',
|
|
468
|
-
announcementMessage: ( localize(
|
|
468
|
+
announcementMessage: ( localize(2305, 'Format')),
|
|
469
469
|
settingsKey: 'accessibility.signals.format'
|
|
470
470
|
}); }
|
|
471
471
|
static { this.voiceRecordingStarted = AccessibilitySignal.register({
|
|
472
|
-
name: ( localize(
|
|
472
|
+
name: ( localize(2306, 'Voice Recording Started')),
|
|
473
473
|
sound: Sound.voiceRecordingStarted,
|
|
474
474
|
legacySoundSettingsKey: 'audioCues.voiceRecordingStarted',
|
|
475
475
|
settingsKey: 'accessibility.signals.voiceRecordingStarted'
|
|
476
476
|
}); }
|
|
477
477
|
static { this.voiceRecordingStopped = AccessibilitySignal.register({
|
|
478
|
-
name: ( localize(
|
|
478
|
+
name: ( localize(2307, 'Voice Recording Stopped')),
|
|
479
479
|
sound: Sound.voiceRecordingStopped,
|
|
480
480
|
legacySoundSettingsKey: 'audioCues.voiceRecordingStopped',
|
|
481
481
|
settingsKey: 'accessibility.signals.voiceRecordingStopped'
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { localize2 } from '../../../nls.js';
|
|
2
2
|
|
|
3
3
|
const Categories = ( (Object.freeze({
|
|
4
|
-
View: ( localize2(
|
|
5
|
-
Help: ( localize2(
|
|
6
|
-
Test: ( localize2(
|
|
7
|
-
File: ( localize2(
|
|
8
|
-
Preferences: ( localize2(
|
|
9
|
-
Developer: ( localize2(
|
|
4
|
+
View: ( localize2(4485, 'View')),
|
|
5
|
+
Help: ( localize2(4486, 'Help')),
|
|
6
|
+
Test: ( localize2(4487, 'Test')),
|
|
7
|
+
File: ( localize2(4488, 'File')),
|
|
8
|
+
Preferences: ( localize2(4489, 'Preferences')),
|
|
9
|
+
Developer: ( localize2(4490, "Developer")),
|
|
10
10
|
})));
|
|
11
11
|
|
|
12
12
|
export { Categories };
|
|
@@ -372,10 +372,14 @@ class ConfigurationModelParser {
|
|
|
372
372
|
}
|
|
373
373
|
else {
|
|
374
374
|
const propertySchema = configurationProperties[key];
|
|
375
|
+
const scope = propertySchema ? typeof propertySchema.scope !== 'undefined' ? propertySchema.scope : 3 : undefined;
|
|
375
376
|
if (propertySchema?.restricted) {
|
|
376
377
|
restricted.push(key);
|
|
377
378
|
}
|
|
378
|
-
if (
|
|
379
|
+
if (!options.exclude?.includes(key)
|
|
380
|
+
&& (options.include?.includes(key)
|
|
381
|
+
|| ((scope === undefined || options.scopes === undefined || options.scopes.includes(scope))
|
|
382
|
+
&& !(options.skipRestricted && propertySchema?.restricted)))) {
|
|
379
383
|
raw[key] = properties[key];
|
|
380
384
|
}
|
|
381
385
|
else {
|
|
@@ -385,25 +389,6 @@ class ConfigurationModelParser {
|
|
|
385
389
|
}
|
|
386
390
|
return { raw, restricted, hasExcludedProperties };
|
|
387
391
|
}
|
|
388
|
-
shouldInclude(key, propertySchema, options) {
|
|
389
|
-
if (options.exclude?.includes(key)) {
|
|
390
|
-
return false;
|
|
391
|
-
}
|
|
392
|
-
if (options.include?.includes(key)) {
|
|
393
|
-
return true;
|
|
394
|
-
}
|
|
395
|
-
if (options.skipRestricted && propertySchema?.restricted) {
|
|
396
|
-
return false;
|
|
397
|
-
}
|
|
398
|
-
if (options.skipUnregistered && !propertySchema) {
|
|
399
|
-
return false;
|
|
400
|
-
}
|
|
401
|
-
const scope = propertySchema ? typeof propertySchema.scope !== 'undefined' ? propertySchema.scope : 3 : undefined;
|
|
402
|
-
if (scope === undefined || options.scopes === undefined) {
|
|
403
|
-
return true;
|
|
404
|
-
}
|
|
405
|
-
return options.scopes.includes(scope);
|
|
406
|
-
}
|
|
407
392
|
toOverrides(raw, conflictReporter) {
|
|
408
393
|
const overrides = [];
|
|
409
394
|
for (const key of ( Object.keys(raw))) {
|
|
@@ -207,7 +207,7 @@ class HTMLFileSystemProvider extends Disposable {
|
|
|
207
207
|
await this.delete(from, { recursive: false, useTrash: false, atomic: false });
|
|
208
208
|
}
|
|
209
209
|
else {
|
|
210
|
-
throw this.createFileSystemProviderError(from, localize(
|
|
210
|
+
throw this.createFileSystemProviderError(from, localize(765, "Rename is only supported for files."), FileSystemProviderErrorCode.Unavailable);
|
|
211
211
|
}
|
|
212
212
|
}
|
|
213
213
|
catch (error) {
|
|
@@ -387,7 +387,7 @@ class HTMLFileSystemProvider extends Disposable {
|
|
|
387
387
|
}
|
|
388
388
|
let code = FileSystemProviderErrorCode.Unknown;
|
|
389
389
|
if (error.name === 'NotAllowedError') {
|
|
390
|
-
error = ( (new Error(( localize(
|
|
390
|
+
error = ( (new Error(( localize(766, "Insufficient permissions. Please retry and allow the operation.")))));
|
|
391
391
|
code = FileSystemProviderErrorCode.Unavailable;
|
|
392
392
|
}
|
|
393
393
|
return createFileSystemProviderError(error, code);
|
|
@@ -98,7 +98,7 @@ function createFileSystemProviderError(error, code) {
|
|
|
98
98
|
}
|
|
99
99
|
function ensureFileSystemProviderError(error) {
|
|
100
100
|
if (!error) {
|
|
101
|
-
return createFileSystemProviderError(( localize(
|
|
101
|
+
return createFileSystemProviderError(( localize(2, "Unknown Error")), FileSystemProviderErrorCode.Unknown);
|
|
102
102
|
}
|
|
103
103
|
return error;
|
|
104
104
|
}
|
|
@@ -347,18 +347,18 @@ class ByteSize {
|
|
|
347
347
|
size = 0;
|
|
348
348
|
}
|
|
349
349
|
if (size < ByteSize.KB) {
|
|
350
|
-
return ( localize(
|
|
350
|
+
return ( localize(3, "{0}B", size.toFixed(0)));
|
|
351
351
|
}
|
|
352
352
|
if (size < ByteSize.MB) {
|
|
353
|
-
return ( localize(
|
|
353
|
+
return ( localize(4, "{0}KB", (size / ByteSize.KB).toFixed(2)));
|
|
354
354
|
}
|
|
355
355
|
if (size < ByteSize.GB) {
|
|
356
|
-
return ( localize(
|
|
356
|
+
return ( localize(5, "{0}MB", (size / ByteSize.MB).toFixed(2)));
|
|
357
357
|
}
|
|
358
358
|
if (size < ByteSize.TB) {
|
|
359
|
-
return ( localize(
|
|
359
|
+
return ( localize(6, "{0}GB", (size / ByteSize.GB).toFixed(2)));
|
|
360
360
|
}
|
|
361
|
-
return ( localize(
|
|
361
|
+
return ( localize(7, "{0}TB", (size / ByteSize.TB).toFixed(2)));
|
|
362
362
|
}
|
|
363
363
|
}
|
|
364
364
|
function getLargeFileConfirmationLimit(arg) {
|
|
@@ -48,7 +48,7 @@ let LanguagePackBaseService = class LanguagePackBaseService extends Disposable {
|
|
|
48
48
|
}
|
|
49
49
|
if (locale.toLowerCase() === language.toLowerCase()) {
|
|
50
50
|
description ??= '';
|
|
51
|
-
description += ( localize(
|
|
51
|
+
description += ( localize(3286, " (Current)"));
|
|
52
52
|
}
|
|
53
53
|
if (languagePack?.installCount) {
|
|
54
54
|
description ??= '';
|
|
@@ -393,12 +393,12 @@ function LogLevelToString(logLevel) {
|
|
|
393
393
|
}
|
|
394
394
|
function LogLevelToLocalizedString(logLevel) {
|
|
395
395
|
switch (logLevel) {
|
|
396
|
-
case LogLevel.Trace: return { original: 'Trace', value: ( localize(
|
|
397
|
-
case LogLevel.Debug: return { original: 'Debug', value: ( localize(
|
|
398
|
-
case LogLevel.Info: return { original: 'Info', value: ( localize(
|
|
399
|
-
case LogLevel.Warning: return { original: 'Warning', value: ( localize(
|
|
400
|
-
case LogLevel.Error: return { original: 'Error', value: ( localize(
|
|
401
|
-
case LogLevel.Off: return { original: 'Off', value: ( localize(
|
|
396
|
+
case LogLevel.Trace: return { original: 'Trace', value: ( localize(71, "Trace")) };
|
|
397
|
+
case LogLevel.Debug: return { original: 'Debug', value: ( localize(72, "Debug")) };
|
|
398
|
+
case LogLevel.Info: return { original: 'Info', value: ( localize(73, "Info")) };
|
|
399
|
+
case LogLevel.Warning: return { original: 'Warning', value: ( localize(74, "Warning")) };
|
|
400
|
+
case LogLevel.Error: return { original: 'Error', value: ( localize(75, "Error")) };
|
|
401
|
+
case LogLevel.Off: return { original: 'Off', value: ( localize(76, "Off")) };
|
|
402
402
|
}
|
|
403
403
|
}
|
|
404
404
|
function parseLogLevel(logLevel) {
|
|
@@ -14,9 +14,9 @@ var MarkerSeverity;
|
|
|
14
14
|
}
|
|
15
15
|
MarkerSeverity.compare = compare;
|
|
16
16
|
const _displayStrings = Object.create(null);
|
|
17
|
-
_displayStrings[MarkerSeverity.Error] = ( localize(
|
|
18
|
-
_displayStrings[MarkerSeverity.Warning] = ( localize(
|
|
19
|
-
_displayStrings[MarkerSeverity.Info] = ( localize(
|
|
17
|
+
_displayStrings[MarkerSeverity.Error] = ( localize(4644, "Error"));
|
|
18
|
+
_displayStrings[MarkerSeverity.Warning] = ( localize(4645, "Warning"));
|
|
19
|
+
_displayStrings[MarkerSeverity.Info] = ( localize(4646, "Info"));
|
|
20
20
|
function toString(a) {
|
|
21
21
|
return _displayStrings[a] || '';
|
|
22
22
|
}
|
|
@@ -90,7 +90,7 @@ function registerProxyConfigurations(scope) {
|
|
|
90
90
|
proxyConfiguration = {
|
|
91
91
|
id: 'http',
|
|
92
92
|
order: 15,
|
|
93
|
-
title: ( localize(
|
|
93
|
+
title: ( localize(4649, "HTTP")),
|
|
94
94
|
type: 'object',
|
|
95
95
|
scope,
|
|
96
96
|
properties: {
|
|
@@ -98,7 +98,7 @@ function registerProxyConfigurations(scope) {
|
|
|
98
98
|
type: 'string',
|
|
99
99
|
pattern: '^(https?|socks|socks4a?|socks5h?)://([^:]*(:[^@]*)?@)?([^:]+|\\[[:0-9a-fA-F]+\\])(:\\d+)?/?$|^$',
|
|
100
100
|
markdownDescription: ( localize(
|
|
101
|
-
|
|
101
|
+
4650,
|
|
102
102
|
"The proxy setting to use. If not set, will be inherited from the `http_proxy` and `https_proxy` environment variables."
|
|
103
103
|
)),
|
|
104
104
|
restricted: true
|
|
@@ -107,7 +107,7 @@ function registerProxyConfigurations(scope) {
|
|
|
107
107
|
type: 'boolean',
|
|
108
108
|
default: true,
|
|
109
109
|
description: ( localize(
|
|
110
|
-
|
|
110
|
+
4651,
|
|
111
111
|
"Controls whether the proxy server certificate should be verified against the list of supplied CAs."
|
|
112
112
|
)),
|
|
113
113
|
restricted: true
|
|
@@ -115,7 +115,7 @@ function registerProxyConfigurations(scope) {
|
|
|
115
115
|
'http.proxyKerberosServicePrincipal': {
|
|
116
116
|
type: 'string',
|
|
117
117
|
markdownDescription: ( localize(
|
|
118
|
-
|
|
118
|
+
4652,
|
|
119
119
|
"Overrides the principal service name for Kerberos authentication with the HTTP proxy. A default based on the proxy hostname is used when this is not set."
|
|
120
120
|
)),
|
|
121
121
|
restricted: true
|
|
@@ -124,7 +124,7 @@ function registerProxyConfigurations(scope) {
|
|
|
124
124
|
type: 'array',
|
|
125
125
|
items: { type: 'string' },
|
|
126
126
|
markdownDescription: ( localize(
|
|
127
|
-
|
|
127
|
+
4653,
|
|
128
128
|
"Specifies domain names for which proxy settings should be ignored for HTTP/HTTPS requests."
|
|
129
129
|
)),
|
|
130
130
|
restricted: true
|
|
@@ -133,7 +133,7 @@ function registerProxyConfigurations(scope) {
|
|
|
133
133
|
type: ['null', 'string'],
|
|
134
134
|
default: null,
|
|
135
135
|
markdownDescription: ( localize(
|
|
136
|
-
|
|
136
|
+
4654,
|
|
137
137
|
"The value to send as the `Proxy-Authorization` header for every network request."
|
|
138
138
|
)),
|
|
139
139
|
restricted: true
|
|
@@ -142,23 +142,23 @@ function registerProxyConfigurations(scope) {
|
|
|
142
142
|
type: 'string',
|
|
143
143
|
enum: ['off', 'on', 'fallback', 'override'],
|
|
144
144
|
enumDescriptions: [
|
|
145
|
-
( localize(
|
|
146
|
-
( localize(
|
|
145
|
+
( localize(4655, "Disable proxy support for extensions.")),
|
|
146
|
+
( localize(4656, "Enable proxy support for extensions.")),
|
|
147
147
|
( localize(
|
|
148
|
-
|
|
148
|
+
4657,
|
|
149
149
|
"Enable proxy support for extensions, fall back to request options, when no proxy found."
|
|
150
150
|
)),
|
|
151
|
-
( localize(
|
|
151
|
+
( localize(4658, "Enable proxy support for extensions, override request options.")),
|
|
152
152
|
],
|
|
153
153
|
default: 'override',
|
|
154
|
-
description: ( localize(
|
|
154
|
+
description: ( localize(4659, "Use the proxy support for extensions.")),
|
|
155
155
|
restricted: true
|
|
156
156
|
},
|
|
157
157
|
'http.systemCertificates': {
|
|
158
158
|
type: 'boolean',
|
|
159
159
|
default: true,
|
|
160
160
|
description: ( localize(
|
|
161
|
-
|
|
161
|
+
4660,
|
|
162
162
|
"Controls whether CA certificates should be loaded from the OS. (On Windows and macOS, a reload of the window is required after turning this off.)"
|
|
163
163
|
)),
|
|
164
164
|
restricted: true
|
|
@@ -168,7 +168,7 @@ function registerProxyConfigurations(scope) {
|
|
|
168
168
|
tags: ['experimental'],
|
|
169
169
|
default: false,
|
|
170
170
|
description: ( localize(
|
|
171
|
-
|
|
171
|
+
4661,
|
|
172
172
|
"Controls whether experimental loading of CA certificates from the OS should be enabled. This uses a more general approach than the default implementation."
|
|
173
173
|
)),
|
|
174
174
|
restricted: true
|
|
@@ -177,7 +177,7 @@ function registerProxyConfigurations(scope) {
|
|
|
177
177
|
type: 'boolean',
|
|
178
178
|
default: false,
|
|
179
179
|
description: ( localize(
|
|
180
|
-
|
|
180
|
+
4662,
|
|
181
181
|
"Controls whether use of Electron's fetch implementation instead of Node.js' should be enabled. All local extensions will get Electron's fetch implementation for the global fetch API."
|
|
182
182
|
)),
|
|
183
183
|
restricted: true
|
|
@@ -49,10 +49,10 @@ class IconRegistry {
|
|
|
49
49
|
type: 'object',
|
|
50
50
|
properties: {
|
|
51
51
|
fontId: { type: 'string', description: ( localize(
|
|
52
|
-
|
|
52
|
+
4551,
|
|
53
53
|
'The id of the font to use. If not set, the font that is defined first is used.'
|
|
54
54
|
)) },
|
|
55
|
-
fontCharacter: { type: 'string', description: ( localize(
|
|
55
|
+
fontCharacter: { type: 'string', description: ( localize(4552, 'The font character associated with the icon definition.')) }
|
|
56
56
|
},
|
|
57
57
|
additionalProperties: false,
|
|
58
58
|
defaultSnippets: [{ body: { fontCharacter: '\\\\e030' } }]
|
|
@@ -183,9 +183,9 @@ iconRegistry.onDidChange(() => {
|
|
|
183
183
|
delayer.schedule();
|
|
184
184
|
}
|
|
185
185
|
});
|
|
186
|
-
const widgetClose = registerIcon('widget-close', Codicon.close, ( localize(
|
|
187
|
-
const gotoPreviousLocation = registerIcon('goto-previous-location', Codicon.arrowUp, ( localize(
|
|
188
|
-
const gotoNextLocation = registerIcon('goto-next-location', Codicon.arrowDown, ( localize(
|
|
186
|
+
const widgetClose = registerIcon('widget-close', Codicon.close, ( localize(4553, 'Icon for the close action in widgets.')));
|
|
187
|
+
const gotoPreviousLocation = registerIcon('goto-previous-location', Codicon.arrowUp, ( localize(4554, 'Icon for goto previous editor location.')));
|
|
188
|
+
const gotoNextLocation = registerIcon('goto-next-location', Codicon.arrowDown, ( localize(4555, 'Icon for goto next editor location.')));
|
|
189
189
|
const syncing = ThemeIcon.modify(Codicon.sync, 'spin');
|
|
190
190
|
const spinningLoading = ThemeIcon.modify(Codicon.loading, 'spin');
|
|
191
191
|
|