@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
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { URI } from "../../../../base/common/uri.js";
|
|
2
|
+
import { ITextModelService } from "../../../../editor/common/services/resolverService.service.js";
|
|
3
|
+
import { ITextResourceConfigurationService } from "../../../../editor/common/services/textResourceConfiguration.service.js";
|
|
4
|
+
import { IConfigurationService } from "../../../../platform/configuration/common/configuration.service.js";
|
|
5
|
+
import { IFileDialogService } from "../../../../platform/dialogs/common/dialogs.service.js";
|
|
6
|
+
import { IFileService } from "../../../../platform/files/common/files.service.js";
|
|
7
|
+
import { ILabelService } from "../../../../platform/label/common/label.service.js";
|
|
8
|
+
import { IInteractiveHistoryService } from "../../interactive/browser/interactiveHistoryService.service.js";
|
|
9
|
+
import { NotebookTextModel } from "@codingame/monaco-vscode-notebook-service-override/vscode/vs/workbench/contrib/notebook/common/model/notebookTextModel";
|
|
10
|
+
import { ICompositeNotebookEditorInput, NotebookEditorInput } from "../../notebook/common/notebookEditorInput.js";
|
|
11
|
+
import { INotebookEditorModelResolverService } from "../../notebook/common/notebookEditorModelResolverService.service.js";
|
|
12
|
+
import { INotebookService } from "../../notebook/common/notebookService.service.js";
|
|
13
|
+
import { ICustomEditorLabelService } from "../../../services/editor/common/customEditorLabelService.service.js";
|
|
14
|
+
import { IEditorService } from "../../../services/editor/common/editorService.service.js";
|
|
15
|
+
import { IExtensionService } from "../../../services/extensions/common/extensions.service.js";
|
|
16
|
+
import { IFilesConfigurationService } from "../../../services/filesConfiguration/common/filesConfigurationService.service.js";
|
|
17
|
+
import { ThemeIcon } from "../../../../base/common/themables.js";
|
|
18
|
+
import { IWorkbenchEnvironmentService } from "../../../services/environment/common/environmentService.service.js";
|
|
19
|
+
import { IPathService } from "../../../services/path/common/pathService.service.js";
|
|
20
|
+
export declare class ReplEditorInput extends NotebookEditorInput implements ICompositeNotebookEditorInput {
|
|
21
|
+
readonly historyService: IInteractiveHistoryService;
|
|
22
|
+
private readonly _textModelService;
|
|
23
|
+
static ID: string;
|
|
24
|
+
private inputModelRef;
|
|
25
|
+
private isScratchpad;
|
|
26
|
+
private label;
|
|
27
|
+
private isDisposing;
|
|
28
|
+
constructor(resource: URI, label: string | undefined, _notebookService: INotebookService, _notebookModelResolverService: INotebookEditorModelResolverService, _fileDialogService: IFileDialogService, labelService: ILabelService, fileService: IFileService, filesConfigurationService: IFilesConfigurationService, extensionService: IExtensionService, editorService: IEditorService, textResourceConfigurationService: ITextResourceConfigurationService, customEditorLabelService: ICustomEditorLabelService, historyService: IInteractiveHistoryService, _textModelService: ITextModelService, configurationService: IConfigurationService, environmentService: IWorkbenchEnvironmentService, pathService: IPathService);
|
|
29
|
+
getIcon(): ThemeIcon | undefined;
|
|
30
|
+
private createEditorLabel;
|
|
31
|
+
get typeId(): string;
|
|
32
|
+
get editorId(): string | undefined;
|
|
33
|
+
getName(): string;
|
|
34
|
+
get editorInputs(): this[];
|
|
35
|
+
get capabilities(): number;
|
|
36
|
+
resolve(): Promise<import("../../notebook/common/notebookCommon.js").IResolvedNotebookEditorModel | null>;
|
|
37
|
+
private ensureInputBoxCell;
|
|
38
|
+
resolveInput(notebook: NotebookTextModel): Promise<import("../../../../editor/common/model.js").ITextModel>;
|
|
39
|
+
dispose(): void;
|
|
40
|
+
}
|
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
|
|
2
|
+
import { __decorate, __param } from '../../../../../../../external/tslib/tslib.es6.js';
|
|
3
|
+
import { ITextModelService } from '../../../../editor/common/services/resolverService.service.js';
|
|
4
|
+
import { ITextResourceConfigurationService } from '../../../../editor/common/services/textResourceConfiguration.service.js';
|
|
5
|
+
import { IConfigurationService } from '../../../../platform/configuration/common/configuration.service.js';
|
|
6
|
+
import { IFileDialogService } from '../../../../platform/dialogs/common/dialogs.service.js';
|
|
7
|
+
import { IFileService } from '../../../../platform/files/common/files.service.js';
|
|
8
|
+
import { ILabelService } from '../../../../platform/label/common/label.service.js';
|
|
9
|
+
import { EditorInputCapabilities } from '../../../common/editor.js';
|
|
10
|
+
import { IInteractiveHistoryService } from '../../interactive/browser/interactiveHistoryService.service.js';
|
|
11
|
+
import { NotebookSetting, CellKind, CellEditType } from '../../notebook/common/notebookCommon.js';
|
|
12
|
+
import { NotebookEditorInput } from '../../notebook/common/notebookEditorInput.js';
|
|
13
|
+
import { INotebookEditorModelResolverService } from '../../notebook/common/notebookEditorModelResolverService.service.js';
|
|
14
|
+
import { INotebookService } from '../../notebook/common/notebookService.service.js';
|
|
15
|
+
import { ICustomEditorLabelService } from '../../../services/editor/common/customEditorLabelService.service.js';
|
|
16
|
+
import { IEditorService } from '../../../services/editor/common/editorService.service.js';
|
|
17
|
+
import { IExtensionService } from '../../../services/extensions/common/extensions.service.js';
|
|
18
|
+
import { IFilesConfigurationService } from '../../../services/filesConfiguration/common/filesConfigurationService.service.js';
|
|
19
|
+
import { Codicon } from '../../../../base/common/codicons.js';
|
|
20
|
+
import { localize } from '../../../../nls.js';
|
|
21
|
+
import { registerIcon } from '../../../../platform/theme/common/iconRegistry.js';
|
|
22
|
+
import { IWorkbenchEnvironmentService } from '../../../services/environment/common/environmentService.service.js';
|
|
23
|
+
import { IPathService } from '../../../services/path/common/pathService.service.js';
|
|
24
|
+
|
|
25
|
+
var ReplEditorInput_1;
|
|
26
|
+
const replTabIcon = registerIcon("repl-editor-label-icon", Codicon.debugLineByLine, ( localize(10941, "Icon of the REPL editor label.")));
|
|
27
|
+
let ReplEditorInput = class ReplEditorInput extends NotebookEditorInput {
|
|
28
|
+
static {
|
|
29
|
+
ReplEditorInput_1 = this;
|
|
30
|
+
}
|
|
31
|
+
static {
|
|
32
|
+
this.ID = "workbench.editorinputs.replEditorInput";
|
|
33
|
+
}
|
|
34
|
+
constructor(
|
|
35
|
+
resource,
|
|
36
|
+
label,
|
|
37
|
+
_notebookService,
|
|
38
|
+
_notebookModelResolverService,
|
|
39
|
+
_fileDialogService,
|
|
40
|
+
labelService,
|
|
41
|
+
fileService,
|
|
42
|
+
filesConfigurationService,
|
|
43
|
+
extensionService,
|
|
44
|
+
editorService,
|
|
45
|
+
textResourceConfigurationService,
|
|
46
|
+
customEditorLabelService,
|
|
47
|
+
historyService,
|
|
48
|
+
_textModelService,
|
|
49
|
+
configurationService,
|
|
50
|
+
environmentService,
|
|
51
|
+
pathService
|
|
52
|
+
) {
|
|
53
|
+
super(
|
|
54
|
+
resource,
|
|
55
|
+
undefined,
|
|
56
|
+
"jupyter-notebook",
|
|
57
|
+
{},
|
|
58
|
+
_notebookService,
|
|
59
|
+
_notebookModelResolverService,
|
|
60
|
+
_fileDialogService,
|
|
61
|
+
labelService,
|
|
62
|
+
fileService,
|
|
63
|
+
filesConfigurationService,
|
|
64
|
+
extensionService,
|
|
65
|
+
editorService,
|
|
66
|
+
textResourceConfigurationService,
|
|
67
|
+
customEditorLabelService,
|
|
68
|
+
environmentService,
|
|
69
|
+
pathService
|
|
70
|
+
);
|
|
71
|
+
this.historyService = historyService;
|
|
72
|
+
this._textModelService = _textModelService;
|
|
73
|
+
this.isDisposing = false;
|
|
74
|
+
this.isScratchpad = resource.scheme === "untitled" && configurationService.getValue(NotebookSetting.InteractiveWindowPromptToSave) !== true;
|
|
75
|
+
this.label = label ?? this.createEditorLabel(resource);
|
|
76
|
+
}
|
|
77
|
+
getIcon() {
|
|
78
|
+
return replTabIcon;
|
|
79
|
+
}
|
|
80
|
+
createEditorLabel(resource) {
|
|
81
|
+
if (!resource) {
|
|
82
|
+
return "REPL";
|
|
83
|
+
}
|
|
84
|
+
if (resource.scheme === "untitled") {
|
|
85
|
+
const match = ( new RegExp("Untitled-(\\d+).")).exec(resource.path);
|
|
86
|
+
if (match?.length === 2) {
|
|
87
|
+
return `REPL - ${match[1]}`;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
const filename = resource.path.split("/").pop();
|
|
91
|
+
return filename ? `REPL - ${filename}` : "REPL";
|
|
92
|
+
}
|
|
93
|
+
get typeId() {
|
|
94
|
+
return ReplEditorInput_1.ID;
|
|
95
|
+
}
|
|
96
|
+
get editorId() {
|
|
97
|
+
return "repl";
|
|
98
|
+
}
|
|
99
|
+
getName() {
|
|
100
|
+
return this.label;
|
|
101
|
+
}
|
|
102
|
+
get editorInputs() {
|
|
103
|
+
return [this];
|
|
104
|
+
}
|
|
105
|
+
get capabilities() {
|
|
106
|
+
const capabilities = super.capabilities;
|
|
107
|
+
const scratchPad = this.isScratchpad ? EditorInputCapabilities.Scratchpad : 0;
|
|
108
|
+
return capabilities | EditorInputCapabilities.Readonly | scratchPad;
|
|
109
|
+
}
|
|
110
|
+
async resolve() {
|
|
111
|
+
const model = await super.resolve();
|
|
112
|
+
if (model) {
|
|
113
|
+
this.ensureInputBoxCell(model.notebook);
|
|
114
|
+
}
|
|
115
|
+
return model;
|
|
116
|
+
}
|
|
117
|
+
ensureInputBoxCell(notebook) {
|
|
118
|
+
const lastCell = notebook.cells[notebook.cells.length - 1];
|
|
119
|
+
if (!lastCell || lastCell.cellKind === CellKind.Markup || lastCell.outputs.length > 0 || lastCell.internalMetadata.executionOrder !== undefined) {
|
|
120
|
+
notebook.applyEdits([{
|
|
121
|
+
editType: CellEditType.Replace,
|
|
122
|
+
index: notebook.cells.length,
|
|
123
|
+
count: 0,
|
|
124
|
+
cells: [{
|
|
125
|
+
cellKind: CellKind.Code,
|
|
126
|
+
language: "python",
|
|
127
|
+
mime: undefined,
|
|
128
|
+
outputs: [],
|
|
129
|
+
source: ""
|
|
130
|
+
}]
|
|
131
|
+
}], true, undefined, () => undefined, undefined, false);
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
async resolveInput(notebook) {
|
|
135
|
+
if (this.inputModelRef) {
|
|
136
|
+
return this.inputModelRef.object.textEditorModel;
|
|
137
|
+
}
|
|
138
|
+
const lastCell = notebook.cells[notebook.cells.length - 1];
|
|
139
|
+
if (!lastCell) {
|
|
140
|
+
throw ( new Error("The REPL editor requires at least one cell for the input box."));
|
|
141
|
+
}
|
|
142
|
+
this.inputModelRef = await this._textModelService.createModelReference(lastCell.uri);
|
|
143
|
+
return this.inputModelRef.object.textEditorModel;
|
|
144
|
+
}
|
|
145
|
+
dispose() {
|
|
146
|
+
if (!this.isDisposing) {
|
|
147
|
+
this.isDisposing = true;
|
|
148
|
+
this.editorModelReference?.object.revert({
|
|
149
|
+
soft: true
|
|
150
|
+
});
|
|
151
|
+
this.inputModelRef?.dispose();
|
|
152
|
+
super.dispose();
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
};
|
|
156
|
+
ReplEditorInput = ReplEditorInput_1 = ( __decorate([( __param(2, INotebookService)), ( __param(3, INotebookEditorModelResolverService)), ( __param(4, IFileDialogService)), ( __param(5, ILabelService)), ( __param(6, IFileService)), ( __param(7, IFilesConfigurationService)), ( __param(8, IExtensionService)), ( __param(9, IEditorService)), ( __param(10, ITextResourceConfigurationService)), ( __param(11, ICustomEditorLabelService)), ( __param(12, IInteractiveHistoryService)), ( __param(13, ITextModelService)), ( __param(14, IConfigurationService)), ( __param(15, IWorkbenchEnvironmentService)), ( __param(16, IPathService))], ReplEditorInput));
|
|
157
|
+
|
|
158
|
+
export { ReplEditorInput };
|
|
@@ -26,37 +26,37 @@ const SWIMLANE_WIDTH = 11;
|
|
|
26
26
|
const SWIMLANE_CURVE_RADIUS = 5;
|
|
27
27
|
const CIRCLE_RADIUS = 4;
|
|
28
28
|
const CIRCLE_STROKE_WIDTH = 2;
|
|
29
|
-
const historyItemRefColor = registerColor("scmGraph.historyItemRefColor", chartsBlue, ( localize(
|
|
30
|
-
const historyItemRemoteRefColor = registerColor("scmGraph.historyItemRemoteRefColor", chartsPurple, ( localize(
|
|
31
|
-
const historyItemBaseRefColor = registerColor("scmGraph.historyItemBaseRefColor", "#EA5C00", ( localize(
|
|
29
|
+
const historyItemRefColor = registerColor("scmGraph.historyItemRefColor", chartsBlue, ( localize(11078, "History item reference color.")));
|
|
30
|
+
const historyItemRemoteRefColor = registerColor("scmGraph.historyItemRemoteRefColor", chartsPurple, ( localize(11079, "History item remote reference color.")));
|
|
31
|
+
const historyItemBaseRefColor = registerColor("scmGraph.historyItemBaseRefColor", "#EA5C00", ( localize(11080, "History item base reference color.")));
|
|
32
32
|
const historyItemHoverDefaultLabelForeground = registerColor(
|
|
33
33
|
"scmGraph.historyItemHoverDefaultLabelForeground",
|
|
34
34
|
foreground,
|
|
35
|
-
( localize(
|
|
35
|
+
( localize(11081, "History item hover default label foreground color."))
|
|
36
36
|
);
|
|
37
37
|
const historyItemHoverDefaultLabelBackground = registerColor(
|
|
38
38
|
"scmGraph.historyItemHoverDefaultLabelBackground",
|
|
39
39
|
badgeBackground,
|
|
40
|
-
( localize(
|
|
40
|
+
( localize(11082, "History item hover default label background color."))
|
|
41
41
|
);
|
|
42
42
|
const historyItemHoverLabelForeground = registerColor(
|
|
43
43
|
"scmGraph.historyItemHoverLabelForeground",
|
|
44
44
|
PANEL_BACKGROUND,
|
|
45
|
-
( localize(
|
|
45
|
+
( localize(11083, "History item hover label foreground color."))
|
|
46
46
|
);
|
|
47
47
|
registerColor("scmGraph.historyItemHoverAdditionsForeground", {
|
|
48
48
|
light: "#587C0C",
|
|
49
49
|
dark: "#81B88B",
|
|
50
50
|
hcDark: "#A1E3AD",
|
|
51
51
|
hcLight: "#374E06"
|
|
52
|
-
}, ( localize(
|
|
52
|
+
}, ( localize(11084, "History item hover additions foreground color.")));
|
|
53
53
|
registerColor("scmGraph.historyItemHoverDeletionsForeground", {
|
|
54
54
|
light: "#AD0707",
|
|
55
55
|
dark: "#C74E39",
|
|
56
56
|
hcDark: "#C74E39",
|
|
57
57
|
hcLight: "#AD0707"
|
|
58
|
-
}, ( localize(
|
|
59
|
-
const colorRegistry = [registerColor("scmGraph.foreground1", "#FFB000", ( localize(
|
|
58
|
+
}, ( localize(11085, "History item hover deletions foreground color.")));
|
|
59
|
+
const colorRegistry = [registerColor("scmGraph.foreground1", "#FFB000", ( localize(11086, "Source control graph foreground color (1)."))), registerColor("scmGraph.foreground2", "#DC267F", ( localize(11087, "Source control graph foreground color (2)."))), registerColor("scmGraph.foreground3", "#994F00", ( localize(11088, "Source control graph foreground color (3)."))), registerColor("scmGraph.foreground4", "#40B0A6", ( localize(11089, "Source control graph foreground color (4)."))), registerColor("scmGraph.foreground5", "#B66DFF", ( localize(11090, "Source control graph foreground color (5).")))];
|
|
60
60
|
function getLabelColorIdentifier(historyItem, colorMap) {
|
|
61
61
|
if (historyItem.id === SCMIncomingHistoryItemId) {
|
|
62
62
|
return historyItemRemoteRefColor;
|
|
@@ -382,7 +382,7 @@ function addIncomingOutgoingChangesHistoryItems(
|
|
|
382
382
|
displayId: "0".repeat(displayIdLength),
|
|
383
383
|
parentIds: [mergeBase],
|
|
384
384
|
author: currentHistoryItemRemoteRef?.name,
|
|
385
|
-
subject: ( localize(
|
|
385
|
+
subject: ( localize(11091, "Incoming Changes")),
|
|
386
386
|
message: ""
|
|
387
387
|
};
|
|
388
388
|
viewModels.splice(afterHistoryItemIndex, 0, {
|
|
@@ -404,7 +404,7 @@ function addIncomingOutgoingChangesHistoryItems(
|
|
|
404
404
|
displayId: viewModels[0].historyItem.displayId ? "0".repeat(viewModels[0].historyItem.displayId.length) : undefined,
|
|
405
405
|
parentIds: [currentHistoryItemRef.revision],
|
|
406
406
|
author: currentHistoryItemRef?.name,
|
|
407
|
-
subject: ( localize(
|
|
407
|
+
subject: ( localize(11092, "Outgoing Changes")),
|
|
408
408
|
message: ""
|
|
409
409
|
};
|
|
410
410
|
const inputSwimlanes = viewModels[currentHistoryItemRefIndex].inputSwimlanes.slice(0);
|
|
@@ -70,7 +70,7 @@ let SCMHistoryItemContext = SCMHistoryItemContext_1 = class SCMHistoryItemContex
|
|
|
70
70
|
constructor(_scmViewService) {
|
|
71
71
|
this._scmViewService = _scmViewService;
|
|
72
72
|
this.type = "pickerPick";
|
|
73
|
-
this.label = ( localize(
|
|
73
|
+
this.label = ( localize(11093, "Source Control..."));
|
|
74
74
|
this.icon = Codicon.gitCommit;
|
|
75
75
|
this._delayer = ( new ThrottledDelayer(200));
|
|
76
76
|
}
|
|
@@ -81,7 +81,7 @@ let SCMHistoryItemContext = SCMHistoryItemContext_1 = class SCMHistoryItemContex
|
|
|
81
81
|
}
|
|
82
82
|
asPicker(_widget) {
|
|
83
83
|
return {
|
|
84
|
-
placeholder: ( localize(
|
|
84
|
+
placeholder: ( localize(11094, "Select a change")),
|
|
85
85
|
picks: picksWithPromiseFn((query, token) => {
|
|
86
86
|
const filterText = query.trim() !== "" ? query.trim() : undefined;
|
|
87
87
|
const activeRepository = this._scmViewService.activeRepository.get();
|
|
@@ -109,7 +109,7 @@ let SCMHistoryItemContext = SCMHistoryItemContext_1 = class SCMHistoryItemContex
|
|
|
109
109
|
details.push(historyItem.author);
|
|
110
110
|
}
|
|
111
111
|
if (historyItem.statistics) {
|
|
112
|
-
details.push(`${historyItem.statistics.files} ${( localize(
|
|
112
|
+
details.push(`${historyItem.statistics.files} ${( localize(11095, "file(s)"))}`);
|
|
113
113
|
}
|
|
114
114
|
if (historyItem.timestamp) {
|
|
115
115
|
details.push(fromNow(historyItem.timestamp, true, true));
|
|
@@ -228,7 +228,7 @@ registerAction2(class extends Action2 {
|
|
|
228
228
|
constructor() {
|
|
229
229
|
super({
|
|
230
230
|
id: "workbench.scm.action.graph.addHistoryItemToChat",
|
|
231
|
-
title: ( localize(
|
|
231
|
+
title: ( localize(11096, "Add to Chat")),
|
|
232
232
|
f1: false,
|
|
233
233
|
menu: {
|
|
234
234
|
id: MenuId.SCMHistoryItemContext,
|
|
@@ -251,7 +251,7 @@ registerAction2(class extends Action2 {
|
|
|
251
251
|
constructor() {
|
|
252
252
|
super({
|
|
253
253
|
id: "workbench.scm.action.graph.summarizeHistoryItem",
|
|
254
|
-
title: ( localize(
|
|
254
|
+
title: ( localize(11097, "Explain Changes")),
|
|
255
255
|
f1: false,
|
|
256
256
|
menu: {
|
|
257
257
|
id: MenuId.SCMHistoryItemContext,
|
|
@@ -275,7 +275,7 @@ registerAction2(class extends Action2 {
|
|
|
275
275
|
constructor() {
|
|
276
276
|
super({
|
|
277
277
|
id: "workbench.scm.action.graph.addHistoryItemChangeToChat",
|
|
278
|
-
title: ( localize(
|
|
278
|
+
title: ( localize(11096, "Add to Chat")),
|
|
279
279
|
f1: false,
|
|
280
280
|
menu: {
|
|
281
281
|
id: MenuId.SCMHistoryItemChangeContext,
|
|
@@ -18,14 +18,14 @@ const editorGutterModifiedBackground = registerColor("editorGutter.modifiedBackg
|
|
|
18
18
|
light: "#2090D3",
|
|
19
19
|
hcDark: "#1B81A8",
|
|
20
20
|
hcLight: "#2090D3"
|
|
21
|
-
}, ( localize(
|
|
21
|
+
}, ( localize(11146, "Editor gutter background color for lines that are modified.")));
|
|
22
22
|
registerColor("editorGutter.modifiedSecondaryBackground", {
|
|
23
23
|
dark: ( darken(editorGutterModifiedBackground, 0.5)),
|
|
24
24
|
light: ( lighten(editorGutterModifiedBackground, 0.7)),
|
|
25
25
|
hcDark: "#1B81A8",
|
|
26
26
|
hcLight: "#2090D3"
|
|
27
27
|
}, ( localize(
|
|
28
|
-
|
|
28
|
+
11147,
|
|
29
29
|
"Editor gutter secondary background color for lines that are modified."
|
|
30
30
|
)));
|
|
31
31
|
const editorGutterAddedBackground = registerColor("editorGutter.addedBackground", {
|
|
@@ -33,57 +33,57 @@ const editorGutterAddedBackground = registerColor("editorGutter.addedBackground"
|
|
|
33
33
|
light: "#48985D",
|
|
34
34
|
hcDark: "#487E02",
|
|
35
35
|
hcLight: "#48985D"
|
|
36
|
-
}, ( localize(
|
|
36
|
+
}, ( localize(11148, "Editor gutter background color for lines that are added.")));
|
|
37
37
|
registerColor("editorGutter.addedSecondaryBackground", {
|
|
38
38
|
dark: ( darken(editorGutterAddedBackground, 0.5)),
|
|
39
39
|
light: ( lighten(editorGutterAddedBackground, 0.7)),
|
|
40
40
|
hcDark: "#487E02",
|
|
41
41
|
hcLight: "#48985D"
|
|
42
42
|
}, ( localize(
|
|
43
|
-
|
|
43
|
+
11149,
|
|
44
44
|
"Editor gutter secondary background color for lines that are added."
|
|
45
45
|
)));
|
|
46
|
-
const editorGutterDeletedBackground = registerColor("editorGutter.deletedBackground", editorErrorForeground, ( localize(
|
|
46
|
+
const editorGutterDeletedBackground = registerColor("editorGutter.deletedBackground", editorErrorForeground, ( localize(11150, "Editor gutter background color for lines that are deleted.")));
|
|
47
47
|
registerColor("editorGutter.deletedSecondaryBackground", {
|
|
48
48
|
dark: ( darken(editorGutterDeletedBackground, 0.4)),
|
|
49
49
|
light: ( lighten(editorGutterDeletedBackground, 0.3)),
|
|
50
50
|
hcDark: "#F48771",
|
|
51
51
|
hcLight: "#B5200D"
|
|
52
52
|
}, ( localize(
|
|
53
|
-
|
|
53
|
+
11151,
|
|
54
54
|
"Editor gutter secondary background color for lines that are deleted."
|
|
55
55
|
)));
|
|
56
56
|
const minimapGutterModifiedBackground = registerColor(
|
|
57
57
|
"minimapGutter.modifiedBackground",
|
|
58
58
|
editorGutterModifiedBackground,
|
|
59
|
-
( localize(
|
|
59
|
+
( localize(11152, "Minimap gutter background color for lines that are modified."))
|
|
60
60
|
);
|
|
61
61
|
const minimapGutterAddedBackground = registerColor(
|
|
62
62
|
"minimapGutter.addedBackground",
|
|
63
63
|
editorGutterAddedBackground,
|
|
64
|
-
( localize(
|
|
64
|
+
( localize(11153, "Minimap gutter background color for lines that are added."))
|
|
65
65
|
);
|
|
66
66
|
const minimapGutterDeletedBackground = registerColor(
|
|
67
67
|
"minimapGutter.deletedBackground",
|
|
68
68
|
editorGutterDeletedBackground,
|
|
69
|
-
( localize(
|
|
69
|
+
( localize(11154, "Minimap gutter background color for lines that are deleted."))
|
|
70
70
|
);
|
|
71
|
-
const overviewRulerModifiedForeground = registerColor("editorOverviewRuler.modifiedForeground", ( transparent(editorGutterModifiedBackground, 0.6)), ( localize(
|
|
72
|
-
const overviewRulerAddedForeground = registerColor("editorOverviewRuler.addedForeground", ( transparent(editorGutterAddedBackground, 0.6)), ( localize(
|
|
73
|
-
const overviewRulerDeletedForeground = registerColor("editorOverviewRuler.deletedForeground", ( transparent(editorGutterDeletedBackground, 0.6)), ( localize(
|
|
71
|
+
const overviewRulerModifiedForeground = registerColor("editorOverviewRuler.modifiedForeground", ( transparent(editorGutterModifiedBackground, 0.6)), ( localize(11155, "Overview ruler marker color for modified content.")));
|
|
72
|
+
const overviewRulerAddedForeground = registerColor("editorOverviewRuler.addedForeground", ( transparent(editorGutterAddedBackground, 0.6)), ( localize(11156, "Overview ruler marker color for added content.")));
|
|
73
|
+
const overviewRulerDeletedForeground = registerColor("editorOverviewRuler.deletedForeground", ( transparent(editorGutterDeletedBackground, 0.6)), ( localize(11157, "Overview ruler marker color for deleted content.")));
|
|
74
74
|
registerColor("editorGutter.itemGlyphForeground", {
|
|
75
75
|
dark: editorForeground,
|
|
76
76
|
light: editorForeground,
|
|
77
77
|
hcDark: Color.black,
|
|
78
78
|
hcLight: Color.white
|
|
79
|
-
}, ( localize(
|
|
79
|
+
}, ( localize(11158, "Editor gutter decoration color for gutter item glyphs.")));
|
|
80
80
|
registerColor("editorGutter.itemBackground", {
|
|
81
81
|
dark: opaque(listInactiveSelectionBackground, editorBackground),
|
|
82
82
|
light: ( darken(opaque(listInactiveSelectionBackground, editorBackground), .05)),
|
|
83
83
|
hcDark: Color.white,
|
|
84
84
|
hcLight: Color.black
|
|
85
85
|
}, ( localize(
|
|
86
|
-
|
|
86
|
+
11159,
|
|
87
87
|
"Editor gutter decoration color for gutter item background. This color should be opaque."
|
|
88
88
|
)));
|
|
89
89
|
var ChangeType;
|
|
@@ -71,7 +71,7 @@ let AnythingQuickAccessProvider = class AnythingQuickAccessProvider extends Pick
|
|
|
71
71
|
}
|
|
72
72
|
static {
|
|
73
73
|
this.NO_RESULTS_PICK = {
|
|
74
|
-
label: ( localize(
|
|
74
|
+
label: ( localize(11167, "No matching results"))
|
|
75
75
|
};
|
|
76
76
|
}
|
|
77
77
|
static {
|
|
@@ -308,7 +308,7 @@ let AnythingQuickAccessProvider = class AnythingQuickAccessProvider extends Pick
|
|
|
308
308
|
if (picks.length > 0) {
|
|
309
309
|
picks.push({
|
|
310
310
|
type: "separator",
|
|
311
|
-
label: ( localize(
|
|
311
|
+
label: ( localize(11168, "recently opened"))
|
|
312
312
|
});
|
|
313
313
|
}
|
|
314
314
|
picks = historyEditorPicks;
|
|
@@ -319,7 +319,7 @@ let AnythingQuickAccessProvider = class AnythingQuickAccessProvider extends Pick
|
|
|
319
319
|
if (historyEditorPicks.length !== 0) {
|
|
320
320
|
picks.push({
|
|
321
321
|
type: "separator",
|
|
322
|
-
label: ( localize(
|
|
322
|
+
label: ( localize(11168, "recently opened"))
|
|
323
323
|
});
|
|
324
324
|
picks.push(...historyEditorPicks);
|
|
325
325
|
}
|
|
@@ -342,7 +342,7 @@ let AnythingQuickAccessProvider = class AnythingQuickAccessProvider extends Pick
|
|
|
342
342
|
}
|
|
343
343
|
return additionalPicks.length > 0 ? [{
|
|
344
344
|
type: "separator",
|
|
345
|
-
label: this.configuration.includeSymbols ? ( localize(
|
|
345
|
+
label: this.configuration.includeSymbols ? ( localize(11169, "file and symbol results")) : ( localize(11170, "file results"))
|
|
346
346
|
}, ...additionalPicks] : [];
|
|
347
347
|
})(),
|
|
348
348
|
mergeDelay: AnythingQuickAccessProvider_1.SYMBOL_PICKS_MERGE_DELAY
|
|
@@ -654,7 +654,7 @@ let AnythingQuickAccessProvider = class AnythingQuickAccessProvider extends Pick
|
|
|
654
654
|
description: helpEntry.prefix ?? provider.prefix,
|
|
655
655
|
commandCenterOrder: helpEntry.commandCenterOrder,
|
|
656
656
|
keybinding: helpEntry.commandId ? this.keybindingService.lookupKeybinding(helpEntry.commandId) : undefined,
|
|
657
|
-
ariaLabel: ( localize(
|
|
657
|
+
ariaLabel: ( localize(11171, "{0}, {1}", label, helpEntry.description)),
|
|
658
658
|
accept: () => {
|
|
659
659
|
this.quickInputService.quickAccess.show(provider.prefix, {
|
|
660
660
|
preserveValue: true,
|
|
@@ -665,7 +665,7 @@ let AnythingQuickAccessProvider = class AnythingQuickAccessProvider extends Pick
|
|
|
665
665
|
})));
|
|
666
666
|
if (this.quickChatService.enabled) {
|
|
667
667
|
providers.push({
|
|
668
|
-
label: ( localize(
|
|
668
|
+
label: ( localize(11172, "Open Quick Chat")),
|
|
669
669
|
commandCenterOrder: 30,
|
|
670
670
|
keybinding: this.keybindingService.lookupKeybinding(ASK_QUICK_QUESTION_ACTION_ID),
|
|
671
671
|
accept: () => this.quickChatService.toggle()
|
|
@@ -805,12 +805,12 @@ let AnythingQuickAccessProvider = class AnythingQuickAccessProvider extends Pick
|
|
|
805
805
|
const buttons = [];
|
|
806
806
|
buttons.push({
|
|
807
807
|
iconClass: openSideBySideDirection === "right" ? ThemeIcon.asClassName(Codicon.splitHorizontal) : ThemeIcon.asClassName(Codicon.splitVertical),
|
|
808
|
-
tooltip: openSideBySideDirection === "right" ? ( localize(
|
|
808
|
+
tooltip: openSideBySideDirection === "right" ? ( localize(11173, "Open to the Side")) : ( localize(11174, "Open to the Bottom"))
|
|
809
809
|
});
|
|
810
810
|
if (isEditorHistoryEntry) {
|
|
811
811
|
buttons.push({
|
|
812
812
|
iconClass: isDirty ? ("dirty-anything " + ThemeIcon.asClassName(Codicon.circleFilled)) : ThemeIcon.asClassName(Codicon.close),
|
|
813
|
-
tooltip: ( localize(
|
|
813
|
+
tooltip: ( localize(11175, "Remove from Recently Opened")),
|
|
814
814
|
alwaysVisible: isDirty
|
|
815
815
|
});
|
|
816
816
|
}
|
|
@@ -819,7 +819,7 @@ let AnythingQuickAccessProvider = class AnythingQuickAccessProvider extends Pick
|
|
|
819
819
|
return {
|
|
820
820
|
resource,
|
|
821
821
|
label,
|
|
822
|
-
ariaLabel: isDirty ? ( localize(
|
|
822
|
+
ariaLabel: isDirty ? ( localize(11176, "{0} unsaved changes", labelAndDescription)) : labelAndDescription,
|
|
823
823
|
description,
|
|
824
824
|
get iconClasses() {
|
|
825
825
|
return iconClassesValue.value;
|
|
@@ -37,7 +37,7 @@ let PatternInputWidget = class PatternInputWidget extends Widget {
|
|
|
37
37
|
this.onCancel = this._onCancel.event;
|
|
38
38
|
options = {
|
|
39
39
|
...{
|
|
40
|
-
ariaLabel: ( localize(
|
|
40
|
+
ariaLabel: ( localize(11177, "input"))
|
|
41
41
|
},
|
|
42
42
|
...options
|
|
43
43
|
};
|
|
@@ -177,7 +177,7 @@ let IncludePatternInputWidget = class IncludePatternInputWidget extends PatternI
|
|
|
177
177
|
renderSubcontrols(controlsDiv) {
|
|
178
178
|
this.useSearchInEditorsBox = this._register(( new Toggle({
|
|
179
179
|
icon: Codicon.book,
|
|
180
|
-
title: ( localize(
|
|
180
|
+
title: ( localize(11178, "Search only in Open Editors")),
|
|
181
181
|
isChecked: false,
|
|
182
182
|
...defaultToggleStyles
|
|
183
183
|
})));
|
|
@@ -230,7 +230,7 @@ let ExcludePatternInputWidget = class ExcludePatternInputWidget extends PatternI
|
|
|
230
230
|
this.useExcludesAndIgnoreFilesBox = this._register(( new Toggle({
|
|
231
231
|
icon: Codicon.exclude,
|
|
232
232
|
actionClassName: "useExcludesAndIgnoreFiles",
|
|
233
|
-
title: ( localize(
|
|
233
|
+
title: ( localize(11179, "Use Exclude Settings and Ignore Files")),
|
|
234
234
|
isChecked: true,
|
|
235
235
|
...defaultToggleStyles
|
|
236
236
|
})));
|
|
@@ -5,7 +5,7 @@ import { VIEW_ID } from '../../../services/search/common/search.js';
|
|
|
5
5
|
import { isSearchTreeFileMatch, isSearchTreeMatch, isSearchTreeFolderMatch } from './searchTreeModel/searchTreeCommon.js';
|
|
6
6
|
import { searchComparer } from './searchCompare.js';
|
|
7
7
|
|
|
8
|
-
const category = ( localize2(
|
|
8
|
+
const category = ( localize2(11266, "Search"));
|
|
9
9
|
function isSearchViewFocused(viewsService) {
|
|
10
10
|
const searchView = getSearchView(viewsService);
|
|
11
11
|
return !!(searchView && isAncestorOfActiveElement(searchView.getContainer()));
|
|
@@ -33,7 +33,7 @@ registerAction2(class RestrictSearchToFolderAction extends Action2 {
|
|
|
33
33
|
constructor() {
|
|
34
34
|
super({
|
|
35
35
|
id: SearchCommandIds.RestrictSearchToFolderId,
|
|
36
|
-
title: ( localize2(
|
|
36
|
+
title: ( localize2(11271, "Restrict Search to Folder")),
|
|
37
37
|
category,
|
|
38
38
|
keybinding: {
|
|
39
39
|
weight: KeybindingWeight.WorkbenchContrib,
|
|
@@ -59,7 +59,7 @@ registerAction2(class ExpandSelectedTreeCommandAction extends Action2 {
|
|
|
59
59
|
constructor() {
|
|
60
60
|
super({
|
|
61
61
|
id: SearchCommandIds.ExpandRecursivelyCommandId,
|
|
62
|
-
title: ( localize(
|
|
62
|
+
title: ( localize(11272, "Expand Recursively")),
|
|
63
63
|
category,
|
|
64
64
|
menu: [{
|
|
65
65
|
id: MenuId.SearchContext,
|
|
@@ -80,7 +80,7 @@ registerAction2(class ExcludeFolderFromSearchAction extends Action2 {
|
|
|
80
80
|
constructor() {
|
|
81
81
|
super({
|
|
82
82
|
id: SearchCommandIds.ExcludeFolderFromSearchId,
|
|
83
|
-
title: ( localize2(
|
|
83
|
+
title: ( localize2(11273, "Exclude Folder from Search")),
|
|
84
84
|
category,
|
|
85
85
|
menu: [{
|
|
86
86
|
id: MenuId.SearchContext,
|
|
@@ -98,7 +98,7 @@ registerAction2(class ExcludeFileTypeFromSearchAction extends Action2 {
|
|
|
98
98
|
constructor() {
|
|
99
99
|
super({
|
|
100
100
|
id: SearchCommandIds.ExcludeFileTypeFromSearchId,
|
|
101
|
-
title: ( localize2(
|
|
101
|
+
title: ( localize2(11274, "Exclude File Type from Search")),
|
|
102
102
|
category,
|
|
103
103
|
menu: [{
|
|
104
104
|
id: MenuId.SearchContext,
|
|
@@ -116,7 +116,7 @@ registerAction2(class IncludeFileTypeInSearchAction extends Action2 {
|
|
|
116
116
|
constructor() {
|
|
117
117
|
super({
|
|
118
118
|
id: SearchCommandIds.IncludeFileTypeInSearchId,
|
|
119
|
-
title: ( localize2(
|
|
119
|
+
title: ( localize2(11275, "Include File Type from Search")),
|
|
120
120
|
category,
|
|
121
121
|
menu: [{
|
|
122
122
|
id: MenuId.SearchContext,
|
|
@@ -134,7 +134,7 @@ registerAction2(class RevealInSideBarForSearchResultsAction extends Action2 {
|
|
|
134
134
|
constructor() {
|
|
135
135
|
super({
|
|
136
136
|
id: SearchCommandIds.RevealInSideBarForSearchResults,
|
|
137
|
-
title: ( localize2(
|
|
137
|
+
title: ( localize2(11276, "Reveal in Explorer View")),
|
|
138
138
|
category,
|
|
139
139
|
menu: [{
|
|
140
140
|
id: MenuId.SearchContext,
|
|
@@ -181,13 +181,13 @@ registerAction2(class FindInFilesAction extends Action2 {
|
|
|
181
181
|
super({
|
|
182
182
|
id: SearchCommandIds.FindInFilesActionId,
|
|
183
183
|
title: {
|
|
184
|
-
...( localize2(
|
|
185
|
-
mnemonicTitle: ( localize(
|
|
184
|
+
...( localize2(11277, "Find in Files")),
|
|
185
|
+
mnemonicTitle: ( localize(11278, "Find &&in Files"))
|
|
186
186
|
},
|
|
187
187
|
metadata: {
|
|
188
|
-
description: ( localize(
|
|
188
|
+
description: ( localize(11279, "Open a workspace search")),
|
|
189
189
|
args: [{
|
|
190
|
-
name: ( localize(
|
|
190
|
+
name: ( localize(11280, "A set of options for the search")),
|
|
191
191
|
schema: {
|
|
192
192
|
type: "object",
|
|
193
193
|
properties: {
|
|
@@ -252,7 +252,7 @@ registerAction2(class FindInFolderAction extends Action2 {
|
|
|
252
252
|
constructor() {
|
|
253
253
|
super({
|
|
254
254
|
id: SearchCommandIds.FindInFolderId,
|
|
255
|
-
title: ( localize2(
|
|
255
|
+
title: ( localize2(11281, "Find in Folder...")),
|
|
256
256
|
category,
|
|
257
257
|
keybinding: {
|
|
258
258
|
weight: KeybindingWeight.WorkbenchContrib,
|
|
@@ -275,7 +275,7 @@ registerAction2(class FindInWorkspaceAction extends Action2 {
|
|
|
275
275
|
constructor() {
|
|
276
276
|
super({
|
|
277
277
|
id: SearchCommandIds.FindInWorkspaceId,
|
|
278
|
-
title: ( localize2(
|
|
278
|
+
title: ( localize2(11282, "Find in Workspace...")),
|
|
279
279
|
category,
|
|
280
280
|
menu: [{
|
|
281
281
|
id: MenuId.ExplorerContext,
|