@codingame/monaco-vscode-api 26.1.1 → 26.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/missing-services.js +26 -5
- package/package.json +8 -8
- package/services.js +3 -3
- package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.css +9 -0
- package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.d.ts +2 -0
- package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.js +12 -5
- package/vscode/src/vs/platform/actions/common/actions.d.ts +1 -0
- package/vscode/src/vs/platform/actions/common/actions.js +3 -0
- package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.d.ts +4 -0
- package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.js +5 -1
- package/vscode/src/vs/platform/product/common/product.js +3 -3
- package/vscode/src/vs/workbench/api/common/extHost.api.impl.js +2 -1
- package/vscode/src/vs/workbench/api/common/extHost.protocol.d.ts +1 -0
- package/vscode/src/vs/workbench/api/common/extHostChatAgents2.d.ts +1 -0
- package/vscode/src/vs/workbench/api/common/extHostChatAgents2.js +31 -8
- package/vscode/src/vs/workbench/api/common/extHostChatSessions.js +2 -1
- package/vscode/src/vs/workbench/api/common/extHostLanguageModelTools.js +7 -2
- package/vscode/src/vs/workbench/api/common/extHostTypeConverters.d.ts +12 -1
- package/vscode/src/vs/workbench/api/common/extHostTypeConverters.js +67 -3
- package/vscode/src/vs/workbench/api/common/extHostTypes.d.ts +12 -0
- package/vscode/src/vs/workbench/api/common/extHostTypes.js +9 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatActions.js +1 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessions.d.ts +5 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessions.js +15 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsModel.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatScreenshotContext.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.d.ts +8 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorContextKeys.js +7 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/promptFileRewriter.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/promptFileRewriter.js +5 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatContentParts.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/editor/chatEditorInput.js +9 -9
- package/vscode/src/vs/workbench/contrib/chat/common/actions/chatContextKeys.d.ts +7 -0
- package/vscode/src/vs/workbench/contrib/chat/common/actions/chatContextKeys.js +80 -62
- package/vscode/src/vs/workbench/contrib/chat/common/attachments/chatVariableEntries.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/chatModes.d.ts +5 -5
- package/vscode/src/vs/workbench/contrib/chat/common/chatModes.js +8 -9
- package/vscode/src/vs/workbench/contrib/chat/common/chatService/chatService.d.ts +70 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatService/chatService.js +27 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatService/chatService.service.d.ts +27 -3
- package/vscode/src/vs/workbench/contrib/chat/common/chatSessionsService.d.ts +2 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatSessionsService.service.d.ts +3 -2
- package/vscode/src/vs/workbench/contrib/chat/common/constants.d.ts +2 -0
- package/vscode/src/vs/workbench/contrib/chat/common/constants.js +2 -0
- package/vscode/src/vs/workbench/contrib/chat/common/editing/chatEditingService.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelStats.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/common/languageModels.js +22 -22
- package/vscode/src/vs/workbench/contrib/chat/common/model/chatModel.d.ts +84 -5
- package/vscode/src/vs/workbench/contrib/chat/common/model/chatModel.js +176 -70
- package/vscode/src/vs/workbench/contrib/chat/common/model/chatViewModel.d.ts +18 -5
- package/vscode/src/vs/workbench/contrib/chat/common/model/chatViewModel.js +46 -4
- package/vscode/src/vs/workbench/contrib/chat/common/participants/chatAgents.d.ts +17 -0
- package/vscode/src/vs/workbench/contrib/chat/common/participants/chatAgents.js +10 -0
- package/vscode/src/vs/workbench/contrib/chat/common/participants/chatAgents.service.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/computeAutomaticInstructions.d.ts +9 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/computeAutomaticInstructions.js +68 -54
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/config/config.d.ts +16 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/config/config.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/config/promptFileLocations.d.ts +48 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/config/promptFileLocations.js +64 -3
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/hookSchema.d.ts +159 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/hookSchema.js +387 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/promptFileParser.d.ts +21 -4
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/promptFileParser.js +82 -26
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/promptTypes.d.ts +3 -1
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/promptTypes.js +5 -1
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsService.d.ts +51 -3
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsService.js +14 -1
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsService.service.d.ts +11 -10
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/utils/promptEditHelper.d.ts +5 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/utils/promptEditHelper.js +22 -0
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/manageTodoListTool.js +9 -9
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/runSubagentTool.d.ts +14 -2
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/runSubagentTool.js +98 -25
- package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsContribution.js +22 -22
- package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsService.d.ts +14 -0
- package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsService.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsService.service.d.ts +1 -2
- package/vscode/src/vs/workbench/contrib/chat/common/widget/input/modelPickerWidget.js +1 -1
- package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +11 -11
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorAccessibilityHelp.js +5 -5
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/find/simpleFindWidget.js +9 -9
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/inspectEditorTokens/inspectEditorTokens.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/largeFileOptimizations.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoSymbolQuickAccess.js +6 -6
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMinimap.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMultiCursorModifier.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderControlCharacter.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderWhitespace.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +5 -5
- package/vscode/src/vs/workbench/contrib/codeEditor/common/languageConfigurationExtensionPoint.js +65 -65
- package/vscode/src/vs/workbench/contrib/comments/browser/commentColors.js +7 -7
- package/vscode/src/vs/workbench/contrib/comments/browser/commentGlyphWidget.js +7 -7
- package/vscode/src/vs/workbench/contrib/comments/browser/commentNode.js +2 -2
- package/vscode/src/vs/workbench/contrib/comments/browser/commentReply.js +3 -3
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadBody.js +3 -3
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadHeader.js +3 -3
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadWidget.js +3 -3
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadZoneWidget.js +3 -3
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsAccessibility.js +12 -12
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsController.js +7 -7
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsModel.js +1 -1
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsTreeViewer.js +9 -9
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsView.js +14 -14
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsViewActions.js +16 -16
- package/vscode/src/vs/workbench/contrib/comments/browser/reactionsAction.js +7 -7
- package/vscode/src/vs/workbench/contrib/comments/common/commentContextKeys.js +12 -12
- package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditorInput.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/baseDebugView.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointEditorContribution.js +29 -29
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointWidget.js +14 -14
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointsView.js +75 -75
- package/vscode/src/vs/workbench/contrib/debug/browser/callStackEditorContribution.js +2 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/debugActionViewItems.js +6 -6
- package/vscode/src/vs/workbench/contrib/debug/browser/debugColors.js +12 -12
- package/vscode/src/vs/workbench/contrib/debug/browser/debugCommands.js +38 -38
- package/vscode/src/vs/workbench/contrib/debug/browser/debugEditorContribution.js +2 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/debugHover.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/debugIcons.js +57 -57
- package/vscode/src/vs/workbench/contrib/debug/browser/debugSessionPicker.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/exceptionWidget.js +4 -4
- package/vscode/src/vs/workbench/contrib/debug/browser/linkDetector.js +2 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/repl.js +18 -18
- package/vscode/src/vs/workbench/contrib/debug/browser/replViewer.js +5 -5
- package/vscode/src/vs/workbench/contrib/debug/browser/variablesView.js +9 -9
- package/vscode/src/vs/workbench/contrib/debug/common/abstractDebugAdapter.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/debug.js +65 -65
- package/vscode/src/vs/workbench/contrib/debug/common/debugModel.js +6 -6
- package/vscode/src/vs/workbench/contrib/debug/common/debugSource.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/disassemblyViewInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/debug/common/loadedScriptsPicker.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/replModel.js +1 -1
- package/vscode/src/vs/workbench/contrib/dropOrPasteInto/browser/commands.js +2 -2
- package/vscode/src/vs/workbench/contrib/dropOrPasteInto/browser/configurationSchema.js +4 -4
- package/vscode/src/vs/workbench/contrib/extensions/browser/abstractRuntimeExtensionsEditor.js +18 -18
- package/vscode/src/vs/workbench/contrib/extensions/browser/configBasedRecommendations.js +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/browser/exeBasedRecommendations.js +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionEditor.js +41 -41
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionEnablementWorkspaceTrustTransitionParticipant.js +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionFeaturesTab.js +15 -15
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionRecommendationNotificationService.js +14 -14
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensions.contribution.js +147 -147
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActions.js +170 -170
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActivationProgress.js +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsCompletionItemsProvider.js +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsDependencyChecker.js +5 -5
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsIcons.js +24 -24
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsQuickAccess.js +4 -4
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsViewer.js +7 -7
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsViewlet.js +48 -48
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsViews.js +5 -5
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsWidgets.js +29 -29
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsWorkbenchService.js +74 -74
- package/vscode/src/vs/workbench/contrib/extensions/browser/fileBasedRecommendations.js +2 -2
- package/vscode/src/vs/workbench/contrib/extensions/browser/webRecommendations.js +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/browser/workspaceRecommendations.js +2 -2
- package/vscode/src/vs/workbench/contrib/extensions/common/extensions.js +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsFileTemplate.js +5 -5
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsUtils.js +3 -3
- package/vscode/src/vs/workbench/contrib/extensions/common/runtimeExtensionsInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/extensions/common/searchExtensionsTool.js +3 -3
- package/vscode/src/vs/workbench/contrib/externalUriOpener/common/configuration.js +4 -4
- package/vscode/src/vs/workbench/contrib/externalUriOpener/common/externalUriOpenerService.js +3 -3
- package/vscode/src/vs/workbench/contrib/files/browser/editors/binaryFileEditor.js +1 -1
- package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileEditor.js +8 -8
- package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileSaveErrorHandler.js +18 -18
- package/vscode/src/vs/workbench/contrib/files/browser/explorerViewlet.js +14 -14
- package/vscode/src/vs/workbench/contrib/files/browser/fileActions.contribution.js +39 -39
- package/vscode/src/vs/workbench/contrib/files/browser/fileActions.js +84 -84
- package/vscode/src/vs/workbench/contrib/files/browser/fileCommands._save.js +4 -4
- package/vscode/src/vs/workbench/contrib/files/browser/fileCommands.js +2 -2
- package/vscode/src/vs/workbench/contrib/files/browser/fileConstants.js +6 -6
- package/vscode/src/vs/workbench/contrib/files/browser/fileImportExport.js +27 -27
- package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._configuration.js +50 -50
- package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._editorPane.js +2 -2
- package/vscode/src/vs/workbench/contrib/files/browser/views/emptyView.js +1 -1
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerDecorationsProvider.js +4 -4
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerView.js +7 -7
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerViewer.js +17 -17
- package/vscode/src/vs/workbench/contrib/files/browser/views/openEditorsView.js +7 -7
- package/vscode/src/vs/workbench/contrib/files/browser/workspaceWatcher.js +4 -4
- package/vscode/src/vs/workbench/contrib/files/common/dirtyFilesIndicator.js +1 -1
- package/vscode/src/vs/workbench/contrib/files/common/files.js +16 -16
- package/vscode/src/vs/workbench/contrib/folding/browser/folding.contribution.js +3 -3
- package/vscode/src/vs/workbench/contrib/format/browser/formatActionsMultiple.js +20 -20
- package/vscode/src/vs/workbench/contrib/format/browser/formatActionsNone.js +4 -4
- package/vscode/src/vs/workbench/contrib/format/browser/formatModified.js +1 -1
- package/vscode/src/vs/workbench/contrib/inlayHints/browser/inlayHintsAccessibilty.js +4 -4
- package/vscode/src/vs/workbench/contrib/interactive/browser/interactiveCommon.d.ts +7 -0
- package/vscode/src/vs/workbench/contrib/interactive/browser/interactiveCommon.js +11 -0
- package/vscode/src/vs/workbench/contrib/interactive/browser/replInputHintContentWidget.d.ts +20 -0
- package/vscode/src/vs/workbench/contrib/interactive/browser/replInputHintContentWidget.js +150 -0
- package/vscode/src/vs/workbench/contrib/list/browser/listResizeColumnAction.js +2 -2
- package/vscode/src/vs/workbench/contrib/list/browser/tableColumnResizeQuickPick.js +5 -5
- package/vscode/src/vs/workbench/contrib/mcp/browser/mcpCommandsAddConfiguration.js +66 -66
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpConfiguration.js +31 -31
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpServer.js +9 -9
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.js +4 -4
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInput.js +4 -4
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInputModel.js +23 -23
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/mergeEditorModel.js +2 -2
- package/vscode/src/vs/workbench/contrib/mergeEditor/common/mergeEditor.js +8 -8
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/icons.contribution.js +1 -1
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffEditorInput.js +3 -3
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/scmMultiDiffSourceResolver.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/executionStatusBarItemController.d.ts +22 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/executionStatusBarItemController.js +338 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/notebookVisibleCellObserver.d.ts +18 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/notebookVisibleCellObserver.js +58 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindReplaceWidget.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindReplaceWidget.js +17 -17
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindWidget.d.ts +75 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindWidget.js +364 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOperations.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOutputActions.js +6 -6
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/coreActions.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/foldingController.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/insertCellActions.js +24 -24
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffComponents.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffElementOutputs.js +7 -7
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditor.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditorBrowser.js +8 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffList.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibilityProvider.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditor.js +7 -7
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditorWidget.js +24 -24
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookIcons.js +29 -29
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellEditorOptions.js +5 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellOutput.js +7 -7
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCell.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCellExecutionIcon.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCellRunToolbar.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/collapsedCellOutput.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/foldedCellHint.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/markupCell.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/backLayerWebView.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/cellRenderer.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelQuickPickStrategy.js +14 -14
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelView.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookViewZones.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/preferences/browser/keybindingWidgets.js +3 -3
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesIcons.js +13 -13
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesWidgets.js +10 -10
- package/vscode/src/vs/workbench/contrib/preferences/browser/settingsLayout.js +50 -50
- package/vscode/src/vs/workbench/contrib/preferences/common/preferences.js +3 -3
- package/vscode/src/vs/workbench/contrib/preferences/common/settingsEditorColorRegistry.js +21 -21
- package/vscode/src/vs/workbench/contrib/remote/browser/remoteExplorer.js +15 -15
- package/vscode/src/vs/workbench/contrib/remote/browser/remoteIcons.js +17 -17
- package/vscode/src/vs/workbench/contrib/remote/browser/tunnelView.js +59 -59
- package/vscode/src/vs/workbench/contrib/replNotebook/browser/interactiveEditor.css +21 -0
- package/vscode/src/vs/workbench/contrib/replNotebook/browser/media/interactive.css +36 -0
- package/vscode/src/vs/workbench/contrib/replNotebook/browser/replEditor.d.ts +110 -0
- package/vscode/src/vs/workbench/contrib/replNotebook/browser/replEditor.js +692 -0
- package/vscode/src/vs/workbench/contrib/replNotebook/browser/replEditorInput.d.ts +40 -0
- package/vscode/src/vs/workbench/contrib/replNotebook/browser/replEditorInput.js +158 -0
- package/vscode/src/vs/workbench/contrib/scm/browser/scmHistory.js +11 -11
- package/vscode/src/vs/workbench/contrib/scm/browser/scmHistoryChatContext.js +6 -6
- package/vscode/src/vs/workbench/contrib/scm/common/quickDiff.js +14 -14
- package/vscode/src/vs/workbench/contrib/search/browser/anythingQuickAccess.js +9 -9
- package/vscode/src/vs/workbench/contrib/search/browser/patternInputWidget.js +3 -3
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsBase.js +1 -1
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsFind.js +12 -12
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsTopBar.js +9 -9
- package/vscode/src/vs/workbench/contrib/search/browser/searchChatContext.js +5 -5
- package/vscode/src/vs/workbench/contrib/search/browser/searchFindInput.js +1 -1
- package/vscode/src/vs/workbench/contrib/search/browser/searchIcons.js +20 -20
- package/vscode/src/vs/workbench/contrib/search/browser/searchMessage.js +2 -2
- package/vscode/src/vs/workbench/contrib/search/browser/searchResultsView.js +14 -14
- package/vscode/src/vs/workbench/contrib/search/browser/searchView.js +55 -55
- package/vscode/src/vs/workbench/contrib/search/browser/searchWidget.js +8 -8
- package/vscode/src/vs/workbench/contrib/search/browser/symbolsQuickAccess.js +2 -2
- package/vscode/src/vs/workbench/contrib/searchEditor/browser/searchEditorInput.js +4 -4
- package/vscode/src/vs/workbench/contrib/searchEditor/browser/searchEditorSerialization.js +5 -5
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCompletionProvider.js +3 -3
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsFile.js +3 -3
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsService.js +9 -9
- package/vscode/src/vs/workbench/contrib/speech/common/speechService.js +29 -29
- package/vscode/src/vs/workbench/contrib/tasks/common/constants.js +1 -1
- package/vscode/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.js +5 -5
- package/vscode/src/vs/workbench/contrib/tasks/common/taskService.js +6 -6
- package/vscode/src/vs/workbench/contrib/tasks/common/tasks.js +4 -4
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalEditorInput.js +3 -3
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalIcons.js +13 -13
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalMenus.js +40 -40
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/decorationStyles.js +15 -15
- package/vscode/src/vs/workbench/contrib/terminal/common/terminal.js +9 -9
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalColorRegistry.js +23 -23
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalContextKey.js +17 -17
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalStrings.js +26 -26
- package/vscode/src/vs/workbench/contrib/terminalContrib/accessibility/common/terminalAccessibilityConfiguration.js +2 -2
- package/vscode/src/vs/workbench/contrib/terminalContrib/autoReplies/common/terminalAutoRepliesConfiguration.js +2 -2
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/common/terminalChatAgentToolsConfiguration.js +54 -54
- package/vscode/src/vs/workbench/contrib/terminalContrib/commandGuide/common/terminalCommandGuideConfiguration.js +1 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/history/common/terminal.history.js +1 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/inlineHint/common/terminalInitialHintConfiguration.js +1 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/stickyScroll/common/terminalStickyScrollConfiguration.js +3 -3
- package/vscode/src/vs/workbench/contrib/terminalContrib/suggest/common/terminalSuggestConfiguration.js +30 -30
- package/vscode/src/vs/workbench/contrib/terminalContrib/typeAhead/common/terminalTypeAheadConfiguration.js +5 -5
- package/vscode/src/vs/workbench/contrib/terminalContrib/zoom/common/terminal.zoom.js +2 -2
- package/vscode/src/vs/workbench/contrib/testing/common/constants.js +11 -11
- package/vscode/src/vs/workbench/contrib/testing/common/testResult.js +2 -2
- package/vscode/src/vs/workbench/contrib/testing/common/testTypes.js +3 -3
- package/vscode/src/vs/workbench/contrib/url/browser/trustedDomains.js +6 -6
- package/vscode/src/vs/workbench/contrib/webview/browser/webview.contribution.js +3 -3
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditor.js +1 -1
- package/vscode/src/vs/workbench/contrib/workspace/common/workspace.js +2 -2
- package/vscode/src/vs/workbench/services/authentication/browser/authenticationService.js +11 -11
- package/vscode/src/vs/workbench/services/auxiliaryWindow/browser/auxiliaryWindowService.js +5 -5
- package/vscode/src/vs/workbench/services/chat/common/chatEntitlementService.js +14 -14
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverSchema.js +16 -16
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverUtils.js +1 -1
- package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +16 -16
- package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +1 -1
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionsIcons.js +3 -3
- package/vscode/src/vs/workbench/services/extensionRecommendations/common/workspaceExtensionsConfig.js +6 -6
- package/vscode/src/vs/workbench/services/extensions/browser/extensionUrlHandler.js +10 -10
- package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +88 -88
- package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.js +5 -5
- package/vscode/src/vs/workbench/services/language/common/languageService.js +24 -24
- package/vscode/src/vs/workbench/services/log/common/logConstants.js +1 -1
- package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorInput.js +2 -2
- package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorModel.js +7 -7
- package/vscode/src/vs/workbench/services/preferences/common/preferencesEditorInput.js +4 -4
- package/vscode/src/vs/workbench/services/remote/common/remoteExplorerService.js +8 -8
- package/vscode/src/vs/workbench/services/remote/common/tunnelModel.js +6 -6
- package/vscode/src/vs/workbench/services/search/common/queryBuilder.js +1 -1
- package/vscode/src/vs/workbench/services/textMate/common/TMGrammars.js +9 -9
- package/vscode/src/vs/workbench/services/textfile/common/textFileEditorModel.js +3 -3
- package/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.js +18 -18
- package/vscode/src/vs/workbench/services/themes/common/colorThemeData.js +8 -8
- package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +13 -13
- package/vscode/src/vs/workbench/services/themes/common/tokenClassificationExtensionPoint.js +24 -24
- package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfile.js +3 -3
- package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfileIcons.js +1 -1
- package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +13 -13
- package/vscode/src/vs/workbench/services/views/browser/viewsService.js +9 -9
- package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopy.js +16 -16
- package/vscode-dts/vscode.proposed.chatHooks.d.ts +126 -0
- package/vscode-dts/vscode.proposed.chatParticipantAdditions.d.ts +25 -1
- package/vscode-dts/vscode.proposed.chatParticipantPrivate.d.ts +35 -1
- package/vscode-dts/vscode.proposed.d.ts +1 -0
|
@@ -93,21 +93,21 @@ registerCss(extensionManagement);
|
|
|
93
93
|
( Registry.as(Extensions.Quickaccess)).registerQuickAccessProvider({
|
|
94
94
|
ctor: ManageExtensionsQuickAccessProvider,
|
|
95
95
|
prefix: ManageExtensionsQuickAccessProvider.PREFIX,
|
|
96
|
-
placeholder: ( localize(
|
|
96
|
+
placeholder: ( localize(7859, "Press Enter to manage extensions.")),
|
|
97
97
|
helpEntries: [{
|
|
98
|
-
description: ( localize(
|
|
98
|
+
description: ( localize(7860, "Manage Extensions"))
|
|
99
99
|
}]
|
|
100
100
|
});
|
|
101
101
|
( Registry.as(EditorExtensions.EditorPane)).registerEditorPane(
|
|
102
|
-
EditorPaneDescriptor.create(ExtensionEditor, ExtensionEditor.ID, ( localize(
|
|
102
|
+
EditorPaneDescriptor.create(ExtensionEditor, ExtensionEditor.ID, ( localize(7861, "Extension"))),
|
|
103
103
|
[( new SyncDescriptor(ExtensionsInput))]
|
|
104
104
|
);
|
|
105
105
|
const VIEW_CONTAINER = ( Registry.as(Extensions$1.ViewContainersRegistry)).registerViewContainer({
|
|
106
106
|
id: VIEWLET_ID,
|
|
107
|
-
title: ( localize2(
|
|
107
|
+
title: ( localize2(7862, "Extensions")),
|
|
108
108
|
openCommandActionDescriptor: {
|
|
109
109
|
id: VIEWLET_ID,
|
|
110
|
-
mnemonicTitle: ( localize(
|
|
110
|
+
mnemonicTitle: ( localize(7863, "E&&xtensions")),
|
|
111
111
|
keybindings: {
|
|
112
112
|
primary: KeyMod$1.CtrlCmd | KeyMod$1.Shift | KeyCode.KeyX
|
|
113
113
|
},
|
|
@@ -122,18 +122,18 @@ const VIEW_CONTAINER = ( Registry.as(Extensions$1.ViewContainersRegistry)).regis
|
|
|
122
122
|
( Registry.as(Extensions$2.Configuration)).registerConfiguration({
|
|
123
123
|
id: "extensions",
|
|
124
124
|
order: 30,
|
|
125
|
-
title: ( localize(
|
|
125
|
+
title: ( localize(7864, "Extensions")),
|
|
126
126
|
type: "object",
|
|
127
127
|
properties: {
|
|
128
128
|
"extensions.autoUpdate": {
|
|
129
129
|
enum: [true, "onlyEnabledExtensions", false],
|
|
130
|
-
enumItemLabels: [( localize(
|
|
131
|
-
enumDescriptions: [( localize(
|
|
132
|
-
|
|
130
|
+
enumItemLabels: [( localize(7865, "All Extensions")), ( localize(7866, "Only Enabled Extensions")), ( localize(7867, "None"))],
|
|
131
|
+
enumDescriptions: [( localize(7868, "Download and install updates automatically for all extensions.")), ( localize(
|
|
132
|
+
7869,
|
|
133
133
|
"Download and install updates automatically only for enabled extensions."
|
|
134
|
-
)), ( localize(
|
|
134
|
+
)), ( localize(7870, "Extensions are not automatically updated."))],
|
|
135
135
|
description: ( localize(
|
|
136
|
-
|
|
136
|
+
7871,
|
|
137
137
|
"Controls the automatic update behavior of extensions. The updates are fetched from a Microsoft online service."
|
|
138
138
|
)),
|
|
139
139
|
default: true,
|
|
@@ -143,7 +143,7 @@ const VIEW_CONTAINER = ( Registry.as(Extensions$1.ViewContainersRegistry)).regis
|
|
|
143
143
|
"extensions.autoCheckUpdates": {
|
|
144
144
|
type: "boolean",
|
|
145
145
|
description: ( localize(
|
|
146
|
-
|
|
146
|
+
7872,
|
|
147
147
|
"When enabled, automatically checks extensions for updates. If an extension has an update, it is marked as outdated in the Extensions view. The updates are fetched from a Microsoft online service."
|
|
148
148
|
)),
|
|
149
149
|
default: true,
|
|
@@ -153,7 +153,7 @@ const VIEW_CONTAINER = ( Registry.as(Extensions$1.ViewContainersRegistry)).regis
|
|
|
153
153
|
"extensions.ignoreRecommendations": {
|
|
154
154
|
type: "boolean",
|
|
155
155
|
description: ( localize(
|
|
156
|
-
|
|
156
|
+
7873,
|
|
157
157
|
"When enabled, the notifications for extension recommendations will not be shown."
|
|
158
158
|
)),
|
|
159
159
|
default: false
|
|
@@ -161,7 +161,7 @@ const VIEW_CONTAINER = ( Registry.as(Extensions$1.ViewContainersRegistry)).regis
|
|
|
161
161
|
"extensions.showRecommendationsOnlyOnDemand": {
|
|
162
162
|
type: "boolean",
|
|
163
163
|
deprecationMessage: ( localize(
|
|
164
|
-
|
|
164
|
+
7874,
|
|
165
165
|
"This setting is deprecated. Use extensions.ignoreRecommendations setting to control recommendation notifications. Use Extensions view's visibility actions to hide Recommended view by default."
|
|
166
166
|
)),
|
|
167
167
|
default: false,
|
|
@@ -170,7 +170,7 @@ const VIEW_CONTAINER = ( Registry.as(Extensions$1.ViewContainersRegistry)).regis
|
|
|
170
170
|
"extensions.closeExtensionDetailsOnViewChange": {
|
|
171
171
|
type: "boolean",
|
|
172
172
|
description: ( localize(
|
|
173
|
-
|
|
173
|
+
7875,
|
|
174
174
|
"When enabled, editors with extension details will be automatically closed upon navigating away from the Extensions View."
|
|
175
175
|
)),
|
|
176
176
|
default: false
|
|
@@ -181,7 +181,7 @@ const VIEW_CONTAINER = ( Registry.as(Extensions$1.ViewContainersRegistry)).regis
|
|
|
181
181
|
type: "string"
|
|
182
182
|
},
|
|
183
183
|
description: ( localize(
|
|
184
|
-
|
|
184
|
+
7876,
|
|
185
185
|
"When an extension is listed here, a confirmation prompt will not be shown when that extension handles a URI."
|
|
186
186
|
)),
|
|
187
187
|
default: [],
|
|
@@ -190,16 +190,16 @@ const VIEW_CONTAINER = ( Registry.as(Extensions$1.ViewContainersRegistry)).regis
|
|
|
190
190
|
"extensions.webWorker": {
|
|
191
191
|
type: ["boolean", "string"],
|
|
192
192
|
enum: [true, false, "auto"],
|
|
193
|
-
enumDescriptions: [( localize(
|
|
194
|
-
|
|
193
|
+
enumDescriptions: [( localize(7877, "The Web Worker Extension Host will always be launched.")), ( localize(7878, "The Web Worker Extension Host will never be launched.")), ( localize(
|
|
194
|
+
7879,
|
|
195
195
|
"The Web Worker Extension Host will be launched when a web extension needs it."
|
|
196
196
|
))],
|
|
197
|
-
description: ( localize(
|
|
197
|
+
description: ( localize(7880, "Enable web worker extension host.")),
|
|
198
198
|
default: "auto"
|
|
199
199
|
},
|
|
200
200
|
"extensions.supportVirtualWorkspaces": {
|
|
201
201
|
type: "object",
|
|
202
|
-
markdownDescription: ( localize(
|
|
202
|
+
markdownDescription: ( localize(7881, "Override the virtual workspaces support of an extension.")),
|
|
203
203
|
patternProperties: {
|
|
204
204
|
"([a-z0-9A-Z][a-z0-9-A-Z]*)\\.([a-z0-9A-Z][a-z0-9-A-Z]*)$": {
|
|
205
205
|
type: "boolean",
|
|
@@ -217,7 +217,7 @@ const VIEW_CONTAINER = ( Registry.as(Extensions$1.ViewContainersRegistry)).regis
|
|
|
217
217
|
"extensions.experimental.affinity": {
|
|
218
218
|
type: "object",
|
|
219
219
|
markdownDescription: ( localize(
|
|
220
|
-
|
|
220
|
+
7882,
|
|
221
221
|
"Configure an extension to execute in a different extension host process."
|
|
222
222
|
)),
|
|
223
223
|
patternProperties: {
|
|
@@ -238,7 +238,7 @@ const VIEW_CONTAINER = ( Registry.as(Extensions$1.ViewContainersRegistry)).regis
|
|
|
238
238
|
type: "object",
|
|
239
239
|
scope: ConfigurationScope.APPLICATION,
|
|
240
240
|
markdownDescription: ( localize(
|
|
241
|
-
|
|
241
|
+
7883,
|
|
242
242
|
"Override the untrusted workspace support of an extension. Extensions using `true` will always be enabled. Extensions using `limited` will always be enabled, and the extension will hide functionality that requires trust. Extensions using `false` will only be enabled only when the workspace is trusted."
|
|
243
243
|
)),
|
|
244
244
|
patternProperties: {
|
|
@@ -248,16 +248,16 @@ const VIEW_CONTAINER = ( Registry.as(Extensions$1.ViewContainersRegistry)).regis
|
|
|
248
248
|
"supported": {
|
|
249
249
|
type: ["boolean", "string"],
|
|
250
250
|
enum: [true, false, "limited"],
|
|
251
|
-
enumDescriptions: [( localize(
|
|
252
|
-
|
|
251
|
+
enumDescriptions: [( localize(7884, "Extension will always be enabled.")), ( localize(7885, "Extension will only be enabled only when the workspace is trusted.")), ( localize(
|
|
252
|
+
7886,
|
|
253
253
|
"Extension will always be enabled, and the extension will hide functionality requiring trust."
|
|
254
254
|
))],
|
|
255
|
-
description: ( localize(
|
|
255
|
+
description: ( localize(7887, "Defines the untrusted workspace support setting for the extension."))
|
|
256
256
|
},
|
|
257
257
|
"version": {
|
|
258
258
|
type: "string",
|
|
259
259
|
description: ( localize(
|
|
260
|
-
|
|
260
|
+
7888,
|
|
261
261
|
"Defines the version of the extension for which the override should be applied. If not specified, the override will be applied independent of the extension version."
|
|
262
262
|
))
|
|
263
263
|
}
|
|
@@ -268,7 +268,7 @@ const VIEW_CONTAINER = ( Registry.as(Extensions$1.ViewContainersRegistry)).regis
|
|
|
268
268
|
"extensions.experimental.deferredStartupFinishedActivation": {
|
|
269
269
|
type: "boolean",
|
|
270
270
|
description: ( localize(
|
|
271
|
-
|
|
271
|
+
7889,
|
|
272
272
|
"When enabled, extensions which declare the `onStartupFinished` activation event will be activated after a timeout."
|
|
273
273
|
)),
|
|
274
274
|
default: false
|
|
@@ -276,7 +276,7 @@ const VIEW_CONTAINER = ( Registry.as(Extensions$1.ViewContainersRegistry)).regis
|
|
|
276
276
|
"extensions.experimental.issueQuickAccess": {
|
|
277
277
|
type: "boolean",
|
|
278
278
|
description: ( localize(
|
|
279
|
-
|
|
279
|
+
7890,
|
|
280
280
|
"When enabled, extensions can be searched for via Quick Access and report issues from there."
|
|
281
281
|
)),
|
|
282
282
|
default: true
|
|
@@ -284,7 +284,7 @@ const VIEW_CONTAINER = ( Registry.as(Extensions$1.ViewContainersRegistry)).regis
|
|
|
284
284
|
[VerifyExtensionSignatureConfigKey]: {
|
|
285
285
|
type: "boolean",
|
|
286
286
|
description: ( localize(
|
|
287
|
-
|
|
287
|
+
7891,
|
|
288
288
|
"When enabled, extensions are verified to be signed before getting installed."
|
|
289
289
|
)),
|
|
290
290
|
default: true,
|
|
@@ -294,7 +294,7 @@ const VIEW_CONTAINER = ( Registry.as(Extensions$1.ViewContainersRegistry)).regis
|
|
|
294
294
|
[AutoRestartConfigurationKey]: {
|
|
295
295
|
type: "boolean",
|
|
296
296
|
description: ( localize(
|
|
297
|
-
|
|
297
|
+
7892,
|
|
298
298
|
"If activated, extensions will automatically restart following an update if the window is not in focus. There can be a data loss if you have open Notebooks or Custom Editors."
|
|
299
299
|
)),
|
|
300
300
|
default: false,
|
|
@@ -302,7 +302,7 @@ const VIEW_CONTAINER = ( Registry.as(Extensions$1.ViewContainersRegistry)).regis
|
|
|
302
302
|
},
|
|
303
303
|
[ExtensionGalleryServiceUrlConfigKey]: {
|
|
304
304
|
type: "string",
|
|
305
|
-
description: ( localize(
|
|
305
|
+
description: ( localize(7893, "Configure the Marketplace service URL to connect to")),
|
|
306
306
|
default: "",
|
|
307
307
|
scope: ConfigurationScope.APPLICATION,
|
|
308
308
|
tags: ["usesOnlineServices"],
|
|
@@ -314,7 +314,7 @@ const VIEW_CONTAINER = ( Registry.as(Extensions$1.ViewContainersRegistry)).regis
|
|
|
314
314
|
localization: {
|
|
315
315
|
description: {
|
|
316
316
|
key: "extensions.gallery.serviceUrl",
|
|
317
|
-
value: ( localize(
|
|
317
|
+
value: ( localize(7893, "Configure the Marketplace service URL to connect to"))
|
|
318
318
|
}
|
|
319
319
|
}
|
|
320
320
|
}
|
|
@@ -322,7 +322,7 @@ const VIEW_CONTAINER = ( Registry.as(Extensions$1.ViewContainersRegistry)).regis
|
|
|
322
322
|
"extensions.supportNodeGlobalNavigator": {
|
|
323
323
|
type: "boolean",
|
|
324
324
|
description: ( localize(
|
|
325
|
-
|
|
325
|
+
7894,
|
|
326
326
|
"When enabled, Node.js navigator object is exposed on the global scope."
|
|
327
327
|
)),
|
|
328
328
|
default: false
|
|
@@ -330,7 +330,7 @@ const VIEW_CONTAINER = ( Registry.as(Extensions$1.ViewContainersRegistry)).regis
|
|
|
330
330
|
[ExtensionRequestsTimeoutConfigKey]: {
|
|
331
331
|
type: "number",
|
|
332
332
|
description: ( localize(
|
|
333
|
-
|
|
333
|
+
7895,
|
|
334
334
|
"Controls the timeout in milliseconds for HTTP requests made when fetching extensions from the Marketplace"
|
|
335
335
|
)),
|
|
336
336
|
default: 60_000,
|
|
@@ -355,7 +355,7 @@ CommandsRegistry.registerCommand(
|
|
|
355
355
|
feature
|
|
356
356
|
});
|
|
357
357
|
} else {
|
|
358
|
-
throw ( new Error(( localize(
|
|
358
|
+
throw ( new Error(( localize(7896, "Extension '{0}' not found.", extensionId))));
|
|
359
359
|
}
|
|
360
360
|
}
|
|
361
361
|
);
|
|
@@ -381,10 +381,10 @@ CommandsRegistry.registerCommand(
|
|
|
381
381
|
CommandsRegistry.registerCommand({
|
|
382
382
|
id: "workbench.extensions.installExtension",
|
|
383
383
|
metadata: {
|
|
384
|
-
description: ( localize(
|
|
384
|
+
description: ( localize(7897, "Install the given extension")),
|
|
385
385
|
args: [{
|
|
386
386
|
name: "extensionIdOrVSIXUri",
|
|
387
|
-
description: ( localize(
|
|
387
|
+
description: ( localize(7898, "Extension id or VSIX resource uri")),
|
|
388
388
|
constraint: value => typeof value === "string" || value instanceof URI
|
|
389
389
|
}, {
|
|
390
390
|
name: "options",
|
|
@@ -396,7 +396,7 @@ CommandsRegistry.registerCommand({
|
|
|
396
396
|
"installOnlyNewlyAddedFromExtensionPackVSIX": {
|
|
397
397
|
"type": "boolean",
|
|
398
398
|
"description": ( localize(
|
|
399
|
-
|
|
399
|
+
7899,
|
|
400
400
|
"When enabled, VS Code installs only newly added extensions from the extension pack VSIX. This option is considered only while installing a VSIX."
|
|
401
401
|
)),
|
|
402
402
|
default: false
|
|
@@ -404,7 +404,7 @@ CommandsRegistry.registerCommand({
|
|
|
404
404
|
"installPreReleaseVersion": {
|
|
405
405
|
"type": "boolean",
|
|
406
406
|
"description": ( localize(
|
|
407
|
-
|
|
407
|
+
7900,
|
|
408
408
|
"When enabled, VS Code installs the pre-release version of the extension if available."
|
|
409
409
|
)),
|
|
410
410
|
default: false
|
|
@@ -412,7 +412,7 @@ CommandsRegistry.registerCommand({
|
|
|
412
412
|
"donotSync": {
|
|
413
413
|
"type": "boolean",
|
|
414
414
|
"description": ( localize(
|
|
415
|
-
|
|
415
|
+
7901,
|
|
416
416
|
"When enabled, VS Code do not sync this extension when Settings Sync is on."
|
|
417
417
|
)),
|
|
418
418
|
default: false
|
|
@@ -420,14 +420,14 @@ CommandsRegistry.registerCommand({
|
|
|
420
420
|
"justification": {
|
|
421
421
|
"type": ["string", "object"],
|
|
422
422
|
"description": ( localize(
|
|
423
|
-
|
|
423
|
+
7902,
|
|
424
424
|
"Justification for installing the extension. This is a string or an object that can be used to pass any information to the installation handlers. i.e. `{reason: 'This extension wants to open a URI', action: 'Open URI'}` will show a message box with the reason and action upon install."
|
|
425
425
|
))
|
|
426
426
|
},
|
|
427
427
|
"enable": {
|
|
428
428
|
"type": "boolean",
|
|
429
429
|
"description": ( localize(
|
|
430
|
-
|
|
430
|
+
7903,
|
|
431
431
|
"When enabled, the extension will be enabled if it is installed but disabled. If the extension is already enabled, this has no effect."
|
|
432
432
|
)),
|
|
433
433
|
default: false
|
|
@@ -435,7 +435,7 @@ CommandsRegistry.registerCommand({
|
|
|
435
435
|
"context": {
|
|
436
436
|
"type": "object",
|
|
437
437
|
"description": ( localize(
|
|
438
|
-
|
|
438
|
+
7904,
|
|
439
439
|
"Context for the installation. This is a JSON object that can be used to pass any information to the installation handlers. i.e. `{skipWalkthrough: true}` will skip opening the walkthrough upon install."
|
|
440
440
|
))
|
|
441
441
|
}
|
|
@@ -460,7 +460,7 @@ CommandsRegistry.registerCommand({
|
|
|
460
460
|
preRelease: options?.installPreReleaseVersion
|
|
461
461
|
}], CancellationToken.None);
|
|
462
462
|
if (!gallery) {
|
|
463
|
-
throw ( new Error(( localize(
|
|
463
|
+
throw ( new Error(( localize(7896, "Extension '{0}' not found.", arg))));
|
|
464
464
|
}
|
|
465
465
|
await extensionManagementService.installFromGallery(gallery, {
|
|
466
466
|
isMachineScoped: options?.donotSync ? true : undefined,
|
|
@@ -499,9 +499,9 @@ CommandsRegistry.registerCommand({
|
|
|
499
499
|
CommandsRegistry.registerCommand({
|
|
500
500
|
id: "workbench.extensions.uninstallExtension",
|
|
501
501
|
metadata: {
|
|
502
|
-
description: ( localize(
|
|
502
|
+
description: ( localize(7905, "Uninstall the given extension")),
|
|
503
503
|
args: [{
|
|
504
|
-
name: ( localize(
|
|
504
|
+
name: ( localize(7906, "Id of the extension to uninstall")),
|
|
505
505
|
schema: {
|
|
506
506
|
"type": "string"
|
|
507
507
|
}
|
|
@@ -509,7 +509,7 @@ CommandsRegistry.registerCommand({
|
|
|
509
509
|
},
|
|
510
510
|
handler: async (accessor, id) => {
|
|
511
511
|
if (!id) {
|
|
512
|
-
throw ( new Error(( localize(
|
|
512
|
+
throw ( new Error(( localize(7907, "Extension id required."))));
|
|
513
513
|
}
|
|
514
514
|
const extensionManagementService = accessor.get(IExtensionManagementService);
|
|
515
515
|
const installed = await extensionManagementService.getInstalled();
|
|
@@ -518,14 +518,14 @@ CommandsRegistry.registerCommand({
|
|
|
518
518
|
}));
|
|
519
519
|
if (!extensionToUninstall) {
|
|
520
520
|
throw ( new Error(( localize(
|
|
521
|
-
|
|
521
|
+
7908,
|
|
522
522
|
"Extension '{0}' is not installed. Make sure you use the full extension ID, including the publisher, e.g.: ms-dotnettools.csharp.",
|
|
523
523
|
id
|
|
524
524
|
))));
|
|
525
525
|
}
|
|
526
526
|
if (extensionToUninstall.isBuiltin) {
|
|
527
527
|
throw ( new Error(( localize(
|
|
528
|
-
|
|
528
|
+
7909,
|
|
529
529
|
"Extension '{0}' is a Built-in extension and cannot be uninstalled",
|
|
530
530
|
id
|
|
531
531
|
))));
|
|
@@ -541,9 +541,9 @@ CommandsRegistry.registerCommand({
|
|
|
541
541
|
CommandsRegistry.registerCommand({
|
|
542
542
|
id: "workbench.extensions.search",
|
|
543
543
|
metadata: {
|
|
544
|
-
description: ( localize(
|
|
544
|
+
description: ( localize(7910, "Search for a specific extension")),
|
|
545
545
|
args: [{
|
|
546
|
-
name: ( localize(
|
|
546
|
+
name: ( localize(7911, "Query to use in search")),
|
|
547
547
|
schema: {
|
|
548
548
|
"type": "string"
|
|
549
549
|
}
|
|
@@ -667,9 +667,9 @@ let ExtensionsContributions = class ExtensionsContributions extends Disposable {
|
|
|
667
667
|
( Registry.as(Extensions.Quickaccess)).registerQuickAccessProvider({
|
|
668
668
|
ctor: InstallExtensionQuickAccessProvider,
|
|
669
669
|
prefix: InstallExtensionQuickAccessProvider.PREFIX,
|
|
670
|
-
placeholder: ( localize(
|
|
670
|
+
placeholder: ( localize(7912, "Type the name of an extension to install or search.")),
|
|
671
671
|
helpEntries: [{
|
|
672
|
-
description: ( localize(
|
|
672
|
+
description: ( localize(7913, "Install or Search Extensions"))
|
|
673
673
|
}]
|
|
674
674
|
});
|
|
675
675
|
}
|
|
@@ -678,7 +678,7 @@ let ExtensionsContributions = class ExtensionsContributions extends Disposable {
|
|
|
678
678
|
this._register(MenuRegistry.appendMenuItem(MenuId.MenubarPreferencesMenu, {
|
|
679
679
|
command: {
|
|
680
680
|
id: VIEWLET_ID,
|
|
681
|
-
title: ( localize(
|
|
681
|
+
title: ( localize(7914, "&&Extensions"))
|
|
682
682
|
},
|
|
683
683
|
group: "2_configuration",
|
|
684
684
|
order: 3
|
|
@@ -686,14 +686,14 @@ let ExtensionsContributions = class ExtensionsContributions extends Disposable {
|
|
|
686
686
|
this._register(MenuRegistry.appendMenuItem(MenuId.GlobalActivity, {
|
|
687
687
|
command: {
|
|
688
688
|
id: VIEWLET_ID,
|
|
689
|
-
title: ( localize(
|
|
689
|
+
title: ( localize(7915, "Extensions"))
|
|
690
690
|
},
|
|
691
691
|
group: "2_configuration",
|
|
692
692
|
order: 3
|
|
693
693
|
}));
|
|
694
694
|
this.registerExtensionAction({
|
|
695
695
|
id: "workbench.extensions.action.focusExtensionsView",
|
|
696
|
-
title: ( localize2(
|
|
696
|
+
title: ( localize2(7916, "Focus on Extensions View")),
|
|
697
697
|
category: ExtensionsLocalizedLabel,
|
|
698
698
|
f1: true,
|
|
699
699
|
run: async accessor => {
|
|
@@ -702,7 +702,7 @@ let ExtensionsContributions = class ExtensionsContributions extends Disposable {
|
|
|
702
702
|
});
|
|
703
703
|
this.registerExtensionAction({
|
|
704
704
|
id: "workbench.extensions.action.installExtensions",
|
|
705
|
-
title: ( localize2(
|
|
705
|
+
title: ( localize2(7917, "Install Extensions")),
|
|
706
706
|
category: ExtensionsLocalizedLabel,
|
|
707
707
|
menu: {
|
|
708
708
|
id: MenuId.CommandPalette,
|
|
@@ -718,7 +718,7 @@ let ExtensionsContributions = class ExtensionsContributions extends Disposable {
|
|
|
718
718
|
});
|
|
719
719
|
this.registerExtensionAction({
|
|
720
720
|
id: "workbench.extensions.action.showRecommendedKeymapExtensions",
|
|
721
|
-
title: ( localize2(
|
|
721
|
+
title: ( localize2(7918, "Keymaps")),
|
|
722
722
|
category: PreferencesLocalizedLabel,
|
|
723
723
|
menu: [{
|
|
724
724
|
id: MenuId.CommandPalette,
|
|
@@ -729,13 +729,13 @@ let ExtensionsContributions = class ExtensionsContributions extends Disposable {
|
|
|
729
729
|
group: "2_keyboard_discover_actions"
|
|
730
730
|
}],
|
|
731
731
|
menuTitles: {
|
|
732
|
-
[MenuId.EditorTitle.id]: ( localize(
|
|
732
|
+
[MenuId.EditorTitle.id]: ( localize(7919, "Migrate Keyboard Shortcuts from..."))
|
|
733
733
|
},
|
|
734
734
|
run: () => this.extensionsWorkbenchService.openSearch("@recommended:keymaps ")
|
|
735
735
|
});
|
|
736
736
|
this.registerExtensionAction({
|
|
737
737
|
id: "workbench.extensions.action.showLanguageExtensions",
|
|
738
|
-
title: ( localize2(
|
|
738
|
+
title: ( localize2(7920, "Language Extensions")),
|
|
739
739
|
category: PreferencesLocalizedLabel,
|
|
740
740
|
menu: {
|
|
741
741
|
id: MenuId.CommandPalette,
|
|
@@ -745,7 +745,7 @@ let ExtensionsContributions = class ExtensionsContributions extends Disposable {
|
|
|
745
745
|
});
|
|
746
746
|
this.registerExtensionAction({
|
|
747
747
|
id: "workbench.extensions.action.checkForUpdates",
|
|
748
|
-
title: ( localize2(
|
|
748
|
+
title: ( localize2(7921, "Check for Extension Updates")),
|
|
749
749
|
category: ExtensionsLocalizedLabel,
|
|
750
750
|
menu: [{
|
|
751
751
|
id: MenuId.CommandPalette,
|
|
@@ -766,14 +766,14 @@ let ExtensionsContributions = class ExtensionsContributions extends Disposable {
|
|
|
766
766
|
if (outdated.length) {
|
|
767
767
|
return this.extensionsWorkbenchService.openSearch("@outdated ");
|
|
768
768
|
} else {
|
|
769
|
-
return this.dialogService.info(( localize(
|
|
769
|
+
return this.dialogService.info(( localize(7922, "All extensions are up to date.")));
|
|
770
770
|
}
|
|
771
771
|
}
|
|
772
772
|
});
|
|
773
773
|
const enableAutoUpdateWhenCondition = ( ContextKeyExpr.equals(`config.${AutoUpdateConfigurationKey}`, false));
|
|
774
774
|
this.registerExtensionAction({
|
|
775
775
|
id: "workbench.extensions.action.enableAutoUpdate",
|
|
776
|
-
title: ( localize2(
|
|
776
|
+
title: ( localize2(7923, "Enable Auto Update for All Extensions")),
|
|
777
777
|
category: ExtensionsLocalizedLabel,
|
|
778
778
|
precondition: enableAutoUpdateWhenCondition,
|
|
779
779
|
menu: [{
|
|
@@ -789,7 +789,7 @@ let ExtensionsContributions = class ExtensionsContributions extends Disposable {
|
|
|
789
789
|
const disableAutoUpdateWhenCondition = ( ContextKeyExpr.notEquals(`config.${AutoUpdateConfigurationKey}`, false));
|
|
790
790
|
this.registerExtensionAction({
|
|
791
791
|
id: "workbench.extensions.action.disableAutoUpdate",
|
|
792
|
-
title: ( localize2(
|
|
792
|
+
title: ( localize2(7924, "Disable Auto Update for All Extensions")),
|
|
793
793
|
precondition: disableAutoUpdateWhenCondition,
|
|
794
794
|
category: ExtensionsLocalizedLabel,
|
|
795
795
|
menu: [{
|
|
@@ -804,7 +804,7 @@ let ExtensionsContributions = class ExtensionsContributions extends Disposable {
|
|
|
804
804
|
});
|
|
805
805
|
this.registerExtensionAction({
|
|
806
806
|
id: "workbench.extensions.action.updateAllExtensions",
|
|
807
|
-
title: ( localize2(
|
|
807
|
+
title: ( localize2(7925, "Update All Extensions")),
|
|
808
808
|
category: ExtensionsLocalizedLabel,
|
|
809
809
|
precondition: HasOutdatedExtensionsContext,
|
|
810
810
|
menu: [{
|
|
@@ -832,7 +832,7 @@ let ExtensionsContributions = class ExtensionsContributions extends Disposable {
|
|
|
832
832
|
});
|
|
833
833
|
this.registerExtensionAction({
|
|
834
834
|
id: "workbench.extensions.action.enableAll",
|
|
835
|
-
title: ( localize2(
|
|
835
|
+
title: ( localize2(7926, "Enable All Extensions")),
|
|
836
836
|
category: ExtensionsLocalizedLabel,
|
|
837
837
|
menu: [{
|
|
838
838
|
id: MenuId.CommandPalette,
|
|
@@ -858,7 +858,7 @@ let ExtensionsContributions = class ExtensionsContributions extends Disposable {
|
|
|
858
858
|
});
|
|
859
859
|
this.registerExtensionAction({
|
|
860
860
|
id: "workbench.extensions.action.enableAllWorkspace",
|
|
861
|
-
title: ( localize2(
|
|
861
|
+
title: ( localize2(7927, "Enable All Extensions for this Workspace")),
|
|
862
862
|
category: ExtensionsLocalizedLabel,
|
|
863
863
|
menu: {
|
|
864
864
|
id: MenuId.CommandPalette,
|
|
@@ -879,7 +879,7 @@ let ExtensionsContributions = class ExtensionsContributions extends Disposable {
|
|
|
879
879
|
});
|
|
880
880
|
this.registerExtensionAction({
|
|
881
881
|
id: "workbench.extensions.action.disableAll",
|
|
882
|
-
title: ( localize2(
|
|
882
|
+
title: ( localize2(7928, "Disable All Installed Extensions")),
|
|
883
883
|
category: ExtensionsLocalizedLabel,
|
|
884
884
|
menu: [{
|
|
885
885
|
id: MenuId.CommandPalette,
|
|
@@ -905,7 +905,7 @@ let ExtensionsContributions = class ExtensionsContributions extends Disposable {
|
|
|
905
905
|
});
|
|
906
906
|
this.registerExtensionAction({
|
|
907
907
|
id: "workbench.extensions.action.disableAllWorkspace",
|
|
908
|
-
title: ( localize2(
|
|
908
|
+
title: ( localize2(7929, "Disable All Installed Extensions for this Workspace")),
|
|
909
909
|
category: ExtensionsLocalizedLabel,
|
|
910
910
|
menu: {
|
|
911
911
|
id: MenuId.CommandPalette,
|
|
@@ -926,7 +926,7 @@ let ExtensionsContributions = class ExtensionsContributions extends Disposable {
|
|
|
926
926
|
});
|
|
927
927
|
this.registerExtensionAction({
|
|
928
928
|
id: SELECT_INSTALL_VSIX_EXTENSION_COMMAND_ID,
|
|
929
|
-
title: ( localize2(
|
|
929
|
+
title: ( localize2(7930, "Install from VSIX...")),
|
|
930
930
|
category: ExtensionsLocalizedLabel,
|
|
931
931
|
menu: [{
|
|
932
932
|
id: MenuId.CommandPalette,
|
|
@@ -941,14 +941,14 @@ let ExtensionsContributions = class ExtensionsContributions extends Disposable {
|
|
|
941
941
|
const fileDialogService = accessor.get(IFileDialogService);
|
|
942
942
|
const commandService = accessor.get(ICommandService);
|
|
943
943
|
const vsixPaths = await fileDialogService.showOpenDialog({
|
|
944
|
-
title: ( localize(
|
|
944
|
+
title: ( localize(7931, "Install from VSIX")),
|
|
945
945
|
filters: [{
|
|
946
946
|
name: "VSIX Extensions",
|
|
947
947
|
extensions: ["vsix"]
|
|
948
948
|
}],
|
|
949
949
|
canSelectFiles: true,
|
|
950
950
|
canSelectMany: true,
|
|
951
|
-
openLabel: mnemonicButtonLabel(( localize(
|
|
951
|
+
openLabel: mnemonicButtonLabel(( localize(7932, "&&Install")))
|
|
952
952
|
});
|
|
953
953
|
if (vsixPaths) {
|
|
954
954
|
await commandService.executeCommand(INSTALL_EXTENSION_FROM_VSIX_COMMAND_ID, vsixPaths);
|
|
@@ -957,7 +957,7 @@ let ExtensionsContributions = class ExtensionsContributions extends Disposable {
|
|
|
957
957
|
});
|
|
958
958
|
this.registerExtensionAction({
|
|
959
959
|
id: INSTALL_EXTENSION_FROM_VSIX_COMMAND_ID,
|
|
960
|
-
title: ( localize(
|
|
960
|
+
title: ( localize(7933, "Install Extension VSIX")),
|
|
961
961
|
menu: [{
|
|
962
962
|
id: MenuId.ExplorerContext,
|
|
963
963
|
group: "extensions",
|
|
@@ -985,34 +985,34 @@ let ExtensionsContributions = class ExtensionsContributions extends Disposable {
|
|
|
985
985
|
}
|
|
986
986
|
if (requireReload) {
|
|
987
987
|
notificationService.prompt(Severity$1.Info, vsixs.length > 1 ? ( localize(
|
|
988
|
-
|
|
988
|
+
7934,
|
|
989
989
|
"Completed installing extensions. Please reload Visual Studio Code to enable them."
|
|
990
990
|
)) : ( localize(
|
|
991
|
-
|
|
991
|
+
7935,
|
|
992
992
|
"Completed installing extension. Please reload Visual Studio Code to enable it."
|
|
993
993
|
)), [{
|
|
994
|
-
label: ( localize(
|
|
994
|
+
label: ( localize(7936, "Reload Now")),
|
|
995
995
|
run: () => hostService.reload()
|
|
996
996
|
}]);
|
|
997
997
|
} else if (requireRestart) {
|
|
998
998
|
notificationService.prompt(Severity$1.Info, vsixs.length > 1 ? ( localize(
|
|
999
|
-
|
|
999
|
+
7937,
|
|
1000
1000
|
"Completed installing extensions. Please restart extensions to enable them."
|
|
1001
1001
|
)) : ( localize(
|
|
1002
|
-
|
|
1002
|
+
7938,
|
|
1003
1003
|
"Completed installing extension. Please restart extensions to enable it."
|
|
1004
1004
|
)), [{
|
|
1005
|
-
label: ( localize(
|
|
1005
|
+
label: ( localize(7939, "Restart Extensions")),
|
|
1006
1006
|
run: () => extensionsWorkbenchService.updateRunningExtensions()
|
|
1007
1007
|
}]);
|
|
1008
1008
|
} else {
|
|
1009
|
-
notificationService.prompt(Severity$1.Info, vsixs.length > 1 ? ( localize(
|
|
1009
|
+
notificationService.prompt(Severity$1.Info, vsixs.length > 1 ? ( localize(7940, "Completed installing extensions.")) : ( localize(7941, "Completed installing extension.")), []);
|
|
1010
1010
|
}
|
|
1011
1011
|
}
|
|
1012
1012
|
});
|
|
1013
1013
|
this.registerExtensionAction({
|
|
1014
1014
|
id: "workbench.extensions.action.installExtensionFromLocation",
|
|
1015
|
-
title: ( localize2(
|
|
1015
|
+
title: ( localize2(7942, "Install Extension from Location...")),
|
|
1016
1016
|
category: Categories.Developer,
|
|
1017
1017
|
menu: [{
|
|
1018
1018
|
id: MenuId.CommandPalette,
|
|
@@ -1025,10 +1025,10 @@ let ExtensionsContributions = class ExtensionsContributions extends Disposable {
|
|
|
1025
1025
|
const quickInputService = accessor.get(IQuickInputService);
|
|
1026
1026
|
const disposables = ( new DisposableStore());
|
|
1027
1027
|
const quickPick = disposables.add(quickInputService.createQuickPick());
|
|
1028
|
-
quickPick.title = ( localize(
|
|
1028
|
+
quickPick.title = ( localize(7943, "Install Extension from Location"));
|
|
1029
1029
|
quickPick.customButton = true;
|
|
1030
|
-
quickPick.customLabel = ( localize(
|
|
1031
|
-
quickPick.placeholder = ( localize(
|
|
1030
|
+
quickPick.customLabel = ( localize(7944, "Install"));
|
|
1031
|
+
quickPick.placeholder = ( localize(7945, "Location of the web extension"));
|
|
1032
1032
|
quickPick.ignoreFocusOut = true;
|
|
1033
1033
|
disposables.add(Event.any(quickPick.onDidAccept, quickPick.onDidCustom)(async () => {
|
|
1034
1034
|
quickPick.hide();
|
|
@@ -1051,7 +1051,7 @@ let ExtensionsContributions = class ExtensionsContributions extends Disposable {
|
|
|
1051
1051
|
canSelectFolders: true,
|
|
1052
1052
|
canSelectFiles: false,
|
|
1053
1053
|
canSelectMany: false,
|
|
1054
|
-
title: ( localize(
|
|
1054
|
+
title: ( localize(7943, "Install Extension from Location"))
|
|
1055
1055
|
});
|
|
1056
1056
|
if (extensionLocation?.[0]) {
|
|
1057
1057
|
await extensionManagementService.installFromLocation(extensionLocation[0]);
|
|
@@ -1061,7 +1061,7 @@ let ExtensionsContributions = class ExtensionsContributions extends Disposable {
|
|
|
1061
1061
|
});
|
|
1062
1062
|
MenuRegistry.appendMenuItem(extensionsSearchActionsMenu, {
|
|
1063
1063
|
submenu: extensionsFilterSubMenu,
|
|
1064
|
-
title: ( localize(
|
|
1064
|
+
title: ( localize(7946, "Filter Extensions...")),
|
|
1065
1065
|
group: "navigation",
|
|
1066
1066
|
order: 2,
|
|
1067
1067
|
icon: filterIcon
|
|
@@ -1070,7 +1070,7 @@ let ExtensionsContributions = class ExtensionsContributions extends Disposable {
|
|
|
1070
1070
|
const featuresExtensionsWhenContext = ( ContextKeyExpr.and(CONTEXT_HAS_GALLERY, ( ContextKeyExpr.regex(CONTEXT_GALLERY_FILTER_CAPABILITIES.key, ( new RegExp(`_${FilterType.Featured}_`))))));
|
|
1071
1071
|
this.registerExtensionAction({
|
|
1072
1072
|
id: showFeaturedExtensionsId,
|
|
1073
|
-
title: ( localize2(
|
|
1073
|
+
title: ( localize2(7947, "Show Featured Extensions")),
|
|
1074
1074
|
category: ExtensionsLocalizedLabel,
|
|
1075
1075
|
menu: [{
|
|
1076
1076
|
id: MenuId.CommandPalette,
|
|
@@ -1082,13 +1082,13 @@ let ExtensionsContributions = class ExtensionsContributions extends Disposable {
|
|
|
1082
1082
|
order: 1
|
|
1083
1083
|
}],
|
|
1084
1084
|
menuTitles: {
|
|
1085
|
-
[extensionsFilterSubMenu.id]: ( localize(
|
|
1085
|
+
[extensionsFilterSubMenu.id]: ( localize(7948, "Featured"))
|
|
1086
1086
|
},
|
|
1087
1087
|
run: () => this.extensionsWorkbenchService.openSearch("@featured ")
|
|
1088
1088
|
});
|
|
1089
1089
|
this.registerExtensionAction({
|
|
1090
1090
|
id: "workbench.extensions.action.showPopularExtensions",
|
|
1091
|
-
title: ( localize2(
|
|
1091
|
+
title: ( localize2(7949, "Show Popular Extensions")),
|
|
1092
1092
|
category: ExtensionsLocalizedLabel,
|
|
1093
1093
|
menu: [{
|
|
1094
1094
|
id: MenuId.CommandPalette,
|
|
@@ -1100,13 +1100,13 @@ let ExtensionsContributions = class ExtensionsContributions extends Disposable {
|
|
|
1100
1100
|
order: 2
|
|
1101
1101
|
}],
|
|
1102
1102
|
menuTitles: {
|
|
1103
|
-
[extensionsFilterSubMenu.id]: ( localize(
|
|
1103
|
+
[extensionsFilterSubMenu.id]: ( localize(7950, "Most Popular"))
|
|
1104
1104
|
},
|
|
1105
1105
|
run: () => this.extensionsWorkbenchService.openSearch("@popular ")
|
|
1106
1106
|
});
|
|
1107
1107
|
this.registerExtensionAction({
|
|
1108
1108
|
id: "workbench.extensions.action.showRecommendedExtensions",
|
|
1109
|
-
title: ( localize2(
|
|
1109
|
+
title: ( localize2(7951, "Show Recommended Extensions")),
|
|
1110
1110
|
category: ExtensionsLocalizedLabel,
|
|
1111
1111
|
menu: [{
|
|
1112
1112
|
id: MenuId.CommandPalette,
|
|
@@ -1118,13 +1118,13 @@ let ExtensionsContributions = class ExtensionsContributions extends Disposable {
|
|
|
1118
1118
|
order: 2
|
|
1119
1119
|
}],
|
|
1120
1120
|
menuTitles: {
|
|
1121
|
-
[extensionsFilterSubMenu.id]: ( localize(
|
|
1121
|
+
[extensionsFilterSubMenu.id]: ( localize(7952, "Recommended"))
|
|
1122
1122
|
},
|
|
1123
1123
|
run: () => this.extensionsWorkbenchService.openSearch("@recommended ")
|
|
1124
1124
|
});
|
|
1125
1125
|
this.registerExtensionAction({
|
|
1126
1126
|
id: "workbench.extensions.action.recentlyPublishedExtensions",
|
|
1127
|
-
title: ( localize2(
|
|
1127
|
+
title: ( localize2(7953, "Show Recently Published Extensions")),
|
|
1128
1128
|
category: ExtensionsLocalizedLabel,
|
|
1129
1129
|
menu: [{
|
|
1130
1130
|
id: MenuId.CommandPalette,
|
|
@@ -1136,14 +1136,14 @@ let ExtensionsContributions = class ExtensionsContributions extends Disposable {
|
|
|
1136
1136
|
order: 2
|
|
1137
1137
|
}],
|
|
1138
1138
|
menuTitles: {
|
|
1139
|
-
[extensionsFilterSubMenu.id]: ( localize(
|
|
1139
|
+
[extensionsFilterSubMenu.id]: ( localize(7954, "Recently Published"))
|
|
1140
1140
|
},
|
|
1141
1141
|
run: () => this.extensionsWorkbenchService.openSearch("@recentlyPublished ")
|
|
1142
1142
|
});
|
|
1143
1143
|
const extensionsCategoryFilterSubMenu = ( new MenuId("extensionsCategoryFilterSubMenu"));
|
|
1144
1144
|
MenuRegistry.appendMenuItem(extensionsFilterSubMenu, {
|
|
1145
1145
|
submenu: extensionsCategoryFilterSubMenu,
|
|
1146
|
-
title: ( localize(
|
|
1146
|
+
title: ( localize(7955, "Category")),
|
|
1147
1147
|
when: ( ContextKeyExpr.and(CONTEXT_HAS_GALLERY, ( ContextKeyExpr.regex(CONTEXT_GALLERY_FILTER_CAPABILITIES.key, ( new RegExp(`_${FilterType.Category}_`)))))),
|
|
1148
1148
|
group: "2_categories",
|
|
1149
1149
|
order: 1
|
|
@@ -1162,7 +1162,7 @@ let ExtensionsContributions = class ExtensionsContributions extends Disposable {
|
|
|
1162
1162
|
});
|
|
1163
1163
|
this.registerExtensionAction({
|
|
1164
1164
|
id: "workbench.extensions.action.installedExtensions",
|
|
1165
|
-
title: ( localize2(
|
|
1165
|
+
title: ( localize2(7956, "Show Installed Extensions")),
|
|
1166
1166
|
category: ExtensionsLocalizedLabel,
|
|
1167
1167
|
f1: true,
|
|
1168
1168
|
menu: [{
|
|
@@ -1171,13 +1171,13 @@ let ExtensionsContributions = class ExtensionsContributions extends Disposable {
|
|
|
1171
1171
|
order: 1
|
|
1172
1172
|
}],
|
|
1173
1173
|
menuTitles: {
|
|
1174
|
-
[extensionsFilterSubMenu.id]: ( localize(
|
|
1174
|
+
[extensionsFilterSubMenu.id]: ( localize(7957, "Installed"))
|
|
1175
1175
|
},
|
|
1176
1176
|
run: () => this.extensionsWorkbenchService.openSearch("@installed ")
|
|
1177
1177
|
});
|
|
1178
1178
|
this.registerExtensionAction({
|
|
1179
1179
|
id: "workbench.extensions.action.listBuiltInExtensions",
|
|
1180
|
-
title: ( localize2(
|
|
1180
|
+
title: ( localize2(7958, "Show Built-in Extensions")),
|
|
1181
1181
|
category: ExtensionsLocalizedLabel,
|
|
1182
1182
|
menu: [{
|
|
1183
1183
|
id: MenuId.CommandPalette,
|
|
@@ -1192,13 +1192,13 @@ let ExtensionsContributions = class ExtensionsContributions extends Disposable {
|
|
|
1192
1192
|
order: 3
|
|
1193
1193
|
}],
|
|
1194
1194
|
menuTitles: {
|
|
1195
|
-
[extensionsFilterSubMenu.id]: ( localize(
|
|
1195
|
+
[extensionsFilterSubMenu.id]: ( localize(7959, "Built-in"))
|
|
1196
1196
|
},
|
|
1197
1197
|
run: () => this.extensionsWorkbenchService.openSearch("@builtin ")
|
|
1198
1198
|
});
|
|
1199
1199
|
this.registerExtensionAction({
|
|
1200
1200
|
id: "workbench.extensions.action.extensionUpdates",
|
|
1201
|
-
title: ( localize2(
|
|
1201
|
+
title: ( localize2(7960, "Show Extension Updates")),
|
|
1202
1202
|
category: ExtensionsLocalizedLabel,
|
|
1203
1203
|
precondition: CONTEXT_HAS_GALLERY,
|
|
1204
1204
|
f1: true,
|
|
@@ -1209,13 +1209,13 @@ let ExtensionsContributions = class ExtensionsContributions extends Disposable {
|
|
|
1209
1209
|
order: 2
|
|
1210
1210
|
}],
|
|
1211
1211
|
menuTitles: {
|
|
1212
|
-
[extensionsFilterSubMenu.id]: ( localize(
|
|
1212
|
+
[extensionsFilterSubMenu.id]: ( localize(7961, "Updates"))
|
|
1213
1213
|
},
|
|
1214
1214
|
run: () => this.extensionsWorkbenchService.openSearch("@updates")
|
|
1215
1215
|
});
|
|
1216
1216
|
this.registerExtensionAction({
|
|
1217
1217
|
id: LIST_WORKSPACE_UNSUPPORTED_EXTENSIONS_COMMAND_ID,
|
|
1218
|
-
title: ( localize2(
|
|
1218
|
+
title: ( localize2(7962, "Show Extensions Unsupported By Workspace")),
|
|
1219
1219
|
category: ExtensionsLocalizedLabel,
|
|
1220
1220
|
menu: [{
|
|
1221
1221
|
id: MenuId.CommandPalette,
|
|
@@ -1227,13 +1227,13 @@ let ExtensionsContributions = class ExtensionsContributions extends Disposable {
|
|
|
1227
1227
|
when: ( ContextKeyExpr.or(CONTEXT_HAS_LOCAL_SERVER, CONTEXT_HAS_REMOTE_SERVER))
|
|
1228
1228
|
}],
|
|
1229
1229
|
menuTitles: {
|
|
1230
|
-
[extensionsFilterSubMenu.id]: ( localize(
|
|
1230
|
+
[extensionsFilterSubMenu.id]: ( localize(7963, "Workspace Unsupported"))
|
|
1231
1231
|
},
|
|
1232
1232
|
run: () => this.extensionsWorkbenchService.openSearch("@workspaceUnsupported")
|
|
1233
1233
|
});
|
|
1234
1234
|
this.registerExtensionAction({
|
|
1235
1235
|
id: "workbench.extensions.action.showEnabledExtensions",
|
|
1236
|
-
title: ( localize2(
|
|
1236
|
+
title: ( localize2(7964, "Show Enabled Extensions")),
|
|
1237
1237
|
category: ExtensionsLocalizedLabel,
|
|
1238
1238
|
menu: [{
|
|
1239
1239
|
id: MenuId.CommandPalette,
|
|
@@ -1248,13 +1248,13 @@ let ExtensionsContributions = class ExtensionsContributions extends Disposable {
|
|
|
1248
1248
|
order: 4
|
|
1249
1249
|
}],
|
|
1250
1250
|
menuTitles: {
|
|
1251
|
-
[extensionsFilterSubMenu.id]: ( localize(
|
|
1251
|
+
[extensionsFilterSubMenu.id]: ( localize(7965, "Enabled"))
|
|
1252
1252
|
},
|
|
1253
1253
|
run: () => this.extensionsWorkbenchService.openSearch("@enabled ")
|
|
1254
1254
|
});
|
|
1255
1255
|
this.registerExtensionAction({
|
|
1256
1256
|
id: "workbench.extensions.action.showDisabledExtensions",
|
|
1257
|
-
title: ( localize2(
|
|
1257
|
+
title: ( localize2(7966, "Show Disabled Extensions")),
|
|
1258
1258
|
category: ExtensionsLocalizedLabel,
|
|
1259
1259
|
menu: [{
|
|
1260
1260
|
id: MenuId.CommandPalette,
|
|
@@ -1269,21 +1269,21 @@ let ExtensionsContributions = class ExtensionsContributions extends Disposable {
|
|
|
1269
1269
|
order: 5
|
|
1270
1270
|
}],
|
|
1271
1271
|
menuTitles: {
|
|
1272
|
-
[extensionsFilterSubMenu.id]: ( localize(
|
|
1272
|
+
[extensionsFilterSubMenu.id]: ( localize(7967, "Disabled"))
|
|
1273
1273
|
},
|
|
1274
1274
|
run: () => this.extensionsWorkbenchService.openSearch("@disabled ")
|
|
1275
1275
|
});
|
|
1276
1276
|
const extensionsSortSubMenu = ( new MenuId("extensionsSortSubMenu"));
|
|
1277
1277
|
MenuRegistry.appendMenuItem(extensionsFilterSubMenu, {
|
|
1278
1278
|
submenu: extensionsSortSubMenu,
|
|
1279
|
-
title: ( localize(
|
|
1279
|
+
title: ( localize(7968, "Sort By")),
|
|
1280
1280
|
when: ( ContextKeyExpr.and(( ContextKeyExpr.or(CONTEXT_HAS_GALLERY, DefaultViewsContext)))),
|
|
1281
1281
|
group: "4_sort",
|
|
1282
1282
|
order: 1
|
|
1283
1283
|
});
|
|
1284
1284
|
this.registerExtensionAction({
|
|
1285
1285
|
id: "workbench.extensions.action.clearExtensionsSearchResults",
|
|
1286
|
-
title: ( localize2(
|
|
1286
|
+
title: ( localize2(7969, "Clear Extensions Search Results")),
|
|
1287
1287
|
category: ExtensionsLocalizedLabel,
|
|
1288
1288
|
icon: clearSearchResultsIcon,
|
|
1289
1289
|
f1: true,
|
|
@@ -1304,7 +1304,7 @@ let ExtensionsContributions = class ExtensionsContributions extends Disposable {
|
|
|
1304
1304
|
});
|
|
1305
1305
|
this.registerExtensionAction({
|
|
1306
1306
|
id: "workbench.extensions.action.refreshExtension",
|
|
1307
|
-
title: ( localize2(
|
|
1307
|
+
title: ( localize2(7970, "Refresh")),
|
|
1308
1308
|
category: ExtensionsLocalizedLabel,
|
|
1309
1309
|
icon: refreshIcon,
|
|
1310
1310
|
f1: true,
|
|
@@ -1323,7 +1323,7 @@ let ExtensionsContributions = class ExtensionsContributions extends Disposable {
|
|
|
1323
1323
|
});
|
|
1324
1324
|
this.registerExtensionAction({
|
|
1325
1325
|
id: "workbench.extensions.action.installWorkspaceRecommendedExtensions",
|
|
1326
|
-
title: ( localize(
|
|
1326
|
+
title: ( localize(7971, "Install Workspace Recommended Extensions")),
|
|
1327
1327
|
icon: installWorkspaceRecommendedIcon,
|
|
1328
1328
|
menu: {
|
|
1329
1329
|
id: MenuId.ViewTitle,
|
|
@@ -1446,7 +1446,7 @@ let ExtensionsContributions = class ExtensionsContributions extends Disposable {
|
|
|
1446
1446
|
});
|
|
1447
1447
|
this.registerExtensionAction({
|
|
1448
1448
|
id: "workbench.extensions.action.showPreReleaseVersion",
|
|
1449
|
-
title: ( localize2(
|
|
1449
|
+
title: ( localize2(7972, "Show Pre-Release Version")),
|
|
1450
1450
|
menu: {
|
|
1451
1451
|
id: MenuId.ExtensionContext,
|
|
1452
1452
|
group: INSTALL_ACTIONS_GROUP,
|
|
@@ -1465,7 +1465,7 @@ let ExtensionsContributions = class ExtensionsContributions extends Disposable {
|
|
|
1465
1465
|
});
|
|
1466
1466
|
this.registerExtensionAction({
|
|
1467
1467
|
id: "workbench.extensions.action.showReleasedVersion",
|
|
1468
|
-
title: ( localize2(
|
|
1468
|
+
title: ( localize2(7973, "Show Release Version")),
|
|
1469
1469
|
menu: {
|
|
1470
1470
|
id: MenuId.ExtensionContext,
|
|
1471
1471
|
group: INSTALL_ACTIONS_GROUP,
|
|
@@ -1535,7 +1535,7 @@ let ExtensionsContributions = class ExtensionsContributions extends Disposable {
|
|
|
1535
1535
|
});
|
|
1536
1536
|
this.registerExtensionAction({
|
|
1537
1537
|
id: "workbench.extensions.action.switchToPreRlease",
|
|
1538
|
-
title: ( localize(
|
|
1538
|
+
title: ( localize(7974, "Switch to Pre-Release Version")),
|
|
1539
1539
|
category: ExtensionsLocalizedLabel,
|
|
1540
1540
|
menu: {
|
|
1541
1541
|
id: MenuId.ExtensionContext,
|
|
@@ -1558,7 +1558,7 @@ let ExtensionsContributions = class ExtensionsContributions extends Disposable {
|
|
|
1558
1558
|
});
|
|
1559
1559
|
this.registerExtensionAction({
|
|
1560
1560
|
id: "workbench.extensions.action.switchToRelease",
|
|
1561
|
-
title: ( localize(
|
|
1561
|
+
title: ( localize(7975, "Switch to Release Version")),
|
|
1562
1562
|
category: ExtensionsLocalizedLabel,
|
|
1563
1563
|
menu: {
|
|
1564
1564
|
id: MenuId.ExtensionContext,
|
|
@@ -1601,7 +1601,7 @@ let ExtensionsContributions = class ExtensionsContributions extends Disposable {
|
|
|
1601
1601
|
});
|
|
1602
1602
|
this.registerExtensionAction({
|
|
1603
1603
|
id: "workbench.extensions.action.installUnsigned",
|
|
1604
|
-
title: ( localize(
|
|
1604
|
+
title: ( localize(7976, "Install")),
|
|
1605
1605
|
menu: {
|
|
1606
1606
|
id: MenuId.ExtensionContext,
|
|
1607
1607
|
group: "0_install",
|
|
@@ -1629,7 +1629,7 @@ let ExtensionsContributions = class ExtensionsContributions extends Disposable {
|
|
|
1629
1629
|
});
|
|
1630
1630
|
this.registerExtensionAction({
|
|
1631
1631
|
id: "workbench.extensions.action.installAndDonotSync",
|
|
1632
|
-
title: ( localize(
|
|
1632
|
+
title: ( localize(7977, "Install (Do not Sync)")),
|
|
1633
1633
|
menu: {
|
|
1634
1634
|
id: MenuId.ExtensionContext,
|
|
1635
1635
|
group: "0_install",
|
|
@@ -1655,7 +1655,7 @@ let ExtensionsContributions = class ExtensionsContributions extends Disposable {
|
|
|
1655
1655
|
});
|
|
1656
1656
|
this.registerExtensionAction({
|
|
1657
1657
|
id: "workbench.extensions.action.installPrereleaseAndDonotSync",
|
|
1658
|
-
title: ( localize(
|
|
1658
|
+
title: ( localize(7978, "Install Pre-Release (Do not Sync)")),
|
|
1659
1659
|
menu: {
|
|
1660
1660
|
id: MenuId.ExtensionContext,
|
|
1661
1661
|
group: "0_install",
|
|
@@ -1702,7 +1702,7 @@ let ExtensionsContributions = class ExtensionsContributions extends Disposable {
|
|
|
1702
1702
|
});
|
|
1703
1703
|
this.registerExtensionAction({
|
|
1704
1704
|
id: "workbench.extensions.action.copyExtension",
|
|
1705
|
-
title: ( localize2(
|
|
1705
|
+
title: ( localize2(7979, "Copy")),
|
|
1706
1706
|
menu: {
|
|
1707
1707
|
id: MenuId.ExtensionContext,
|
|
1708
1708
|
group: "1_copy"
|
|
@@ -1715,12 +1715,12 @@ let ExtensionsContributions = class ExtensionsContributions extends Disposable {
|
|
|
1715
1715
|
id: extensionId
|
|
1716
1716
|
}], CancellationToken.None))[0];
|
|
1717
1717
|
if (extension) {
|
|
1718
|
-
const name = ( localize(
|
|
1719
|
-
const id = ( localize(
|
|
1720
|
-
const description = ( localize(
|
|
1721
|
-
const verision = ( localize(
|
|
1722
|
-
const publisher = ( localize(
|
|
1723
|
-
const link = extension.url ? ( localize(
|
|
1718
|
+
const name = ( localize(7980, "Name: {0}", extension.displayName));
|
|
1719
|
+
const id = ( localize(7981, "Id: {0}", extensionId));
|
|
1720
|
+
const description = ( localize(7982, "Description: {0}", extension.description));
|
|
1721
|
+
const verision = ( localize(7983, "Version: {0}", extension.version));
|
|
1722
|
+
const publisher = ( localize(7984, "Publisher: {0}", extension.publisherDisplayName));
|
|
1723
|
+
const link = extension.url ? ( localize(7985, "VS Marketplace Link: {0}", `${extension.url}`)) : null;
|
|
1724
1724
|
const clipboardStr = `${name}\n${id}\n${description}\n${verision}\n${publisher}${link ? "\n" + link : ""}`;
|
|
1725
1725
|
await clipboardService.writeText(clipboardStr);
|
|
1726
1726
|
}
|
|
@@ -1728,7 +1728,7 @@ let ExtensionsContributions = class ExtensionsContributions extends Disposable {
|
|
|
1728
1728
|
});
|
|
1729
1729
|
this.registerExtensionAction({
|
|
1730
1730
|
id: "workbench.extensions.action.copyExtensionId",
|
|
1731
|
-
title: ( localize2(
|
|
1731
|
+
title: ( localize2(7986, "Copy Extension ID")),
|
|
1732
1732
|
menu: {
|
|
1733
1733
|
id: MenuId.ExtensionContext,
|
|
1734
1734
|
group: "1_copy"
|
|
@@ -1737,7 +1737,7 @@ let ExtensionsContributions = class ExtensionsContributions extends Disposable {
|
|
|
1737
1737
|
});
|
|
1738
1738
|
this.registerExtensionAction({
|
|
1739
1739
|
id: "workbench.extensions.action.copyLink",
|
|
1740
|
-
title: ( localize2(
|
|
1740
|
+
title: ( localize2(7987, "Copy Link")),
|
|
1741
1741
|
menu: {
|
|
1742
1742
|
id: MenuId.ExtensionContext,
|
|
1743
1743
|
group: "1_copy",
|
|
@@ -1752,7 +1752,7 @@ let ExtensionsContributions = class ExtensionsContributions extends Disposable {
|
|
|
1752
1752
|
});
|
|
1753
1753
|
this.registerExtensionAction({
|
|
1754
1754
|
id: "workbench.extensions.action.configure",
|
|
1755
|
-
title: ( localize2(
|
|
1755
|
+
title: ( localize2(7988, "Settings")),
|
|
1756
1756
|
menu: {
|
|
1757
1757
|
id: MenuId.ExtensionContext,
|
|
1758
1758
|
group: "2_configure",
|
|
@@ -1766,7 +1766,7 @@ let ExtensionsContributions = class ExtensionsContributions extends Disposable {
|
|
|
1766
1766
|
});
|
|
1767
1767
|
this.registerExtensionAction({
|
|
1768
1768
|
id: "workbench.extensions.action.download",
|
|
1769
|
-
title: ( localize(
|
|
1769
|
+
title: ( localize(7989, "Download VSIX")),
|
|
1770
1770
|
menu: {
|
|
1771
1771
|
id: MenuId.ExtensionContext,
|
|
1772
1772
|
when: ( ContextKeyExpr.and(ContextKeyExpr.not("extensionDisallowInstall"), ( ContextKeyExpr.has("isGalleryExtension")))),
|
|
@@ -1778,7 +1778,7 @@ let ExtensionsContributions = class ExtensionsContributions extends Disposable {
|
|
|
1778
1778
|
});
|
|
1779
1779
|
this.registerExtensionAction({
|
|
1780
1780
|
id: "workbench.extensions.action.downloadPreRelease",
|
|
1781
|
-
title: ( localize(
|
|
1781
|
+
title: ( localize(7990, "Download Pre-Release VSIX")),
|
|
1782
1782
|
menu: {
|
|
1783
1783
|
id: MenuId.ExtensionContext,
|
|
1784
1784
|
when: ( ContextKeyExpr.and(ContextKeyExpr.not("extensionDisallowInstall"), ( ContextKeyExpr.has("isGalleryExtension")), ( ContextKeyExpr.has("extensionHasPreReleaseVersion")))),
|
|
@@ -1790,7 +1790,7 @@ let ExtensionsContributions = class ExtensionsContributions extends Disposable {
|
|
|
1790
1790
|
});
|
|
1791
1791
|
this.registerExtensionAction({
|
|
1792
1792
|
id: "workbench.extensions.action.downloadSpecificVersion",
|
|
1793
|
-
title: ( localize(
|
|
1793
|
+
title: ( localize(7991, "Download Specific Version VSIX...")),
|
|
1794
1794
|
menu: {
|
|
1795
1795
|
id: MenuId.ExtensionContext,
|
|
1796
1796
|
when: ( ContextKeyExpr.and(ContextKeyExpr.not("extensionDisallowInstall"), ( ContextKeyExpr.has("isGalleryExtension")))),
|
|
@@ -1802,7 +1802,7 @@ let ExtensionsContributions = class ExtensionsContributions extends Disposable {
|
|
|
1802
1802
|
});
|
|
1803
1803
|
this.registerExtensionAction({
|
|
1804
1804
|
id: "workbench.extensions.action.manageAccountPreferences",
|
|
1805
|
-
title: ( localize2(
|
|
1805
|
+
title: ( localize2(7992, "Account Preferences")),
|
|
1806
1806
|
menu: {
|
|
1807
1807
|
id: MenuId.ExtensionContext,
|
|
1808
1808
|
group: "2_configure",
|
|
@@ -1813,7 +1813,7 @@ let ExtensionsContributions = class ExtensionsContributions extends Disposable {
|
|
|
1813
1813
|
});
|
|
1814
1814
|
this.registerExtensionAction({
|
|
1815
1815
|
id: "workbench.extensions.action.configureKeybindings",
|
|
1816
|
-
title: ( localize2(
|
|
1816
|
+
title: ( localize2(7993, "Keyboard Shortcuts")),
|
|
1817
1817
|
menu: {
|
|
1818
1818
|
id: MenuId.ExtensionContext,
|
|
1819
1819
|
group: "2_configure",
|
|
@@ -1826,7 +1826,7 @@ let ExtensionsContributions = class ExtensionsContributions extends Disposable {
|
|
|
1826
1826
|
});
|
|
1827
1827
|
this.registerExtensionAction({
|
|
1828
1828
|
id: "workbench.extensions.action.toggleApplyToAllProfiles",
|
|
1829
|
-
title: ( localize2(
|
|
1829
|
+
title: ( localize2(7994, "Apply Extension to all Profiles")),
|
|
1830
1830
|
toggled: ( ContextKeyExpr.has("isApplicationScopedExtension")),
|
|
1831
1831
|
menu: {
|
|
1832
1832
|
id: MenuId.ExtensionContext,
|
|
@@ -1846,7 +1846,7 @@ let ExtensionsContributions = class ExtensionsContributions extends Disposable {
|
|
|
1846
1846
|
});
|
|
1847
1847
|
this.registerExtensionAction({
|
|
1848
1848
|
id: TOGGLE_IGNORE_EXTENSION_ACTION_ID,
|
|
1849
|
-
title: ( localize2(
|
|
1849
|
+
title: ( localize2(7995, "Sync This Extension")),
|
|
1850
1850
|
menu: {
|
|
1851
1851
|
id: MenuId.ExtensionContext,
|
|
1852
1852
|
group: "2_configure",
|
|
@@ -1864,7 +1864,7 @@ let ExtensionsContributions = class ExtensionsContributions extends Disposable {
|
|
|
1864
1864
|
});
|
|
1865
1865
|
this.registerExtensionAction({
|
|
1866
1866
|
id: "workbench.extensions.action.ignoreRecommendation",
|
|
1867
|
-
title: ( localize2(
|
|
1867
|
+
title: ( localize2(7996, "Ignore Recommendation")),
|
|
1868
1868
|
menu: {
|
|
1869
1869
|
id: MenuId.ExtensionContext,
|
|
1870
1870
|
group: "3_recommendations",
|
|
@@ -1875,7 +1875,7 @@ let ExtensionsContributions = class ExtensionsContributions extends Disposable {
|
|
|
1875
1875
|
});
|
|
1876
1876
|
this.registerExtensionAction({
|
|
1877
1877
|
id: "workbench.extensions.action.undoIgnoredRecommendation",
|
|
1878
|
-
title: ( localize2(
|
|
1878
|
+
title: ( localize2(7997, "Undo Ignored Recommendation")),
|
|
1879
1879
|
menu: {
|
|
1880
1880
|
id: MenuId.ExtensionContext,
|
|
1881
1881
|
group: "3_recommendations",
|
|
@@ -1886,7 +1886,7 @@ let ExtensionsContributions = class ExtensionsContributions extends Disposable {
|
|
|
1886
1886
|
});
|
|
1887
1887
|
this.registerExtensionAction({
|
|
1888
1888
|
id: "workbench.extensions.action.addExtensionToWorkspaceRecommendations",
|
|
1889
|
-
title: ( localize2(
|
|
1889
|
+
title: ( localize2(7998, "Add to Workspace Recommendations")),
|
|
1890
1890
|
menu: {
|
|
1891
1891
|
id: MenuId.ExtensionContext,
|
|
1892
1892
|
group: "3_recommendations",
|
|
@@ -1897,7 +1897,7 @@ let ExtensionsContributions = class ExtensionsContributions extends Disposable {
|
|
|
1897
1897
|
});
|
|
1898
1898
|
this.registerExtensionAction({
|
|
1899
1899
|
id: "workbench.extensions.action.removeExtensionFromWorkspaceRecommendations",
|
|
1900
|
-
title: ( localize2(
|
|
1900
|
+
title: ( localize2(7999, "Remove from Workspace Recommendations")),
|
|
1901
1901
|
menu: {
|
|
1902
1902
|
id: MenuId.ExtensionContext,
|
|
1903
1903
|
group: "3_recommendations",
|
|
@@ -1908,7 +1908,7 @@ let ExtensionsContributions = class ExtensionsContributions extends Disposable {
|
|
|
1908
1908
|
});
|
|
1909
1909
|
this.registerExtensionAction({
|
|
1910
1910
|
id: "workbench.extensions.action.addToWorkspaceRecommendations",
|
|
1911
|
-
title: ( localize2(
|
|
1911
|
+
title: ( localize2(8000, "Add Extension to Workspace Recommendations")),
|
|
1912
1912
|
category: EXTENSIONS_CATEGORY,
|
|
1913
1913
|
menu: {
|
|
1914
1914
|
id: MenuId.CommandPalette,
|
|
@@ -1930,7 +1930,7 @@ let ExtensionsContributions = class ExtensionsContributions extends Disposable {
|
|
|
1930
1930
|
});
|
|
1931
1931
|
this.registerExtensionAction({
|
|
1932
1932
|
id: "workbench.extensions.action.addToWorkspaceFolderRecommendations",
|
|
1933
|
-
title: ( localize2(
|
|
1933
|
+
title: ( localize2(8001, "Add Extension to Workspace Folder Recommendations")),
|
|
1934
1934
|
category: EXTENSIONS_CATEGORY,
|
|
1935
1935
|
menu: {
|
|
1936
1936
|
id: MenuId.CommandPalette,
|
|
@@ -1940,7 +1940,7 @@ let ExtensionsContributions = class ExtensionsContributions extends Disposable {
|
|
|
1940
1940
|
});
|
|
1941
1941
|
this.registerExtensionAction({
|
|
1942
1942
|
id: "workbench.extensions.action.addToWorkspaceIgnoredRecommendations",
|
|
1943
|
-
title: ( localize2(
|
|
1943
|
+
title: ( localize2(8002, "Add Extension to Workspace Ignored Recommendations")),
|
|
1944
1944
|
category: EXTENSIONS_CATEGORY,
|
|
1945
1945
|
menu: {
|
|
1946
1946
|
id: MenuId.CommandPalette,
|
|
@@ -1962,7 +1962,7 @@ let ExtensionsContributions = class ExtensionsContributions extends Disposable {
|
|
|
1962
1962
|
});
|
|
1963
1963
|
this.registerExtensionAction({
|
|
1964
1964
|
id: "workbench.extensions.action.addToWorkspaceFolderIgnoredRecommendations",
|
|
1965
|
-
title: ( localize2(
|
|
1965
|
+
title: ( localize2(8003, "Add Extension to Workspace Folder Ignored Recommendations")),
|
|
1966
1966
|
category: EXTENSIONS_CATEGORY,
|
|
1967
1967
|
menu: {
|
|
1968
1968
|
id: MenuId.CommandPalette,
|
|
@@ -1989,7 +1989,7 @@ let ExtensionsContributions = class ExtensionsContributions extends Disposable {
|
|
|
1989
1989
|
});
|
|
1990
1990
|
this.registerExtensionAction({
|
|
1991
1991
|
id: "workbench.extensions.action.manageTrustedPublishers",
|
|
1992
|
-
title: ( localize2(
|
|
1992
|
+
title: ( localize2(8004, "Manage Trusted Extension Publishers")),
|
|
1993
1993
|
category: EXTENSIONS_CATEGORY,
|
|
1994
1994
|
f1: true,
|
|
1995
1995
|
run: async accessor => {
|
|
@@ -2004,8 +2004,8 @@ let ExtensionsContributions = class ExtensionsContributions extends Disposable {
|
|
|
2004
2004
|
}))).sort((a, b) => a.label.localeCompare(b.label));
|
|
2005
2005
|
const result = await quickInputService.pick(trustedPublisherItems, {
|
|
2006
2006
|
canPickMany: true,
|
|
2007
|
-
title: ( localize(
|
|
2008
|
-
placeHolder: ( localize(
|
|
2007
|
+
title: ( localize(8005, "Manage Trusted Extension Publishers")),
|
|
2008
|
+
placeHolder: ( localize(8006, "Choose which publishers to trust"))
|
|
2009
2009
|
});
|
|
2010
2010
|
if (result) {
|
|
2011
2011
|
const untrustedPublishers = [];
|
|
@@ -2154,7 +2154,7 @@ registerAction2(class ExtensionsGallerySignInAction extends Action2 {
|
|
|
2154
2154
|
constructor() {
|
|
2155
2155
|
super({
|
|
2156
2156
|
id: "workbench.extensions.actions.gallery.signIn",
|
|
2157
|
-
title: ( localize2(
|
|
2157
|
+
title: ( localize2(8007, "Sign in to access Extensions Marketplace")),
|
|
2158
2158
|
menu: {
|
|
2159
2159
|
id: MenuId.AccountsContext,
|
|
2160
2160
|
when: ( CONTEXT_EXTENSIONS_GALLERY_STATUS.isEqualTo(ExtensionGalleryManifestStatus.RequiresSignIn))
|