@codingame/monaco-vscode-api 8.0.1 → 8.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api.js +1 -1
- package/extensions.d.ts +24 -0
- 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/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/diffEditor/commands.js +12 -12
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditor.contribution.js +5 -5
- package/vscode/src/vs/editor/browser/widget/diffEditor/registrations.contribution.js +5 -5
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/colors.js +3 -3
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidgetImpl.js +1 -1
- package/vscode/src/vs/editor/common/config/editorConfigurationSchema.js +49 -49
- package/vscode/src/vs/editor/common/core/editorColorRegistry.js +71 -71
- package/vscode/src/vs/editor/common/viewLayout/viewLineRenderer.js +2 -2
- package/vscode/src/vs/editor/contrib/caretOperations/browser/caretOperations.js +2 -2
- package/vscode/src/vs/editor/contrib/editorState/browser/keybindingCancellation.js +1 -1
- package/vscode/src/vs/editor/contrib/find/browser/findController.js +16 -16
- package/vscode/src/vs/editor/contrib/fontZoom/browser/fontZoom.js +3 -3
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.js +3 -3
- package/vscode/src/vs/editor/contrib/inlineEdits/browser/commands.js +6 -6
- package/vscode/src/vs/editor/contrib/multicursor/browser/multicursor.js +22 -22
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHints.js +1 -1
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.js +4 -4
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetDetails.js +2 -2
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.js +2 -2
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.js +9 -9
- package/vscode/src/vs/editor/editor.api.d.ts +91 -69
- package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +49 -49
- package/vscode/src/vs/platform/actions/common/menuResetAction.js +1 -1
- package/vscode/src/vs/platform/contextkey/common/contextkey.js +11 -11
- package/vscode/src/vs/platform/files/browser/htmlFileSystemProvider.js +2 -2
- package/vscode/src/vs/platform/keybinding/common/abstractKeybindingService.js +4 -4
- package/vscode/src/vs/platform/theme/common/iconRegistry.js +5 -5
- package/vscode/src/vs/platform/userDataSync/common/abstractSynchronizer.js +2 -2
- package/vscode/src/vs/workbench/browser/actions/developerActions.js +31 -31
- 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/parts/editor/binaryDiffEditor.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbs.js +41 -41
- package/vscode/src/vs/workbench/browser/parts/editor/diffEditorCommands.js +6 -6
- package/vscode/src/vs/workbench/browser/parts/editor/editorActions.js +131 -131
- package/vscode/src/vs/workbench/browser/parts/editor/editorPlaceholder.js +9 -9
- 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/editor/textEditor.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsAlerts.js +3 -3
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCenter.js +6 -6
- package/vscode/src/vs/workbench/browser/parts/titlebar/menubarControl.js +18 -18
- package/vscode/src/vs/workbench/browser/parts/views/viewFilter.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/views/viewPane.js +4 -4
- package/vscode/src/vs/workbench/browser/parts/views/viewPaneContainer.js +6 -6
- package/vscode/src/vs/workbench/common/contextkeys.js +70 -70
- package/vscode/src/vs/workbench/common/editor/diffEditorInput.js +1 -1
- package/vscode/src/vs/workbench/common/editor/textEditorModel.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatModel.js +7 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.js +4 -4
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsAccessibility.js +10 -10
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsController.js +5 -5
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsModel.js +1 -1
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsTreeViewer.js +9 -9
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsView.js +13 -13
- package/vscode/src/vs/workbench/contrib/comments/common/commentContextKeys.js +9 -9
- package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditorInput.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/debugCommands.js +34 -34
- package/vscode/src/vs/workbench/contrib/debug/common/debugModel.js +6 -6
- package/vscode/src/vs/workbench/contrib/debug/common/debugSource.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/disassemblyViewInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActions.js +166 -166
- 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/files.contribution._editorPane.js +2 -2
- package/vscode/src/vs/workbench/contrib/files/browser/views/openEditorsView.js +7 -7
- 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/mergeEditor/browser/mergeEditorInput.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindWidget.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/coreActions.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibilityProvider.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditorWidget.js +24 -24
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookIcons.js +28 -28
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/backLayerWebView.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/cellRenderer.js +1 -1
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesIcons.js +12 -12
- 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/speech/common/speechService.js +29 -29
- package/vscode/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.js +5 -5
- package/vscode/src/vs/workbench/contrib/tasks/common/taskService.js +5 -5
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalMenus.js +32 -32
- 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/authentication/browser/authenticationService.js +3 -3
- package/vscode/src/vs/workbench/services/auxiliaryWindow/browser/auxiliaryWindowService.js +5 -5
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverSchema.js +16 -16
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverUtils.js +1 -1
- package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +1 -1
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagement.js +1 -1
- package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +82 -82
- package/vscode/src/vs/workbench/services/language/common/languageService.js +28 -28
- package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +11 -11
- package/vscode/src/vs/workbench/services/views/browser/viewsService.js +7 -7
- package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopy.js +17 -17
|
@@ -48,10 +48,10 @@ class IconRegistry {
|
|
|
48
48
|
type: 'object',
|
|
49
49
|
properties: {
|
|
50
50
|
fontId: { type: 'string', description: ( localize(
|
|
51
|
-
|
|
51
|
+
4397,
|
|
52
52
|
'The id of the font to use. If not set, the font that is defined first is used.'
|
|
53
53
|
)) },
|
|
54
|
-
fontCharacter: { type: 'string', description: ( localize(
|
|
54
|
+
fontCharacter: { type: 'string', description: ( localize(4398, 'The font character associated with the icon definition.')) }
|
|
55
55
|
},
|
|
56
56
|
additionalProperties: false,
|
|
57
57
|
defaultSnippets: [{ body: { fontCharacter: '\\\\e030' } }]
|
|
@@ -182,9 +182,9 @@ iconRegistry.onDidChange(() => {
|
|
|
182
182
|
delayer.schedule();
|
|
183
183
|
}
|
|
184
184
|
});
|
|
185
|
-
const widgetClose = registerIcon('widget-close', Codicon.close, ( localize(
|
|
186
|
-
const gotoPreviousLocation = registerIcon('goto-previous-location', Codicon.arrowUp, ( localize(
|
|
187
|
-
const gotoNextLocation = registerIcon('goto-next-location', Codicon.arrowDown, ( localize(
|
|
185
|
+
const widgetClose = registerIcon('widget-close', Codicon.close, ( localize(4399, 'Icon for the close action in widgets.')));
|
|
186
|
+
const gotoPreviousLocation = registerIcon('goto-previous-location', Codicon.arrowUp, ( localize(4400, 'Icon for goto previous editor location.')));
|
|
187
|
+
const gotoNextLocation = registerIcon('goto-next-location', Codicon.arrowDown, ( localize(4401, 'Icon for goto next editor location.')));
|
|
188
188
|
const syncing = ThemeIcon.modify(Codicon.sync, 'spin');
|
|
189
189
|
const spinningLoading = ThemeIcon.modify(Codicon.loading, 'spin');
|
|
190
190
|
export { Extensions, IconFontDefinition, getIconRegistry, gotoNextLocation, gotoPreviousLocation, iconsSchemaId, registerIcon, spinningLoading, syncing, widgetClose };
|
|
@@ -208,7 +208,7 @@ let AbstractSynchroniser = class AbstractSynchroniser extends Disposable {
|
|
|
208
208
|
if (remoteUserData.syncData && remoteUserData.syncData.version > this.version) {
|
|
209
209
|
this.telemetryService.publicLog2('sync/incompatible', { source: this.resource });
|
|
210
210
|
throw ( new UserDataSyncError(localize(
|
|
211
|
-
|
|
211
|
+
8443,
|
|
212
212
|
"Cannot sync {0} as its local version {1} is not compatible with its remote version {2}",
|
|
213
213
|
this.resource,
|
|
214
214
|
this.version,
|
|
@@ -570,7 +570,7 @@ let AbstractSynchroniser = class AbstractSynchroniser extends Disposable {
|
|
|
570
570
|
this.logService.error(error);
|
|
571
571
|
}
|
|
572
572
|
throw ( new UserDataSyncError(localize(
|
|
573
|
-
|
|
573
|
+
8444,
|
|
574
574
|
"Cannot parse sync data as it is not compatible with the current version."
|
|
575
575
|
), UserDataSyncErrorCode.IncompatibleRemoteContent, this.resource));
|
|
576
576
|
}
|
|
@@ -38,7 +38,7 @@ class InspectContextKeysAction extends Action2 {
|
|
|
38
38
|
constructor() {
|
|
39
39
|
super({
|
|
40
40
|
id: 'workbench.action.inspectContextKeys',
|
|
41
|
-
title: ( localize2(
|
|
41
|
+
title: ( localize2(657, 'Inspect Context Keys')),
|
|
42
42
|
category: Categories.Developer,
|
|
43
43
|
f1: true
|
|
44
44
|
});
|
|
@@ -81,7 +81,7 @@ class ToggleScreencastModeAction extends Action2 {
|
|
|
81
81
|
constructor() {
|
|
82
82
|
super({
|
|
83
83
|
id: 'workbench.action.toggleScreencastMode',
|
|
84
|
-
title: ( localize2(
|
|
84
|
+
title: ( localize2(658, 'Toggle Screencast Mode')),
|
|
85
85
|
category: Categories.Developer,
|
|
86
86
|
f1: true
|
|
87
87
|
});
|
|
@@ -303,7 +303,7 @@ class LogStorageAction extends Action2 {
|
|
|
303
303
|
constructor() {
|
|
304
304
|
super({
|
|
305
305
|
id: 'workbench.action.logStorage',
|
|
306
|
-
title: ( localize2(
|
|
306
|
+
title: ( localize2(659, "Log Storage Database Contents")),
|
|
307
307
|
category: Categories.Developer,
|
|
308
308
|
f1: true
|
|
309
309
|
});
|
|
@@ -313,16 +313,16 @@ class LogStorageAction extends Action2 {
|
|
|
313
313
|
const dialogService = accessor.get(IDialogService);
|
|
314
314
|
storageService.log();
|
|
315
315
|
dialogService.info(( localize(
|
|
316
|
-
|
|
316
|
+
660,
|
|
317
317
|
"The storage database contents have been logged to the developer tools."
|
|
318
|
-
)), ( localize(
|
|
318
|
+
)), ( localize(661, "Open developer tools from the menu and select the Console tab.")));
|
|
319
319
|
}
|
|
320
320
|
}
|
|
321
321
|
class LogWorkingCopiesAction extends Action2 {
|
|
322
322
|
constructor() {
|
|
323
323
|
super({
|
|
324
324
|
id: 'workbench.action.logWorkingCopies',
|
|
325
|
-
title: ( localize2(
|
|
325
|
+
title: ( localize2(662, "Log Working Copies")),
|
|
326
326
|
category: Categories.Developer,
|
|
327
327
|
f1: true
|
|
328
328
|
});
|
|
@@ -354,7 +354,7 @@ class RemoveLargeStorageEntriesAction extends Action2 {
|
|
|
354
354
|
constructor() {
|
|
355
355
|
super({
|
|
356
356
|
id: 'workbench.action.removeLargeStorageDatabaseEntries',
|
|
357
|
-
title: ( localize2(
|
|
357
|
+
title: ( localize2(663, 'Remove Large Storage Database Entries...')),
|
|
358
358
|
category: Categories.Developer,
|
|
359
359
|
f1: true
|
|
360
360
|
});
|
|
@@ -382,10 +382,10 @@ class RemoveLargeStorageEntriesAction extends Action2 {
|
|
|
382
382
|
label: key,
|
|
383
383
|
description: ByteSize.formatSize(value.length),
|
|
384
384
|
detail: ( localize(
|
|
385
|
-
|
|
385
|
+
664,
|
|
386
386
|
"Scope: {0}, Target: {1}",
|
|
387
|
-
scope === StorageScope.APPLICATION ? ( localize(
|
|
388
|
-
target === StorageTarget.MACHINE ? ( localize(
|
|
387
|
+
scope === StorageScope.APPLICATION ? ( localize(665, "Global")) : scope === StorageScope.PROFILE ? ( localize(666, "Profile")) : ( localize(667, "Workspace")),
|
|
388
|
+
target === StorageTarget.MACHINE ? ( localize(668, "Machine")) : ( localize(669, "User"))
|
|
389
389
|
)),
|
|
390
390
|
});
|
|
391
391
|
}
|
|
@@ -401,10 +401,10 @@ class RemoveLargeStorageEntriesAction extends Action2 {
|
|
|
401
401
|
picker.ok = false;
|
|
402
402
|
picker.customButton = true;
|
|
403
403
|
picker.hideCheckAll = true;
|
|
404
|
-
picker.customLabel = ( localize(
|
|
405
|
-
picker.placeholder = ( localize(
|
|
404
|
+
picker.customLabel = ( localize(670, "Remove"));
|
|
405
|
+
picker.placeholder = ( localize(671, "Select large entries to remove from storage"));
|
|
406
406
|
if (items.length === 0) {
|
|
407
|
-
picker.description = ( localize(
|
|
407
|
+
picker.description = ( localize(672, "There are no large storage entries to remove."));
|
|
408
408
|
}
|
|
409
409
|
picker.show();
|
|
410
410
|
disposables.add(picker.onDidCustom(() => {
|
|
@@ -419,15 +419,15 @@ class RemoveLargeStorageEntriesAction extends Action2 {
|
|
|
419
419
|
const { confirmed } = await dialogService.confirm({
|
|
420
420
|
type: 'warning',
|
|
421
421
|
message: ( localize(
|
|
422
|
-
|
|
422
|
+
673,
|
|
423
423
|
"Do you want to remove the selected storage entries from the database?"
|
|
424
424
|
)),
|
|
425
425
|
detail: ( localize(
|
|
426
|
-
|
|
426
|
+
674,
|
|
427
427
|
"{0}\n\nThis action is irreversible and may result in data loss!",
|
|
428
428
|
( (selectedItems.map(item => item.label))).join('\n')
|
|
429
429
|
)),
|
|
430
|
-
primaryButton: ( localize(
|
|
430
|
+
primaryButton: ( localize(675, "&&Remove"))
|
|
431
431
|
});
|
|
432
432
|
if (!confirmed) {
|
|
433
433
|
return;
|
|
@@ -449,7 +449,7 @@ class StartTrackDisposables extends Action2 {
|
|
|
449
449
|
constructor() {
|
|
450
450
|
super({
|
|
451
451
|
id: 'workbench.action.startTrackDisposables',
|
|
452
|
-
title: ( localize2(
|
|
452
|
+
title: ( localize2(676, 'Start Tracking Disposables')),
|
|
453
453
|
category: Categories.Developer,
|
|
454
454
|
f1: true,
|
|
455
455
|
precondition: ( (ContextKeyExpr.and(
|
|
@@ -470,7 +470,7 @@ class SnapshotTrackedDisposables extends Action2 {
|
|
|
470
470
|
constructor() {
|
|
471
471
|
super({
|
|
472
472
|
id: 'workbench.action.snapshotTrackedDisposables',
|
|
473
|
-
title: ( localize2(
|
|
473
|
+
title: ( localize2(677, 'Snapshot Tracked Disposables')),
|
|
474
474
|
category: Categories.Developer,
|
|
475
475
|
f1: true,
|
|
476
476
|
precondition: ( (DisposablesSnapshotStateContext.isEqualTo('started')))
|
|
@@ -488,7 +488,7 @@ class StopTrackDisposables extends Action2 {
|
|
|
488
488
|
constructor() {
|
|
489
489
|
super({
|
|
490
490
|
id: 'workbench.action.stopTrackDisposables',
|
|
491
|
-
title: ( localize2(
|
|
491
|
+
title: ( localize2(678, 'Stop Tracking Disposables')),
|
|
492
492
|
category: Categories.Developer,
|
|
493
493
|
f1: true,
|
|
494
494
|
precondition: ( (DisposablesSnapshotStateContext.isEqualTo('pending')))
|
|
@@ -529,7 +529,7 @@ const configurationRegistry = ( (Registry.as(Extensions.Configuration)));
|
|
|
529
529
|
configurationRegistry.registerConfiguration({
|
|
530
530
|
id: 'screencastMode',
|
|
531
531
|
order: 9,
|
|
532
|
-
title: ( localize(
|
|
532
|
+
title: ( localize(679, "Screencast Mode")),
|
|
533
533
|
type: 'object',
|
|
534
534
|
properties: {
|
|
535
535
|
'screencastMode.verticalOffset': {
|
|
@@ -538,7 +538,7 @@ configurationRegistry.registerConfiguration({
|
|
|
538
538
|
minimum: 0,
|
|
539
539
|
maximum: 90,
|
|
540
540
|
description: ( localize(
|
|
541
|
-
|
|
541
|
+
680,
|
|
542
542
|
"Controls the vertical offset of the screencast mode overlay from the bottom as a percentage of the workbench height."
|
|
543
543
|
))
|
|
544
544
|
},
|
|
@@ -547,36 +547,36 @@ configurationRegistry.registerConfiguration({
|
|
|
547
547
|
default: 56,
|
|
548
548
|
minimum: 20,
|
|
549
549
|
maximum: 100,
|
|
550
|
-
description: ( localize(
|
|
550
|
+
description: ( localize(681, "Controls the font size (in pixels) of the screencast mode keyboard."))
|
|
551
551
|
},
|
|
552
552
|
'screencastMode.keyboardOptions': {
|
|
553
553
|
type: 'object',
|
|
554
|
-
description: ( localize(
|
|
554
|
+
description: ( localize(682, "Options for customizing the keyboard overlay in screencast mode.")),
|
|
555
555
|
properties: {
|
|
556
556
|
'showKeys': {
|
|
557
557
|
type: 'boolean',
|
|
558
558
|
default: true,
|
|
559
|
-
description: ( localize(
|
|
559
|
+
description: ( localize(683, "Show raw keys."))
|
|
560
560
|
},
|
|
561
561
|
'showKeybindings': {
|
|
562
562
|
type: 'boolean',
|
|
563
563
|
default: true,
|
|
564
|
-
description: ( localize(
|
|
564
|
+
description: ( localize(684, "Show keyboard shortcuts."))
|
|
565
565
|
},
|
|
566
566
|
'showCommands': {
|
|
567
567
|
type: 'boolean',
|
|
568
568
|
default: true,
|
|
569
|
-
description: ( localize(
|
|
569
|
+
description: ( localize(685, "Show command names."))
|
|
570
570
|
},
|
|
571
571
|
'showCommandGroups': {
|
|
572
572
|
type: 'boolean',
|
|
573
573
|
default: false,
|
|
574
|
-
description: ( localize(
|
|
574
|
+
description: ( localize(686, "Show command group names, when commands are also shown."))
|
|
575
575
|
},
|
|
576
576
|
'showSingleEditorCursorMoves': {
|
|
577
577
|
type: 'boolean',
|
|
578
578
|
default: true,
|
|
579
|
-
description: ( localize(
|
|
579
|
+
description: ( localize(687, "Show single editor cursor move commands."))
|
|
580
580
|
}
|
|
581
581
|
},
|
|
582
582
|
default: {
|
|
@@ -594,7 +594,7 @@ configurationRegistry.registerConfiguration({
|
|
|
594
594
|
minimum: 500,
|
|
595
595
|
maximum: 5000,
|
|
596
596
|
description: ( localize(
|
|
597
|
-
|
|
597
|
+
688,
|
|
598
598
|
"Controls how long (in milliseconds) the keyboard overlay is shown in screencast mode."
|
|
599
599
|
))
|
|
600
600
|
},
|
|
@@ -603,7 +603,7 @@ configurationRegistry.registerConfiguration({
|
|
|
603
603
|
format: 'color-hex',
|
|
604
604
|
default: '#FF0000',
|
|
605
605
|
description: ( localize(
|
|
606
|
-
|
|
606
|
+
689,
|
|
607
607
|
"Controls the color in hex (#RGB, #RGBA, #RRGGBB or #RRGGBBAA) of the mouse indicator in screencast mode."
|
|
608
608
|
))
|
|
609
609
|
},
|
|
@@ -613,7 +613,7 @@ configurationRegistry.registerConfiguration({
|
|
|
613
613
|
minimum: 20,
|
|
614
614
|
maximum: 100,
|
|
615
615
|
description: ( localize(
|
|
616
|
-
|
|
616
|
+
690,
|
|
617
617
|
"Controls the size (in pixels) of the mouse indicator in screencast mode."
|
|
618
618
|
))
|
|
619
619
|
},
|
|
@@ -24,13 +24,13 @@ let TextInputActionsProvider = class TextInputActionsProvider extends Disposable
|
|
|
24
24
|
createActions() {
|
|
25
25
|
return [
|
|
26
26
|
(
|
|
27
|
-
(new Action('undo', ( localize(
|
|
28
|
-
( (new Action('redo', ( localize(
|
|
27
|
+
(new Action('undo', ( localize(691, "Undo")), undefined, true, async () => getActiveDocument().execCommand('undo')))),
|
|
28
|
+
( (new Action('redo', ( localize(692, "Redo")), undefined, true, async () => getActiveDocument().execCommand('redo')))),
|
|
29
29
|
( (new Separator())),
|
|
30
30
|
(
|
|
31
|
-
(new Action('editor.action.clipboardCutAction', ( localize(
|
|
32
|
-
( (new Action('editor.action.clipboardCopyAction', ( localize(
|
|
33
|
-
( (new Action('editor.action.clipboardPasteAction', ( localize(
|
|
31
|
+
(new Action('editor.action.clipboardCutAction', ( localize(693, "Cut")), undefined, true, async () => getActiveDocument().execCommand('cut')))),
|
|
32
|
+
( (new Action('editor.action.clipboardCopyAction', ( localize(694, "Copy")), undefined, true, async () => getActiveDocument().execCommand('copy')))),
|
|
33
|
+
( (new Action('editor.action.clipboardPasteAction', ( localize(695, "Paste")), undefined, true, async (element) => {
|
|
34
34
|
if (isNative) {
|
|
35
35
|
getActiveDocument().execCommand('paste');
|
|
36
36
|
}
|
|
@@ -49,7 +49,7 @@ let TextInputActionsProvider = class TextInputActionsProvider extends Disposable
|
|
|
49
49
|
}))),
|
|
50
50
|
( (new Separator())),
|
|
51
51
|
(
|
|
52
|
-
(new Action('editor.action.selectAll', ( localize(
|
|
52
|
+
(new Action('editor.action.selectAll', ( localize(696, "Select All")), undefined, true, async () => getActiveDocument().execCommand('selectAll'))))
|
|
53
53
|
];
|
|
54
54
|
}
|
|
55
55
|
registerListeners() {
|
|
@@ -16,13 +16,13 @@ import { IWorkspacesService } from '../../../platform/workspaces/common/workspac
|
|
|
16
16
|
import { KeybindingWeight } from '../../../platform/keybinding/common/keybindingsRegistry.js';
|
|
17
17
|
import { IsMacNativeContext } from '../../../platform/contextkey/common/contextkeys.js';
|
|
18
18
|
import { Categories } from '../../../platform/action/common/actionCommonCategories.js';
|
|
19
|
-
const workspacesCategory = ( localize2(
|
|
19
|
+
const workspacesCategory = ( localize2(5390, 'Workspaces'));
|
|
20
20
|
class OpenFileAction extends Action2 {
|
|
21
21
|
static { this.ID = 'workbench.action.files.openFile'; }
|
|
22
22
|
constructor() {
|
|
23
23
|
super({
|
|
24
24
|
id: OpenFileAction.ID,
|
|
25
|
-
title: ( localize2(
|
|
25
|
+
title: ( localize2(5391, 'Open File...')),
|
|
26
26
|
category: Categories.File,
|
|
27
27
|
f1: true,
|
|
28
28
|
keybinding: {
|
|
@@ -42,7 +42,7 @@ class OpenFolderAction extends Action2 {
|
|
|
42
42
|
constructor() {
|
|
43
43
|
super({
|
|
44
44
|
id: OpenFolderAction.ID,
|
|
45
|
-
title: ( localize2(
|
|
45
|
+
title: ( localize2(5392, 'Open Folder...')),
|
|
46
46
|
category: Categories.File,
|
|
47
47
|
f1: true,
|
|
48
48
|
precondition: OpenFolderWorkspaceSupportContext,
|
|
@@ -68,7 +68,7 @@ class OpenFolderViaWorkspaceAction extends Action2 {
|
|
|
68
68
|
constructor() {
|
|
69
69
|
super({
|
|
70
70
|
id: OpenFolderViaWorkspaceAction.ID,
|
|
71
|
-
title: ( localize2(
|
|
71
|
+
title: ( localize2(5392, 'Open Folder...')),
|
|
72
72
|
category: Categories.File,
|
|
73
73
|
f1: true,
|
|
74
74
|
precondition: ( (ContextKeyExpr.and(
|
|
@@ -88,7 +88,7 @@ class OpenFolderViaWorkspaceAction extends Action2 {
|
|
|
88
88
|
}
|
|
89
89
|
class OpenFileFolderAction extends Action2 {
|
|
90
90
|
static { this.ID = 'workbench.action.files.openFileFolder'; }
|
|
91
|
-
static { this.LABEL = ( localize2(
|
|
91
|
+
static { this.LABEL = ( localize2(5393, 'Open...')); }
|
|
92
92
|
constructor() {
|
|
93
93
|
super({
|
|
94
94
|
id: OpenFileFolderAction.ID,
|
|
@@ -112,7 +112,7 @@ class OpenWorkspaceAction extends Action2 {
|
|
|
112
112
|
constructor() {
|
|
113
113
|
super({
|
|
114
114
|
id: OpenWorkspaceAction.ID,
|
|
115
|
-
title: ( localize2(
|
|
115
|
+
title: ( localize2(5394, 'Open Workspace from File...')),
|
|
116
116
|
category: Categories.File,
|
|
117
117
|
f1: true,
|
|
118
118
|
precondition: EnterMultiRootWorkspaceSupportContext
|
|
@@ -128,7 +128,7 @@ class CloseWorkspaceAction extends Action2 {
|
|
|
128
128
|
constructor() {
|
|
129
129
|
super({
|
|
130
130
|
id: CloseWorkspaceAction.ID,
|
|
131
|
-
title: ( localize2(
|
|
131
|
+
title: ( localize2(5395, 'Close Workspace')),
|
|
132
132
|
category: workspacesCategory,
|
|
133
133
|
f1: true,
|
|
134
134
|
precondition: ( (ContextKeyExpr.and(
|
|
@@ -152,7 +152,7 @@ class OpenWorkspaceConfigFileAction extends Action2 {
|
|
|
152
152
|
constructor() {
|
|
153
153
|
super({
|
|
154
154
|
id: OpenWorkspaceConfigFileAction.ID,
|
|
155
|
-
title: ( localize2(
|
|
155
|
+
title: ( localize2(5396, 'Open Workspace Configuration File')),
|
|
156
156
|
category: workspacesCategory,
|
|
157
157
|
f1: true,
|
|
158
158
|
precondition: ( (WorkbenchStateContext.isEqualTo('workspace')))
|
|
@@ -191,7 +191,7 @@ class RemoveRootFolderAction extends Action2 {
|
|
|
191
191
|
constructor() {
|
|
192
192
|
super({
|
|
193
193
|
id: RemoveRootFolderAction.ID,
|
|
194
|
-
title: ( localize2(
|
|
194
|
+
title: ( localize2(5397, 'Remove Folder from Workspace...')),
|
|
195
195
|
category: workspacesCategory,
|
|
196
196
|
f1: true,
|
|
197
197
|
precondition: ( (ContextKeyExpr.and(
|
|
@@ -217,7 +217,7 @@ class SaveWorkspaceAsAction extends Action2 {
|
|
|
217
217
|
constructor() {
|
|
218
218
|
super({
|
|
219
219
|
id: SaveWorkspaceAsAction.ID,
|
|
220
|
-
title: ( localize2(
|
|
220
|
+
title: ( localize2(5398, 'Save Workspace As...')),
|
|
221
221
|
category: workspacesCategory,
|
|
222
222
|
f1: true,
|
|
223
223
|
precondition: EnterMultiRootWorkspaceSupportContext
|
|
@@ -245,7 +245,7 @@ class DuplicateWorkspaceInNewWindowAction extends Action2 {
|
|
|
245
245
|
constructor() {
|
|
246
246
|
super({
|
|
247
247
|
id: DuplicateWorkspaceInNewWindowAction.ID,
|
|
248
|
-
title: ( localize2(
|
|
248
|
+
title: ( localize2(5399, 'Duplicate As Workspace in New Window')),
|
|
249
249
|
category: workspacesCategory,
|
|
250
250
|
f1: true,
|
|
251
251
|
precondition: EnterMultiRootWorkspaceSupportContext
|
|
@@ -279,7 +279,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarFileMenu, {
|
|
|
279
279
|
group: '2_open',
|
|
280
280
|
command: {
|
|
281
281
|
id: OpenFileAction.ID,
|
|
282
|
-
title: ( localize(
|
|
282
|
+
title: ( localize(5400, "&&Open File..."))
|
|
283
283
|
},
|
|
284
284
|
order: 1,
|
|
285
285
|
when: ( (IsMacNativeContext.toNegated()))
|
|
@@ -288,7 +288,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarFileMenu, {
|
|
|
288
288
|
group: '2_open',
|
|
289
289
|
command: {
|
|
290
290
|
id: OpenFolderAction.ID,
|
|
291
|
-
title: ( localize(
|
|
291
|
+
title: ( localize(5401, "Open &&Folder..."))
|
|
292
292
|
},
|
|
293
293
|
order: 2,
|
|
294
294
|
when: OpenFolderWorkspaceSupportContext
|
|
@@ -297,7 +297,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarFileMenu, {
|
|
|
297
297
|
group: '2_open',
|
|
298
298
|
command: {
|
|
299
299
|
id: OpenFolderViaWorkspaceAction.ID,
|
|
300
|
-
title: ( localize(
|
|
300
|
+
title: ( localize(5401, "Open &&Folder..."))
|
|
301
301
|
},
|
|
302
302
|
order: 2,
|
|
303
303
|
when: ( (ContextKeyExpr.and(
|
|
@@ -309,7 +309,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarFileMenu, {
|
|
|
309
309
|
group: '2_open',
|
|
310
310
|
command: {
|
|
311
311
|
id: OpenFileFolderAction.ID,
|
|
312
|
-
title: ( localize(
|
|
312
|
+
title: ( localize(5402, "&&Open..."))
|
|
313
313
|
},
|
|
314
314
|
order: 1,
|
|
315
315
|
when: ( (ContextKeyExpr.and(IsMacNativeContext, OpenFolderWorkspaceSupportContext)))
|
|
@@ -318,7 +318,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarFileMenu, {
|
|
|
318
318
|
group: '2_open',
|
|
319
319
|
command: {
|
|
320
320
|
id: OpenWorkspaceAction.ID,
|
|
321
|
-
title: ( localize(
|
|
321
|
+
title: ( localize(5403, "Open Wor&&kspace from File..."))
|
|
322
322
|
},
|
|
323
323
|
order: 3,
|
|
324
324
|
when: EnterMultiRootWorkspaceSupportContext
|
|
@@ -327,7 +327,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarFileMenu, {
|
|
|
327
327
|
group: '3_workspace',
|
|
328
328
|
command: {
|
|
329
329
|
id: ADD_ROOT_FOLDER_COMMAND_ID,
|
|
330
|
-
title: ( localize(
|
|
330
|
+
title: ( localize(5404, "A&&dd Folder to Workspace..."))
|
|
331
331
|
},
|
|
332
332
|
when: ( (ContextKeyExpr.or(
|
|
333
333
|
EnterMultiRootWorkspaceSupportContext,
|
|
@@ -339,7 +339,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarFileMenu, {
|
|
|
339
339
|
group: '3_workspace',
|
|
340
340
|
command: {
|
|
341
341
|
id: SaveWorkspaceAsAction.ID,
|
|
342
|
-
title: ( localize(
|
|
342
|
+
title: ( localize(5405, "Save Workspace As..."))
|
|
343
343
|
},
|
|
344
344
|
order: 2,
|
|
345
345
|
when: EnterMultiRootWorkspaceSupportContext
|
|
@@ -348,7 +348,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarFileMenu, {
|
|
|
348
348
|
group: '3_workspace',
|
|
349
349
|
command: {
|
|
350
350
|
id: DuplicateWorkspaceInNewWindowAction.ID,
|
|
351
|
-
title: ( localize(
|
|
351
|
+
title: ( localize(5406, "Duplicate Workspace"))
|
|
352
352
|
},
|
|
353
353
|
order: 3,
|
|
354
354
|
when: EnterMultiRootWorkspaceSupportContext
|
|
@@ -357,7 +357,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarFileMenu, {
|
|
|
357
357
|
group: '6_close',
|
|
358
358
|
command: {
|
|
359
359
|
id: CloseWorkspaceAction.ID,
|
|
360
|
-
title: ( localize(
|
|
360
|
+
title: ( localize(5407, "Close &&Folder"))
|
|
361
361
|
},
|
|
362
362
|
order: 3,
|
|
363
363
|
when: ( (ContextKeyExpr.and(
|
|
@@ -369,7 +369,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarFileMenu, {
|
|
|
369
369
|
group: '6_close',
|
|
370
370
|
command: {
|
|
371
371
|
id: CloseWorkspaceAction.ID,
|
|
372
|
-
title: ( localize(
|
|
372
|
+
title: ( localize(5408, "Close &&Workspace"))
|
|
373
373
|
},
|
|
374
374
|
order: 3,
|
|
375
375
|
when: ( (ContextKeyExpr.and(
|
|
@@ -20,7 +20,7 @@ let BinaryResourceDiffEditor = class BinaryResourceDiffEditor extends SideBySide
|
|
|
20
20
|
const primary = this.getPrimaryEditorPane();
|
|
21
21
|
const secondary = this.getSecondaryEditorPane();
|
|
22
22
|
if (primary instanceof BaseBinaryResourceEditor && secondary instanceof BaseBinaryResourceEditor) {
|
|
23
|
-
return ( localize(
|
|
23
|
+
return ( localize(9540, "{0} ↔ {1}", secondary.getMetadata(), primary.getMetadata()));
|
|
24
24
|
}
|
|
25
25
|
return undefined;
|
|
26
26
|
}
|