@codingame/monaco-vscode-api 8.0.1 → 8.0.2
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/base/browser/ui/hover/hoverWidget.js +2 -2
- package/vscode/src/vs/base/browser/ui/tree/treeDefaults.js +1 -1
- package/vscode/src/vs/editor/browser/coreCommands.js +3 -3
- package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorWidget.js +2 -2
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditor.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/viewLayout/viewLineRenderer.js +2 -2
- package/vscode/src/vs/editor/contrib/anchorSelect/browser/anchorSelect.js +6 -6
- package/vscode/src/vs/editor/contrib/bracketMatching/browser/bracketMatching.js +6 -6
- package/vscode/src/vs/editor/contrib/caretOperations/browser/caretOperations.js +2 -2
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionContributions.js +3 -3
- package/vscode/src/vs/editor/contrib/codelens/browser/codelensController.js +2 -2
- package/vscode/src/vs/editor/contrib/editorState/browser/keybindingCancellation.js +1 -1
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.js +3 -3
- package/vscode/src/vs/platform/actions/common/menuResetAction.js +1 -1
- package/vscode/src/vs/platform/dialogs/common/dialogs.js +9 -9
- package/vscode/src/vs/platform/markers/common/markers.js +3 -3
- package/vscode/src/vs/platform/theme/common/colors/minimapColors.js +11 -11
- package/vscode/src/vs/platform/theme/common/colors/miscColors.js +8 -8
- 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/platform/userDataSync/common/userDataSync.js +5 -5
- package/vscode/src/vs/workbench/api/common/extHostLogService.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/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/editorTabsControl.js +2 -2
- 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/globalCompositeBar.js +15 -15
- package/vscode/src/vs/workbench/browser/parts/titlebar/menubarControl.js +18 -18
- package/vscode/src/vs/workbench/browser/parts/views/checkbox.js +1 -1
- 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/common/editor/diffEditorInput.js +1 -1
- package/vscode/src/vs/workbench/common/editor/textEditorModel.js +1 -1
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +127 -127
- package/vscode/src/vs/workbench/contrib/chat/browser/chatAccessibilityProvider.js +9 -9
- package/vscode/src/vs/workbench/contrib/chat/browser/chatInputPart.js +8 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/chatListRenderer.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.js +14 -14
- 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/codeEditor/browser/diffEditorHelper.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/largeFileOptimizations.js +3 -3
- 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/comments/browser/commentReply.js +4 -4
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsController.js +5 -5
- package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditorInput.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointEditorContribution.js +29 -29
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointsView.js +65 -65
- 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/debugCommands.js +34 -34
- package/vscode/src/vs/workbench/contrib/debug/browser/debugIcons.js +57 -57
- 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/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/inlayHints/browser/inlayHintsAccessibilty.js +4 -4
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInput.js +1 -1
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffEditorInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/scmMultiDiffSourceResolver.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/executionStatusBarItemController.js +6 -6
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindWidget.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOutputActions.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/coreActions.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/foldingController.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditor.js +8 -8
- 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/snippets/browser/commands/abstractSnippetsActions.js +1 -1
- package/vscode/src/vs/workbench/contrib/snippets/browser/commands/fileTemplateSnippets.js +2 -2
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCompletionProvider.js +3 -3
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsFile.js +3 -3
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsService.js +9 -9
- package/vscode/src/vs/workbench/contrib/speech/common/speechService.js +29 -29
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalEditorInput.js +4 -4
- package/vscode/src/vs/workbench/contrib/terminal/common/terminal.js +7 -7
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalContextKey.js +16 -16
- 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/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/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/iconExtensionPoint.js +13 -13
- package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +11 -11
- package/vscode/src/vs/workbench/services/views/browser/viewsService.js +7 -7
|
@@ -47,7 +47,7 @@ var GlobalCompositeBar_1;
|
|
|
47
47
|
let GlobalCompositeBar = class GlobalCompositeBar extends Disposable {
|
|
48
48
|
static { GlobalCompositeBar_1 = this; }
|
|
49
49
|
static { this.ACCOUNTS_ACTION_INDEX = 0; }
|
|
50
|
-
static { this.ACCOUNTS_ICON = registerIcon('accounts-view-bar-icon', Codicon.account, ( localize(
|
|
50
|
+
static { this.ACCOUNTS_ICON = registerIcon('accounts-view-bar-icon', Codicon.account, ( localize(6975, "Accounts icon in the view bar."))); }
|
|
51
51
|
constructor(contextMenuActionsProvider, colors, activityHoverOptions, configurationService, instantiationService, storageService, extensionService) {
|
|
52
52
|
super();
|
|
53
53
|
this.contextMenuActionsProvider = contextMenuActionsProvider;
|
|
@@ -75,7 +75,7 @@ let GlobalCompositeBar = class GlobalCompositeBar extends Disposable {
|
|
|
75
75
|
hoverOptions: this.activityHoverOptions
|
|
76
76
|
}, contextMenuAlignmentOptions, (actions) => {
|
|
77
77
|
actions.unshift(...[
|
|
78
|
-
toAction({ id: 'hideAccounts', label: ( localize(
|
|
78
|
+
toAction({ id: 'hideAccounts', label: ( localize(6976, "Hide Accounts")), run: () => setAccountsActionVisible(storageService, false) }),
|
|
79
79
|
( (new Separator()))
|
|
80
80
|
]);
|
|
81
81
|
});
|
|
@@ -83,7 +83,7 @@ let GlobalCompositeBar = class GlobalCompositeBar extends Disposable {
|
|
|
83
83
|
throw ( (new Error(`No view item for action '${action.id}'`)));
|
|
84
84
|
},
|
|
85
85
|
orientation: ActionsOrientation.VERTICAL,
|
|
86
|
-
ariaLabel: ( localize(
|
|
86
|
+
ariaLabel: ( localize(6977, "Manage")),
|
|
87
87
|
preventLoopNavigation: true
|
|
88
88
|
}))));
|
|
89
89
|
if (this.accountsVisibilityPreference) {
|
|
@@ -109,7 +109,7 @@ let GlobalCompositeBar = class GlobalCompositeBar extends Disposable {
|
|
|
109
109
|
return this.globalActivityActionBar.viewItems.length;
|
|
110
110
|
}
|
|
111
111
|
getContextMenuActions() {
|
|
112
|
-
return [toAction({ id: 'toggleAccountsVisibility', label: ( localize(
|
|
112
|
+
return [toAction({ id: 'toggleAccountsVisibility', label: ( localize(6978, "Accounts")), checked: this.accountsVisibilityPreference, run: () => this.accountsVisibilityPreference = !this.accountsVisibilityPreference })];
|
|
113
113
|
}
|
|
114
114
|
toggleAccountsActivity() {
|
|
115
115
|
if (this.globalActivityActionBar.length() === 2 && this.accountsVisibilityPreference) {
|
|
@@ -250,7 +250,7 @@ let AccountsActivityActionViewItem = class AccountsActivityActionViewItem extend
|
|
|
250
250
|
constructor(contextMenuActionsProvider, options, contextMenuAlignmentOptions, fillContextMenuActions, themeService, lifecycleService, hoverService, contextMenuService, menuService, contextKeyService, authenticationService, environmentService, productService, configurationService, keybindingService, secretStorageService, logService, activityService, instantiationService, commandService) {
|
|
251
251
|
const action = instantiationService.createInstance(CompositeBarAction, {
|
|
252
252
|
id: ACCOUNTS_ACTIVITY_ID,
|
|
253
|
-
name: ( localize(
|
|
253
|
+
name: ( localize(6978, "Accounts")),
|
|
254
254
|
classNames: ThemeIcon.asClassNameArray(GlobalCompositeBar.ACCOUNTS_ICON)
|
|
255
255
|
});
|
|
256
256
|
super(MenuId.AccountsContext, action, options, contextMenuActionsProvider, contextMenuAlignmentOptions, themeService, hoverService, menuService, contextMenuService, contextKeyService, configurationService, keybindingService, activityService);
|
|
@@ -322,7 +322,7 @@ let AccountsActivityActionViewItem = class AccountsActivityActionViewItem extend
|
|
|
322
322
|
let menus = [];
|
|
323
323
|
for (const providerId of providers) {
|
|
324
324
|
if (!this.initialized) {
|
|
325
|
-
const noAccountsAvailableAction = disposables.add(( (new Action('noAccountsAvailable', ( localize(
|
|
325
|
+
const noAccountsAvailableAction = disposables.add(( (new Action('noAccountsAvailable', ( localize(6979, "Loading...")), undefined, false))));
|
|
326
326
|
menus.push(noAccountsAvailableAction);
|
|
327
327
|
break;
|
|
328
328
|
}
|
|
@@ -330,7 +330,7 @@ let AccountsActivityActionViewItem = class AccountsActivityActionViewItem extend
|
|
|
330
330
|
const accounts = this.groupedAccounts.get(providerId);
|
|
331
331
|
if (!accounts) {
|
|
332
332
|
if (( (this.problematicProviders.has(providerId)))) {
|
|
333
|
-
const providerUnavailableAction = disposables.add(( (new Action('providerUnavailable', ( localize(
|
|
333
|
+
const providerUnavailableAction = disposables.add(( (new Action('providerUnavailable', ( localize(6980, '{0} is currently unavailable', providerLabel)), undefined, false))));
|
|
334
334
|
menus.push(providerUnavailableAction);
|
|
335
335
|
try {
|
|
336
336
|
await this.addAccountsFromProvider(providerId);
|
|
@@ -344,7 +344,7 @@ let AccountsActivityActionViewItem = class AccountsActivityActionViewItem extend
|
|
|
344
344
|
for (const account of accounts) {
|
|
345
345
|
const manageExtensionsAction = toAction({
|
|
346
346
|
id: `configureSessions${account.label}`,
|
|
347
|
-
label: ( localize(
|
|
347
|
+
label: ( localize(6981, "Manage Trusted Extensions")),
|
|
348
348
|
enabled: true,
|
|
349
349
|
run: () => this.commandService.executeCommand('_manageTrustedExtensionsForAccount', { providerId, accountLabel: account.label })
|
|
350
350
|
});
|
|
@@ -352,7 +352,7 @@ let AccountsActivityActionViewItem = class AccountsActivityActionViewItem extend
|
|
|
352
352
|
if (account.canSignOut) {
|
|
353
353
|
providerSubMenuActions.push(toAction({
|
|
354
354
|
id: 'signOut',
|
|
355
|
-
label: ( localize(
|
|
355
|
+
label: ( localize(6982, "Sign Out")),
|
|
356
356
|
enabled: true,
|
|
357
357
|
run: () => this.commandService.executeCommand('_signOutOfAccount', { providerId, accountLabel: account.label })
|
|
358
358
|
}));
|
|
@@ -366,7 +366,7 @@ let AccountsActivityActionViewItem = class AccountsActivityActionViewItem extend
|
|
|
366
366
|
}
|
|
367
367
|
}
|
|
368
368
|
if (providers.length && !menus.length) {
|
|
369
|
-
const noAccountsAvailableAction = disposables.add(( (new Action('noAccountsAvailable', ( localize(
|
|
369
|
+
const noAccountsAvailableAction = disposables.add(( (new Action('noAccountsAvailable', ( localize(6983, "You are not signed in to any accounts")), undefined, false))));
|
|
370
370
|
menus.push(noAccountsAvailableAction);
|
|
371
371
|
}
|
|
372
372
|
if (menus.length && otherCommands.length) {
|
|
@@ -466,7 +466,7 @@ let GlobalActivityActionViewItem = class GlobalActivityActionViewItem extends Ab
|
|
|
466
466
|
constructor(contextMenuActionsProvider, options, contextMenuAlignmentOptions, userDataProfileService, themeService, hoverService, menuService, contextMenuService, contextKeyService, configurationService, environmentService, keybindingService, instantiationService, activityService) {
|
|
467
467
|
const action = instantiationService.createInstance(CompositeBarAction, {
|
|
468
468
|
id: GLOBAL_ACTIVITY_ID,
|
|
469
|
-
name: ( localize(
|
|
469
|
+
name: ( localize(6977, "Manage")),
|
|
470
470
|
classNames: ThemeIcon.asClassNameArray(userDataProfileService.currentProfile.icon ? ThemeIcon.fromId(userDataProfileService.currentProfile.icon) : DEFAULT_ICON)
|
|
471
471
|
});
|
|
472
472
|
super(MenuId.GlobalActivity, action, options, contextMenuActionsProvider, contextMenuAlignmentOptions, themeService, hoverService, menuService, contextMenuService, contextKeyService, configurationService, keybindingService, activityService);
|
|
@@ -511,7 +511,7 @@ let GlobalActivityActionViewItem = class GlobalActivityActionViewItem extends Ab
|
|
|
511
511
|
}
|
|
512
512
|
computeTitle() {
|
|
513
513
|
return this.userDataProfileService.currentProfile.isDefault ? super.computeTitle() : ( localize(
|
|
514
|
-
|
|
514
|
+
6984,
|
|
515
515
|
"Manage {0} (Profile)",
|
|
516
516
|
this.userDataProfileService.currentProfile.name
|
|
517
517
|
));
|
|
@@ -592,12 +592,12 @@ SimpleGlobalActivityActionViewItem = ( (__decorate([
|
|
|
592
592
|
function simpleActivityContextMenuActions(storageService, isAccount) {
|
|
593
593
|
const currentElementContextMenuActions = [];
|
|
594
594
|
if (isAccount) {
|
|
595
|
-
currentElementContextMenuActions.push(toAction({ id: 'hideAccounts', label: ( localize(
|
|
595
|
+
currentElementContextMenuActions.push(toAction({ id: 'hideAccounts', label: ( localize(6976, "Hide Accounts")), run: () => setAccountsActionVisible(storageService, false) }), ( (new Separator())));
|
|
596
596
|
}
|
|
597
597
|
return [
|
|
598
598
|
...currentElementContextMenuActions,
|
|
599
|
-
toAction({ id: 'toggle.hideAccounts', label: ( localize(
|
|
600
|
-
toAction({ id: 'toggle.hideManage', label: ( localize(
|
|
599
|
+
toAction({ id: 'toggle.hideAccounts', label: ( localize(6978, "Accounts")), checked: isAccountsActionVisible(storageService), run: () => setAccountsActionVisible(storageService, !isAccountsActionVisible(storageService)) }),
|
|
600
|
+
toAction({ id: 'toggle.hideManage', label: ( localize(6977, "Manage")), checked: true, enabled: false, run: () => { throw ( (new Error('"Manage" can not be hidden'))); } })
|
|
601
601
|
];
|
|
602
602
|
}
|
|
603
603
|
function isAccountsActionVisible(storageService) {
|
|
@@ -49,7 +49,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarMainMenu, {
|
|
|
49
49
|
title: {
|
|
50
50
|
value: 'File',
|
|
51
51
|
original: 'File',
|
|
52
|
-
mnemonicTitle: ( localize(
|
|
52
|
+
mnemonicTitle: ( localize(6951, "&&File")),
|
|
53
53
|
},
|
|
54
54
|
order: 1
|
|
55
55
|
});
|
|
@@ -58,7 +58,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarMainMenu, {
|
|
|
58
58
|
title: {
|
|
59
59
|
value: 'Edit',
|
|
60
60
|
original: 'Edit',
|
|
61
|
-
mnemonicTitle: ( localize(
|
|
61
|
+
mnemonicTitle: ( localize(6952, "&&Edit"))
|
|
62
62
|
},
|
|
63
63
|
order: 2
|
|
64
64
|
});
|
|
@@ -67,7 +67,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarMainMenu, {
|
|
|
67
67
|
title: {
|
|
68
68
|
value: 'Selection',
|
|
69
69
|
original: 'Selection',
|
|
70
|
-
mnemonicTitle: ( localize(
|
|
70
|
+
mnemonicTitle: ( localize(6953, "&&Selection"))
|
|
71
71
|
},
|
|
72
72
|
order: 3
|
|
73
73
|
});
|
|
@@ -76,7 +76,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarMainMenu, {
|
|
|
76
76
|
title: {
|
|
77
77
|
value: 'View',
|
|
78
78
|
original: 'View',
|
|
79
|
-
mnemonicTitle: ( localize(
|
|
79
|
+
mnemonicTitle: ( localize(6954, "&&View"))
|
|
80
80
|
},
|
|
81
81
|
order: 4
|
|
82
82
|
});
|
|
@@ -85,7 +85,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarMainMenu, {
|
|
|
85
85
|
title: {
|
|
86
86
|
value: 'Go',
|
|
87
87
|
original: 'Go',
|
|
88
|
-
mnemonicTitle: ( localize(
|
|
88
|
+
mnemonicTitle: ( localize(6955, "&&Go"))
|
|
89
89
|
},
|
|
90
90
|
order: 5
|
|
91
91
|
});
|
|
@@ -94,7 +94,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarMainMenu, {
|
|
|
94
94
|
title: {
|
|
95
95
|
value: 'Terminal',
|
|
96
96
|
original: 'Terminal',
|
|
97
|
-
mnemonicTitle: ( localize(
|
|
97
|
+
mnemonicTitle: ( localize(6956, "&&Terminal"))
|
|
98
98
|
},
|
|
99
99
|
order: 7
|
|
100
100
|
});
|
|
@@ -103,7 +103,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarMainMenu, {
|
|
|
103
103
|
title: {
|
|
104
104
|
value: 'Help',
|
|
105
105
|
original: 'Help',
|
|
106
|
-
mnemonicTitle: ( localize(
|
|
106
|
+
mnemonicTitle: ( localize(6957, "&&Help"))
|
|
107
107
|
},
|
|
108
108
|
order: 8
|
|
109
109
|
});
|
|
@@ -112,7 +112,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarMainMenu, {
|
|
|
112
112
|
title: {
|
|
113
113
|
value: 'Preferences',
|
|
114
114
|
original: 'Preferences',
|
|
115
|
-
mnemonicTitle: ( localize(
|
|
115
|
+
mnemonicTitle: ( localize(6958, "Preferences"))
|
|
116
116
|
},
|
|
117
117
|
when: IsMacNativeContext,
|
|
118
118
|
order: 9
|
|
@@ -277,12 +277,12 @@ class MenubarControl extends Disposable {
|
|
|
277
277
|
return;
|
|
278
278
|
}
|
|
279
279
|
const message = ( localize(
|
|
280
|
-
|
|
280
|
+
6959,
|
|
281
281
|
"Accessibility support is enabled for you. For the most accessible experience, we recommend the custom title bar style."
|
|
282
282
|
));
|
|
283
283
|
this.notificationService.prompt(Severity$1.Info, message, [
|
|
284
284
|
{
|
|
285
|
-
label: ( localize(
|
|
285
|
+
label: ( localize(6960, "Open Settings")),
|
|
286
286
|
run: () => {
|
|
287
287
|
return this.preferencesService.openUserSettings({ query: TitleBarSetting.TITLE_BAR_STYLE });
|
|
288
288
|
}
|
|
@@ -328,7 +328,7 @@ let CustomMenubarControl = class CustomMenubarControl extends MenubarControl {
|
|
|
328
328
|
constructor() {
|
|
329
329
|
super({
|
|
330
330
|
id: `workbench.actions.menubar.focus`,
|
|
331
|
-
title: ( localize2(
|
|
331
|
+
title: ( localize2(6961, 'Focus Application Menu')),
|
|
332
332
|
keybinding: {
|
|
333
333
|
primary: KeyMod$1.Alt | KeyCode.F10,
|
|
334
334
|
weight: KeybindingWeight.WorkbenchContrib,
|
|
@@ -348,29 +348,29 @@ let CustomMenubarControl = class CustomMenubarControl extends MenubarControl {
|
|
|
348
348
|
switch (state.type) {
|
|
349
349
|
case StateType.Idle:
|
|
350
350
|
return (
|
|
351
|
-
(new Action('update.check', ( localize(
|
|
351
|
+
(new Action('update.check', ( localize(6962, "Check for &&Updates...")), undefined, true, () => this.updateService.checkForUpdates(true)))
|
|
352
352
|
);
|
|
353
353
|
case StateType.CheckingForUpdates:
|
|
354
354
|
return (
|
|
355
|
-
(new Action('update.checking', ( localize(
|
|
355
|
+
(new Action('update.checking', ( localize(6963, "Checking for Updates...")), undefined, false))
|
|
356
356
|
);
|
|
357
357
|
case StateType.AvailableForDownload:
|
|
358
358
|
return (
|
|
359
|
-
(new Action('update.downloadNow', ( localize(
|
|
359
|
+
(new Action('update.downloadNow', ( localize(6964, "D&&ownload Update")), undefined, true, () => this.updateService.downloadUpdate()))
|
|
360
360
|
);
|
|
361
361
|
case StateType.Downloading:
|
|
362
362
|
return (
|
|
363
|
-
(new Action('update.downloading', ( localize(
|
|
363
|
+
(new Action('update.downloading', ( localize(6965, "Downloading Update...")), undefined, false))
|
|
364
364
|
);
|
|
365
365
|
case StateType.Downloaded:
|
|
366
|
-
return isMacintosh ? null : ( (new Action('update.install', ( localize(
|
|
366
|
+
return isMacintosh ? null : ( (new Action('update.install', ( localize(6966, "Install &&Update...")), undefined, true, () => this.updateService.applyUpdate())));
|
|
367
367
|
case StateType.Updating:
|
|
368
368
|
return (
|
|
369
|
-
(new Action('update.updating', ( localize(
|
|
369
|
+
(new Action('update.updating', ( localize(6967, "Installing Update...")), undefined, false))
|
|
370
370
|
);
|
|
371
371
|
case StateType.Ready:
|
|
372
372
|
return (
|
|
373
|
-
(new Action('update.restart', ( localize(
|
|
373
|
+
(new Action('update.restart', ( localize(6968, "Restart to &&Update")), undefined, true, () => this.updateService.quitAndInstall()))
|
|
374
374
|
);
|
|
375
375
|
default:
|
|
376
376
|
return null;
|
|
@@ -84,7 +84,7 @@ class TreeItemCheckbox extends Disposable {
|
|
|
84
84
|
}
|
|
85
85
|
checkboxHoverContent(checkbox) {
|
|
86
86
|
return checkbox.tooltip ? checkbox.tooltip :
|
|
87
|
-
checkbox.isChecked ? ( localize(
|
|
87
|
+
checkbox.isChecked ? ( localize(10914, 'Checked')) : ( localize(10915, 'Unchecked'));
|
|
88
88
|
}
|
|
89
89
|
setAccessibilityInformation(checkbox) {
|
|
90
90
|
if (this.toggle && checkbox.accessibilityInformation) {
|
|
@@ -33,7 +33,7 @@ const viewFilterMenu = ( (new MenuId('menu.view.filter')));
|
|
|
33
33
|
const viewFilterSubmenu = ( (new MenuId('submenu.view.filter')));
|
|
34
34
|
MenuRegistry.appendMenuItem(viewFilterMenu, {
|
|
35
35
|
submenu: viewFilterSubmenu,
|
|
36
|
-
title: ( localize(
|
|
36
|
+
title: ( localize(5623, "More Filters...")),
|
|
37
37
|
group: 'navigation',
|
|
38
38
|
icon: Codicon.filter,
|
|
39
39
|
});
|
|
@@ -63,8 +63,8 @@ var ViewPaneShowActions;
|
|
|
63
63
|
ViewPaneShowActions[ViewPaneShowActions["Always"] = 2] = "Always";
|
|
64
64
|
})(ViewPaneShowActions || (ViewPaneShowActions = {}))));
|
|
65
65
|
const VIEWPANE_FILTER_ACTION = ( (new Action('viewpane.action.filter')));
|
|
66
|
-
const viewPaneContainerExpandedIcon = registerIcon('view-pane-container-expanded', Codicon.chevronDown, ( localize(
|
|
67
|
-
const viewPaneContainerCollapsedIcon = registerIcon('view-pane-container-collapsed', Codicon.chevronRight, ( localize(
|
|
66
|
+
const viewPaneContainerExpandedIcon = registerIcon('view-pane-container-expanded', Codicon.chevronDown, ( localize(5342, 'Icon for an expanded view pane container.')));
|
|
67
|
+
const viewPaneContainerCollapsedIcon = registerIcon('view-pane-container-collapsed', Codicon.chevronRight, ( localize(5343, 'Icon for a collapsed view pane container.')));
|
|
68
68
|
const viewsRegistry = ( (Registry.as(Extensions.ViewsRegistry)));
|
|
69
69
|
let ViewWelcomeController = class ViewWelcomeController {
|
|
70
70
|
get enabled() { return this._enabled; }
|
|
@@ -334,7 +334,7 @@ let ViewPane = class ViewPane extends Pane {
|
|
|
334
334
|
this.toolbar = this.instantiationService.createInstance(WorkbenchToolBar, actions, {
|
|
335
335
|
orientation: ActionsOrientation.HORIZONTAL,
|
|
336
336
|
actionViewItemProvider: (action, options) => this.getActionViewItem(action, options),
|
|
337
|
-
ariaLabel: ( localize(
|
|
337
|
+
ariaLabel: ( localize(5344, "{0} actions", this.title)),
|
|
338
338
|
getKeyBinding: action => this.keybindingService.lookupKeybinding(action.id),
|
|
339
339
|
renderDropdownAsChildElement: true,
|
|
340
340
|
actionRunner: this.getActionRunner(),
|
|
@@ -420,7 +420,7 @@ let ViewPane = class ViewPane extends Pane {
|
|
|
420
420
|
if (!viewHasAccessibilityHelpContent || accessibleViewHasShownForView) {
|
|
421
421
|
return title;
|
|
422
422
|
}
|
|
423
|
-
return ( localize(
|
|
423
|
+
return ( localize(5345, 'Use Alt+F1 for accessibility help {0}', title));
|
|
424
424
|
}
|
|
425
425
|
updateTitle(title) {
|
|
426
426
|
const calculatedTitle = this.calculateTitle(title);
|
|
@@ -42,7 +42,7 @@ let DiffEditorInput = class DiffEditorInput extends SideBySideEditorInput {
|
|
|
42
42
|
else {
|
|
43
43
|
const originalName = this.original.getName();
|
|
44
44
|
const modifiedName = this.modified.getName();
|
|
45
|
-
name = ( localize(
|
|
45
|
+
name = ( localize(8674, "{0} ↔ {1}", originalName, modifiedName));
|
|
46
46
|
forceDescription = originalName === modifiedName;
|
|
47
47
|
}
|
|
48
48
|
let shortDescription;
|
|
@@ -92,7 +92,7 @@ let BaseTextEditorModel = class BaseTextEditorModel extends EditorModel {
|
|
|
92
92
|
this.setLanguageIdInternal(lang, LanguageDetectionLanguageEventSource);
|
|
93
93
|
const languageName = this.languageService.getLanguageName(lang);
|
|
94
94
|
this.accessibilityService.alert(( localize(
|
|
95
|
-
|
|
95
|
+
9798,
|
|
96
96
|
"Language {0} was automatically detected and set as the language mode.",
|
|
97
97
|
languageName ?? lang
|
|
98
98
|
)));
|