@codingame/monaco-vscode-api 10.0.2 → 10.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/missing-services.js +7060 -1573
- package/monaco.d.ts +1 -1
- package/monaco.js +1 -1
- package/package.json +8 -8
- package/vscode/src/vs/base/browser/ui/dropdown/dropdownActionViewItem.js +1 -1
- package/vscode/src/vs/base/browser/ui/toolbar/toolbar.js +1 -1
- package/vscode/src/vs/base/browser/ui/tree/abstractTree.js +9 -9
- package/vscode/src/vs/base/common/date.js +61 -61
- package/vscode/src/vs/base/common/errorMessage.js +15 -6
- package/vscode/src/vs/base/common/errors.d.ts +3 -1
- package/vscode/src/vs/base/common/jsonErrorMessages.js +9 -9
- package/vscode/src/vs/editor/browser/coreCommands.js +3 -3
- package/vscode/src/vs/editor/browser/gpu/viewGpuContext.js +1 -1
- package/vscode/src/vs/editor/browser/services/hoverService/hoverWidget.js +1 -1
- package/vscode/src/vs/editor/browser/services/hoverService/updatableHoverWidget.js +1 -1
- package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorWidget.js +2 -2
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditor.contribution.js +5 -5
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/colors.js +3 -3
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidgetImpl.js +2 -2
- package/vscode/src/vs/editor/common/config/editorConfigurationSchema.js +51 -51
- package/vscode/src/vs/editor/common/config/editorOptions.js +368 -368
- package/vscode/src/vs/editor/common/core/editorColorRegistry.js +71 -71
- package/vscode/src/vs/editor/common/model/editStack.js +1 -1
- package/vscode/src/vs/editor/common/standaloneStrings.js +32 -32
- package/vscode/src/vs/editor/common/viewLayout/viewLineRenderer.js +2 -2
- package/vscode/src/vs/editor/contrib/anchorSelect/browser/anchorSelect.js +6 -6
- package/vscode/src/vs/editor/contrib/bracketMatching/browser/bracketMatching.js +6 -6
- package/vscode/src/vs/editor/contrib/caretOperations/browser/caretOperations.js +2 -2
- package/vscode/src/vs/editor/contrib/caretOperations/browser/transpose.js +1 -1
- package/vscode/src/vs/editor/contrib/clipboard/browser/clipboard.js +17 -17
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeAction.js +1 -1
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionContributions.js +3 -3
- package/vscode/src/vs/editor/contrib/codelens/browser/codelensController.js +2 -2
- package/vscode/src/vs/editor/contrib/comment/browser/comment.js +6 -6
- package/vscode/src/vs/editor/contrib/contextmenu/browser/contextmenu.js +10 -10
- package/vscode/src/vs/editor/contrib/cursorUndo/browser/cursorUndo.js +2 -2
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution.js +3 -3
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorContribution.js +1 -1
- package/vscode/src/vs/editor/contrib/editorState/browser/keybindingCancellation.js +1 -1
- package/vscode/src/vs/editor/contrib/find/browser/findController.js +16 -16
- package/vscode/src/vs/editor/contrib/fontZoom/browser/fontZoom.js +3 -3
- package/vscode/src/vs/editor/contrib/format/browser/formatActions.js +2 -2
- package/vscode/src/vs/editor/contrib/gotoError/browser/gotoError.js +8 -8
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/goToCommands.js +39 -39
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition.js +1 -1
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesController.js +3 -3
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesTree.js +3 -3
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.js +3 -3
- package/vscode/src/vs/editor/contrib/gpu/browser/gpuActions.js +4 -4
- package/vscode/src/vs/editor/contrib/hover/browser/hoverAccessibleViews.js +2 -2
- package/vscode/src/vs/editor/contrib/hover/browser/hoverActions.js +23 -23
- package/vscode/src/vs/editor/contrib/hover/browser/markdownHoverParticipant.js +9 -9
- package/vscode/src/vs/editor/contrib/hover/browser/markerHoverParticipant.js +5 -5
- package/vscode/src/vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace.js +2 -2
- package/vscode/src/vs/editor/contrib/indentation/browser/indentation.js +20 -20
- package/vscode/src/vs/editor/contrib/lineSelection/browser/lineSelection.js +1 -1
- package/vscode/src/vs/editor/contrib/linesOperations/browser/linesOperations.js +30 -30
- package/vscode/src/vs/editor/contrib/linkedEditing/browser/linkedEditing.js +2 -2
- package/vscode/src/vs/editor/contrib/links/browser/links.js +10 -10
- package/vscode/src/vs/editor/contrib/multicursor/browser/multicursor.js +22 -22
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHints.js +1 -1
- package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderText.contribution.js +1 -1
- package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess.js +5 -5
- package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess.js +32 -32
- package/vscode/src/vs/editor/contrib/readOnlyMessage/browser/contribution.js +2 -2
- package/vscode/src/vs/editor/contrib/rename/browser/rename.js +11 -11
- package/vscode/src/vs/editor/contrib/smartSelect/browser/smartSelect.js +4 -4
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetController2.js +4 -4
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestController.js +10 -10
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetDetails.js +2 -2
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.js +2 -2
- package/vscode/src/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.js +4 -4
- package/vscode/src/vs/editor/contrib/tokenization/browser/tokenization.js +1 -1
- package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js +24 -24
- package/vscode/src/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.js +5 -5
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.js +3 -3
- package/vscode/src/vs/editor/contrib/wordOperations/browser/wordOperations.js +1 -1
- package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +49 -49
- package/vscode/src/vs/platform/action/common/actionCommonCategories.js +6 -6
- package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.js +5 -5
- package/vscode/src/vs/platform/actions/common/menuResetAction.js +1 -1
- package/vscode/src/vs/platform/actions/common/menuService.js +2 -2
- package/vscode/src/vs/platform/contextkey/browser/contextKeyService.js +1 -1
- package/vscode/src/vs/platform/contextkey/common/contextkeys.js +9 -9
- package/vscode/src/vs/platform/dialogs/common/dialogs.js +9 -9
- package/vscode/src/vs/platform/dnd/browser/dnd.js +1 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +2 -2
- package/vscode/src/vs/platform/extensionManagement/common/extensionNls.js +1 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.js +7 -11
- package/vscode/src/vs/platform/extensions/common/extensionValidator.js +20 -20
- package/vscode/src/vs/platform/files/browser/htmlFileSystemProvider.js +2 -2
- package/vscode/src/vs/platform/files/common/files.js +6 -6
- package/vscode/src/vs/platform/keybinding/common/abstractKeybindingService.js +4 -4
- package/vscode/src/vs/platform/list/browser/listService.js +27 -27
- package/vscode/src/vs/platform/log/common/log.js +6 -6
- package/vscode/src/vs/platform/markers/common/markers.js +3 -3
- package/vscode/src/vs/platform/request/common/request.js +14 -14
- package/vscode/src/vs/platform/terminal/common/terminalProfiles.js +1 -1
- package/vscode/src/vs/platform/theme/common/colors/baseColors.js +17 -17
- package/vscode/src/vs/platform/theme/common/colors/chartsColors.js +8 -8
- package/vscode/src/vs/platform/theme/common/iconRegistry.js +5 -5
- package/vscode/src/vs/platform/theme/common/tokenClassificationRegistry.js +42 -42
- package/vscode/src/vs/platform/undoRedo/common/undoRedoService.js +20 -20
- package/vscode/src/vs/platform/userDataSync/common/userDataSync.js +5 -5
- package/vscode/src/vs/platform/workspace/common/workspace.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostDiagnostics.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostExtensionService.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostLanguageModels.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostLogService.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostNotebook.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostStatusBar.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostTerminalService.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTreeViews.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTunnelService.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostWorkspace.js +1 -1
- package/vscode/src/vs/workbench/api/common/jsonValidationExtensionPoint.js +12 -12
- package/vscode/src/vs/workbench/browser/actions/developerActions.js +31 -31
- package/vscode/src/vs/workbench/browser/actions/textInputActions.js +6 -6
- package/vscode/src/vs/workbench/browser/actions/windowActions.js +25 -25
- package/vscode/src/vs/workbench/browser/editor.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbs.js +41 -41
- package/vscode/src/vs/workbench/browser/parts/editor/sideBySideEditor.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsActions.js +17 -17
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsAlerts.js +3 -3
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCenter.js +6 -6
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCommands.js +9 -9
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsList.js +6 -6
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsStatus.js +13 -13
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsToasts.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsViewer.js +4 -4
- package/vscode/src/vs/workbench/browser/parts/panel/panelActions.js +34 -34
- package/vscode/src/vs/workbench/browser/parts/titlebar/windowTitle.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/views/viewFilter.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/views/viewPane.js +4 -4
- package/vscode/src/vs/workbench/browser/quickaccess.js +1 -1
- package/vscode/src/vs/workbench/browser/workbench.contribution.js +217 -217
- package/vscode/src/vs/workbench/common/configuration.js +10 -10
- package/vscode/src/vs/workbench/common/editor/diffEditorInput.js +1 -1
- package/vscode/src/vs/workbench/common/editor/textEditorModel.js +1 -1
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +131 -131
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatActions.js +17 -17
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatExecuteActions.js +5 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatQuickInputActions.js +9 -9
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatTitleActions.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatAccessibilityProvider.js +9 -9
- package/vscode/src/vs/workbench/contrib/chat/browser/chatAgentHover.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatAttachmentsContentPart.js +8 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatCodeCitationContentPart.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatCommandContentPart.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatConfirmationContentPart.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatReferencesContentPart.js +8 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatTextEditContentPart.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatToolInvocationPart.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatTreeContentPart.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDragAndDrop.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditingService.js +11 -11
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditorInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatFollowups.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatImagePaste.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatInlineAnchorWidget.js +5 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/chatInputPart.js +12 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/chatListRenderer.js +12 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/chatWidget.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/codeBlockPart.js +15 -15
- package/vscode/src/vs/workbench/contrib/chat/browser/contrib/chatDynamicVariables.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/contrib/chatInputCompletions.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatColors.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.js +21 -21
- package/vscode/src/vs/workbench/contrib/chat/common/chatModel.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +15 -15
- package/vscode/src/vs/workbench/contrib/codeActions/common/codeActionsExtensionPoint.js +10 -10
- package/vscode/src/vs/workbench/contrib/codeActions/common/documentationExtensionPoint.js +6 -6
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorAccessibilityHelp.js +5 -5
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/find/simpleFindWidget.js +10 -10
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/inspectEditorTokens/inspectEditorTokens.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/largeFileOptimizations.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoSymbolQuickAccess.js +6 -6
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMinimap.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMultiCursorModifier.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderControlCharacter.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderWhitespace.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +5 -5
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsController.js +5 -5
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointsView.js +65 -65
- package/vscode/src/vs/workbench/contrib/debug/browser/callStackEditorContribution.js +2 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/debugIcons.js +57 -57
- package/vscode/src/vs/workbench/contrib/debug/browser/debugSessionPicker.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/common/abstractDebugAdapter.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/debug.js +63 -63
- package/vscode/src/vs/workbench/contrib/debug/common/debugModel.js +6 -6
- package/vscode/src/vs/workbench/contrib/debug/common/debugSource.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/loadedScriptsPicker.js +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActions.js +173 -173
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsIcons.js +24 -24
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsFileTemplate.js +5 -5
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._configuration.js +52 -52
- package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._editorPane.js +2 -2
- package/vscode/src/vs/workbench/contrib/folding/browser/folding.contribution.js +3 -3
- package/vscode/src/vs/workbench/contrib/format/browser/formatActionsMultiple.js +20 -20
- package/vscode/src/vs/workbench/contrib/format/browser/formatActionsNone.js +4 -4
- package/vscode/src/vs/workbench/contrib/format/browser/formatModified.js +1 -1
- package/vscode/src/vs/workbench/contrib/inlayHints/browser/inlayHintsAccessibilty.js +4 -4
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatActions.js +19 -19
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatController.js +6 -6
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatZoneWidget.js +1 -1
- package/vscode/src/vs/workbench/contrib/inlineChat/common/inlineChat.js +41 -41
- package/vscode/src/vs/workbench/contrib/list/browser/listResizeColumnAction.js +2 -2
- package/vscode/src/vs/workbench/contrib/list/browser/tableColumnResizeQuickPick.js +5 -5
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInput.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindWidget.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOperations.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebookChatContext.js +5 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/coreActions.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffComponents.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibilityProvider.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditorWidget.js +24 -24
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookIcons.js +28 -28
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCell.js +2 -2
- 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 +2 -2
- 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/preferences/browser/preferencesWidgets.js +10 -10
- package/vscode/src/vs/workbench/contrib/preferences/browser/settingsLayout.js +50 -50
- package/vscode/src/vs/workbench/contrib/scm/browser/dirtyDiffSwitcher.js +2 -2
- package/vscode/src/vs/workbench/contrib/scm/browser/scmHistory.js +13 -13
- package/vscode/src/vs/workbench/contrib/snippets/browser/commands/abstractSnippetsActions.js +1 -1
- package/vscode/src/vs/workbench/contrib/snippets/browser/commands/fileTemplateSnippets.js +2 -2
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCompletionProvider.js +3 -3
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsFile.js +3 -3
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsService.js +9 -9
- package/vscode/src/vs/workbench/contrib/tasks/common/tasks.js +3 -3
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalStrings.js +28 -28
- package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChat.js +7 -7
- 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/services/authentication/browser/authenticationService.js +3 -3
- package/vscode/src/vs/workbench/services/auxiliaryWindow/browser/auxiliaryWindowService.js +5 -5
- package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +15 -15
- package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +1 -1
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagement.js +1 -1
- package/vscode/src/vs/workbench/services/extensionRecommendations/common/workspaceExtensionsConfig.js +6 -6
- package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.js +5 -5
- package/vscode/src/vs/workbench/services/language/common/languageService.js +28 -28
- package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorModel.js +7 -7
- package/vscode/src/vs/workbench/services/search/common/queryBuilder.js +1 -1
- package/vscode/src/vs/workbench/services/textMate/common/TMGrammars.js +9 -9
- package/vscode/src/vs/workbench/services/textfile/common/textFileEditorModel.js +3 -3
- package/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.js +22 -22
- package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +13 -13
- package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfile.js +3 -3
- package/vscode/src/vs/workbench/services/views/browser/viewsService.js +7 -7
- package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopy.js +17 -17
|
@@ -34,10 +34,10 @@ import { SuggestController } from '../../../../../editor/contrib/suggest/browser
|
|
|
34
34
|
function isChatViewTitleActionContext(obj) {
|
|
35
35
|
return obj instanceof Object && 'chatView' in obj;
|
|
36
36
|
}
|
|
37
|
-
const CHAT_CATEGORY = ( localize2(
|
|
37
|
+
const CHAT_CATEGORY = ( localize2(4770, 'Chat'));
|
|
38
38
|
const CHAT_OPEN_ACTION_ID = 'workbench.action.chat.open';
|
|
39
39
|
class OpenChatGlobalAction extends Action2 {
|
|
40
|
-
static { this.TITLE = ( localize2(
|
|
40
|
+
static { this.TITLE = ( localize2(4771, "Open Chat")); }
|
|
41
41
|
constructor() {
|
|
42
42
|
super({
|
|
43
43
|
id: CHAT_OPEN_ACTION_ID,
|
|
@@ -86,7 +86,7 @@ class ChatHistoryAction extends Action2 {
|
|
|
86
86
|
constructor() {
|
|
87
87
|
super({
|
|
88
88
|
id: `workbench.action.chat.history`,
|
|
89
|
-
title: ( localize2(
|
|
89
|
+
title: ( localize2(4772, "Show Chats...")),
|
|
90
90
|
menu: {
|
|
91
91
|
id: MenuId.ViewTitle,
|
|
92
92
|
when: ( (ContextKeyExpr.equals('view', CHAT_VIEW_ID))),
|
|
@@ -107,15 +107,15 @@ class ChatHistoryAction extends Action2 {
|
|
|
107
107
|
const showPicker = () => {
|
|
108
108
|
const openInEditorButton = {
|
|
109
109
|
iconClass: ThemeIcon.asClassName(Codicon.file),
|
|
110
|
-
tooltip: ( localize(
|
|
110
|
+
tooltip: ( localize(4773, "Open in Editor")),
|
|
111
111
|
};
|
|
112
112
|
const deleteButton = {
|
|
113
113
|
iconClass: ThemeIcon.asClassName(Codicon.x),
|
|
114
|
-
tooltip: ( localize(
|
|
114
|
+
tooltip: ( localize(4774, "Delete")),
|
|
115
115
|
};
|
|
116
116
|
const renameButton = {
|
|
117
117
|
iconClass: ThemeIcon.asClassName(Codicon.pencil),
|
|
118
|
-
tooltip: ( localize(
|
|
118
|
+
tooltip: ( localize(4775, "Rename")),
|
|
119
119
|
};
|
|
120
120
|
const getPicks = () => {
|
|
121
121
|
const items = chatService.getHistory();
|
|
@@ -131,7 +131,7 @@ class ChatHistoryAction extends Action2 {
|
|
|
131
131
|
separator,
|
|
132
132
|
{
|
|
133
133
|
label: i.title,
|
|
134
|
-
description: i.isActive ? `(${( localize(
|
|
134
|
+
description: i.isActive ? `(${( localize(4776, 'current'))})` : '',
|
|
135
135
|
chat: i,
|
|
136
136
|
buttons: i.isActive ? [renameButton] : [
|
|
137
137
|
renameButton,
|
|
@@ -145,7 +145,7 @@ class ChatHistoryAction extends Action2 {
|
|
|
145
145
|
};
|
|
146
146
|
const store = ( (new DisposableStore()));
|
|
147
147
|
const picker = store.add(quickInputService.createQuickPick({ useSeparators: true }));
|
|
148
|
-
picker.placeholder = ( localize(
|
|
148
|
+
picker.placeholder = ( localize(4777, "Switch to chat"));
|
|
149
149
|
const picks = getPicks();
|
|
150
150
|
picker.items = picks;
|
|
151
151
|
store.add(picker.onDidTriggerItemButton(async (context) => {
|
|
@@ -159,7 +159,7 @@ class ChatHistoryAction extends Action2 {
|
|
|
159
159
|
picker.items = getPicks();
|
|
160
160
|
}
|
|
161
161
|
else if (context.button === renameButton) {
|
|
162
|
-
const title = await quickInputService.input({ title: ( localize(
|
|
162
|
+
const title = await quickInputService.input({ title: ( localize(4778, "New chat title")), value: context.item.chat.title });
|
|
163
163
|
if (title) {
|
|
164
164
|
chatService.setChatSessionTitle(context.item.chat.sessionId, title);
|
|
165
165
|
}
|
|
@@ -187,7 +187,7 @@ class OpenChatEditorAction extends Action2 {
|
|
|
187
187
|
constructor() {
|
|
188
188
|
super({
|
|
189
189
|
id: `workbench.action.openChat`,
|
|
190
|
-
title: ( localize2(
|
|
190
|
+
title: ( localize2(4779, "Open Editor")),
|
|
191
191
|
f1: true,
|
|
192
192
|
category: CHAT_CATEGORY,
|
|
193
193
|
precondition: CONTEXT_CHAT_ENABLED
|
|
@@ -202,7 +202,7 @@ class ChatAddAction extends Action2 {
|
|
|
202
202
|
constructor() {
|
|
203
203
|
super({
|
|
204
204
|
id: 'workbench.action.chat.addParticipant',
|
|
205
|
-
title: ( localize2(
|
|
205
|
+
title: ( localize2(4780, "Chat with Extension")),
|
|
206
206
|
icon: Codicon.mention,
|
|
207
207
|
f1: false,
|
|
208
208
|
category: CHAT_CATEGORY,
|
|
@@ -246,7 +246,7 @@ function registerChatActions() {
|
|
|
246
246
|
constructor() {
|
|
247
247
|
super({
|
|
248
248
|
id: 'workbench.action.chat.clearInputHistory',
|
|
249
|
-
title: ( localize2(
|
|
249
|
+
title: ( localize2(4781, "Clear Input History")),
|
|
250
250
|
precondition: CONTEXT_CHAT_ENABLED,
|
|
251
251
|
category: CHAT_CATEGORY,
|
|
252
252
|
f1: true,
|
|
@@ -261,7 +261,7 @@ function registerChatActions() {
|
|
|
261
261
|
constructor() {
|
|
262
262
|
super({
|
|
263
263
|
id: 'workbench.action.chat.clearHistory',
|
|
264
|
-
title: ( localize2(
|
|
264
|
+
title: ( localize2(4782, "Clear All Workspace Chats")),
|
|
265
265
|
precondition: CONTEXT_CHAT_ENABLED,
|
|
266
266
|
category: CHAT_CATEGORY,
|
|
267
267
|
f1: true,
|
|
@@ -289,7 +289,7 @@ function registerChatActions() {
|
|
|
289
289
|
constructor() {
|
|
290
290
|
super({
|
|
291
291
|
id: 'chat.action.focus',
|
|
292
|
-
title: ( localize2(
|
|
292
|
+
title: ( localize2(4783, 'Focus Chat List')),
|
|
293
293
|
precondition: ( (ContextKeyExpr.and(CONTEXT_IN_CHAT_INPUT))),
|
|
294
294
|
category: CHAT_CATEGORY,
|
|
295
295
|
keybinding: [
|
|
@@ -329,7 +329,7 @@ function registerChatActions() {
|
|
|
329
329
|
constructor() {
|
|
330
330
|
super({
|
|
331
331
|
id: 'workbench.action.chat.focusInput',
|
|
332
|
-
title: ( localize2(
|
|
332
|
+
title: ( localize2(4784, "Focus Chat Input")),
|
|
333
333
|
f1: false,
|
|
334
334
|
keybinding: [
|
|
335
335
|
{
|
|
@@ -369,7 +369,7 @@ function stringifyItem(item, includeName = true) {
|
|
|
369
369
|
}
|
|
370
370
|
MenuRegistry.appendMenuItem(MenuId.CommandCenter, {
|
|
371
371
|
submenu: MenuId.ChatCommandCenter,
|
|
372
|
-
title: ( localize(
|
|
372
|
+
title: ( localize(4785, "Chat")),
|
|
373
373
|
icon: Codicon.commentDiscussion,
|
|
374
374
|
when: ( (ContextKeyExpr.and(
|
|
375
375
|
CONTEXT_CHAT_ENABLED,
|
|
@@ -392,7 +392,7 @@ let ChatCommandCenterRendering = class ChatCommandCenterRendering {
|
|
|
392
392
|
}
|
|
393
393
|
const dropdownAction = toAction({
|
|
394
394
|
id: agent.id,
|
|
395
|
-
label: ( localize(
|
|
395
|
+
label: ( localize(4786, "More...")),
|
|
396
396
|
run() { }
|
|
397
397
|
});
|
|
398
398
|
const primaryAction = instantiationService.createInstance(MenuItemAction, {
|
|
@@ -13,7 +13,7 @@ class SubmitAction extends Action2 {
|
|
|
13
13
|
constructor() {
|
|
14
14
|
super({
|
|
15
15
|
id: SubmitAction.ID,
|
|
16
|
-
title: ( localize2(
|
|
16
|
+
title: ( localize2(7331, "Send")),
|
|
17
17
|
f1: false,
|
|
18
18
|
category: CHAT_CATEGORY,
|
|
19
19
|
icon: Codicon.send,
|
|
@@ -51,7 +51,7 @@ const ChatModelPickerActionId = 'workbench.action.chat.pickModel';
|
|
|
51
51
|
MenuRegistry.appendMenuItem(MenuId.ChatExecute, {
|
|
52
52
|
command: {
|
|
53
53
|
id: ChatModelPickerActionId,
|
|
54
|
-
title: ( localize2(
|
|
54
|
+
title: ( localize2(7332, "Pick Model")),
|
|
55
55
|
},
|
|
56
56
|
order: 3,
|
|
57
57
|
group: 'navigation',
|
|
@@ -66,7 +66,7 @@ class ChatSubmitSecondaryAgentAction extends Action2 {
|
|
|
66
66
|
constructor() {
|
|
67
67
|
super({
|
|
68
68
|
id: ChatSubmitSecondaryAgentAction.ID,
|
|
69
|
-
title: ( localize2(
|
|
69
|
+
title: ( localize2(7333, "Submit to Secondary Agent")),
|
|
70
70
|
precondition: ( (ContextKeyExpr.and(
|
|
71
71
|
CONTEXT_CHAT_INPUT_HAS_TEXT,
|
|
72
72
|
(CONTEXT_CHAT_INPUT_HAS_AGENT.negate()),
|
|
@@ -108,7 +108,7 @@ class SendToNewChatAction extends Action2 {
|
|
|
108
108
|
constructor() {
|
|
109
109
|
super({
|
|
110
110
|
id: 'workbench.action.chat.sendToNewChat',
|
|
111
|
-
title: ( localize2(
|
|
111
|
+
title: ( localize2(7334, "Send to New Chat")),
|
|
112
112
|
precondition: ( (ContextKeyExpr.and(
|
|
113
113
|
(CONTEXT_CHAT_REQUEST_IN_PROGRESS.negate()),
|
|
114
114
|
CONTEXT_CHAT_INPUT_HAS_TEXT
|
|
@@ -142,7 +142,7 @@ class CancelAction extends Action2 {
|
|
|
142
142
|
constructor() {
|
|
143
143
|
super({
|
|
144
144
|
id: CancelAction.ID,
|
|
145
|
-
title: ( localize2(
|
|
145
|
+
title: ( localize2(7335, "Cancel")),
|
|
146
146
|
f1: false,
|
|
147
147
|
category: CHAT_CATEGORY,
|
|
148
148
|
icon: Codicon.stopCircle,
|
|
@@ -15,7 +15,7 @@ function registerQuickChatActions() {
|
|
|
15
15
|
constructor() {
|
|
16
16
|
super({
|
|
17
17
|
id: 'workbench.action.quickchat.openInChatView',
|
|
18
|
-
title: ( localize2(
|
|
18
|
+
title: ( localize2(4787, "Open in Chat View")),
|
|
19
19
|
f1: false,
|
|
20
20
|
category: CHAT_CATEGORY,
|
|
21
21
|
icon: Codicon.commentDiscussion,
|
|
@@ -35,7 +35,7 @@ function registerQuickChatActions() {
|
|
|
35
35
|
constructor() {
|
|
36
36
|
super({
|
|
37
37
|
id: 'workbench.action.quickchat.close',
|
|
38
|
-
title: ( localize2(
|
|
38
|
+
title: ( localize2(4788, "Close Quick Chat")),
|
|
39
39
|
f1: false,
|
|
40
40
|
category: CHAT_CATEGORY,
|
|
41
41
|
icon: Codicon.close,
|
|
@@ -55,7 +55,7 @@ function registerQuickChatActions() {
|
|
|
55
55
|
constructor() {
|
|
56
56
|
super({
|
|
57
57
|
id: 'workbench.action.quickchat.launchInlineChat',
|
|
58
|
-
title: ( localize2(
|
|
58
|
+
title: ( localize2(4789, "Launch Inline Chat")),
|
|
59
59
|
f1: false,
|
|
60
60
|
category: CHAT_CATEGORY
|
|
61
61
|
});
|
|
@@ -83,7 +83,7 @@ class QuickChatGlobalAction extends Action2 {
|
|
|
83
83
|
constructor() {
|
|
84
84
|
super({
|
|
85
85
|
id: ASK_QUICK_QUESTION_ACTION_ID,
|
|
86
|
-
title: ( localize2(
|
|
86
|
+
title: ( localize2(4790, 'Quick Chat')),
|
|
87
87
|
precondition: CONTEXT_CHAT_ENABLED,
|
|
88
88
|
icon: Codicon.commentDiscussion,
|
|
89
89
|
f1: false,
|
|
@@ -101,7 +101,7 @@ class QuickChatGlobalAction extends Action2 {
|
|
|
101
101
|
order: 5
|
|
102
102
|
},
|
|
103
103
|
metadata: {
|
|
104
|
-
description: ( localize(
|
|
104
|
+
description: ( localize(4791, 'Toggle the quick chat')),
|
|
105
105
|
args: [{
|
|
106
106
|
name: 'args',
|
|
107
107
|
schema: {
|
|
@@ -111,18 +111,18 @@ class QuickChatGlobalAction extends Action2 {
|
|
|
111
111
|
required: ['query'],
|
|
112
112
|
properties: {
|
|
113
113
|
query: {
|
|
114
|
-
description: ( localize(
|
|
114
|
+
description: ( localize(4792, "The query to open the quick chat with")),
|
|
115
115
|
type: 'string'
|
|
116
116
|
},
|
|
117
117
|
isPartialQuery: {
|
|
118
|
-
description: ( localize(
|
|
118
|
+
description: ( localize(4793, "Whether the query is partial; it will wait for more user input")),
|
|
119
119
|
type: 'boolean'
|
|
120
120
|
}
|
|
121
121
|
},
|
|
122
122
|
},
|
|
123
123
|
{
|
|
124
124
|
type: 'string',
|
|
125
|
-
description: ( localize(
|
|
125
|
+
description: ( localize(4792, "The query to open the quick chat with"))
|
|
126
126
|
}
|
|
127
127
|
]
|
|
128
128
|
}
|
|
@@ -152,7 +152,7 @@ class AskQuickChatAction extends Action2 {
|
|
|
152
152
|
super({
|
|
153
153
|
id: `workbench.action.openQuickChat`,
|
|
154
154
|
category: CHAT_CATEGORY,
|
|
155
|
-
title: ( localize2(
|
|
155
|
+
title: ( localize2(4794, "Open Quick Chat")),
|
|
156
156
|
f1: true
|
|
157
157
|
});
|
|
158
158
|
}
|
|
@@ -21,7 +21,7 @@ function registerChatTitleActions() {
|
|
|
21
21
|
constructor() {
|
|
22
22
|
super({
|
|
23
23
|
id: 'workbench.action.chat.markHelpful',
|
|
24
|
-
title: ( localize2(
|
|
24
|
+
title: ( localize2(7345, "Helpful")),
|
|
25
25
|
f1: false,
|
|
26
26
|
category: CHAT_CATEGORY,
|
|
27
27
|
icon: Codicon.thumbsup,
|
|
@@ -65,7 +65,7 @@ function registerChatTitleActions() {
|
|
|
65
65
|
constructor() {
|
|
66
66
|
super({
|
|
67
67
|
id: MarkUnhelpfulActionId,
|
|
68
|
-
title: ( localize2(
|
|
68
|
+
title: ( localize2(7346, "Unhelpful")),
|
|
69
69
|
f1: false,
|
|
70
70
|
category: CHAT_CATEGORY,
|
|
71
71
|
icon: Codicon.thumbsdown,
|
|
@@ -113,7 +113,7 @@ function registerChatTitleActions() {
|
|
|
113
113
|
constructor() {
|
|
114
114
|
super({
|
|
115
115
|
id: 'workbench.action.chat.reportIssueForBug',
|
|
116
|
-
title: ( localize2(
|
|
116
|
+
title: ( localize2(7347, "Report Issue")),
|
|
117
117
|
f1: false,
|
|
118
118
|
category: CHAT_CATEGORY,
|
|
119
119
|
icon: Codicon.report,
|
|
@@ -152,7 +152,7 @@ function registerChatTitleActions() {
|
|
|
152
152
|
constructor() {
|
|
153
153
|
super({
|
|
154
154
|
id: 'workbench.action.chat.retry',
|
|
155
|
-
title: ( localize2(
|
|
155
|
+
title: ( localize2(7348, "Retry")),
|
|
156
156
|
f1: false,
|
|
157
157
|
category: CHAT_CATEGORY,
|
|
158
158
|
icon: Codicon.refresh,
|
|
@@ -180,7 +180,7 @@ function registerChatTitleActions() {
|
|
|
180
180
|
constructor() {
|
|
181
181
|
super({
|
|
182
182
|
id: 'workbench.action.chat.insertIntoNotebook',
|
|
183
|
-
title: ( localize2(
|
|
183
|
+
title: ( localize2(7349, "Insert into Notebook")),
|
|
184
184
|
f1: false,
|
|
185
185
|
category: CHAT_CATEGORY,
|
|
186
186
|
icon: Codicon.insert,
|
|
@@ -242,7 +242,7 @@ function registerChatTitleActions() {
|
|
|
242
242
|
constructor() {
|
|
243
243
|
super({
|
|
244
244
|
id: 'workbench.action.chat.remove',
|
|
245
|
-
title: ( localize2(
|
|
245
|
+
title: ( localize2(7350, "Remove Request and Response")),
|
|
246
246
|
f1: false,
|
|
247
247
|
category: CHAT_CATEGORY,
|
|
248
248
|
icon: Codicon.x,
|
|
@@ -3,6 +3,6 @@ import { CHAT_PROVIDER_ID } from '../common/chatParticipantContribTypes.js';
|
|
|
3
3
|
async function showChatView(viewsService) {
|
|
4
4
|
return (await viewsService.openView(CHAT_VIEW_ID))?.widget;
|
|
5
5
|
}
|
|
6
|
-
const GeneratingPhrase = ( localize(
|
|
6
|
+
const GeneratingPhrase = ( localize(7163, "Generating"));
|
|
7
7
|
const CHAT_VIEW_ID = `workbench.panel.chat.view.${CHAT_PROVIDER_ID}`;
|
|
8
8
|
export { CHAT_VIEW_ID, GeneratingPhrase, showChatView };
|
|
@@ -14,7 +14,7 @@ let ChatAccessibilityProvider = class ChatAccessibilityProvider {
|
|
|
14
14
|
return 'listitem';
|
|
15
15
|
}
|
|
16
16
|
getWidgetAriaLabel() {
|
|
17
|
-
return ( localize(
|
|
17
|
+
return ( localize(7187, "Chat"));
|
|
18
18
|
}
|
|
19
19
|
getAriaLabel(element) {
|
|
20
20
|
if (isRequestVM(element)) {
|
|
@@ -34,23 +34,23 @@ let ChatAccessibilityProvider = class ChatAccessibilityProvider {
|
|
|
34
34
|
case 0:
|
|
35
35
|
break;
|
|
36
36
|
case 1:
|
|
37
|
-
fileTreeCountHint = ( localize(
|
|
37
|
+
fileTreeCountHint = ( localize(7188, "1 file tree"));
|
|
38
38
|
break;
|
|
39
39
|
default:
|
|
40
|
-
fileTreeCountHint = ( localize(
|
|
40
|
+
fileTreeCountHint = ( localize(7189, "{0} file trees", fileTreeCount));
|
|
41
41
|
break;
|
|
42
42
|
}
|
|
43
43
|
const codeBlockCount = marked.lexer(( (element.response.toString()))).filter(token => token.type === 'code')?.length ?? 0;
|
|
44
44
|
switch (codeBlockCount) {
|
|
45
45
|
case 0:
|
|
46
46
|
label = accessibleViewHint ? ( localize(
|
|
47
|
-
|
|
47
|
+
7190,
|
|
48
48
|
"{0} {1} {2}",
|
|
49
49
|
fileTreeCountHint,
|
|
50
50
|
(element.response.toString()),
|
|
51
51
|
accessibleViewHint
|
|
52
52
|
)) : ( localize(
|
|
53
|
-
|
|
53
|
+
7191,
|
|
54
54
|
"{0} {1}",
|
|
55
55
|
fileTreeCountHint,
|
|
56
56
|
(element.response.toString())
|
|
@@ -58,13 +58,13 @@ let ChatAccessibilityProvider = class ChatAccessibilityProvider {
|
|
|
58
58
|
break;
|
|
59
59
|
case 1:
|
|
60
60
|
label = accessibleViewHint ? ( localize(
|
|
61
|
-
|
|
61
|
+
7192,
|
|
62
62
|
"{0} 1 code block: {1} {2}",
|
|
63
63
|
fileTreeCountHint,
|
|
64
64
|
(element.response.toString()),
|
|
65
65
|
accessibleViewHint
|
|
66
66
|
)) : ( localize(
|
|
67
|
-
|
|
67
|
+
7193,
|
|
68
68
|
"{0} 1 code block: {1}",
|
|
69
69
|
fileTreeCountHint,
|
|
70
70
|
(element.response.toString())
|
|
@@ -72,14 +72,14 @@ let ChatAccessibilityProvider = class ChatAccessibilityProvider {
|
|
|
72
72
|
break;
|
|
73
73
|
default:
|
|
74
74
|
label = accessibleViewHint ? ( localize(
|
|
75
|
-
|
|
75
|
+
7194,
|
|
76
76
|
"{0} {1} code blocks: {2}",
|
|
77
77
|
fileTreeCountHint,
|
|
78
78
|
codeBlockCount,
|
|
79
79
|
(element.response.toString()),
|
|
80
80
|
accessibleViewHint
|
|
81
81
|
)) : ( localize(
|
|
82
|
-
|
|
82
|
+
7195,
|
|
83
83
|
"{0} {1} code blocks",
|
|
84
84
|
fileTreeCountHint,
|
|
85
85
|
codeBlockCount,
|
|
@@ -47,7 +47,7 @@ let ChatAgentHover = class ChatAgentHover extends Disposable {
|
|
|
47
47
|
this.publisherName = $('span.chat-agent-hover-publisher-name');
|
|
48
48
|
append(hoverElement.publisher, verifiedBadge, this.publisherName);
|
|
49
49
|
hoverElement.warning.appendChild(renderIcon(Codicon.warning));
|
|
50
|
-
hoverElement.warning.appendChild($('span', undefined, ( localize(
|
|
50
|
+
hoverElement.warning.appendChild($('span', undefined, ( localize(10700, "This chat extension is using a reserved name."))));
|
|
51
51
|
}
|
|
52
52
|
setAgent(id) {
|
|
53
53
|
const agent = this.chatAgentService.getAgent(id);
|
|
@@ -97,7 +97,7 @@ function getChatAgentHoverOptions(getAgent, commandService) {
|
|
|
97
97
|
actions: [
|
|
98
98
|
{
|
|
99
99
|
commandId: showExtensionsWithIdsCommandId,
|
|
100
|
-
label: ( localize(
|
|
100
|
+
label: ( localize(10701, "View Extension")),
|
|
101
101
|
run: () => {
|
|
102
102
|
const agent = getAgent();
|
|
103
103
|
if (agent) {
|
package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatAttachmentsContentPart.js
CHANGED
|
@@ -50,30 +50,30 @@ let ChatAttachmentsContentPart = class ChatAttachmentsContentPart extends Dispos
|
|
|
50
50
|
const friendlyName = `${fileBasename} ${fileDirname}`;
|
|
51
51
|
if (isAttachmentOmitted) {
|
|
52
52
|
ariaLabel = range ? ( localize(
|
|
53
|
-
|
|
53
|
+
10702,
|
|
54
54
|
"Omitted: {0}, line {1} to line {2}.",
|
|
55
55
|
friendlyName,
|
|
56
56
|
range.startLineNumber,
|
|
57
57
|
range.endLineNumber
|
|
58
|
-
)) : ( localize(
|
|
58
|
+
)) : ( localize(10703, "Omitted: {0}.", friendlyName));
|
|
59
59
|
}
|
|
60
60
|
else if (isAttachmentPartialOrOmitted) {
|
|
61
61
|
ariaLabel = range ? ( localize(
|
|
62
|
-
|
|
62
|
+
10704,
|
|
63
63
|
"Partially attached: {0}, line {1} to line {2}.",
|
|
64
64
|
friendlyName,
|
|
65
65
|
range.startLineNumber,
|
|
66
66
|
range.endLineNumber
|
|
67
|
-
)) : ( localize(
|
|
67
|
+
)) : ( localize(10705, "Partially attached: {0}.", friendlyName));
|
|
68
68
|
}
|
|
69
69
|
else {
|
|
70
70
|
ariaLabel = range ? ( localize(
|
|
71
|
-
|
|
71
|
+
10706,
|
|
72
72
|
"Attached: {0}, line {1} to line {2}.",
|
|
73
73
|
friendlyName,
|
|
74
74
|
range.startLineNumber,
|
|
75
75
|
range.endLineNumber
|
|
76
|
-
)) : ( localize(
|
|
76
|
+
)) : ( localize(10707, "Attached: {0}.", friendlyName));
|
|
77
77
|
}
|
|
78
78
|
hoverElement = file.fsPath;
|
|
79
79
|
label.setFile(file, {
|
|
@@ -84,7 +84,7 @@ let ChatAttachmentsContentPart = class ChatAttachmentsContentPart extends Dispos
|
|
|
84
84
|
});
|
|
85
85
|
}
|
|
86
86
|
else if (attachment.isImage) {
|
|
87
|
-
ariaLabel = ( localize(
|
|
87
|
+
ariaLabel = ( localize(10708, "Attached image, {0}", attachment.name));
|
|
88
88
|
hoverElement = $('div.chat-attached-context-hover');
|
|
89
89
|
hoverElement.setAttribute('aria-label', ariaLabel);
|
|
90
90
|
const pillIcon = $('div.chat-attached-context-pill', {}, $('span.codicon.codicon-file-media'));
|
|
@@ -112,7 +112,7 @@ let ChatAttachmentsContentPart = class ChatAttachmentsContentPart extends Dispos
|
|
|
112
112
|
const withIcon = attachment.icon?.id ? `$(${attachment.icon.id}) ${attachmentLabel}` : attachmentLabel;
|
|
113
113
|
label.setLabel(withIcon, correspondingContentReference?.options?.status?.description);
|
|
114
114
|
hoverElement = attachmentLabel;
|
|
115
|
-
ariaLabel = ( localize(
|
|
115
|
+
ariaLabel = ( localize(10709, "Attached context: {0}.", attachment.name));
|
|
116
116
|
}
|
|
117
117
|
if (isAttachmentPartialOrOmitted) {
|
|
118
118
|
widget.classList.add('warning');
|
package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatCodeCitationContentPart.js
CHANGED
|
@@ -27,7 +27,7 @@ let ChatCodeCitationContentPart = class ChatCodeCitationContentPart extends Disp
|
|
|
27
27
|
buttonSecondaryHoverBackground: undefined,
|
|
28
28
|
buttonSeparator: undefined
|
|
29
29
|
}))));
|
|
30
|
-
button.label = ( localize(
|
|
30
|
+
button.label = ( localize(10710, "View matches"));
|
|
31
31
|
this._register(button.onDidClick(() => {
|
|
32
32
|
const citationText = `# Code Citations\n\n` + ( (citations.citations.map(
|
|
33
33
|
c => `## License: ${c.license}\n${( (c.value.toString()))}\n\n\`\`\`\n${c.snippet}\n\`\`\`\n\n`
|
package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatCommandContentPart.js
CHANGED
|
@@ -15,7 +15,7 @@ let ChatCommandButtonContentPart = class ChatCommandButtonContentPart extends Di
|
|
|
15
15
|
const enabled = !isResponseVM(context.element) || !context.element.isStale;
|
|
16
16
|
const tooltip = enabled ?
|
|
17
17
|
commandButton.command.tooltip :
|
|
18
|
-
( localize(
|
|
18
|
+
( localize(10711, "Button not available in restored chat"));
|
|
19
19
|
const button = this._register(( (new Button(
|
|
20
20
|
this.domNode,
|
|
21
21
|
{ ...defaultButtonStyles, supportIcons: true, title: tooltip }
|
package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatConfirmationContentPart.js
CHANGED
|
@@ -20,8 +20,8 @@ let ChatConfirmationContentPart = class ChatConfirmationContentPart extends Disp
|
|
|
20
20
|
data: confirmation.data
|
|
21
21
|
}))))
|
|
22
22
|
: [
|
|
23
|
-
{ label: ( localize(
|
|
24
|
-
{ label: ( localize(
|
|
23
|
+
{ label: ( localize(10712, "Accept")), data: confirmation.data },
|
|
24
|
+
{ label: ( localize(10713, "Dismiss")), data: confirmation.data, isSecondary: true },
|
|
25
25
|
];
|
|
26
26
|
const confirmationWidget = this._register(this.instantiationService.createInstance(ChatConfirmationWidget, confirmation.title, confirmation.message, buttons));
|
|
27
27
|
confirmationWidget.setShowButtons(!confirmation.isUsed);
|
package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatReferencesContentPart.js
CHANGED
|
@@ -40,8 +40,8 @@ let ChatCollapsibleListContentPart = class ChatCollapsibleListContentPart extend
|
|
|
40
40
|
this._onDidChangeHeight = this._register(( (new Emitter())));
|
|
41
41
|
this.onDidChangeHeight = this._onDidChangeHeight.event;
|
|
42
42
|
const referencesLabel = labelOverride ?? (data.length > 1 ?
|
|
43
|
-
( localize(
|
|
44
|
-
( localize(
|
|
43
|
+
( localize(10692, "Used {0} references", data.length)) :
|
|
44
|
+
( localize(10693, "Used {0} reference", 1)));
|
|
45
45
|
const iconElement = $('.chat-used-context-icon');
|
|
46
46
|
const icon = (element) => element.usedReferencesExpanded ? Codicon.chevronDown : Codicon.chevronRight;
|
|
47
47
|
iconElement.classList.add(...ThemeIcon.asClassNameArray(icon(element)));
|
|
@@ -103,9 +103,9 @@ let ChatCollapsibleListContentPart = class ChatCollapsibleListContentPart extend
|
|
|
103
103
|
getActions: () => {
|
|
104
104
|
return [{
|
|
105
105
|
id: 'workbench.action.chat.copyReference',
|
|
106
|
-
title: ( localize(
|
|
107
|
-
label: ( localize(
|
|
108
|
-
tooltip: ( localize(
|
|
106
|
+
title: ( localize(10694, "Copy")),
|
|
107
|
+
label: ( localize(10694, "Copy")),
|
|
108
|
+
tooltip: ( localize(10694, "Copy")),
|
|
109
109
|
enabled: e.element?.kind === 'reference',
|
|
110
110
|
class: undefined,
|
|
111
111
|
run: () => {
|
|
@@ -129,7 +129,7 @@ let ChatCollapsibleListContentPart = class ChatCollapsibleListContentPart extend
|
|
|
129
129
|
other.kind === 'codeCitations' && other.citations.length === this.data.length;
|
|
130
130
|
}
|
|
131
131
|
updateAriaLabel(element, label, expanded) {
|
|
132
|
-
element.ariaLabel = expanded ? ( localize(
|
|
132
|
+
element.ariaLabel = expanded ? ( localize(10695, "{0}, expanded", label)) : ( localize(10696, "{0}, collapsed", label));
|
|
133
133
|
}
|
|
134
134
|
addDisposable(disposable) {
|
|
135
135
|
this._register(disposable);
|
|
@@ -194,7 +194,7 @@ let CollapsibleListPool = class CollapsibleListPool extends Disposable {
|
|
|
194
194
|
return basename(reference.uri.path);
|
|
195
195
|
}
|
|
196
196
|
},
|
|
197
|
-
getWidgetAriaLabel: () => ( localize(
|
|
197
|
+
getWidgetAriaLabel: () => ( localize(10697, "Collapsible Chat List"))
|
|
198
198
|
},
|
|
199
199
|
dnd: {
|
|
200
200
|
getDragURI: (element) => getDragURI(element)?.toString() ?? null,
|
|
@@ -327,7 +327,7 @@ let CollapsibleListRenderer = class CollapsibleListRenderer {
|
|
|
327
327
|
}
|
|
328
328
|
else if (uri.scheme === this.productService.urlProtocol && isEqualAuthority(uri.authority, SETTINGS_AUTHORITY)) {
|
|
329
329
|
const settingId = uri.path.substring(1);
|
|
330
|
-
templateData.label.setResource({ resource: uri, name: settingId }, { icon: Codicon.settingsGear, title: ( localize(
|
|
330
|
+
templateData.label.setResource({ resource: uri, name: settingId }, { icon: Codicon.settingsGear, title: ( localize(10698, "Open setting '{0}'", settingId)) });
|
|
331
331
|
}
|
|
332
332
|
else if (matchesSomeScheme(uri, Schemas.mailto, Schemas.http, Schemas.https)) {
|
|
333
333
|
templateData.label.setResource({ resource: uri, name: ( (uri.toString())) }, { icon: icon ?? Codicon.globe, title: data.options?.status?.description ?? data.title ?? ( (uri.toString())) });
|
package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatTextEditContentPart.js
CHANGED
|
@@ -32,8 +32,8 @@ let ChatTextEditContentPart = class ChatTextEditContentPart extends Disposable {
|
|
|
32
32
|
this.domNode = $('.interactive-edits-summary', undefined, !element.isComplete
|
|
33
33
|
? ''
|
|
34
34
|
: element.isCanceled
|
|
35
|
-
? ( localize(
|
|
36
|
-
: ( localize(
|
|
35
|
+
? ( localize(10714, "Making changes was aborted."))
|
|
36
|
+
: ( localize(10715, "Made changes.")));
|
|
37
37
|
}
|
|
38
38
|
else {
|
|
39
39
|
this.domNode = $('div');
|
package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatToolInvocationPart.js
CHANGED
|
@@ -43,7 +43,7 @@ let ChatToolInvocationSubPart = class ChatToolInvocationSubPart extends Disposab
|
|
|
43
43
|
if (toolInvocation.kind === 'toolInvocation' && toolInvocation.confirmationMessages) {
|
|
44
44
|
const title = toolInvocation.confirmationMessages.title;
|
|
45
45
|
const message = toolInvocation.confirmationMessages.message;
|
|
46
|
-
const confirmWidget = this._register(instantiationService.createInstance(ChatConfirmationWidget, title, message, [{ label: ( localize(
|
|
46
|
+
const confirmWidget = this._register(instantiationService.createInstance(ChatConfirmationWidget, title, message, [{ label: ( localize(10716, "Continue")), data: true }, { label: ( localize(10717, "Cancel")), data: false, isSecondary: true }]));
|
|
47
47
|
this.domNode = confirmWidget.domNode;
|
|
48
48
|
this._register(confirmWidget.onDidClick(button => {
|
|
49
49
|
toolInvocation.confirmed.complete(button.data);
|
package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatTreeContentPart.js
CHANGED
|
@@ -79,7 +79,7 @@ let TreePool = class TreePool extends Disposable {
|
|
|
79
79
|
},
|
|
80
80
|
accessibilityProvider: {
|
|
81
81
|
getAriaLabel: (element) => element.label,
|
|
82
|
-
getWidgetAriaLabel: () => ( localize(
|
|
82
|
+
getWidgetAriaLabel: () => ( localize(10718, "File Tree"))
|
|
83
83
|
},
|
|
84
84
|
alwaysConsumeMouseWheel: false
|
|
85
85
|
});
|
|
@@ -120,8 +120,8 @@ let ChatDragAndDrop = class ChatDragAndDrop extends Themable {
|
|
|
120
120
|
}
|
|
121
121
|
getDropTypeName(type) {
|
|
122
122
|
switch (type) {
|
|
123
|
-
case ChatDragAndDropType.FILE: return ( localize(
|
|
124
|
-
case ChatDragAndDropType.IMAGE: return ( localize(
|
|
123
|
+
case ChatDragAndDropType.FILE: return ( localize(7196, 'File'));
|
|
124
|
+
case ChatDragAndDropType.IMAGE: return ( localize(7197, 'Image'));
|
|
125
125
|
}
|
|
126
126
|
}
|
|
127
127
|
getAttachContext(e) {
|
|
@@ -146,7 +146,7 @@ let ChatDragAndDrop = class ChatDragAndDrop extends Themable {
|
|
|
146
146
|
this.overlayText = undefined;
|
|
147
147
|
if (type !== undefined) {
|
|
148
148
|
const typeName = this.getDropTypeName(type);
|
|
149
|
-
const iconAndtextElements = renderLabelWithIcons(`$(${Codicon.attach.id}) ${( localize(
|
|
149
|
+
const iconAndtextElements = renderLabelWithIcons(`$(${Codicon.attach.id}) ${( localize(7198, 'Attach {0} as Context', typeName))}`);
|
|
150
150
|
const htmlElements = ( (iconAndtextElements.map(element => {
|
|
151
151
|
if (typeof element === 'string') {
|
|
152
152
|
return $('span.overlay-text', undefined, element);
|