@codingame/monaco-vscode-api 10.0.1 → 10.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/missing-services.js +2 -2
- package/package.json +8 -8
- package/services.js +2 -2
- package/vscode/src/vs/base/browser/ui/button/button.js +1 -1
- 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/browser/ui/findinput/findInput.js +1 -1
- package/vscode/src/vs/base/browser/ui/findinput/findInputToggles.js +3 -3
- package/vscode/src/vs/base/browser/ui/hover/hoverWidget.js +2 -2
- package/vscode/src/vs/base/browser/ui/inputbox/inputBox.js +6 -6
- package/vscode/src/vs/base/browser/ui/keybindingLabel/keybindingLabel.js +1 -1
- package/vscode/src/vs/base/browser/ui/toolbar/toolbar.js +1 -1
- package/vscode/src/vs/base/common/jsonErrorMessages.js +9 -9
- package/vscode/src/vs/editor/browser/controller/editContext/textArea/textAreaEditContext.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/components/diffEditorViewZones/inlineDiffDeletedCodeMargin.js +7 -7
- 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 +2 -2
- package/vscode/src/vs/editor/common/core/editorColorRegistry.js +71 -71
- package/vscode/src/vs/editor/common/model/editStack.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/caretOperations/browser/transpose.js +1 -1
- package/vscode/src/vs/editor/contrib/clipboard/browser/clipboard.js +17 -17
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionContributions.js +3 -3
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionMenu.js +8 -8
- package/vscode/src/vs/editor/contrib/codelens/browser/codelensController.js +2 -2
- package/vscode/src/vs/editor/contrib/comment/browser/comment.js +6 -6
- 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/dropOrPasteInto/browser/copyPasteContribution.js +3 -3
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorContribution.js +1 -1
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/postEditWidget.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/format/browser/formatActions.js +2 -2
- package/vscode/src/vs/editor/contrib/gotoError/browser/gotoError.js +8 -8
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/goToCommands.js +39 -39
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition.js +1 -1
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.js +3 -3
- package/vscode/src/vs/editor/contrib/gpu/browser/gpuActions.js +4 -4
- package/vscode/src/vs/editor/contrib/hover/browser/hoverActionIds.js +2 -2
- package/vscode/src/vs/editor/contrib/hover/browser/hoverActions.js +23 -23
- package/vscode/src/vs/editor/contrib/hover/browser/markdownHoverParticipant.js +9 -9
- package/vscode/src/vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace.js +2 -2
- package/vscode/src/vs/editor/contrib/indentation/browser/indentation.js +20 -20
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionContextKeys.js +8 -8
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.js +5 -5
- 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/linkedEditing/browser/linkedEditing.js +2 -2
- package/vscode/src/vs/editor/contrib/links/browser/links.js +10 -10
- 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/placeholderText/browser/placeholderText.contribution.js +1 -1
- package/vscode/src/vs/editor/contrib/readOnlyMessage/browser/contribution.js +2 -2
- package/vscode/src/vs/editor/contrib/rename/browser/rename.js +11 -11
- package/vscode/src/vs/editor/contrib/smartSelect/browser/smartSelect.js +4 -4
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetController2.js +4 -4
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetVariables.js +4 -4
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestController.js +10 -10
- 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/symbolIcons/browser/symbolIcons.js +33 -33
- 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/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js +24 -24
- package/vscode/src/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.js +5 -5
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.js +45 -26
- package/vscode/src/vs/editor/contrib/wordOperations/browser/wordOperations.js +1 -1
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.js +7 -7
- package/vscode/src/vs/platform/dialogs/common/dialogs.js +9 -9
- package/vscode/src/vs/platform/dnd/browser/dnd.js +1 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionNls.js +1 -1
- package/vscode/src/vs/platform/extensions/common/extensionValidator.js +20 -20
- package/vscode/src/vs/platform/files/browser/htmlFileSystemProvider.js +2 -2
- package/vscode/src/vs/platform/history/browser/contextScopedHistoryWidget.js +1 -1
- package/vscode/src/vs/platform/quickinput/browser/quickInputActions.js +3 -3
- package/vscode/src/vs/platform/quickinput/browser/quickInputTree.js +1 -1
- package/vscode/src/vs/platform/quickinput/browser/quickInputUtils.js +1 -1
- package/vscode/src/vs/platform/quickinput/browser/quickPickPin.js +2 -2
- package/vscode/src/vs/platform/terminal/common/terminalProfiles.js +1 -1
- package/vscode/src/vs/platform/theme/common/colors/listColors.js +36 -36
- package/vscode/src/vs/platform/theme/common/colors/menuColors.js +7 -7
- package/vscode/src/vs/platform/theme/common/tokenClassificationRegistry.js +42 -42
- package/vscode/src/vs/platform/userDataSync/common/userDataSync.js +5 -5
- package/vscode/src/vs/workbench/api/common/extHostDiagnostics.js +1 -1
- 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/browser/actions/developerActions.js +31 -31
- package/vscode/src/vs/workbench/browser/actions/layoutActions.js +129 -129
- package/vscode/src/vs/workbench/browser/actions/windowActions.js +25 -25
- 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/editorActions.js +131 -131
- 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/sideBySideEditor.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/textDiffEditor.js +3 -3
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsActions.js +17 -17
- 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/notifications/notificationsCommands.js +9 -9
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsList.js +6 -6
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsStatus.js +13 -13
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsToasts.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsViewer.js +4 -4
- package/vscode/src/vs/workbench/browser/parts/panel/panelActions.js +34 -34
- package/vscode/src/vs/workbench/browser/parts/views/treeView.js +7 -7
- 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/common/views.js +4 -4
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +131 -131
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatExecuteActions.js +5 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatTitleActions.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatAccessibilityProvider.js +9 -9
- package/vscode/src/vs/workbench/contrib/chat/browser/chatAgentHover.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatAttachmentsContentPart.js +8 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatCodeCitationContentPart.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatCommandContentPart.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatConfirmationContentPart.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatReferencesContentPart.js +8 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatTextEditContentPart.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatToolInvocationPart.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatTreeContentPart.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDragAndDrop.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditingService.js +11 -11
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditorInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatFollowups.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatImagePaste.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatInlineAnchorWidget.js +5 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/chatInputPart.js +12 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/chatListRenderer.js +12 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/chatWidget.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/codeBlockPart.js +15 -15
- package/vscode/src/vs/workbench/contrib/chat/browser/contrib/chatDynamicVariables.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/contrib/chatInputCompletions.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatColors.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.js +21 -21
- package/vscode/src/vs/workbench/contrib/chat/common/chatModel.js +13 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/inspectEditorTokens/inspectEditorTokens.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/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/breakpointsView.js +65 -65
- package/vscode/src/vs/workbench/contrib/debug/browser/callStackEditorContribution.js +2 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/debugExpressionRenderer.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/abstractDebugAdapter.js +1 -1
- 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/extensions/browser/extensionsActions.js +173 -173
- 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/extensions/common/extensionsUtils.js +3 -3
- 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/views/emptyView.js +1 -1
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerView.js +11 -9
- 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/inlineChat/browser/inlineChatActions.js +19 -19
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatController.js +6 -6
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatZoneWidget.js +1 -1
- package/vscode/src/vs/workbench/contrib/inlineChat/common/inlineChat.js +41 -41
- package/vscode/src/vs/workbench/contrib/list/browser/tableColumnResizeQuickPick.js +5 -5
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInput.js +1 -1
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInputModel.js +29 -29
- 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/cellOperations.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOutputActions.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebookChatContext.js +5 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebookChatController.js +2 -2
- 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/diff/diffComponents.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditor.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditorBrowser.js +5 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffList.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookMultiDiffEditor.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibilityProvider.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditor.js +8 -8
- 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/cellParts/cellEditorOptions.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCell.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCellRunToolbar.js +1 -1
- 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/notebook/browser/viewParts/notebookKernelQuickPickStrategy.js +15 -15
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelView.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/preferences/common/settingsEditorColorRegistry.js +21 -21
- 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/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/tasks/common/tasks.js +3 -3
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalStrings.js +28 -28
- package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChat.js +7 -7
- package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatController.js +1 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testResult.js +2 -2
- 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/editor/common/editorResolverService.js +1 -1
- 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/textMate/common/TMGrammars.js +9 -9
- package/vscode/src/vs/workbench/services/textfile/common/textFileEditorModel.js +3 -3
- package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfile.js +3 -3
|
@@ -99,11 +99,11 @@ let NotificationsCenter = class NotificationsCenter extends Themable {
|
|
|
99
99
|
updateTitle() {
|
|
100
100
|
const [notificationsCenterTitle, clearAllAction] = assertAllDefined(this.notificationsCenterTitle, this.clearAllAction);
|
|
101
101
|
if (this.model.notifications.length === 0) {
|
|
102
|
-
notificationsCenterTitle.textContent = ( localize(
|
|
102
|
+
notificationsCenterTitle.textContent = ( localize(3198, "No new notifications"));
|
|
103
103
|
clearAllAction.enabled = false;
|
|
104
104
|
}
|
|
105
105
|
else {
|
|
106
|
-
notificationsCenterTitle.textContent = ( localize(
|
|
106
|
+
notificationsCenterTitle.textContent = ( localize(3199, "Notifications"));
|
|
107
107
|
clearAllAction.enabled = ( (this.model.notifications.some(notification => !notification.hasProgress)));
|
|
108
108
|
}
|
|
109
109
|
}
|
|
@@ -122,7 +122,7 @@ let NotificationsCenter = class NotificationsCenter extends Themable {
|
|
|
122
122
|
const actionRunner = this._register(this.instantiationService.createInstance(NotificationActionRunner));
|
|
123
123
|
const that = this;
|
|
124
124
|
const notificationsToolBar = this._register(( (new ActionBar(toolbarContainer, {
|
|
125
|
-
ariaLabel: ( localize(
|
|
125
|
+
ariaLabel: ( localize(3200, "Notification Center Actions")),
|
|
126
126
|
actionRunner,
|
|
127
127
|
actionViewItemProvider: (action, options) => {
|
|
128
128
|
if (action.id === ConfigureDoNotDisturbAction.ID) {
|
|
@@ -130,7 +130,7 @@ let NotificationsCenter = class NotificationsCenter extends Themable {
|
|
|
130
130
|
getActions() {
|
|
131
131
|
const actions = [toAction({
|
|
132
132
|
id: ToggleDoNotDisturbAction.ID,
|
|
133
|
-
label: that.notificationService.getFilter() === NotificationsFilter.OFF ? ( localize(
|
|
133
|
+
label: that.notificationService.getFilter() === NotificationsFilter.OFF ? ( localize(3201, "Enable Do Not Disturb Mode")) : ( localize(3202, "Disable Do Not Disturb Mode")),
|
|
134
134
|
run: () => that.notificationService.setFilter(that.notificationService.getFilter() === NotificationsFilter.OFF ? NotificationsFilter.ERROR : NotificationsFilter.OFF)
|
|
135
135
|
})];
|
|
136
136
|
const sortedFilters = that.notificationService.getFilters().sort((a, b) => a.label.localeCompare(b.label));
|
|
@@ -150,7 +150,7 @@ let NotificationsCenter = class NotificationsCenter extends Themable {
|
|
|
150
150
|
}
|
|
151
151
|
if (sortedFilters.length > NotificationsCenter_1.MAX_NOTIFICATION_SOURCES) {
|
|
152
152
|
actions.push(( (new Separator())));
|
|
153
|
-
actions.push(that._register(that.instantiationService.createInstance(ToggleDoNotDisturbBySourceAction, ToggleDoNotDisturbBySourceAction.ID, ( localize(
|
|
153
|
+
actions.push(that._register(that.instantiationService.createInstance(ToggleDoNotDisturbBySourceAction, ToggleDoNotDisturbBySourceAction.ID, ( localize(3203, "More…")))));
|
|
154
154
|
}
|
|
155
155
|
return actions;
|
|
156
156
|
},
|
|
@@ -171,7 +171,7 @@ let NotificationsCenter = class NotificationsCenter extends Themable {
|
|
|
171
171
|
const hideAllAction = this._register(this.instantiationService.createInstance(HideNotificationsCenterAction, HideNotificationsCenterAction.ID, HideNotificationsCenterAction.LABEL));
|
|
172
172
|
notificationsToolBar.push(hideAllAction, { icon: true, label: false, keybinding: this.getKeybindingLabel(hideAllAction) });
|
|
173
173
|
this.notificationsList = this.instantiationService.createInstance(NotificationsList, this.notificationsCenterContainer, {
|
|
174
|
-
widgetAriaLabel: ( localize(
|
|
174
|
+
widgetAriaLabel: ( localize(3204, "Notifications Center"))
|
|
175
175
|
});
|
|
176
176
|
this.container.appendChild(this.notificationsCenterContainer);
|
|
177
177
|
}
|
|
@@ -234,7 +234,7 @@ function registerNotificationCommands(center, toasts, model) {
|
|
|
234
234
|
filter: source.filter
|
|
235
235
|
}))));
|
|
236
236
|
picker.canSelectMany = true;
|
|
237
|
-
picker.placeholder = ( localize(
|
|
237
|
+
picker.placeholder = ( localize(3189, "Select sources to enable all notifications from"));
|
|
238
238
|
picker.selectedItems = picker.items.filter(item => item.filter === NotificationsFilter.OFF);
|
|
239
239
|
picker.show();
|
|
240
240
|
disposables.add(picker.onDidAccept(async () => {
|
|
@@ -249,14 +249,14 @@ function registerNotificationCommands(center, toasts, model) {
|
|
|
249
249
|
}));
|
|
250
250
|
disposables.add(picker.onDidHide(() => disposables.dispose()));
|
|
251
251
|
});
|
|
252
|
-
const category = ( localize2(
|
|
253
|
-
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: SHOW_NOTIFICATIONS_CENTER, title: ( localize2(
|
|
254
|
-
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: HIDE_NOTIFICATIONS_CENTER, title: ( localize2(
|
|
255
|
-
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: CLEAR_ALL_NOTIFICATIONS, title: ( localize2(
|
|
256
|
-
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: ACCEPT_PRIMARY_ACTION_NOTIFICATION, title: ( localize2(
|
|
257
|
-
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: TOGGLE_DO_NOT_DISTURB_MODE, title: ( localize2(
|
|
258
|
-
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: TOGGLE_DO_NOT_DISTURB_MODE_BY_SOURCE, title: ( localize2(
|
|
259
|
-
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: FOCUS_NOTIFICATION_TOAST, title: ( localize2(
|
|
252
|
+
const category = ( localize2(3190, 'Notifications'));
|
|
253
|
+
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: SHOW_NOTIFICATIONS_CENTER, title: ( localize2(3191, 'Show Notifications')), category } });
|
|
254
|
+
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: HIDE_NOTIFICATIONS_CENTER, title: ( localize2(3192, 'Hide Notifications')), category }, when: NotificationsCenterVisibleContext });
|
|
255
|
+
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: CLEAR_ALL_NOTIFICATIONS, title: ( localize2(3193, 'Clear All Notifications')), category } });
|
|
256
|
+
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: ACCEPT_PRIMARY_ACTION_NOTIFICATION, title: ( localize2(3194, 'Accept Notification Primary Action')), category } });
|
|
257
|
+
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: TOGGLE_DO_NOT_DISTURB_MODE, title: ( localize2(3195, 'Toggle Do Not Disturb Mode')), category } });
|
|
258
|
+
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: TOGGLE_DO_NOT_DISTURB_MODE_BY_SOURCE, title: ( localize2(3196, 'Toggle Do Not Disturb Mode By Source...')), category } });
|
|
259
|
+
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: FOCUS_NOTIFICATION_TOAST, title: ( localize2(3197, 'Focus Notification Toast')), category }, when: NotificationsToastsVisibleContext });
|
|
260
260
|
}
|
|
261
261
|
let NotificationActionRunner = class NotificationActionRunner extends ActionRunner {
|
|
262
262
|
constructor(telemetryService, notificationService) {
|
|
@@ -168,29 +168,29 @@ let NotificationAccessibilityProvider = class NotificationAccessibilityProvider
|
|
|
168
168
|
let accessibleViewHint;
|
|
169
169
|
const keybinding = this._keybindingService.lookupKeybinding('editor.action.accessibleView')?.getAriaLabel();
|
|
170
170
|
if (this._configurationService.getValue('accessibility.verbosity.notification')) {
|
|
171
|
-
accessibleViewHint = keybinding ? ( localize(
|
|
172
|
-
|
|
171
|
+
accessibleViewHint = keybinding ? ( localize(7589, "Inspect the response in the accessible view with {0}", keybinding)) : ( localize(
|
|
172
|
+
7590,
|
|
173
173
|
"Inspect the response in the accessible view via the command Open Accessible View which is currently not triggerable via keybinding"
|
|
174
174
|
));
|
|
175
175
|
}
|
|
176
176
|
if (!element.source) {
|
|
177
|
-
return accessibleViewHint ? ( localize(
|
|
177
|
+
return accessibleViewHint ? ( localize(7591, "{0}, notification, {1}", element.message.raw, accessibleViewHint)) : ( localize(7592, "{0}, notification", element.message.raw));
|
|
178
178
|
}
|
|
179
179
|
return accessibleViewHint ? ( localize(
|
|
180
|
-
|
|
180
|
+
7593,
|
|
181
181
|
"{0}, source: {1}, notification, {2}",
|
|
182
182
|
element.message.raw,
|
|
183
183
|
element.source,
|
|
184
184
|
accessibleViewHint
|
|
185
185
|
)) : ( localize(
|
|
186
|
-
|
|
186
|
+
7594,
|
|
187
187
|
"{0}, source: {1}, notification",
|
|
188
188
|
element.message.raw,
|
|
189
189
|
element.source
|
|
190
190
|
));
|
|
191
191
|
}
|
|
192
192
|
getWidgetAriaLabel() {
|
|
193
|
-
return this._options.widgetAriaLabel ?? ( localize(
|
|
193
|
+
return this._options.widgetAriaLabel ?? ( localize(7595, "Notifications List"));
|
|
194
194
|
}
|
|
195
195
|
getRole() {
|
|
196
196
|
return 'dialog';
|
|
@@ -46,9 +46,9 @@ let NotificationsStatus = class NotificationsStatus extends Disposable {
|
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
let statusProperties = {
|
|
49
|
-
name: ( localize(
|
|
49
|
+
name: ( localize(3208, "Notifications")),
|
|
50
50
|
text: `${notificationsInProgress > 0 || this.newNotificationsCount > 0 ? '$(bell-dot)' : '$(bell)'}`,
|
|
51
|
-
ariaLabel: ( localize(
|
|
51
|
+
ariaLabel: ( localize(3208, "Notifications")),
|
|
52
52
|
command: this.isNotificationsCenterVisible ? HIDE_NOTIFICATIONS_CENTER : SHOW_NOTIFICATIONS_CENTER,
|
|
53
53
|
tooltip: this.getTooltip(notificationsInProgress),
|
|
54
54
|
showBeak: this.isNotificationsCenterVisible
|
|
@@ -57,8 +57,8 @@ let NotificationsStatus = class NotificationsStatus extends Disposable {
|
|
|
57
57
|
statusProperties = {
|
|
58
58
|
...statusProperties,
|
|
59
59
|
text: `${notificationsInProgress > 0 || this.newNotificationsCount > 0 ? '$(bell-slash-dot)' : '$(bell-slash)'}`,
|
|
60
|
-
ariaLabel: ( localize(
|
|
61
|
-
tooltip: ( localize(
|
|
60
|
+
ariaLabel: ( localize(3209, "Do Not Disturb")),
|
|
61
|
+
tooltip: ( localize(3210, "Do Not Disturb Mode is Enabled"))
|
|
62
62
|
};
|
|
63
63
|
}
|
|
64
64
|
if (!this.notificationsCenterStatusItem) {
|
|
@@ -70,28 +70,28 @@ let NotificationsStatus = class NotificationsStatus extends Disposable {
|
|
|
70
70
|
}
|
|
71
71
|
getTooltip(notificationsInProgress) {
|
|
72
72
|
if (this.isNotificationsCenterVisible) {
|
|
73
|
-
return ( localize(
|
|
73
|
+
return ( localize(3211, "Hide Notifications"));
|
|
74
74
|
}
|
|
75
75
|
if (this.model.notifications.length === 0) {
|
|
76
|
-
return ( localize(
|
|
76
|
+
return ( localize(3212, "No Notifications"));
|
|
77
77
|
}
|
|
78
78
|
if (notificationsInProgress === 0) {
|
|
79
79
|
if (this.newNotificationsCount === 0) {
|
|
80
|
-
return ( localize(
|
|
80
|
+
return ( localize(3213, "No New Notifications"));
|
|
81
81
|
}
|
|
82
82
|
if (this.newNotificationsCount === 1) {
|
|
83
|
-
return ( localize(
|
|
83
|
+
return ( localize(3214, "1 New Notification"));
|
|
84
84
|
}
|
|
85
|
-
return ( localize(
|
|
85
|
+
return ( localize(3215, "{0} New Notifications", this.newNotificationsCount));
|
|
86
86
|
}
|
|
87
87
|
if (this.newNotificationsCount === 0) {
|
|
88
|
-
return ( localize(
|
|
88
|
+
return ( localize(3216, "No New Notifications ({0} in progress)", notificationsInProgress));
|
|
89
89
|
}
|
|
90
90
|
if (this.newNotificationsCount === 1) {
|
|
91
|
-
return ( localize(
|
|
91
|
+
return ( localize(3217, "1 New Notification ({0} in progress)", notificationsInProgress));
|
|
92
92
|
}
|
|
93
93
|
return ( localize(
|
|
94
|
-
|
|
94
|
+
3218,
|
|
95
95
|
"{0} New Notifications ({1} in progress)",
|
|
96
96
|
this.newNotificationsCount,
|
|
97
97
|
notificationsInProgress
|
|
@@ -136,7 +136,7 @@ let NotificationsStatus = class NotificationsStatus extends Disposable {
|
|
|
136
136
|
let statusMessageEntry;
|
|
137
137
|
let showHandle = setTimeout(() => {
|
|
138
138
|
statusMessageEntry = this.statusbarService.addEntry({
|
|
139
|
-
name: ( localize(
|
|
139
|
+
name: ( localize(3219, "Status Message")),
|
|
140
140
|
text: message,
|
|
141
141
|
ariaLabel: message
|
|
142
142
|
}, 'status.message', 0 , -Number.MAX_VALUE );
|
|
@@ -136,9 +136,9 @@ let NotificationsToasts = class NotificationsToasts extends Themable {
|
|
|
136
136
|
verticalScrollMode: 2 ,
|
|
137
137
|
widgetAriaLabel: (() => {
|
|
138
138
|
if (!item.source) {
|
|
139
|
-
return ( localize(
|
|
139
|
+
return ( localize(3186, "{0}, notification", item.message.raw));
|
|
140
140
|
}
|
|
141
|
-
return ( localize(
|
|
141
|
+
return ( localize(3187, "{0}, source: {1}, notification", item.message.raw, item.source));
|
|
142
142
|
})()
|
|
143
143
|
});
|
|
144
144
|
itemDisposables.add(notificationList);
|
|
@@ -95,7 +95,7 @@ class NotificationMessageRenderer {
|
|
|
95
95
|
let title = node.title;
|
|
96
96
|
if (!title && node.href.startsWith('command:')) {
|
|
97
97
|
title = ( localize(
|
|
98
|
-
|
|
98
|
+
10758,
|
|
99
99
|
"Click to execute command '{0}'",
|
|
100
100
|
node.href.substr('command:'.length)
|
|
101
101
|
));
|
|
@@ -154,7 +154,7 @@ let NotificationRenderer = class NotificationRenderer {
|
|
|
154
154
|
const toolbarContainer = document.createElement('div');
|
|
155
155
|
toolbarContainer.classList.add('notification-list-item-toolbar-container');
|
|
156
156
|
data.toolbar = ( (new ActionBar(toolbarContainer, {
|
|
157
|
-
ariaLabel: ( localize(
|
|
157
|
+
ariaLabel: ( localize(10759, "Notification Actions")),
|
|
158
158
|
actionViewItemProvider: (action, options) => {
|
|
159
159
|
if (action instanceof ConfigureNotificationAction) {
|
|
160
160
|
return data.toDispose.add(( (new DropdownMenuActionViewItem(action, {
|
|
@@ -165,7 +165,7 @@ let NotificationRenderer = class NotificationRenderer {
|
|
|
165
165
|
const isSourceFiltered = that.notificationService.getFilter(source) === NotificationsFilter.ERROR;
|
|
166
166
|
actions.push(toAction({
|
|
167
167
|
id: source.id,
|
|
168
|
-
label: isSourceFiltered ? ( localize(
|
|
168
|
+
label: isSourceFiltered ? ( localize(10760, "Turn On All Notifications from '{0}'", source.label)) : ( localize(10761, "Turn Off Info and Warning Notifications from '{0}'", source.label)),
|
|
169
169
|
run: () => that.notificationService.setFilter({ ...source, filter: isSourceFiltered ? NotificationsFilter.OFF : NotificationsFilter.ERROR })
|
|
170
170
|
}));
|
|
171
171
|
if (action.notification.actions?.secondary?.length) {
|
|
@@ -327,7 +327,7 @@ let NotificationTemplateRenderer = class NotificationTemplateRenderer extends Di
|
|
|
327
327
|
}
|
|
328
328
|
renderSource(notification, sourceCustomHover) {
|
|
329
329
|
if (notification.expanded && notification.source) {
|
|
330
|
-
this.template.source.textContent = ( localize(
|
|
330
|
+
this.template.source.textContent = ( localize(10762, "Source: {0}", notification.source));
|
|
331
331
|
sourceCustomHover.update(notification.source);
|
|
332
332
|
}
|
|
333
333
|
else {
|
|
@@ -13,22 +13,22 @@ import { IViewDescriptorService } from '../../../common/views.service.js';
|
|
|
13
13
|
import { IViewsService } from '../../../services/views/common/viewsService.service.js';
|
|
14
14
|
import { IPaneCompositePartService } from '../../../services/panecomposite/browser/panecomposite.service.js';
|
|
15
15
|
import { INotificationService } from '../../../../platform/notification/common/notification.service.js';
|
|
16
|
-
const maximizeIcon = registerIcon('panel-maximize', Codicon.chevronUp, ( localize(
|
|
17
|
-
const restoreIcon = registerIcon('panel-restore', Codicon.chevronDown, ( localize(
|
|
18
|
-
const closeIcon = registerIcon('panel-close', Codicon.close, ( localize(
|
|
19
|
-
const panelIcon = registerIcon('panel-layout-icon', Codicon.layoutPanel, ( localize(
|
|
20
|
-
const panelOffIcon = registerIcon('panel-layout-icon-off', Codicon.layoutPanelOff, ( localize(
|
|
16
|
+
const maximizeIcon = registerIcon('panel-maximize', Codicon.chevronUp, ( localize(9409, 'Icon to maximize a panel.')));
|
|
17
|
+
const restoreIcon = registerIcon('panel-restore', Codicon.chevronDown, ( localize(9410, 'Icon to restore a panel.')));
|
|
18
|
+
const closeIcon = registerIcon('panel-close', Codicon.close, ( localize(9411, 'Icon to close a panel.')));
|
|
19
|
+
const panelIcon = registerIcon('panel-layout-icon', Codicon.layoutPanel, ( localize(9412, 'Icon to toggle the panel off when it is on.')));
|
|
20
|
+
const panelOffIcon = registerIcon('panel-layout-icon-off', Codicon.layoutPanelOff, ( localize(9413, 'Icon to toggle the panel on when it is off.')));
|
|
21
21
|
class TogglePanelAction extends Action2 {
|
|
22
22
|
static { this.ID = 'workbench.action.togglePanel'; }
|
|
23
|
-
static { this.LABEL = ( localize2(
|
|
23
|
+
static { this.LABEL = ( localize2(9414, "Toggle Panel Visibility")); }
|
|
24
24
|
constructor() {
|
|
25
25
|
super({
|
|
26
26
|
id: TogglePanelAction.ID,
|
|
27
27
|
title: TogglePanelAction.LABEL,
|
|
28
28
|
toggled: {
|
|
29
29
|
condition: PanelVisibleContext,
|
|
30
|
-
title: ( localize(
|
|
31
|
-
mnemonicTitle: ( localize(
|
|
30
|
+
title: ( localize(9415, "Panel")),
|
|
31
|
+
mnemonicTitle: ( localize(9416, "&&Panel")),
|
|
32
32
|
},
|
|
33
33
|
f1: true,
|
|
34
34
|
category: Categories.View,
|
|
@@ -54,11 +54,11 @@ class TogglePanelAction extends Action2 {
|
|
|
54
54
|
registerAction2(TogglePanelAction);
|
|
55
55
|
registerAction2(class extends Action2 {
|
|
56
56
|
static { this.ID = 'workbench.action.focusPanel'; }
|
|
57
|
-
static { this.LABEL = ( localize(
|
|
57
|
+
static { this.LABEL = ( localize(9417, "Focus into Panel")); }
|
|
58
58
|
constructor() {
|
|
59
59
|
super({
|
|
60
60
|
id: 'workbench.action.focusPanel',
|
|
61
|
-
title: ( localize2(
|
|
61
|
+
title: ( localize2(9417, "Focus into Panel")),
|
|
62
62
|
category: Categories.View,
|
|
63
63
|
f1: true,
|
|
64
64
|
});
|
|
@@ -101,20 +101,20 @@ function createAlignmentPanelActionConfig(id, title, shortLabel, alignment) {
|
|
|
101
101
|
return createPanelActionConfig(id, title, shortLabel, alignment, ( (PanelAlignmentContext.notEqualsTo(alignment))));
|
|
102
102
|
}
|
|
103
103
|
const PositionPanelActionConfigs = [
|
|
104
|
-
createPositionPanelActionConfig(PositionPanelActionId.TOP, ( localize2(
|
|
105
|
-
createPositionPanelActionConfig(PositionPanelActionId.LEFT, ( localize2(
|
|
106
|
-
createPositionPanelActionConfig(PositionPanelActionId.RIGHT, ( localize2(
|
|
107
|
-
createPositionPanelActionConfig(PositionPanelActionId.BOTTOM, ( localize2(
|
|
104
|
+
createPositionPanelActionConfig(PositionPanelActionId.TOP, ( localize2(9418, "Move Panel To Top")), ( localize(9419, "Top")), 3 ),
|
|
105
|
+
createPositionPanelActionConfig(PositionPanelActionId.LEFT, ( localize2(9420, "Move Panel Left")), ( localize(9421, "Left")), 0 ),
|
|
106
|
+
createPositionPanelActionConfig(PositionPanelActionId.RIGHT, ( localize2(9422, "Move Panel Right")), ( localize(9423, "Right")), 1 ),
|
|
107
|
+
createPositionPanelActionConfig(PositionPanelActionId.BOTTOM, ( localize2(9424, "Move Panel To Bottom")), ( localize(9425, "Bottom")), 2 ),
|
|
108
108
|
];
|
|
109
109
|
const AlignPanelActionConfigs = [
|
|
110
|
-
createAlignmentPanelActionConfig(AlignPanelActionId.LEFT, ( localize2(
|
|
111
|
-
createAlignmentPanelActionConfig(AlignPanelActionId.RIGHT, ( localize2(
|
|
112
|
-
createAlignmentPanelActionConfig(AlignPanelActionId.CENTER, ( localize2(
|
|
113
|
-
createAlignmentPanelActionConfig(AlignPanelActionId.JUSTIFY, ( localize2(
|
|
110
|
+
createAlignmentPanelActionConfig(AlignPanelActionId.LEFT, ( localize2(9426, "Set Panel Alignment to Left")), ( localize(9427, "Left")), 'left'),
|
|
111
|
+
createAlignmentPanelActionConfig(AlignPanelActionId.RIGHT, ( localize2(9428, "Set Panel Alignment to Right")), ( localize(9429, "Right")), 'right'),
|
|
112
|
+
createAlignmentPanelActionConfig(AlignPanelActionId.CENTER, ( localize2(9430, "Set Panel Alignment to Center")), ( localize(9431, "Center")), 'center'),
|
|
113
|
+
createAlignmentPanelActionConfig(AlignPanelActionId.JUSTIFY, ( localize2(9432, "Set Panel Alignment to Justify")), ( localize(9433, "Justify")), 'justify'),
|
|
114
114
|
];
|
|
115
115
|
MenuRegistry.appendMenuItem(MenuId.MenubarAppearanceMenu, {
|
|
116
116
|
submenu: MenuId.PanelPositionMenu,
|
|
117
|
-
title: ( localize(
|
|
117
|
+
title: ( localize(9434, "Panel Position")),
|
|
118
118
|
group: '3_workbench_layout_move',
|
|
119
119
|
order: 4
|
|
120
120
|
});
|
|
@@ -145,7 +145,7 @@ PositionPanelActionConfigs.forEach((positionPanelAction, index) => {
|
|
|
145
145
|
});
|
|
146
146
|
MenuRegistry.appendMenuItem(MenuId.MenubarAppearanceMenu, {
|
|
147
147
|
submenu: MenuId.PanelAlignmentMenu,
|
|
148
|
-
title: ( localize(
|
|
148
|
+
title: ( localize(9435, "Align Panel")),
|
|
149
149
|
group: '3_workbench_layout_move',
|
|
150
150
|
order: 5
|
|
151
151
|
});
|
|
@@ -205,7 +205,7 @@ class SwitchPanelViewAction extends Action2 {
|
|
|
205
205
|
}
|
|
206
206
|
registerAction2(class extends SwitchPanelViewAction {
|
|
207
207
|
constructor() {
|
|
208
|
-
super('workbench.action.previousPanelView', ( localize2(
|
|
208
|
+
super('workbench.action.previousPanelView', ( localize2(9436, "Previous Panel View")));
|
|
209
209
|
}
|
|
210
210
|
run(accessor) {
|
|
211
211
|
return super.run(accessor, -1);
|
|
@@ -213,7 +213,7 @@ registerAction2(class extends SwitchPanelViewAction {
|
|
|
213
213
|
});
|
|
214
214
|
registerAction2(class extends SwitchPanelViewAction {
|
|
215
215
|
constructor() {
|
|
216
|
-
super('workbench.action.nextPanelView', ( localize2(
|
|
216
|
+
super('workbench.action.nextPanelView', ( localize2(9437, "Next Panel View")));
|
|
217
217
|
}
|
|
218
218
|
run(accessor) {
|
|
219
219
|
return super.run(accessor, 1);
|
|
@@ -223,8 +223,8 @@ registerAction2(class extends Action2 {
|
|
|
223
223
|
constructor() {
|
|
224
224
|
super({
|
|
225
225
|
id: 'workbench.action.toggleMaximizedPanel',
|
|
226
|
-
title: ( localize2(
|
|
227
|
-
tooltip: ( localize(
|
|
226
|
+
title: ( localize2(9438, 'Toggle Maximized Panel')),
|
|
227
|
+
tooltip: ( localize(9439, "Maximize Panel Size")),
|
|
228
228
|
category: Categories.View,
|
|
229
229
|
f1: true,
|
|
230
230
|
icon: maximizeIcon,
|
|
@@ -235,7 +235,7 @@ registerAction2(class extends Action2 {
|
|
|
235
235
|
(PanelPositionContext.notEqualsTo('top'))
|
|
236
236
|
))
|
|
237
237
|
))),
|
|
238
|
-
toggled: { condition: PanelMaximizedContext, icon: restoreIcon, tooltip: ( localize(
|
|
238
|
+
toggled: { condition: PanelMaximizedContext, icon: restoreIcon, tooltip: ( localize(9440, "Restore Panel Size")) },
|
|
239
239
|
menu: [{
|
|
240
240
|
id: MenuId.PanelTitle,
|
|
241
241
|
group: 'navigation',
|
|
@@ -254,7 +254,7 @@ registerAction2(class extends Action2 {
|
|
|
254
254
|
const layoutService = accessor.get(IWorkbenchLayoutService);
|
|
255
255
|
const notificationService = accessor.get(INotificationService);
|
|
256
256
|
if (layoutService.getPanelAlignment() !== 'center' && isHorizontal(layoutService.getPanelPosition())) {
|
|
257
|
-
notificationService.warn(( localize(
|
|
257
|
+
notificationService.warn(( localize(9441, "Maximizing the panel is only supported when it is center aligned.")));
|
|
258
258
|
return;
|
|
259
259
|
}
|
|
260
260
|
if (!layoutService.isVisible("workbench.parts.panel" )) {
|
|
@@ -272,7 +272,7 @@ registerAction2(class extends Action2 {
|
|
|
272
272
|
constructor() {
|
|
273
273
|
super({
|
|
274
274
|
id: 'workbench.action.closePanel',
|
|
275
|
-
title: ( localize2(
|
|
275
|
+
title: ( localize2(9442, 'Hide Panel')),
|
|
276
276
|
category: Categories.View,
|
|
277
277
|
icon: closeIcon,
|
|
278
278
|
menu: [{
|
|
@@ -293,7 +293,7 @@ registerAction2(class extends Action2 {
|
|
|
293
293
|
constructor() {
|
|
294
294
|
super({
|
|
295
295
|
id: 'workbench.action.closeAuxiliaryBar',
|
|
296
|
-
title: ( localize2(
|
|
296
|
+
title: ( localize2(9443, 'Hide Secondary Side Bar')),
|
|
297
297
|
category: Categories.View,
|
|
298
298
|
icon: closeIcon,
|
|
299
299
|
menu: [{
|
|
@@ -321,7 +321,7 @@ MenuRegistry.appendMenuItems([
|
|
|
321
321
|
group: '0_workbench_toggles',
|
|
322
322
|
command: {
|
|
323
323
|
id: TogglePanelAction.ID,
|
|
324
|
-
title: ( localize(
|
|
324
|
+
title: ( localize(9444, "Toggle Panel")),
|
|
325
325
|
icon: panelOffIcon,
|
|
326
326
|
toggled: { condition: PanelVisibleContext, icon: panelIcon }
|
|
327
327
|
},
|
|
@@ -337,7 +337,7 @@ MenuRegistry.appendMenuItems([
|
|
|
337
337
|
group: '3_workbench_layout_move',
|
|
338
338
|
command: {
|
|
339
339
|
id: TogglePanelAction.ID,
|
|
340
|
-
title: ( localize2(
|
|
340
|
+
title: ( localize2(9445, 'Hide Panel')),
|
|
341
341
|
},
|
|
342
342
|
when: ( (ContextKeyExpr.and(PanelVisibleContext, (ContextKeyExpr.equals(
|
|
343
343
|
'viewLocation',
|
|
@@ -374,7 +374,7 @@ class MovePanelToSidePanelAction extends MoveViewsBetweenPanelsAction {
|
|
|
374
374
|
constructor() {
|
|
375
375
|
super(1 , 2 , {
|
|
376
376
|
id: MovePanelToSidePanelAction.ID,
|
|
377
|
-
title: ( localize2(
|
|
377
|
+
title: ( localize2(9446, "Move Panel Views To Secondary Side Bar")),
|
|
378
378
|
category: Categories.View,
|
|
379
379
|
f1: false
|
|
380
380
|
});
|
|
@@ -385,7 +385,7 @@ class MovePanelToSecondarySideBarAction extends MoveViewsBetweenPanelsAction {
|
|
|
385
385
|
constructor() {
|
|
386
386
|
super(1 , 2 , {
|
|
387
387
|
id: MovePanelToSecondarySideBarAction.ID,
|
|
388
|
-
title: ( localize2(
|
|
388
|
+
title: ( localize2(9446, "Move Panel Views To Secondary Side Bar")),
|
|
389
389
|
category: Categories.View,
|
|
390
390
|
f1: true
|
|
391
391
|
});
|
|
@@ -398,7 +398,7 @@ class MoveSidePanelToPanelAction extends MoveViewsBetweenPanelsAction {
|
|
|
398
398
|
constructor() {
|
|
399
399
|
super(2 , 1 , {
|
|
400
400
|
id: MoveSidePanelToPanelAction.ID,
|
|
401
|
-
title: ( localize2(
|
|
401
|
+
title: ( localize2(9447, "Move Secondary Side Bar Views To Panel")),
|
|
402
402
|
category: Categories.View,
|
|
403
403
|
f1: false
|
|
404
404
|
});
|
|
@@ -409,7 +409,7 @@ class MoveSecondarySideBarToPanelAction extends MoveViewsBetweenPanelsAction {
|
|
|
409
409
|
constructor() {
|
|
410
410
|
super(2 , 1 , {
|
|
411
411
|
id: MoveSecondarySideBarToPanelAction.ID,
|
|
412
|
-
title: ( localize2(
|
|
412
|
+
title: ( localize2(9447, "Move Secondary Side Bar Views To Panel")),
|
|
413
413
|
category: Categories.View,
|
|
414
414
|
f1: true
|
|
415
415
|
});
|
|
@@ -173,7 +173,7 @@ function isTreeCommandEnabled(treeCommand, contextKeyService) {
|
|
|
173
173
|
function isRenderedMessageValue(messageValue) {
|
|
174
174
|
return !!messageValue && typeof messageValue !== 'string' && 'element' in messageValue && 'disposables' in messageValue;
|
|
175
175
|
}
|
|
176
|
-
const noDataProviderMessage = ( localize(
|
|
176
|
+
const noDataProviderMessage = ( localize(9637, "There is no data provider registered that can provide view data."));
|
|
177
177
|
const RawCustomTreeViewContextKey = ( (new RawContextKey('customTreeView', false)));
|
|
178
178
|
class Tree extends WorkbenchAsyncDataTree {
|
|
179
179
|
}
|
|
@@ -411,7 +411,7 @@ let AbstractTreeView = class AbstractTreeView extends Disposable {
|
|
|
411
411
|
initializeShowCollapseAllAction(startingValue = false) {
|
|
412
412
|
if (!this.collapseAllContext) {
|
|
413
413
|
this.collapseAllContextKey = ( (new RawContextKey(`treeView.${this.id}.enableCollapseAll`, startingValue, ( localize(
|
|
414
|
-
|
|
414
|
+
9638,
|
|
415
415
|
"Whether the the tree view with id {0} enables collapse all.",
|
|
416
416
|
this.id
|
|
417
417
|
)))));
|
|
@@ -429,7 +429,7 @@ let AbstractTreeView = class AbstractTreeView extends Disposable {
|
|
|
429
429
|
}
|
|
430
430
|
initializeShowRefreshAction(startingValue = false) {
|
|
431
431
|
if (!this.refreshContext) {
|
|
432
|
-
this.refreshContextKey = ( (new RawContextKey(`treeView.${this.id}.enableRefresh`, startingValue, ( localize(
|
|
432
|
+
this.refreshContextKey = ( (new RawContextKey(`treeView.${this.id}.enableRefresh`, startingValue, ( localize(9639, "Whether the tree view with id {0} enables refresh.", this.id)))));
|
|
433
433
|
this.refreshContext = this.refreshContextKey.bindTo(this.contextKeyService);
|
|
434
434
|
}
|
|
435
435
|
}
|
|
@@ -447,7 +447,7 @@ let AbstractTreeView = class AbstractTreeView extends Disposable {
|
|
|
447
447
|
constructor() {
|
|
448
448
|
super({
|
|
449
449
|
id: `workbench.actions.treeView.${that.id}.refresh`,
|
|
450
|
-
title: ( localize(
|
|
450
|
+
title: ( localize(9640, "Refresh")),
|
|
451
451
|
menu: {
|
|
452
452
|
id: MenuId.ViewTitle,
|
|
453
453
|
when: ( (ContextKeyExpr.and(
|
|
@@ -468,7 +468,7 @@ let AbstractTreeView = class AbstractTreeView extends Disposable {
|
|
|
468
468
|
constructor() {
|
|
469
469
|
super({
|
|
470
470
|
id: `workbench.actions.treeView.${that.id}.collapseAll`,
|
|
471
|
-
title: ( localize(
|
|
471
|
+
title: ( localize(9641, "Collapse All")),
|
|
472
472
|
menu: {
|
|
473
473
|
id: MenuId.ViewTitle,
|
|
474
474
|
when: ( (ContextKeyExpr.and(
|
|
@@ -937,7 +937,7 @@ let AbstractTreeView = class AbstractTreeView extends Disposable {
|
|
|
937
937
|
initializeCollapseAllToggle() {
|
|
938
938
|
if (!this.collapseAllToggleContext) {
|
|
939
939
|
this.collapseAllToggleContextKey = ( (new RawContextKey(`treeView.${this.id}.toggleCollapseAll`, false, ( localize(
|
|
940
|
-
|
|
940
|
+
9642,
|
|
941
941
|
"Whether collapse all is toggled for the tree view with id {0}.",
|
|
942
942
|
this.id
|
|
943
943
|
)))));
|
|
@@ -1412,7 +1412,7 @@ class MultipleSelectionActionRunner extends ActionRunner {
|
|
|
1412
1412
|
this._register(this.onDidRun(e => {
|
|
1413
1413
|
if (e.error && !isCancellationError(e.error)) {
|
|
1414
1414
|
notificationService.error(( localize(
|
|
1415
|
-
|
|
1415
|
+
9643,
|
|
1416
1416
|
'Error running command {1}: {0}. This is likely caused by the extension that contributes {1}.',
|
|
1417
1417
|
e.error.message,
|
|
1418
1418
|
e.action.id
|
|
@@ -32,7 +32,7 @@ const viewFilterMenu = ( (new MenuId('menu.view.filter')));
|
|
|
32
32
|
const viewFilterSubmenu = ( (new MenuId('submenu.view.filter')));
|
|
33
33
|
MenuRegistry.appendMenuItem(viewFilterMenu, {
|
|
34
34
|
submenu: viewFilterSubmenu,
|
|
35
|
-
title: ( localize(
|
|
35
|
+
title: ( localize(5650, "More Filters...")),
|
|
36
36
|
group: 'navigation',
|
|
37
37
|
icon: Codicon.filter,
|
|
38
38
|
});
|
|
@@ -61,8 +61,8 @@ var ViewPaneShowActions;
|
|
|
61
61
|
ViewPaneShowActions[ViewPaneShowActions["Always"] = 2] = "Always";
|
|
62
62
|
})(ViewPaneShowActions || (ViewPaneShowActions = {}))));
|
|
63
63
|
const VIEWPANE_FILTER_ACTION = ( (new Action('viewpane.action.filter')));
|
|
64
|
-
const viewPaneContainerExpandedIcon = registerIcon('view-pane-container-expanded', Codicon.chevronDown, ( localize(
|
|
65
|
-
const viewPaneContainerCollapsedIcon = registerIcon('view-pane-container-collapsed', Codicon.chevronRight, ( localize(
|
|
64
|
+
const viewPaneContainerExpandedIcon = registerIcon('view-pane-container-expanded', Codicon.chevronDown, ( localize(5373, 'Icon for an expanded view pane container.')));
|
|
65
|
+
const viewPaneContainerCollapsedIcon = registerIcon('view-pane-container-collapsed', Codicon.chevronRight, ( localize(5374, 'Icon for a collapsed view pane container.')));
|
|
66
66
|
const viewsRegistry = ( (Registry.as(Extensions.ViewsRegistry)));
|
|
67
67
|
let ViewWelcomeController = class ViewWelcomeController {
|
|
68
68
|
get enabled() { return this._enabled; }
|
|
@@ -332,7 +332,7 @@ let ViewPane = class ViewPane extends Pane {
|
|
|
332
332
|
this.toolbar = this.instantiationService.createInstance(WorkbenchToolBar, actions, {
|
|
333
333
|
orientation: 0 ,
|
|
334
334
|
actionViewItemProvider: (action, options) => this.getActionViewItem(action, options),
|
|
335
|
-
ariaLabel: ( localize(
|
|
335
|
+
ariaLabel: ( localize(5375, "{0} actions", this.title)),
|
|
336
336
|
getKeyBinding: action => this.keybindingService.lookupKeybinding(action.id),
|
|
337
337
|
renderDropdownAsChildElement: true,
|
|
338
338
|
actionRunner: this.getActionRunner(),
|
|
@@ -418,7 +418,7 @@ let ViewPane = class ViewPane extends Pane {
|
|
|
418
418
|
if (!viewHasAccessibilityHelpContent || accessibleViewHasShownForView) {
|
|
419
419
|
return title;
|
|
420
420
|
}
|
|
421
|
-
return ( localize(
|
|
421
|
+
return ( localize(5376, 'Use Alt+F1 for accessibility help {0}', title));
|
|
422
422
|
}
|
|
423
423
|
updateTitle(title) {
|
|
424
424
|
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(7326, "{0} ↔ {1}", originalName, modifiedName));
|
|
46
46
|
forceDescription = originalName === modifiedName;
|
|
47
47
|
}
|
|
48
48
|
let shortDescription;
|
|
@@ -91,7 +91,7 @@ let BaseTextEditorModel = class BaseTextEditorModel extends EditorModel {
|
|
|
91
91
|
this.setLanguageIdInternal(lang, LanguageDetectionLanguageEventSource);
|
|
92
92
|
const languageName = this.languageService.getLanguageName(lang);
|
|
93
93
|
this.accessibilityService.alert(( localize(
|
|
94
|
-
|
|
94
|
+
9910,
|
|
95
95
|
"Language {0} was automatically detected and set as the language mode.",
|
|
96
96
|
languageName ?? lang
|
|
97
97
|
)));
|
|
@@ -7,8 +7,8 @@ import { mixin } from '../../base/common/objects.js';
|
|
|
7
7
|
import { Codicon } from '../../base/common/codicons.js';
|
|
8
8
|
import { registerIcon } from '../../platform/theme/common/iconRegistry.js';
|
|
9
9
|
const VIEWS_LOG_ID = 'views';
|
|
10
|
-
const VIEWS_LOG_NAME = ( localize(
|
|
11
|
-
const defaultViewIcon = registerIcon('default-view-icon', Codicon.window, ( localize(
|
|
10
|
+
const VIEWS_LOG_NAME = ( localize(5306, "Views"));
|
|
11
|
+
const defaultViewIcon = registerIcon('default-view-icon', Codicon.window, ( localize(5307, 'Default view icon.')));
|
|
12
12
|
var Extensions;
|
|
13
13
|
( ((function(Extensions) {
|
|
14
14
|
Extensions.ViewContainersRegistry = 'workbench.registry.view.containers';
|
|
@@ -194,7 +194,7 @@ class ViewsRegistry extends Disposable {
|
|
|
194
194
|
for (const viewDescriptor of viewDescriptors) {
|
|
195
195
|
if (this.getView(viewDescriptor.id) !== null) {
|
|
196
196
|
throw ( (new Error(
|
|
197
|
-
localize(
|
|
197
|
+
localize(5308, "A view with id '{0}' is already registered", viewDescriptor.id)
|
|
198
198
|
)));
|
|
199
199
|
}
|
|
200
200
|
views.push(viewDescriptor);
|
|
@@ -285,7 +285,7 @@ class ResolvableTreeItem {
|
|
|
285
285
|
}
|
|
286
286
|
class NoTreeViewError extends Error {
|
|
287
287
|
constructor(treeViewId) {
|
|
288
|
-
super(( localize(
|
|
288
|
+
super(( localize(5309, 'No tree view with id \'{0}\' registered.', treeViewId)));
|
|
289
289
|
this.name = 'NoTreeViewError';
|
|
290
290
|
}
|
|
291
291
|
static is(err) {
|