@codingame/monaco-vscode-api 10.1.2 → 10.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +9 -9
- package/vscode/src/vs/base/browser/ui/actionbar/actionViewItems.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/inputbox/inputBox.js +6 -6
- package/vscode/src/vs/base/browser/ui/tree/abstractTree.js +9 -9
- package/vscode/src/vs/base/browser/ui/tree/treeDefaults.js +1 -1
- package/vscode/src/vs/base/common/actions.js +1 -1
- package/vscode/src/vs/base/common/date.js +61 -61
- package/vscode/src/vs/base/common/jsonErrorMessages.js +9 -9
- package/vscode/src/vs/base/common/keybindingLabels.js +20 -20
- package/vscode/src/vs/editor/browser/controller/editContext/textArea/textAreaEditContext.js +1 -1
- package/vscode/src/vs/editor/browser/coreCommands.js +3 -3
- package/vscode/src/vs/editor/browser/gpu/viewGpuContext.js +1 -1
- package/vscode/src/vs/editor/browser/services/hoverService/hoverWidget.js +1 -1
- package/vscode/src/vs/editor/browser/services/hoverService/updatableHoverWidget.js +1 -1
- package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorWidget.js +2 -2
- package/vscode/src/vs/editor/browser/widget/diffEditor/commands.js +12 -12
- 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/registrations.contribution.js +5 -5
- package/vscode/src/vs/editor/common/config/editorConfigurationSchema.js +51 -51
- package/vscode/src/vs/editor/common/config/editorOptions.js +368 -368
- package/vscode/src/vs/editor/common/core/editorColorRegistry.js +71 -71
- package/vscode/src/vs/editor/common/languages/modesRegistry.js +1 -1
- package/vscode/src/vs/editor/common/model/editStack.js +1 -1
- package/vscode/src/vs/editor/common/standaloneStrings.js +32 -32
- package/vscode/src/vs/editor/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/hoverColorPicker/hoverColorPickerParticipant.js +1 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/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/find/browser/findController.js +16 -16
- package/vscode/src/vs/editor/contrib/find/browser/findWidget.js +27 -27
- 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/gpu/browser/gpuActions.js +4 -4
- package/vscode/src/vs/editor/contrib/hover/browser/hoverAccessibleViews.js +2 -2
- package/vscode/src/vs/editor/contrib/hover/browser/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/controller/commands.js +14 -14
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionContextKeys.js +8 -8
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.js +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.js +2 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.js +5 -5
- 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/buttonbar.js +3 -3
- package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.js +5 -5
- package/vscode/src/vs/platform/actions/common/menuResetAction.js +1 -1
- package/vscode/src/vs/platform/actions/common/menuService.js +2 -2
- package/vscode/src/vs/platform/contextkey/browser/contextKeyService.js +1 -1
- package/vscode/src/vs/platform/contextkey/common/contextkeys.js +9 -9
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +2 -2
- package/vscode/src/vs/platform/extensionManagement/common/extensionNls.js +1 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.js +7 -7
- package/vscode/src/vs/platform/extensions/common/extensionValidator.js +20 -20
- package/vscode/src/vs/platform/files/browser/htmlFileSystemProvider.js +2 -2
- package/vscode/src/vs/platform/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/request/common/request.js +14 -14
- package/vscode/src/vs/platform/theme/common/iconRegistry.js +5 -5
- package/vscode/src/vs/platform/theme/common/tokenClassificationRegistry.js +42 -42
- package/vscode/src/vs/platform/undoRedo/common/undoRedoService.js +20 -20
- package/vscode/src/vs/platform/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/extHostLanguageFeatures.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostLogService.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostNotebook.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostStatusBar.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostTerminalService.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTreeViews.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostWorkspace.js +1 -1
- package/vscode/src/vs/workbench/api/common/jsonValidationExtensionPoint.js +12 -12
- package/vscode/src/vs/workbench/browser/actions/developerActions.js +31 -31
- package/vscode/src/vs/workbench/browser/actions/textInputActions.js +6 -6
- package/vscode/src/vs/workbench/browser/editor.js +2 -2
- package/vscode/src/vs/workbench/browser/labels.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/editor/binaryDiffEditor.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/binaryEditor.js +3 -3
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbs.js +41 -41
- package/vscode/src/vs/workbench/browser/parts/editor/diffEditorCommands.js +6 -6
- package/vscode/src/vs/workbench/browser/parts/editor/editorActions.js +131 -131
- package/vscode/src/vs/workbench/browser/parts/editor/editorQuickAccess.js +5 -5
- package/vscode/src/vs/workbench/browser/parts/editor/editorStatus.js +61 -61
- package/vscode/src/vs/workbench/browser/parts/editor/editorTabsControl.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/editor/textCodeEditor.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/textDiffEditor.js +3 -3
- package/vscode/src/vs/workbench/browser/parts/globalCompositeBar.js +15 -15
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsActions.js +17 -17
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsAlerts.js +3 -3
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCenter.js +6 -6
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCommands.js +9 -9
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsList.js +6 -6
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsStatus.js +13 -13
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsToasts.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsViewer.js +4 -4
- package/vscode/src/vs/workbench/browser/parts/titlebar/menubarControl.js +18 -18
- package/vscode/src/vs/workbench/browser/parts/titlebar/windowTitle.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/views/checkbox.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/views/treeView.js +7 -7
- package/vscode/src/vs/workbench/browser/parts/views/viewFilter.js +1 -1
- package/vscode/src/vs/workbench/browser/quickaccess.js +1 -1
- package/vscode/src/vs/workbench/browser/workbench.contribution.js +220 -217
- package/vscode/src/vs/workbench/common/configuration.js +10 -10
- package/vscode/src/vs/workbench/common/editor/diffEditorInput.js +1 -1
- package/vscode/src/vs/workbench/common/editor/sideBySideEditorInput.js +1 -1
- package/vscode/src/vs/workbench/common/editor.js +4 -4
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +131 -131
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatActions.js +16 -16
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatConstants.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatExecuteActions.js +5 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatTitleActions.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatAccessibilityProvider.js +9 -9
- package/vscode/src/vs/workbench/contrib/chat/browser/chatAgentHover.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatAttachmentsContentPart.js +8 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatCodeCitationContentPart.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatCommandContentPart.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatConfirmationContentPart.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatReferencesContentPart.js +8 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatTextEditContentPart.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatToolInvocationPart.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatTreeContentPart.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDragAndDrop.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditingService.js +11 -11
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditorInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatFollowups.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatImagePaste.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatInlineAnchorWidget.js +5 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/chatInputPart.js +12 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/chatListRenderer.js +12 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/chatWidget.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/codeBlockPart.js +15 -15
- package/vscode/src/vs/workbench/contrib/chat/browser/contrib/chatDynamicVariables.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/contrib/chatInputCompletions.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatColors.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.js +21 -21
- package/vscode/src/vs/workbench/contrib/chat/common/chatModel.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +15 -15
- package/vscode/src/vs/workbench/contrib/codeActions/common/codeActionsExtensionPoint.js +10 -10
- package/vscode/src/vs/workbench/contrib/codeActions/common/documentationExtensionPoint.js +6 -6
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorAccessibilityHelp.js +5 -5
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/inspectEditorTokens/inspectEditorTokens.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/largeFileOptimizations.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoSymbolQuickAccess.js +6 -6
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMinimap.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMultiCursorModifier.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderControlCharacter.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderWhitespace.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +5 -5
- package/vscode/src/vs/workbench/contrib/comments/browser/commentReply.js +4 -4
- package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditorInput.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointEditorContribution.js +29 -29
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointWidget.js +14 -14
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointsView.js +65 -65
- package/vscode/src/vs/workbench/contrib/debug/browser/callStackEditorContribution.js +2 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/debugColors.js +12 -12
- package/vscode/src/vs/workbench/contrib/debug/browser/debugCommands.js +34 -34
- package/vscode/src/vs/workbench/contrib/debug/browser/debugIcons.js +57 -57
- package/vscode/src/vs/workbench/contrib/debug/browser/debugSessionPicker.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/common/debugModel.js +6 -6
- package/vscode/src/vs/workbench/contrib/debug/common/debugSource.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/disassemblyViewInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/debug/common/loadedScriptsPicker.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/replModel.js +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActions.js +173 -173
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsUtils.js +3 -3
- package/vscode/src/vs/workbench/contrib/files/browser/editors/binaryFileEditor.js +1 -1
- package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileEditor.js +8 -8
- package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._configuration.js +52 -52
- package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._editorPane.js +2 -2
- package/vscode/src/vs/workbench/contrib/files/browser/workspaceWatcher.js +4 -4
- package/vscode/src/vs/workbench/contrib/files/common/dirtyFilesIndicator.js +1 -1
- package/vscode/src/vs/workbench/contrib/folding/browser/folding.contribution.js +3 -3
- package/vscode/src/vs/workbench/contrib/format/browser/formatActionsMultiple.js +20 -20
- package/vscode/src/vs/workbench/contrib/format/browser/formatActionsNone.js +4 -4
- package/vscode/src/vs/workbench/contrib/format/browser/formatModified.js +1 -1
- package/vscode/src/vs/workbench/contrib/inlayHints/browser/inlayHintsAccessibilty.js +4 -4
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatActions.js +19 -19
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatController.js +6 -6
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatWidget.js +3 -3
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatZoneWidget.js +1 -1
- package/vscode/src/vs/workbench/contrib/inlineChat/common/inlineChat.js +41 -41
- package/vscode/src/vs/workbench/contrib/list/browser/listResizeColumnAction.js +2 -2
- package/vscode/src/vs/workbench/contrib/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/browser/view/conflictActions.js +21 -21
- 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/diff/notebookDiffEditor.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditorBrowser.js +5 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffList.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookMultiDiffEditor.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibilityProvider.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditor.js +8 -8
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditorWidget.js +24 -24
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookIcons.js +28 -28
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellEditorOptions.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/foldedCellHint.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/markupCell.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/backLayerWebView.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/cellRenderer.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelQuickPickStrategy.js +15 -15
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelView.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesIcons.js +12 -12
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsFind.js +10 -10
- package/vscode/src/vs/workbench/contrib/speech/common/speechService.js +29 -29
- package/vscode/src/vs/workbench/contrib/tasks/common/taskService.js +5 -5
- package/vscode/src/vs/workbench/contrib/testing/common/testResult.js +2 -2
- package/vscode/src/vs/workbench/contrib/url/browser/trustedDomains.js +6 -6
- package/vscode/src/vs/workbench/contrib/webview/browser/webview.contribution.js +3 -3
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditor.js +1 -1
- package/vscode/src/vs/workbench/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/editor/common/editorResolverService.js +1 -1
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagement.js +1 -1
- 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/search/common/queryBuilder.js +1 -1
- package/vscode/src/vs/workbench/services/textMate/common/TMGrammars.js +9 -9
- package/vscode/src/vs/workbench/services/textfile/common/textFileEditorModel.js +3 -3
- package/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.js +22 -22
- package/vscode/src/vs/workbench/services/themes/common/colorThemeData.js +8 -8
- package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +13 -13
- package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfile.js +3 -3
- package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +11 -11
- package/vscode/src/vs/workbench/services/views/browser/viewsService.js +7 -7
- package/workers/editor.worker.js +1 -1
|
@@ -78,8 +78,8 @@ let DefaultFormatter = class DefaultFormatter extends Disposable {
|
|
|
78
78
|
DefaultFormatter_1.extensionItemLabels.length = 0;
|
|
79
79
|
DefaultFormatter_1.extensionDescriptions.length = 0;
|
|
80
80
|
DefaultFormatter_1.extensionIds.push(null);
|
|
81
|
-
DefaultFormatter_1.extensionItemLabels.push(( localize(
|
|
82
|
-
DefaultFormatter_1.extensionDescriptions.push(( localize(
|
|
81
|
+
DefaultFormatter_1.extensionItemLabels.push(( localize(4505, 'None')));
|
|
82
|
+
DefaultFormatter_1.extensionDescriptions.push(( localize(4506, "None")));
|
|
83
83
|
for (const extension of extensions) {
|
|
84
84
|
if (extension.main || extension.browser) {
|
|
85
85
|
DefaultFormatter_1.extensionIds.push(extension.identifier.value);
|
|
@@ -106,13 +106,13 @@ let DefaultFormatter = class DefaultFormatter extends Disposable {
|
|
|
106
106
|
const langName = this._languageService.getLanguageName(document.getLanguageId()) || document.getLanguageId();
|
|
107
107
|
const detail = kind === 1
|
|
108
108
|
? ( localize(
|
|
109
|
-
|
|
109
|
+
4507,
|
|
110
110
|
"Extension '{0}' is configured as formatter but it cannot format '{1}'-files",
|
|
111
111
|
extension.displayName || extension.name,
|
|
112
112
|
langName
|
|
113
113
|
))
|
|
114
114
|
: ( localize(
|
|
115
|
-
|
|
115
|
+
4508,
|
|
116
116
|
"Extension '{0}' is configured as formatter but it can only format '{1}'-files as a whole, not selections or parts of it.",
|
|
117
117
|
extension.displayName || extension.name,
|
|
118
118
|
langName
|
|
@@ -126,12 +126,12 @@ let DefaultFormatter = class DefaultFormatter extends Disposable {
|
|
|
126
126
|
const langName = this._languageService.getLanguageName(document.getLanguageId()) || document.getLanguageId();
|
|
127
127
|
const message = !defaultFormatterId
|
|
128
128
|
? ( localize(
|
|
129
|
-
|
|
129
|
+
4509,
|
|
130
130
|
"There are multiple formatters for '{0}' files. One of them should be configured as default formatter.",
|
|
131
131
|
DefaultFormatter_1._maybeQuotes(langName)
|
|
132
132
|
))
|
|
133
133
|
: ( localize(
|
|
134
|
-
|
|
134
|
+
4510,
|
|
135
135
|
"Extension '{0}' is configured as formatter but not available. Select a different default formatter to continue.",
|
|
136
136
|
defaultFormatterId
|
|
137
137
|
));
|
|
@@ -144,16 +144,16 @@ let DefaultFormatter = class DefaultFormatter extends Disposable {
|
|
|
144
144
|
}
|
|
145
145
|
if (mode !== 2 ) {
|
|
146
146
|
const { confirmed } = await this._dialogService.confirm({
|
|
147
|
-
message: ( localize(
|
|
147
|
+
message: ( localize(4511, "Configure Default Formatter")),
|
|
148
148
|
detail: formatterOrMessage,
|
|
149
|
-
primaryButton: ( localize(
|
|
149
|
+
primaryButton: ( localize(4512, "&&Configure..."))
|
|
150
150
|
});
|
|
151
151
|
if (confirmed) {
|
|
152
152
|
return this._pickAndPersistDefaultFormatter(formatter, document);
|
|
153
153
|
}
|
|
154
154
|
}
|
|
155
155
|
else {
|
|
156
|
-
this._notificationService.prompt(Severity$1.Info, formatterOrMessage, [{ label: ( localize(
|
|
156
|
+
this._notificationService.prompt(Severity$1.Info, formatterOrMessage, [{ label: ( localize(4513, "Configure...")), run: () => this._pickAndPersistDefaultFormatter(formatter, document) }], { priority: NotificationPriority.SILENT });
|
|
157
157
|
}
|
|
158
158
|
return undefined;
|
|
159
159
|
}
|
|
@@ -167,7 +167,7 @@ let DefaultFormatter = class DefaultFormatter extends Disposable {
|
|
|
167
167
|
})));
|
|
168
168
|
const langName = this._languageService.getLanguageName(document.getLanguageId()) || document.getLanguageId();
|
|
169
169
|
const pick = await this._quickInputService.pick(picks, { placeHolder: ( localize(
|
|
170
|
-
|
|
170
|
+
4514,
|
|
171
171
|
"Select a default formatter for '{0}' files",
|
|
172
172
|
DefaultFormatter_1._maybeQuotes(langName)
|
|
173
173
|
)) });
|
|
@@ -200,14 +200,14 @@ let DefaultFormatter = class DefaultFormatter extends Disposable {
|
|
|
200
200
|
if (typeof result !== 'string') {
|
|
201
201
|
return;
|
|
202
202
|
}
|
|
203
|
-
const command = { id: `formatter/configure/dfl/${generateUuid()}`, title: ( localize(
|
|
203
|
+
const command = { id: `formatter/configure/dfl/${generateUuid()}`, title: ( localize(4515, "Configure...")) };
|
|
204
204
|
this._languageStatusStore.add(CommandsRegistry.registerCommand(command.id, () => this._pickAndPersistDefaultFormatter(formatter, document)));
|
|
205
205
|
this._languageStatusStore.add(this._languageStatusService.addStatus({
|
|
206
206
|
id: 'formatter.conflict',
|
|
207
|
-
name: ( localize(
|
|
207
|
+
name: ( localize(4516, "Formatter Conflicts")),
|
|
208
208
|
selector: { language: document.getLanguageId(), pattern: document.uri.fsPath },
|
|
209
209
|
severity: Severity$1.Error,
|
|
210
|
-
label: ( localize(
|
|
210
|
+
label: ( localize(4517, "Formatting")),
|
|
211
211
|
detail: result,
|
|
212
212
|
busy: false,
|
|
213
213
|
source: '',
|
|
@@ -235,7 +235,7 @@ DefaultFormatter = DefaultFormatter_1 = ( (__decorate([
|
|
|
235
235
|
properties: {
|
|
236
236
|
[DefaultFormatter.configName]: {
|
|
237
237
|
description: ( localize(
|
|
238
|
-
|
|
238
|
+
4518,
|
|
239
239
|
"Defines a default formatter which takes precedence over all other formatter settings. Must be the identifier of an extension contributing a formatter."
|
|
240
240
|
)),
|
|
241
241
|
type: ['string', 'null'],
|
|
@@ -268,7 +268,7 @@ async function showFormatterPick(accessor, model, formatters) {
|
|
|
268
268
|
const pick = {
|
|
269
269
|
index,
|
|
270
270
|
label: provider.displayName || '',
|
|
271
|
-
description: isDefault ? ( localize(
|
|
271
|
+
description: isDefault ? ( localize(4519, "(default)")) : undefined,
|
|
272
272
|
};
|
|
273
273
|
if (isDefault) {
|
|
274
274
|
defaultFormatterPick = pick;
|
|
@@ -276,10 +276,10 @@ async function showFormatterPick(accessor, model, formatters) {
|
|
|
276
276
|
return pick;
|
|
277
277
|
})));
|
|
278
278
|
const configurePick = {
|
|
279
|
-
label: ( localize(
|
|
279
|
+
label: ( localize(4520, "Configure Default Formatter..."))
|
|
280
280
|
};
|
|
281
281
|
const pick = await quickPickService.pick([...picks, { type: 'separator' }, configurePick], {
|
|
282
|
-
placeHolder: ( localize(
|
|
282
|
+
placeHolder: ( localize(4521, "Select a formatter")),
|
|
283
283
|
activeItem: defaultFormatterPick
|
|
284
284
|
});
|
|
285
285
|
if (!pick) {
|
|
@@ -288,7 +288,7 @@ async function showFormatterPick(accessor, model, formatters) {
|
|
|
288
288
|
else if (pick === configurePick) {
|
|
289
289
|
const langName = languageService.getLanguageName(model.getLanguageId()) || model.getLanguageId();
|
|
290
290
|
const pick = await quickPickService.pick(picks, { placeHolder: ( localize(
|
|
291
|
-
|
|
291
|
+
4514,
|
|
292
292
|
"Select a default formatter for '{0}' files",
|
|
293
293
|
DefaultFormatter._maybeQuotes(langName)
|
|
294
294
|
)) });
|
|
@@ -305,7 +305,7 @@ registerEditorAction(class FormatDocumentMultipleAction extends EditorAction {
|
|
|
305
305
|
constructor() {
|
|
306
306
|
super({
|
|
307
307
|
id: 'editor.action.formatDocument.multiple',
|
|
308
|
-
label: ( localize(
|
|
308
|
+
label: ( localize(4522, "Format Document With...")),
|
|
309
309
|
alias: 'Format Document...',
|
|
310
310
|
precondition: ( (ContextKeyExpr.and(
|
|
311
311
|
EditorContextKeys.writable,
|
|
@@ -337,7 +337,7 @@ registerEditorAction(class FormatSelectionMultipleAction extends EditorAction {
|
|
|
337
337
|
constructor() {
|
|
338
338
|
super({
|
|
339
339
|
id: 'editor.action.formatSelection.multiple',
|
|
340
|
-
label: ( localize(
|
|
340
|
+
label: ( localize(4523, "Format Selection With...")),
|
|
341
341
|
alias: 'Format Code...',
|
|
342
342
|
precondition: ( (ContextKeyExpr.and(
|
|
343
343
|
(ContextKeyExpr.and(EditorContextKeys.writable)),
|
|
@@ -11,7 +11,7 @@ registerEditorAction(class FormatDocumentMultipleAction extends EditorAction {
|
|
|
11
11
|
constructor() {
|
|
12
12
|
super({
|
|
13
13
|
id: 'editor.action.formatDocument.none',
|
|
14
|
-
label: ( localize(
|
|
14
|
+
label: ( localize(4524, "Format Document")),
|
|
15
15
|
alias: 'Format Document',
|
|
16
16
|
precondition: ( (ContextKeyExpr.and(
|
|
17
17
|
EditorContextKeys.writable,
|
|
@@ -43,14 +43,14 @@ registerEditorAction(class FormatDocumentMultipleAction extends EditorAction {
|
|
|
43
43
|
return commandService.executeCommand('editor.action.formatDocument');
|
|
44
44
|
}
|
|
45
45
|
else if (model.isTooLargeForSyncing()) {
|
|
46
|
-
notificationService.warn(( localize(
|
|
46
|
+
notificationService.warn(( localize(4525, "This file cannot be formatted because it is too large")));
|
|
47
47
|
}
|
|
48
48
|
else {
|
|
49
49
|
const langName = model.getLanguageId();
|
|
50
|
-
const message = ( localize(
|
|
50
|
+
const message = ( localize(4526, "There is no formatter for '{0}' files installed.", langName));
|
|
51
51
|
const { confirmed } = await dialogService.confirm({
|
|
52
52
|
message,
|
|
53
|
-
primaryButton: ( localize(
|
|
53
|
+
primaryButton: ( localize(4527, "&&Install Formatter..."))
|
|
54
54
|
});
|
|
55
55
|
if (confirmed) {
|
|
56
56
|
extensionsWorkbenchService.openSearch(`category:formatters ${langName}`);
|
|
@@ -17,7 +17,7 @@ registerEditorAction(class FormatModifiedAction extends EditorAction {
|
|
|
17
17
|
constructor() {
|
|
18
18
|
super({
|
|
19
19
|
id: 'editor.action.formatChanges',
|
|
20
|
-
label: ( localize(
|
|
20
|
+
label: ( localize(4498, "Format Modified Lines")),
|
|
21
21
|
alias: 'Format Modified Lines',
|
|
22
22
|
precondition: ( (ContextKeyExpr.and(
|
|
23
23
|
EditorContextKeys.writable,
|
|
@@ -20,7 +20,7 @@ let InlayHintsAccessibility = class InlayHintsAccessibility {
|
|
|
20
20
|
static { this.IsReading = ( (new RawContextKey(
|
|
21
21
|
'isReadingLineWithInlayHints',
|
|
22
22
|
false,
|
|
23
|
-
{ type: 'boolean', description: ( localize(
|
|
23
|
+
{ type: 'boolean', description: ( localize(668, "Whether the current line and its inlay hints are currently focused")) }
|
|
24
24
|
))); }
|
|
25
25
|
static { this.ID = 'editor.contrib.InlayHintsAccessibility'; }
|
|
26
26
|
static get(editor) {
|
|
@@ -35,7 +35,7 @@ let InlayHintsAccessibility = class InlayHintsAccessibility {
|
|
|
35
35
|
this._ariaElement.style.position = 'fixed';
|
|
36
36
|
this._ariaElement.className = 'inlayhint-accessibility-element';
|
|
37
37
|
this._ariaElement.tabIndex = 0;
|
|
38
|
-
this._ariaElement.setAttribute('aria-description', ( localize(
|
|
38
|
+
this._ariaElement.setAttribute('aria-description', ( localize(669, "Code with Inlay Hint Information")));
|
|
39
39
|
this._ctxIsReading = InlayHintsAccessibility_1.IsReading.bindTo(contextKeyService);
|
|
40
40
|
}
|
|
41
41
|
dispose() {
|
|
@@ -135,7 +135,7 @@ registerAction2(class StartReadHints extends EditorAction2 {
|
|
|
135
135
|
constructor() {
|
|
136
136
|
super({
|
|
137
137
|
id: 'inlayHints.startReadingLineWithHint',
|
|
138
|
-
title: ( localize2(
|
|
138
|
+
title: ( localize2(670, "Read Line With Inline Hints")),
|
|
139
139
|
precondition: EditorContextKeys.hasInlayHintsProvider,
|
|
140
140
|
f1: true
|
|
141
141
|
});
|
|
@@ -149,7 +149,7 @@ registerAction2(class StopReadHints extends EditorAction2 {
|
|
|
149
149
|
constructor() {
|
|
150
150
|
super({
|
|
151
151
|
id: 'inlayHints.stopReadingLineWithHint',
|
|
152
|
-
title: ( localize2(
|
|
152
|
+
title: ( localize2(671, "Stop Inlay Hints Reading")),
|
|
153
153
|
precondition: InlayHintsAccessibility.IsReading,
|
|
154
154
|
f1: true,
|
|
155
155
|
keybinding: {
|
|
@@ -22,12 +22,12 @@ import { IChatService } from '../../chat/common/chatService.service.js';
|
|
|
22
22
|
import { CONTEXT_CHAT_INPUT_HAS_TEXT, CONTEXT_IN_CHAT_INPUT } from '../../chat/common/chatContextKeys.js';
|
|
23
23
|
CommandsRegistry.registerCommandAlias('interactiveEditor.start', 'inlineChat.start');
|
|
24
24
|
CommandsRegistry.registerCommandAlias('interactive.acceptChanges', ACTION_ACCEPT_CHANGES);
|
|
25
|
-
const START_INLINE_CHAT = registerIcon('start-inline-chat', Codicon.sparkle, ( localize(
|
|
25
|
+
const START_INLINE_CHAT = registerIcon('start-inline-chat', Codicon.sparkle, ( localize(7382, 'Icon which spawns the inline chat from the editor toolbar.')));
|
|
26
26
|
class StartSessionAction extends EditorAction2 {
|
|
27
27
|
constructor() {
|
|
28
28
|
super({
|
|
29
29
|
id: 'inlineChat.start',
|
|
30
|
-
title: ( localize2(
|
|
30
|
+
title: ( localize2(7383, 'Editor Inline Chat')),
|
|
31
31
|
category: AbstractInlineChatAction.category,
|
|
32
32
|
f1: true,
|
|
33
33
|
precondition: ( (ContextKeyExpr.and(
|
|
@@ -66,7 +66,7 @@ class UnstashSessionAction extends EditorAction2 {
|
|
|
66
66
|
constructor() {
|
|
67
67
|
super({
|
|
68
68
|
id: 'inlineChat.unstash',
|
|
69
|
-
title: ( localize2(
|
|
69
|
+
title: ( localize2(7384, "Resume Last Dismissed Inline Chat")),
|
|
70
70
|
category: AbstractInlineChatAction.category,
|
|
71
71
|
precondition: ( (ContextKeyExpr.and(CTX_INLINE_CHAT_HAS_STASHED_SESSION, EditorContextKeys.writable))),
|
|
72
72
|
keybinding: {
|
|
@@ -89,7 +89,7 @@ class UnstashSessionAction extends EditorAction2 {
|
|
|
89
89
|
}
|
|
90
90
|
}
|
|
91
91
|
class AbstractInlineChatAction extends EditorAction2 {
|
|
92
|
-
static { this.category = ( localize2(
|
|
92
|
+
static { this.category = ( localize2(7385, "Inline Chat")); }
|
|
93
93
|
constructor(desc) {
|
|
94
94
|
super({
|
|
95
95
|
...desc,
|
|
@@ -135,7 +135,7 @@ class ArrowOutUpAction extends AbstractInlineChatAction {
|
|
|
135
135
|
constructor() {
|
|
136
136
|
super({
|
|
137
137
|
id: 'inlineChat.arrowOutUp',
|
|
138
|
-
title: ( localize(
|
|
138
|
+
title: ( localize(7386, 'Cursor Up')),
|
|
139
139
|
precondition: ( (ContextKeyExpr.and(
|
|
140
140
|
CTX_INLINE_CHAT_FOCUSED,
|
|
141
141
|
CTX_INLINE_CHAT_INNER_CURSOR_FIRST,
|
|
@@ -156,7 +156,7 @@ class ArrowOutDownAction extends AbstractInlineChatAction {
|
|
|
156
156
|
constructor() {
|
|
157
157
|
super({
|
|
158
158
|
id: 'inlineChat.arrowOutDown',
|
|
159
|
-
title: ( localize(
|
|
159
|
+
title: ( localize(7387, 'Cursor Down')),
|
|
160
160
|
precondition: ( (ContextKeyExpr.and(
|
|
161
161
|
CTX_INLINE_CHAT_FOCUSED,
|
|
162
162
|
CTX_INLINE_CHAT_INNER_CURSOR_LAST,
|
|
@@ -177,7 +177,7 @@ class FocusInlineChat extends EditorAction2 {
|
|
|
177
177
|
constructor() {
|
|
178
178
|
super({
|
|
179
179
|
id: 'inlineChat.focus',
|
|
180
|
-
title: ( localize2(
|
|
180
|
+
title: ( localize2(7388, "Focus Input")),
|
|
181
181
|
f1: true,
|
|
182
182
|
category: AbstractInlineChatAction.category,
|
|
183
183
|
precondition: ( (ContextKeyExpr.and(
|
|
@@ -211,7 +211,7 @@ class DiscardAction extends AbstractInlineChatAction {
|
|
|
211
211
|
constructor() {
|
|
212
212
|
super({
|
|
213
213
|
id: 'inlineChat.discard',
|
|
214
|
-
title: ( localize(
|
|
214
|
+
title: ( localize(7389, 'Discard')),
|
|
215
215
|
icon: Codicon.discard,
|
|
216
216
|
precondition: CTX_INLINE_CHAT_VISIBLE,
|
|
217
217
|
keybinding: {
|
|
@@ -229,8 +229,8 @@ class AcceptChanges extends AbstractInlineChatAction {
|
|
|
229
229
|
constructor() {
|
|
230
230
|
super({
|
|
231
231
|
id: ACTION_ACCEPT_CHANGES,
|
|
232
|
-
title: ( localize2(
|
|
233
|
-
shortTitle: ( localize(
|
|
232
|
+
title: ( localize2(7390, "Accept Changes")),
|
|
233
|
+
shortTitle: ( localize(7391, 'Accept')),
|
|
234
234
|
icon: Codicon.check,
|
|
235
235
|
f1: true,
|
|
236
236
|
precondition: ( (ContextKeyExpr.and(CTX_INLINE_CHAT_VISIBLE, (ContextKeyExpr.or(
|
|
@@ -265,7 +265,7 @@ class DiscardHunkAction extends AbstractInlineChatAction {
|
|
|
265
265
|
constructor() {
|
|
266
266
|
super({
|
|
267
267
|
id: ACTION_DISCARD_CHANGES,
|
|
268
|
-
title: ( localize(
|
|
268
|
+
title: ( localize(7389, 'Discard')),
|
|
269
269
|
icon: Codicon.chromeClose,
|
|
270
270
|
precondition: CTX_INLINE_CHAT_VISIBLE,
|
|
271
271
|
menu: [{
|
|
@@ -298,8 +298,8 @@ class RerunAction extends AbstractInlineChatAction {
|
|
|
298
298
|
constructor() {
|
|
299
299
|
super({
|
|
300
300
|
id: ACTION_REGENERATE_RESPONSE,
|
|
301
|
-
title: ( localize2(
|
|
302
|
-
shortTitle: ( localize(
|
|
301
|
+
title: ( localize2(7392, "Rerun Request")),
|
|
302
|
+
shortTitle: ( localize(7393, 'Rerun')),
|
|
303
303
|
f1: false,
|
|
304
304
|
icon: Codicon.refresh,
|
|
305
305
|
precondition: CTX_INLINE_CHAT_VISIBLE,
|
|
@@ -332,7 +332,7 @@ class CloseAction extends AbstractInlineChatAction {
|
|
|
332
332
|
constructor() {
|
|
333
333
|
super({
|
|
334
334
|
id: 'inlineChat.close',
|
|
335
|
-
title: ( localize(
|
|
335
|
+
title: ( localize(7394, 'Close')),
|
|
336
336
|
icon: Codicon.close,
|
|
337
337
|
precondition: CTX_INLINE_CHAT_VISIBLE,
|
|
338
338
|
keybinding: {
|
|
@@ -361,7 +361,7 @@ class ConfigureInlineChatAction extends AbstractInlineChatAction {
|
|
|
361
361
|
constructor() {
|
|
362
362
|
super({
|
|
363
363
|
id: 'inlineChat.configure',
|
|
364
|
-
title: ( localize2(
|
|
364
|
+
title: ( localize2(7395, 'Configure Inline Chat')),
|
|
365
365
|
icon: Codicon.settingsGear,
|
|
366
366
|
precondition: CTX_INLINE_CHAT_VISIBLE,
|
|
367
367
|
f1: true,
|
|
@@ -380,7 +380,7 @@ class MoveToNextHunk extends AbstractInlineChatAction {
|
|
|
380
380
|
constructor() {
|
|
381
381
|
super({
|
|
382
382
|
id: 'inlineChat.moveToNextHunk',
|
|
383
|
-
title: ( localize2(
|
|
383
|
+
title: ( localize2(7396, 'Move to Next Change')),
|
|
384
384
|
precondition: CTX_INLINE_CHAT_VISIBLE,
|
|
385
385
|
f1: true,
|
|
386
386
|
keybinding: {
|
|
@@ -397,7 +397,7 @@ class MoveToPreviousHunk extends AbstractInlineChatAction {
|
|
|
397
397
|
constructor() {
|
|
398
398
|
super({
|
|
399
399
|
id: 'inlineChat.moveToPreviousHunk',
|
|
400
|
-
title: ( localize2(
|
|
400
|
+
title: ( localize2(7397, 'Move to Previous Change')),
|
|
401
401
|
f1: true,
|
|
402
402
|
precondition: CTX_INLINE_CHAT_VISIBLE,
|
|
403
403
|
keybinding: {
|
|
@@ -414,7 +414,7 @@ class ViewInChatAction extends AbstractInlineChatAction {
|
|
|
414
414
|
constructor() {
|
|
415
415
|
super({
|
|
416
416
|
id: ACTION_VIEW_IN_CHAT,
|
|
417
|
-
title: ( localize(
|
|
417
|
+
title: ( localize(7398, 'View in Chat')),
|
|
418
418
|
icon: Codicon.commentDiscussion,
|
|
419
419
|
precondition: CTX_INLINE_CHAT_VISIBLE,
|
|
420
420
|
menu: [{
|
|
@@ -452,7 +452,7 @@ class ToggleDiffForChange extends AbstractInlineChatAction {
|
|
|
452
452
|
(CTX_INLINE_CHAT_EDIT_MODE.isEqualTo("live" )),
|
|
453
453
|
CTX_INLINE_CHAT_CHANGE_HAS_DIFF
|
|
454
454
|
))),
|
|
455
|
-
title: ( localize2(
|
|
455
|
+
title: ( localize2(7399, 'Toggle Changes')),
|
|
456
456
|
icon: Codicon.diffSingle,
|
|
457
457
|
toggled: {
|
|
458
458
|
condition: CTX_INLINE_CHAT_CHANGE_SHOWS_DIFF,
|
|
@@ -216,14 +216,14 @@ let InlineChatController = InlineChatController_1 = class InlineChatController {
|
|
|
216
216
|
delete options.position;
|
|
217
217
|
}
|
|
218
218
|
const widgetPosition = this._showWidget(options.headless ?? session?.headless, true, initPosition);
|
|
219
|
-
let errorMessage = ( localize(
|
|
219
|
+
let errorMessage = ( localize(5624, "Failed to start editor chat"));
|
|
220
220
|
if (!session) {
|
|
221
221
|
const createSessionCts = ( (new CancellationTokenSource()));
|
|
222
222
|
const msgListener = Event.once(this._messages.event)(m => {
|
|
223
223
|
this._log('state=_createSession) message received', m);
|
|
224
224
|
if (m === 32 ) {
|
|
225
225
|
options.autoSend = true;
|
|
226
|
-
this._ui.value.widget.updateInfo(( localize(
|
|
226
|
+
this._ui.value.widget.updateInfo(( localize(5625, "Getting ready...")));
|
|
227
227
|
}
|
|
228
228
|
else {
|
|
229
229
|
createSessionCts.cancel();
|
|
@@ -541,7 +541,7 @@ let InlineChatController = InlineChatController_1 = class InlineChatController {
|
|
|
541
541
|
let newPosition;
|
|
542
542
|
if (response.result?.errorDetails) ;
|
|
543
543
|
else if (response.response.value.length === 0) {
|
|
544
|
-
const status = ( localize(
|
|
544
|
+
const status = ( localize(5626, "No results, please refine your input and try again"));
|
|
545
545
|
this._ui.value.widget.updateStatus(status, { classes: ['warn'] });
|
|
546
546
|
}
|
|
547
547
|
else {
|
|
@@ -575,7 +575,7 @@ let InlineChatController = InlineChatController_1 = class InlineChatController {
|
|
|
575
575
|
await this._strategy.apply();
|
|
576
576
|
}
|
|
577
577
|
catch (err) {
|
|
578
|
-
this._dialogService.error(( localize(
|
|
578
|
+
this._dialogService.error(( localize(5627, "Failed to apply changes.", toErrorMessage(err))));
|
|
579
579
|
this._log('FAILED to apply changes');
|
|
580
580
|
this._log(err);
|
|
581
581
|
}
|
|
@@ -595,7 +595,7 @@ let InlineChatController = InlineChatController_1 = class InlineChatController {
|
|
|
595
595
|
undoCancelEdits = this._strategy.cancel();
|
|
596
596
|
}
|
|
597
597
|
catch (err) {
|
|
598
|
-
this._dialogService.error(( localize(
|
|
598
|
+
this._dialogService.error(( localize(5628, "Failed to discard changes.", toErrorMessage(err))));
|
|
599
599
|
this._log('FAILED to discard changes');
|
|
600
600
|
this._log(err);
|
|
601
601
|
}
|
|
@@ -721,7 +721,7 @@ let InlineChatController = InlineChatController_1 = class InlineChatController {
|
|
|
721
721
|
if (!this._session) {
|
|
722
722
|
return;
|
|
723
723
|
}
|
|
724
|
-
const status = ( localize(
|
|
724
|
+
const status = ( localize(5629, "Accept or discard changes to continue saving."));
|
|
725
725
|
this._ui.value.widget.updateStatus(status, { classes: ['warn'] });
|
|
726
726
|
if (this._ui.value.position) {
|
|
727
727
|
this._editor.revealLineInCenterIfOutsideViewport(this._ui.value.position.lineNumber);
|
|
@@ -209,12 +209,12 @@ let InlineChatWidget = class InlineChatWidget {
|
|
|
209
209
|
const kbLabel = this._keybindingService.lookupKeybinding("editor.action.accessibilityHelp" )?.getLabel();
|
|
210
210
|
label = kbLabel
|
|
211
211
|
? ( localize(
|
|
212
|
-
|
|
212
|
+
11470,
|
|
213
213
|
"Inline Chat Input, Use {0} for Inline Chat Accessibility Help.",
|
|
214
214
|
kbLabel
|
|
215
215
|
))
|
|
216
216
|
: ( localize(
|
|
217
|
-
|
|
217
|
+
11471,
|
|
218
218
|
"Inline Chat Input, Run the Inline Chat Accessibility Help command for more information."
|
|
219
219
|
));
|
|
220
220
|
}
|
|
@@ -429,7 +429,7 @@ InlineChatWidget = ( (__decorate([
|
|
|
429
429
|
( (__param(9, IChatService))),
|
|
430
430
|
( (__param(10, IHoverService)))
|
|
431
431
|
], InlineChatWidget)));
|
|
432
|
-
const defaultAriaLabel = ( localize(
|
|
432
|
+
const defaultAriaLabel = ( localize(11472, "Inline Chat Input"));
|
|
433
433
|
let EditorBasedInlineChatWidget = class EditorBasedInlineChatWidget extends InlineChatWidget {
|
|
434
434
|
constructor(location, _parentEditor, options, contextKeyService, keybindingService, instantiationService, accessibilityService, configurationService, accessibleViewService, textModelResolverService, chatService, hoverService) {
|
|
435
435
|
super(location, {
|
|
@@ -183,7 +183,7 @@ let InlineChatZoneWidget = class InlineChatZoneWidget extends ZoneWidget {
|
|
|
183
183
|
this.widget.reset();
|
|
184
184
|
this.widget.chatWidget.setVisible(false);
|
|
185
185
|
super.hide();
|
|
186
|
-
status(( localize(
|
|
186
|
+
status(( localize(10251, 'Closed inline chat widget')));
|
|
187
187
|
scrollState.restore(this.editor);
|
|
188
188
|
}
|
|
189
189
|
};
|
|
@@ -19,7 +19,7 @@ import '../../../../platform/theme/common/colors/searchColors.js';
|
|
|
19
19
|
properties: {
|
|
20
20
|
["inlineChat.mode" ]: {
|
|
21
21
|
description: ( localize(
|
|
22
|
-
|
|
22
|
+
7203,
|
|
23
23
|
"Configure if changes crafted with inline chat are applied directly to the document or are previewed first."
|
|
24
24
|
)),
|
|
25
25
|
default: "live" ,
|
|
@@ -27,11 +27,11 @@ import '../../../../platform/theme/common/colors/searchColors.js';
|
|
|
27
27
|
enum: ["live" , "preview" ],
|
|
28
28
|
markdownEnumDescriptions: [
|
|
29
29
|
( localize(
|
|
30
|
-
|
|
30
|
+
7204,
|
|
31
31
|
"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."
|
|
32
32
|
)),
|
|
33
33
|
( localize(
|
|
34
|
-
|
|
34
|
+
7205,
|
|
35
35
|
"Changes are previewed only and need to be accepted via the apply button. Ending a session will discard the changes."
|
|
36
36
|
)),
|
|
37
37
|
],
|
|
@@ -39,20 +39,20 @@ import '../../../../platform/theme/common/colors/searchColors.js';
|
|
|
39
39
|
},
|
|
40
40
|
["inlineChat.finishOnType" ]: {
|
|
41
41
|
description: ( localize(
|
|
42
|
-
|
|
42
|
+
7206,
|
|
43
43
|
"Whether to finish an inline chat session when typing outside of changed regions."
|
|
44
44
|
)),
|
|
45
45
|
default: false,
|
|
46
46
|
type: 'boolean'
|
|
47
47
|
},
|
|
48
48
|
["inlineChat.acceptedOrDiscardBeforeSave" ]: {
|
|
49
|
-
description: ( localize(
|
|
49
|
+
description: ( localize(7207, "Whether pending inline chat sessions prevent saving.")),
|
|
50
50
|
default: true,
|
|
51
51
|
type: 'boolean'
|
|
52
52
|
},
|
|
53
53
|
["inlineChat.holdToSpeech" ]: {
|
|
54
54
|
description: ( localize(
|
|
55
|
-
|
|
55
|
+
7208,
|
|
56
56
|
"Whether holding the inline chat keybinding will automatically enable speech recognition."
|
|
57
57
|
)),
|
|
58
58
|
default: true,
|
|
@@ -60,7 +60,7 @@ import '../../../../platform/theme/common/colors/searchColors.js';
|
|
|
60
60
|
},
|
|
61
61
|
["inlineChat.accessibleDiffView" ]: {
|
|
62
62
|
description: ( localize(
|
|
63
|
-
|
|
63
|
+
7209,
|
|
64
64
|
"Whether the inline chat also renders an accessible diff viewer for its changes."
|
|
65
65
|
)),
|
|
66
66
|
default: 'auto',
|
|
@@ -68,16 +68,16 @@ import '../../../../platform/theme/common/colors/searchColors.js';
|
|
|
68
68
|
enum: ['auto', 'on', 'off'],
|
|
69
69
|
markdownEnumDescriptions: [
|
|
70
70
|
( localize(
|
|
71
|
-
|
|
71
|
+
7210,
|
|
72
72
|
"The accessible diff viewer is based on screen reader mode being enabled."
|
|
73
73
|
)),
|
|
74
|
-
( localize(
|
|
75
|
-
( localize(
|
|
74
|
+
( localize(7211, "The accessible diff viewer is always enabled.")),
|
|
75
|
+
( localize(7212, "The accessible diff viewer is never enabled.")),
|
|
76
76
|
],
|
|
77
77
|
},
|
|
78
78
|
["inlineChat.experimental.enableZoneToolbar" ]: {
|
|
79
79
|
description: ( localize(
|
|
80
|
-
|
|
80
|
+
7213,
|
|
81
81
|
"Whether to show a toolbar to accept or reject changes in the inline chat changes view."
|
|
82
82
|
)),
|
|
83
83
|
default: false,
|
|
@@ -88,42 +88,42 @@ import '../../../../platform/theme/common/colors/searchColors.js';
|
|
|
88
88
|
});
|
|
89
89
|
const INLINE_CHAT_ID = 'interactiveEditor';
|
|
90
90
|
const CTX_INLINE_CHAT_POSSIBLE = ( (new RawContextKey('inlineChatPossible', false, ( localize(
|
|
91
|
-
|
|
91
|
+
7214,
|
|
92
92
|
"Whether a provider for inline chat exists and whether an editor for inline chat is open"
|
|
93
93
|
)))));
|
|
94
|
-
const CTX_INLINE_CHAT_HAS_AGENT = ( (new RawContextKey('inlineChatHasProvider', false, ( localize(
|
|
95
|
-
const CTX_INLINE_CHAT_VISIBLE = ( (new RawContextKey('inlineChatVisible', false, ( localize(
|
|
96
|
-
const CTX_INLINE_CHAT_FOCUSED = ( (new RawContextKey('inlineChatFocused', false, ( localize(
|
|
94
|
+
const CTX_INLINE_CHAT_HAS_AGENT = ( (new RawContextKey('inlineChatHasProvider', false, ( localize(7215, "Whether a provider for interactive editors exists")))));
|
|
95
|
+
const CTX_INLINE_CHAT_VISIBLE = ( (new RawContextKey('inlineChatVisible', false, ( localize(7216, "Whether the interactive editor input is visible")))));
|
|
96
|
+
const CTX_INLINE_CHAT_FOCUSED = ( (new RawContextKey('inlineChatFocused', false, ( localize(7217, "Whether the interactive editor input is focused")))));
|
|
97
97
|
const CTX_INLINE_CHAT_EDITING = ( (new RawContextKey('inlineChatEditing', true, ( localize(
|
|
98
|
-
|
|
98
|
+
7218,
|
|
99
99
|
"Whether the user is currently editing or generating code in the inline chat"
|
|
100
100
|
)))));
|
|
101
|
-
const CTX_INLINE_CHAT_RESPONSE_FOCUSED = ( (new RawContextKey('inlineChatResponseFocused', false, ( localize(
|
|
102
|
-
const CTX_INLINE_CHAT_EMPTY = ( (new RawContextKey('inlineChatEmpty', false, ( localize(
|
|
101
|
+
const CTX_INLINE_CHAT_RESPONSE_FOCUSED = ( (new RawContextKey('inlineChatResponseFocused', false, ( localize(7219, "Whether the interactive widget's response is focused")))));
|
|
102
|
+
const CTX_INLINE_CHAT_EMPTY = ( (new RawContextKey('inlineChatEmpty', false, ( localize(7220, "Whether the interactive editor input is empty")))));
|
|
103
103
|
const CTX_INLINE_CHAT_INNER_CURSOR_FIRST = ( (new RawContextKey('inlineChatInnerCursorFirst', false, ( localize(
|
|
104
|
-
|
|
104
|
+
7221,
|
|
105
105
|
"Whether the cursor of the iteractive editor input is on the first line"
|
|
106
106
|
)))));
|
|
107
107
|
const CTX_INLINE_CHAT_INNER_CURSOR_LAST = ( (new RawContextKey('inlineChatInnerCursorLast', false, ( localize(
|
|
108
|
-
|
|
108
|
+
7222,
|
|
109
109
|
"Whether the cursor of the iteractive editor input is on the last line"
|
|
110
110
|
)))));
|
|
111
111
|
const CTX_INLINE_CHAT_OUTER_CURSOR_POSITION = ( (new RawContextKey('inlineChatOuterCursorPosition', '', ( localize(
|
|
112
|
-
|
|
112
|
+
7225,
|
|
113
113
|
"Whether the cursor of the outer editor is above or below the interactive editor input"
|
|
114
114
|
)))));
|
|
115
|
-
const CTX_INLINE_CHAT_HAS_STASHED_SESSION = ( (new RawContextKey('inlineChatHasStashedSession', false, ( localize(
|
|
116
|
-
const CTX_INLINE_CHAT_USER_DID_EDIT = ( (new RawContextKey('inlineChatUserDidEdit', undefined, ( localize(
|
|
117
|
-
const CTX_INLINE_CHAT_DOCUMENT_CHANGED = ( (new RawContextKey('inlineChatDocumentChanged', false, ( localize(
|
|
118
|
-
const CTX_INLINE_CHAT_CHANGE_HAS_DIFF = ( (new RawContextKey('inlineChatChangeHasDiff', false, ( localize(
|
|
119
|
-
const CTX_INLINE_CHAT_CHANGE_SHOWS_DIFF = ( (new RawContextKey('inlineChatChangeShowsDiff', false, ( localize(
|
|
115
|
+
const CTX_INLINE_CHAT_HAS_STASHED_SESSION = ( (new RawContextKey('inlineChatHasStashedSession', false, ( localize(7226, "Whether interactive editor has kept a session for quick restore")))));
|
|
116
|
+
const CTX_INLINE_CHAT_USER_DID_EDIT = ( (new RawContextKey('inlineChatUserDidEdit', undefined, ( localize(7227, "Whether the user did changes ontop of the inline chat")))));
|
|
117
|
+
const CTX_INLINE_CHAT_DOCUMENT_CHANGED = ( (new RawContextKey('inlineChatDocumentChanged', false, ( localize(7228, "Whether the document has changed concurrently")))));
|
|
118
|
+
const CTX_INLINE_CHAT_CHANGE_HAS_DIFF = ( (new RawContextKey('inlineChatChangeHasDiff', false, ( localize(7229, "Whether the current change supports showing a diff")))));
|
|
119
|
+
const CTX_INLINE_CHAT_CHANGE_SHOWS_DIFF = ( (new RawContextKey('inlineChatChangeShowsDiff', false, ( localize(7230, "Whether the current change showing a diff")))));
|
|
120
120
|
const CTX_INLINE_CHAT_EDIT_MODE = ( (new RawContextKey('config.inlineChat.mode', "live" )));
|
|
121
|
-
const CTX_INLINE_CHAT_REQUEST_IN_PROGRESS = ( (new RawContextKey('inlineChatRequestInProgress', false, ( localize(
|
|
121
|
+
const CTX_INLINE_CHAT_REQUEST_IN_PROGRESS = ( (new RawContextKey('inlineChatRequestInProgress', false, ( localize(7231, "Whether an inline chat request is currently in progress")))));
|
|
122
122
|
const CTX_INLINE_CHAT_RESPONSE_TYPE = ( (new RawContextKey(
|
|
123
123
|
'inlineChatResponseType',
|
|
124
124
|
"none" ,
|
|
125
125
|
( localize(
|
|
126
|
-
|
|
126
|
+
7232,
|
|
127
127
|
"What type was the responses have been receieved, nothing yet, just messages, or messaged and local edits"
|
|
128
128
|
))
|
|
129
129
|
)));
|
|
@@ -136,17 +136,17 @@ const ACTION_REPORT_ISSUE = 'inlineChat.reportIssue';
|
|
|
136
136
|
const MENU_INLINE_CHAT_WIDGET_STATUS = MenuId.for('inlineChatWidget.status');
|
|
137
137
|
const MENU_INLINE_CHAT_WIDGET_SECONDARY = MenuId.for('inlineChatWidget.secondary');
|
|
138
138
|
const MENU_INLINE_CHAT_ZONE = MenuId.for('inlineChatWidget.changesZone');
|
|
139
|
-
const inlineChatForeground = registerColor('inlineChat.foreground', editorWidgetForeground, ( localize(
|
|
140
|
-
const inlineChatBackground = registerColor('inlineChat.background', editorWidgetBackground, ( localize(
|
|
141
|
-
registerColor('inlineChat.border', editorWidgetBorder, ( localize(
|
|
142
|
-
registerColor('inlineChat.shadow', widgetShadow, ( localize(
|
|
143
|
-
registerColor('inlineChatInput.border', editorWidgetBorder, ( localize(
|
|
144
|
-
registerColor('inlineChatInput.focusBorder', focusBorder, ( localize(
|
|
145
|
-
registerColor('inlineChatInput.placeholderForeground', inputPlaceholderForeground, ( localize(
|
|
146
|
-
registerColor('inlineChatInput.background', inputBackground, ( localize(
|
|
147
|
-
registerColor('inlineChatDiff.inserted', ( (transparent(diffInserted, .5))), ( localize(
|
|
148
|
-
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(
|
|
149
|
-
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(
|
|
150
|
-
registerColor('inlineChatDiff.removed', ( (transparent(diffRemoved, .5))), ( localize(
|
|
151
|
-
registerColor('editorOverviewRuler.inlineChatRemoved', { dark: ( (transparent(diffRemoved, 0.6))), light: ( (transparent(diffRemoved, 0.8))), hcDark: ( (transparent(diffRemoved, 0.6))), hcLight: ( (transparent(diffRemoved, 0.8))) }, ( localize(
|
|
139
|
+
const inlineChatForeground = registerColor('inlineChat.foreground', editorWidgetForeground, ( localize(7233, "Foreground color of the interactive editor widget")));
|
|
140
|
+
const inlineChatBackground = registerColor('inlineChat.background', editorWidgetBackground, ( localize(7234, "Background color of the interactive editor widget")));
|
|
141
|
+
registerColor('inlineChat.border', editorWidgetBorder, ( localize(7235, "Border color of the interactive editor widget")));
|
|
142
|
+
registerColor('inlineChat.shadow', widgetShadow, ( localize(7236, "Shadow color of the interactive editor widget")));
|
|
143
|
+
registerColor('inlineChatInput.border', editorWidgetBorder, ( localize(7237, "Border color of the interactive editor input")));
|
|
144
|
+
registerColor('inlineChatInput.focusBorder', focusBorder, ( localize(7238, "Border color of the interactive editor input when focused")));
|
|
145
|
+
registerColor('inlineChatInput.placeholderForeground', inputPlaceholderForeground, ( localize(7239, "Foreground color of the interactive editor input placeholder")));
|
|
146
|
+
registerColor('inlineChatInput.background', inputBackground, ( localize(7240, "Background color of the interactive editor input")));
|
|
147
|
+
registerColor('inlineChatDiff.inserted', ( (transparent(diffInserted, .5))), ( localize(7241, "Background color of inserted text in the interactive editor input")));
|
|
148
|
+
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(7242, 'Overview ruler marker color for inline chat inserted content.')));
|
|
149
|
+
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(7242, 'Overview ruler marker color for inline chat inserted content.')));
|
|
150
|
+
registerColor('inlineChatDiff.removed', ( (transparent(diffRemoved, .5))), ( localize(7243, "Background color of removed text in the interactive editor input")));
|
|
151
|
+
registerColor('editorOverviewRuler.inlineChatRemoved', { dark: ( (transparent(diffRemoved, 0.6))), light: ( (transparent(diffRemoved, 0.8))), hcDark: ( (transparent(diffRemoved, 0.6))), hcLight: ( (transparent(diffRemoved, 0.8))) }, ( localize(7244, 'Overview ruler marker color for inline chat removed content.')));
|
|
152
152
|
export { ACTION_ACCEPT_CHANGES, ACTION_DISCARD_CHANGES, ACTION_REGENERATE_RESPONSE, ACTION_REPORT_ISSUE, ACTION_TOGGLE_DIFF, ACTION_VIEW_IN_CHAT, CTX_INLINE_CHAT_CHANGE_HAS_DIFF, CTX_INLINE_CHAT_CHANGE_SHOWS_DIFF, CTX_INLINE_CHAT_DOCUMENT_CHANGED, CTX_INLINE_CHAT_EDITING, 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_POSSIBLE, 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, INLINE_CHAT_ID, MENU_INLINE_CHAT_WIDGET_SECONDARY, MENU_INLINE_CHAT_WIDGET_STATUS, MENU_INLINE_CHAT_ZONE, inlineChatBackground, inlineChatForeground, minimapInlineChatDiffInserted, overviewRulerInlineChatDiffInserted };
|