@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
|
@@ -32,9 +32,9 @@ var TerminalChatAgentToolsSettingId;
|
|
|
32
32
|
const autoApproveBoolean = {
|
|
33
33
|
type: "boolean",
|
|
34
34
|
enum: [true, false],
|
|
35
|
-
enumDescriptions: [( localize(
|
|
35
|
+
enumDescriptions: [( localize(12627, "Automatically approve the pattern.")), ( localize(12628, "Require explicit approval for the pattern."))],
|
|
36
36
|
description: ( localize(
|
|
37
|
-
|
|
37
|
+
12629,
|
|
38
38
|
"The start of a command to match against. A regular expression can be provided by wrapping the string in `/` characters."
|
|
39
39
|
))
|
|
40
40
|
};
|
|
@@ -43,7 +43,7 @@ const terminalChatAgentProfileSchema = {
|
|
|
43
43
|
required: ["path"],
|
|
44
44
|
properties: {
|
|
45
45
|
path: {
|
|
46
|
-
description: ( localize(
|
|
46
|
+
description: ( localize(12630, "A path to a shell executable.")),
|
|
47
47
|
type: "string"
|
|
48
48
|
},
|
|
49
49
|
...terminalProfileBaseProperties
|
|
@@ -52,7 +52,7 @@ const terminalChatAgentProfileSchema = {
|
|
|
52
52
|
const terminalChatAgentToolsConfiguration = {
|
|
53
53
|
[TerminalChatAgentToolsSettingId.EnableAutoApprove]: {
|
|
54
54
|
description: ( localize(
|
|
55
|
-
|
|
55
|
+
12631,
|
|
56
56
|
"Controls whether to allow auto approval in the run in terminal tool."
|
|
57
57
|
)),
|
|
58
58
|
type: "boolean",
|
|
@@ -65,7 +65,7 @@ const terminalChatAgentToolsConfiguration = {
|
|
|
65
65
|
description: {
|
|
66
66
|
key: "autoApproveMode.description",
|
|
67
67
|
value: ( localize(
|
|
68
|
-
|
|
68
|
+
12631,
|
|
69
69
|
"Controls whether to allow auto approval in the run in terminal tool."
|
|
70
70
|
))
|
|
71
71
|
}
|
|
@@ -74,18 +74,18 @@ const terminalChatAgentToolsConfiguration = {
|
|
|
74
74
|
},
|
|
75
75
|
[TerminalChatAgentToolsSettingId.AutoApprove]: {
|
|
76
76
|
markdownDescription: [( localize(
|
|
77
|
-
|
|
77
|
+
12632,
|
|
78
78
|
"A list of commands or regular expressions that control whether the run in terminal tool commands require explicit approval. These will be matched against the start of a command. A regular expression can be provided by wrapping the string in {0} characters followed by optional flags such as {1} for case-insensitivity.",
|
|
79
79
|
"`/`",
|
|
80
80
|
"`i`"
|
|
81
81
|
)), ( localize(
|
|
82
|
-
|
|
82
|
+
12633,
|
|
83
83
|
"Set to {0} to automatically approve commands, {1} to always require explicit approval or {2} to unset the value.",
|
|
84
84
|
"`true`",
|
|
85
85
|
"`false`",
|
|
86
86
|
"`null`"
|
|
87
87
|
)), ( localize(
|
|
88
|
-
|
|
88
|
+
12634,
|
|
89
89
|
"Note that these commands and regular expressions are evaluated for every _sub-command_ within the full _command line_, so {0} for example will need both {1} and {2} to match a {3} entry and must not match a {4} entry in order to auto approve. Inline commands such as {5} (process substitution) should also be detected.",
|
|
90
90
|
"`foo && bar`",
|
|
91
91
|
"`foo`",
|
|
@@ -94,34 +94,34 @@ const terminalChatAgentToolsConfiguration = {
|
|
|
94
94
|
"`false`",
|
|
95
95
|
"`<(foo)`"
|
|
96
96
|
)), ( localize(
|
|
97
|
-
|
|
97
|
+
12635,
|
|
98
98
|
"An object can be used to match against the full command line instead of matching sub-commands and inline commands, for example {0}. In order to be auto approved _both_ the sub-command and command line must not be explicitly denied, then _either_ all sub-commands or command line needs to be approved.",
|
|
99
99
|
"`{ approve: false, matchCommandLine: true }`"
|
|
100
100
|
)), ( localize(
|
|
101
|
-
|
|
101
|
+
12636,
|
|
102
102
|
"Note that there's a default set of rules to allow and also deny commands. Consider setting {0} to {1} to ignore all default rules to ensure there are no conflicts with your own rules. Do this at your own risk, the default denial rules are designed to protect you against running dangerous commands.",
|
|
103
103
|
`\`#${TerminalChatAgentToolsSettingId.IgnoreDefaultAutoApproveRules}#\``,
|
|
104
104
|
"`true`"
|
|
105
|
-
)), [( localize(
|
|
106
|
-
|
|
105
|
+
)), [( localize(12637, "Examples:")), `|${( localize(12638, "Value"))}|${( localize(12639, "Description"))}|`, "|---|---|", "| `\"mkdir\": true` | " + ( localize(12640, "Allow all commands starting with {0}", "`mkdir`")), "| `\"npm run build\": true` | " + ( localize(12641, "Allow all commands starting with {0}", "`npm run build`")), "| `\"bin/test.sh\": true` | " + ( localize(
|
|
106
|
+
12642,
|
|
107
107
|
"Allow all commands that match the path {0} ({1}, {2}, etc.)",
|
|
108
108
|
"`bin/test.sh`",
|
|
109
109
|
"`bin\\test.sh`",
|
|
110
110
|
"`./bin/test.sh`"
|
|
111
111
|
)), "| `\"/^git (status\\|show\\\\b.*)$/\": true` | " + ( localize(
|
|
112
|
-
|
|
112
|
+
12643,
|
|
113
113
|
"Allow {0} and all commands starting with {1}",
|
|
114
114
|
"`git status`",
|
|
115
115
|
"`git show`"
|
|
116
|
-
)), "| `\"/^Get-ChildItem\\\\b/i\": true` | " + ( localize(
|
|
117
|
-
|
|
116
|
+
)), "| `\"/^Get-ChildItem\\\\b/i\": true` | " + ( localize(12644, "will allow {0} commands regardless of casing", "`Get-ChildItem`")), "| `\"/.*/\": true` | " + ( localize(12645, "Allow all commands (denied commands still require approval)")), "| `\"rm\": false` | " + ( localize(
|
|
117
|
+
12646,
|
|
118
118
|
"Require explicit approval for all commands starting with {0}",
|
|
119
119
|
"`rm`"
|
|
120
120
|
)), "| `\"/\\\\.ps1/i\": { approve: false, matchCommandLine: true }` | " + ( localize(
|
|
121
|
-
|
|
121
|
+
12647,
|
|
122
122
|
"Require explicit approval for any _command line_ that contains {0} regardless of casing",
|
|
123
123
|
"`\".ps1\"`"
|
|
124
|
-
)), "| `\"rm\": null` | " + ( localize(
|
|
124
|
+
)), "| `\"rm\": null` | " + ( localize(12648, "Unset the default {0} value for {1}", "`false`", "`rm`"))].join("\n")].join("\n\n"),
|
|
125
125
|
type: "object",
|
|
126
126
|
additionalProperties: {
|
|
127
127
|
anyOf: [autoApproveBoolean, {
|
|
@@ -131,12 +131,12 @@ const terminalChatAgentToolsConfiguration = {
|
|
|
131
131
|
matchCommandLine: {
|
|
132
132
|
type: "boolean",
|
|
133
133
|
enum: [true, false],
|
|
134
|
-
enumDescriptions: [( localize(
|
|
135
|
-
|
|
134
|
+
enumDescriptions: [( localize(12649, "Match against the full command line, eg. `foo && bar`.")), ( localize(
|
|
135
|
+
12650,
|
|
136
136
|
"Match against sub-commands and inline commands, eg. `foo && bar` will need both `foo` and `bar` to match."
|
|
137
137
|
))],
|
|
138
138
|
description: ( localize(
|
|
139
|
-
|
|
139
|
+
12651,
|
|
140
140
|
"Whether to match against the full command line, as opposed to splitting by sub-commands and inline commands."
|
|
141
141
|
))
|
|
142
142
|
}
|
|
@@ -145,7 +145,7 @@ const terminalChatAgentToolsConfiguration = {
|
|
|
145
145
|
}, {
|
|
146
146
|
type: "null",
|
|
147
147
|
description: ( localize(
|
|
148
|
-
|
|
148
|
+
12652,
|
|
149
149
|
"Ignore the pattern, this is useful for unsetting the same pattern set at a higher scope."
|
|
150
150
|
))
|
|
151
151
|
}]
|
|
@@ -279,7 +279,7 @@ const terminalChatAgentToolsConfiguration = {
|
|
|
279
279
|
default: false,
|
|
280
280
|
tags: ["experimental"],
|
|
281
281
|
markdownDescription: ( localize(
|
|
282
|
-
|
|
282
|
+
12653,
|
|
283
283
|
"Whether to ignore the built-in default auto-approve rules used by the run in terminal tool as defined in {0}. When this setting is enabled, the run in terminal tool will ignore any rule that comes from the default set but still follow rules defined in the user, remote and workspace settings. Use this setting at your own risk; the default auto-approve rules are designed to protect you against running dangerous commands.",
|
|
284
284
|
`\`#${TerminalChatAgentToolsSettingId.AutoApprove}#\``
|
|
285
285
|
))
|
|
@@ -290,27 +290,27 @@ const terminalChatAgentToolsConfiguration = {
|
|
|
290
290
|
default: true,
|
|
291
291
|
tags: ["experimental"],
|
|
292
292
|
markdownDescription: ( localize(
|
|
293
|
-
|
|
293
|
+
12654,
|
|
294
294
|
"Whether to automatically approve npm, yarn, and pnpm run commands when the script is defined in a workspace package.json file. Since the workspace is trusted, scripts defined in package.json are considered safe to run without explicit approval."
|
|
295
295
|
))
|
|
296
296
|
},
|
|
297
297
|
[TerminalChatAgentToolsSettingId.BlockDetectedFileWrites]: {
|
|
298
298
|
type: "string",
|
|
299
299
|
enum: ["never", "outsideWorkspace", "all"],
|
|
300
|
-
enumDescriptions: [( localize(
|
|
301
|
-
|
|
300
|
+
enumDescriptions: [( localize(12655, "Allow all detected file writes.")), ( localize(
|
|
301
|
+
12656,
|
|
302
302
|
"Block file writes detected outside the workspace. This depends on the shell integration feature working correctly to determine the current working directory of the terminal."
|
|
303
|
-
)), ( localize(
|
|
303
|
+
)), ( localize(12657, "Block all detected file writes."))],
|
|
304
304
|
default: "outsideWorkspace",
|
|
305
305
|
tags: ["experimental"],
|
|
306
306
|
markdownDescription: ( localize(
|
|
307
|
-
|
|
307
|
+
12658,
|
|
308
308
|
"Controls whether detected file write operations are blocked in the run in terminal tool. When detected, this will require explicit approval regardless of whether the command would normally be auto approved. Note that this cannot detect all possible methods of writing files, this is what is currently detected:\n\n- File redirection (detected via the bash or PowerShell tree sitter grammar)\n- `sed` in-place editing (`-i`, `-I`, `--in-place`)"
|
|
309
309
|
))
|
|
310
310
|
},
|
|
311
311
|
[TerminalChatAgentToolsSettingId.ShellIntegrationTimeout]: {
|
|
312
312
|
markdownDescription: ( localize(
|
|
313
|
-
|
|
313
|
+
12659,
|
|
314
314
|
"Configures the duration in milliseconds to wait for shell integration to be detected when the run in terminal tool launches a new terminal. Set to `0` to wait the minimum time, the default value `-1` means the wait time is variable based on the value of {0} and whether it's a remote window. A large value can be useful if your shell starts very slowly and a low value if you're intentionally not using shell integration.",
|
|
315
315
|
`\`#${TerminalSettingId.ShellIntegrationEnabled}#\``
|
|
316
316
|
)),
|
|
@@ -319,7 +319,7 @@ const terminalChatAgentToolsConfiguration = {
|
|
|
319
319
|
maximum: 60000,
|
|
320
320
|
default: -1,
|
|
321
321
|
markdownDeprecationMessage: ( localize(
|
|
322
|
-
|
|
322
|
+
12660,
|
|
323
323
|
"Use {0} instead",
|
|
324
324
|
`\`#${TerminalSettingId.ShellIntegrationTimeout}#\``
|
|
325
325
|
))
|
|
@@ -327,7 +327,7 @@ const terminalChatAgentToolsConfiguration = {
|
|
|
327
327
|
[TerminalChatAgentToolsSettingId.TerminalProfileLinux]: {
|
|
328
328
|
restricted: true,
|
|
329
329
|
markdownDescription: ( localize(
|
|
330
|
-
|
|
330
|
+
12661,
|
|
331
331
|
"The terminal profile to use on Linux for chat agent's run in terminal tool."
|
|
332
332
|
)),
|
|
333
333
|
type: ["object", "null"],
|
|
@@ -344,7 +344,7 @@ const terminalChatAgentToolsConfiguration = {
|
|
|
344
344
|
[TerminalChatAgentToolsSettingId.TerminalProfileMacOs]: {
|
|
345
345
|
restricted: true,
|
|
346
346
|
markdownDescription: ( localize(
|
|
347
|
-
|
|
347
|
+
12662,
|
|
348
348
|
"The terminal profile to use on macOS for chat agent's run in terminal tool."
|
|
349
349
|
)),
|
|
350
350
|
type: ["object", "null"],
|
|
@@ -361,7 +361,7 @@ const terminalChatAgentToolsConfiguration = {
|
|
|
361
361
|
[TerminalChatAgentToolsSettingId.TerminalProfileWindows]: {
|
|
362
362
|
restricted: true,
|
|
363
363
|
markdownDescription: ( localize(
|
|
364
|
-
|
|
364
|
+
12663,
|
|
365
365
|
"The terminal profile to use on Windows for chat agent's run in terminal tool."
|
|
366
366
|
)),
|
|
367
367
|
type: ["object", "null"],
|
|
@@ -380,15 +380,15 @@ const terminalChatAgentToolsConfiguration = {
|
|
|
380
380
|
default: false,
|
|
381
381
|
tags: ["experimental"],
|
|
382
382
|
markdownDescription: ( localize(
|
|
383
|
-
|
|
383
|
+
12664,
|
|
384
384
|
"Whether to automatically respond to prompts in the terminal such as `Confirm? y/n`. This is an experimental feature and may not work in all scenarios.\n\n**This feature is inherently risky to use as you're deferring potentially sensitive decisions to an LLM. Use at your own risk.**"
|
|
385
385
|
))
|
|
386
386
|
},
|
|
387
387
|
[TerminalChatAgentToolsSettingId.OutputLocation]: {
|
|
388
|
-
markdownDescription: ( localize(
|
|
388
|
+
markdownDescription: ( localize(12665, "Where to show the output from the run in terminal tool.")),
|
|
389
389
|
type: "string",
|
|
390
390
|
enum: ["terminal", "chat"],
|
|
391
|
-
enumDescriptions: [( localize(
|
|
391
|
+
enumDescriptions: [( localize(12666, "Reveal the terminal in the panel or editor in addition to chat.")), ( localize(12667, "Reveal the terminal output within chat only."))],
|
|
392
392
|
default: "chat",
|
|
393
393
|
tags: ["experimental"],
|
|
394
394
|
experiment: {
|
|
@@ -397,7 +397,7 @@ const terminalChatAgentToolsConfiguration = {
|
|
|
397
397
|
},
|
|
398
398
|
[TerminalChatAgentToolsSettingId.TerminalSandboxEnabled]: {
|
|
399
399
|
markdownDescription: ( localize(
|
|
400
|
-
|
|
400
|
+
12668,
|
|
401
401
|
"Controls whether to run commands in a sandboxed terminal for the run in terminal tool."
|
|
402
402
|
)),
|
|
403
403
|
type: "boolean",
|
|
@@ -407,7 +407,7 @@ const terminalChatAgentToolsConfiguration = {
|
|
|
407
407
|
},
|
|
408
408
|
[TerminalChatAgentToolsSettingId.TerminalSandboxNetwork]: {
|
|
409
409
|
markdownDescription: ( localize(
|
|
410
|
-
|
|
410
|
+
12669,
|
|
411
411
|
"Note: this setting is applicable only when {0} is enabled. Controls network access in the terminal sandbox.",
|
|
412
412
|
`\`#${TerminalChatAgentToolsSettingId.TerminalSandboxEnabled}#\``
|
|
413
413
|
)),
|
|
@@ -416,7 +416,7 @@ const terminalChatAgentToolsConfiguration = {
|
|
|
416
416
|
allowedDomains: {
|
|
417
417
|
type: "array",
|
|
418
418
|
description: ( localize(
|
|
419
|
-
|
|
419
|
+
12670,
|
|
420
420
|
" Supports wildcards like {0} and an empty list means no network access.",
|
|
421
421
|
"`*.example.com`"
|
|
422
422
|
)),
|
|
@@ -428,7 +428,7 @@ const terminalChatAgentToolsConfiguration = {
|
|
|
428
428
|
deniedDomains: {
|
|
429
429
|
type: "array",
|
|
430
430
|
description: ( localize(
|
|
431
|
-
|
|
431
|
+
12671,
|
|
432
432
|
"Array of denied domains (checked first, takes precedence over allowedDomains)."
|
|
433
433
|
)),
|
|
434
434
|
items: {
|
|
@@ -446,7 +446,7 @@ const terminalChatAgentToolsConfiguration = {
|
|
|
446
446
|
},
|
|
447
447
|
[TerminalChatAgentToolsSettingId.TerminalSandboxLinuxFileSystem]: {
|
|
448
448
|
markdownDescription: ( localize(
|
|
449
|
-
|
|
449
|
+
12672,
|
|
450
450
|
"Note: this setting is applicable only when {0} is enabled. Controls file system access in the terminal sandbox on Linux. Paths do not support glob patterns, only literal paths (ex: ./src/, ~/.ssh, .env). **bubblewrap**, **socat** and **ripgrep** should be installed for this setting to work.",
|
|
451
451
|
`\`#${TerminalChatAgentToolsSettingId.TerminalSandboxEnabled}#\``
|
|
452
452
|
)),
|
|
@@ -455,7 +455,7 @@ const terminalChatAgentToolsConfiguration = {
|
|
|
455
455
|
denyRead: {
|
|
456
456
|
type: "array",
|
|
457
457
|
description: ( localize(
|
|
458
|
-
|
|
458
|
+
12673,
|
|
459
459
|
"Array of paths to deny read access. Leave empty to allow reading all paths."
|
|
460
460
|
)),
|
|
461
461
|
items: {
|
|
@@ -466,7 +466,7 @@ const terminalChatAgentToolsConfiguration = {
|
|
|
466
466
|
allowWrite: {
|
|
467
467
|
type: "array",
|
|
468
468
|
description: ( localize(
|
|
469
|
-
|
|
469
|
+
12674,
|
|
470
470
|
"Array of paths to allow write access. Leave empty to disallow all writes."
|
|
471
471
|
)),
|
|
472
472
|
items: {
|
|
@@ -477,7 +477,7 @@ const terminalChatAgentToolsConfiguration = {
|
|
|
477
477
|
denyWrite: {
|
|
478
478
|
type: "array",
|
|
479
479
|
description: ( localize(
|
|
480
|
-
|
|
480
|
+
12675,
|
|
481
481
|
"Array of paths to deny write access within allowed paths (takes precedence over allowWrite)."
|
|
482
482
|
)),
|
|
483
483
|
items: {
|
|
@@ -496,7 +496,7 @@ const terminalChatAgentToolsConfiguration = {
|
|
|
496
496
|
},
|
|
497
497
|
[TerminalChatAgentToolsSettingId.TerminalSandboxMacFileSystem]: {
|
|
498
498
|
markdownDescription: ( localize(
|
|
499
|
-
|
|
499
|
+
12676,
|
|
500
500
|
"Note: this setting is applicable only when {0} is enabled. Controls file system access in the terminal sandbox on macOS.Paths also support git-style glob patterns(ex: *.ts, ./src, ./src/**/*.ts, file?.txt). **ripgrep** should be installed for this setting to work.",
|
|
501
501
|
`\`#${TerminalChatAgentToolsSettingId.TerminalSandboxEnabled}#\``
|
|
502
502
|
)),
|
|
@@ -505,7 +505,7 @@ const terminalChatAgentToolsConfiguration = {
|
|
|
505
505
|
denyRead: {
|
|
506
506
|
type: "array",
|
|
507
507
|
description: ( localize(
|
|
508
|
-
|
|
508
|
+
12677,
|
|
509
509
|
"Array of paths to deny read access. Leave empty to allow reading all paths."
|
|
510
510
|
)),
|
|
511
511
|
items: {
|
|
@@ -516,7 +516,7 @@ const terminalChatAgentToolsConfiguration = {
|
|
|
516
516
|
allowWrite: {
|
|
517
517
|
type: "array",
|
|
518
518
|
description: ( localize(
|
|
519
|
-
|
|
519
|
+
12678,
|
|
520
520
|
"Array of paths to allow write access. Leave empty to disallow all writes."
|
|
521
521
|
)),
|
|
522
522
|
items: {
|
|
@@ -527,7 +527,7 @@ const terminalChatAgentToolsConfiguration = {
|
|
|
527
527
|
denyWrite: {
|
|
528
528
|
type: "array",
|
|
529
529
|
description: ( localize(
|
|
530
|
-
|
|
530
|
+
12679,
|
|
531
531
|
"Array of paths to deny write access within allowed paths (takes precedence over allowWrite)."
|
|
532
532
|
)),
|
|
533
533
|
items: {
|
|
@@ -548,19 +548,19 @@ const terminalChatAgentToolsConfiguration = {
|
|
|
548
548
|
type: "boolean",
|
|
549
549
|
default: true,
|
|
550
550
|
markdownDescription: [( localize(
|
|
551
|
-
|
|
551
|
+
12680,
|
|
552
552
|
"Whether to exclude commands run by the terminal tool from the shell history. See below for the supported shells and the method used for each:"
|
|
553
553
|
)), `- \`bash\`: ${( localize(
|
|
554
|
-
|
|
554
|
+
12681,
|
|
555
555
|
"Sets `HISTCONTROL=ignorespace` and prepends the command with space"
|
|
556
556
|
))}`, `- \`zsh\`: ${( localize(
|
|
557
|
-
|
|
557
|
+
12682,
|
|
558
558
|
"Sets `HIST_IGNORE_SPACE` option and prepends the command with space"
|
|
559
559
|
))}`, `- \`fish\`: ${( localize(
|
|
560
|
-
|
|
560
|
+
12683,
|
|
561
561
|
"Sets `fish_private_mode` to prevent any command from entering history"
|
|
562
562
|
))}`, `- \`pwsh\`: ${( localize(
|
|
563
|
-
|
|
563
|
+
12684,
|
|
564
564
|
"Sets a custom history handler via PSReadLine's `AddToHistoryHandler` to prevent any command from entering history"
|
|
565
565
|
))}`].join("\n")
|
|
566
566
|
},
|
|
@@ -573,7 +573,7 @@ const terminalChatAgentToolsConfiguration = {
|
|
|
573
573
|
mode: "auto"
|
|
574
574
|
},
|
|
575
575
|
markdownDescription: ( localize(
|
|
576
|
-
|
|
576
|
+
12685,
|
|
577
577
|
"Whether to enforce the timeout value provided by the model in the run in terminal tool. When enabled, if the model provides a timeout parameter, the tool will stop tracking the command after that duration and return the output collected so far."
|
|
578
578
|
))
|
|
579
579
|
}
|
|
@@ -588,7 +588,7 @@ for (const id of [
|
|
|
588
588
|
terminalChatAgentToolsConfiguration[id] = {
|
|
589
589
|
deprecated: true,
|
|
590
590
|
markdownDeprecationMessage: ( localize(
|
|
591
|
-
|
|
591
|
+
12686,
|
|
592
592
|
"Use {0} instead",
|
|
593
593
|
`\`#${TerminalChatAgentToolsSettingId.AutoApprove}#\``
|
|
594
594
|
))
|
|
@@ -10,7 +10,7 @@ const terminalCommandGuideConfiguration = {
|
|
|
10
10
|
[TerminalCommandGuideSettingId.ShowCommandGuide]: {
|
|
11
11
|
restricted: true,
|
|
12
12
|
markdownDescription: ( localize(
|
|
13
|
-
|
|
13
|
+
12701,
|
|
14
14
|
"Whether to show the command guide when hovering over a command in the terminal."
|
|
15
15
|
)),
|
|
16
16
|
type: "boolean",
|
|
@@ -19,7 +19,7 @@ const terminalHistoryConfiguration = {
|
|
|
19
19
|
[TerminalHistorySettingId.ShellIntegrationCommandHistory]: {
|
|
20
20
|
restricted: true,
|
|
21
21
|
markdownDescription: ( localize(
|
|
22
|
-
|
|
22
|
+
12733,
|
|
23
23
|
"Controls the number of recently used commands to keep in the terminal command history. Set to 0 to disable terminal command history."
|
|
24
24
|
)),
|
|
25
25
|
type: "number",
|
|
@@ -10,7 +10,7 @@ const terminalInitialHintConfiguration = {
|
|
|
10
10
|
[TerminalInitialHintSettingId.Enabled]: {
|
|
11
11
|
restricted: true,
|
|
12
12
|
markdownDescription: ( localize(
|
|
13
|
-
|
|
13
|
+
12744,
|
|
14
14
|
"Controls if the first terminal without input will show a hint about available actions when it is focused. This will only show when {0} is disabled.",
|
|
15
15
|
`\`#${TerminalSettingId.SendKeybindingsToShell}#\``
|
|
16
16
|
)),
|
|
@@ -11,7 +11,7 @@ var TerminalStickyScrollSettingId;
|
|
|
11
11
|
const terminalStickyScrollConfiguration = {
|
|
12
12
|
[TerminalStickyScrollSettingId.Enabled]: {
|
|
13
13
|
markdownDescription: ( localize(
|
|
14
|
-
|
|
14
|
+
12811,
|
|
15
15
|
"Shows the current command at the top of the terminal. This feature requires [shell integration]({0}) to be activated. See {1}.",
|
|
16
16
|
"https://code.visualstudio.com/docs/terminal/shell-integration",
|
|
17
17
|
`\`#${TerminalSettingId.ShellIntegrationEnabled}#\``
|
|
@@ -21,7 +21,7 @@ const terminalStickyScrollConfiguration = {
|
|
|
21
21
|
},
|
|
22
22
|
[TerminalStickyScrollSettingId.MaxLineCount]: {
|
|
23
23
|
markdownDescription: ( localize(
|
|
24
|
-
|
|
24
|
+
12812,
|
|
25
25
|
"Defines the maximum number of sticky lines to show. Sticky scroll lines will never exceed 40% of the viewport regardless of this setting."
|
|
26
26
|
)),
|
|
27
27
|
type: "number",
|
|
@@ -31,7 +31,7 @@ const terminalStickyScrollConfiguration = {
|
|
|
31
31
|
},
|
|
32
32
|
[TerminalStickyScrollSettingId.IgnoredCommands]: {
|
|
33
33
|
markdownDescription: ( localize(
|
|
34
|
-
|
|
34
|
+
12813,
|
|
35
35
|
"A list of commands that should not trigger sticky scroll. When a command from this list is detected, the sticky scroll overlay will be hidden."
|
|
36
36
|
)),
|
|
37
37
|
type: "array",
|
|
@@ -52,7 +52,7 @@ const terminalSuggestConfiguration = {
|
|
|
52
52
|
[TerminalSuggestSettingId.Enabled]: {
|
|
53
53
|
restricted: true,
|
|
54
54
|
markdownDescription: ( localize(
|
|
55
|
-
|
|
55
|
+
12894,
|
|
56
56
|
"Enables terminal IntelliSense suggestions (also known as autocomplete) for supported shells ({0}). This requires {1} to be enabled and working or [manually installed](https://code.visualstudio.com/docs/terminal/shell-integration#_manual-installation-install).",
|
|
57
57
|
"Windows PowerShell, PowerShell v7+, zsh, bash, fish",
|
|
58
58
|
`\`#${TerminalSettingId.ShellIntegrationEnabled}#\``
|
|
@@ -63,7 +63,7 @@ const terminalSuggestConfiguration = {
|
|
|
63
63
|
[TerminalSuggestSettingId.Providers]: {
|
|
64
64
|
restricted: true,
|
|
65
65
|
markdownDescription: ( localize(
|
|
66
|
-
|
|
66
|
+
12895,
|
|
67
67
|
"Providers are enabled by default. Omit them by setting the id of the provider to `false`."
|
|
68
68
|
)),
|
|
69
69
|
type: "object",
|
|
@@ -72,7 +72,7 @@ const terminalSuggestConfiguration = {
|
|
|
72
72
|
[TerminalSuggestSettingId.QuickSuggestions]: {
|
|
73
73
|
restricted: true,
|
|
74
74
|
markdownDescription: ( localize(
|
|
75
|
-
|
|
75
|
+
12896,
|
|
76
76
|
"Controls whether suggestions should automatically show up while typing. Also be aware of the {0}-setting which controls if suggestions are triggered by special characters.",
|
|
77
77
|
`\`#${TerminalSuggestSettingId.SuggestOnTriggerCharacters}#\``
|
|
78
78
|
)),
|
|
@@ -80,7 +80,7 @@ const terminalSuggestConfiguration = {
|
|
|
80
80
|
properties: {
|
|
81
81
|
commands: {
|
|
82
82
|
description: ( localize(
|
|
83
|
-
|
|
83
|
+
12897,
|
|
84
84
|
"Enable quick suggestions for commands, the first word in a command line input."
|
|
85
85
|
)),
|
|
86
86
|
type: "string",
|
|
@@ -88,7 +88,7 @@ const terminalSuggestConfiguration = {
|
|
|
88
88
|
},
|
|
89
89
|
arguments: {
|
|
90
90
|
description: ( localize(
|
|
91
|
-
|
|
91
|
+
12898,
|
|
92
92
|
"Enable quick suggestions for arguments, anything after the first word in a command line input."
|
|
93
93
|
)),
|
|
94
94
|
type: "string",
|
|
@@ -96,7 +96,7 @@ const terminalSuggestConfiguration = {
|
|
|
96
96
|
},
|
|
97
97
|
unknown: {
|
|
98
98
|
description: ( localize(
|
|
99
|
-
|
|
99
|
+
12899,
|
|
100
100
|
"Enable quick suggestions when it's unclear what the best suggestion is, if this is on files and folders will be suggested as a fallback."
|
|
101
101
|
)),
|
|
102
102
|
type: "string",
|
|
@@ -113,7 +113,7 @@ const terminalSuggestConfiguration = {
|
|
|
113
113
|
[TerminalSuggestSettingId.SuggestOnTriggerCharacters]: {
|
|
114
114
|
restricted: true,
|
|
115
115
|
markdownDescription: ( localize(
|
|
116
|
-
|
|
116
|
+
12900,
|
|
117
117
|
"Controls whether suggestions should automatically show up when typing trigger characters."
|
|
118
118
|
)),
|
|
119
119
|
type: "boolean",
|
|
@@ -122,31 +122,31 @@ const terminalSuggestConfiguration = {
|
|
|
122
122
|
[TerminalSuggestSettingId.RunOnEnter]: {
|
|
123
123
|
restricted: true,
|
|
124
124
|
markdownDescription: ( localize(
|
|
125
|
-
|
|
125
|
+
12901,
|
|
126
126
|
"Controls whether suggestions should run immediately when `Enter` (not `Tab`) is used to accept the result."
|
|
127
127
|
)),
|
|
128
128
|
enum: ["never", "exactMatch", "exactMatchIgnoreExtension", "always"],
|
|
129
|
-
markdownEnumDescriptions: [( localize(
|
|
130
|
-
|
|
129
|
+
markdownEnumDescriptions: [( localize(12902, "Never run on `Enter`.")), ( localize(12903, "Run on `Enter` when the suggestion is typed in its entirety.")), ( localize(
|
|
130
|
+
12904,
|
|
131
131
|
"Run on `Enter` when the suggestion is typed in its entirety or when a file is typed without its extension included."
|
|
132
|
-
)), ( localize(
|
|
132
|
+
)), ( localize(12905, "Always run on `Enter`."))],
|
|
133
133
|
default: "never"
|
|
134
134
|
},
|
|
135
135
|
[TerminalSuggestSettingId.SelectionMode]: {
|
|
136
136
|
markdownDescription: ( localize(
|
|
137
|
-
|
|
137
|
+
12906,
|
|
138
138
|
"Controls how suggestion selection works in the integrated terminal."
|
|
139
139
|
)),
|
|
140
140
|
type: "string",
|
|
141
141
|
enum: ["partial", "always", "never"],
|
|
142
142
|
markdownEnumDescriptions: [( localize(
|
|
143
|
-
|
|
143
|
+
12907,
|
|
144
144
|
"Partially select a suggestion when automatically triggering IntelliSense. `Tab` can be used to accept the first suggestion, only after navigating the suggestions via `Down` will `Enter` also accept the active suggestion."
|
|
145
145
|
)), ( localize(
|
|
146
|
-
|
|
146
|
+
12908,
|
|
147
147
|
"Always select a suggestion when automatically triggering IntelliSense. `Enter` or `Tab` can be used to accept the first suggestion."
|
|
148
148
|
)), ( localize(
|
|
149
|
-
|
|
149
|
+
12909,
|
|
150
150
|
"Never select a suggestion when automatically triggering IntelliSense. The list must be navigated via `Down` before `Enter` or `Tab` can be used to accept the active suggestion."
|
|
151
151
|
))],
|
|
152
152
|
default: "partial"
|
|
@@ -154,7 +154,7 @@ const terminalSuggestConfiguration = {
|
|
|
154
154
|
[TerminalSuggestSettingId.WindowsExecutableExtensions]: {
|
|
155
155
|
restricted: true,
|
|
156
156
|
markdownDescription: ( localize(
|
|
157
|
-
|
|
157
|
+
12910,
|
|
158
158
|
"A set of windows command executable extensions that will be included as suggestions in the terminal.\n\nMany executables are included by default, listed below:\n\n{0}.\n\nTo exclude an extension, set it to `false`\n\n. To include one not in the list, add it and set it to `true`.",
|
|
159
159
|
( windowsDefaultExecutableExtensions.sort().map(extension => `- ${extension}`)).join("\n")
|
|
160
160
|
)),
|
|
@@ -164,7 +164,7 @@ const terminalSuggestConfiguration = {
|
|
|
164
164
|
[TerminalSuggestSettingId.ShowStatusBar]: {
|
|
165
165
|
restricted: true,
|
|
166
166
|
markdownDescription: ( localize(
|
|
167
|
-
|
|
167
|
+
12911,
|
|
168
168
|
"Controls whether the terminal suggestions status bar should be shown."
|
|
169
169
|
)),
|
|
170
170
|
type: "boolean",
|
|
@@ -173,13 +173,13 @@ const terminalSuggestConfiguration = {
|
|
|
173
173
|
[TerminalSuggestSettingId.CdPath]: {
|
|
174
174
|
restricted: true,
|
|
175
175
|
markdownDescription: ( localize(
|
|
176
|
-
|
|
176
|
+
12912,
|
|
177
177
|
"Controls whether to enable $CDPATH support which exposes children of the folders in the $CDPATH variable regardless of the current working directory. $CDPATH is expected to be semi colon-separated on Windows and colon-separated on other platforms."
|
|
178
178
|
)),
|
|
179
179
|
type: "string",
|
|
180
180
|
enum: ["off", "relative", "absolute"],
|
|
181
|
-
markdownEnumDescriptions: [( localize(
|
|
182
|
-
|
|
181
|
+
markdownEnumDescriptions: [( localize(12913, "Disable the feature.")), ( localize(12914, "Enable the feature and use relative paths.")), ( localize(
|
|
182
|
+
12915,
|
|
183
183
|
"Enable the feature and use absolute paths. This is useful when the shell doesn't natively support `$CDPATH`."
|
|
184
184
|
))],
|
|
185
185
|
default: "absolute"
|
|
@@ -187,21 +187,21 @@ const terminalSuggestConfiguration = {
|
|
|
187
187
|
[TerminalSuggestSettingId.InlineSuggestion]: {
|
|
188
188
|
restricted: true,
|
|
189
189
|
markdownDescription: ( localize(
|
|
190
|
-
|
|
190
|
+
12916,
|
|
191
191
|
"Controls whether the shell's inline suggestion should be detected and how it is scored."
|
|
192
192
|
)),
|
|
193
193
|
type: "string",
|
|
194
194
|
enum: ["off", "alwaysOnTopExceptExactMatch", "alwaysOnTop"],
|
|
195
|
-
markdownEnumDescriptions: [( localize(
|
|
196
|
-
|
|
195
|
+
markdownEnumDescriptions: [( localize(12917, "Disable the feature.")), ( localize(
|
|
196
|
+
12918,
|
|
197
197
|
"Enable the feature and sort the inline suggestion without forcing it to be on top. This means that exact matches will be above the inline suggestion."
|
|
198
|
-
)), ( localize(
|
|
198
|
+
)), ( localize(12919, "Enable the feature and always put the inline suggestion on top."))],
|
|
199
199
|
default: "alwaysOnTop"
|
|
200
200
|
},
|
|
201
201
|
[TerminalSuggestSettingId.UpArrowNavigatesHistory]: {
|
|
202
202
|
restricted: true,
|
|
203
203
|
markdownDescription: ( localize(
|
|
204
|
-
|
|
204
|
+
12920,
|
|
205
205
|
"Determines whether the up arrow key navigates the command history when focus is on the first suggestion and navigation has not yet occurred. When set to false, the up arrow will move focus to the last suggestion instead."
|
|
206
206
|
)),
|
|
207
207
|
type: "boolean",
|
|
@@ -210,7 +210,7 @@ const terminalSuggestConfiguration = {
|
|
|
210
210
|
[TerminalSuggestSettingId.InsertTrailingSpace]: {
|
|
211
211
|
restricted: true,
|
|
212
212
|
markdownDescription: ( localize(
|
|
213
|
-
|
|
213
|
+
12921,
|
|
214
214
|
"Controls whether a space is automatically inserted after accepting a suggestion and re-trigger suggestions. Folders and symbolic link folders will never have a trailing space added."
|
|
215
215
|
)),
|
|
216
216
|
type: "boolean",
|
|
@@ -224,7 +224,7 @@ function registerTerminalSuggestProvidersConfiguration(providers) {
|
|
|
224
224
|
if (!( providers.has("lsp"))) {
|
|
225
225
|
providers.set("lsp", {
|
|
226
226
|
id: "lsp",
|
|
227
|
-
description: ( localize(
|
|
227
|
+
description: ( localize(12922, "Show suggestions from language servers."))
|
|
228
228
|
});
|
|
229
229
|
}
|
|
230
230
|
const providersProperties = {};
|
|
@@ -232,7 +232,7 @@ function registerTerminalSuggestProvidersConfiguration(providers) {
|
|
|
232
232
|
providersProperties[id] = {
|
|
233
233
|
type: "boolean",
|
|
234
234
|
default: id === "lsp" ? false : true,
|
|
235
|
-
description: providers.get(id)?.description ?? ( localize(
|
|
235
|
+
description: providers.get(id)?.description ?? ( localize(12923, "Show suggestions from {0}.", id))
|
|
236
236
|
};
|
|
237
237
|
}
|
|
238
238
|
const defaultValue = {};
|
|
@@ -242,13 +242,13 @@ function registerTerminalSuggestProvidersConfiguration(providers) {
|
|
|
242
242
|
terminalSuggestProvidersConfiguration = {
|
|
243
243
|
id: "terminalSuggestProviders",
|
|
244
244
|
order: 100,
|
|
245
|
-
title: ( localize(
|
|
245
|
+
title: ( localize(12924, "Terminal Suggest Providers")),
|
|
246
246
|
type: "object",
|
|
247
247
|
properties: {
|
|
248
248
|
[TerminalSuggestSettingId.Providers]: {
|
|
249
249
|
restricted: true,
|
|
250
250
|
markdownDescription: ( localize(
|
|
251
|
-
|
|
251
|
+
12925,
|
|
252
252
|
"Controls which suggestions automatically show up while typing. Suggestion providers are enabled by default."
|
|
253
253
|
)),
|
|
254
254
|
type: "object",
|