@codingame/monaco-vscode-api 37.0.0 → 37.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/missing-services.js +46 -0
- package/package.json +8 -8
- package/services.js +3 -3
- package/vscode/src/vs/base/browser/ui/scrollbar/scrollableElement.js +7 -1
- package/vscode/src/vs/base/browser/ui/splitview/paneview.js +4 -1
- package/vscode/src/vs/base/common/errors.js +11 -1
- package/vscode/src/vs/base/common/htmlContent.js +4 -1
- package/vscode/src/vs/base/common/observableInternal/reactions/autorun.js +54 -1
- package/vscode/src/vs/platform/agentHost/common/agent.js +9 -1
- package/vscode/src/vs/platform/agentHost/common/agentHostEnablementService.js +8 -8
- package/vscode/src/vs/platform/agentHost/common/agentHostSchema.js +103 -103
- package/vscode/src/vs/platform/agentHost/common/agentService.js +20 -2
- package/vscode/src/vs/platform/agentHost/common/customizationEnablement.js +8 -1
- package/vscode/src/vs/platform/agentHost/common/meta/agentWorkspaceContinuationMeta.js +8 -0
- package/vscode/src/vs/platform/agentHost/common/state/legacyProtocolCompatibility.d.ts +30 -0
- package/vscode/src/vs/platform/agentHost/common/state/legacyProtocolCompatibility.js +95 -0
- package/vscode/src/vs/platform/agentHost/common/state/sessionProtocol.js +3 -1
- package/vscode/src/vs/platform/agentHost/common/state/sessionState.js +154 -4
- package/vscode/src/vs/platform/browserView/common/browserPermissions.js +14 -14
- package/vscode/src/vs/platform/configuration/common/configurationRegistry.js +12 -12
- package/vscode/src/vs/platform/contextkey/browser/contextKeyService.js +1 -1
- package/vscode/src/vs/platform/contextkey/common/contextkey.js +10 -10
- package/vscode/src/vs/platform/contextkey/common/contextkeys.js +10 -10
- package/vscode/src/vs/platform/contextkey/common/scanner.js +5 -5
- 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/extensionManagement.js +14 -14
- package/vscode/src/vs/platform/extensionManagement/common/extensionNls.js +1 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.js +7 -7
- package/vscode/src/vs/platform/extensions/common/extensionValidator.js +19 -19
- package/vscode/src/vs/platform/files/browser/htmlFileSystemProvider.js +2 -2
- package/vscode/src/vs/platform/files/common/files.js +6 -6
- package/vscode/src/vs/platform/github/common/githubPullRequestMutationService.d.ts +150 -0
- package/vscode/src/vs/platform/github/common/githubQueryService.d.ts +187 -0
- package/vscode/src/vs/platform/github/common/githubService.service.d.ts +18 -0
- package/vscode/src/vs/platform/github/common/githubService.service.js +6 -0
- package/vscode/src/vs/platform/history/browser/contextScopedHistoryWidget.js +1 -1
- package/vscode/src/vs/platform/hover/browser/hoverWidget.js +1 -1
- package/vscode/src/vs/platform/hover/browser/updatableHoverWidget.js +1 -1
- package/vscode/src/vs/platform/keybinding/common/abstractKeybindingService.js +5 -5
- package/vscode/src/vs/platform/languagePacks/common/languagePacks.js +1 -1
- package/vscode/src/vs/platform/languagePacks/common/localizedStrings.js +3 -3
- package/vscode/src/vs/platform/list/browser/listService.js +25 -25
- package/vscode/src/vs/platform/log/common/log.js +6 -6
- package/vscode/src/vs/platform/markers/common/markerService.js +2 -2
- package/vscode/src/vs/platform/markers/common/markers.js +6 -6
- package/vscode/src/vs/platform/mcp/common/mcpManagementService.js +1 -1
- package/vscode/src/vs/platform/meteredConnection/common/meteredConnection.config.contribution.js +5 -5
- package/vscode/src/vs/platform/notification/common/notification.js +3 -3
- package/vscode/src/vs/platform/product/common/product.js +1 -1
- package/vscode/src/vs/platform/quickinput/browser/quickInput.js +10 -10
- package/vscode/src/vs/platform/quickinput/browser/quickInputActions.js +5 -5
- package/vscode/src/vs/platform/quickinput/browser/quickInputController.js +6 -6
- package/vscode/src/vs/platform/quickinput/browser/quickInputList.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/quickinput/browser/tree/quickInputTreeAccessibilityProvider.js +1 -1
- package/vscode/src/vs/platform/quickinput/browser/tree/quickTree.js +1 -1
- package/vscode/src/vs/platform/request/common/request.js +20 -20
- package/vscode/src/vs/platform/telemetry/common/telemetryUtils.js +1 -1
- package/vscode/src/vs/platform/terminal/common/terminalPlatformConfiguration.js +34 -34
- package/vscode/src/vs/platform/terminal/common/terminalProfiles.js +1 -1
- package/vscode/src/vs/platform/theme/common/colorUtils.js +2 -2
- package/vscode/src/vs/platform/theme/common/colors/baseColors.js +19 -19
- package/vscode/src/vs/platform/theme/common/colors/chartsColors.js +8 -8
- package/vscode/src/vs/platform/theme/common/colors/editorColors.js +95 -95
- package/vscode/src/vs/platform/theme/common/colors/inputColors.js +48 -48
- 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/colors/minimapColors.js +11 -11
- package/vscode/src/vs/platform/theme/common/colors/miscColors.js +16 -16
- package/vscode/src/vs/platform/theme/common/colors/quickpickColors.js +10 -10
- package/vscode/src/vs/platform/theme/common/colors/searchColors.js +3 -3
- package/vscode/src/vs/platform/theme/common/iconRegistry.js +7 -7
- package/vscode/src/vs/platform/theme/common/sizes/baseSizes.js +37 -37
- package/vscode/src/vs/platform/theme/common/tokenClassificationRegistry.js +42 -42
- package/vscode/src/vs/platform/undoRedo/common/undoRedoService.js +20 -20
- package/vscode/src/vs/platform/userDataProfile/common/userDataProfile.js +1 -1
- package/vscode/src/vs/platform/userDataSync/common/abstractSynchronizer.js +2 -2
- package/vscode/src/vs/platform/userDataSync/common/keybindingsSync.js +2 -2
- package/vscode/src/vs/platform/userDataSync/common/settingsSync.js +1 -1
- package/vscode/src/vs/platform/userDataSync/common/userDataSync.js +5 -5
- package/vscode/src/vs/platform/userDataSync/common/userDataSyncMachines.js +1 -1
- package/vscode/src/vs/platform/workspace/common/workspace.js +1 -1
- package/vscode/src/vs/workbench/api/browser/statusBarExtensionPoint.js +12 -12
- package/vscode/src/vs/workbench/api/common/extHostAuthentication.js +5 -5
- package/vscode/src/vs/workbench/api/common/extHostDiagnostics.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostExtensionService.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostLanguageModels.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostLogService.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostNotebook.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostStatusBar.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostTelemetry.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTerminalService.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTunnelService.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostWorkspace.js +1 -1
- package/vscode/src/vs/workbench/api/common/jsonValidationExtensionPoint.js +18 -18
- package/vscode/src/vs/workbench/browser/actions/developerActions.js +40 -40
- package/vscode/src/vs/workbench/browser/actions/layoutActions.js +132 -132
- package/vscode/src/vs/workbench/browser/actions/textInputActions.js +6 -6
- package/vscode/src/vs/workbench/browser/actions/windowActions.js +29 -29
- package/vscode/src/vs/workbench/browser/actions/workspaceActions.js +21 -21
- package/vscode/src/vs/workbench/browser/actions/workspaceCommands.js +4 -4
- package/vscode/src/vs/workbench/browser/editor.js +2 -2
- package/vscode/src/vs/workbench/browser/labels.js +4 -4
- package/vscode/src/vs/workbench/browser/parts/activitybar/activitybarPart.js +23 -23
- package/vscode/src/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarActions.js +25 -25
- package/vscode/src/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarPart.js +4 -4
- package/vscode/src/vs/workbench/browser/parts/compositeBar.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/compositeBarActions.js +9 -9
- package/vscode/src/vs/workbench/browser/parts/compositePart.js +3 -3
- package/vscode/src/vs/workbench/browser/parts/dialogs/dialog.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/auxiliaryEditorPart.js +3 -3
- package/vscode/src/vs/workbench/browser/parts/editor/binaryDiffEditor.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/binaryEditor.js +3 -3
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbs.js +38 -38
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsControl.js +14 -14
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsPicker.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/diffEditorCommands.js +7 -7
- package/vscode/src/vs/workbench/browser/parts/editor/editorActions.js +136 -136
- package/vscode/src/vs/workbench/browser/parts/editor/editorCommands.js +25 -25
- package/vscode/src/vs/workbench/browser/parts/editor/editorDropTarget.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/editorGroupView.js +8 -8
- package/vscode/src/vs/workbench/browser/parts/editor/editorGroupWatermark.js +12 -12
- package/vscode/src/vs/workbench/browser/parts/editor/editorHeaderControl.js +3 -3
- package/vscode/src/vs/workbench/browser/parts/editor/editorPanes.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/editor/editorParts.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/editorPlaceholder.js +10 -10
- package/vscode/src/vs/workbench/browser/parts/editor/editorQuickAccess.js +5 -5
- package/vscode/src/vs/workbench/browser/parts/editor/editorStatus.js +66 -66
- package/vscode/src/vs/workbench/browser/parts/editor/editorTabsControl.js +5 -5
- package/vscode/src/vs/workbench/browser/parts/editor/editorTypePicker.js +6 -6
- package/vscode/src/vs/workbench/browser/parts/editor/modalEditorPart.js +5 -5
- package/vscode/src/vs/workbench/browser/parts/editor/multiEditorTabsControl.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/editor/sideBySideEditor.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/textCodeEditor.js +1 -1
- 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 +19 -19
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationAccessibleView.d.ts +10 -0
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationAccessibleView.js +126 -0
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsActions.js +22 -22
- 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 +13 -13
- 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 +12 -5
- package/vscode/src/vs/workbench/browser/parts/paneCompositeBar.js +4 -4
- package/vscode/src/vs/workbench/browser/parts/paneCompositePart.js +3 -3
- package/vscode/src/vs/workbench/browser/parts/panel/panelActions.js +27 -27
- package/vscode/src/vs/workbench/browser/parts/panel/panelPart.js +3 -3
- package/vscode/src/vs/workbench/browser/parts/sidebar/sidebarActions.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/sidebar/sidebarPart.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/titlebar/menubarControl.js +11 -11
- package/vscode/src/vs/workbench/browser/parts/titlebar/titlebarActions.js +15 -15
- package/vscode/src/vs/workbench/browser/parts/titlebar/windowTitle.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/views/checkbox.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/views/treeView.js +10 -10
- package/vscode/src/vs/workbench/browser/parts/views/viewFilter.js +4 -4
- package/vscode/src/vs/workbench/browser/parts/views/viewPane.js +5 -5
- package/vscode/src/vs/workbench/browser/parts/views/viewPaneContainer.js +6 -6
- package/vscode/src/vs/workbench/browser/quickaccess.js +1 -1
- package/vscode/src/vs/workbench/browser/window.js +14 -14
- package/vscode/src/vs/workbench/browser/workbench.contribution.js +232 -232
- package/vscode/src/vs/workbench/common/configuration.js +9 -9
- package/vscode/src/vs/workbench/common/contextkeys.js +86 -86
- package/vscode/src/vs/workbench/common/editor/diffEditorInput.js +1 -1
- package/vscode/src/vs/workbench/common/editor/sideBySideEditorInput.js +1 -1
- package/vscode/src/vs/workbench/common/editor/textEditorModel.js +1 -1
- package/vscode/src/vs/workbench/common/editor.js +4 -4
- package/vscode/src/vs/workbench/common/theme.js +208 -208
- package/vscode/src/vs/workbench/common/views.js +4 -4
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +168 -168
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleViewActions.js +12 -12
- package/vscode/src/vs/workbench/contrib/agentsVoice/common/agentsVoiceColors.js +2 -2
- package/vscode/src/vs/workbench/contrib/browserView/common/browserEditorInput.js +1 -1
- package/vscode/src/vs/workbench/contrib/browserView/common/browserView.js +11 -11
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatActions.js +65 -65
- package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginActions.js +78 -13
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostLegacyMigration.js +6 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessions.js +15 -15
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsModel.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationManagement.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatScreenshotContext.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorContextKeys.js +7 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/chatOutline.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/chatSessionDescription.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/chatSessions.contribution.js +45 -45
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetup.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/enablementActions.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/speechToText/chatSpeechToTextService.js +19 -19
- package/vscode/src/vs/workbench/contrib/chat/browser/speechToText/dictationDownloadRing.js +7 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/speechToText/dictationSession.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/voiceClient/micCaptureService.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/editor/chatEditorInput.js +10 -10
- package/vscode/src/vs/workbench/contrib/chat/common/actions/chatContextKeys.js +108 -108
- package/vscode/src/vs/workbench/contrib/chat/common/attachments/chatVariableEntries.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/attachments/chatVariableEntries.js +81 -5
- package/vscode/src/vs/workbench/contrib/chat/common/chatImageExtraction.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/common/chatModes.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/common/chatService/chatService.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/customizationHarnessService.js +5 -5
- package/vscode/src/vs/workbench/contrib/chat/common/editing/chatEditingService.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelStats.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/common/languageModels.js +47 -31
- package/vscode/src/vs/workbench/contrib/chat/common/model/chatModel.js +8 -8
- package/vscode/src/vs/workbench/contrib/chat/common/model/chatProgressTypes/chatToolInvocation.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/computeAutomaticInstructions.js +13 -13
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/hookSchema.js +18 -18
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/hookTypes.js +20 -20
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptFileAttributes.js +80 -80
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/promptTypes.js +10 -10
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsServiceImpl.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/utils/promptFilesLocator.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/askQuestionsTool.js +8 -8
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/manageTodoListTool.js +10 -10
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/reviewPlanTool.js +7 -7
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/runSubagentTool.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/setArtifactRulesTool.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/setArtifactsTool.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsContribution.js +22 -22
- package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsService.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +11 -11
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorAccessibilityHelp.js +6 -6
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/find/simpleFindWidget.js +10 -10
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/inspectEditorTokens/inspectEditorTokens.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/largeFileOptimizations.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoSymbolQuickAccess.js +6 -6
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMinimap.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMultiCursorModifier.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderControlCharacter.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderWhitespace.js +12 -12
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +5 -5
- package/vscode/src/vs/workbench/contrib/codeEditor/common/languageConfigurationExtensionPoint.js +71 -71
- package/vscode/src/vs/workbench/contrib/comments/browser/commentColors.js +7 -7
- package/vscode/src/vs/workbench/contrib/comments/browser/commentGlyphWidget.js +7 -7
- package/vscode/src/vs/workbench/contrib/comments/browser/commentNode.js +2 -2
- package/vscode/src/vs/workbench/contrib/comments/browser/commentReply.js +3 -3
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadBody.js +3 -3
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadHeader.js +3 -3
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadWidget.js +3 -3
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadZoneWidget.js +3 -3
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsAccessibility.js +12 -12
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsController.js +7 -7
- 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 +14 -14
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsViewActions.js +16 -16
- package/vscode/src/vs/workbench/contrib/comments/browser/reactionsAction.js +7 -7
- package/vscode/src/vs/workbench/contrib/comments/common/commentContextKeys.js +12 -12
- package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditorDiffInput.js +3 -3
- package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditorInput.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/baseDebugView.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointEditorContribution.js +29 -29
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointWidget.js +14 -14
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointsView.js +75 -75
- package/vscode/src/vs/workbench/contrib/debug/browser/callStackEditorContribution.js +2 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/debugActionViewItems.js +9 -9
- package/vscode/src/vs/workbench/contrib/debug/browser/debugColors.js +12 -12
- package/vscode/src/vs/workbench/contrib/debug/browser/debugCommands.js +38 -38
- package/vscode/src/vs/workbench/contrib/debug/browser/debugEditorContribution.js +2 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/debugHover.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/debugIcons.js +57 -57
- package/vscode/src/vs/workbench/contrib/debug/browser/debugSessionPicker.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/exceptionWidget.js +7 -7
- package/vscode/src/vs/workbench/contrib/debug/browser/linkDetector.js +2 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/repl.js +18 -18
- package/vscode/src/vs/workbench/contrib/debug/browser/replViewer.js +5 -5
- package/vscode/src/vs/workbench/contrib/debug/browser/variablesView.js +9 -9
- package/vscode/src/vs/workbench/contrib/debug/common/abstractDebugAdapter.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/debug.js +65 -65
- 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/debug/common/loadedScriptsPicker.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/replModel.js +1 -1
- package/vscode/src/vs/workbench/contrib/dropOrPasteInto/browser/commands.js +2 -2
- package/vscode/src/vs/workbench/contrib/dropOrPasteInto/browser/configurationSchema.js +4 -4
- package/vscode/src/vs/workbench/contrib/extensions/browser/configBasedRecommendations.js +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/browser/exeBasedRecommendations.js +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionEditor.js +41 -41
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionEnablementWorkspaceTrustTransitionParticipant.js +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionFeaturesTab.js +15 -15
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionRecommendationNotificationService.js +14 -14
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensions.contribution.js +158 -158
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActions.js +180 -180
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActivationProgress.js +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsCompletionItemsProvider.js +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsDependencyChecker.js +5 -5
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsIcons.js +25 -25
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsQuickAccess.js +4 -4
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsViewer.js +7 -7
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsViewlet.js +48 -48
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsViews.js +5 -5
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsWidgets.js +30 -30
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsWorkbenchService.js +77 -77
- package/vscode/src/vs/workbench/contrib/extensions/browser/fileBasedRecommendations.js +2 -2
- package/vscode/src/vs/workbench/contrib/extensions/browser/webRecommendations.js +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/browser/workspaceRecommendations.js +2 -2
- package/vscode/src/vs/workbench/contrib/extensions/common/extensions.js +1 -1
- 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/extensions/common/searchExtensionsTool.js +3 -3
- package/vscode/src/vs/workbench/contrib/externalUriOpener/common/configuration.js +4 -4
- package/vscode/src/vs/workbench/contrib/externalUriOpener/common/externalUriOpenerService.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/editors/textFileSaveErrorHandler.js +18 -18
- package/vscode/src/vs/workbench/contrib/files/browser/explorerViewlet.js +14 -14
- package/vscode/src/vs/workbench/contrib/files/browser/fileActions.contribution.js +39 -39
- package/vscode/src/vs/workbench/contrib/files/browser/fileActions.js +84 -84
- package/vscode/src/vs/workbench/contrib/files/browser/fileCommands._save.js +4 -4
- package/vscode/src/vs/workbench/contrib/files/browser/fileCommands.js +2 -2
- package/vscode/src/vs/workbench/contrib/files/browser/fileConstants.js +6 -6
- package/vscode/src/vs/workbench/contrib/files/browser/fileImportExport.js +28 -28
- package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._configuration.js +50 -50
- package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._editorPane.js +2 -2
- package/vscode/src/vs/workbench/contrib/files/browser/views/emptyView.js +1 -1
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerView.js +7 -7
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerViewer.js +17 -17
- package/vscode/src/vs/workbench/contrib/files/browser/views/openEditorsView.js +9 -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/files/common/files.js +16 -16
- package/vscode/src/vs/workbench/contrib/folding/browser/folding.contribution.js +3 -3
- package/vscode/src/vs/workbench/contrib/format/browser/formatActionsMultiple.js +20 -20
- package/vscode/src/vs/workbench/contrib/format/browser/formatActionsNone.js +4 -4
- package/vscode/src/vs/workbench/contrib/format/browser/formatModified.js +1 -1
- package/vscode/src/vs/workbench/contrib/inlayHints/browser/inlayHintsAccessibilty.js +4 -4
- package/vscode/src/vs/workbench/contrib/inlineCompletions/browser/inlineCompletionLanguageStatusBarContribution.js +6 -6
- package/vscode/src/vs/workbench/contrib/list/browser/listResizeColumnAction.js +2 -2
- package/vscode/src/vs/workbench/contrib/list/browser/tableColumnResizeQuickPick.js +5 -5
- package/vscode/src/vs/workbench/contrib/mcp/browser/mcpCommandsAddConfiguration.js +70 -70
- package/vscode/src/vs/workbench/contrib/mcp/browser/mcpServerActions.js +40 -40
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpConfiguration.js +45 -45
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpServer.js +16 -16
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.js +4 -4
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInput.js +4 -4
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInputModel.js +23 -23
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/mergeEditorModel.js +2 -2
- package/vscode/src/vs/workbench/contrib/mergeEditor/common/mergeEditor.js +8 -8
- package/vscode/src/vs/workbench/contrib/meteredConnection/browser/meteredConnection.contribution.js +8 -8
- package/vscode/src/vs/workbench/contrib/meteredConnection/browser/meteredConnectionStatus.js +4 -4
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/icons.contribution.js +1 -1
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffEditorInput.js +3 -3
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/scmMultiDiffSourceResolver.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindReplaceWidget.js +17 -17
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOutputActions.js +6 -6
- 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/notebookAccessibilityProvider.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditor.js +13 -13
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditorWidget.js +24 -24
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookIcons.js +29 -29
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellEditorOptions.js +5 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellOutput.js +7 -7
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCell.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCellExecutionIcon.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCellRunToolbar.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/collapsedCellOutput.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/foldedCellHint.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/markupCell.js +2 -2
- 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 +14 -14
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelView.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookViewZones.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/preferences/browser/keybindingWidgets.js +3 -3
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesIcons.js +13 -13
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesWidgets.js +10 -10
- package/vscode/src/vs/workbench/contrib/preferences/browser/settingsLayout.js +60 -60
- package/vscode/src/vs/workbench/contrib/preferences/common/preferences.js +3 -3
- package/vscode/src/vs/workbench/contrib/preferences/common/settingsEditorColorRegistry.js +21 -21
- package/vscode/src/vs/workbench/contrib/remote/browser/remoteExplorer.js +15 -15
- package/vscode/src/vs/workbench/contrib/remote/browser/remoteIcons.js +17 -17
- package/vscode/src/vs/workbench/contrib/remote/browser/tunnelView.js +59 -59
- package/vscode/src/vs/workbench/contrib/scm/browser/scmHistory.js +11 -11
- package/vscode/src/vs/workbench/contrib/scm/browser/scmHistoryChatContext.js +6 -6
- package/vscode/src/vs/workbench/contrib/scm/common/quickDiff.js +51 -15
- package/vscode/src/vs/workbench/contrib/search/browser/anythingQuickAccess.js +9 -9
- package/vscode/src/vs/workbench/contrib/search/browser/patternInputWidget.js +4 -4
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsBase.js +1 -1
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsTopBar.js +9 -9
- package/vscode/src/vs/workbench/contrib/search/browser/searchChatContext.js +5 -5
- package/vscode/src/vs/workbench/contrib/search/browser/searchFindInput.js +1 -1
- package/vscode/src/vs/workbench/contrib/search/browser/searchIcons.js +20 -20
- package/vscode/src/vs/workbench/contrib/search/browser/searchMessage.js +2 -2
- package/vscode/src/vs/workbench/contrib/search/browser/searchResultsView.js +14 -14
- package/vscode/src/vs/workbench/contrib/search/browser/searchView.js +55 -55
- package/vscode/src/vs/workbench/contrib/search/browser/searchWidget.js +11 -11
- package/vscode/src/vs/workbench/contrib/search/browser/symbolsQuickAccess.js +2 -2
- package/vscode/src/vs/workbench/contrib/search/common/search.js +1 -1
- package/vscode/src/vs/workbench/contrib/searchEditor/browser/searchEditorInput.js +4 -4
- package/vscode/src/vs/workbench/contrib/searchEditor/browser/searchEditorSerialization.js +5 -5
- 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/constants.js +1 -1
- package/vscode/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.js +6 -6
- package/vscode/src/vs/workbench/contrib/tasks/common/taskService.js +6 -6
- package/vscode/src/vs/workbench/contrib/tasks/common/tasks.js +4 -4
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalEditorInput.js +3 -3
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalIcons.js +13 -13
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalMenus.js +42 -42
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/decorationStyles.js +15 -15
- package/vscode/src/vs/workbench/contrib/terminal/common/terminal.js +10 -10
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalColorRegistry.js +23 -23
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalContextKey.js +17 -17
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalStrings.js +26 -26
- package/vscode/src/vs/workbench/contrib/terminalContrib/accessibility/common/terminalAccessibilityConfiguration.js +5 -5
- package/vscode/src/vs/workbench/contrib/terminalContrib/autoReplies/common/terminalAutoRepliesConfiguration.js +2 -2
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/common/terminalChatAgentToolsConfiguration.js +77 -77
- package/vscode/src/vs/workbench/contrib/terminalContrib/commandGuide/common/terminalCommandGuideConfiguration.js +1 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/history/common/terminal.history.js +1 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/inlineHint/common/terminalInitialHintConfiguration.js +1 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/notification/common/terminalNotificationConfiguration.js +1 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/resizeDimensionsOverlay/common/terminalResizeDimensionsOverlayConfiguration.js +1 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/stickyScroll/common/terminalStickyScrollConfiguration.js +3 -3
- package/vscode/src/vs/workbench/contrib/terminalContrib/suggest/common/terminalSuggestConfiguration.js +30 -30
- package/vscode/src/vs/workbench/contrib/terminalContrib/typeAhead/common/terminalTypeAheadConfiguration.js +5 -5
- package/vscode/src/vs/workbench/contrib/terminalContrib/zoom/common/terminal.zoom.js +2 -2
- package/vscode/src/vs/workbench/contrib/testing/common/constants.js +11 -11
- package/vscode/src/vs/workbench/contrib/testing/common/testResult.js +2 -2
- package/vscode/src/vs/workbench/contrib/testing/common/testTypes.js +3 -3
- package/vscode/src/vs/workbench/contrib/url/browser/trustedDomains.js +6 -6
- package/vscode/src/vs/workbench/contrib/webview/browser/webview.contribution.js +3 -3
- package/vscode/src/vs/workbench/contrib/webview/browser/webviewFindAccessibilityHelp.js +30 -30
- 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/accounts/browser/defaultAccount.d.ts +205 -0
- package/vscode/src/vs/workbench/services/accounts/browser/defaultAccount.js +1580 -0
- package/vscode/src/vs/workbench/services/agentHost/browser/codexAccountService.js +4 -4
- package/vscode/src/vs/workbench/services/authentication/browser/authenticationService.js +11 -11
- package/vscode/src/vs/workbench/services/auxiliaryWindow/browser/auxiliaryWindowService.js +5 -5
- package/vscode/src/vs/workbench/services/chat/common/chatEntitlementService.js +16 -16
- 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/configurationResolver/common/variableResolver.js +16 -16
- package/vscode/src/vs/workbench/services/dataChannel/browser/dataChannelService.js +11 -11
- package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +4 -4
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionsIcons.js +3 -3
- package/vscode/src/vs/workbench/services/extensionRecommendations/common/workspaceExtensionsConfig.js +6 -6
- package/vscode/src/vs/workbench/services/extensions/browser/extensionUrlHandler.js +10 -10
- package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +90 -90
- package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.js +5 -5
- package/vscode/src/vs/workbench/services/language/common/languageService.js +24 -24
- package/vscode/src/vs/workbench/services/log/common/logConstants.js +1 -1
- package/vscode/src/vs/workbench/services/policies/common/accountPolicyService.js +1 -1
- package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorInput.js +2 -2
- package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorModel.js +7 -7
- package/vscode/src/vs/workbench/services/preferences/common/preferencesEditorInput.js +4 -4
- package/vscode/src/vs/workbench/services/preferences/common/preferencesModels.js +2 -2
- package/vscode/src/vs/workbench/services/preferences/common/preferencesValidation.js +30 -30
- package/vscode/src/vs/workbench/services/remote/common/remoteExplorerService.js +8 -8
- package/vscode/src/vs/workbench/services/remote/common/tunnelModel.js +6 -6
- package/vscode/src/vs/workbench/services/search/common/queryBuilder.js +1 -1
- package/vscode/src/vs/workbench/services/textMate/common/TMGrammars.js +9 -9
- package/vscode/src/vs/workbench/services/textfile/common/textFileEditorModel.js +3 -3
- package/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.js +18 -18
- package/vscode/src/vs/workbench/services/themes/common/colorThemeData.js +8 -8
- package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +13 -13
- package/vscode/src/vs/workbench/services/themes/common/tokenClassificationExtensionPoint.js +24 -24
- package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfile.js +3 -3
- package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfileIcons.js +1 -1
- package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +13 -13
- package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopy.js +16 -16
- package/vscode/src/vs/platform/agentHost/common/meta/agentFeedbackAnnotations.d.ts +0 -128
- package/vscode/src/vs/platform/agentHost/common/meta/agentToolCallMeta.d.ts +0 -81
- package/vscode/src/vs/workbench/contrib/welcomeOnboarding/common/onboardingTypes.d.ts +0 -81
- package/vscode/src/vs/workbench/contrib/welcomeOnboarding/common/onboardingTypes.js +0 -97
|
@@ -63,7 +63,7 @@ let GlobalCompositeBar = class GlobalCompositeBar extends Disposable {
|
|
|
63
63
|
this.ACCOUNTS_ACTION_INDEX = 0;
|
|
64
64
|
}
|
|
65
65
|
static {
|
|
66
|
-
this.ACCOUNTS_ICON = registerIcon("accounts-view-bar-icon", Codicon.account, ( localize(
|
|
66
|
+
this.ACCOUNTS_ICON = registerIcon("accounts-view-bar-icon", Codicon.account, ( localize(4076, "Accounts icon in the view bar.")));
|
|
67
67
|
}
|
|
68
68
|
constructor(
|
|
69
69
|
contextMenuActionsProvider,
|
|
@@ -105,7 +105,7 @@ let GlobalCompositeBar = class GlobalCompositeBar extends Disposable {
|
|
|
105
105
|
}, contextMenuAlignmentOptions, actions => {
|
|
106
106
|
actions.unshift(...[toAction({
|
|
107
107
|
id: "hideAccounts",
|
|
108
|
-
label: ( localize(
|
|
108
|
+
label: ( localize(4077, "Hide Accounts")),
|
|
109
109
|
run: () => setAccountsActionVisible(storageService, false)
|
|
110
110
|
}), ( new Separator())]);
|
|
111
111
|
});
|
|
@@ -113,7 +113,7 @@ let GlobalCompositeBar = class GlobalCompositeBar extends Disposable {
|
|
|
113
113
|
throw ( new Error(`No view item for action '${action.id}'`));
|
|
114
114
|
},
|
|
115
115
|
orientation: ActionsOrientation.VERTICAL,
|
|
116
|
-
ariaLabel: ( localize(
|
|
116
|
+
ariaLabel: ( localize(4078, "Manage")),
|
|
117
117
|
preventLoopNavigation: true
|
|
118
118
|
})));
|
|
119
119
|
if (this.accountsVisibilityPreference) {
|
|
@@ -144,7 +144,7 @@ let GlobalCompositeBar = class GlobalCompositeBar extends Disposable {
|
|
|
144
144
|
getContextMenuActions() {
|
|
145
145
|
return [toAction({
|
|
146
146
|
id: "toggleAccountsVisibility",
|
|
147
|
-
label: ( localize(
|
|
147
|
+
label: ( localize(4079, "Accounts")),
|
|
148
148
|
checked: this.accountsVisibilityPreference,
|
|
149
149
|
run: () => this.accountsVisibilityPreference = !this.accountsVisibilityPreference
|
|
150
150
|
})];
|
|
@@ -307,7 +307,7 @@ let AccountsActivityActionViewItem = class AccountsActivityActionViewItem extend
|
|
|
307
307
|
) {
|
|
308
308
|
const action = instantiationService.createInstance(CompositeBarAction, {
|
|
309
309
|
id: ACCOUNTS_ACTIVITY_ID,
|
|
310
|
-
name: ( localize(
|
|
310
|
+
name: ( localize(4079, "Accounts")),
|
|
311
311
|
classNames: ThemeIcon.asClassNameArray(GlobalCompositeBar.ACCOUNTS_ICON)
|
|
312
312
|
});
|
|
313
313
|
super(
|
|
@@ -467,7 +467,7 @@ let AccountsActivityActionViewItem = class AccountsActivityActionViewItem extend
|
|
|
467
467
|
providerId => this.authenticationService.isDynamicAuthenticationProvider(providerId)
|
|
468
468
|
);
|
|
469
469
|
if (!this.initialized) {
|
|
470
|
-
const noAccountsAvailableAction = disposables.add(( new Action("noAccountsAvailable", ( localize(
|
|
470
|
+
const noAccountsAvailableAction = disposables.add(( new Action("noAccountsAvailable", ( localize(4080, "Loading...")), undefined, false)));
|
|
471
471
|
menus.push(noAccountsAvailableAction);
|
|
472
472
|
} else {
|
|
473
473
|
for (const providerId of registeredProviders) {
|
|
@@ -475,7 +475,7 @@ let AccountsActivityActionViewItem = class AccountsActivityActionViewItem extend
|
|
|
475
475
|
const accounts = this.groupedAccounts.get(providerId);
|
|
476
476
|
if (!accounts) {
|
|
477
477
|
if (( this.problematicProviders.has(providerId))) {
|
|
478
|
-
const providerUnavailableAction = disposables.add(( new Action("providerUnavailable", ( localize(
|
|
478
|
+
const providerUnavailableAction = disposables.add(( new Action("providerUnavailable", ( localize(4081, "{0} is currently unavailable", provider.label)), undefined, false)));
|
|
479
479
|
menus.push(providerUnavailableAction);
|
|
480
480
|
try {
|
|
481
481
|
await this.addAccountsFromProvider(providerId);
|
|
@@ -489,7 +489,7 @@ let AccountsActivityActionViewItem = class AccountsActivityActionViewItem extend
|
|
|
489
489
|
for (const account of accounts) {
|
|
490
490
|
const manageExtensionsAction = toAction({
|
|
491
491
|
id: `configureSessions${account.label}`,
|
|
492
|
-
label: ( localize(
|
|
492
|
+
label: ( localize(4082, "Manage Trusted Extensions")),
|
|
493
493
|
enabled: true,
|
|
494
494
|
run: () => this.commandService.executeCommand("_manageTrustedExtensionsForAccount", {
|
|
495
495
|
providerId,
|
|
@@ -500,7 +500,7 @@ let AccountsActivityActionViewItem = class AccountsActivityActionViewItem extend
|
|
|
500
500
|
if (canUseMcp) {
|
|
501
501
|
const manageMCPAction = toAction({
|
|
502
502
|
id: `configureSessions${account.label}`,
|
|
503
|
-
label: ( localize(
|
|
503
|
+
label: ( localize(4083, "Manage Trusted MCP Servers")),
|
|
504
504
|
enabled: true,
|
|
505
505
|
run: () => this.commandService.executeCommand("_manageTrustedMCPServersForAccount", {
|
|
506
506
|
providerId,
|
|
@@ -512,7 +512,7 @@ let AccountsActivityActionViewItem = class AccountsActivityActionViewItem extend
|
|
|
512
512
|
if (account.canSignOut) {
|
|
513
513
|
providerSubMenuActions.push(toAction({
|
|
514
514
|
id: "signOut",
|
|
515
|
-
label: ( localize(
|
|
515
|
+
label: ( localize(4084, "Sign Out")),
|
|
516
516
|
enabled: true,
|
|
517
517
|
run: () => this.commandService.executeCommand("_signOutOfAccount", {
|
|
518
518
|
providerId,
|
|
@@ -536,13 +536,13 @@ let AccountsActivityActionViewItem = class AccountsActivityActionViewItem extend
|
|
|
536
536
|
const accounts = this.groupedAccounts.get(providerId);
|
|
537
537
|
const manageDynamicAuthProvidersAction = toAction({
|
|
538
538
|
id: "manageDynamicAuthProviders",
|
|
539
|
-
label: ( localize(
|
|
539
|
+
label: ( localize(4085, "Manage Dynamic Authentication Providers...")),
|
|
540
540
|
enabled: true,
|
|
541
541
|
run: () => this.commandService.executeCommand("workbench.action.removeDynamicAuthenticationProviders")
|
|
542
542
|
});
|
|
543
543
|
if (!accounts) {
|
|
544
544
|
if (( this.problematicProviders.has(providerId))) {
|
|
545
|
-
const providerUnavailableAction = disposables.add(( new Action("providerUnavailable", ( localize(
|
|
545
|
+
const providerUnavailableAction = disposables.add(( new Action("providerUnavailable", ( localize(4081, "{0} is currently unavailable", provider.label)), undefined, false)));
|
|
546
546
|
menus.push(providerUnavailableAction);
|
|
547
547
|
try {
|
|
548
548
|
await this.addAccountsFromProvider(providerId);
|
|
@@ -557,7 +557,7 @@ let AccountsActivityActionViewItem = class AccountsActivityActionViewItem extend
|
|
|
557
557
|
const providerSubMenuActions = [];
|
|
558
558
|
const manageMCPAction = toAction({
|
|
559
559
|
id: `configureSessions${account.label}`,
|
|
560
|
-
label: ( localize(
|
|
560
|
+
label: ( localize(4083, "Manage Trusted MCP Servers")),
|
|
561
561
|
enabled: true,
|
|
562
562
|
run: () => this.commandService.executeCommand("_manageTrustedMCPServersForAccount", {
|
|
563
563
|
providerId,
|
|
@@ -569,7 +569,7 @@ let AccountsActivityActionViewItem = class AccountsActivityActionViewItem extend
|
|
|
569
569
|
if (account.canSignOut) {
|
|
570
570
|
providerSubMenuActions.push(toAction({
|
|
571
571
|
id: "signOut",
|
|
572
|
-
label: ( localize(
|
|
572
|
+
label: ( localize(4084, "Sign Out")),
|
|
573
573
|
enabled: true,
|
|
574
574
|
run: () => this.commandService.executeCommand("_signOutOfAccount", {
|
|
575
575
|
providerId,
|
|
@@ -692,7 +692,7 @@ let GlobalActivityActionViewItem = class GlobalActivityActionViewItem extends Ab
|
|
|
692
692
|
) {
|
|
693
693
|
const action = instantiationService.createInstance(CompositeBarAction, {
|
|
694
694
|
id: GLOBAL_ACTIVITY_ID,
|
|
695
|
-
name: ( localize(
|
|
695
|
+
name: ( localize(4078, "Manage")),
|
|
696
696
|
classNames: ThemeIcon.asClassNameArray(
|
|
697
697
|
userDataProfileService.currentProfile.icon ? ThemeIcon.fromId(userDataProfileService.currentProfile.icon) : DEFAULT_ICON
|
|
698
698
|
)
|
|
@@ -754,7 +754,7 @@ let GlobalActivityActionViewItem = class GlobalActivityActionViewItem extends Ab
|
|
|
754
754
|
}
|
|
755
755
|
computeTitle() {
|
|
756
756
|
return this.userDataProfileService.currentProfile.isDefault ? super.computeTitle() : ( localize(
|
|
757
|
-
|
|
757
|
+
4086,
|
|
758
758
|
"Manage {0} (Profile)",
|
|
759
759
|
this.userDataProfileService.currentProfile.name
|
|
760
760
|
));
|
|
@@ -831,18 +831,18 @@ function simpleActivityContextMenuActions(storageService, isAccount) {
|
|
|
831
831
|
if (isAccount) {
|
|
832
832
|
currentElementContextMenuActions.push(toAction({
|
|
833
833
|
id: "hideAccounts",
|
|
834
|
-
label: ( localize(
|
|
834
|
+
label: ( localize(4077, "Hide Accounts")),
|
|
835
835
|
run: () => setAccountsActionVisible(storageService, false)
|
|
836
836
|
}), ( new Separator()));
|
|
837
837
|
}
|
|
838
838
|
return [...currentElementContextMenuActions, toAction({
|
|
839
839
|
id: "toggle.hideAccounts",
|
|
840
|
-
label: ( localize(
|
|
840
|
+
label: ( localize(4079, "Accounts")),
|
|
841
841
|
checked: isAccountsActionVisible(storageService),
|
|
842
842
|
run: () => setAccountsActionVisible(storageService, !isAccountsActionVisible(storageService))
|
|
843
843
|
}), toAction({
|
|
844
844
|
id: "toggle.hideManage",
|
|
845
|
-
label: ( localize(
|
|
845
|
+
label: ( localize(4078, "Manage")),
|
|
846
846
|
checked: true,
|
|
847
847
|
enabled: false,
|
|
848
848
|
run: () => {
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { AccessibleViewType, AccessibleContentProvider } from "../../../../platform/accessibility/browser/accessibleView.js";
|
|
2
|
+
import { IAccessibleViewImplementation } from "../../../../platform/accessibility/browser/accessibleViewRegistry.js";
|
|
3
|
+
import { ServicesAccessor } from "../../../../platform/instantiation/common/instantiation.js";
|
|
4
|
+
export declare class NotificationAccessibleView implements IAccessibleViewImplementation {
|
|
5
|
+
readonly priority = 90;
|
|
6
|
+
readonly name = "notifications";
|
|
7
|
+
readonly when: import("../../../../platform/contextkey/common/contextkey.js").RawContextKey<boolean>;
|
|
8
|
+
readonly type = AccessibleViewType.View;
|
|
9
|
+
getProvider(accessor: ServicesAccessor): AccessibleContentProvider | undefined;
|
|
10
|
+
}
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
|
|
2
|
+
import { Codicon } from '../../../../base/common/codicons.js';
|
|
3
|
+
import { ThemeIcon } from '../../../../base/common/themables.js';
|
|
4
|
+
import { localize } from '../../../../nls.js';
|
|
5
|
+
import { AccessibleViewType, AccessibleContentProvider, AccessibleViewProviderId } from '../../../../platform/accessibility/browser/accessibleView.js';
|
|
6
|
+
import { IAccessibleViewService } from '../../../../platform/accessibility/browser/accessibleView.service.js';
|
|
7
|
+
import { AccessibilitySignal } from '../../../../platform/accessibilitySignal/browser/accessibilitySignalService.js';
|
|
8
|
+
import { IAccessibilitySignalService } from '../../../../platform/accessibilitySignal/browser/accessibilitySignalService.service.js';
|
|
9
|
+
import { ICommandService } from '../../../../platform/commands/common/commands.service.js';
|
|
10
|
+
import { WorkbenchList } from '../../../../platform/list/browser/listService.js';
|
|
11
|
+
import { IListService } from '../../../../platform/list/browser/listService.service.js';
|
|
12
|
+
import { getNotificationFromContext } from './notificationsCommands.js';
|
|
13
|
+
import { NotificationFocusedContext } from '../../../common/contextkeys.js';
|
|
14
|
+
import { withSeverityPrefix } from '../../../../platform/notification/common/notification.js';
|
|
15
|
+
|
|
16
|
+
class NotificationAccessibleView {
|
|
17
|
+
constructor() {
|
|
18
|
+
this.priority = 90;
|
|
19
|
+
this.name = "notifications";
|
|
20
|
+
this.when = NotificationFocusedContext;
|
|
21
|
+
this.type = AccessibleViewType.View;
|
|
22
|
+
}
|
|
23
|
+
getProvider(accessor) {
|
|
24
|
+
const accessibleViewService = accessor.get(IAccessibleViewService);
|
|
25
|
+
const listService = accessor.get(IListService);
|
|
26
|
+
const commandService = accessor.get(ICommandService);
|
|
27
|
+
const accessibilitySignalService = accessor.get(IAccessibilitySignalService);
|
|
28
|
+
function getProvider() {
|
|
29
|
+
const notification = getNotificationFromContext(listService);
|
|
30
|
+
if (!notification) {
|
|
31
|
+
return;
|
|
32
|
+
}
|
|
33
|
+
commandService.executeCommand("notifications.showList");
|
|
34
|
+
let notificationIndex;
|
|
35
|
+
const list = listService.lastFocusedList;
|
|
36
|
+
if (list instanceof WorkbenchList) {
|
|
37
|
+
notificationIndex = list.indexOf(notification);
|
|
38
|
+
}
|
|
39
|
+
if (notificationIndex === undefined) {
|
|
40
|
+
return;
|
|
41
|
+
}
|
|
42
|
+
function focusList() {
|
|
43
|
+
commandService.executeCommand("notifications.showList");
|
|
44
|
+
if (list && notificationIndex !== undefined) {
|
|
45
|
+
list.domFocus();
|
|
46
|
+
try {
|
|
47
|
+
list.setFocus([notificationIndex]);
|
|
48
|
+
} catch {}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
function getContentForNotification() {
|
|
52
|
+
const notification = getNotificationFromContext(listService);
|
|
53
|
+
const message = notification?.message.original.toString();
|
|
54
|
+
if (!notification || !message) {
|
|
55
|
+
return;
|
|
56
|
+
}
|
|
57
|
+
return withSeverityPrefix(notification.source ? ( localize(4087, "{0} Source: {1}", message, notification.source)) : message, notification.severity);
|
|
58
|
+
}
|
|
59
|
+
const content = getContentForNotification();
|
|
60
|
+
if (!content) {
|
|
61
|
+
return;
|
|
62
|
+
}
|
|
63
|
+
notification.onDidClose(() => accessibleViewService.next());
|
|
64
|
+
return ( new AccessibleContentProvider(AccessibleViewProviderId.Notification, {
|
|
65
|
+
type: AccessibleViewType.View
|
|
66
|
+
}, () => content, () => focusList(), "accessibility.verbosity.notification", undefined, getActionsFromNotification(notification, accessibilitySignalService), () => {
|
|
67
|
+
if (!list) {
|
|
68
|
+
return;
|
|
69
|
+
}
|
|
70
|
+
focusList();
|
|
71
|
+
list.focusNext();
|
|
72
|
+
return getContentForNotification();
|
|
73
|
+
}, () => {
|
|
74
|
+
if (!list) {
|
|
75
|
+
return;
|
|
76
|
+
}
|
|
77
|
+
focusList();
|
|
78
|
+
list.focusPrevious();
|
|
79
|
+
return getContentForNotification();
|
|
80
|
+
}));
|
|
81
|
+
}
|
|
82
|
+
return getProvider();
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
function getActionsFromNotification(notification, accessibilitySignalService) {
|
|
86
|
+
let actions = undefined;
|
|
87
|
+
if (notification.actions) {
|
|
88
|
+
actions = [];
|
|
89
|
+
if (notification.actions.primary) {
|
|
90
|
+
actions.push(...notification.actions.primary);
|
|
91
|
+
}
|
|
92
|
+
if (notification.actions.secondary) {
|
|
93
|
+
actions.push(...notification.actions.secondary);
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
if (actions) {
|
|
97
|
+
for (const action of actions) {
|
|
98
|
+
action.class = ThemeIcon.asClassName(Codicon.bell);
|
|
99
|
+
const initialAction = action.run;
|
|
100
|
+
action.run = () => {
|
|
101
|
+
initialAction();
|
|
102
|
+
notification.close();
|
|
103
|
+
};
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
const manageExtension = actions?.find(a => a.label.includes("Manage Extension"));
|
|
107
|
+
if (manageExtension) {
|
|
108
|
+
manageExtension.class = ThemeIcon.asClassName(Codicon.gear);
|
|
109
|
+
}
|
|
110
|
+
if (actions) {
|
|
111
|
+
actions.push({
|
|
112
|
+
id: "clearNotification",
|
|
113
|
+
label: ( localize(4088, "Clear Notification")),
|
|
114
|
+
tooltip: ( localize(4088, "Clear Notification")),
|
|
115
|
+
run: () => {
|
|
116
|
+
notification.close();
|
|
117
|
+
accessibilitySignalService.playSignal(AccessibilitySignal.clear);
|
|
118
|
+
},
|
|
119
|
+
enabled: true,
|
|
120
|
+
class: ThemeIcon.asClassName(Codicon.clearAll)
|
|
121
|
+
});
|
|
122
|
+
}
|
|
123
|
+
return actions;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
export { NotificationAccessibleView };
|
|
@@ -13,26 +13,26 @@ import { registerIcon } from '../../../../platform/theme/common/iconRegistry.js'
|
|
|
13
13
|
import { ThemeIcon } from '../../../../base/common/themables.js';
|
|
14
14
|
|
|
15
15
|
registerCss(notificationsActions);
|
|
16
|
-
const clearIcon = registerIcon("notifications-clear", Codicon.close, ( localize(
|
|
17
|
-
const clearAllIcon = registerIcon("notifications-clear-all", Codicon.clearAll, ( localize(
|
|
18
|
-
const hideIcon = registerIcon("notifications-hide", Codicon.chevronDown, ( localize(
|
|
16
|
+
const clearIcon = registerIcon("notifications-clear", Codicon.close, ( localize(4089, "Icon for the clear action in notifications.")));
|
|
17
|
+
const clearAllIcon = registerIcon("notifications-clear-all", Codicon.clearAll, ( localize(4090, "Icon for the clear all action in notifications.")));
|
|
18
|
+
const hideIcon = registerIcon("notifications-hide", Codicon.chevronDown, ( localize(4091, "Icon for the hide action in notifications.")));
|
|
19
19
|
const hideUpIcon = registerIcon("notifications-hide-up", Codicon.chevronUp, ( localize(
|
|
20
|
-
|
|
20
|
+
4092,
|
|
21
21
|
"Icon for the hide action in notifications when positioned at the top."
|
|
22
22
|
)));
|
|
23
|
-
const expandIcon = registerIcon("notifications-expand", Codicon.chevronUp, ( localize(
|
|
23
|
+
const expandIcon = registerIcon("notifications-expand", Codicon.chevronUp, ( localize(4093, "Icon for the expand action in notifications.")));
|
|
24
24
|
const expandDownIcon = registerIcon("notifications-expand-down", Codicon.chevronDown, ( localize(
|
|
25
|
-
|
|
25
|
+
4094,
|
|
26
26
|
"Icon for the expand action in notifications when the notification center is at the top."
|
|
27
27
|
)));
|
|
28
|
-
const collapseIcon = registerIcon("notifications-collapse", Codicon.chevronDown, ( localize(
|
|
28
|
+
const collapseIcon = registerIcon("notifications-collapse", Codicon.chevronDown, ( localize(4095, "Icon for the collapse action in notifications.")));
|
|
29
29
|
const collapseUpIcon = registerIcon("notifications-collapse-up", Codicon.chevronUp, ( localize(
|
|
30
|
-
|
|
30
|
+
4096,
|
|
31
31
|
"Icon for the collapse action in notifications when the notification center is at the top."
|
|
32
32
|
)));
|
|
33
|
-
const configureIcon = registerIcon("notifications-configure", Codicon.gear, ( localize(
|
|
34
|
-
const doNotDisturbIcon = registerIcon("notifications-do-not-disturb", Codicon.bellSlash, ( localize(
|
|
35
|
-
const positionIcon = registerIcon("notifications-position", Codicon.arrowSwap, ( localize(
|
|
33
|
+
const configureIcon = registerIcon("notifications-configure", Codicon.gear, ( localize(4097, "Icon for the configure action in notifications.")));
|
|
34
|
+
const doNotDisturbIcon = registerIcon("notifications-do-not-disturb", Codicon.bellSlash, ( localize(4098, "Icon for the mute all action in notifications.")));
|
|
35
|
+
const positionIcon = registerIcon("notifications-position", Codicon.arrowSwap, ( localize(4099, "Icon for the position action in notifications.")));
|
|
36
36
|
function getNotificationExpandIcon(position) {
|
|
37
37
|
return position === NotificationsPosition.TOP_RIGHT ? expandDownIcon : expandIcon;
|
|
38
38
|
}
|
|
@@ -44,7 +44,7 @@ let ClearNotificationAction = class ClearNotificationAction extends Action {
|
|
|
44
44
|
this.ID = CLEAR_NOTIFICATION;
|
|
45
45
|
}
|
|
46
46
|
static {
|
|
47
|
-
this.LABEL = ( localize(
|
|
47
|
+
this.LABEL = ( localize(4100, "Clear Notification"));
|
|
48
48
|
}
|
|
49
49
|
constructor(id, label, commandService) {
|
|
50
50
|
super(id, label, ThemeIcon.asClassName(clearIcon));
|
|
@@ -60,7 +60,7 @@ let ClearAllNotificationsAction = class ClearAllNotificationsAction extends Acti
|
|
|
60
60
|
this.ID = CLEAR_ALL_NOTIFICATIONS;
|
|
61
61
|
}
|
|
62
62
|
static {
|
|
63
|
-
this.LABEL = ( localize(
|
|
63
|
+
this.LABEL = ( localize(4101, "Clear All Notifications"));
|
|
64
64
|
}
|
|
65
65
|
constructor(id, label, commandService) {
|
|
66
66
|
super(id, label, ThemeIcon.asClassName(clearAllIcon));
|
|
@@ -76,7 +76,7 @@ let ToggleDoNotDisturbAction = class ToggleDoNotDisturbAction extends Action {
|
|
|
76
76
|
this.ID = TOGGLE_DO_NOT_DISTURB_MODE;
|
|
77
77
|
}
|
|
78
78
|
static {
|
|
79
|
-
this.LABEL = ( localize(
|
|
79
|
+
this.LABEL = ( localize(4102, "Toggle Do Not Disturb Mode"));
|
|
80
80
|
}
|
|
81
81
|
constructor(id, label, commandService) {
|
|
82
82
|
super(id, label, ThemeIcon.asClassName(doNotDisturbIcon));
|
|
@@ -92,7 +92,7 @@ let ToggleDoNotDisturbBySourceAction = class ToggleDoNotDisturbBySourceAction ex
|
|
|
92
92
|
this.ID = TOGGLE_DO_NOT_DISTURB_MODE_BY_SOURCE;
|
|
93
93
|
}
|
|
94
94
|
static {
|
|
95
|
-
this.LABEL = ( localize(
|
|
95
|
+
this.LABEL = ( localize(4103, "Toggle Do Not Disturb Mode By Source..."));
|
|
96
96
|
}
|
|
97
97
|
constructor(id, label, commandService) {
|
|
98
98
|
super(id, label);
|
|
@@ -108,7 +108,7 @@ class ConfigureDoNotDisturbAction extends Action {
|
|
|
108
108
|
this.ID = "workbench.action.configureDoNotDisturbMode";
|
|
109
109
|
}
|
|
110
110
|
static {
|
|
111
|
-
this.LABEL = ( localize(
|
|
111
|
+
this.LABEL = ( localize(4104, "Configure Do Not Disturb..."));
|
|
112
112
|
}
|
|
113
113
|
constructor(id, label) {
|
|
114
114
|
super(id, label, ThemeIcon.asClassName(doNotDisturbIcon));
|
|
@@ -119,7 +119,7 @@ class ConfigureNotificationsPositionAction extends Action {
|
|
|
119
119
|
this.ID = "workbench.action.configureNotificationsPosition";
|
|
120
120
|
}
|
|
121
121
|
static {
|
|
122
|
-
this.LABEL = ( localize(
|
|
122
|
+
this.LABEL = ( localize(4105, "Configure Notifications Position..."));
|
|
123
123
|
}
|
|
124
124
|
constructor(id, label) {
|
|
125
125
|
super(id, label, ThemeIcon.asClassName(positionIcon));
|
|
@@ -130,7 +130,7 @@ let HideNotificationsCenterAction = class HideNotificationsCenterAction extends
|
|
|
130
130
|
this.ID = HIDE_NOTIFICATIONS_CENTER;
|
|
131
131
|
}
|
|
132
132
|
static {
|
|
133
|
-
this.LABEL = ( localize(
|
|
133
|
+
this.LABEL = ( localize(4106, "Hide Notifications"));
|
|
134
134
|
}
|
|
135
135
|
constructor(id, label, commandService) {
|
|
136
136
|
super(id, label, ThemeIcon.asClassName(hideIcon));
|
|
@@ -146,7 +146,7 @@ let ExpandNotificationAction = class ExpandNotificationAction extends Action {
|
|
|
146
146
|
this.ID = EXPAND_NOTIFICATION;
|
|
147
147
|
}
|
|
148
148
|
static {
|
|
149
|
-
this.LABEL = ( localize(
|
|
149
|
+
this.LABEL = ( localize(4107, "Expand Notification"));
|
|
150
150
|
}
|
|
151
151
|
constructor(id, label, commandService) {
|
|
152
152
|
super(id, label, ThemeIcon.asClassName(expandIcon));
|
|
@@ -162,7 +162,7 @@ let CollapseNotificationAction = class CollapseNotificationAction extends Action
|
|
|
162
162
|
this.ID = COLLAPSE_NOTIFICATION;
|
|
163
163
|
}
|
|
164
164
|
static {
|
|
165
|
-
this.LABEL = ( localize(
|
|
165
|
+
this.LABEL = ( localize(4108, "Collapse Notification"));
|
|
166
166
|
}
|
|
167
167
|
constructor(id, label, commandService) {
|
|
168
168
|
super(id, label, ThemeIcon.asClassName(collapseIcon));
|
|
@@ -178,7 +178,7 @@ class ConfigureNotificationAction extends Action {
|
|
|
178
178
|
this.ID = "workbench.action.configureNotification";
|
|
179
179
|
}
|
|
180
180
|
static {
|
|
181
|
-
this.LABEL = ( localize(
|
|
181
|
+
this.LABEL = ( localize(4109, "More Actions..."));
|
|
182
182
|
}
|
|
183
183
|
constructor(id, label, notification) {
|
|
184
184
|
super(id, label, ThemeIcon.asClassName(configureIcon));
|
|
@@ -190,7 +190,7 @@ let CopyNotificationMessageAction = class CopyNotificationMessageAction extends
|
|
|
190
190
|
this.ID = "workbench.action.copyNotificationMessage";
|
|
191
191
|
}
|
|
192
192
|
static {
|
|
193
|
-
this.LABEL = ( localize(
|
|
193
|
+
this.LABEL = ( localize(4110, "Copy Text"));
|
|
194
194
|
}
|
|
195
195
|
constructor(id, label, clipboardService) {
|
|
196
196
|
super(id, label);
|
|
@@ -47,11 +47,11 @@ class NotificationsAlerts extends Disposable {
|
|
|
47
47
|
doTriggerAriaAlert(notification) {
|
|
48
48
|
let alertText;
|
|
49
49
|
if (notification.severity === Severity$1.Error) {
|
|
50
|
-
alertText = ( localize(
|
|
50
|
+
alertText = ( localize(4111, "Error: {0}", (notification.message.linkedText.toString())));
|
|
51
51
|
} else if (notification.severity === Severity$1.Warning) {
|
|
52
|
-
alertText = ( localize(
|
|
52
|
+
alertText = ( localize(4112, "Warning: {0}", (notification.message.linkedText.toString())));
|
|
53
53
|
} else {
|
|
54
|
-
alertText = ( localize(
|
|
54
|
+
alertText = ( localize(4113, "Info: {0}", (notification.message.linkedText.toString())));
|
|
55
55
|
}
|
|
56
56
|
alert(alertText);
|
|
57
57
|
}
|
|
@@ -162,10 +162,10 @@ let NotificationsCenter = class NotificationsCenter extends Themable {
|
|
|
162
162
|
updateTitle() {
|
|
163
163
|
const [notificationsCenterTitle, clearAllAction] = assertReturnsAllDefined(this.notificationsCenterTitle, this.clearAllAction);
|
|
164
164
|
if (this.model.notifications.length === 0) {
|
|
165
|
-
notificationsCenterTitle.textContent = ( localize(
|
|
165
|
+
notificationsCenterTitle.textContent = ( localize(4114, "No new notifications"));
|
|
166
166
|
clearAllAction.enabled = false;
|
|
167
167
|
} else {
|
|
168
|
-
notificationsCenterTitle.textContent = ( localize(
|
|
168
|
+
notificationsCenterTitle.textContent = ( localize(4115, "Notifications"));
|
|
169
169
|
clearAllAction.enabled = ( this.model.notifications.some(notification => !notification.hasActiveProgress));
|
|
170
170
|
}
|
|
171
171
|
}
|
|
@@ -181,7 +181,7 @@ let NotificationsCenter = class NotificationsCenter extends Themable {
|
|
|
181
181
|
const actionRunner = this._register(this.instantiationService.createInstance(NotificationActionRunner));
|
|
182
182
|
const that = this;
|
|
183
183
|
const notificationsToolBar = this._register(( new ActionBar(toolbarContainer, {
|
|
184
|
-
ariaLabel: ( localize(
|
|
184
|
+
ariaLabel: ( localize(4116, "Notification Center Actions")),
|
|
185
185
|
actionRunner,
|
|
186
186
|
actionViewItemProvider: (action, options) => {
|
|
187
187
|
if (action.id === ConfigureNotificationsPositionAction.ID) {
|
|
@@ -202,7 +202,7 @@ let NotificationsCenter = class NotificationsCenter extends Themable {
|
|
|
202
202
|
getActions() {
|
|
203
203
|
const actions = [toAction({
|
|
204
204
|
id: ToggleDoNotDisturbAction.ID,
|
|
205
|
-
label: that.notificationService.getFilter() === NotificationsFilter.OFF ? ( localize(
|
|
205
|
+
label: that.notificationService.getFilter() === NotificationsFilter.OFF ? ( localize(4117, "Enable Do Not Disturb Mode")) : ( localize(4118, "Disable Do Not Disturb Mode")),
|
|
206
206
|
run: () => that.notificationService.setFilter(
|
|
207
207
|
that.notificationService.getFilter() === NotificationsFilter.OFF ? NotificationsFilter.ERROR : NotificationsFilter.OFF
|
|
208
208
|
)
|
|
@@ -227,7 +227,7 @@ let NotificationsCenter = class NotificationsCenter extends Themable {
|
|
|
227
227
|
actions.push(that._register(that.instantiationService.createInstance(
|
|
228
228
|
ToggleDoNotDisturbBySourceAction,
|
|
229
229
|
ToggleDoNotDisturbBySourceAction.ID,
|
|
230
|
-
( localize(
|
|
230
|
+
( localize(4119, "More…"))
|
|
231
231
|
)));
|
|
232
232
|
}
|
|
233
233
|
return actions;
|
|
@@ -284,7 +284,7 @@ let NotificationsCenter = class NotificationsCenter extends Themable {
|
|
|
284
284
|
});
|
|
285
285
|
this.notificationsList = this._register(
|
|
286
286
|
this.instantiationService.createInstance(NotificationsList, this.notificationsCenterContainer, {
|
|
287
|
-
widgetAriaLabel: ( localize(
|
|
287
|
+
widgetAriaLabel: ( localize(4120, "Notifications Center"))
|
|
288
288
|
})
|
|
289
289
|
);
|
|
290
290
|
this._register(
|
|
@@ -228,7 +228,7 @@ function registerNotificationCommands(center, toasts, model) {
|
|
|
228
228
|
filter: source.filter
|
|
229
229
|
})));
|
|
230
230
|
picker.canSelectMany = true;
|
|
231
|
-
picker.placeholder = ( localize(
|
|
231
|
+
picker.placeholder = ( localize(4121, "Select sources to enable all notifications from"));
|
|
232
232
|
picker.selectedItems = picker.items.filter(item => item.filter === NotificationsFilter.OFF);
|
|
233
233
|
picker.show();
|
|
234
234
|
disposables.add(picker.onDidAccept(async () => {
|
|
@@ -243,18 +243,18 @@ function registerNotificationCommands(center, toasts, model) {
|
|
|
243
243
|
}));
|
|
244
244
|
disposables.add(picker.onDidHide(() => disposables.dispose()));
|
|
245
245
|
});
|
|
246
|
-
const category = ( localize2(
|
|
246
|
+
const category = ( localize2(4122, "Notifications"));
|
|
247
247
|
MenuRegistry.appendMenuItem(MenuId.CommandPalette, {
|
|
248
248
|
command: {
|
|
249
249
|
id: SHOW_NOTIFICATIONS_CENTER,
|
|
250
|
-
title: ( localize2(
|
|
250
|
+
title: ( localize2(4123, "Show Notifications")),
|
|
251
251
|
category
|
|
252
252
|
}
|
|
253
253
|
});
|
|
254
254
|
MenuRegistry.appendMenuItem(MenuId.CommandPalette, {
|
|
255
255
|
command: {
|
|
256
256
|
id: HIDE_NOTIFICATIONS_CENTER,
|
|
257
|
-
title: ( localize2(
|
|
257
|
+
title: ( localize2(4124, "Hide Notifications")),
|
|
258
258
|
category
|
|
259
259
|
},
|
|
260
260
|
when: NotificationsCenterVisibleContext
|
|
@@ -262,35 +262,35 @@ function registerNotificationCommands(center, toasts, model) {
|
|
|
262
262
|
MenuRegistry.appendMenuItem(MenuId.CommandPalette, {
|
|
263
263
|
command: {
|
|
264
264
|
id: CLEAR_ALL_NOTIFICATIONS,
|
|
265
|
-
title: ( localize2(
|
|
265
|
+
title: ( localize2(4125, "Clear All Notifications")),
|
|
266
266
|
category
|
|
267
267
|
}
|
|
268
268
|
});
|
|
269
269
|
MenuRegistry.appendMenuItem(MenuId.CommandPalette, {
|
|
270
270
|
command: {
|
|
271
271
|
id: ACCEPT_PRIMARY_ACTION_NOTIFICATION,
|
|
272
|
-
title: ( localize2(
|
|
272
|
+
title: ( localize2(4126, "Accept Notification Primary Action")),
|
|
273
273
|
category
|
|
274
274
|
}
|
|
275
275
|
});
|
|
276
276
|
MenuRegistry.appendMenuItem(MenuId.CommandPalette, {
|
|
277
277
|
command: {
|
|
278
278
|
id: TOGGLE_DO_NOT_DISTURB_MODE,
|
|
279
|
-
title: ( localize2(
|
|
279
|
+
title: ( localize2(4127, "Toggle Do Not Disturb Mode")),
|
|
280
280
|
category
|
|
281
281
|
}
|
|
282
282
|
});
|
|
283
283
|
MenuRegistry.appendMenuItem(MenuId.CommandPalette, {
|
|
284
284
|
command: {
|
|
285
285
|
id: TOGGLE_DO_NOT_DISTURB_MODE_BY_SOURCE,
|
|
286
|
-
title: ( localize2(
|
|
286
|
+
title: ( localize2(4128, "Toggle Do Not Disturb Mode By Source...")),
|
|
287
287
|
category
|
|
288
288
|
}
|
|
289
289
|
});
|
|
290
290
|
MenuRegistry.appendMenuItem(MenuId.CommandPalette, {
|
|
291
291
|
command: {
|
|
292
292
|
id: FOCUS_NOTIFICATION_TOAST,
|
|
293
|
-
title: ( localize2(
|
|
293
|
+
title: ( localize2(4129, "Focus Notification Toast")),
|
|
294
294
|
category
|
|
295
295
|
},
|
|
296
296
|
when: NotificationsToastsVisibleContext
|
|
@@ -298,7 +298,7 @@ function registerNotificationCommands(center, toasts, model) {
|
|
|
298
298
|
MenuRegistry.appendMenuItem(MenuId.TitleBar, {
|
|
299
299
|
command: {
|
|
300
300
|
id: TOGGLE_NOTIFICATIONS_CENTER,
|
|
301
|
-
title: ( localize(
|
|
301
|
+
title: ( localize(4130, "Toggle Notifications")),
|
|
302
302
|
icon: Codicon.bell
|
|
303
303
|
},
|
|
304
304
|
group: "navigation",
|
|
@@ -313,7 +313,7 @@ registerAction2(class SetNotificationsPositionBottomRight extends Action2 {
|
|
|
313
313
|
constructor() {
|
|
314
314
|
super({
|
|
315
315
|
id: "workbench.action.setNotificationsPosition.bottomRight",
|
|
316
|
-
title: ( localize2(
|
|
316
|
+
title: ( localize2(4131, "Bottom Right")),
|
|
317
317
|
toggled: ( ContextKeyExpr.equals(
|
|
318
318
|
`config.${NotificationsSettings.NOTIFICATIONS_POSITION}`,
|
|
319
319
|
NotificationsPosition.BOTTOM_RIGHT
|
|
@@ -335,7 +335,7 @@ registerAction2(class SetNotificationsPositionBottomLeft extends Action2 {
|
|
|
335
335
|
constructor() {
|
|
336
336
|
super({
|
|
337
337
|
id: "workbench.action.setNotificationsPosition.bottomLeft",
|
|
338
|
-
title: ( localize2(
|
|
338
|
+
title: ( localize2(4132, "Bottom Left")),
|
|
339
339
|
toggled: ( ContextKeyExpr.equals(
|
|
340
340
|
`config.${NotificationsSettings.NOTIFICATIONS_POSITION}`,
|
|
341
341
|
NotificationsPosition.BOTTOM_LEFT
|
|
@@ -357,7 +357,7 @@ registerAction2(class SetNotificationsPositionTopRight extends Action2 {
|
|
|
357
357
|
constructor() {
|
|
358
358
|
super({
|
|
359
359
|
id: "workbench.action.setNotificationsPosition.topRight",
|
|
360
|
-
title: ( localize2(
|
|
360
|
+
title: ( localize2(4133, "Top Right")),
|
|
361
361
|
toggled: ( ContextKeyExpr.equals(
|
|
362
362
|
`config.${NotificationsSettings.NOTIFICATIONS_POSITION}`,
|
|
363
363
|
NotificationsPosition.TOP_RIGHT
|
|
@@ -193,29 +193,29 @@ let NotificationAccessibilityProvider = class NotificationAccessibilityProvider
|
|
|
193
193
|
let accessibleViewHint;
|
|
194
194
|
const keybinding = this._keybindingService.lookupKeybinding("editor.action.accessibleView")?.getAriaLabel();
|
|
195
195
|
if (this._configurationService.getValue("accessibility.verbosity.notification")) {
|
|
196
|
-
accessibleViewHint = keybinding ? ( localize(
|
|
197
|
-
|
|
196
|
+
accessibleViewHint = keybinding ? ( localize(4134, "Inspect the response in the accessible view with {0}", keybinding)) : ( localize(
|
|
197
|
+
4135,
|
|
198
198
|
"Inspect the response in the accessible view via the command Open Accessible View which is currently not triggerable via keybinding"
|
|
199
199
|
));
|
|
200
200
|
}
|
|
201
201
|
if (!element.source) {
|
|
202
|
-
return withSeverityPrefix(accessibleViewHint ? ( localize(
|
|
202
|
+
return withSeverityPrefix(accessibleViewHint ? ( localize(4136, "{0}, notification, {1}", element.message.raw, accessibleViewHint)) : ( localize(4137, "{0}, notification", element.message.raw)), element.severity);
|
|
203
203
|
}
|
|
204
204
|
return withSeverityPrefix(accessibleViewHint ? ( localize(
|
|
205
|
-
|
|
205
|
+
4138,
|
|
206
206
|
"{0}, source: {1}, notification, {2}",
|
|
207
207
|
element.message.raw,
|
|
208
208
|
element.source,
|
|
209
209
|
accessibleViewHint
|
|
210
210
|
)) : ( localize(
|
|
211
|
-
|
|
211
|
+
4139,
|
|
212
212
|
"{0}, source: {1}, notification",
|
|
213
213
|
element.message.raw,
|
|
214
214
|
element.source
|
|
215
215
|
)), element.severity);
|
|
216
216
|
}
|
|
217
217
|
getWidgetAriaLabel() {
|
|
218
|
-
return this._options.widgetAriaLabel ?? ( localize(
|
|
218
|
+
return this._options.widgetAriaLabel ?? ( localize(4140, "Notifications List"));
|
|
219
219
|
}
|
|
220
220
|
getRole() {
|
|
221
221
|
return "dialog";
|