@codingame/monaco-vscode-api 7.1.1 → 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/README.md +0 -1
- 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/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/inputbox/inputBox.js +6 -6
- package/vscode/src/vs/base/browser/ui/tree/abstractTree.js +6 -6
- 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 +8 -8
- 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/editorExtensions.js +6 -6
- 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/config/editorOptions.js +365 -365
- 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/folding.js +19 -19
- package/vscode/src/vs/editor/contrib/folding/browser/foldingDecorations.js +12 -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/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/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/actionWidget.js +7 -7
- package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.js +5 -5
- package/vscode/src/vs/platform/actions/common/menuResetAction.js +1 -1
- package/vscode/src/vs/platform/actions/common/menuService.js +2 -2
- package/vscode/src/vs/platform/configuration/common/configurationRegistry.js +10 -10
- package/vscode/src/vs/platform/contextkey/browser/contextKeyService.js +1 -1
- package/vscode/src/vs/platform/contextkey/common/contextkey.js +11 -11
- 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 +1 -1
- 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 +27 -19
- package/vscode/src/vs/platform/files/browser/htmlFileSystemProvider.js +2 -2
- package/vscode/src/vs/platform/files/common/files.js +6 -6
- package/vscode/src/vs/platform/history/browser/contextScopedHistoryWidget.js +1 -1
- package/vscode/src/vs/platform/keybinding/common/abstractKeybindingService.js +4 -4
- package/vscode/src/vs/platform/list/browser/listService.js +27 -27
- package/vscode/src/vs/platform/log/common/log.js +6 -6
- package/vscode/src/vs/platform/markers/common/markers.js +3 -3
- package/vscode/src/vs/platform/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/undoRedo/common/undoRedoService.js +20 -20
- package/vscode/src/vs/platform/userDataSync/common/abstractSynchronizer.js +2 -2
- 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 -34
- 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/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/editorStatus.js +6 -6
- package/vscode/src/vs/workbench/browser/parts/editor/editorTabsControl.js +2 -2
- 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/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/viewFilter.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/views/viewPane.js +4 -4
- package/vscode/src/vs/workbench/browser/quickaccess.js +1 -1
- package/vscode/src/vs/workbench/browser/workbench.contribution.js +216 -219
- package/vscode/src/vs/workbench/common/configuration.js +10 -10
- package/vscode/src/vs/workbench/common/contextkeys.js +70 -70
- package/vscode/src/vs/workbench/common/editor/diffEditorInput.js +1 -1
- package/vscode/src/vs/workbench/common/editor/textEditorModel.js +1 -1
- package/vscode/src/vs/workbench/common/editor.js +4 -4
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +127 -127
- 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/chatEditorInput.js +2 -2
- 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 +2 -2
- 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/commentReply.js +4 -4
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsController.js +5 -5
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsViewActions.js +1 -1
- 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/common/debug.js +63 -63
- package/vscode/src/vs/workbench/contrib/debug/common/debugModel.js +6 -6
- package/vscode/src/vs/workbench/contrib/debug/common/debugSource.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/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/files/browser/editors/textFileSaveErrorHandler.js +18 -18
- package/vscode/src/vs/workbench/contrib/files/browser/fileActions.js +84 -84
- package/vscode/src/vs/workbench/contrib/files/browser/fileImportExport.js +2 -2
- 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/openEditorsView.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 +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/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/cellOutputActions.js +3 -3
- 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/notebookIcons.js +28 -28
- 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 +1 -1
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesIcons.js +12 -12
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesWidgets.js +5 -5
- package/vscode/src/vs/workbench/contrib/remote/browser/remoteExplorer.js +15 -15
- package/vscode/src/vs/workbench/contrib/remote/browser/tunnelView.js +1 -1
- 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/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/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 +1 -1
- 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/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/workspace/common/workspace.js +2 -2
- package/vscode/src/vs/workbench/services/auxiliaryWindow/browser/auxiliaryWindowService.js +5 -5
- 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/keybindingsEditorModel.js +7 -7
- package/vscode/src/vs/workbench/services/search/common/queryBuilder.js +1 -1
- 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/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
|
@@ -22,7 +22,7 @@ let InlayHintsAccessibility = class InlayHintsAccessibility {
|
|
|
22
22
|
static { this.IsReading = ( (new RawContextKey(
|
|
23
23
|
'isReadingLineWithInlayHints',
|
|
24
24
|
false,
|
|
25
|
-
{ type: 'boolean', description: ( localize(
|
|
25
|
+
{ type: 'boolean', description: ( localize(653, "Whether the current line and its inlay hints are currently focused")) }
|
|
26
26
|
))); }
|
|
27
27
|
static { this.ID = 'editor.contrib.InlayHintsAccessibility'; }
|
|
28
28
|
static get(editor) {
|
|
@@ -37,7 +37,7 @@ let InlayHintsAccessibility = class InlayHintsAccessibility {
|
|
|
37
37
|
this._ariaElement.style.position = 'fixed';
|
|
38
38
|
this._ariaElement.className = 'inlayhint-accessibility-element';
|
|
39
39
|
this._ariaElement.tabIndex = 0;
|
|
40
|
-
this._ariaElement.setAttribute('aria-description', ( localize(
|
|
40
|
+
this._ariaElement.setAttribute('aria-description', ( localize(654, "Code with Inlay Hint Information")));
|
|
41
41
|
this._ctxIsReading = InlayHintsAccessibility_1.IsReading.bindTo(contextKeyService);
|
|
42
42
|
}
|
|
43
43
|
dispose() {
|
|
@@ -137,7 +137,7 @@ registerAction2(class StartReadHints extends EditorAction2 {
|
|
|
137
137
|
constructor() {
|
|
138
138
|
super({
|
|
139
139
|
id: 'inlayHints.startReadingLineWithHint',
|
|
140
|
-
title: ( localize2(
|
|
140
|
+
title: ( localize2(655, "Read Line With Inline Hints")),
|
|
141
141
|
precondition: EditorContextKeys.hasInlayHintsProvider,
|
|
142
142
|
f1: true
|
|
143
143
|
});
|
|
@@ -151,7 +151,7 @@ registerAction2(class StopReadHints extends EditorAction2 {
|
|
|
151
151
|
constructor() {
|
|
152
152
|
super({
|
|
153
153
|
id: 'inlayHints.stopReadingLineWithHint',
|
|
154
|
-
title: ( localize2(
|
|
154
|
+
title: ( localize2(656, "Stop Inlay Hints Reading")),
|
|
155
155
|
precondition: InlayHintsAccessibility.IsReading,
|
|
156
156
|
f1: true,
|
|
157
157
|
keybinding: {
|
|
@@ -25,8 +25,8 @@ import { ILogService } from '../../../../platform/log/common/log.service.js';
|
|
|
25
25
|
import { IChatService } from '../../chat/common/chatService.service.js';
|
|
26
26
|
CommandsRegistry.registerCommandAlias('interactiveEditor.start', 'inlineChat.start');
|
|
27
27
|
CommandsRegistry.registerCommandAlias('interactive.acceptChanges', ACTION_ACCEPT_CHANGES);
|
|
28
|
-
const LOCALIZED_START_INLINE_CHAT_STRING = ( localize2(
|
|
29
|
-
const START_INLINE_CHAT = registerIcon('start-inline-chat', Codicon.sparkle, ( localize(
|
|
28
|
+
const LOCALIZED_START_INLINE_CHAT_STRING = ( localize2(7177, 'Start in Editor'));
|
|
29
|
+
const START_INLINE_CHAT = registerIcon('start-inline-chat', Codicon.sparkle, ( localize(7178, 'Icon which spawns the inline chat from the editor toolbar.')));
|
|
30
30
|
class StartSessionAction extends EditorAction2 {
|
|
31
31
|
constructor() {
|
|
32
32
|
super({
|
|
@@ -61,7 +61,7 @@ class UnstashSessionAction extends EditorAction2 {
|
|
|
61
61
|
constructor() {
|
|
62
62
|
super({
|
|
63
63
|
id: 'inlineChat.unstash',
|
|
64
|
-
title: ( localize2(
|
|
64
|
+
title: ( localize2(7179, "Resume Last Dismissed Inline Chat")),
|
|
65
65
|
category: AbstractInlineChatAction.category,
|
|
66
66
|
precondition: ( (ContextKeyExpr.and(CTX_INLINE_CHAT_HAS_STASHED_SESSION, EditorContextKeys.writable))),
|
|
67
67
|
keybinding: {
|
|
@@ -84,7 +84,7 @@ class UnstashSessionAction extends EditorAction2 {
|
|
|
84
84
|
}
|
|
85
85
|
}
|
|
86
86
|
class AbstractInlineChatAction extends EditorAction2 {
|
|
87
|
-
static { this.category = ( localize2(
|
|
87
|
+
static { this.category = ( localize2(7180, "Inline Chat")); }
|
|
88
88
|
constructor(desc) {
|
|
89
89
|
super({
|
|
90
90
|
...desc,
|
|
@@ -130,7 +130,7 @@ class ArrowOutUpAction extends AbstractInlineChatAction {
|
|
|
130
130
|
constructor() {
|
|
131
131
|
super({
|
|
132
132
|
id: 'inlineChat.arrowOutUp',
|
|
133
|
-
title: ( localize(
|
|
133
|
+
title: ( localize(7181, 'Cursor Up')),
|
|
134
134
|
precondition: ( (ContextKeyExpr.and(
|
|
135
135
|
CTX_INLINE_CHAT_FOCUSED,
|
|
136
136
|
CTX_INLINE_CHAT_INNER_CURSOR_FIRST,
|
|
@@ -151,7 +151,7 @@ class ArrowOutDownAction extends AbstractInlineChatAction {
|
|
|
151
151
|
constructor() {
|
|
152
152
|
super({
|
|
153
153
|
id: 'inlineChat.arrowOutDown',
|
|
154
|
-
title: ( localize(
|
|
154
|
+
title: ( localize(7182, 'Cursor Down')),
|
|
155
155
|
precondition: ( (ContextKeyExpr.and(
|
|
156
156
|
CTX_INLINE_CHAT_FOCUSED,
|
|
157
157
|
CTX_INLINE_CHAT_INNER_CURSOR_LAST,
|
|
@@ -172,7 +172,7 @@ class FocusInlineChat extends EditorAction2 {
|
|
|
172
172
|
constructor() {
|
|
173
173
|
super({
|
|
174
174
|
id: 'inlineChat.focus',
|
|
175
|
-
title: ( localize2(
|
|
175
|
+
title: ( localize2(7183, "Focus Input")),
|
|
176
176
|
f1: true,
|
|
177
177
|
category: AbstractInlineChatAction.category,
|
|
178
178
|
precondition: ( (ContextKeyExpr.and(
|
|
@@ -206,7 +206,7 @@ class DiscardAction extends AbstractInlineChatAction {
|
|
|
206
206
|
constructor() {
|
|
207
207
|
super({
|
|
208
208
|
id: 'inlineChat.discard',
|
|
209
|
-
title: ( localize(
|
|
209
|
+
title: ( localize(7184, 'Discard')),
|
|
210
210
|
icon: Codicon.discard,
|
|
211
211
|
precondition: CTX_INLINE_CHAT_VISIBLE,
|
|
212
212
|
keybinding: {
|
|
@@ -224,8 +224,8 @@ class AcceptChanges extends AbstractInlineChatAction {
|
|
|
224
224
|
constructor() {
|
|
225
225
|
super({
|
|
226
226
|
id: ACTION_ACCEPT_CHANGES,
|
|
227
|
-
title: ( localize2(
|
|
228
|
-
shortTitle: ( localize(
|
|
227
|
+
title: ( localize2(7185, "Accept Changes")),
|
|
228
|
+
shortTitle: ( localize(7186, 'Accept')),
|
|
229
229
|
icon: Codicon.check,
|
|
230
230
|
f1: true,
|
|
231
231
|
precondition: ( (ContextKeyExpr.and(CTX_INLINE_CHAT_VISIBLE, (ContextKeyExpr.or(
|
|
@@ -255,7 +255,7 @@ class DiscardHunkAction extends AbstractInlineChatAction {
|
|
|
255
255
|
constructor() {
|
|
256
256
|
super({
|
|
257
257
|
id: 'inlineChat.discardHunkChange',
|
|
258
|
-
title: ( localize(
|
|
258
|
+
title: ( localize(7184, 'Discard')),
|
|
259
259
|
icon: Codicon.clearAll,
|
|
260
260
|
precondition: CTX_INLINE_CHAT_VISIBLE,
|
|
261
261
|
menu: {
|
|
@@ -283,8 +283,8 @@ class RerunAction extends AbstractInlineChatAction {
|
|
|
283
283
|
constructor() {
|
|
284
284
|
super({
|
|
285
285
|
id: ACTION_REGENERATE_RESPONSE,
|
|
286
|
-
title: ( localize2(
|
|
287
|
-
shortTitle: ( localize(
|
|
286
|
+
title: ( localize2(7187, "Rerun Request")),
|
|
287
|
+
shortTitle: ( localize(7188, 'Rerun')),
|
|
288
288
|
f1: false,
|
|
289
289
|
icon: Codicon.refresh,
|
|
290
290
|
precondition: CTX_INLINE_CHAT_VISIBLE,
|
|
@@ -316,7 +316,7 @@ class CloseAction extends AbstractInlineChatAction {
|
|
|
316
316
|
constructor() {
|
|
317
317
|
super({
|
|
318
318
|
id: 'inlineChat.close',
|
|
319
|
-
title: ( localize(
|
|
319
|
+
title: ( localize(7189, 'Close')),
|
|
320
320
|
icon: Codicon.close,
|
|
321
321
|
precondition: CTX_INLINE_CHAT_VISIBLE,
|
|
322
322
|
keybinding: {
|
|
@@ -349,7 +349,7 @@ class ConfigureInlineChatAction extends AbstractInlineChatAction {
|
|
|
349
349
|
constructor() {
|
|
350
350
|
super({
|
|
351
351
|
id: 'inlineChat.configure',
|
|
352
|
-
title: ( localize2(
|
|
352
|
+
title: ( localize2(7190, 'Configure Inline Chat')),
|
|
353
353
|
icon: Codicon.settingsGear,
|
|
354
354
|
precondition: CTX_INLINE_CHAT_VISIBLE,
|
|
355
355
|
f1: true,
|
|
@@ -368,7 +368,7 @@ class MoveToNextHunk extends AbstractInlineChatAction {
|
|
|
368
368
|
constructor() {
|
|
369
369
|
super({
|
|
370
370
|
id: 'inlineChat.moveToNextHunk',
|
|
371
|
-
title: ( localize2(
|
|
371
|
+
title: ( localize2(7191, 'Move to Next Change')),
|
|
372
372
|
precondition: CTX_INLINE_CHAT_VISIBLE,
|
|
373
373
|
f1: true,
|
|
374
374
|
keybinding: {
|
|
@@ -385,7 +385,7 @@ class MoveToPreviousHunk extends AbstractInlineChatAction {
|
|
|
385
385
|
constructor() {
|
|
386
386
|
super({
|
|
387
387
|
id: 'inlineChat.moveToPreviousHunk',
|
|
388
|
-
title: ( localize2(
|
|
388
|
+
title: ( localize2(7192, 'Move to Previous Change')),
|
|
389
389
|
f1: true,
|
|
390
390
|
precondition: CTX_INLINE_CHAT_VISIBLE,
|
|
391
391
|
keybinding: {
|
|
@@ -403,7 +403,7 @@ class CopyRecordings extends AbstractInlineChatAction {
|
|
|
403
403
|
super({
|
|
404
404
|
id: 'inlineChat.copyRecordings',
|
|
405
405
|
f1: true,
|
|
406
|
-
title: ( localize2(
|
|
406
|
+
title: ( localize2(7193, "(Developer) Write Exchange to Clipboard"))
|
|
407
407
|
});
|
|
408
408
|
}
|
|
409
409
|
async runInlineChatCommand(accessor) {
|
|
@@ -418,7 +418,7 @@ class CopyRecordings extends AbstractInlineChatAction {
|
|
|
418
418
|
return {
|
|
419
419
|
rec,
|
|
420
420
|
label: ( localize(
|
|
421
|
-
|
|
421
|
+
7194,
|
|
422
422
|
"'{0}' and {1} follow ups ({2})",
|
|
423
423
|
rec.exchanges[0].prompt,
|
|
424
424
|
rec.exchanges.length - 1,
|
|
@@ -437,7 +437,7 @@ class ViewInChatAction extends AbstractInlineChatAction {
|
|
|
437
437
|
constructor() {
|
|
438
438
|
super({
|
|
439
439
|
id: ACTION_VIEW_IN_CHAT,
|
|
440
|
-
title: ( localize(
|
|
440
|
+
title: ( localize(7195, 'View in Chat')),
|
|
441
441
|
icon: Codicon.commentDiscussion,
|
|
442
442
|
precondition: CTX_INLINE_CHAT_VISIBLE,
|
|
443
443
|
menu: [{
|
|
@@ -473,7 +473,7 @@ class ToggleDiffForChange extends AbstractInlineChatAction {
|
|
|
473
473
|
(CTX_INLINE_CHAT_EDIT_MODE.isEqualTo(EditMode.Live)),
|
|
474
474
|
CTX_INLINE_CHAT_CHANGE_HAS_DIFF
|
|
475
475
|
))),
|
|
476
|
-
title: ( localize2(
|
|
476
|
+
title: ( localize2(7196, 'Toggle Changes')),
|
|
477
477
|
icon: Codicon.diffSingle,
|
|
478
478
|
toggled: {
|
|
479
479
|
condition: CTX_INLINE_CHAT_CHANGE_SHOWS_DIFF,
|
|
@@ -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) {
|
|
@@ -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);
|
|
@@ -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,
|
|
@@ -13,7 +13,7 @@ import { ITelemetryService } from '../../../../../platform/telemetry/common/tele
|
|
|
13
13
|
import { MarshalledId } from '../../../../../base/common/marshallingIds.js';
|
|
14
14
|
import { isEqual } from '../../../../../base/common/resources.js';
|
|
15
15
|
const SELECT_KERNEL_ID = '_notebook.selectKernel';
|
|
16
|
-
const NOTEBOOK_ACTIONS_CATEGORY = ( localize2(
|
|
16
|
+
const NOTEBOOK_ACTIONS_CATEGORY = ( localize2(5568, 'Notebook'));
|
|
17
17
|
const CELL_TITLE_CELL_GROUP_ID = 'inline/cell';
|
|
18
18
|
const CELL_TITLE_OUTPUT_GROUP_ID = 'inline/output';
|
|
19
19
|
const NOTEBOOK_EDITOR_WIDGET_ACTION_WEIGHT = KeybindingWeight.EditorContrib;
|
|
@@ -310,18 +310,18 @@ const cellExecutionArgs = [
|
|
|
310
310
|
];
|
|
311
311
|
MenuRegistry.appendMenuItem(MenuId.NotebookCellTitle, {
|
|
312
312
|
submenu: MenuId.NotebookCellInsert,
|
|
313
|
-
title: ( localize(
|
|
313
|
+
title: ( localize(5569, "Insert Cell")),
|
|
314
314
|
group: CellOverflowToolbarGroups.Insert,
|
|
315
315
|
when: ( (NOTEBOOK_EDITOR_EDITABLE.isEqualTo(true)))
|
|
316
316
|
});
|
|
317
317
|
MenuRegistry.appendMenuItem(MenuId.EditorContext, {
|
|
318
318
|
submenu: MenuId.NotebookCellTitle,
|
|
319
|
-
title: ( localize(
|
|
319
|
+
title: ( localize(5570, "Notebook Cell")),
|
|
320
320
|
group: CellOverflowToolbarGroups.Insert,
|
|
321
321
|
when: NOTEBOOK_EDITOR_FOCUSED
|
|
322
322
|
});
|
|
323
323
|
MenuRegistry.appendMenuItem(MenuId.NotebookCellTitle, {
|
|
324
|
-
title: ( localize(
|
|
324
|
+
title: ( localize(5571, "Share")),
|
|
325
325
|
submenu: MenuId.EditorContextShare,
|
|
326
326
|
group: CellOverflowToolbarGroups.Share
|
|
327
327
|
});
|