@codingame/monaco-vscode-api 10.1.2 → 10.1.4
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/package.json +9 -9
- package/vscode/src/vs/base/browser/ui/dialog/dialog.js +6 -6
- package/vscode/src/vs/base/browser/ui/dropdown/dropdownActionViewItem.js +1 -1
- package/vscode/src/vs/base/browser/ui/tree/treeDefaults.js +1 -1
- package/vscode/src/vs/base/common/actions.js +1 -1
- package/vscode/src/vs/base/common/date.js +61 -61
- package/vscode/src/vs/base/common/jsonErrorMessages.js +9 -9
- package/vscode/src/vs/base/common/keybindingLabels.js +20 -20
- 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/widget/codeEditor/codeEditorWidget.js +2 -2
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditor.contribution.js +5 -5
- package/vscode/src/vs/editor/common/config/editorConfigurationSchema.js +51 -51
- package/vscode/src/vs/editor/common/languages/modesRegistry.js +1 -1
- package/vscode/src/vs/editor/common/standaloneStrings.js +32 -32
- package/vscode/src/vs/editor/contrib/anchorSelect/browser/anchorSelect.js +6 -6
- package/vscode/src/vs/editor/contrib/bracketMatching/browser/bracketMatching.js +6 -6
- package/vscode/src/vs/editor/contrib/caretOperations/browser/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/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/stickyScroll/browser/stickyScrollActions.js +11 -11
- package/vscode/src/vs/editor/contrib/suggest/browser/suggest.js +8 -8
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestController.js +10 -10
- package/vscode/src/vs/editor/contrib/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/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/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 -7
- 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/keybinding/common/abstractKeybindingService.js +4 -4
- package/vscode/src/vs/platform/list/browser/listService.js +27 -27
- 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/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/workspace/common/workspace.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostDiagnostics.js +1 -1
- 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/extHostTelemetry.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTerminalService.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTreeViews.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTunnelService.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostWorkspace.js +1 -1
- package/vscode/src/vs/workbench/api/common/jsonValidationExtensionPoint.js +12 -12
- package/vscode/src/vs/workbench/browser/actions/developerActions.js +31 -31
- package/vscode/src/vs/workbench/browser/actions/layoutActions.js +129 -129
- package/vscode/src/vs/workbench/browser/actions/textInputActions.js +6 -6
- package/vscode/src/vs/workbench/browser/editor.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/editor/binaryDiffEditor.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/binaryEditor.js +3 -3
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbs.js +41 -41
- package/vscode/src/vs/workbench/browser/parts/editor/diffEditorCommands.js +6 -6
- package/vscode/src/vs/workbench/browser/parts/editor/editorActions.js +131 -131
- package/vscode/src/vs/workbench/browser/parts/editor/editorPlaceholder.js +9 -9
- package/vscode/src/vs/workbench/browser/parts/editor/editorQuickAccess.js +5 -5
- package/vscode/src/vs/workbench/browser/parts/editor/editorStatus.js +61 -61
- package/vscode/src/vs/workbench/browser/parts/editor/editorTabsControl.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/editor/textCodeEditor.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/textDiffEditor.js +3 -3
- package/vscode/src/vs/workbench/browser/parts/editor/textEditor.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/globalCompositeBar.js +15 -15
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsActions.js +17 -17
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsAlerts.js +3 -3
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCenter.js +6 -6
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCommands.js +9 -9
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsList.js +6 -6
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsStatus.js +13 -13
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsToasts.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsViewer.js +4 -4
- package/vscode/src/vs/workbench/browser/parts/titlebar/menubarControl.js +18 -18
- package/vscode/src/vs/workbench/browser/parts/titlebar/windowTitle.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/views/checkbox.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/views/treeView.js +7 -7
- 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/window.js +16 -16
- package/vscode/src/vs/workbench/browser/workbench.contribution.js +220 -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.js +4 -4
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +131 -131
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatActions.js +16 -16
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatConstants.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatExecuteActions.js +5 -5
- 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/diffEditorAccessibilityHelp.js +5 -5
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +3 -3
- 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/commentReply.js +4 -4
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsAccessibility.js +12 -12
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsController.js +5 -5
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsModel.js +1 -1
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsTreeViewer.js +9 -9
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsView.js +13 -13
- package/vscode/src/vs/workbench/contrib/comments/common/commentContextKeys.js +10 -10
- package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditorInput.js +3 -3
- 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 +65 -65
- package/vscode/src/vs/workbench/contrib/debug/browser/callStackEditorContribution.js +2 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/debugColors.js +12 -12
- package/vscode/src/vs/workbench/contrib/debug/browser/debugCommands.js +34 -34
- package/vscode/src/vs/workbench/contrib/debug/browser/debugIcons.js +57 -57
- package/vscode/src/vs/workbench/contrib/debug/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/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/extensions/browser/extensionsActions.js +173 -173
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsFileTemplate.js +5 -5
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsUtils.js +3 -3
- package/vscode/src/vs/workbench/contrib/files/browser/editors/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/files.contribution._configuration.js +52 -52
- package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._editorPane.js +2 -2
- package/vscode/src/vs/workbench/contrib/files/browser/workspaceWatcher.js +4 -4
- package/vscode/src/vs/workbench/contrib/files/common/dirtyFilesIndicator.js +1 -1
- 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/common/inlineChat.js +41 -41
- package/vscode/src/vs/workbench/contrib/list/browser/listResizeColumnAction.js +2 -2
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInput.js +1 -1
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInputModel.js +29 -29
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/icons.contribution.js +1 -1
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffEditorInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/scmMultiDiffSourceResolver.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/executionStatusBarItemController.js +6 -6
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOperations.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOutputActions.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebookChatContext.js +5 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebookChatController.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/coreActions.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/foldingController.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditor.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditorBrowser.js +5 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffList.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookMultiDiffEditor.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibilityProvider.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditor.js +8 -8
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditorWidget.js +24 -24
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookIcons.js +28 -28
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellEditorOptions.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/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/notebook/browser/viewParts/notebookKernelQuickPickStrategy.js +15 -15
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelView.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesIcons.js +12 -12
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsFind.js +10 -10
- package/vscode/src/vs/workbench/contrib/speech/common/speechService.js +29 -29
- package/vscode/src/vs/workbench/contrib/tasks/common/taskService.js +5 -5
- package/vscode/src/vs/workbench/contrib/tasks/common/tasks.js +3 -3
- package/vscode/src/vs/workbench/contrib/testing/common/testResult.js +2 -2
- package/vscode/src/vs/workbench/contrib/url/browser/trustedDomains.js +6 -6
- package/vscode/src/vs/workbench/contrib/webview/browser/webview.contribution.js +3 -3
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditor.js +1 -1
- package/vscode/src/vs/workbench/services/activity/common/activity.js +4 -4
- 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/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/extensions/common/extensionsRegistry.js +82 -82
- 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/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 +22 -22
- package/vscode/src/vs/workbench/services/themes/common/colorThemeData.js +8 -8
- package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +13 -13
- package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfile.js +3 -3
- package/vscode/src/vs/workbench/services/views/browser/viewsService.js +7 -7
- package/workers/editor.worker.js +1 -1
|
@@ -36,7 +36,7 @@ function isChatViewTitleActionContext(obj) {
|
|
|
36
36
|
return obj instanceof Object && 'chatView' in obj;
|
|
37
37
|
}
|
|
38
38
|
class OpenChatGlobalAction extends Action2 {
|
|
39
|
-
static { this.TITLE = ( localize2(
|
|
39
|
+
static { this.TITLE = ( localize2(7285, "Open Chat")); }
|
|
40
40
|
constructor() {
|
|
41
41
|
super({
|
|
42
42
|
id: CHAT_OPEN_ACTION_ID,
|
|
@@ -85,7 +85,7 @@ class ChatHistoryAction extends Action2 {
|
|
|
85
85
|
constructor() {
|
|
86
86
|
super({
|
|
87
87
|
id: `workbench.action.chat.history`,
|
|
88
|
-
title: ( localize2(
|
|
88
|
+
title: ( localize2(7286, "Show Chats...")),
|
|
89
89
|
menu: {
|
|
90
90
|
id: MenuId.ViewTitle,
|
|
91
91
|
when: ( (ContextKeyExpr.equals('view', CHAT_VIEW_ID))),
|
|
@@ -106,15 +106,15 @@ class ChatHistoryAction extends Action2 {
|
|
|
106
106
|
const showPicker = () => {
|
|
107
107
|
const openInEditorButton = {
|
|
108
108
|
iconClass: ThemeIcon.asClassName(Codicon.file),
|
|
109
|
-
tooltip: ( localize(
|
|
109
|
+
tooltip: ( localize(7287, "Open in Editor")),
|
|
110
110
|
};
|
|
111
111
|
const deleteButton = {
|
|
112
112
|
iconClass: ThemeIcon.asClassName(Codicon.x),
|
|
113
|
-
tooltip: ( localize(
|
|
113
|
+
tooltip: ( localize(7288, "Delete")),
|
|
114
114
|
};
|
|
115
115
|
const renameButton = {
|
|
116
116
|
iconClass: ThemeIcon.asClassName(Codicon.pencil),
|
|
117
|
-
tooltip: ( localize(
|
|
117
|
+
tooltip: ( localize(7289, "Rename")),
|
|
118
118
|
};
|
|
119
119
|
const getPicks = () => {
|
|
120
120
|
const items = chatService.getHistory();
|
|
@@ -130,7 +130,7 @@ class ChatHistoryAction extends Action2 {
|
|
|
130
130
|
separator,
|
|
131
131
|
{
|
|
132
132
|
label: i.title,
|
|
133
|
-
description: i.isActive ? `(${( localize(
|
|
133
|
+
description: i.isActive ? `(${( localize(7290, 'current'))})` : '',
|
|
134
134
|
chat: i,
|
|
135
135
|
buttons: i.isActive ? [renameButton] : [
|
|
136
136
|
renameButton,
|
|
@@ -144,7 +144,7 @@ class ChatHistoryAction extends Action2 {
|
|
|
144
144
|
};
|
|
145
145
|
const store = ( (new DisposableStore()));
|
|
146
146
|
const picker = store.add(quickInputService.createQuickPick({ useSeparators: true }));
|
|
147
|
-
picker.placeholder = ( localize(
|
|
147
|
+
picker.placeholder = ( localize(7291, "Switch to chat"));
|
|
148
148
|
const picks = getPicks();
|
|
149
149
|
picker.items = picks;
|
|
150
150
|
store.add(picker.onDidTriggerItemButton(async (context) => {
|
|
@@ -158,7 +158,7 @@ class ChatHistoryAction extends Action2 {
|
|
|
158
158
|
picker.items = getPicks();
|
|
159
159
|
}
|
|
160
160
|
else if (context.button === renameButton) {
|
|
161
|
-
const title = await quickInputService.input({ title: ( localize(
|
|
161
|
+
const title = await quickInputService.input({ title: ( localize(7292, "New chat title")), value: context.item.chat.title });
|
|
162
162
|
if (title) {
|
|
163
163
|
chatService.setChatSessionTitle(context.item.chat.sessionId, title);
|
|
164
164
|
}
|
|
@@ -186,7 +186,7 @@ class OpenChatEditorAction extends Action2 {
|
|
|
186
186
|
constructor() {
|
|
187
187
|
super({
|
|
188
188
|
id: `workbench.action.openChat`,
|
|
189
|
-
title: ( localize2(
|
|
189
|
+
title: ( localize2(7293, "Open Editor")),
|
|
190
190
|
f1: true,
|
|
191
191
|
category: CHAT_CATEGORY,
|
|
192
192
|
precondition: CONTEXT_CHAT_ENABLED
|
|
@@ -201,7 +201,7 @@ class ChatAddAction extends Action2 {
|
|
|
201
201
|
constructor() {
|
|
202
202
|
super({
|
|
203
203
|
id: 'workbench.action.chat.addParticipant',
|
|
204
|
-
title: ( localize2(
|
|
204
|
+
title: ( localize2(7294, "Chat with Extension")),
|
|
205
205
|
icon: Codicon.mention,
|
|
206
206
|
f1: false,
|
|
207
207
|
category: CHAT_CATEGORY,
|
|
@@ -245,7 +245,7 @@ function registerChatActions() {
|
|
|
245
245
|
constructor() {
|
|
246
246
|
super({
|
|
247
247
|
id: 'workbench.action.chat.clearInputHistory',
|
|
248
|
-
title: ( localize2(
|
|
248
|
+
title: ( localize2(7295, "Clear Input History")),
|
|
249
249
|
precondition: CONTEXT_CHAT_ENABLED,
|
|
250
250
|
category: CHAT_CATEGORY,
|
|
251
251
|
f1: true,
|
|
@@ -260,7 +260,7 @@ function registerChatActions() {
|
|
|
260
260
|
constructor() {
|
|
261
261
|
super({
|
|
262
262
|
id: 'workbench.action.chat.clearHistory',
|
|
263
|
-
title: ( localize2(
|
|
263
|
+
title: ( localize2(7296, "Clear All Workspace Chats")),
|
|
264
264
|
precondition: CONTEXT_CHAT_ENABLED,
|
|
265
265
|
category: CHAT_CATEGORY,
|
|
266
266
|
f1: true,
|
|
@@ -288,7 +288,7 @@ function registerChatActions() {
|
|
|
288
288
|
constructor() {
|
|
289
289
|
super({
|
|
290
290
|
id: 'chat.action.focus',
|
|
291
|
-
title: ( localize2(
|
|
291
|
+
title: ( localize2(7297, 'Focus Chat List')),
|
|
292
292
|
precondition: ( (ContextKeyExpr.and(CONTEXT_IN_CHAT_INPUT))),
|
|
293
293
|
category: CHAT_CATEGORY,
|
|
294
294
|
keybinding: [
|
|
@@ -328,7 +328,7 @@ function registerChatActions() {
|
|
|
328
328
|
constructor() {
|
|
329
329
|
super({
|
|
330
330
|
id: 'workbench.action.chat.focusInput',
|
|
331
|
-
title: ( localize2(
|
|
331
|
+
title: ( localize2(7298, "Focus Chat Input")),
|
|
332
332
|
f1: false,
|
|
333
333
|
keybinding: [
|
|
334
334
|
{
|
|
@@ -368,7 +368,7 @@ function stringifyItem(item, includeName = true) {
|
|
|
368
368
|
}
|
|
369
369
|
MenuRegistry.appendMenuItem(MenuId.CommandCenter, {
|
|
370
370
|
submenu: MenuId.ChatCommandCenter,
|
|
371
|
-
title: ( localize(
|
|
371
|
+
title: ( localize(7299, "Chat")),
|
|
372
372
|
icon: Codicon.commentDiscussion,
|
|
373
373
|
when: ( (ContextKeyExpr.and(
|
|
374
374
|
CONTEXT_CHAT_ENABLED,
|
|
@@ -391,7 +391,7 @@ let ChatCommandCenterRendering = class ChatCommandCenterRendering {
|
|
|
391
391
|
}
|
|
392
392
|
const dropdownAction = toAction({
|
|
393
393
|
id: agent.id,
|
|
394
|
-
label: ( localize(
|
|
394
|
+
label: ( localize(7300, "More...")),
|
|
395
395
|
run() { }
|
|
396
396
|
});
|
|
397
397
|
const primaryAction = instantiationService.createInstance(MenuItemAction, {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { localize2 } from '../../../../../nls.js';
|
|
2
|
-
const CHAT_CATEGORY = ( localize2(
|
|
2
|
+
const CHAT_CATEGORY = ( localize2(4617, 'Chat'));
|
|
3
3
|
const CHAT_OPEN_ACTION_ID = 'workbench.action.chat.open';
|
|
4
4
|
const ASK_QUICK_QUESTION_ACTION_ID = 'workbench.action.quickchat.toggle';
|
|
5
5
|
export { ASK_QUICK_QUESTION_ACTION_ID, CHAT_CATEGORY, CHAT_OPEN_ACTION_ID };
|
|
@@ -14,7 +14,7 @@ class SubmitAction extends Action2 {
|
|
|
14
14
|
constructor() {
|
|
15
15
|
super({
|
|
16
16
|
id: SubmitAction.ID,
|
|
17
|
-
title: ( localize2(
|
|
17
|
+
title: ( localize2(7323, "Send")),
|
|
18
18
|
f1: false,
|
|
19
19
|
category: CHAT_CATEGORY,
|
|
20
20
|
icon: Codicon.send,
|
|
@@ -52,7 +52,7 @@ const ChatModelPickerActionId = 'workbench.action.chat.pickModel';
|
|
|
52
52
|
MenuRegistry.appendMenuItem(MenuId.ChatExecute, {
|
|
53
53
|
command: {
|
|
54
54
|
id: ChatModelPickerActionId,
|
|
55
|
-
title: ( localize2(
|
|
55
|
+
title: ( localize2(7324, "Pick Model")),
|
|
56
56
|
},
|
|
57
57
|
order: 3,
|
|
58
58
|
group: 'navigation',
|
|
@@ -67,7 +67,7 @@ class ChatSubmitSecondaryAgentAction extends Action2 {
|
|
|
67
67
|
constructor() {
|
|
68
68
|
super({
|
|
69
69
|
id: ChatSubmitSecondaryAgentAction.ID,
|
|
70
|
-
title: ( localize2(
|
|
70
|
+
title: ( localize2(7325, "Submit to Secondary Agent")),
|
|
71
71
|
precondition: ( (ContextKeyExpr.and(
|
|
72
72
|
CONTEXT_CHAT_INPUT_HAS_TEXT,
|
|
73
73
|
(CONTEXT_CHAT_INPUT_HAS_AGENT.negate()),
|
|
@@ -109,7 +109,7 @@ class SendToNewChatAction extends Action2 {
|
|
|
109
109
|
constructor() {
|
|
110
110
|
super({
|
|
111
111
|
id: 'workbench.action.chat.sendToNewChat',
|
|
112
|
-
title: ( localize2(
|
|
112
|
+
title: ( localize2(7326, "Send to New Chat")),
|
|
113
113
|
precondition: ( (ContextKeyExpr.and(
|
|
114
114
|
(CONTEXT_CHAT_REQUEST_IN_PROGRESS.negate()),
|
|
115
115
|
CONTEXT_CHAT_INPUT_HAS_TEXT
|
|
@@ -143,7 +143,7 @@ class CancelAction extends Action2 {
|
|
|
143
143
|
constructor() {
|
|
144
144
|
super({
|
|
145
145
|
id: CancelAction.ID,
|
|
146
|
-
title: ( localize2(
|
|
146
|
+
title: ( localize2(7327, "Cancel")),
|
|
147
147
|
f1: false,
|
|
148
148
|
category: CHAT_CATEGORY,
|
|
149
149
|
icon: Codicon.stopCircle,
|
|
@@ -22,7 +22,7 @@ function registerChatTitleActions() {
|
|
|
22
22
|
constructor() {
|
|
23
23
|
super({
|
|
24
24
|
id: 'workbench.action.chat.markHelpful',
|
|
25
|
-
title: ( localize2(
|
|
25
|
+
title: ( localize2(7345, "Helpful")),
|
|
26
26
|
f1: false,
|
|
27
27
|
category: CHAT_CATEGORY,
|
|
28
28
|
icon: Codicon.thumbsup,
|
|
@@ -66,7 +66,7 @@ function registerChatTitleActions() {
|
|
|
66
66
|
constructor() {
|
|
67
67
|
super({
|
|
68
68
|
id: MarkUnhelpfulActionId,
|
|
69
|
-
title: ( localize2(
|
|
69
|
+
title: ( localize2(7346, "Unhelpful")),
|
|
70
70
|
f1: false,
|
|
71
71
|
category: CHAT_CATEGORY,
|
|
72
72
|
icon: Codicon.thumbsdown,
|
|
@@ -114,7 +114,7 @@ function registerChatTitleActions() {
|
|
|
114
114
|
constructor() {
|
|
115
115
|
super({
|
|
116
116
|
id: 'workbench.action.chat.reportIssueForBug',
|
|
117
|
-
title: ( localize2(
|
|
117
|
+
title: ( localize2(7347, "Report Issue")),
|
|
118
118
|
f1: false,
|
|
119
119
|
category: CHAT_CATEGORY,
|
|
120
120
|
icon: Codicon.report,
|
|
@@ -153,7 +153,7 @@ function registerChatTitleActions() {
|
|
|
153
153
|
constructor() {
|
|
154
154
|
super({
|
|
155
155
|
id: 'workbench.action.chat.retry',
|
|
156
|
-
title: ( localize2(
|
|
156
|
+
title: ( localize2(7348, "Retry")),
|
|
157
157
|
f1: false,
|
|
158
158
|
category: CHAT_CATEGORY,
|
|
159
159
|
icon: Codicon.refresh,
|
|
@@ -181,7 +181,7 @@ function registerChatTitleActions() {
|
|
|
181
181
|
constructor() {
|
|
182
182
|
super({
|
|
183
183
|
id: 'workbench.action.chat.insertIntoNotebook',
|
|
184
|
-
title: ( localize2(
|
|
184
|
+
title: ( localize2(7349, "Insert into Notebook")),
|
|
185
185
|
f1: false,
|
|
186
186
|
category: CHAT_CATEGORY,
|
|
187
187
|
icon: Codicon.insert,
|
|
@@ -243,7 +243,7 @@ function registerChatTitleActions() {
|
|
|
243
243
|
constructor() {
|
|
244
244
|
super({
|
|
245
245
|
id: 'workbench.action.chat.remove',
|
|
246
|
-
title: ( localize2(
|
|
246
|
+
title: ( localize2(7350, "Remove Request and Response")),
|
|
247
247
|
f1: false,
|
|
248
248
|
category: CHAT_CATEGORY,
|
|
249
249
|
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(7139, "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(7163, "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(7164, "1 file tree"));
|
|
38
38
|
break;
|
|
39
39
|
default:
|
|
40
|
-
fileTreeCountHint = ( localize(
|
|
40
|
+
fileTreeCountHint = ( localize(7165, "{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
|
+
7166,
|
|
48
48
|
"{0} {1} {2}",
|
|
49
49
|
fileTreeCountHint,
|
|
50
50
|
(element.response.toString()),
|
|
51
51
|
accessibleViewHint
|
|
52
52
|
)) : ( localize(
|
|
53
|
-
|
|
53
|
+
7167,
|
|
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
|
+
7168,
|
|
62
62
|
"{0} 1 code block: {1} {2}",
|
|
63
63
|
fileTreeCountHint,
|
|
64
64
|
(element.response.toString()),
|
|
65
65
|
accessibleViewHint
|
|
66
66
|
)) : ( localize(
|
|
67
|
-
|
|
67
|
+
7169,
|
|
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
|
+
7170,
|
|
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
|
+
7171,
|
|
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(7172, 'File'));
|
|
124
|
+
case ChatDragAndDropType.IMAGE: return ( localize(7173, '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(7174, '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);
|
|
@@ -103,7 +103,7 @@ let ChatEditingService = class ChatEditingService extends Disposable {
|
|
|
103
103
|
}
|
|
104
104
|
const input = MultiDiffEditorInput.fromResourceMultiDiffEditorInput({
|
|
105
105
|
multiDiffSource: ChatEditingMultiDiffSourceResolver.getMultiDiffSourceUri(),
|
|
106
|
-
label: ( localize(
|
|
106
|
+
label: ( localize(3188, "Suggested Edits"))
|
|
107
107
|
}, this._instantiationService);
|
|
108
108
|
const editorPane = options?.silent ? undefined : await this._editorGroupsService.activeGroup.openEditor(input, { pinned: true, activation: EditorActivation.ACTIVATE });
|
|
109
109
|
const session = this._instantiationService.createInstance(ChatEditingSession, chatSessionId, editorPane);
|
|
@@ -147,7 +147,7 @@ let ChatEditingService = class ChatEditingService extends Disposable {
|
|
|
147
147
|
else {
|
|
148
148
|
await this._progressService.withProgress({
|
|
149
149
|
location: 10 ,
|
|
150
|
-
title: ( localize2(
|
|
150
|
+
title: ( localize2(3189, 'Generating edits...')).value,
|
|
151
151
|
}, async () => {
|
|
152
152
|
await builder(stream);
|
|
153
153
|
});
|
|
@@ -232,7 +232,7 @@ registerAction2(class OpenFileAction extends Action2 {
|
|
|
232
232
|
constructor() {
|
|
233
233
|
super({
|
|
234
234
|
id: 'chatEditing.openFile',
|
|
235
|
-
title: ( localize2(
|
|
235
|
+
title: ( localize2(3190, 'Open File')),
|
|
236
236
|
icon: Codicon.goToFile,
|
|
237
237
|
menu: [{
|
|
238
238
|
id: MenuId.ChatEditingSessionWidgetToolbar,
|
|
@@ -268,7 +268,7 @@ registerAction2(class AcceptAction extends Action2 {
|
|
|
268
268
|
constructor() {
|
|
269
269
|
super({
|
|
270
270
|
id: 'chatEditing.acceptFile',
|
|
271
|
-
title: ( localize2(
|
|
271
|
+
title: ( localize2(3191, 'Accept')),
|
|
272
272
|
icon: Codicon.check,
|
|
273
273
|
menu: [{
|
|
274
274
|
when: ( (ContextKeyExpr.and(
|
|
@@ -309,7 +309,7 @@ registerAction2(class DiscardAction extends Action2 {
|
|
|
309
309
|
constructor() {
|
|
310
310
|
super({
|
|
311
311
|
id: 'chatEditing.discardFile',
|
|
312
|
-
title: ( localize2(
|
|
312
|
+
title: ( localize2(3192, 'Discard')),
|
|
313
313
|
icon: Codicon.discard,
|
|
314
314
|
menu: [{
|
|
315
315
|
when: ( (ContextKeyExpr.and(
|
|
@@ -348,7 +348,7 @@ registerAction2(class DiscardAction extends Action2 {
|
|
|
348
348
|
});
|
|
349
349
|
class ChatEditingAcceptAllAction extends Action2 {
|
|
350
350
|
static { this.ID = 'chatEditing.acceptAllFiles'; }
|
|
351
|
-
static { this.LABEL = ( localize(
|
|
351
|
+
static { this.LABEL = ( localize(3193, 'Accept All')); }
|
|
352
352
|
constructor() {
|
|
353
353
|
super({
|
|
354
354
|
id: ChatEditingAcceptAllAction.ID,
|
|
@@ -373,7 +373,7 @@ class ChatEditingAcceptAllAction extends Action2 {
|
|
|
373
373
|
registerAction2(ChatEditingAcceptAllAction);
|
|
374
374
|
class ChatEditingDiscardAllAction extends Action2 {
|
|
375
375
|
static { this.ID = 'chatEditing.discardAllFiles'; }
|
|
376
|
-
static { this.LABEL = ( localize(
|
|
376
|
+
static { this.LABEL = ( localize(3194, 'Discard All')); }
|
|
377
377
|
constructor() {
|
|
378
378
|
super({
|
|
379
379
|
id: ChatEditingDiscardAllAction.ID,
|
|
@@ -398,7 +398,7 @@ class ChatEditingDiscardAllAction extends Action2 {
|
|
|
398
398
|
registerAction2(ChatEditingDiscardAllAction);
|
|
399
399
|
class ChatEditingStartSessionAction extends Action2 {
|
|
400
400
|
static { this.ID = 'chatEditing.startSession'; }
|
|
401
|
-
static { this.LABEL = ( localize2(
|
|
401
|
+
static { this.LABEL = ( localize2(3195, 'Start Editing Session')); }
|
|
402
402
|
constructor() {
|
|
403
403
|
super({
|
|
404
404
|
id: ChatEditingStartSessionAction.ID,
|
|
@@ -445,7 +445,7 @@ class ChatEditingStartSessionAction extends Action2 {
|
|
|
445
445
|
registerAction2(ChatEditingStartSessionAction);
|
|
446
446
|
class ChatEditingStopSessionAction extends Action2 {
|
|
447
447
|
static { this.ID = 'chatEditing.stopSession'; }
|
|
448
|
-
static { this.LABEL = ( localize2(
|
|
448
|
+
static { this.LABEL = ( localize2(3196, 'Stop Editing Session')); }
|
|
449
449
|
constructor() {
|
|
450
450
|
super({
|
|
451
451
|
id: ChatEditingStopSessionAction.ID,
|
|
@@ -462,7 +462,7 @@ class ChatEditingStopSessionAction extends Action2 {
|
|
|
462
462
|
registerAction2(ChatEditingStopSessionAction);
|
|
463
463
|
class ChatEditingShowChangesAction extends Action2 {
|
|
464
464
|
static { this.ID = 'chatEditing.openDiffs'; }
|
|
465
|
-
static { this.LABEL = ( localize(
|
|
465
|
+
static { this.LABEL = ( localize(3197, 'Open Diffs')); }
|
|
466
466
|
constructor() {
|
|
467
467
|
super({
|
|
468
468
|
id: ChatEditingShowChangesAction.ID,
|
|
@@ -601,7 +601,7 @@ let ChatEditingSession = class ChatEditingSession extends Disposable {
|
|
|
601
601
|
}
|
|
602
602
|
const input = MultiDiffEditorInput.fromResourceMultiDiffEditorInput({
|
|
603
603
|
multiDiffSource: ChatEditingMultiDiffSourceResolver.getMultiDiffSourceUri(),
|
|
604
|
-
label: ( localize(
|
|
604
|
+
label: ( localize(3188, "Suggested Edits"))
|
|
605
605
|
}, this._instantiationService);
|
|
606
606
|
const editorPane = await this._editorGroupsService.activeGroup.openEditor(input, { pinned: true, activation: EditorActivation.ACTIVATE });
|
|
607
607
|
this.editorPane = editorPane;
|
|
@@ -11,7 +11,7 @@ import { EditorInput } from '../../../common/editor/editorInput.js';
|
|
|
11
11
|
import { ChatAgentLocation } from '../common/chatAgents.js';
|
|
12
12
|
import { IChatService } from '../common/chatService.service.js';
|
|
13
13
|
var ChatEditorInput_1;
|
|
14
|
-
const ChatEditorIcon = registerIcon('chat-editor-label-icon', Codicon.commentDiscussion, ( localize(
|
|
14
|
+
const ChatEditorIcon = registerIcon('chat-editor-label-icon', Codicon.commentDiscussion, ( localize(7351, 'Icon of the chat editor label.')));
|
|
15
15
|
let ChatEditorInput = class ChatEditorInput extends EditorInput {
|
|
16
16
|
static { ChatEditorInput_1 = this; }
|
|
17
17
|
static { this.countsInUse = ( (new Set())); }
|
|
@@ -57,7 +57,7 @@ let ChatEditorInput = class ChatEditorInput extends EditorInput {
|
|
|
57
57
|
return ChatEditorInput_1.TypeID;
|
|
58
58
|
}
|
|
59
59
|
getName() {
|
|
60
|
-
return this.model?.title || ( localize(
|
|
60
|
+
return this.model?.title || ( localize(7352, "Chat")) + (this.inputCount > 0 ? ` ${this.inputCount + 1}` : '');
|
|
61
61
|
}
|
|
62
62
|
getIcon() {
|
|
63
63
|
return ChatEditorIcon;
|