@codingame/monaco-vscode-api 10.0.2 → 10.1.1
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/README.md +27 -0
- package/missing-services.js +7060 -1573
- package/monaco.d.ts +1 -1
- package/monaco.js +1 -1
- package/package.json +8 -15
- package/vscode/src/vs/base/browser/ui/actionbar/actionViewItems.js +1 -1
- package/vscode/src/vs/base/browser/ui/dropdown/dropdownActionViewItem.js +1 -1
- package/vscode/src/vs/base/browser/ui/splitview/paneview.js +1 -1
- package/vscode/src/vs/base/browser/ui/toolbar/toolbar.js +1 -1
- package/vscode/src/vs/base/browser/ui/tree/abstractTree.js +9 -9
- package/vscode/src/vs/base/common/date.js +61 -61
- package/vscode/src/vs/base/common/errorMessage.js +15 -6
- package/vscode/src/vs/base/common/errors.d.ts +3 -1
- package/vscode/src/vs/base/common/jsonErrorMessages.js +9 -9
- package/vscode/src/vs/editor/browser/controller/editContext/native/screenReaderSupport.js +1 -1
- package/vscode/src/vs/editor/browser/controller/editContext/screenReaderUtils.js +4 -4
- package/vscode/src/vs/editor/browser/coreCommands.js +3 -3
- package/vscode/src/vs/editor/browser/gpu/viewGpuContext.js +1 -1
- package/vscode/src/vs/editor/browser/services/hoverService/hoverWidget.js +1 -1
- package/vscode/src/vs/editor/browser/services/hoverService/updatableHoverWidget.js +1 -1
- package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorWidget.js +2 -2
- package/vscode/src/vs/editor/browser/widget/diffEditor/commands.js +12 -12
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/accessibleDiffViewer.js +14 -14
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorEditors.js +1 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditor.contribution.js +5 -5
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/hideUnchangedRegionsFeature.js +7 -7
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/movedBlocksLinesFeature.js +4 -4
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/revertButtonsFeature.js +2 -2
- package/vscode/src/vs/editor/browser/widget/diffEditor/registrations.contribution.js +5 -5
- package/vscode/src/vs/editor/common/config/editorConfigurationSchema.js +51 -51
- package/vscode/src/vs/editor/common/config/editorOptions.js +368 -368
- 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/standaloneStrings.js +32 -32
- 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/codeAction.js +1 -1
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionCommands.js +28 -28
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionContributions.js +3 -3
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionController.js +3 -3
- package/vscode/src/vs/editor/contrib/codeAction/browser/lightBulbWidget.js +9 -9
- package/vscode/src/vs/editor/contrib/codelens/browser/codelensController.js +2 -2
- package/vscode/src/vs/editor/contrib/colorPicker/browser/hoverColorPicker/hoverColorPickerParticipant.js +1 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerActions.js +7 -7
- 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/copyPasteController.js +7 -7
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/defaultProviders.js +8 -8
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorContribution.js +1 -1
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController.js +3 -3
- package/vscode/src/vs/editor/contrib/find/browser/findController.js +16 -16
- package/vscode/src/vs/editor/contrib/find/browser/findWidget.js +27 -27
- 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/gotoError/browser/gotoErrorWidget.js +14 -14
- 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/referencesController.js +3 -3
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesTree.js +3 -3
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.js +3 -3
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/referencesModel.js +8 -8
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/symbolNavigation.js +3 -3
- package/vscode/src/vs/editor/contrib/gpu/browser/gpuActions.js +4 -4
- package/vscode/src/vs/editor/contrib/hover/browser/hoverAccessibleViews.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/hover/browser/markerHoverParticipant.js +5 -5
- 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/inlayHints/browser/inlayHintsHover.js +8 -8
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/commands.js +14 -14
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.js +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.js +2 -2
- 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/message/browser/messageController.js +1 -1
- package/vscode/src/vs/editor/contrib/multicursor/browser/multicursor.js +22 -22
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHints.js +1 -1
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.js +4 -4
- package/vscode/src/vs/editor/contrib/peekView/browser/peekView.js +17 -17
- package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderText.contribution.js +1 -1
- package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess.js +5 -5
- package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess.js +32 -32
- package/vscode/src/vs/editor/contrib/readOnlyMessage/browser/contribution.js +2 -2
- package/vscode/src/vs/editor/contrib/rename/browser/rename.js +11 -11
- package/vscode/src/vs/editor/contrib/rename/browser/renameWidget.js +6 -6
- 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/stickyScroll/browser/stickyScrollActions.js +11 -11
- package/vscode/src/vs/editor/contrib/suggest/browser/suggest.js +8 -8
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestController.js +10 -10
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidget.js +16 -16
- 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/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/highlightDecorations.js +9 -9
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.js +3 -3
- package/vscode/src/vs/editor/contrib/wordOperations/browser/wordOperations.js +1 -1
- package/vscode/src/vs/platform/action/common/actionCommonCategories.js +6 -6
- package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.js +5 -5
- package/vscode/src/vs/platform/actions/browser/toolbar.js +2 -2
- package/vscode/src/vs/platform/actions/common/menuResetAction.js +1 -1
- package/vscode/src/vs/platform/actions/common/menuService.js +2 -2
- package/vscode/src/vs/platform/contextkey/browser/contextKeyService.js +1 -1
- package/vscode/src/vs/platform/contextkey/common/contextkey.js +11 -11
- package/vscode/src/vs/platform/contextkey/common/contextkeys.js +9 -9
- 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 +2 -2
- package/vscode/src/vs/platform/extensionManagement/common/extensionNls.js +1 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.js +7 -11
- 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/files/common/files.js +6 -6
- package/vscode/src/vs/platform/keybinding/common/abstractKeybindingService.js +4 -4
- package/vscode/src/vs/platform/list/browser/listService.js +27 -27
- package/vscode/src/vs/platform/log/common/log.js +6 -6
- package/vscode/src/vs/platform/markers/common/markers.js +3 -3
- package/vscode/src/vs/platform/quickinput/browser/quickInput.js +8 -8
- package/vscode/src/vs/platform/quickinput/browser/quickInputController.js +6 -6
- package/vscode/src/vs/platform/request/common/request.js +14 -14
- package/vscode/src/vs/platform/theme/common/iconRegistry.js +5 -5
- package/vscode/src/vs/platform/theme/common/tokenClassificationRegistry.js +42 -42
- package/vscode/src/vs/platform/undoRedo/common/undoRedoService.js +20 -20
- package/vscode/src/vs/platform/userDataSync/common/userDataSync.js +5 -5
- package/vscode/src/vs/platform/workspace/common/workspace.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostDiagnostics.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostExtensionService.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostLanguageModels.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostLogService.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostNotebook.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostStatusBar.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostTerminalService.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTreeViews.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTunnelService.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostWorkspace.js +1 -1
- package/vscode/src/vs/workbench/api/common/jsonValidationExtensionPoint.js +12 -12
- package/vscode/src/vs/workbench/browser/actions/developerActions.js +31 -31
- package/vscode/src/vs/workbench/browser/actions/layoutActions.js +129 -129
- package/vscode/src/vs/workbench/browser/actions/textInputActions.js +6 -6
- package/vscode/src/vs/workbench/browser/actions/windowActions.js +25 -25
- 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/parts/editor/breadcrumbs.js +41 -41
- package/vscode/src/vs/workbench/browser/parts/editor/editorCommands.js +16 -16
- 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/globalCompositeBar.js +15 -15
- 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/titlebar/menubarControl.js +18 -18
- package/vscode/src/vs/workbench/browser/parts/titlebar/windowTitle.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/views/viewFilter.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/views/viewPane.js +4 -4
- package/vscode/src/vs/workbench/browser/parts/views/viewPaneContainer.js +6 -6
- package/vscode/src/vs/workbench/browser/quickaccess.js +1 -1
- package/vscode/src/vs/workbench/browser/workbench.contribution.js +217 -217
- package/vscode/src/vs/workbench/common/configuration.js +10 -10
- package/vscode/src/vs/workbench/common/contextkeys.js +70 -70
- package/vscode/src/vs/workbench/common/editor/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/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/chatActions.js +17 -18
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatConstants.js +5 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatExecuteActions.js +7 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatTitleActions.js +8 -7
- 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 +13 -12
- 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 +3 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/codeBlockPart.js +15 -15
- package/vscode/src/vs/workbench/contrib/chat/browser/contrib/chatDynamicVariables.js +4 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/contrib/chatDynamicVariablesConstant.js +2 -0
- 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 +3 -3
- package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +15 -15
- package/vscode/src/vs/workbench/contrib/codeActions/common/codeActionsExtensionPoint.js +10 -10
- package/vscode/src/vs/workbench/contrib/codeActions/common/documentationExtensionPoint.js +6 -6
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorAccessibilityHelp.js +5 -5
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/largeFileOptimizations.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoSymbolQuickAccess.js +6 -6
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMinimap.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMultiCursorModifier.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderControlCharacter.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderWhitespace.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +5 -5
- package/vscode/src/vs/workbench/contrib/comments/browser/commentReply.js +4 -4
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsAccessibility.js +12 -12
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsController.js +5 -5
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsModel.js +1 -1
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsTreeViewer.js +9 -9
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsView.js +13 -13
- package/vscode/src/vs/workbench/contrib/comments/common/commentContextKeys.js +10 -10
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointEditorContribution.js +29 -29
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointsView.js +65 -65
- package/vscode/src/vs/workbench/contrib/debug/browser/callStackEditorContribution.js +2 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/debugColors.js +12 -12
- package/vscode/src/vs/workbench/contrib/debug/browser/debugCommands.js +34 -34
- package/vscode/src/vs/workbench/contrib/debug/browser/debugIcons.js +57 -57
- package/vscode/src/vs/workbench/contrib/debug/common/abstractDebugAdapter.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/debug.js +63 -63
- package/vscode/src/vs/workbench/contrib/debug/common/debugModel.js +6 -6
- package/vscode/src/vs/workbench/contrib/debug/common/debugSource.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/disassemblyViewInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActions.js +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/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.js +84 -84
- package/vscode/src/vs/workbench/contrib/files/browser/fileConstants.js +6 -6
- package/vscode/src/vs/workbench/contrib/files/browser/fileImportExport.js +33 -33
- package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._configuration.js +52 -52
- package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._editorPane.js +2 -2
- package/vscode/src/vs/workbench/contrib/files/browser/views/emptyView.js +1 -1
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerView.js +8 -8
- package/vscode/src/vs/workbench/contrib/files/browser/views/openEditorsView.js +7 -7
- package/vscode/src/vs/workbench/contrib/files/common/files.js +14 -14
- 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/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/listResizeColumnAction.js +2 -2
- 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/mergeEditor/common/mergeEditor.js +8 -8
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffEditorInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/scmMultiDiffSourceResolver.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/executionStatusBarItemController.js +6 -6
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindWidget.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/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/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/browser/preferencesIcons.js +12 -12
- package/vscode/src/vs/workbench/contrib/scm/browser/dirtyDiffSwitcher.js +2 -2
- package/vscode/src/vs/workbench/contrib/scm/browser/dirtydiffDecorator.js +23 -23
- package/vscode/src/vs/workbench/contrib/scm/browser/scmHistory.js +13 -13
- package/vscode/src/vs/workbench/contrib/search/browser/anythingQuickAccess.js +5 -1
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsFind.js +10 -10
- 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/taskDefinitionRegistry.js +5 -5
- package/vscode/src/vs/workbench/contrib/tasks/common/taskService.js +5 -5
- package/vscode/src/vs/workbench/contrib/tasks/common/tasks.js +3 -3
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalEditorInput.js +4 -4
- package/vscode/src/vs/workbench/contrib/terminal/common/terminal.js +7 -7
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalContextKey.js +16 -16
- package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatControllerHolder.js +5 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testResult.js +2 -2
- 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/workspace/common/workspace.js +2 -2
- package/vscode/src/vs/workbench/services/activity/common/activity.js +4 -4
- package/vscode/src/vs/workbench/services/auxiliaryWindow/browser/auxiliaryWindowService.js +5 -5
- package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +15 -15
- package/vscode/src/vs/workbench/services/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/filesConfiguration/common/filesConfigurationService.js +5 -5
- package/vscode/src/vs/workbench/services/language/common/languageService.js +28 -28
- package/vscode/src/vs/workbench/services/preferences/browser/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 +2 -2
- package/vscode/src/vs/workbench/services/search/common/queryBuilder.js +1 -1
- package/vscode/src/vs/workbench/services/textMate/common/TMGrammars.js +9 -9
- package/vscode/src/vs/workbench/services/textfile/common/textFileEditorModel.js +3 -3
- package/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.js +22 -22
- package/vscode/src/vs/workbench/services/themes/common/colorThemeData.js +8 -8
- package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +13 -13
- package/vscode/src/vs/workbench/services/views/browser/viewsService.js +7 -7
- package/vscode/src/vs/base/common/processes.js +0 -25
- package/vscode/src/vs/platform/terminal/common/capabilities/bufferMarkCapability.js +0 -41
- package/vscode/src/vs/platform/terminal/common/capabilities/commandDetection/promptInputModel.js +0 -345
- package/vscode/src/vs/platform/terminal/common/capabilities/commandDetection/terminalCommand.js +0 -296
- package/vscode/src/vs/platform/terminal/common/capabilities/commandDetectionCapability.js +0 -761
- package/vscode/src/vs/platform/terminal/common/capabilities/cwdDetectionCapability.js +0 -29
- package/vscode/src/vs/platform/terminal/common/capabilities/naiveCwdDetectionCapability.js +0 -22
- package/vscode/src/vs/platform/terminal/common/capabilities/partialCommandDetectionCapability.js +0 -48
- package/vscode/src/vs/platform/terminal/common/capabilities/terminalCapabilityStore.js +0 -94
- package/vscode/src/vs/platform/terminal/common/environmentVariable.js +0 -7
- package/vscode/src/vs/platform/terminal/common/environmentVariableCollection.js +0 -196
- package/vscode/src/vs/platform/terminal/common/terminalEnvironment.js +0 -40
- package/vscode/src/vs/platform/terminal/common/terminalProfiles.js +0 -107
- package/vscode/src/vs/platform/terminal/common/terminalRecorder.js +0 -67
- package/vscode/src/vs/platform/terminal/common/xterm/shellIntegrationAddon.js +0 -346
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatQuickInputActions.js +0 -167
- package/vscode/src/vs/workbench/contrib/terminal/browser/environmentVariableInfo.js +0 -119
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalActions.js +0 -1770
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalContextMenu.js +0 -40
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalExtensions.js +0 -25
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalIconPicker.js +0 -72
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalIcons.js +0 -16
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalInstance.js +0 -2218
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalProcessManager.js +0 -628
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalQuickAccess.js +0 -143
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalResizeDebouncer.js +0 -61
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalRunRecentQuickPick.js +0 -315
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalStatusList.js +0 -121
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalUri.js +0 -39
- package/vscode/src/vs/workbench/contrib/terminal/browser/widgets/widgetManager.js +0 -36
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/decorationAddon.js +0 -498
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/decorationStyles.js +0 -123
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/lineDataEventAddon.js +0 -55
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/markNavigationAddon.js +0 -571
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/xtermTerminal.js +0 -732
- package/vscode/src/vs/workbench/contrib/terminal/common/history.js +0 -378
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalClipboard.js +0 -80
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalEnvironment.js +0 -282
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalStrings.js +0 -36
- package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/media/terminalChatWidget.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChat.js +0 -46
- package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatController.js +0 -303
- package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatWidget.js +0 -203
- package/vscode/src/vs/workbench/contrib/terminalContrib/stickyScroll/browser/media/stickyScroll.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/terminalContrib/stickyScroll/browser/terminalStickyScrollColorRegistry.js +0 -22
- package/vscode/src/vs/workbench/contrib/terminalContrib/stickyScroll/browser/terminalStickyScrollContribution.js +0 -97
- package/vscode/src/vs/workbench/contrib/terminalContrib/stickyScroll/browser/terminalStickyScrollOverlay.js +0 -372
|
@@ -110,9 +110,9 @@ let PromptExtensionInstallFailureAction = class PromptExtensionInstallFailureAct
|
|
|
110
110
|
}
|
|
111
111
|
this.logService.error(this.error);
|
|
112
112
|
if (this.error.name === "Unsupported" ) {
|
|
113
|
-
const productName = isWeb ? ( localize(
|
|
113
|
+
const productName = isWeb ? ( localize(7977, "{0} for the Web", this.productService.nameLong)) : this.productService.nameLong;
|
|
114
114
|
const message = ( localize(
|
|
115
|
-
|
|
115
|
+
7978,
|
|
116
116
|
"The '{0}' extension is not available in {1}. Click 'More Information' to learn more.",
|
|
117
117
|
this.extension.displayName || this.extension.identifier.id,
|
|
118
118
|
productName
|
|
@@ -120,8 +120,8 @@ let PromptExtensionInstallFailureAction = class PromptExtensionInstallFailureAct
|
|
|
120
120
|
const { confirmed } = await this.dialogService.confirm({
|
|
121
121
|
type: Severity$1.Info,
|
|
122
122
|
message,
|
|
123
|
-
primaryButton: ( localize(
|
|
124
|
-
cancelButton: ( localize(
|
|
123
|
+
primaryButton: ( localize(7979, "&&More Information")),
|
|
124
|
+
cancelButton: ( localize(7980, "Close"))
|
|
125
125
|
});
|
|
126
126
|
if (confirmed) {
|
|
127
127
|
this.openerService.open(isWeb ? ( (URI.parse('https://aka.ms/vscode-web-extensions-guide'))) : ( (URI.parse('https://aka.ms/vscode-remote'))));
|
|
@@ -133,14 +133,14 @@ let PromptExtensionInstallFailureAction = class PromptExtensionInstallFailureAct
|
|
|
133
133
|
type: 'error',
|
|
134
134
|
message: getErrorMessage(this.error),
|
|
135
135
|
buttons: [{
|
|
136
|
-
label: ( localize(
|
|
136
|
+
label: ( localize(7981, "Install Pre-Release")),
|
|
137
137
|
run: () => {
|
|
138
138
|
const installAction = this.instantiationService.createInstance(InstallAction, { installPreReleaseVersion: true });
|
|
139
139
|
installAction.extension = this.extension;
|
|
140
140
|
return installAction.run();
|
|
141
141
|
}
|
|
142
142
|
}],
|
|
143
|
-
cancelButton: ( localize(
|
|
143
|
+
cancelButton: ( localize(7982, "Cancel"))
|
|
144
144
|
});
|
|
145
145
|
return;
|
|
146
146
|
}
|
|
@@ -152,13 +152,13 @@ let PromptExtensionInstallFailureAction = class PromptExtensionInstallFailureAct
|
|
|
152
152
|
await this.dialogService.prompt({
|
|
153
153
|
type: 'error',
|
|
154
154
|
message: ( localize(
|
|
155
|
-
|
|
155
|
+
7983,
|
|
156
156
|
"'{0}' is an extension from an unknown source. Are you sure you want to install?",
|
|
157
157
|
this.extension.displayName
|
|
158
158
|
)),
|
|
159
159
|
detail: getErrorMessage(this.error),
|
|
160
160
|
buttons: [{
|
|
161
|
-
label: ( localize(
|
|
161
|
+
label: ( localize(7984, "Install Anyway")),
|
|
162
162
|
run: () => {
|
|
163
163
|
const installAction = this.instantiationService.createInstance(InstallAction, { ...this.options, donotVerifySignature: true, });
|
|
164
164
|
installAction.extension = this.extension;
|
|
@@ -173,17 +173,17 @@ let PromptExtensionInstallFailureAction = class PromptExtensionInstallFailureAct
|
|
|
173
173
|
await this.dialogService.prompt({
|
|
174
174
|
type: 'error',
|
|
175
175
|
message: ( localize(
|
|
176
|
-
|
|
176
|
+
7985,
|
|
177
177
|
"Cannot install '{0}' extension because {1} cannot verify the extension signature",
|
|
178
178
|
this.extension.displayName,
|
|
179
179
|
this.productService.nameLong
|
|
180
180
|
)),
|
|
181
181
|
detail: getErrorMessage(this.error),
|
|
182
182
|
buttons: [{
|
|
183
|
-
label: ( localize(
|
|
183
|
+
label: ( localize(7986, "Learn More")),
|
|
184
184
|
run: () => this.openerService.open('https://code.visualstudio.com/docs/editor/extension-marketplace#_the-extension-signature-cannot-be-verified-by-vs-code')
|
|
185
185
|
}, {
|
|
186
|
-
label: ( localize(
|
|
186
|
+
label: ( localize(7987, "Install Anyway (Don't Verify Signature)")),
|
|
187
187
|
run: () => {
|
|
188
188
|
const installAction = this.instantiationService.createInstance(InstallAction, { ...this.options, donotVerifySignature: true, });
|
|
189
189
|
installAction.extension = this.extension;
|
|
@@ -195,12 +195,12 @@ let PromptExtensionInstallFailureAction = class PromptExtensionInstallFailureAct
|
|
|
195
195
|
return;
|
|
196
196
|
}
|
|
197
197
|
const operationMessage = this.installOperation === 3 ? ( localize(
|
|
198
|
-
|
|
198
|
+
7988,
|
|
199
199
|
"Error while updating '{0}' extension.",
|
|
200
200
|
this.extension.displayName || this.extension.identifier.id
|
|
201
201
|
))
|
|
202
202
|
: ( localize(
|
|
203
|
-
|
|
203
|
+
7989,
|
|
204
204
|
"Error while installing '{0}' extension.",
|
|
205
205
|
this.extension.displayName || this.extension.identifier.id
|
|
206
206
|
));
|
|
@@ -209,19 +209,19 @@ let PromptExtensionInstallFailureAction = class PromptExtensionInstallFailureAct
|
|
|
209
209
|
const downloadUrl = await this.getDownloadUrl();
|
|
210
210
|
if (downloadUrl) {
|
|
211
211
|
additionalMessage = ( localize(
|
|
212
|
-
|
|
212
|
+
7990,
|
|
213
213
|
"Please check the [log]({0}) for more details.",
|
|
214
214
|
`command:${showWindowLogActionId}`
|
|
215
215
|
));
|
|
216
216
|
promptChoices.push({
|
|
217
|
-
label: ( localize(
|
|
217
|
+
label: ( localize(7991, "Try Downloading Manually...")),
|
|
218
218
|
run: () => this.openerService.open(downloadUrl).then(() => {
|
|
219
219
|
this.notificationService.prompt(Severity$1.Info, ( localize(
|
|
220
|
-
|
|
220
|
+
7992,
|
|
221
221
|
'Once downloaded, please manually install the downloaded VSIX of \'{0}\'.',
|
|
222
222
|
this.extension.identifier.id
|
|
223
223
|
)), [{
|
|
224
|
-
label: ( localize(
|
|
224
|
+
label: ( localize(7993, "Install from VSIX...")),
|
|
225
225
|
run: () => this.commandService.executeCommand(SELECT_INSTALL_VSIX_EXTENSION_COMMAND_ID)
|
|
226
226
|
}]);
|
|
227
227
|
})
|
|
@@ -397,7 +397,7 @@ let InstallAction = class InstallAction extends ExtensionAction {
|
|
|
397
397
|
this.updateLabel();
|
|
398
398
|
}
|
|
399
399
|
constructor(options, extensionsWorkbenchService, instantiationService, runtimeExtensionService, workbenchThemeService, labelService, dialogService, preferencesService, telemetryService, contextService) {
|
|
400
|
-
super('extensions.install', ( localize(
|
|
400
|
+
super('extensions.install', ( localize(7994, "Install")), InstallAction_1.CLASS, false);
|
|
401
401
|
this.extensionsWorkbenchService = extensionsWorkbenchService;
|
|
402
402
|
this.instantiationService = instantiationService;
|
|
403
403
|
this.runtimeExtensionService = runtimeExtensionService;
|
|
@@ -454,14 +454,14 @@ let InstallAction = class InstallAction extends ExtensionAction {
|
|
|
454
454
|
const { result } = await this.dialogService.prompt({
|
|
455
455
|
type: Severity$1.Warning,
|
|
456
456
|
message: ( localize(
|
|
457
|
-
|
|
457
|
+
7983,
|
|
458
458
|
"'{0}' is an extension from an unknown source. Are you sure you want to install?",
|
|
459
459
|
this.extension.displayName
|
|
460
460
|
)),
|
|
461
|
-
detail: ( localize(
|
|
461
|
+
detail: ( localize(7995, "Extension is not signed.")),
|
|
462
462
|
buttons: [
|
|
463
463
|
{
|
|
464
|
-
label: ( localize(
|
|
464
|
+
label: ( localize(7984, "Install Anyway")),
|
|
465
465
|
run: () => {
|
|
466
466
|
this.options.donotVerifySignature = true;
|
|
467
467
|
return true;
|
|
@@ -477,7 +477,7 @@ let InstallAction = class InstallAction extends ExtensionAction {
|
|
|
477
477
|
}
|
|
478
478
|
}
|
|
479
479
|
if (this.extension.deprecationInfo) {
|
|
480
|
-
let detail = ( localize(
|
|
480
|
+
let detail = ( localize(7996, "This extension is deprecated as it is no longer being maintained."));
|
|
481
481
|
let DeprecationChoice;
|
|
482
482
|
( ((function(DeprecationChoice) {
|
|
483
483
|
DeprecationChoice[DeprecationChoice["InstallAnyway"] = 0] = "InstallAnyway";
|
|
@@ -487,19 +487,19 @@ let InstallAction = class InstallAction extends ExtensionAction {
|
|
|
487
487
|
})(DeprecationChoice || (DeprecationChoice = {}))));
|
|
488
488
|
const buttons = [
|
|
489
489
|
{
|
|
490
|
-
label: ( localize(
|
|
490
|
+
label: ( localize(7984, "Install Anyway")),
|
|
491
491
|
run: () => DeprecationChoice.InstallAnyway
|
|
492
492
|
}
|
|
493
493
|
];
|
|
494
494
|
if (this.extension.deprecationInfo.extension) {
|
|
495
495
|
detail = ( localize(
|
|
496
|
-
|
|
496
|
+
7997,
|
|
497
497
|
"This extension is deprecated. Use the {0} extension instead.",
|
|
498
498
|
this.extension.deprecationInfo.extension.displayName
|
|
499
499
|
));
|
|
500
500
|
const alternateExtension = this.extension.deprecationInfo.extension;
|
|
501
501
|
buttons.push({
|
|
502
|
-
label: ( localize(
|
|
502
|
+
label: ( localize(7998, "&&Open {0}", this.extension.deprecationInfo.extension.displayName)),
|
|
503
503
|
run: async () => {
|
|
504
504
|
const [extension] = await this.extensionsWorkbenchService.getExtensions([{ id: alternateExtension.id, preRelease: alternateExtension.preRelease }], CancellationToken.None);
|
|
505
505
|
await this.extensionsWorkbenchService.open(extension);
|
|
@@ -509,12 +509,12 @@ let InstallAction = class InstallAction extends ExtensionAction {
|
|
|
509
509
|
}
|
|
510
510
|
else if (this.extension.deprecationInfo.settings) {
|
|
511
511
|
detail = ( localize(
|
|
512
|
-
|
|
512
|
+
7999,
|
|
513
513
|
"This extension is deprecated as this functionality is now built-in to VS Code."
|
|
514
514
|
));
|
|
515
515
|
const settings = this.extension.deprecationInfo.settings;
|
|
516
516
|
buttons.push({
|
|
517
|
-
label: ( localize(
|
|
517
|
+
label: ( localize(8000, "&&Configure Settings")),
|
|
518
518
|
run: async () => {
|
|
519
519
|
await this.preferencesService.openSettings({ query: ( (settings.map(setting => `@id:${setting}`))).join(' ') });
|
|
520
520
|
return DeprecationChoice.ConfigureSettings;
|
|
@@ -527,7 +527,7 @@ let InstallAction = class InstallAction extends ExtensionAction {
|
|
|
527
527
|
const { result } = await this.dialogService.prompt({
|
|
528
528
|
type: Severity$1.Warning,
|
|
529
529
|
message: ( localize(
|
|
530
|
-
|
|
530
|
+
8001,
|
|
531
531
|
"Are you sure you want to install '{0}'?",
|
|
532
532
|
this.extension.displayName
|
|
533
533
|
)),
|
|
@@ -548,14 +548,14 @@ let InstallAction = class InstallAction extends ExtensionAction {
|
|
|
548
548
|
}
|
|
549
549
|
this.extensionsWorkbenchService.open(this.extension, { showPreReleaseVersion: this.options.installPreReleaseVersion });
|
|
550
550
|
alert(( localize(
|
|
551
|
-
|
|
551
|
+
8002,
|
|
552
552
|
"Installing extension {0} started. An editor is now open with more details on this extension",
|
|
553
553
|
this.extension.displayName
|
|
554
554
|
)));
|
|
555
555
|
this.telemetryService.publicLog('extensions:action:install', { ...this.extension.telemetryData, actionId: this.id });
|
|
556
556
|
const extension = await this.install(this.extension);
|
|
557
557
|
if (extension?.local) {
|
|
558
|
-
alert(( localize(
|
|
558
|
+
alert(( localize(8003, "Installing extension {0} is completed.", this.extension.displayName)));
|
|
559
559
|
const runningExtension = await this.getRunningExtension(extension.local);
|
|
560
560
|
if (runningExtension && !(runningExtension.activationEvents && ( (runningExtension.activationEvents.some(activationEent => activationEent.startsWith('onLanguage')))))) {
|
|
561
561
|
const action = await this.getThemeAction(extension);
|
|
@@ -620,15 +620,15 @@ let InstallAction = class InstallAction extends ExtensionAction {
|
|
|
620
620
|
}
|
|
621
621
|
getLabel(primary) {
|
|
622
622
|
if (this.extension?.isWorkspaceScoped && this.extension.resourceExtension && this.contextService.isInsideWorkspace(this.extension.resourceExtension.location)) {
|
|
623
|
-
return ( localize(
|
|
623
|
+
return ( localize(8004, "Install Workspace Extension"));
|
|
624
624
|
}
|
|
625
625
|
if (this.options.installPreReleaseVersion && this.extension?.hasPreReleaseVersion) {
|
|
626
|
-
return primary ? ( localize(
|
|
626
|
+
return primary ? ( localize(8005, "Install Pre-Release")) : ( localize(8006, "Install Pre-Release Version"));
|
|
627
627
|
}
|
|
628
628
|
if (this.extension?.hasPreReleaseVersion) {
|
|
629
|
-
return primary ? ( localize(
|
|
629
|
+
return primary ? ( localize(7994, "Install")) : ( localize(8007, "Install Release Version"));
|
|
630
630
|
}
|
|
631
|
-
return ( localize(
|
|
631
|
+
return ( localize(7994, "Install"));
|
|
632
632
|
}
|
|
633
633
|
};
|
|
634
634
|
InstallAction = InstallAction_1 = ( (__decorate([
|
|
@@ -664,7 +664,7 @@ InstallDropdownAction = ( (__decorate([
|
|
|
664
664
|
( (__param(1, IExtensionsWorkbenchService)))
|
|
665
665
|
], InstallDropdownAction)));
|
|
666
666
|
class InstallingLabelAction extends ExtensionAction {
|
|
667
|
-
static { this.LABEL = ( localize(
|
|
667
|
+
static { this.LABEL = ( localize(8008, "Installing")); }
|
|
668
668
|
static { this.CLASS = `${ExtensionAction.LABEL_ACTION_CLASS} install installing`; }
|
|
669
669
|
constructor() {
|
|
670
670
|
super('extension.installing', InstallingLabelAction.LABEL, InstallingLabelAction.CLASS, false);
|
|
@@ -675,8 +675,8 @@ class InstallingLabelAction extends ExtensionAction {
|
|
|
675
675
|
}
|
|
676
676
|
let InstallInOtherServerAction = class InstallInOtherServerAction extends ExtensionAction {
|
|
677
677
|
static { InstallInOtherServerAction_1 = this; }
|
|
678
|
-
static { this.INSTALL_LABEL = ( localize(
|
|
679
|
-
static { this.INSTALLING_LABEL = ( localize(
|
|
678
|
+
static { this.INSTALL_LABEL = ( localize(7994, "Install")); }
|
|
679
|
+
static { this.INSTALLING_LABEL = ( localize(8008, "Installing")); }
|
|
680
680
|
static { this.Class = `${ExtensionAction.LABEL_ACTION_CLASS} prominent install-other-server`; }
|
|
681
681
|
static { this.InstallingClass = `${ExtensionAction.LABEL_ACTION_CLASS} install-other-server installing`; }
|
|
682
682
|
constructor(id, server, canInstallAnyWhere, extensionsWorkbenchService, extensionManagementServerService, extensionManifestPropertiesService) {
|
|
@@ -750,7 +750,7 @@ let InstallInOtherServerAction = class InstallInOtherServerAction extends Extens
|
|
|
750
750
|
}
|
|
751
751
|
this.extensionsWorkbenchService.open(this.extension);
|
|
752
752
|
alert(( localize(
|
|
753
|
-
|
|
753
|
+
8002,
|
|
754
754
|
"Installing extension {0} started. An editor is now open with more details on this extension",
|
|
755
755
|
this.extension.displayName
|
|
756
756
|
)));
|
|
@@ -769,7 +769,7 @@ let RemoteInstallAction = class RemoteInstallAction extends InstallInOtherServer
|
|
|
769
769
|
getInstallLabel() {
|
|
770
770
|
return this.extensionManagementServerService.remoteExtensionManagementServer
|
|
771
771
|
? ( localize(
|
|
772
|
-
|
|
772
|
+
8009,
|
|
773
773
|
"Install in {0}",
|
|
774
774
|
this.extensionManagementServerService.remoteExtensionManagementServer.label
|
|
775
775
|
))
|
|
@@ -786,7 +786,7 @@ let LocalInstallAction = class LocalInstallAction extends InstallInOtherServerAc
|
|
|
786
786
|
super(`extensions.localinstall`, extensionManagementServerService.localExtensionManagementServer, false, extensionsWorkbenchService, extensionManagementServerService, extensionManifestPropertiesService);
|
|
787
787
|
}
|
|
788
788
|
getInstallLabel() {
|
|
789
|
-
return ( localize(
|
|
789
|
+
return ( localize(8010, "Install Locally"));
|
|
790
790
|
}
|
|
791
791
|
};
|
|
792
792
|
LocalInstallAction = ( (__decorate([
|
|
@@ -799,7 +799,7 @@ let WebInstallAction = class WebInstallAction extends InstallInOtherServerAction
|
|
|
799
799
|
super(`extensions.webInstall`, extensionManagementServerService.webExtensionManagementServer, false, extensionsWorkbenchService, extensionManagementServerService, extensionManifestPropertiesService);
|
|
800
800
|
}
|
|
801
801
|
getInstallLabel() {
|
|
802
|
-
return ( localize(
|
|
802
|
+
return ( localize(8011, "Install in Browser"));
|
|
803
803
|
}
|
|
804
804
|
};
|
|
805
805
|
WebInstallAction = ( (__decorate([
|
|
@@ -809,8 +809,8 @@ WebInstallAction = ( (__decorate([
|
|
|
809
809
|
], WebInstallAction)));
|
|
810
810
|
let UninstallAction = class UninstallAction extends ExtensionAction {
|
|
811
811
|
static { UninstallAction_1 = this; }
|
|
812
|
-
static { this.UninstallLabel = ( localize(
|
|
813
|
-
static { this.UninstallingLabel = ( localize(
|
|
812
|
+
static { this.UninstallLabel = ( localize(8012, "Uninstall")); }
|
|
813
|
+
static { this.UninstallingLabel = ( localize(8013, "Uninstalling")); }
|
|
814
814
|
static { this.UninstallClass = `${ExtensionAction.LABEL_ACTION_CLASS} uninstall`; }
|
|
815
815
|
static { this.UnInstallingClass = `${ExtensionAction.LABEL_ACTION_CLASS} uninstall uninstalling`; }
|
|
816
816
|
constructor(extensionsWorkbenchService, dialogService) {
|
|
@@ -848,11 +848,11 @@ let UninstallAction = class UninstallAction extends ExtensionAction {
|
|
|
848
848
|
if (!this.extension) {
|
|
849
849
|
return;
|
|
850
850
|
}
|
|
851
|
-
alert(( localize(
|
|
851
|
+
alert(( localize(8014, "Uninstalling extension {0} started.", this.extension.displayName)));
|
|
852
852
|
try {
|
|
853
853
|
await this.extensionsWorkbenchService.uninstall(this.extension);
|
|
854
854
|
alert(( localize(
|
|
855
|
-
|
|
855
|
+
8015,
|
|
856
856
|
"Please reload Visual Studio Code to complete the uninstallation of the extension {0}.",
|
|
857
857
|
this.extension.displayName
|
|
858
858
|
)));
|
|
@@ -873,7 +873,7 @@ let UpdateAction = class UpdateAction extends ExtensionAction {
|
|
|
873
873
|
static { this.EnabledClass = `${this.LABEL_ACTION_CLASS} prominent update`; }
|
|
874
874
|
static { this.DisabledClass = `${this.EnabledClass} disabled`; }
|
|
875
875
|
constructor(verbose, extensionsWorkbenchService, dialogService, openerService, instantiationService) {
|
|
876
|
-
super(`extensions.update`, ( localize(
|
|
876
|
+
super(`extensions.update`, ( localize(8016, "Update")), UpdateAction_1.DisabledClass, false);
|
|
877
877
|
this.verbose = verbose;
|
|
878
878
|
this.extensionsWorkbenchService = extensionsWorkbenchService;
|
|
879
879
|
this.dialogService = dialogService;
|
|
@@ -885,7 +885,7 @@ let UpdateAction = class UpdateAction extends ExtensionAction {
|
|
|
885
885
|
update() {
|
|
886
886
|
this.updateThrottler.queue(() => this.computeAndUpdateEnablement());
|
|
887
887
|
if (this.extension) {
|
|
888
|
-
this.label = this.verbose ? ( localize(
|
|
888
|
+
this.label = this.verbose ? ( localize(8017, "Update to v{0}", this.extension.latestVersion)) : ( localize(8016, "Update"));
|
|
889
889
|
}
|
|
890
890
|
}
|
|
891
891
|
async computeAndUpdateEnablement() {
|
|
@@ -910,16 +910,16 @@ let UpdateAction = class UpdateAction extends ExtensionAction {
|
|
|
910
910
|
if (consent) {
|
|
911
911
|
const { result } = await this.dialogService.prompt({
|
|
912
912
|
type: 'warning',
|
|
913
|
-
title: ( localize(
|
|
914
|
-
message: ( localize(
|
|
913
|
+
title: ( localize(8018, "Update {0} Extension", this.extension.displayName)),
|
|
914
|
+
message: ( localize(8019, "{0}\n\nWould you like to update the extension?", consent)),
|
|
915
915
|
buttons: [{
|
|
916
|
-
label: ( localize(
|
|
916
|
+
label: ( localize(8016, "Update")),
|
|
917
917
|
run: () => 'update'
|
|
918
918
|
}, {
|
|
919
|
-
label: ( localize(
|
|
919
|
+
label: ( localize(8020, "Review")),
|
|
920
920
|
run: () => 'review'
|
|
921
921
|
}, {
|
|
922
|
-
label: ( localize(
|
|
922
|
+
label: ( localize(7982, "Cancel")),
|
|
923
923
|
run: () => 'cancel'
|
|
924
924
|
}]
|
|
925
925
|
});
|
|
@@ -937,7 +937,7 @@ let UpdateAction = class UpdateAction extends ExtensionAction {
|
|
|
937
937
|
}
|
|
938
938
|
}
|
|
939
939
|
alert(( localize(
|
|
940
|
-
|
|
940
|
+
8021,
|
|
941
941
|
"Updating extension {0} to version {1} started.",
|
|
942
942
|
this.extension.displayName,
|
|
943
943
|
this.extension.latestVersion
|
|
@@ -949,7 +949,7 @@ let UpdateAction = class UpdateAction extends ExtensionAction {
|
|
|
949
949
|
try {
|
|
950
950
|
await this.extensionsWorkbenchService.install(extension, options);
|
|
951
951
|
alert(( localize(
|
|
952
|
-
|
|
952
|
+
8022,
|
|
953
953
|
"Updating extension {0} to version {1} completed.",
|
|
954
954
|
extension.displayName,
|
|
955
955
|
extension.latestVersion
|
|
@@ -969,7 +969,7 @@ UpdateAction = UpdateAction_1 = ( (__decorate([
|
|
|
969
969
|
let ToggleAutoUpdateForExtensionAction = class ToggleAutoUpdateForExtensionAction extends ExtensionAction {
|
|
970
970
|
static { ToggleAutoUpdateForExtensionAction_1 = this; }
|
|
971
971
|
static { this.ID = 'workbench.extensions.action.toggleAutoUpdateForExtension'; }
|
|
972
|
-
static { this.LABEL = ( localize2(
|
|
972
|
+
static { this.LABEL = ( localize2(8023, "Auto Update")); }
|
|
973
973
|
static { this.EnabledClass = `${ExtensionAction.EXTENSION_ACTION_CLASS} auto-update`; }
|
|
974
974
|
static { this.DisabledClass = `${this.EnabledClass} hide`; }
|
|
975
975
|
constructor(extensionsWorkbenchService, extensionEnablementService, configurationService) {
|
|
@@ -1009,10 +1009,10 @@ let ToggleAutoUpdateForExtensionAction = class ToggleAutoUpdateForExtensionActio
|
|
|
1009
1009
|
const enableAutoUpdate = !this.extensionsWorkbenchService.isAutoUpdateEnabledFor(this.extension);
|
|
1010
1010
|
await this.extensionsWorkbenchService.updateAutoUpdateEnablementFor(this.extension, enableAutoUpdate);
|
|
1011
1011
|
if (enableAutoUpdate) {
|
|
1012
|
-
alert(( localize(
|
|
1012
|
+
alert(( localize(8024, "Enabled auto updates for", this.extension.displayName)));
|
|
1013
1013
|
}
|
|
1014
1014
|
else {
|
|
1015
|
-
alert(( localize(
|
|
1015
|
+
alert(( localize(8025, "Disabled auto updates for", this.extension.displayName)));
|
|
1016
1016
|
}
|
|
1017
1017
|
}
|
|
1018
1018
|
};
|
|
@@ -1024,7 +1024,7 @@ ToggleAutoUpdateForExtensionAction = ToggleAutoUpdateForExtensionAction_1 = ( (_
|
|
|
1024
1024
|
let ToggleAutoUpdatesForPublisherAction = class ToggleAutoUpdatesForPublisherAction extends ExtensionAction {
|
|
1025
1025
|
static { ToggleAutoUpdatesForPublisherAction_1 = this; }
|
|
1026
1026
|
static { this.ID = 'workbench.extensions.action.toggleAutoUpdatesForPublisher'; }
|
|
1027
|
-
static { this.LABEL = ( localize(
|
|
1027
|
+
static { this.LABEL = ( localize(8026, "Auto Update All (From Publisher)")); }
|
|
1028
1028
|
constructor(extensionsWorkbenchService) {
|
|
1029
1029
|
super(ToggleAutoUpdatesForPublisherAction_1.ID, ToggleAutoUpdatesForPublisherAction_1.LABEL);
|
|
1030
1030
|
this.extensionsWorkbenchService = extensionsWorkbenchService;
|
|
@@ -1035,17 +1035,17 @@ let ToggleAutoUpdatesForPublisherAction = class ToggleAutoUpdatesForPublisherAct
|
|
|
1035
1035
|
return;
|
|
1036
1036
|
}
|
|
1037
1037
|
alert(( localize(
|
|
1038
|
-
|
|
1038
|
+
8027,
|
|
1039
1039
|
"Ignoring updates published by {0}.",
|
|
1040
1040
|
this.extension.publisherDisplayName
|
|
1041
1041
|
)));
|
|
1042
1042
|
const enableAutoUpdate = !this.extensionsWorkbenchService.isAutoUpdateEnabledFor(this.extension.publisher);
|
|
1043
1043
|
await this.extensionsWorkbenchService.updateAutoUpdateEnablementFor(this.extension.publisher, enableAutoUpdate);
|
|
1044
1044
|
if (enableAutoUpdate) {
|
|
1045
|
-
alert(( localize(
|
|
1045
|
+
alert(( localize(8024, "Enabled auto updates for", this.extension.displayName)));
|
|
1046
1046
|
}
|
|
1047
1047
|
else {
|
|
1048
|
-
alert(( localize(
|
|
1048
|
+
alert(( localize(8025, "Disabled auto updates for", this.extension.displayName)));
|
|
1049
1049
|
}
|
|
1050
1050
|
}
|
|
1051
1051
|
};
|
|
@@ -1057,7 +1057,7 @@ let MigrateDeprecatedExtensionAction = class MigrateDeprecatedExtensionAction ex
|
|
|
1057
1057
|
static { this.EnabledClass = `${ExtensionAction.LABEL_ACTION_CLASS} migrate`; }
|
|
1058
1058
|
static { this.DisabledClass = `${this.EnabledClass} disabled`; }
|
|
1059
1059
|
constructor(small, extensionsWorkbenchService) {
|
|
1060
|
-
super('extensionsAction.migrateDeprecatedExtension', ( localize(
|
|
1060
|
+
super('extensionsAction.migrateDeprecatedExtension', ( localize(8028, "Migrate")), MigrateDeprecatedExtensionAction_1.DisabledClass, false);
|
|
1061
1061
|
this.small = small;
|
|
1062
1062
|
this.extensionsWorkbenchService = extensionsWorkbenchService;
|
|
1063
1063
|
this.update();
|
|
@@ -1081,11 +1081,11 @@ let MigrateDeprecatedExtensionAction = class MigrateDeprecatedExtensionAction ex
|
|
|
1081
1081
|
this.enabled = true;
|
|
1082
1082
|
this.class = MigrateDeprecatedExtensionAction_1.EnabledClass;
|
|
1083
1083
|
this.tooltip = ( localize(
|
|
1084
|
-
|
|
1084
|
+
8029,
|
|
1085
1085
|
"Migrate to {0}",
|
|
1086
1086
|
this.extension.deprecationInfo.extension.displayName
|
|
1087
1087
|
));
|
|
1088
|
-
this.label = this.small ? ( localize(
|
|
1088
|
+
this.label = this.small ? ( localize(8030, "Migrate")) : this.tooltip;
|
|
1089
1089
|
}
|
|
1090
1090
|
async run() {
|
|
1091
1091
|
if (!this.extension?.deprecationInfo?.extension) {
|
|
@@ -1236,7 +1236,7 @@ let ManageExtensionAction = class ManageExtensionAction extends DropDownExtensio
|
|
|
1236
1236
|
super(ManageExtensionAction_1.ID, '', '', true, instantiationService);
|
|
1237
1237
|
this.extensionService = extensionService;
|
|
1238
1238
|
this.contextKeyService = contextKeyService;
|
|
1239
|
-
this.tooltip = ( localize(
|
|
1239
|
+
this.tooltip = ( localize(8031, "Manage"));
|
|
1240
1240
|
this.update();
|
|
1241
1241
|
}
|
|
1242
1242
|
async getActionGroups() {
|
|
@@ -1307,7 +1307,7 @@ class ExtensionEditorManageExtensionAction extends DropDownExtensionAction {
|
|
|
1307
1307
|
constructor(contextKeyService, instantiationService) {
|
|
1308
1308
|
super('extensionEditor.manageExtension', '', `${ExtensionAction.ICON_ACTION_CLASS} manage ${ThemeIcon.asClassName(manageExtensionIcon)}`, true, instantiationService);
|
|
1309
1309
|
this.contextKeyService = contextKeyService;
|
|
1310
|
-
this.tooltip = ( localize(
|
|
1310
|
+
this.tooltip = ( localize(8031, "Manage"));
|
|
1311
1311
|
}
|
|
1312
1312
|
update() { }
|
|
1313
1313
|
async run() {
|
|
@@ -1370,7 +1370,7 @@ MenuItemExtensionAction = ( (__decorate([
|
|
|
1370
1370
|
let TogglePreReleaseExtensionAction = class TogglePreReleaseExtensionAction extends ExtensionAction {
|
|
1371
1371
|
static { TogglePreReleaseExtensionAction_1 = this; }
|
|
1372
1372
|
static { this.ID = 'workbench.extensions.action.togglePreRlease'; }
|
|
1373
|
-
static { this.LABEL = ( localize(
|
|
1373
|
+
static { this.LABEL = ( localize(8032, "Pre-Release")); }
|
|
1374
1374
|
static { this.EnabledClass = `${ExtensionAction.LABEL_ACTION_CLASS} pre-release`; }
|
|
1375
1375
|
static { this.DisabledClass = `${this.EnabledClass} hide`; }
|
|
1376
1376
|
constructor(extensionsWorkbenchService) {
|
|
@@ -1405,13 +1405,13 @@ let TogglePreReleaseExtensionAction = class TogglePreReleaseExtensionAction exte
|
|
|
1405
1405
|
this.enabled = true;
|
|
1406
1406
|
this.class = TogglePreReleaseExtensionAction_1.EnabledClass;
|
|
1407
1407
|
if (this.extension.preRelease) {
|
|
1408
|
-
this.label = ( localize(
|
|
1409
|
-
this.tooltip = ( localize(
|
|
1408
|
+
this.label = ( localize(8033, "Switch to Release Version"));
|
|
1409
|
+
this.tooltip = ( localize(8034, "This will switch and enable updates to release versions"));
|
|
1410
1410
|
}
|
|
1411
1411
|
else {
|
|
1412
|
-
this.label = ( localize(
|
|
1412
|
+
this.label = ( localize(8035, "Switch to Pre-Release Version"));
|
|
1413
1413
|
this.tooltip = ( localize(
|
|
1414
|
-
|
|
1414
|
+
8036,
|
|
1415
1415
|
"This will switch to pre-release version and enable updates to latest version always"
|
|
1416
1416
|
));
|
|
1417
1417
|
}
|
|
@@ -1430,7 +1430,7 @@ TogglePreReleaseExtensionAction = TogglePreReleaseExtensionAction_1 = ( (__decor
|
|
|
1430
1430
|
let InstallAnotherVersionAction = class InstallAnotherVersionAction extends ExtensionAction {
|
|
1431
1431
|
static { InstallAnotherVersionAction_1 = this; }
|
|
1432
1432
|
static { this.ID = 'workbench.extensions.action.install.anotherVersion'; }
|
|
1433
|
-
static { this.LABEL = ( localize(
|
|
1433
|
+
static { this.LABEL = ( localize(8037, "Install Specific Version...")); }
|
|
1434
1434
|
constructor(extension, whenInstalled, extensionsWorkbenchService, extensionManagementService, extensionGalleryService, quickInputService, instantiationService, dialogService) {
|
|
1435
1435
|
super(InstallAnotherVersionAction_1.ID, InstallAnotherVersionAction_1.LABEL, ExtensionAction.LABEL_ACTION_CLASS);
|
|
1436
1436
|
this.whenInstalled = whenInstalled;
|
|
@@ -1459,20 +1459,20 @@ let InstallAnotherVersionAction = class InstallAnotherVersionAction extends Exte
|
|
|
1459
1459
|
const targetPlatform = this.extension.server ? await this.extension.server.extensionManagementService.getTargetPlatform() : await this.extensionManagementService.getTargetPlatform();
|
|
1460
1460
|
const allVersions = await this.extensionGalleryService.getAllCompatibleVersions(this.extension.identifier, this.extension.local?.preRelease ?? this.extension.gallery?.properties.isPreReleaseVersion ?? false, targetPlatform);
|
|
1461
1461
|
if (!allVersions.length) {
|
|
1462
|
-
await this.dialogService.info(( localize(
|
|
1462
|
+
await this.dialogService.info(( localize(8038, "This extension has no other versions.")));
|
|
1463
1463
|
return;
|
|
1464
1464
|
}
|
|
1465
1465
|
const picks = ( (allVersions.map((v, i) => {
|
|
1466
1466
|
return {
|
|
1467
1467
|
id: v.version,
|
|
1468
1468
|
label: v.version,
|
|
1469
|
-
description: `${fromNow(( (new Date(Date.parse(v.date)))), true)}${v.isPreReleaseVersion ? ` (${( localize(
|
|
1469
|
+
description: `${fromNow(( (new Date(Date.parse(v.date)))), true)}${v.isPreReleaseVersion ? ` (${( localize(8039, "pre-release"))})` : ''}${v.version === this.extension?.local?.manifest.version ? ` (${( localize(8040, "current"))})` : ''}`,
|
|
1470
1470
|
ariaLabel: `${v.isPreReleaseVersion ? 'Pre-Release version' : 'Release version'} ${v.version}`,
|
|
1471
1471
|
isPreReleaseVersion: v.isPreReleaseVersion
|
|
1472
1472
|
};
|
|
1473
1473
|
})));
|
|
1474
1474
|
const pick = await this.quickInputService.pick(picks, {
|
|
1475
|
-
placeHolder: ( localize(
|
|
1475
|
+
placeHolder: ( localize(8041, "Select Version to Install")),
|
|
1476
1476
|
matchOnDetail: true
|
|
1477
1477
|
});
|
|
1478
1478
|
if (pick) {
|
|
@@ -1501,12 +1501,12 @@ InstallAnotherVersionAction = InstallAnotherVersionAction_1 = ( (__decorate([
|
|
|
1501
1501
|
let EnableForWorkspaceAction = class EnableForWorkspaceAction extends ExtensionAction {
|
|
1502
1502
|
static { EnableForWorkspaceAction_1 = this; }
|
|
1503
1503
|
static { this.ID = 'extensions.enableForWorkspace'; }
|
|
1504
|
-
static { this.LABEL = ( localize(
|
|
1504
|
+
static { this.LABEL = ( localize(8042, "Enable (Workspace)")); }
|
|
1505
1505
|
constructor(extensionsWorkbenchService, extensionEnablementService) {
|
|
1506
1506
|
super(EnableForWorkspaceAction_1.ID, EnableForWorkspaceAction_1.LABEL, ExtensionAction.LABEL_ACTION_CLASS);
|
|
1507
1507
|
this.extensionsWorkbenchService = extensionsWorkbenchService;
|
|
1508
1508
|
this.extensionEnablementService = extensionEnablementService;
|
|
1509
|
-
this.tooltip = ( localize(
|
|
1509
|
+
this.tooltip = ( localize(8043, "Enable this extension only in this workspace"));
|
|
1510
1510
|
this.update();
|
|
1511
1511
|
}
|
|
1512
1512
|
update() {
|
|
@@ -1531,12 +1531,12 @@ EnableForWorkspaceAction = EnableForWorkspaceAction_1 = ( (__decorate([
|
|
|
1531
1531
|
let EnableGloballyAction = class EnableGloballyAction extends ExtensionAction {
|
|
1532
1532
|
static { EnableGloballyAction_1 = this; }
|
|
1533
1533
|
static { this.ID = 'extensions.enableGlobally'; }
|
|
1534
|
-
static { this.LABEL = ( localize(
|
|
1534
|
+
static { this.LABEL = ( localize(8044, "Enable")); }
|
|
1535
1535
|
constructor(extensionsWorkbenchService, extensionEnablementService) {
|
|
1536
1536
|
super(EnableGloballyAction_1.ID, EnableGloballyAction_1.LABEL, ExtensionAction.LABEL_ACTION_CLASS);
|
|
1537
1537
|
this.extensionsWorkbenchService = extensionsWorkbenchService;
|
|
1538
1538
|
this.extensionEnablementService = extensionEnablementService;
|
|
1539
|
-
this.tooltip = ( localize(
|
|
1539
|
+
this.tooltip = ( localize(8045, "Enable this extension"));
|
|
1540
1540
|
this.update();
|
|
1541
1541
|
}
|
|
1542
1542
|
update() {
|
|
@@ -1561,14 +1561,14 @@ EnableGloballyAction = EnableGloballyAction_1 = ( (__decorate([
|
|
|
1561
1561
|
let DisableForWorkspaceAction = class DisableForWorkspaceAction extends ExtensionAction {
|
|
1562
1562
|
static { DisableForWorkspaceAction_1 = this; }
|
|
1563
1563
|
static { this.ID = 'extensions.disableForWorkspace'; }
|
|
1564
|
-
static { this.LABEL = ( localize(
|
|
1564
|
+
static { this.LABEL = ( localize(8046, "Disable (Workspace)")); }
|
|
1565
1565
|
constructor(workspaceContextService, extensionsWorkbenchService, extensionEnablementService, extensionService) {
|
|
1566
1566
|
super(DisableForWorkspaceAction_1.ID, DisableForWorkspaceAction_1.LABEL, ExtensionAction.LABEL_ACTION_CLASS);
|
|
1567
1567
|
this.workspaceContextService = workspaceContextService;
|
|
1568
1568
|
this.extensionsWorkbenchService = extensionsWorkbenchService;
|
|
1569
1569
|
this.extensionEnablementService = extensionEnablementService;
|
|
1570
1570
|
this.extensionService = extensionService;
|
|
1571
|
-
this.tooltip = ( localize(
|
|
1571
|
+
this.tooltip = ( localize(8047, "Disable this extension only in this workspace"));
|
|
1572
1572
|
this.update();
|
|
1573
1573
|
this._register(this.extensionService.onDidChangeExtensions(() => this.update()));
|
|
1574
1574
|
}
|
|
@@ -1598,13 +1598,13 @@ DisableForWorkspaceAction = DisableForWorkspaceAction_1 = ( (__decorate([
|
|
|
1598
1598
|
let DisableGloballyAction = class DisableGloballyAction extends ExtensionAction {
|
|
1599
1599
|
static { DisableGloballyAction_1 = this; }
|
|
1600
1600
|
static { this.ID = 'extensions.disableGlobally'; }
|
|
1601
|
-
static { this.LABEL = ( localize(
|
|
1601
|
+
static { this.LABEL = ( localize(8048, "Disable")); }
|
|
1602
1602
|
constructor(extensionsWorkbenchService, extensionEnablementService, extensionService) {
|
|
1603
1603
|
super(DisableGloballyAction_1.ID, DisableGloballyAction_1.LABEL, ExtensionAction.LABEL_ACTION_CLASS);
|
|
1604
1604
|
this.extensionsWorkbenchService = extensionsWorkbenchService;
|
|
1605
1605
|
this.extensionEnablementService = extensionEnablementService;
|
|
1606
1606
|
this.extensionService = extensionService;
|
|
1607
|
-
this.tooltip = ( localize(
|
|
1607
|
+
this.tooltip = ( localize(8049, "Disable this extension"));
|
|
1608
1608
|
this.update();
|
|
1609
1609
|
this._register(this.extensionService.onDidChangeExtensions(() => this.update()));
|
|
1610
1610
|
}
|
|
@@ -1691,10 +1691,10 @@ let ExtensionRuntimeStateAction = class ExtensionRuntimeStateAction extends Exte
|
|
|
1691
1691
|
this.enabled = true;
|
|
1692
1692
|
this.class = ExtensionRuntimeStateAction_1.EnabledClass;
|
|
1693
1693
|
this.tooltip = runtimeState.reason;
|
|
1694
|
-
this.label = runtimeState.action === "reloadWindow" ? ( localize(
|
|
1695
|
-
: runtimeState.action === "restartExtensions" ? ( localize(
|
|
1696
|
-
: runtimeState.action === "quitAndInstall" ? ( localize(
|
|
1697
|
-
: runtimeState.action === "applyUpdate" || runtimeState.action === "downloadUpdate" ? ( localize(
|
|
1694
|
+
this.label = runtimeState.action === "reloadWindow" ? ( localize(8050, 'Reload Window'))
|
|
1695
|
+
: runtimeState.action === "restartExtensions" ? ( localize(8051, 'Restart Extensions'))
|
|
1696
|
+
: runtimeState.action === "quitAndInstall" ? ( localize(8052, 'Restart to Update'))
|
|
1697
|
+
: runtimeState.action === "applyUpdate" || runtimeState.action === "downloadUpdate" ? ( localize(8053, 'Update {0}', this.productService.nameShort)) : '';
|
|
1698
1698
|
}
|
|
1699
1699
|
async run() {
|
|
1700
1700
|
const runtimeState = this.extension?.runtimeState;
|
|
@@ -1740,7 +1740,7 @@ function getQuickPickEntries(themes, currentTheme, extension, showCurrentTheme)
|
|
|
1740
1740
|
}
|
|
1741
1741
|
}
|
|
1742
1742
|
if (showCurrentTheme) {
|
|
1743
|
-
picks.push({ type: 'separator', label: ( localize(
|
|
1743
|
+
picks.push({ type: 'separator', label: ( localize(8040, "current")) });
|
|
1744
1744
|
picks.push({ label: currentTheme.label, id: currentTheme.id });
|
|
1745
1745
|
}
|
|
1746
1746
|
return picks;
|
|
@@ -1748,7 +1748,7 @@ function getQuickPickEntries(themes, currentTheme, extension, showCurrentTheme)
|
|
|
1748
1748
|
let SetColorThemeAction = class SetColorThemeAction extends ExtensionAction {
|
|
1749
1749
|
static { SetColorThemeAction_1 = this; }
|
|
1750
1750
|
static { this.ID = 'workbench.extensions.action.setColorTheme'; }
|
|
1751
|
-
static { this.TITLE = ( localize2(
|
|
1751
|
+
static { this.TITLE = ( localize2(8054, 'Set Color Theme')); }
|
|
1752
1752
|
static { this.EnabledClass = `${ExtensionAction.LABEL_ACTION_CLASS} theme`; }
|
|
1753
1753
|
static { this.DisabledClass = `${this.EnabledClass} disabled`; }
|
|
1754
1754
|
constructor(extensionService, workbenchThemeService, quickInputService, extensionEnablementService) {
|
|
@@ -1777,7 +1777,7 @@ let SetColorThemeAction = class SetColorThemeAction extends ExtensionAction {
|
|
|
1777
1777
|
const delayer = ( (new Delayer(100)));
|
|
1778
1778
|
const picks = getQuickPickEntries(colorThemes, currentTheme, this.extension, showCurrentTheme);
|
|
1779
1779
|
const pickedTheme = await this.quickInputService.pick(picks, {
|
|
1780
|
-
placeHolder: ( localize(
|
|
1780
|
+
placeHolder: ( localize(8055, "Select Color Theme")),
|
|
1781
1781
|
onDidFocus: item => delayer.trigger(() => this.workbenchThemeService.setColorTheme(item.id, undefined)),
|
|
1782
1782
|
ignoreFocusLost
|
|
1783
1783
|
});
|
|
@@ -1793,7 +1793,7 @@ SetColorThemeAction = SetColorThemeAction_1 = ( (__decorate([
|
|
|
1793
1793
|
let SetFileIconThemeAction = class SetFileIconThemeAction extends ExtensionAction {
|
|
1794
1794
|
static { SetFileIconThemeAction_1 = this; }
|
|
1795
1795
|
static { this.ID = 'workbench.extensions.action.setFileIconTheme'; }
|
|
1796
|
-
static { this.TITLE = ( localize2(
|
|
1796
|
+
static { this.TITLE = ( localize2(8056, 'Set File Icon Theme')); }
|
|
1797
1797
|
static { this.EnabledClass = `${ExtensionAction.LABEL_ACTION_CLASS} theme`; }
|
|
1798
1798
|
static { this.DisabledClass = `${this.EnabledClass} disabled`; }
|
|
1799
1799
|
constructor(extensionService, workbenchThemeService, quickInputService, extensionEnablementService) {
|
|
@@ -1822,7 +1822,7 @@ let SetFileIconThemeAction = class SetFileIconThemeAction extends ExtensionActio
|
|
|
1822
1822
|
const delayer = ( (new Delayer(100)));
|
|
1823
1823
|
const picks = getQuickPickEntries(fileIconThemes, currentTheme, this.extension, showCurrentTheme);
|
|
1824
1824
|
const pickedTheme = await this.quickInputService.pick(picks, {
|
|
1825
|
-
placeHolder: ( localize(
|
|
1825
|
+
placeHolder: ( localize(8057, "Select File Icon Theme")),
|
|
1826
1826
|
onDidFocus: item => delayer.trigger(() => this.workbenchThemeService.setFileIconTheme(item.id, undefined)),
|
|
1827
1827
|
ignoreFocusLost
|
|
1828
1828
|
});
|
|
@@ -1838,7 +1838,7 @@ SetFileIconThemeAction = SetFileIconThemeAction_1 = ( (__decorate([
|
|
|
1838
1838
|
let SetProductIconThemeAction = class SetProductIconThemeAction extends ExtensionAction {
|
|
1839
1839
|
static { SetProductIconThemeAction_1 = this; }
|
|
1840
1840
|
static { this.ID = 'workbench.extensions.action.setProductIconTheme'; }
|
|
1841
|
-
static { this.TITLE = ( localize2(
|
|
1841
|
+
static { this.TITLE = ( localize2(8058, 'Set Product Icon Theme')); }
|
|
1842
1842
|
static { this.EnabledClass = `${ExtensionAction.LABEL_ACTION_CLASS} theme`; }
|
|
1843
1843
|
static { this.DisabledClass = `${this.EnabledClass} disabled`; }
|
|
1844
1844
|
constructor(extensionService, workbenchThemeService, quickInputService, extensionEnablementService) {
|
|
@@ -1867,7 +1867,7 @@ let SetProductIconThemeAction = class SetProductIconThemeAction extends Extensio
|
|
|
1867
1867
|
const delayer = ( (new Delayer(100)));
|
|
1868
1868
|
const picks = getQuickPickEntries(productIconThemes, currentTheme, this.extension, showCurrentTheme);
|
|
1869
1869
|
const pickedTheme = await this.quickInputService.pick(picks, {
|
|
1870
|
-
placeHolder: ( localize(
|
|
1870
|
+
placeHolder: ( localize(8059, "Select Product Icon Theme")),
|
|
1871
1871
|
onDidFocus: item => delayer.trigger(() => this.workbenchThemeService.setProductIconTheme(item.id, undefined)),
|
|
1872
1872
|
ignoreFocusLost
|
|
1873
1873
|
});
|
|
@@ -1883,7 +1883,7 @@ SetProductIconThemeAction = SetProductIconThemeAction_1 = ( (__decorate([
|
|
|
1883
1883
|
let SetLanguageAction = class SetLanguageAction extends ExtensionAction {
|
|
1884
1884
|
static { SetLanguageAction_1 = this; }
|
|
1885
1885
|
static { this.ID = 'workbench.extensions.action.setDisplayLanguage'; }
|
|
1886
|
-
static { this.TITLE = ( localize2(
|
|
1886
|
+
static { this.TITLE = ( localize2(8060, 'Set Display Language')); }
|
|
1887
1887
|
static { this.EnabledClass = `${ExtensionAction.LABEL_ACTION_CLASS} language`; }
|
|
1888
1888
|
static { this.DisabledClass = `${this.EnabledClass} disabled`; }
|
|
1889
1889
|
constructor(extensionsWorkbenchService) {
|
|
@@ -1916,7 +1916,7 @@ SetLanguageAction = SetLanguageAction_1 = ( (__decorate([
|
|
|
1916
1916
|
let ClearLanguageAction = class ClearLanguageAction extends ExtensionAction {
|
|
1917
1917
|
static { ClearLanguageAction_1 = this; }
|
|
1918
1918
|
static { this.ID = 'workbench.extensions.action.clearLanguage'; }
|
|
1919
|
-
static { this.TITLE = ( localize2(
|
|
1919
|
+
static { this.TITLE = ( localize2(8061, 'Clear Display Language')); }
|
|
1920
1920
|
static { this.EnabledClass = `${ExtensionAction.LABEL_ACTION_CLASS} language`; }
|
|
1921
1921
|
static { this.DisabledClass = `${this.EnabledClass} disabled`; }
|
|
1922
1922
|
constructor(extensionsWorkbenchService, localeService) {
|
|
@@ -1951,7 +1951,7 @@ ClearLanguageAction = ClearLanguageAction_1 = ( (__decorate([
|
|
|
1951
1951
|
let ShowRecommendedExtensionAction = class ShowRecommendedExtensionAction extends Action {
|
|
1952
1952
|
static { ShowRecommendedExtensionAction_1 = this; }
|
|
1953
1953
|
static { this.ID = 'workbench.extensions.action.showRecommendedExtension'; }
|
|
1954
|
-
static { this.LABEL = ( localize(
|
|
1954
|
+
static { this.LABEL = ( localize(8062, "Show Recommended Extension")); }
|
|
1955
1955
|
constructor(extensionId, extensionWorkbenchService) {
|
|
1956
1956
|
super(ShowRecommendedExtensionAction_1.ID, ShowRecommendedExtensionAction_1.LABEL, undefined, false);
|
|
1957
1957
|
this.extensionWorkbenchService = extensionWorkbenchService;
|
|
@@ -1972,7 +1972,7 @@ ShowRecommendedExtensionAction = ShowRecommendedExtensionAction_1 = ( (__decorat
|
|
|
1972
1972
|
let InstallRecommendedExtensionAction = class InstallRecommendedExtensionAction extends Action {
|
|
1973
1973
|
static { InstallRecommendedExtensionAction_1 = this; }
|
|
1974
1974
|
static { this.ID = 'workbench.extensions.action.installRecommendedExtension'; }
|
|
1975
|
-
static { this.LABEL = ( localize(
|
|
1975
|
+
static { this.LABEL = ( localize(8063, "Install Recommended Extension")); }
|
|
1976
1976
|
constructor(extensionId, instantiationService, extensionWorkbenchService) {
|
|
1977
1977
|
super(InstallRecommendedExtensionAction_1.ID, InstallRecommendedExtensionAction_1.LABEL, undefined, false);
|
|
1978
1978
|
this.instantiationService = instantiationService;
|
|
@@ -2006,7 +2006,7 @@ let IgnoreExtensionRecommendationAction = class IgnoreExtensionRecommendationAct
|
|
|
2006
2006
|
this.extension = extension;
|
|
2007
2007
|
this.extensionRecommendationsManagementService = extensionRecommendationsManagementService;
|
|
2008
2008
|
this.class = IgnoreExtensionRecommendationAction_1.Class;
|
|
2009
|
-
this.tooltip = ( localize(
|
|
2009
|
+
this.tooltip = ( localize(8064, "Do not recommend this extension again"));
|
|
2010
2010
|
this.enabled = true;
|
|
2011
2011
|
}
|
|
2012
2012
|
run() {
|
|
@@ -2026,7 +2026,7 @@ let UndoIgnoreExtensionRecommendationAction = class UndoIgnoreExtensionRecommend
|
|
|
2026
2026
|
this.extension = extension;
|
|
2027
2027
|
this.extensionRecommendationsManagementService = extensionRecommendationsManagementService;
|
|
2028
2028
|
this.class = UndoIgnoreExtensionRecommendationAction_1.Class;
|
|
2029
|
-
this.tooltip = ( localize(
|
|
2029
|
+
this.tooltip = ( localize(8065, "Undo"));
|
|
2030
2030
|
this.enabled = true;
|
|
2031
2031
|
}
|
|
2032
2032
|
run() {
|
|
@@ -2057,7 +2057,7 @@ let AbstractConfigureRecommendedExtensionsAction = class AbstractConfigureRecomm
|
|
|
2057
2057
|
selection
|
|
2058
2058
|
}
|
|
2059
2059
|
})), error => Promise.reject(( (new Error(( localize(
|
|
2060
|
-
|
|
2060
|
+
8066,
|
|
2061
2061
|
"Unable to create 'extensions.json' file inside the '.vscode' folder ({0}).",
|
|
2062
2062
|
error
|
|
2063
2063
|
)))))));
|
|
@@ -2125,7 +2125,7 @@ AbstractConfigureRecommendedExtensionsAction = ( (__decorate([
|
|
|
2125
2125
|
], AbstractConfigureRecommendedExtensionsAction)));
|
|
2126
2126
|
let ConfigureWorkspaceRecommendedExtensionsAction = class ConfigureWorkspaceRecommendedExtensionsAction extends AbstractConfigureRecommendedExtensionsAction {
|
|
2127
2127
|
static { this.ID = 'workbench.extensions.action.configureWorkspaceRecommendedExtensions'; }
|
|
2128
|
-
static { this.LABEL = ( localize(
|
|
2128
|
+
static { this.LABEL = ( localize(8067, "Configure Recommended Extensions (Workspace)")); }
|
|
2129
2129
|
constructor(id, label, fileService, textFileService, contextService, editorService, jsonEditingService, textModelResolverService) {
|
|
2130
2130
|
super(id, label, contextService, fileService, textFileService, editorService, jsonEditingService, textModelResolverService);
|
|
2131
2131
|
this._register(this.contextService.onDidChangeWorkbenchState(() => this.update(), this));
|
|
@@ -2154,7 +2154,7 @@ ConfigureWorkspaceRecommendedExtensionsAction = ( (__decorate([
|
|
|
2154
2154
|
], ConfigureWorkspaceRecommendedExtensionsAction)));
|
|
2155
2155
|
let ConfigureWorkspaceFolderRecommendedExtensionsAction = class ConfigureWorkspaceFolderRecommendedExtensionsAction extends AbstractConfigureRecommendedExtensionsAction {
|
|
2156
2156
|
static { this.ID = 'workbench.extensions.action.configureWorkspaceFolderRecommendedExtensions'; }
|
|
2157
|
-
static { this.LABEL = ( localize(
|
|
2157
|
+
static { this.LABEL = ( localize(8068, "Configure Recommended Extensions (Workspace Folder)")); }
|
|
2158
2158
|
constructor(id, label, fileService, textFileService, contextService, editorService, jsonEditingService, textModelResolverService, commandService) {
|
|
2159
2159
|
super(id, label, contextService, fileService, textFileService, editorService, jsonEditingService, textModelResolverService);
|
|
2160
2160
|
this.commandService = commandService;
|
|
@@ -2245,26 +2245,26 @@ let ExtensionStatusLabelAction = class ExtensionStatusLabelAction extends Action
|
|
|
2245
2245
|
if (currentStatus !== null) {
|
|
2246
2246
|
if (currentStatus === 0 && this.status === 1 ) {
|
|
2247
2247
|
if (this.initialStatus === 3 && canAddExtension()) {
|
|
2248
|
-
return ( localize(
|
|
2248
|
+
return ( localize(8069, "Installed"));
|
|
2249
2249
|
}
|
|
2250
2250
|
if (this.initialStatus === 1 && this.version !== currentVersion && canAddExtension()) {
|
|
2251
|
-
return ( localize(
|
|
2251
|
+
return ( localize(8070, "Updated"));
|
|
2252
2252
|
}
|
|
2253
2253
|
return null;
|
|
2254
2254
|
}
|
|
2255
2255
|
if (currentStatus === 2 && this.status === 3 ) {
|
|
2256
2256
|
this.initialStatus = this.status;
|
|
2257
|
-
return canRemoveExtension() ? ( localize(
|
|
2257
|
+
return canRemoveExtension() ? ( localize(8071, "Uninstalled")) : null;
|
|
2258
2258
|
}
|
|
2259
2259
|
}
|
|
2260
2260
|
if (currentEnablementState !== null) {
|
|
2261
2261
|
const currentlyEnabled = this.extensionEnablementService.isEnabledEnablementState(currentEnablementState);
|
|
2262
2262
|
const enabled = this.extensionEnablementService.isEnabledEnablementState(this.enablementState);
|
|
2263
2263
|
if (!currentlyEnabled && enabled) {
|
|
2264
|
-
return canAddExtension() ? ( localize(
|
|
2264
|
+
return canAddExtension() ? ( localize(8072, "Enabled")) : null;
|
|
2265
2265
|
}
|
|
2266
2266
|
if (currentlyEnabled && !enabled) {
|
|
2267
|
-
return canRemoveExtension() ? ( localize(
|
|
2267
|
+
return canRemoveExtension() ? ( localize(8073, "Disabled")) : null;
|
|
2268
2268
|
}
|
|
2269
2269
|
}
|
|
2270
2270
|
return null;
|
|
@@ -2296,7 +2296,7 @@ let ToggleSyncExtensionAction = class ToggleSyncExtensionAction extends DropDown
|
|
|
2296
2296
|
if (this.extension) {
|
|
2297
2297
|
const isIgnored = this.extensionsWorkbenchService.isExtensionIgnoredToSync(this.extension);
|
|
2298
2298
|
this.class = isIgnored ? ToggleSyncExtensionAction_1.IGNORED_SYNC_CLASS : ToggleSyncExtensionAction_1.SYNC_CLASS;
|
|
2299
|
-
this.tooltip = isIgnored ? ( localize(
|
|
2299
|
+
this.tooltip = isIgnored ? ( localize(8074, "This extension is ignored during sync")) : ( localize(8075, "This extension is synced"));
|
|
2300
2300
|
}
|
|
2301
2301
|
}
|
|
2302
2302
|
async run() {
|
|
@@ -2305,7 +2305,7 @@ let ToggleSyncExtensionAction = class ToggleSyncExtensionAction extends DropDown
|
|
|
2305
2305
|
[
|
|
2306
2306
|
( (new Action(
|
|
2307
2307
|
'extensions.syncignore',
|
|
2308
|
-
this.extensionsWorkbenchService.isExtensionIgnoredToSync(this.extension) ? ( localize(
|
|
2308
|
+
this.extensionsWorkbenchService.isExtensionIgnoredToSync(this.extension) ? ( localize(8076, "Sync this extension")) : ( localize(8077, "Do not sync this extension")),
|
|
2309
2309
|
undefined,
|
|
2310
2310
|
true,
|
|
2311
2311
|
() => this.extensionsWorkbenchService.toggleExtensionIgnoredToSync(this.extension)
|
|
@@ -2359,11 +2359,11 @@ let ExtensionStatusAction = class ExtensionStatusAction extends ExtensionAction
|
|
|
2359
2359
|
return;
|
|
2360
2360
|
}
|
|
2361
2361
|
if (this.extension.isMalicious) {
|
|
2362
|
-
this.updateStatus({ icon: warningIcon, message: ( (new MarkdownString(( localize(
|
|
2362
|
+
this.updateStatus({ icon: warningIcon, message: ( (new MarkdownString(( localize(8078, "This extension was reported to be problematic."))))) }, true);
|
|
2363
2363
|
return;
|
|
2364
2364
|
}
|
|
2365
2365
|
if (this.extension.state === 3 && this.extension.gallery && !this.extension.gallery.isSigned) {
|
|
2366
|
-
this.updateStatus({ icon: warningIcon, message: ( (new MarkdownString(( localize(
|
|
2366
|
+
this.updateStatus({ icon: warningIcon, message: ( (new MarkdownString(( localize(8079, "This extension is not signed by the Extension Marketplace."))))) }, true);
|
|
2367
2367
|
return;
|
|
2368
2368
|
}
|
|
2369
2369
|
if (this.extension.deprecationInfo) {
|
|
@@ -2371,20 +2371,20 @@ let ExtensionStatusAction = class ExtensionStatusAction extends ExtensionAction
|
|
|
2371
2371
|
const link = `[${this.extension.deprecationInfo.extension.displayName}](${( (URI.parse(
|
|
2372
2372
|
`command:extension.open?${encodeURIComponent(JSON.stringify([this.extension.deprecationInfo.extension.id]))}`
|
|
2373
2373
|
)))})`;
|
|
2374
|
-
this.updateStatus({ icon: warningIcon, message: ( (new MarkdownString(( localize(
|
|
2374
|
+
this.updateStatus({ icon: warningIcon, message: ( (new MarkdownString(( localize(8080, "This extension is deprecated. Use the {0} extension instead.", link))))) }, true);
|
|
2375
2375
|
}
|
|
2376
2376
|
else if (this.extension.deprecationInfo.settings) {
|
|
2377
|
-
const link = `[${( localize(
|
|
2377
|
+
const link = `[${( localize(8081, "settings"))}](${( (URI.parse(
|
|
2378
2378
|
`command:workbench.action.openSettings?${encodeURIComponent(JSON.stringify([( (this.extension.deprecationInfo.settings.map(setting => `@id:${setting}`))).join(' ')]))}`
|
|
2379
2379
|
)))})`;
|
|
2380
2380
|
this.updateStatus({ icon: warningIcon, message: ( (new MarkdownString(( localize(
|
|
2381
|
-
|
|
2381
|
+
8082,
|
|
2382
2382
|
"This extension is deprecated as this functionality is now built-in to VS Code. Configure these {0} to use this functionality.",
|
|
2383
2383
|
link
|
|
2384
2384
|
))))) }, true);
|
|
2385
2385
|
}
|
|
2386
2386
|
else {
|
|
2387
|
-
const message = ( (new MarkdownString(( localize(
|
|
2387
|
+
const message = ( (new MarkdownString(( localize(8083, "This extension is deprecated as it is no longer being maintained.")))));
|
|
2388
2388
|
if (this.extension.deprecationInfo.additionalInfo) {
|
|
2389
2389
|
message.appendMarkdown(` ${this.extension.deprecationInfo.additionalInfo}`);
|
|
2390
2390
|
}
|
|
@@ -2401,7 +2401,7 @@ let ExtensionStatusAction = class ExtensionStatusAction extends ExtensionAction
|
|
|
2401
2401
|
const markdown = ( (new MarkdownString()));
|
|
2402
2402
|
markdown.appendMarkdown(`${message} `);
|
|
2403
2403
|
markdown.appendMarkdown(( localize(
|
|
2404
|
-
|
|
2404
|
+
8084,
|
|
2405
2405
|
"Please [review the extension]({0}) and update it manually.",
|
|
2406
2406
|
this.extension.hasChangelog()
|
|
2407
2407
|
? ( (( (URI.parse(
|
|
@@ -2420,23 +2420,23 @@ let ExtensionStatusAction = class ExtensionStatusAction extends ExtensionAction
|
|
|
2420
2420
|
if (this.extensionManagementServerService.localExtensionManagementServer || this.extensionManagementServerService.remoteExtensionManagementServer) {
|
|
2421
2421
|
const targetPlatform = await (this.extensionManagementServerService.localExtensionManagementServer ? this.extensionManagementServerService.localExtensionManagementServer.extensionManagementService.getTargetPlatform() : this.extensionManagementServerService.remoteExtensionManagementServer.extensionManagementService.getTargetPlatform());
|
|
2422
2422
|
const message = ( (new MarkdownString(`${( localize(
|
|
2423
|
-
|
|
2423
|
+
8085,
|
|
2424
2424
|
"The '{0}' extension is not available in {1} for {2}.",
|
|
2425
2425
|
this.extension.displayName || this.extension.identifier.id,
|
|
2426
2426
|
this.productService.nameLong,
|
|
2427
2427
|
TargetPlatformToString(targetPlatform)
|
|
2428
|
-
))} [${( localize(
|
|
2428
|
+
))} [${( localize(7986, "Learn More"))}](https://aka.ms/vscode-platform-specific-extensions)`)));
|
|
2429
2429
|
this.updateStatus({ icon: warningIcon, message }, true);
|
|
2430
2430
|
return;
|
|
2431
2431
|
}
|
|
2432
2432
|
if (this.extensionManagementServerService.webExtensionManagementServer) {
|
|
2433
|
-
const productName = ( localize(
|
|
2433
|
+
const productName = ( localize(7977, "{0} for the Web", this.productService.nameLong));
|
|
2434
2434
|
const message = ( (new MarkdownString(`${( localize(
|
|
2435
|
-
|
|
2435
|
+
8086,
|
|
2436
2436
|
"The '{0}' extension is not available in {1}.",
|
|
2437
2437
|
this.extension.displayName || this.extension.identifier.id,
|
|
2438
2438
|
productName
|
|
2439
|
-
))} [${( localize(
|
|
2439
|
+
))} [${( localize(8087, "Learn Why"))}](https://aka.ms/vscode-web-extensions-guide)`)));
|
|
2440
2440
|
this.updateStatus({ icon: warningIcon, message }, true);
|
|
2441
2441
|
return;
|
|
2442
2442
|
}
|
|
@@ -2447,12 +2447,12 @@ let ExtensionStatusAction = class ExtensionStatusAction extends ExtensionAction
|
|
|
2447
2447
|
return;
|
|
2448
2448
|
}
|
|
2449
2449
|
if (this.extension.enablementState === 2 ) {
|
|
2450
|
-
this.updateStatus({ message: ( (new MarkdownString(( localize(
|
|
2450
|
+
this.updateStatus({ message: ( (new MarkdownString(( localize(8088, "This extension is disabled by the environment."))))) }, true);
|
|
2451
2451
|
return;
|
|
2452
2452
|
}
|
|
2453
2453
|
if (this.extension.enablementState === 3 ) {
|
|
2454
2454
|
this.updateStatus({ message: ( (new MarkdownString(( localize(
|
|
2455
|
-
|
|
2455
|
+
8089,
|
|
2456
2456
|
"This extension is enabled because it is required in the current environment."
|
|
2457
2457
|
))))) }, true);
|
|
2458
2458
|
return;
|
|
@@ -2460,7 +2460,7 @@ let ExtensionStatusAction = class ExtensionStatusAction extends ExtensionAction
|
|
|
2460
2460
|
if (this.extension.enablementState === 4 ) {
|
|
2461
2461
|
const details = getWorkspaceSupportTypeMessage(this.extension.local.manifest.capabilities?.virtualWorkspaces);
|
|
2462
2462
|
this.updateStatus({ icon: infoIcon, message: ( (new MarkdownString(details ? escapeMarkdownSyntaxTokens(details) : ( localize(
|
|
2463
|
-
|
|
2463
|
+
8090,
|
|
2464
2464
|
"This extension has been disabled because it does not support virtual workspaces."
|
|
2465
2465
|
))))) }, true);
|
|
2466
2466
|
return;
|
|
@@ -2470,7 +2470,7 @@ let ExtensionStatusAction = class ExtensionStatusAction extends ExtensionAction
|
|
|
2470
2470
|
const details = getWorkspaceSupportTypeMessage(this.extension.local.manifest.capabilities?.virtualWorkspaces);
|
|
2471
2471
|
if (virtualSupportType === 'limited' || details) {
|
|
2472
2472
|
this.updateStatus({ icon: warningIcon, message: ( (new MarkdownString(details ? escapeMarkdownSyntaxTokens(details) : ( localize(
|
|
2473
|
-
|
|
2473
|
+
8091,
|
|
2474
2474
|
"This extension has limited features because the current workspace is virtual."
|
|
2475
2475
|
))))) }, true);
|
|
2476
2476
|
return;
|
|
@@ -2483,7 +2483,7 @@ let ExtensionStatusAction = class ExtensionStatusAction extends ExtensionAction
|
|
|
2483
2483
|
const untrustedDetails = getWorkspaceSupportTypeMessage(this.extension.local.manifest.capabilities?.untrustedWorkspaces);
|
|
2484
2484
|
this.updateStatus({ icon: trustIcon, message: ( (new MarkdownString(
|
|
2485
2485
|
untrustedDetails ? escapeMarkdownSyntaxTokens(untrustedDetails) : ( localize(
|
|
2486
|
-
|
|
2486
|
+
8092,
|
|
2487
2487
|
"This extension has been disabled because the current workspace is not trusted."
|
|
2488
2488
|
))
|
|
2489
2489
|
))) }, true);
|
|
@@ -2496,7 +2496,7 @@ let ExtensionStatusAction = class ExtensionStatusAction extends ExtensionAction
|
|
|
2496
2496
|
this.enabled = true;
|
|
2497
2497
|
this.updateStatus({ icon: trustIcon, message: ( (new MarkdownString(
|
|
2498
2498
|
untrustedDetails ? escapeMarkdownSyntaxTokens(untrustedDetails) : ( localize(
|
|
2499
|
-
|
|
2499
|
+
8093,
|
|
2500
2500
|
"This extension has limited features because the current workspace is not trusted."
|
|
2501
2501
|
))
|
|
2502
2502
|
))) }, true);
|
|
@@ -2512,10 +2512,10 @@ let ExtensionStatusAction = class ExtensionStatusAction extends ExtensionAction
|
|
|
2512
2512
|
if (this.extensionManifestPropertiesService.prefersExecuteOnWorkspace(this.extension.local.manifest)) {
|
|
2513
2513
|
if (this.extensionManagementServerService.remoteExtensionManagementServer) {
|
|
2514
2514
|
message = ( (new MarkdownString(`${( localize(
|
|
2515
|
-
|
|
2515
|
+
8094,
|
|
2516
2516
|
"This extension is disabled in this workspace because it is defined to run in the Remote Extension Host. Please install the extension in '{0}' to enable.",
|
|
2517
2517
|
this.extensionManagementServerService.remoteExtensionManagementServer.label
|
|
2518
|
-
))} [${( localize(
|
|
2518
|
+
))} [${( localize(7986, "Learn More"))}](https://code.visualstudio.com/api/advanced-topics/remote-extensions#architecture-and-extension-kinds)`)));
|
|
2519
2519
|
}
|
|
2520
2520
|
}
|
|
2521
2521
|
}
|
|
@@ -2523,26 +2523,26 @@ let ExtensionStatusAction = class ExtensionStatusAction extends ExtensionAction
|
|
|
2523
2523
|
if (this.extensionManifestPropertiesService.prefersExecuteOnUI(this.extension.local.manifest)) {
|
|
2524
2524
|
if (this.extensionManagementServerService.localExtensionManagementServer) {
|
|
2525
2525
|
message = ( (new MarkdownString(`${( localize(
|
|
2526
|
-
|
|
2526
|
+
8095,
|
|
2527
2527
|
"This extension is disabled in this workspace because it is defined to run in the Local Extension Host. Please install the extension locally to enable.",
|
|
2528
2528
|
this.extensionManagementServerService.remoteExtensionManagementServer.label
|
|
2529
|
-
))} [${( localize(
|
|
2529
|
+
))} [${( localize(7986, "Learn More"))}](https://code.visualstudio.com/api/advanced-topics/remote-extensions#architecture-and-extension-kinds)`)));
|
|
2530
2530
|
}
|
|
2531
2531
|
else if (isWeb) {
|
|
2532
2532
|
message = ( (new MarkdownString(`${( localize(
|
|
2533
|
-
|
|
2533
|
+
8096,
|
|
2534
2534
|
"This extension is disabled because it is defined to run only in {0} for the Desktop.",
|
|
2535
2535
|
this.productService.nameLong
|
|
2536
|
-
))} [${( localize(
|
|
2536
|
+
))} [${( localize(7986, "Learn More"))}](https://code.visualstudio.com/api/advanced-topics/remote-extensions#architecture-and-extension-kinds)`)));
|
|
2537
2537
|
}
|
|
2538
2538
|
}
|
|
2539
2539
|
}
|
|
2540
2540
|
else if (this.extensionManagementServerService.webExtensionManagementServer === this.extension.server) {
|
|
2541
2541
|
message = ( (new MarkdownString(`${( localize(
|
|
2542
|
-
|
|
2542
|
+
8097,
|
|
2543
2543
|
"This extension is disabled because it is not supported in {0} for the Web.",
|
|
2544
2544
|
this.productService.nameLong
|
|
2545
|
-
))} [${( localize(
|
|
2545
|
+
))} [${( localize(7986, "Learn More"))}](https://code.visualstudio.com/api/advanced-topics/remote-extensions#architecture-and-extension-kinds)`)));
|
|
2546
2546
|
}
|
|
2547
2547
|
if (message) {
|
|
2548
2548
|
this.updateStatus({ icon: warningIcon, message }, true);
|
|
@@ -2554,7 +2554,7 @@ let ExtensionStatusAction = class ExtensionStatusAction extends ExtensionAction
|
|
|
2554
2554
|
const features = ( (Registry.as(Extensions.ExtensionFeaturesRegistry))).getExtensionFeatures();
|
|
2555
2555
|
for (const feature of features) {
|
|
2556
2556
|
const status = this.extensionFeaturesManagementService.getAccessData(extensionId, feature.id)?.current?.status;
|
|
2557
|
-
const manageAccessLink = `[${( localize(
|
|
2557
|
+
const manageAccessLink = `[${( localize(8098, 'Manage Access'))}](${( (URI.parse(
|
|
2558
2558
|
`command:extension.open?${encodeURIComponent(JSON.stringify([this.extension.identifier.id, "features" , false, feature.id]))}`
|
|
2559
2559
|
)))})`;
|
|
2560
2560
|
if (status?.severity === Severity$1.Error) {
|
|
@@ -2573,12 +2573,12 @@ let ExtensionStatusAction = class ExtensionStatusAction extends ExtensionAction
|
|
|
2573
2573
|
)))) {
|
|
2574
2574
|
const message = this.extension.server === this.extensionManagementServerService.localExtensionManagementServer
|
|
2575
2575
|
? ( (new MarkdownString(( localize(
|
|
2576
|
-
|
|
2576
|
+
8099,
|
|
2577
2577
|
"Install the language pack extension on '{0}' to enable it there also.",
|
|
2578
2578
|
this.extensionManagementServerService.remoteExtensionManagementServer.label
|
|
2579
2579
|
)))))
|
|
2580
2580
|
: ( (new MarkdownString(( localize(
|
|
2581
|
-
|
|
2581
|
+
8100,
|
|
2582
2582
|
"Install the language pack extension locally to enable it there also."
|
|
2583
2583
|
)))));
|
|
2584
2584
|
this.updateStatus({ icon: infoIcon, message }, true);
|
|
@@ -2590,27 +2590,27 @@ let ExtensionStatusAction = class ExtensionStatusAction extends ExtensionAction
|
|
|
2590
2590
|
if (this.extension.server === this.extensionManagementServerService.localExtensionManagementServer && runningExtensionServer === this.extensionManagementServerService.remoteExtensionManagementServer) {
|
|
2591
2591
|
if (this.extensionManifestPropertiesService.prefersExecuteOnWorkspace(this.extension.local.manifest)) {
|
|
2592
2592
|
this.updateStatus({ icon: infoIcon, message: ( (new MarkdownString(`${( localize(
|
|
2593
|
-
|
|
2593
|
+
8101,
|
|
2594
2594
|
"This extension is enabled in the Remote Extension Host because it prefers to run there."
|
|
2595
|
-
))} [${( localize(
|
|
2595
|
+
))} [${( localize(7986, "Learn More"))}](https://code.visualstudio.com/api/advanced-topics/remote-extensions#architecture-and-extension-kinds)`))) }, true);
|
|
2596
2596
|
}
|
|
2597
2597
|
return;
|
|
2598
2598
|
}
|
|
2599
2599
|
if (this.extension.server === this.extensionManagementServerService.remoteExtensionManagementServer && runningExtensionServer === this.extensionManagementServerService.localExtensionManagementServer) {
|
|
2600
2600
|
if (this.extensionManifestPropertiesService.prefersExecuteOnUI(this.extension.local.manifest)) {
|
|
2601
2601
|
this.updateStatus({ icon: infoIcon, message: ( (new MarkdownString(`${( localize(
|
|
2602
|
-
|
|
2602
|
+
8102,
|
|
2603
2603
|
"This extension is enabled in the Local Extension Host because it prefers to run there."
|
|
2604
|
-
))} [${( localize(
|
|
2604
|
+
))} [${( localize(7986, "Learn More"))}](https://code.visualstudio.com/api/advanced-topics/remote-extensions#architecture-and-extension-kinds)`))) }, true);
|
|
2605
2605
|
}
|
|
2606
2606
|
return;
|
|
2607
2607
|
}
|
|
2608
2608
|
if (this.extension.server === this.extensionManagementServerService.remoteExtensionManagementServer && runningExtensionServer === this.extensionManagementServerService.webExtensionManagementServer) {
|
|
2609
2609
|
if (this.extensionManifestPropertiesService.canExecuteOnWeb(this.extension.local.manifest)) {
|
|
2610
2610
|
this.updateStatus({ icon: infoIcon, message: ( (new MarkdownString(`${( localize(
|
|
2611
|
-
|
|
2611
|
+
8103,
|
|
2612
2612
|
"This extension is enabled in the Web Worker Extension Host because it prefers to run there."
|
|
2613
|
-
))} [${( localize(
|
|
2613
|
+
))} [${( localize(7986, "Learn More"))}](https://code.visualstudio.com/api/advanced-topics/remote-extensions#architecture-and-extension-kinds)`))) }, true);
|
|
2614
2614
|
}
|
|
2615
2615
|
return;
|
|
2616
2616
|
}
|
|
@@ -2618,8 +2618,8 @@ let ExtensionStatusAction = class ExtensionStatusAction extends ExtensionAction
|
|
|
2618
2618
|
if (this.extension.enablementState === 6 ) {
|
|
2619
2619
|
this.updateStatus({
|
|
2620
2620
|
icon: warningIcon,
|
|
2621
|
-
message: ( (new MarkdownString(( localize(
|
|
2622
|
-
.appendMarkdown(` [${( localize(
|
|
2621
|
+
message: ( (new MarkdownString(( localize(8104, "This extension depends on an extension that is disabled.")))))
|
|
2622
|
+
.appendMarkdown(` [${( localize(8105, "Show Dependencies"))}](${( (URI.parse(
|
|
2623
2623
|
`command:extension.open?${encodeURIComponent(JSON.stringify([this.extension.identifier.id, "dependencies" ]))}`
|
|
2624
2624
|
)))})`)
|
|
2625
2625
|
}, true);
|
|
@@ -2636,12 +2636,12 @@ let ExtensionStatusAction = class ExtensionStatusAction extends ExtensionAction
|
|
|
2636
2636
|
)));
|
|
2637
2637
|
if (!this.extension.isWorkspaceScoped && isEnabled && isRunning) {
|
|
2638
2638
|
if (this.extension.enablementState === 10 ) {
|
|
2639
|
-
this.updateStatus({ message: ( (new MarkdownString(( localize(
|
|
2639
|
+
this.updateStatus({ message: ( (new MarkdownString(( localize(8106, "This extension is enabled for this workspace by the user."))))) }, true);
|
|
2640
2640
|
return;
|
|
2641
2641
|
}
|
|
2642
2642
|
if (this.extensionManagementServerService.localExtensionManagementServer && this.extensionManagementServerService.remoteExtensionManagementServer) {
|
|
2643
2643
|
if (this.extension.server === this.extensionManagementServerService.remoteExtensionManagementServer) {
|
|
2644
|
-
this.updateStatus({ message: ( (new MarkdownString(( localize(
|
|
2644
|
+
this.updateStatus({ message: ( (new MarkdownString(( localize(8107, "Extension is enabled on '{0}'", this.extension.server.label))))) }, true);
|
|
2645
2645
|
return;
|
|
2646
2646
|
}
|
|
2647
2647
|
}
|
|
@@ -2651,11 +2651,11 @@ let ExtensionStatusAction = class ExtensionStatusAction extends ExtensionAction
|
|
|
2651
2651
|
}
|
|
2652
2652
|
if (!isEnabled && !isRunning) {
|
|
2653
2653
|
if (this.extension.enablementState === 7 ) {
|
|
2654
|
-
this.updateStatus({ message: ( (new MarkdownString(( localize(
|
|
2654
|
+
this.updateStatus({ message: ( (new MarkdownString(( localize(8108, "This extension is disabled globally by the user."))))) }, true);
|
|
2655
2655
|
return;
|
|
2656
2656
|
}
|
|
2657
2657
|
if (this.extension.enablementState === 8 ) {
|
|
2658
|
-
this.updateStatus({ message: ( (new MarkdownString(( localize(
|
|
2658
|
+
this.updateStatus({ message: ( (new MarkdownString(( localize(8109, "This extension is disabled for this workspace by the user."))))) }, true);
|
|
2659
2659
|
return;
|
|
2660
2660
|
}
|
|
2661
2661
|
}
|
|
@@ -2728,7 +2728,7 @@ ExtensionStatusAction = ExtensionStatusAction_1 = ( (__decorate([
|
|
|
2728
2728
|
let ReinstallAction = class ReinstallAction extends Action {
|
|
2729
2729
|
static { ReinstallAction_1 = this; }
|
|
2730
2730
|
static { this.ID = 'workbench.extensions.action.reinstall'; }
|
|
2731
|
-
static { this.LABEL = ( localize(
|
|
2731
|
+
static { this.LABEL = ( localize(8110, "Reinstall Extension...")); }
|
|
2732
2732
|
constructor(id = ReinstallAction_1.ID, label = ReinstallAction_1.LABEL, extensionsWorkbenchService, extensionManagementServerService, quickInputService, notificationService, hostService, extensionService) {
|
|
2733
2733
|
super(id, label);
|
|
2734
2734
|
this.extensionsWorkbenchService = extensionsWorkbenchService;
|
|
@@ -2742,7 +2742,7 @@ let ReinstallAction = class ReinstallAction extends Action {
|
|
|
2742
2742
|
return this.extensionsWorkbenchService.local.filter(l => !l.isBuiltin && l.local).length > 0;
|
|
2743
2743
|
}
|
|
2744
2744
|
run() {
|
|
2745
|
-
return this.quickInputService.pick(this.getEntries(), { placeHolder: ( localize(
|
|
2745
|
+
return this.quickInputService.pick(this.getEntries(), { placeHolder: ( localize(8111, "Select Extension to Reinstall")) })
|
|
2746
2746
|
.then(pick => pick && this.reinstallExtension(pick.extension));
|
|
2747
2747
|
}
|
|
2748
2748
|
getEntries() {
|
|
@@ -2768,17 +2768,17 @@ let ReinstallAction = class ReinstallAction extends Action {
|
|
|
2768
2768
|
.then(extension => {
|
|
2769
2769
|
const requireReload = !(extension.local && this.extensionService.canAddExtension(toExtensionDescription(extension.local)));
|
|
2770
2770
|
const message = requireReload ? ( localize(
|
|
2771
|
-
|
|
2771
|
+
8112,
|
|
2772
2772
|
"Please reload Visual Studio Code to complete reinstalling the extension {0}.",
|
|
2773
2773
|
extension.identifier.id
|
|
2774
2774
|
))
|
|
2775
2775
|
: ( localize(
|
|
2776
|
-
|
|
2776
|
+
8113,
|
|
2777
2777
|
"Reinstalling the extension {0} is completed.",
|
|
2778
2778
|
extension.identifier.id
|
|
2779
2779
|
));
|
|
2780
2780
|
const actions = requireReload ? [{
|
|
2781
|
-
label: ( localize(
|
|
2781
|
+
label: ( localize(8114, "Reload Now")),
|
|
2782
2782
|
run: () => this.hostService.reload()
|
|
2783
2783
|
}] : [];
|
|
2784
2784
|
this.notificationService.prompt(Severity$1.Info, message, actions, { sticky: true });
|
|
@@ -2797,7 +2797,7 @@ ReinstallAction = ReinstallAction_1 = ( (__decorate([
|
|
|
2797
2797
|
let InstallSpecificVersionOfExtensionAction = class InstallSpecificVersionOfExtensionAction extends Action {
|
|
2798
2798
|
static { InstallSpecificVersionOfExtensionAction_1 = this; }
|
|
2799
2799
|
static { this.ID = 'workbench.extensions.action.install.specificVersion'; }
|
|
2800
|
-
static { this.LABEL = ( localize(
|
|
2800
|
+
static { this.LABEL = ( localize(8115, "Install Specific Version of Extension...")); }
|
|
2801
2801
|
constructor(id = InstallSpecificVersionOfExtensionAction_1.ID, label = InstallSpecificVersionOfExtensionAction_1.LABEL, extensionsWorkbenchService, quickInputService, instantiationService, extensionEnablementService) {
|
|
2802
2802
|
super(id, label);
|
|
2803
2803
|
this.extensionsWorkbenchService = extensionsWorkbenchService;
|
|
@@ -2811,7 +2811,7 @@ let InstallSpecificVersionOfExtensionAction = class InstallSpecificVersionOfExte
|
|
|
2811
2811
|
);
|
|
2812
2812
|
}
|
|
2813
2813
|
async run() {
|
|
2814
|
-
const extensionPick = await this.quickInputService.pick(this.getExtensionEntries(), { placeHolder: ( localize(
|
|
2814
|
+
const extensionPick = await this.quickInputService.pick(this.getExtensionEntries(), { placeHolder: ( localize(8116, "Select Extension")), matchOnDetail: true });
|
|
2815
2815
|
if (extensionPick && extensionPick.extension) {
|
|
2816
2816
|
const action = this.instantiationService.createInstance(InstallAnotherVersionAction, extensionPick.extension, true);
|
|
2817
2817
|
await action.run();
|
|
@@ -2889,7 +2889,7 @@ let AbstractInstallExtensionsInServerAction = class AbstractInstallExtensionsInS
|
|
|
2889
2889
|
quickPick.busy = false;
|
|
2890
2890
|
if (localExtensionsToInstall.length) {
|
|
2891
2891
|
quickPick.title = this.getQuickPickTitle();
|
|
2892
|
-
quickPick.placeholder = ( localize(
|
|
2892
|
+
quickPick.placeholder = ( localize(8117, "Select extensions to install"));
|
|
2893
2893
|
quickPick.canSelectMany = true;
|
|
2894
2894
|
localExtensionsToInstall.sort((e1, e2) => e1.displayName.localeCompare(e2.displayName));
|
|
2895
2895
|
quickPick.items = ( (localExtensionsToInstall.map(
|
|
@@ -2901,7 +2901,7 @@ let AbstractInstallExtensionsInServerAction = class AbstractInstallExtensionsInS
|
|
|
2901
2901
|
quickPick.dispose();
|
|
2902
2902
|
this.notificationService.notify({
|
|
2903
2903
|
severity: Severity$1.Info,
|
|
2904
|
-
message: ( localize(
|
|
2904
|
+
message: ( localize(8118, "There are no extensions to install."))
|
|
2905
2905
|
});
|
|
2906
2906
|
}
|
|
2907
2907
|
}
|
|
@@ -2911,9 +2911,9 @@ let AbstractInstallExtensionsInServerAction = class AbstractInstallExtensionsInS
|
|
|
2911
2911
|
if (localExtensionsToInstall.length) {
|
|
2912
2912
|
await this.progressService.withProgress({
|
|
2913
2913
|
location: 15 ,
|
|
2914
|
-
title: ( localize(
|
|
2914
|
+
title: ( localize(8119, "Installing Extensions..."))
|
|
2915
2915
|
}, () => this.installExtensions(localExtensionsToInstall));
|
|
2916
|
-
this.notificationService.info(( localize(
|
|
2916
|
+
this.notificationService.info(( localize(8120, "Successfully installed extensions.")));
|
|
2917
2917
|
}
|
|
2918
2918
|
}
|
|
2919
2919
|
}
|
|
@@ -2936,7 +2936,7 @@ let InstallLocalExtensionsInRemoteAction = class InstallLocalExtensionsInRemoteA
|
|
|
2936
2936
|
get label() {
|
|
2937
2937
|
if (this.extensionManagementServerService && this.extensionManagementServerService.remoteExtensionManagementServer) {
|
|
2938
2938
|
return ( localize(
|
|
2939
|
-
|
|
2939
|
+
8121,
|
|
2940
2940
|
"Install Local Extensions in '{0}'...",
|
|
2941
2941
|
this.extensionManagementServerService.remoteExtensionManagementServer.label
|
|
2942
2942
|
));
|
|
@@ -2945,7 +2945,7 @@ let InstallLocalExtensionsInRemoteAction = class InstallLocalExtensionsInRemoteA
|
|
|
2945
2945
|
}
|
|
2946
2946
|
getQuickPickTitle() {
|
|
2947
2947
|
return ( localize(
|
|
2948
|
-
|
|
2948
|
+
8122,
|
|
2949
2949
|
"Install Local Extensions in '{0}'",
|
|
2950
2950
|
this.extensionManagementServerService.remoteExtensionManagementServer.label
|
|
2951
2951
|
));
|
|
@@ -3010,10 +3010,10 @@ let InstallRemoteExtensionsInLocalAction = class InstallRemoteExtensionsInLocalA
|
|
|
3010
3010
|
this.logService = logService;
|
|
3011
3011
|
}
|
|
3012
3012
|
get label() {
|
|
3013
|
-
return ( localize(
|
|
3013
|
+
return ( localize(8123, "Install Remote Extensions Locally..."));
|
|
3014
3014
|
}
|
|
3015
3015
|
getQuickPickTitle() {
|
|
3016
|
-
return ( localize(
|
|
3016
|
+
return ( localize(8124, "Install Remote Extensions Locally"));
|
|
3017
3017
|
}
|
|
3018
3018
|
getExtensionsToInstall(local) {
|
|
3019
3019
|
return local.filter(extension => extension.type === 1 && extension.server !== this.extensionManagementServerService.localExtensionManagementServer
|
|
@@ -3078,27 +3078,27 @@ registerColor('extensionButton.background', {
|
|
|
3078
3078
|
light: buttonBackground,
|
|
3079
3079
|
hcDark: null,
|
|
3080
3080
|
hcLight: null
|
|
3081
|
-
}, ( localize(
|
|
3081
|
+
}, ( localize(8125, "Button background color for extension actions.")));
|
|
3082
3082
|
registerColor('extensionButton.foreground', {
|
|
3083
3083
|
dark: buttonForeground,
|
|
3084
3084
|
light: buttonForeground,
|
|
3085
3085
|
hcDark: null,
|
|
3086
3086
|
hcLight: null
|
|
3087
|
-
}, ( localize(
|
|
3087
|
+
}, ( localize(8126, "Button foreground color for extension actions.")));
|
|
3088
3088
|
registerColor('extensionButton.hoverBackground', {
|
|
3089
3089
|
dark: buttonHoverBackground,
|
|
3090
3090
|
light: buttonHoverBackground,
|
|
3091
3091
|
hcDark: null,
|
|
3092
3092
|
hcLight: null
|
|
3093
|
-
}, ( localize(
|
|
3094
|
-
registerColor('extensionButton.separator', buttonSeparator, ( localize(
|
|
3093
|
+
}, ( localize(8127, "Button background hover color for extension actions.")));
|
|
3094
|
+
registerColor('extensionButton.separator', buttonSeparator, ( localize(8128, "Button separator color for extension actions")));
|
|
3095
3095
|
const extensionButtonProminentBackground = registerColor('extensionButton.prominentBackground', {
|
|
3096
3096
|
dark: buttonBackground,
|
|
3097
3097
|
light: buttonBackground,
|
|
3098
3098
|
hcDark: null,
|
|
3099
3099
|
hcLight: null
|
|
3100
3100
|
}, ( localize(
|
|
3101
|
-
|
|
3101
|
+
8129,
|
|
3102
3102
|
"Button background color for extension actions that stand out (e.g. install button)."
|
|
3103
3103
|
)));
|
|
3104
3104
|
registerColor('extensionButton.prominentForeground', {
|
|
@@ -3107,7 +3107,7 @@ registerColor('extensionButton.prominentForeground', {
|
|
|
3107
3107
|
hcDark: null,
|
|
3108
3108
|
hcLight: null
|
|
3109
3109
|
}, ( localize(
|
|
3110
|
-
|
|
3110
|
+
8130,
|
|
3111
3111
|
"Button foreground color for extension actions that stand out (e.g. install button)."
|
|
3112
3112
|
)));
|
|
3113
3113
|
registerColor('extensionButton.prominentHoverBackground', {
|
|
@@ -3116,7 +3116,7 @@ registerColor('extensionButton.prominentHoverBackground', {
|
|
|
3116
3116
|
hcDark: null,
|
|
3117
3117
|
hcLight: null
|
|
3118
3118
|
}, ( localize(
|
|
3119
|
-
|
|
3119
|
+
8131,
|
|
3120
3120
|
"Button background hover color for extension actions that stand out (e.g. install button)."
|
|
3121
3121
|
)));
|
|
3122
3122
|
registerThemingParticipant((theme, collector) => {
|