@codingame/monaco-vscode-api 8.0.0 → 8.0.1
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/api.js +1 -1
- package/missing-services.js +2 -2
- package/package.json +8 -8
- package/services.js +2 -2
- package/vscode/src/vs/base/browser/ui/actionbar/actionViewItems.js +1 -1
- package/vscode/src/vs/base/browser/ui/button/button.js +1 -1
- 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/findinput/findInput.js +1 -1
- package/vscode/src/vs/base/browser/ui/findinput/findInputToggles.js +3 -3
- package/vscode/src/vs/base/browser/ui/hover/hoverWidget.js +2 -2
- package/vscode/src/vs/base/browser/ui/icons/iconSelectBox.js +2 -2
- package/vscode/src/vs/base/browser/ui/inputbox/inputBox.js +6 -6
- package/vscode/src/vs/base/browser/ui/keybindingLabel/keybindingLabel.js +1 -1
- package/vscode/src/vs/base/browser/ui/menu/menubar.js +1 -1
- package/vscode/src/vs/base/browser/ui/selectBox/selectBoxCustom.js +1 -1
- package/vscode/src/vs/base/browser/ui/splitview/paneview.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 +6 -6
- 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 +59 -59
- package/vscode/src/vs/base/common/errorMessage.js +6 -6
- 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/controller/textAreaHandler.js +5 -5
- package/vscode/src/vs/editor/browser/coreCommands.js +3 -3
- 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/commands.js +12 -12
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/accessibleDiffViewer.js +14 -14
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorEditors.js +1 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/inlineDiffDeletedCodeMargin.js +7 -7
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditor.contribution.js +5 -5
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/hideUnchangedRegionsFeature.js +7 -7
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/movedBlocksLinesFeature.js +4 -4
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/revertButtonsFeature.js +2 -2
- package/vscode/src/vs/editor/browser/widget/diffEditor/registrations.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 +1 -1
- package/vscode/src/vs/editor/common/config/editorConfigurationSchema.js +49 -49
- package/vscode/src/vs/editor/common/core/editorColorRegistry.js +71 -71
- package/vscode/src/vs/editor/common/editorContextKeys.js +47 -47
- package/vscode/src/vs/editor/common/languages/modesRegistry.js +1 -1
- package/vscode/src/vs/editor/common/languages.js +27 -27
- package/vscode/src/vs/editor/common/model/editStack.js +1 -1
- package/vscode/src/vs/editor/common/standaloneStrings.js +27 -27
- 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/codeActionCommands.js +28 -28
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionContributions.js +3 -3
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionController.js +3 -3
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionMenu.js +8 -8
- package/vscode/src/vs/editor/contrib/codeAction/browser/lightBulbWidget.js +9 -9
- package/vscode/src/vs/editor/contrib/codelens/browser/codelensController.js +2 -2
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorHoverParticipant.js +1 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerWidget.js +2 -2
- package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPickerActions.js +7 -7
- 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/copyPasteController.js +7 -7
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/defaultProviders.js +8 -8
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorContribution.js +1 -1
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController.js +3 -3
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/postEditWidget.js +2 -2
- 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/find/browser/findWidget.js +27 -27
- package/vscode/src/vs/editor/contrib/folding/browser/foldingDecorations.js +9 -9
- 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/gotoError/browser/gotoErrorWidget.js +14 -14
- 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/gotoSymbol/browser/referencesModel.js +8 -8
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/symbolNavigation.js +3 -3
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverRendered.js +3 -3
- package/vscode/src/vs/editor/contrib/hover/browser/hoverAccessibleViews.js +2 -2
- package/vscode/src/vs/editor/contrib/hover/browser/hoverActionIds.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/inlayHints/browser/inlayHintsHover.js +8 -8
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/commands.js +11 -11
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hoverParticipant.js +2 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionContextKeys.js +4 -4
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsController.js +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsHintsWidget.js +5 -5
- package/vscode/src/vs/editor/contrib/inlineEdits/browser/commands.js +6 -6
- package/vscode/src/vs/editor/contrib/inlineEdits/browser/consts.js +2 -2
- 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/message/browser/messageController.js +1 -1
- 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/parameterHints/browser/parameterHintsWidget.js +4 -4
- package/vscode/src/vs/editor/contrib/peekView/browser/peekView.js +17 -17
- 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/rename/browser/renameWidget.js +6 -6
- 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/snippet/browser/snippetVariables.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/suggest/browser/suggestWidget.js +16 -16
- 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/symbolIcons/browser/symbolIcons.js +33 -33
- 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/highlightDecorations.js +9 -9
- 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/actionWidget/browser/actionList.js +4 -4
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.js +7 -7
- package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.js +5 -5
- package/vscode/src/vs/platform/actions/browser/toolbar.js +2 -2
- 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/configuration/common/configurationRegistry.js +1 -1
- 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/contextkey/common/scanner.js +5 -5
- 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 -7
- package/vscode/src/vs/platform/extensions/common/extensionValidator.js +19 -19
- package/vscode/src/vs/platform/files/browser/htmlFileSystemProvider.js +2 -2
- package/vscode/src/vs/platform/history/browser/contextScopedHistoryWidget.js +1 -1
- package/vscode/src/vs/platform/keybinding/common/abstractKeybindingService.js +4 -4
- package/vscode/src/vs/platform/languagePacks/common/languagePacks.js +1 -1
- package/vscode/src/vs/platform/languagePacks/common/localizedStrings.js +3 -3
- 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/quickinput/browser/quickInput.js +8 -8
- package/vscode/src/vs/platform/quickinput/browser/quickInputActions.js +3 -3
- package/vscode/src/vs/platform/quickinput/browser/quickInputController.js +6 -6
- package/vscode/src/vs/platform/quickinput/browser/quickInputTree.js +1 -1
- package/vscode/src/vs/platform/quickinput/browser/quickInputUtils.js +1 -1
- package/vscode/src/vs/platform/quickinput/browser/quickPickPin.js +2 -2
- package/vscode/src/vs/platform/request/common/request.js +14 -14
- package/vscode/src/vs/platform/theme/common/colorUtils.js +2 -2
- 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/colors/editorColors.js +93 -93
- package/vscode/src/vs/platform/theme/common/colors/inputColors.js +45 -45
- package/vscode/src/vs/platform/theme/common/colors/listColors.js +32 -32
- package/vscode/src/vs/platform/theme/common/colors/menuColors.js +7 -7
- package/vscode/src/vs/platform/theme/common/colors/minimapColors.js +11 -11
- package/vscode/src/vs/platform/theme/common/colors/miscColors.js +8 -8
- package/vscode/src/vs/platform/theme/common/colors/quickpickColors.js +9 -9
- package/vscode/src/vs/platform/theme/common/colors/searchColors.js +3 -3
- 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/userDataProfile/common/userDataProfile.js +1 -1
- package/vscode/src/vs/platform/userDataSync/common/abstractSynchronizer.js +2 -2
- package/vscode/src/vs/platform/userDataSync/common/userDataSync.js +5 -5
- package/vscode/src/vs/platform/userDataSync/common/userDataSyncMachines.js +1 -1
- 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/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/actions/windowActions.js +25 -25
- package/vscode/src/vs/workbench/browser/actions/workspaceActions.js +21 -21
- package/vscode/src/vs/workbench/browser/actions/workspaceCommands.js +4 -4
- package/vscode/src/vs/workbench/browser/editor.js +2 -2
- package/vscode/src/vs/workbench/browser/labels.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarActions.js +11 -11
- package/vscode/src/vs/workbench/browser/parts/compositeBarActions.js +11 -11
- 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/editorCommands.js +16 -16
- package/vscode/src/vs/workbench/browser/parts/editor/editorGroupView.js +7 -7
- 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/sideBySideEditor.js +1 -1
- 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/panel/panelActions.js +34 -34
- 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/viewFilter.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/views/viewPane.js +4 -4
- package/vscode/src/vs/workbench/browser/parts/views/viewPaneContainer.js +6 -6
- 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 +216 -219
- 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/sideBySideEditorInput.js +1 -1
- package/vscode/src/vs/workbench/common/editor/textEditorModel.js +1 -1
- package/vscode/src/vs/workbench/common/editor.js +4 -4
- package/vscode/src/vs/workbench/common/theme.js +156 -156
- package/vscode/src/vs/workbench/common/views.js +4 -4
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +127 -127
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleViewActions.js +12 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatActions.js +11 -11
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatExecuteActions.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatQuickInputActions.js +9 -9
- 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 +7 -7
- 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 +5 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatTextEditContentPart.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatTreeContentPart.js +1 -1
- 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/chatInputPart.js +8 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/chatListRenderer.js +2 -2
- 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/common/chatColors.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.js +14 -14
- package/vscode/src/vs/workbench/contrib/chat/common/chatModel.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/common/languageModels.js +6 -6
- 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/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/commentColors.js +7 -7
- package/vscode/src/vs/workbench/contrib/comments/browser/commentGlyphWidget.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 +10 -10
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsController.js +5 -5
- 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/browser/commentsViewActions.js +9 -9
- package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditorInput.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/baseDebugView.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointEditorContribution.js +29 -29
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointWidget.js +14 -14
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointsView.js +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 +166 -166
- 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/extensions/common/extensionsUtils.js +3 -3
- package/vscode/src/vs/workbench/contrib/externalUriOpener/common/configuration.js +4 -4
- package/vscode/src/vs/workbench/contrib/externalUriOpener/common/externalUriOpenerService.js +4 -4
- package/vscode/src/vs/workbench/contrib/files/browser/editors/binaryFileEditor.js +1 -1
- package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileEditor.js +8 -8
- package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileSaveErrorHandler.js +18 -18
- package/vscode/src/vs/workbench/contrib/files/browser/explorerViewlet.js +14 -14
- package/vscode/src/vs/workbench/contrib/files/browser/fileActions.js +84 -84
- package/vscode/src/vs/workbench/contrib/files/browser/fileCommands._save.js +4 -4
- package/vscode/src/vs/workbench/contrib/files/browser/fileConstants.js +6 -6
- package/vscode/src/vs/workbench/contrib/files/browser/fileImportExport.js +33 -33
- package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._configuration.js +57 -57
- package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._editorPane.js +2 -2
- package/vscode/src/vs/workbench/contrib/files/browser/views/emptyView.js +1 -1
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerView.js +7 -7
- package/vscode/src/vs/workbench/contrib/files/browser/views/openEditorsView.js +7 -7
- package/vscode/src/vs/workbench/contrib/files/browser/workspaceWatcher.js +4 -4
- package/vscode/src/vs/workbench/contrib/files/common/dirtyFilesIndicator.js +1 -1
- package/vscode/src/vs/workbench/contrib/files/common/files.js +14 -14
- 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 +21 -21
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatController.js +6 -6
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatStrategies.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 +39 -39
- 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/mergeEditor/common/mergeEditor.js +8 -8
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/icons.contribution.js +1 -1
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffEditorInput.js +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/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/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/notebookAccessibilityProvider.js +3 -3
- 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/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/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 +1 -1
- package/vscode/src/vs/workbench/contrib/preferences/browser/keybindingWidgets.js +3 -3
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesIcons.js +12 -12
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesWidgets.js +10 -10
- package/vscode/src/vs/workbench/contrib/preferences/browser/settingsLayout.js +49 -49
- package/vscode/src/vs/workbench/contrib/preferences/common/settingsEditorColorRegistry.js +21 -21
- package/vscode/src/vs/workbench/contrib/remote/browser/remoteExplorer.js +15 -15
- package/vscode/src/vs/workbench/contrib/remote/browser/remoteIcons.js +17 -17
- package/vscode/src/vs/workbench/contrib/remote/browser/tunnelView.js +60 -60
- package/vscode/src/vs/workbench/contrib/scm/browser/dirtyDiffSwitcher.js +2 -2
- package/vscode/src/vs/workbench/contrib/scm/browser/dirtydiffDecorator.js +23 -23
- package/vscode/src/vs/workbench/contrib/search/browser/anythingQuickAccess.js +10 -10
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsBase.js +1 -1
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsFind.js +10 -10
- package/vscode/src/vs/workbench/contrib/search/browser/symbolsQuickAccess.js +2 -2
- 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/speech/common/speechService.js +29 -29
- package/vscode/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.js +5 -5
- 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/terminal/browser/terminalEditorInput.js +4 -4
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalMenus.js +32 -32
- package/vscode/src/vs/workbench/contrib/terminal/common/terminal.js +7 -7
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalColorRegistry.js +23 -23
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalContextKey.js +16 -16
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalStrings.js +28 -28
- package/vscode/src/vs/workbench/contrib/testing/common/constants.js +11 -11
- package/vscode/src/vs/workbench/contrib/testing/common/testResult.js +1 -1
- 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/webview/browser/webviewWindowDragMonitor.js +2 -21
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditor.js +1 -1
- package/vscode/src/vs/workbench/contrib/workspace/common/workspace.js +2 -2
- package/vscode/src/vs/workbench/services/authentication/browser/authenticationService.js +3 -3
- package/vscode/src/vs/workbench/services/auxiliaryWindow/browser/auxiliaryWindowService.js +5 -5
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverSchema.js +16 -16
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverUtils.js +1 -1
- package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +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/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/keybindingsEditorInput.js +2 -2
- package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorModel.js +7 -7
- package/vscode/src/vs/workbench/services/preferences/common/preferencesEditorInput.js +2 -2
- package/vscode/src/vs/workbench/services/remote/common/remoteExplorerService.js +8 -8
- package/vscode/src/vs/workbench/services/remote/common/tunnelModel.js +5 -5
- 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/userDataProfile/common/userDataProfileIcons.js +1 -1
- package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +11 -11
- package/vscode/src/vs/workbench/services/views/browser/viewsService.js +7 -7
- package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopy.js +17 -17
|
@@ -235,14 +235,14 @@ let InlineChatController = class InlineChatController {
|
|
|
235
235
|
delete options.position;
|
|
236
236
|
}
|
|
237
237
|
const widgetPosition = this._showWidget(true, initPosition);
|
|
238
|
-
let errorMessage = ( localize(
|
|
238
|
+
let errorMessage = ( localize(7081, "Failed to start editor chat"));
|
|
239
239
|
if (!session) {
|
|
240
240
|
const createSessionCts = ( (new CancellationTokenSource()));
|
|
241
241
|
const msgListener = Event.once(this._messages.event)(m => {
|
|
242
242
|
this._log('state=_createSession) message received', m);
|
|
243
243
|
if (m === Message.ACCEPT_INPUT) {
|
|
244
244
|
options.autoSend = true;
|
|
245
|
-
this._ui.value.zone.widget.updateInfo(( localize(
|
|
245
|
+
this._ui.value.zone.widget.updateInfo(( localize(7082, "Getting ready...")));
|
|
246
246
|
}
|
|
247
247
|
else {
|
|
248
248
|
createSessionCts.cancel();
|
|
@@ -510,7 +510,7 @@ let InlineChatController = class InlineChatController {
|
|
|
510
510
|
const { response } = this._session.lastExchange;
|
|
511
511
|
let newPosition;
|
|
512
512
|
if (response instanceof EmptyResponse) {
|
|
513
|
-
const status = ( localize(
|
|
513
|
+
const status = ( localize(7083, "No results, please refine your input and try again"));
|
|
514
514
|
this._ui.value.zone.widget.updateStatus(status, { classes: ['warn'] });
|
|
515
515
|
return State.WAIT_FOR_INPUT;
|
|
516
516
|
}
|
|
@@ -551,7 +551,7 @@ let InlineChatController = class InlineChatController {
|
|
|
551
551
|
await this._strategy.apply();
|
|
552
552
|
}
|
|
553
553
|
catch (err) {
|
|
554
|
-
this._dialogService.error(( localize(
|
|
554
|
+
this._dialogService.error(( localize(7084, "Failed to apply changes.", toErrorMessage(err))));
|
|
555
555
|
this._log('FAILED to apply changes');
|
|
556
556
|
this._log(err);
|
|
557
557
|
}
|
|
@@ -571,7 +571,7 @@ let InlineChatController = class InlineChatController {
|
|
|
571
571
|
undoCancelEdits = this._strategy.cancel();
|
|
572
572
|
}
|
|
573
573
|
catch (err) {
|
|
574
|
-
this._dialogService.error(( localize(
|
|
574
|
+
this._dialogService.error(( localize(7085, "Failed to discard changes.", toErrorMessage(err))));
|
|
575
575
|
this._log('FAILED to discard changes');
|
|
576
576
|
this._log(err);
|
|
577
577
|
}
|
|
@@ -690,7 +690,7 @@ let InlineChatController = class InlineChatController {
|
|
|
690
690
|
return this._forcedPlaceholder ?? this._session?.agent.description ?? '';
|
|
691
691
|
}
|
|
692
692
|
showSaveHint() {
|
|
693
|
-
const status = ( localize(
|
|
693
|
+
const status = ( localize(7086, "Accept or discard changes to continue saving"));
|
|
694
694
|
this._ui.value.zone.widget.updateStatus(status, { classes: ['warn'] });
|
|
695
695
|
}
|
|
696
696
|
acceptInput() {
|
|
@@ -421,21 +421,21 @@ let LiveStrategy = class LiveStrategy extends EditModeStrategy {
|
|
|
421
421
|
const needsReview = this._configService.getValue(InlineChatConfigKeys.AcceptedOrDiscardBeforeSave);
|
|
422
422
|
let message;
|
|
423
423
|
if (total === 0) {
|
|
424
|
-
message = ( localize(
|
|
424
|
+
message = ( localize(10593, "Nothing changed."));
|
|
425
425
|
}
|
|
426
426
|
else if (remaining === 1) {
|
|
427
427
|
message = needsReview
|
|
428
|
-
? ( localize(
|
|
429
|
-
: ( localize(
|
|
428
|
+
? ( localize(10594, "$(info) Accept or Discard change"))
|
|
429
|
+
: ( localize(10595, "1 change"));
|
|
430
430
|
}
|
|
431
431
|
else {
|
|
432
432
|
message = needsReview
|
|
433
|
-
? ( localize(
|
|
434
|
-
: ( localize(
|
|
433
|
+
? ( localize(10596, "$(info) Accept or Discard {0} changes", remaining))
|
|
434
|
+
: ( localize(10597, "{0} changes", total));
|
|
435
435
|
}
|
|
436
436
|
let title;
|
|
437
437
|
if (needsReview) {
|
|
438
|
-
title = ( localize(
|
|
438
|
+
title = ( localize(10598, "Review (accept or discard) all changes before continuing"));
|
|
439
439
|
}
|
|
440
440
|
this._zone.widget.updateStatus(message, { title });
|
|
441
441
|
}
|
|
@@ -166,7 +166,7 @@ let InlineChatZoneWidget = class InlineChatZoneWidget extends ZoneWidget {
|
|
|
166
166
|
this.widget.reset();
|
|
167
167
|
this.widget.chatWidget.setVisible(false);
|
|
168
168
|
super.hide();
|
|
169
|
-
status(( localize(
|
|
169
|
+
status(( localize(10599, 'Closed inline chat widget')));
|
|
170
170
|
scrollState.restore(this.editor);
|
|
171
171
|
}
|
|
172
172
|
};
|
|
@@ -33,7 +33,7 @@ var EditMode;
|
|
|
33
33
|
properties: {
|
|
34
34
|
[InlineChatConfigKeys.Mode]: {
|
|
35
35
|
description: ( localize(
|
|
36
|
-
|
|
36
|
+
7041,
|
|
37
37
|
"Configure if changes crafted with inline chat are applied directly to the document or are previewed first."
|
|
38
38
|
)),
|
|
39
39
|
default: EditMode.Live,
|
|
@@ -41,11 +41,11 @@ var EditMode;
|
|
|
41
41
|
enum: [EditMode.Live, EditMode.Preview],
|
|
42
42
|
markdownEnumDescriptions: [
|
|
43
43
|
( localize(
|
|
44
|
-
|
|
44
|
+
7042,
|
|
45
45
|
"Changes are applied directly to the document, can be highlighted via inline diffs, and accepted/discarded by hunks. Ending a session will keep the changes."
|
|
46
46
|
)),
|
|
47
47
|
( localize(
|
|
48
|
-
|
|
48
|
+
7043,
|
|
49
49
|
"Changes are previewed only and need to be accepted via the apply button. Ending a session will discard the changes."
|
|
50
50
|
)),
|
|
51
51
|
],
|
|
@@ -53,20 +53,20 @@ var EditMode;
|
|
|
53
53
|
},
|
|
54
54
|
[InlineChatConfigKeys.FinishOnType]: {
|
|
55
55
|
description: ( localize(
|
|
56
|
-
|
|
56
|
+
7044,
|
|
57
57
|
"Whether to finish an inline chat session when typing outside of changed regions."
|
|
58
58
|
)),
|
|
59
59
|
default: false,
|
|
60
60
|
type: 'boolean'
|
|
61
61
|
},
|
|
62
62
|
[InlineChatConfigKeys.AcceptedOrDiscardBeforeSave]: {
|
|
63
|
-
description: ( localize(
|
|
63
|
+
description: ( localize(7045, "Whether pending inline chat sessions prevent saving.")),
|
|
64
64
|
default: true,
|
|
65
65
|
type: 'boolean'
|
|
66
66
|
},
|
|
67
67
|
[InlineChatConfigKeys.HoldToSpeech]: {
|
|
68
68
|
description: ( localize(
|
|
69
|
-
|
|
69
|
+
7046,
|
|
70
70
|
"Whether holding the inline chat keybinding will automatically enable speech recognition."
|
|
71
71
|
)),
|
|
72
72
|
default: true,
|
|
@@ -74,7 +74,7 @@ var EditMode;
|
|
|
74
74
|
},
|
|
75
75
|
[InlineChatConfigKeys.AccessibleDiffView]: {
|
|
76
76
|
description: ( localize(
|
|
77
|
-
|
|
77
|
+
7047,
|
|
78
78
|
"Whether the inline chat also renders an accessible diff viewer for its changes."
|
|
79
79
|
)),
|
|
80
80
|
default: 'auto',
|
|
@@ -82,15 +82,15 @@ var EditMode;
|
|
|
82
82
|
enum: ['auto', 'on', 'off'],
|
|
83
83
|
markdownEnumDescriptions: [
|
|
84
84
|
( localize(
|
|
85
|
-
|
|
85
|
+
7048,
|
|
86
86
|
"The accessible diff viewer is based screen reader mode being enabled."
|
|
87
87
|
)),
|
|
88
|
-
( localize(
|
|
89
|
-
( localize(
|
|
88
|
+
( localize(7049, "The accessible diff viewer is always enabled.")),
|
|
89
|
+
( localize(7050, "The accessible diff viewer is never enabled.")),
|
|
90
90
|
],
|
|
91
91
|
},
|
|
92
92
|
[InlineChatConfigKeys.ExpTextButtons]: {
|
|
93
|
-
description: ( localize(
|
|
93
|
+
description: ( localize(7051, "Whether to use textual buttons.")),
|
|
94
94
|
default: false,
|
|
95
95
|
type: 'boolean',
|
|
96
96
|
tags: ['experimental']
|
|
@@ -104,32 +104,32 @@ var InlineChatResponseType;
|
|
|
104
104
|
InlineChatResponseType["Messages"] = "messages";
|
|
105
105
|
InlineChatResponseType["MessagesAndEdits"] = "messagesAndEdits";
|
|
106
106
|
})(InlineChatResponseType || (InlineChatResponseType = {}))));
|
|
107
|
-
const CTX_INLINE_CHAT_HAS_AGENT = ( (new RawContextKey('inlineChatHasProvider', false, ( localize(
|
|
108
|
-
const CTX_INLINE_CHAT_VISIBLE = ( (new RawContextKey('inlineChatVisible', false, ( localize(
|
|
109
|
-
const CTX_INLINE_CHAT_FOCUSED = ( (new RawContextKey('inlineChatFocused', false, ( localize(
|
|
110
|
-
const CTX_INLINE_CHAT_RESPONSE_FOCUSED = ( (new RawContextKey('inlineChatResponseFocused', false, ( localize(
|
|
111
|
-
const CTX_INLINE_CHAT_EMPTY = ( (new RawContextKey('inlineChatEmpty', false, ( localize(
|
|
107
|
+
const CTX_INLINE_CHAT_HAS_AGENT = ( (new RawContextKey('inlineChatHasProvider', false, ( localize(7052, "Whether a provider for interactive editors exists")))));
|
|
108
|
+
const CTX_INLINE_CHAT_VISIBLE = ( (new RawContextKey('inlineChatVisible', false, ( localize(7053, "Whether the interactive editor input is visible")))));
|
|
109
|
+
const CTX_INLINE_CHAT_FOCUSED = ( (new RawContextKey('inlineChatFocused', false, ( localize(7054, "Whether the interactive editor input is focused")))));
|
|
110
|
+
const CTX_INLINE_CHAT_RESPONSE_FOCUSED = ( (new RawContextKey('inlineChatResponseFocused', false, ( localize(7055, "Whether the interactive widget's response is focused")))));
|
|
111
|
+
const CTX_INLINE_CHAT_EMPTY = ( (new RawContextKey('inlineChatEmpty', false, ( localize(7056, "Whether the interactive editor input is empty")))));
|
|
112
112
|
const CTX_INLINE_CHAT_INNER_CURSOR_FIRST = ( (new RawContextKey('inlineChatInnerCursorFirst', false, ( localize(
|
|
113
|
-
|
|
113
|
+
7057,
|
|
114
114
|
"Whether the cursor of the iteractive editor input is on the first line"
|
|
115
115
|
)))));
|
|
116
116
|
const CTX_INLINE_CHAT_INNER_CURSOR_LAST = ( (new RawContextKey('inlineChatInnerCursorLast', false, ( localize(
|
|
117
|
-
|
|
117
|
+
7058,
|
|
118
118
|
"Whether the cursor of the iteractive editor input is on the last line"
|
|
119
119
|
)))));
|
|
120
120
|
const CTX_INLINE_CHAT_OUTER_CURSOR_POSITION = ( (new RawContextKey('inlineChatOuterCursorPosition', '', ( localize(
|
|
121
|
-
|
|
121
|
+
7061,
|
|
122
122
|
"Whether the cursor of the outer editor is above or below the interactive editor input"
|
|
123
123
|
)))));
|
|
124
|
-
const CTX_INLINE_CHAT_HAS_STASHED_SESSION = ( (new RawContextKey('inlineChatHasStashedSession', false, ( localize(
|
|
125
|
-
const CTX_INLINE_CHAT_USER_DID_EDIT = ( (new RawContextKey('inlineChatUserDidEdit', undefined, ( localize(
|
|
126
|
-
const CTX_INLINE_CHAT_DOCUMENT_CHANGED = ( (new RawContextKey('inlineChatDocumentChanged', false, ( localize(
|
|
127
|
-
const CTX_INLINE_CHAT_CHANGE_HAS_DIFF = ( (new RawContextKey('inlineChatChangeHasDiff', false, ( localize(
|
|
128
|
-
const CTX_INLINE_CHAT_CHANGE_SHOWS_DIFF = ( (new RawContextKey('inlineChatChangeShowsDiff', false, ( localize(
|
|
124
|
+
const CTX_INLINE_CHAT_HAS_STASHED_SESSION = ( (new RawContextKey('inlineChatHasStashedSession', false, ( localize(7062, "Whether interactive editor has kept a session for quick restore")))));
|
|
125
|
+
const CTX_INLINE_CHAT_USER_DID_EDIT = ( (new RawContextKey('inlineChatUserDidEdit', undefined, ( localize(7063, "Whether the user did changes ontop of the inline chat")))));
|
|
126
|
+
const CTX_INLINE_CHAT_DOCUMENT_CHANGED = ( (new RawContextKey('inlineChatDocumentChanged', false, ( localize(7064, "Whether the document has changed concurrently")))));
|
|
127
|
+
const CTX_INLINE_CHAT_CHANGE_HAS_DIFF = ( (new RawContextKey('inlineChatChangeHasDiff', false, ( localize(7065, "Whether the current change supports showing a diff")))));
|
|
128
|
+
const CTX_INLINE_CHAT_CHANGE_SHOWS_DIFF = ( (new RawContextKey('inlineChatChangeShowsDiff', false, ( localize(7066, "Whether the current change showing a diff")))));
|
|
129
129
|
const CTX_INLINE_CHAT_EDIT_MODE = ( (new RawContextKey('config.inlineChat.mode', EditMode.Live)));
|
|
130
|
-
const CTX_INLINE_CHAT_REQUEST_IN_PROGRESS = ( (new RawContextKey('inlineChatRequestInProgress', false, ( localize(
|
|
130
|
+
const CTX_INLINE_CHAT_REQUEST_IN_PROGRESS = ( (new RawContextKey('inlineChatRequestInProgress', false, ( localize(7067, "Whether an inline chat request is currently in progress")))));
|
|
131
131
|
const CTX_INLINE_CHAT_RESPONSE_TYPE = ( (new RawContextKey('inlineChatResponseType', InlineChatResponseType.None, ( localize(
|
|
132
|
-
|
|
132
|
+
7068,
|
|
133
133
|
"What type was the responses have been receieved, nothing yet, just messages, or messaged and local edits"
|
|
134
134
|
)))));
|
|
135
135
|
const CTX_INLINE_CHAT_CONFIG_TXT_BTNS = ( (ContextKeyExpr.equals(`config.${[InlineChatConfigKeys.ExpTextButtons]}`, true)));
|
|
@@ -140,17 +140,17 @@ const ACTION_TOGGLE_DIFF = 'inlineChat.toggleDiff';
|
|
|
140
140
|
const MENU_INLINE_CHAT_EXECUTE = MenuId.for('inlineChat.execute');
|
|
141
141
|
const MENU_INLINE_CHAT_CONTENT_STATUS = MenuId.for('inlineChat.content.status');
|
|
142
142
|
const MENU_INLINE_CHAT_WIDGET_STATUS = MenuId.for('inlineChatWidget.status');
|
|
143
|
-
const inlineChatForeground = registerColor('inlineChat.foreground', editorWidgetForeground, ( localize(
|
|
144
|
-
const inlineChatBackground = registerColor('inlineChat.background', editorWidgetBackground, ( localize(
|
|
145
|
-
registerColor('inlineChat.border', editorWidgetBorder, ( localize(
|
|
146
|
-
registerColor('inlineChat.shadow', widgetShadow, ( localize(
|
|
147
|
-
registerColor('inlineChatInput.border', editorWidgetBorder, ( localize(
|
|
148
|
-
registerColor('inlineChatInput.focusBorder', focusBorder, ( localize(
|
|
149
|
-
registerColor('inlineChatInput.placeholderForeground', inputPlaceholderForeground, ( localize(
|
|
150
|
-
registerColor('inlineChatInput.background', inputBackground, ( localize(
|
|
151
|
-
registerColor('inlineChatDiff.inserted', ( (transparent(diffInserted, .5))), ( localize(
|
|
152
|
-
const overviewRulerInlineChatDiffInserted = registerColor('editorOverviewRuler.inlineChatInserted', { dark: ( (transparent(diffInserted, 0.6))), light: ( (transparent(diffInserted, 0.8))), hcDark: ( (transparent(diffInserted, 0.6))), hcLight: ( (transparent(diffInserted, 0.8))) }, ( localize(
|
|
153
|
-
const minimapInlineChatDiffInserted = registerColor('editorOverviewRuler.inlineChatInserted', { dark: ( (transparent(diffInserted, 0.6))), light: ( (transparent(diffInserted, 0.8))), hcDark: ( (transparent(diffInserted, 0.6))), hcLight: ( (transparent(diffInserted, 0.8))) }, ( localize(
|
|
154
|
-
registerColor('inlineChatDiff.removed', ( (transparent(diffRemoved, .5))), ( localize(
|
|
155
|
-
registerColor('editorOverviewRuler.inlineChatRemoved', { dark: ( (transparent(diffRemoved, 0.6))), light: ( (transparent(diffRemoved, 0.8))), hcDark: ( (transparent(diffRemoved, 0.6))), hcLight: ( (transparent(diffRemoved, 0.8))) }, ( localize(
|
|
143
|
+
const inlineChatForeground = registerColor('inlineChat.foreground', editorWidgetForeground, ( localize(7069, "Foreground color of the interactive editor widget")));
|
|
144
|
+
const inlineChatBackground = registerColor('inlineChat.background', editorWidgetBackground, ( localize(7070, "Background color of the interactive editor widget")));
|
|
145
|
+
registerColor('inlineChat.border', editorWidgetBorder, ( localize(7071, "Border color of the interactive editor widget")));
|
|
146
|
+
registerColor('inlineChat.shadow', widgetShadow, ( localize(7072, "Shadow color of the interactive editor widget")));
|
|
147
|
+
registerColor('inlineChatInput.border', editorWidgetBorder, ( localize(7073, "Border color of the interactive editor input")));
|
|
148
|
+
registerColor('inlineChatInput.focusBorder', focusBorder, ( localize(7074, "Border color of the interactive editor input when focused")));
|
|
149
|
+
registerColor('inlineChatInput.placeholderForeground', inputPlaceholderForeground, ( localize(7075, "Foreground color of the interactive editor input placeholder")));
|
|
150
|
+
registerColor('inlineChatInput.background', inputBackground, ( localize(7076, "Background color of the interactive editor input")));
|
|
151
|
+
registerColor('inlineChatDiff.inserted', ( (transparent(diffInserted, .5))), ( localize(7077, "Background color of inserted text in the interactive editor input")));
|
|
152
|
+
const overviewRulerInlineChatDiffInserted = registerColor('editorOverviewRuler.inlineChatInserted', { dark: ( (transparent(diffInserted, 0.6))), light: ( (transparent(diffInserted, 0.8))), hcDark: ( (transparent(diffInserted, 0.6))), hcLight: ( (transparent(diffInserted, 0.8))) }, ( localize(7078, 'Overview ruler marker color for inline chat inserted content.')));
|
|
153
|
+
const minimapInlineChatDiffInserted = registerColor('editorOverviewRuler.inlineChatInserted', { dark: ( (transparent(diffInserted, 0.6))), light: ( (transparent(diffInserted, 0.8))), hcDark: ( (transparent(diffInserted, 0.6))), hcLight: ( (transparent(diffInserted, 0.8))) }, ( localize(7078, 'Overview ruler marker color for inline chat inserted content.')));
|
|
154
|
+
registerColor('inlineChatDiff.removed', ( (transparent(diffRemoved, .5))), ( localize(7079, "Background color of removed text in the interactive editor input")));
|
|
155
|
+
registerColor('editorOverviewRuler.inlineChatRemoved', { dark: ( (transparent(diffRemoved, 0.6))), light: ( (transparent(diffRemoved, 0.8))), hcDark: ( (transparent(diffRemoved, 0.6))), hcLight: ( (transparent(diffRemoved, 0.8))) }, ( localize(7080, 'Overview ruler marker color for inline chat removed content.')));
|
|
156
156
|
export { ACTION_ACCEPT_CHANGES, ACTION_REGENERATE_RESPONSE, ACTION_TOGGLE_DIFF, ACTION_VIEW_IN_CHAT, CTX_INLINE_CHAT_CHANGE_HAS_DIFF, CTX_INLINE_CHAT_CHANGE_SHOWS_DIFF, CTX_INLINE_CHAT_CONFIG_TXT_BTNS, CTX_INLINE_CHAT_DOCUMENT_CHANGED, CTX_INLINE_CHAT_EDIT_MODE, CTX_INLINE_CHAT_EMPTY, CTX_INLINE_CHAT_FOCUSED, CTX_INLINE_CHAT_HAS_AGENT, CTX_INLINE_CHAT_HAS_STASHED_SESSION, CTX_INLINE_CHAT_INNER_CURSOR_FIRST, CTX_INLINE_CHAT_INNER_CURSOR_LAST, CTX_INLINE_CHAT_OUTER_CURSOR_POSITION, CTX_INLINE_CHAT_REQUEST_IN_PROGRESS, CTX_INLINE_CHAT_RESPONSE_FOCUSED, CTX_INLINE_CHAT_RESPONSE_TYPE, CTX_INLINE_CHAT_USER_DID_EDIT, CTX_INLINE_CHAT_VISIBLE, EditMode, INLINE_CHAT_ID, InlineChatConfigKeys, InlineChatResponseType, MENU_INLINE_CHAT_CONTENT_STATUS, MENU_INLINE_CHAT_EXECUTE, MENU_INLINE_CHAT_WIDGET_STATUS, inlineChatBackground, inlineChatForeground, minimapInlineChatDiffInserted, overviewRulerInlineChatDiffInserted };
|
|
@@ -73,7 +73,7 @@ let MergeEditorInput = class MergeEditorInput extends AbstractTextResourceEditor
|
|
|
73
73
|
return capabilities;
|
|
74
74
|
}
|
|
75
75
|
getName() {
|
|
76
|
-
return ( localize(
|
|
76
|
+
return ( localize(7781, "Merging: {0}", super.getName()));
|
|
77
77
|
}
|
|
78
78
|
async resolve() {
|
|
79
79
|
if (!this._inputModel) {
|
|
@@ -108,12 +108,12 @@ let TempFileMergeEditorInputModel = class TempFileMergeEditorInputModel extends
|
|
|
108
108
|
const isMany = inputModels.length > 1;
|
|
109
109
|
const message = isMany
|
|
110
110
|
? ( localize(
|
|
111
|
-
|
|
111
|
+
10622,
|
|
112
112
|
'Do you want keep the merge result of {0} files?',
|
|
113
113
|
inputModels.length
|
|
114
114
|
))
|
|
115
115
|
: ( localize(
|
|
116
|
-
|
|
116
|
+
10623,
|
|
117
117
|
'Do you want keep the merge result of {0}?',
|
|
118
118
|
basename(inputModels[0].model.resultTextModel.uri)
|
|
119
119
|
));
|
|
@@ -121,12 +121,12 @@ let TempFileMergeEditorInputModel = class TempFileMergeEditorInputModel extends
|
|
|
121
121
|
const buttons = [
|
|
122
122
|
{
|
|
123
123
|
label: hasUnhandledConflicts ?
|
|
124
|
-
( localize(
|
|
125
|
-
( localize(
|
|
124
|
+
( localize(10624, "&&Save With Conflicts")) :
|
|
125
|
+
( localize(10625, "&&Save")),
|
|
126
126
|
run: () => ConfirmResult.SAVE
|
|
127
127
|
},
|
|
128
128
|
{
|
|
129
|
-
label: ( localize(
|
|
129
|
+
label: ( localize(10626, "Do&&n't Save")),
|
|
130
130
|
run: () => ConfirmResult.DONT_SAVE
|
|
131
131
|
}
|
|
132
132
|
];
|
|
@@ -136,16 +136,16 @@ let TempFileMergeEditorInputModel = class TempFileMergeEditorInputModel extends
|
|
|
136
136
|
detail: hasUnhandledConflicts
|
|
137
137
|
? isMany
|
|
138
138
|
? ( localize(
|
|
139
|
-
|
|
139
|
+
10627,
|
|
140
140
|
"The files contain unhandled conflicts. The merge results will be lost if you don't save them."
|
|
141
141
|
))
|
|
142
142
|
: ( localize(
|
|
143
|
-
|
|
143
|
+
10628,
|
|
144
144
|
"The file contains unhandled conflicts. The merge result will be lost if you don't save it."
|
|
145
145
|
))
|
|
146
146
|
: isMany
|
|
147
|
-
? ( localize(
|
|
148
|
-
: ( localize(
|
|
147
|
+
? ( localize(10629, "The merge results will be lost if you don't save them."))
|
|
148
|
+
: ( localize(10630, "The merge result will be lost if you don't save it.")),
|
|
149
149
|
buttons,
|
|
150
150
|
cancelButton: {
|
|
151
151
|
run: () => ConfirmResult.CANCEL
|
|
@@ -170,12 +170,12 @@ let TempFileMergeEditorInputModel = class TempFileMergeEditorInputModel extends
|
|
|
170
170
|
}
|
|
171
171
|
(async () => {
|
|
172
172
|
const { confirmed } = await this.dialogService.confirm({
|
|
173
|
-
message: ( localize(
|
|
173
|
+
message: ( localize(10631, "Do you want to accept the merge result?")),
|
|
174
174
|
detail: ( localize(
|
|
175
|
-
|
|
175
|
+
10632,
|
|
176
176
|
"This will write the merge result to the original file and close the merge editor."
|
|
177
177
|
)),
|
|
178
|
-
primaryButton: ( localize(
|
|
178
|
+
primaryButton: ( localize(10633, '&&Accept Merge'))
|
|
179
179
|
});
|
|
180
180
|
if (confirmed) {
|
|
181
181
|
await this.accept();
|
|
@@ -200,7 +200,7 @@ let WorkspaceMergeEditorModeFactory = class WorkspaceMergeEditorModeFactory {
|
|
|
200
200
|
this._textModelService = _textModelService;
|
|
201
201
|
this.textFileService = textFileService;
|
|
202
202
|
}
|
|
203
|
-
static { this.FILE_SAVED_SOURCE = SaveSourceRegistry.registerSource('merge-editor.source', ( localize(
|
|
203
|
+
static { this.FILE_SAVED_SOURCE = SaveSourceRegistry.registerSource('merge-editor.source', ( localize(10634, "Before Resolving Conflicts In Merge Editor"))); }
|
|
204
204
|
async createInputModel(args) {
|
|
205
205
|
const store = ( (new DisposableStore()));
|
|
206
206
|
let resultTextFileModel = undefined;
|
|
@@ -310,12 +310,12 @@ let WorkspaceMergeEditorInputModel = class WorkspaceMergeEditorInputModel extend
|
|
|
310
310
|
if (someDirty) {
|
|
311
311
|
const message = isMany
|
|
312
312
|
? ( localize(
|
|
313
|
-
|
|
313
|
+
10635,
|
|
314
314
|
'Do you want to save the changes you made to {0} files?',
|
|
315
315
|
inputModels.length
|
|
316
316
|
))
|
|
317
317
|
: ( localize(
|
|
318
|
-
|
|
318
|
+
10636,
|
|
319
319
|
'Do you want to save the changes you made to {0}?',
|
|
320
320
|
basename(inputModels[0].resultUri)
|
|
321
321
|
));
|
|
@@ -325,25 +325,25 @@ let WorkspaceMergeEditorInputModel = class WorkspaceMergeEditorInputModel extend
|
|
|
325
325
|
detail: someUnhandledConflicts ?
|
|
326
326
|
isMany
|
|
327
327
|
? ( localize(
|
|
328
|
-
|
|
328
|
+
10637,
|
|
329
329
|
"The files contain unhandled conflicts. Your changes will be lost if you don't save them."
|
|
330
330
|
))
|
|
331
331
|
: ( localize(
|
|
332
|
-
|
|
332
|
+
10638,
|
|
333
333
|
"The file contains unhandled conflicts. Your changes will be lost if you don't save them."
|
|
334
334
|
))
|
|
335
335
|
: isMany
|
|
336
|
-
? ( localize(
|
|
337
|
-
: ( localize(
|
|
336
|
+
? ( localize(10639, "Your changes will be lost if you don't save them."))
|
|
337
|
+
: ( localize(10640, "Your changes will be lost if you don't save them.")),
|
|
338
338
|
buttons: [
|
|
339
339
|
{
|
|
340
340
|
label: someUnhandledConflicts
|
|
341
|
-
? ( localize(
|
|
342
|
-
: ( localize(
|
|
341
|
+
? ( localize(10641, '&&Save with Conflicts'))
|
|
342
|
+
: ( localize(10642, '&&Save')),
|
|
343
343
|
run: () => ConfirmResult.SAVE
|
|
344
344
|
},
|
|
345
345
|
{
|
|
346
|
-
label: ( localize(
|
|
346
|
+
label: ( localize(10643, "Do&&n't Save")),
|
|
347
347
|
run: () => ConfirmResult.DONT_SAVE
|
|
348
348
|
}
|
|
349
349
|
],
|
|
@@ -356,21 +356,21 @@ let WorkspaceMergeEditorInputModel = class WorkspaceMergeEditorInputModel extend
|
|
|
356
356
|
else if (someUnhandledConflicts && !this._storageService.getBoolean(StorageCloseWithConflicts, StorageScope.PROFILE, false)) {
|
|
357
357
|
const { confirmed, checkboxChecked } = await this._dialogService.confirm({
|
|
358
358
|
message: isMany
|
|
359
|
-
? ( localize(
|
|
359
|
+
? ( localize(10644, 'Do you want to close {0} merge editors?', inputModels.length))
|
|
360
360
|
: ( localize(
|
|
361
|
-
|
|
361
|
+
10645,
|
|
362
362
|
'Do you want to close the merge editor for {0}?',
|
|
363
363
|
basename(inputModels[0].resultUri)
|
|
364
364
|
)),
|
|
365
365
|
detail: someUnhandledConflicts ?
|
|
366
366
|
isMany
|
|
367
|
-
? ( localize(
|
|
368
|
-
: ( localize(
|
|
367
|
+
? ( localize(10646, "The files contain unhandled conflicts."))
|
|
368
|
+
: ( localize(10647, "The file contains unhandled conflicts."))
|
|
369
369
|
: undefined,
|
|
370
370
|
primaryButton: someUnhandledConflicts
|
|
371
|
-
? ( localize(
|
|
372
|
-
: ( localize(
|
|
373
|
-
checkbox: { label: ( localize(
|
|
371
|
+
? ( localize(10648, '&&Close with Conflicts'))
|
|
372
|
+
: ( localize(10649, '&&Close')),
|
|
373
|
+
checkbox: { label: ( localize(10650, "Do not ask me again")) }
|
|
374
374
|
});
|
|
375
375
|
if (checkboxChecked) {
|
|
376
376
|
this._storageService.store(StorageCloseWithConflicts, true, StorageScope.PROFILE, StorageTarget.USER);
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import { localize } from '../../../../nls.js';
|
|
2
2
|
import { RawContextKey } from '../../../../platform/contextkey/common/contextkey.js';
|
|
3
|
-
const ctxIsMergeEditor = ( (new RawContextKey('isMergeEditor', false, { type: 'boolean', description: ( localize(
|
|
3
|
+
const ctxIsMergeEditor = ( (new RawContextKey('isMergeEditor', false, { type: 'boolean', description: ( localize(10824, 'The editor is a merge editor')) })));
|
|
4
4
|
const ctxIsMergeResultEditor = ( (new RawContextKey(
|
|
5
5
|
'isMergeResultEditor',
|
|
6
6
|
false,
|
|
7
|
-
{ type: 'boolean', description: ( localize(
|
|
7
|
+
{ type: 'boolean', description: ( localize(10825, 'The editor is a the result editor of a merge editor.')) }
|
|
8
8
|
)));
|
|
9
9
|
const ctxMergeEditorLayout = ( (new RawContextKey(
|
|
10
10
|
'mergeEditorLayout',
|
|
11
11
|
'mixed',
|
|
12
|
-
{ type: 'string', description: ( localize(
|
|
12
|
+
{ type: 'string', description: ( localize(10826, 'The layout mode of a merge editor')) }
|
|
13
13
|
)));
|
|
14
14
|
const ctxMergeEditorShowBase = ( (new RawContextKey(
|
|
15
15
|
'mergeEditorShowBase',
|
|
16
16
|
false,
|
|
17
|
-
{ type: 'boolean', description: ( localize(
|
|
17
|
+
{ type: 'boolean', description: ( localize(10827, 'If the merge editor shows the base version')) }
|
|
18
18
|
)));
|
|
19
19
|
const ctxMergeEditorShowBaseAtTop = ( (new RawContextKey(
|
|
20
20
|
'mergeEditorShowBaseAtTop',
|
|
21
21
|
false,
|
|
22
|
-
{ type: 'boolean', description: ( localize(
|
|
22
|
+
{ type: 'boolean', description: ( localize(10828, 'If base should be shown at the top')) }
|
|
23
23
|
)));
|
|
24
24
|
const ctxMergeEditorShowNonConflictingChanges = ( (new RawContextKey(
|
|
25
25
|
'mergeEditorShowNonConflictingChanges',
|
|
26
26
|
false,
|
|
27
|
-
{ type: 'boolean', description: ( localize(
|
|
27
|
+
{ type: 'boolean', description: ( localize(10829, 'If the merge editor shows non-conflicting changes')) }
|
|
28
28
|
)));
|
|
29
|
-
const ctxMergeBaseUri = ( (new RawContextKey('mergeEditorBaseUri', '', { type: 'string', description: ( localize(
|
|
30
|
-
const ctxMergeResultUri = ( (new RawContextKey('mergeEditorResultUri', '', { type: 'string', description: ( localize(
|
|
29
|
+
const ctxMergeBaseUri = ( (new RawContextKey('mergeEditorBaseUri', '', { type: 'string', description: ( localize(10830, 'The uri of the baser of a merge editor')) })));
|
|
30
|
+
const ctxMergeResultUri = ( (new RawContextKey('mergeEditorResultUri', '', { type: 'string', description: ( localize(10831, 'The uri of the result of a merge editor')) })));
|
|
31
31
|
const StorageCloseWithConflicts = 'mergeEditorCloseWithConflicts';
|
|
32
32
|
export { StorageCloseWithConflicts, ctxIsMergeEditor, ctxIsMergeResultEditor, ctxMergeBaseUri, ctxMergeEditorLayout, ctxMergeEditorShowBase, ctxMergeEditorShowBaseAtTop, ctxMergeEditorShowNonConflictingChanges, ctxMergeResultUri };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Codicon } from '../../../../base/common/codicons.js';
|
|
2
2
|
import { localize } from '../../../../nls.js';
|
|
3
3
|
import { registerIcon } from '../../../../platform/theme/common/iconRegistry.js';
|
|
4
|
-
const MultiDiffEditorIcon = registerIcon('multi-diff-editor-label-icon', Codicon.diffMultiple, ( localize(
|
|
4
|
+
const MultiDiffEditorIcon = registerIcon('multi-diff-editor-label-icon', Codicon.diffMultiple, ( localize(10264, 'Icon of the multi diff editor label.')));
|
|
5
5
|
export { MultiDiffEditorIcon };
|
|
@@ -111,9 +111,9 @@ let MultiDiffEditorInput = class MultiDiffEditorInput extends EditorInput {
|
|
|
111
111
|
};
|
|
112
112
|
this._register(autorun((reader) => {
|
|
113
113
|
const resources = this.resources.read(reader);
|
|
114
|
-
const label = this.label ?? ( localize(
|
|
114
|
+
const label = this.label ?? ( localize(6141, "Multi Diff Editor"));
|
|
115
115
|
if (resources) {
|
|
116
|
-
this._name = label + ( localize(
|
|
116
|
+
this._name = label + ( localize(6142, " ({0} files)", resources.length));
|
|
117
117
|
}
|
|
118
118
|
else {
|
|
119
119
|
this._name = label;
|
|
@@ -132,7 +132,7 @@ let ExecutionStateCellStatusBarItem = class ExecutionStateCellStatusBarItem exte
|
|
|
132
132
|
return [{
|
|
133
133
|
text: `$(${successStateIcon.id})`,
|
|
134
134
|
color: themeColorFromId(cellStatusIconSuccess),
|
|
135
|
-
tooltip: ( localize(
|
|
135
|
+
tooltip: ( localize(7976, "Success")),
|
|
136
136
|
alignment: CellStatusbarAlignment.Left,
|
|
137
137
|
priority: Number.MAX_SAFE_INTEGER
|
|
138
138
|
}];
|
|
@@ -141,7 +141,7 @@ let ExecutionStateCellStatusBarItem = class ExecutionStateCellStatusBarItem exte
|
|
|
141
141
|
return [{
|
|
142
142
|
text: `$(${errorStateIcon.id})`,
|
|
143
143
|
color: themeColorFromId(cellStatusIconError),
|
|
144
|
-
tooltip: ( localize(
|
|
144
|
+
tooltip: ( localize(7977, "Failed")),
|
|
145
145
|
alignment: CellStatusbarAlignment.Left,
|
|
146
146
|
priority: Number.MAX_SAFE_INTEGER
|
|
147
147
|
}];
|
|
@@ -149,7 +149,7 @@ let ExecutionStateCellStatusBarItem = class ExecutionStateCellStatusBarItem exte
|
|
|
149
149
|
else if (state === NotebookCellExecutionState.Pending || state === NotebookCellExecutionState.Unconfirmed) {
|
|
150
150
|
return [{
|
|
151
151
|
text: `$(${pendingStateIcon.id})`,
|
|
152
|
-
tooltip: ( localize(
|
|
152
|
+
tooltip: ( localize(7978, "Pending")),
|
|
153
153
|
alignment: CellStatusbarAlignment.Left,
|
|
154
154
|
priority: Number.MAX_SAFE_INTEGER
|
|
155
155
|
}];
|
|
@@ -160,7 +160,7 @@ let ExecutionStateCellStatusBarItem = class ExecutionStateCellStatusBarItem exte
|
|
|
160
160
|
ThemeIcon.modify(executingStateIcon, 'spin');
|
|
161
161
|
return [{
|
|
162
162
|
text: `$(${icon.id})`,
|
|
163
|
-
tooltip: ( localize(
|
|
163
|
+
tooltip: ( localize(7979, "Executing")),
|
|
164
164
|
alignment: CellStatusbarAlignment.Left,
|
|
165
165
|
priority: Number.MAX_SAFE_INTEGER
|
|
166
166
|
}];
|
|
@@ -264,10 +264,10 @@ let TimerCellStatusBarItem = class TimerCellStatusBarItem extends Disposable {
|
|
|
264
264
|
}));
|
|
265
265
|
renderTimes += `- [${rendererInfo?.displayName ?? key}](command:workbench.action.openIssueReporter?${args}) ${formatCellDuration(renderDuration[key])}\n`;
|
|
266
266
|
}
|
|
267
|
-
renderTimes += `\n*${( localize(
|
|
267
|
+
renderTimes += `\n*${( localize(7980, "Use the links above to file an issue using the issue reporter."))}*\n`;
|
|
268
268
|
tooltip = {
|
|
269
269
|
value: ( localize(
|
|
270
|
-
|
|
270
|
+
7981,
|
|
271
271
|
"**Last Execution** {0}\n\n**Execution Time** {1}\n\n**Overhead Time** {2}\n\n**Render Times**\n\n{3}",
|
|
272
272
|
lastExecution,
|
|
273
273
|
formatCellDuration(executionDuration),
|
|
@@ -274,10 +274,10 @@ let NotebookFindWidget = class NotebookFindWidget extends SimpleFindReplaceWidge
|
|
|
274
274
|
_getAriaLabel(label, currentMatch, searchString) {
|
|
275
275
|
if (label === NLS_NO_RESULTS) {
|
|
276
276
|
return searchString === ''
|
|
277
|
-
? ( localize(
|
|
278
|
-
: ( localize(
|
|
277
|
+
? ( localize(10095, "{0} found", label))
|
|
278
|
+
: ( localize(10096, "{0} found for '{1}'", label, searchString));
|
|
279
279
|
}
|
|
280
|
-
return ( localize(
|
|
280
|
+
return ( localize(10097, "{0} found for '{1}'", label, searchString));
|
|
281
281
|
}
|
|
282
282
|
dispose() {
|
|
283
283
|
this._notebookEditor?.removeClassName(FIND_SHOW_TRANSITION);
|
|
@@ -295,7 +295,7 @@ async function joinSelectedCells(bulkEditService, notificationService, context)
|
|
|
295
295
|
const cellKind = cells[0].cellKind;
|
|
296
296
|
const isSameKind = cells.every(cell => cell.cellKind === cellKind);
|
|
297
297
|
if (!isSameKind) {
|
|
298
|
-
const message = ( localize(
|
|
298
|
+
const message = ( localize(10600, "Cannot join cells of different kinds"));
|
|
299
299
|
return notificationService.warn(message);
|
|
300
300
|
}
|
|
301
301
|
const firstCell = cells[0];
|
|
@@ -323,7 +323,7 @@ async function joinSelectedCells(bulkEditService, notificationService, context)
|
|
|
323
323
|
}))));
|
|
324
324
|
}
|
|
325
325
|
if (edits.length) {
|
|
326
|
-
await bulkEditService.apply(edits, { quotableLabel: ( localize(
|
|
326
|
+
await bulkEditService.apply(edits, { quotableLabel: ( localize(10601, "Join Notebook Cells")) });
|
|
327
327
|
}
|
|
328
328
|
}
|
|
329
329
|
async function joinNotebookCells(editor, range, direction, constraint) {
|
|
@@ -16,7 +16,7 @@ registerAction2(class ShowAllOutputsAction extends Action2 {
|
|
|
16
16
|
constructor() {
|
|
17
17
|
super({
|
|
18
18
|
id: 'notebook.cellOuput.showEmptyOutputs',
|
|
19
|
-
title: ( localize(
|
|
19
|
+
title: ( localize(7921, "Show empty outputs")),
|
|
20
20
|
menu: {
|
|
21
21
|
id: MenuId.NotebookOutputToolbar,
|
|
22
22
|
when: ( (ContextKeyExpr.and(NOTEBOOK_CELL_HAS_OUTPUTS, NOTEBOOK_CELL_HAS_HIDDEN_OUTPUTS)))
|
|
@@ -41,7 +41,7 @@ registerAction2(class CopyCellOutputAction extends Action2 {
|
|
|
41
41
|
constructor() {
|
|
42
42
|
super({
|
|
43
43
|
id: COPY_OUTPUT_COMMAND_ID,
|
|
44
|
-
title: ( localize(
|
|
44
|
+
title: ( localize(7922, "Copy Cell Output")),
|
|
45
45
|
menu: {
|
|
46
46
|
id: MenuId.NotebookOutputToolbar,
|
|
47
47
|
when: NOTEBOOK_CELL_HAS_OUTPUTS
|
|
@@ -116,7 +116,7 @@ registerAction2(class OpenCellOutputInEditorAction extends Action2 {
|
|
|
116
116
|
constructor() {
|
|
117
117
|
super({
|
|
118
118
|
id: OPEN_OUTPUT_COMMAND_ID,
|
|
119
|
-
title: ( localize(
|
|
119
|
+
title: ( localize(7923, "Open Cell Output in Text Editor")),
|
|
120
120
|
f1: false,
|
|
121
121
|
category: NOTEBOOK_ACTIONS_CATEGORY,
|
|
122
122
|
icon: copyIcon,
|