@codingame/monaco-vscode-api 7.1.0 → 7.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api.js +60 -10
- package/extensions.d.ts +9 -0
- package/l10n.d.ts +13 -1
- package/l10n.js +3 -2
- package/missing-services.js +35 -21
- package/package.json +9 -9
- package/services.js +2 -2
- package/vscode/src/vs/base/browser/browser.js +4 -1
- package/vscode/src/vs/base/browser/defaultWorkerFactory.js +7 -1
- package/vscode/src/vs/base/browser/dom.js +8 -1
- package/vscode/src/vs/base/browser/markdownRenderer.js +1 -1
- package/vscode/src/vs/base/browser/ui/actionbar/actionViewItems.d.ts +1 -0
- package/vscode/src/vs/base/browser/ui/actionbar/actionViewItems.js +13 -6
- package/vscode/src/vs/base/browser/ui/actionbar/actionbar.js +1 -1
- package/vscode/src/vs/base/browser/ui/button/button.js +2 -3
- package/vscode/src/vs/base/browser/ui/dialog/dialog.js +7 -8
- package/vscode/src/vs/base/browser/ui/dropdown/dropdownActionViewItem.js +2 -3
- package/vscode/src/vs/base/browser/ui/findinput/findInput.js +2 -3
- package/vscode/src/vs/base/browser/ui/findinput/findInputToggles.js +4 -5
- package/vscode/src/vs/base/browser/ui/findinput/replaceInput.js +3 -4
- package/vscode/src/vs/base/browser/ui/hover/hoverWidget.css.js +1 -1
- package/vscode/src/vs/base/browser/ui/hover/hoverWidget.js +3 -5
- package/vscode/src/vs/base/browser/ui/icons/iconSelectBox.js +3 -4
- package/vscode/src/vs/base/browser/ui/inputbox/inputBox.js +7 -8
- package/vscode/src/vs/base/browser/ui/keybindingLabel/keybindingLabel.js +2 -3
- package/vscode/src/vs/base/browser/ui/list/listView.js +2 -2
- package/vscode/src/vs/base/browser/ui/menu/menubar.js +2 -3
- package/vscode/src/vs/base/browser/ui/selectBox/selectBoxCustom.js +4 -5
- package/vscode/src/vs/base/browser/ui/splitview/paneview.js +2 -3
- package/vscode/src/vs/base/browser/ui/table/tableWidget.js +1 -1
- package/vscode/src/vs/base/browser/ui/toggle/toggle.css.js +1 -1
- package/vscode/src/vs/base/browser/ui/toolbar/toolbar.js +2 -3
- package/vscode/src/vs/base/browser/ui/tree/abstractTree.js +11 -12
- package/vscode/src/vs/base/browser/ui/tree/treeDefaults.js +2 -3
- package/vscode/src/vs/base/common/actions.js +2 -3
- package/vscode/src/vs/base/common/arrays.js +7 -1
- package/vscode/src/vs/base/common/date.js +61 -63
- package/vscode/src/vs/base/common/errorMessage.js +8 -22
- package/vscode/src/vs/base/common/event.d.ts +16 -0
- package/vscode/src/vs/base/common/event.js +4 -0
- package/vscode/src/vs/base/common/hotReload.js +13 -1
- package/vscode/src/vs/base/common/hotReloadHelpers.js +25 -0
- package/vscode/src/vs/base/common/jsonErrorMessages.js +10 -11
- package/vscode/src/vs/base/common/jsonSchema.js +122 -0
- package/vscode/src/vs/base/common/keybindingLabels.js +21 -22
- package/vscode/src/vs/base/common/labels.js +2 -2
- package/vscode/src/vs/base/common/network.js +1 -1
- package/vscode/src/vs/base/common/observableInternal/base.d.ts +1 -0
- package/vscode/src/vs/base/common/observableInternal/base.js +6 -0
- package/vscode/src/vs/base/common/observableInternal/utils.js +4 -1
- package/vscode/src/vs/base/common/path.d.ts +1 -1
- package/vscode/src/vs/base/common/path.js +20 -17
- package/vscode/src/vs/base/common/performance.js +78 -15
- package/vscode/src/vs/base/common/platform.js +14 -17
- package/vscode/src/vs/base/common/prefixTree.d.ts +2 -0
- package/vscode/src/vs/base/common/prefixTree.js +3 -0
- package/vscode/src/vs/base/common/product.d.ts +3 -7
- package/vscode/src/vs/base/common/uri.js +3 -0
- package/vscode/src/vs/base/parts/ipc/common/ipc.net.js +6 -3
- package/vscode/src/vs/editor/browser/controller/mouseHandler.js +66 -18
- package/vscode/src/vs/editor/browser/controller/mouseTarget.js +18 -5
- package/vscode/src/vs/editor/browser/controller/pointerHandler.js +3 -3
- package/vscode/src/vs/editor/browser/controller/textAreaHandler.js +9 -13
- package/vscode/src/vs/editor/browser/coreCommands.js +4 -5
- package/vscode/src/vs/editor/browser/editorExtensions.js +7 -8
- package/vscode/src/vs/editor/browser/observableCodeEditor.js +2 -0
- package/vscode/src/vs/editor/browser/services/hoverService/hoverWidget.js +2 -3
- package/vscode/src/vs/editor/browser/services/hoverService/updatableHoverWidget.js +2 -3
- package/vscode/src/vs/editor/browser/view.js +3 -1
- package/vscode/src/vs/editor/browser/viewParts/overviewRuler/decorationsOverviewRuler.js +1 -2
- package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorWidget.js +4 -6
- package/vscode/src/vs/editor/browser/widget/codeEditor/editor.css.js +1 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/commands.js +13 -14
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/accessibleDiffViewer.js +17 -38
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorDecorations.js +20 -2
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorEditors.js +6 -6
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/diffEditorViewZones.js +11 -2
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/inlineDiffDeletedCodeMargin.js +10 -13
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditor.contribution.js +6 -7
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorOptions.js +37 -3
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorViewModel.js +4 -2
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorWidget.js +33 -23
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/hideUnchangedRegionsFeature.js +91 -41
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/movedBlocksLinesFeature.js +9 -14
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/overviewRulerFeature.js +1 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/revertButtonsFeature.js +3 -4
- package/vscode/src/vs/editor/browser/widget/diffEditor/registrations.contribution.js +7 -13
- package/vscode/src/vs/editor/browser/widget/diffEditor/style.css.js +1 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/utils.js +80 -21
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/colors.js +4 -5
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/diffEditorItemTemplate.js +24 -18
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorViewModel.js +26 -13
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidget.js +4 -1
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidgetImpl.js +8 -4
- package/vscode/src/vs/editor/common/config/diffEditor.js +2 -0
- package/vscode/src/vs/editor/common/config/editorConfigurationSchema.js +86 -115
- package/vscode/src/vs/editor/common/config/editorOptions.d.ts +11 -1
- package/vscode/src/vs/editor/common/config/editorOptions.js +547 -932
- package/vscode/src/vs/editor/common/core/editorColorRegistry.js +102 -144
- package/vscode/src/vs/editor/common/core/lineRange.js +1 -1
- package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/diffAlgorithm.js +11 -0
- package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/computeMovedLines.js +2 -2
- package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/defaultLinesDiffComputer.js +8 -3
- package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/linesSliceCharSequence.js +34 -34
- package/vscode/src/vs/editor/common/diff/rangeMapping.d.ts +7 -0
- package/vscode/src/vs/editor/common/diff/rangeMapping.js +40 -0
- package/vscode/src/vs/editor/common/editorContextKeys.js +52 -69
- package/vscode/src/vs/editor/common/languageFeatureRegistry.d.ts +1 -1
- package/vscode/src/vs/editor/common/languageFeatureRegistry.js +27 -14
- package/vscode/src/vs/editor/common/languages/modesRegistry.js +2 -3
- package/vscode/src/vs/editor/common/languages.d.ts +4 -0
- package/vscode/src/vs/editor/common/languages.js +28 -29
- package/vscode/src/vs/editor/common/model/editStack.js +2 -3
- package/vscode/src/vs/editor/common/model/guidesTextModelPart.js +1 -1
- package/vscode/src/vs/editor/common/standaloneStrings.js +57 -54
- package/vscode/src/vs/editor/common/viewLayout/viewLineRenderer.js +3 -9
- package/vscode/src/vs/editor/common/viewModel/modelLineProjection.js +1 -1
- package/vscode/src/vs/editor/contrib/anchorSelect/browser/anchorSelect.js +7 -14
- package/vscode/src/vs/editor/contrib/bracketMatching/browser/bracketMatching.js +7 -12
- package/vscode/src/vs/editor/contrib/caretOperations/browser/caretOperations.js +3 -4
- package/vscode/src/vs/editor/contrib/caretOperations/browser/transpose.js +2 -3
- package/vscode/src/vs/editor/contrib/clipboard/browser/clipboard.js +18 -19
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeAction.js +2 -3
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionCommands.js +29 -53
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionContributions.js +22 -10
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionController.js +8 -9
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionMenu.js +9 -10
- package/vscode/src/vs/editor/contrib/codeAction/browser/lightBulbWidget.css.js +1 -1
- package/vscode/src/vs/editor/contrib/codeAction/browser/lightBulbWidget.js +183 -9
- package/vscode/src/vs/editor/contrib/codelens/browser/codeLensCache.js +4 -5
- package/vscode/src/vs/editor/contrib/codelens/browser/codelensController.js +3 -4
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorHoverParticipant.js +2 -3
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerWidget.js +3 -4
- package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPickerActions.js +10 -13
- package/vscode/src/vs/editor/contrib/comment/browser/comment.js +7 -8
- package/vscode/src/vs/editor/contrib/contextmenu/browser/contextmenu.js +12 -15
- package/vscode/src/vs/editor/contrib/cursorUndo/browser/cursorUndo.js +3 -4
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution.js +5 -7
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.js +9 -11
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/defaultProviders.js +9 -10
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorContribution.js +3 -5
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController.js +4 -5
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/postEditWidget.js +3 -16
- package/vscode/src/vs/editor/contrib/editorState/browser/keybindingCancellation.js +3 -5
- package/vscode/src/vs/editor/contrib/find/browser/findController.js +20 -24
- package/vscode/src/vs/editor/contrib/find/browser/findModel.js +6 -1
- package/vscode/src/vs/editor/contrib/find/browser/findWidget.js +31 -35
- package/vscode/src/vs/editor/contrib/folding/browser/folding.js +20 -21
- package/vscode/src/vs/editor/contrib/folding/browser/foldingDecorations.js +11 -25
- package/vscode/src/vs/editor/contrib/fontZoom/browser/fontZoom.js +4 -5
- package/vscode/src/vs/editor/contrib/format/browser/formatActions.js +3 -4
- package/vscode/src/vs/editor/contrib/gotoError/browser/gotoError.js +9 -10
- package/vscode/src/vs/editor/contrib/gotoError/browser/gotoErrorWidget.js +18 -25
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/goToCommands.js +46 -47
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/goToSymbol.js +42 -17
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition.js +3 -4
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesController.js +5 -13
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesTree.js +4 -5
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.js +4 -5
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/referencesModel.js +15 -22
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/symbolNavigation.js +7 -11
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverRendered.js +5 -7
- package/vscode/src/vs/editor/contrib/hover/browser/getHover.js +8 -4
- package/vscode/src/vs/editor/contrib/hover/browser/hoverAccessibleViews.js +24 -38
- package/vscode/src/vs/editor/contrib/hover/browser/hoverActionIds.js +3 -4
- package/vscode/src/vs/editor/contrib/hover/browser/hoverActions.js +25 -27
- package/vscode/src/vs/editor/contrib/hover/browser/markdownHoverParticipant.js +12 -15
- package/vscode/src/vs/editor/contrib/hover/browser/markerHoverParticipant.js +6 -7
- package/vscode/src/vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace.js +3 -4
- package/vscode/src/vs/editor/contrib/indentation/browser/indentation.js +21 -22
- package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsHover.js +9 -10
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/commands.js +12 -13
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/ghostTextWidget.js +2 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hoverParticipant.js +3 -4
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionContextKeys.js +7 -10
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsAccessibleView.js +51 -42
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsController.js +3 -5
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsHintsWidget.js +6 -7
- package/vscode/src/vs/editor/contrib/inlineEdit/browser/ghostTextWidget.js +12 -16
- package/vscode/src/vs/editor/contrib/inlineEdit/browser/inlineEdit.contribution.js +0 -3
- package/vscode/src/vs/editor/contrib/inlineEdit/browser/inlineEdit.css.js +1 -1
- package/vscode/src/vs/editor/contrib/inlineEdit/browser/inlineEditController.js +58 -39
- package/vscode/src/vs/editor/contrib/inlineEdit/browser/inlineEditHintsWidget.js +1 -1
- package/vscode/src/vs/editor/contrib/inlineEdit/browser/inlineEditSideBySideWidget.css.js +4 -0
- package/vscode/src/vs/editor/contrib/inlineEdit/browser/inlineEditSideBySideWidget.js +301 -0
- package/vscode/src/vs/editor/contrib/inlineEdits/browser/commands.js +7 -8
- package/vscode/src/vs/editor/contrib/inlineEdits/browser/consts.js +3 -4
- package/vscode/src/vs/editor/contrib/inlineEdits/browser/inlineEditsController.js +1 -1
- package/vscode/src/vs/editor/contrib/inlineEdits/browser/inlineEditsWidget.js +1 -1
- package/vscode/src/vs/editor/contrib/lineSelection/browser/lineSelection.js +2 -3
- package/vscode/src/vs/editor/contrib/linesOperations/browser/linesOperations.js +31 -32
- package/vscode/src/vs/editor/contrib/linkedEditing/browser/linkedEditing.js +3 -4
- package/vscode/src/vs/editor/contrib/links/browser/links.js +12 -14
- package/vscode/src/vs/editor/contrib/message/browser/messageController.js +2 -3
- package/vscode/src/vs/editor/contrib/multicursor/browser/multicursor.js +23 -24
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHints.css.js +1 -1
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHints.js +2 -3
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.js +11 -12
- package/vscode/src/vs/editor/contrib/peekView/browser/peekView.js +20 -35
- package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderText.contribution.js +5 -56
- package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderText.css.js +1 -1
- package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderTextContribution.js +71 -0
- package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess.js +8 -11
- package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess.js +35 -41
- package/vscode/src/vs/editor/contrib/readOnlyMessage/browser/contribution.js +3 -4
- package/vscode/src/vs/editor/contrib/rename/browser/rename.js +13 -25
- package/vscode/src/vs/editor/contrib/rename/browser/renameWidget.js +9 -11
- package/vscode/src/vs/editor/contrib/smartSelect/browser/smartSelect.js +5 -6
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetController2.js +5 -6
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetVariables.js +5 -6
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollActions.js +13 -15
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollController.js +1 -1
- package/vscode/src/vs/editor/contrib/suggest/browser/suggest.js +10 -20
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestController.js +12 -14
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidget.js +19 -32
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetDetails.js +3 -4
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.js +3 -4
- package/vscode/src/vs/editor/contrib/symbolIcons/browser/symbolIcons.js +67 -101
- package/vscode/src/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.js +6 -12
- package/vscode/src/vs/editor/contrib/tokenization/browser/tokenization.js +2 -3
- package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js +30 -49
- package/vscode/src/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.js +7 -9
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.js +18 -27
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.js +5 -6
- package/vscode/src/vs/editor/contrib/wordOperations/browser/wordOperations.js +2 -3
- package/vscode/src/vs/nls.js +27 -21
- package/vscode/src/vs/platform/accessibility/browser/accessibleView.js +15 -9
- package/vscode/src/vs/platform/accessibility/browser/accessibleViewRegistry.js +1 -16
- package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.d.ts +0 -1
- package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +53 -56
- package/vscode/src/vs/platform/action/common/actionCommonCategories.js +7 -8
- package/vscode/src/vs/platform/actionWidget/browser/actionList.js +5 -6
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.js +8 -9
- package/vscode/src/vs/platform/actions/browser/buttonbar.js +4 -5
- package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.js +43 -13
- package/vscode/src/vs/platform/actions/browser/toolbar.js +5 -6
- package/vscode/src/vs/platform/actions/common/actions.d.ts +4 -0
- package/vscode/src/vs/platform/actions/common/actions.js +4 -0
- package/vscode/src/vs/platform/actions/common/actions.service.d.ts +14 -1
- package/vscode/src/vs/platform/actions/common/menuResetAction.js +2 -3
- package/vscode/src/vs/platform/actions/common/menuService.js +52 -21
- package/vscode/src/vs/platform/configuration/common/configurationModels.js +11 -3
- package/vscode/src/vs/platform/configuration/common/configurationRegistry.d.ts +14 -8
- package/vscode/src/vs/platform/configuration/common/configurationRegistry.js +180 -146
- package/vscode/src/vs/platform/configuration/common/configurations.js +2 -2
- package/vscode/src/vs/platform/contextkey/browser/contextKeyService.js +2 -3
- package/vscode/src/vs/platform/contextkey/common/contextkey.js +13 -21
- package/vscode/src/vs/platform/contextkey/common/contextkeys.js +10 -15
- package/vscode/src/vs/platform/contextkey/common/scanner.js +7 -16
- package/vscode/src/vs/platform/contextview/browser/contextMenuService.js +2 -3
- package/vscode/src/vs/platform/dialogs/common/dialogs.js +11 -13
- package/vscode/src/vs/platform/dnd/browser/dnd.js +3 -5
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.d.ts +7 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +3 -5
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.service.d.ts +3 -2
- package/vscode/src/vs/platform/extensionManagement/common/extensionNls.js +2 -3
- package/vscode/src/vs/platform/extensionManagement/common/extensionStorage.js +1 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.js +25 -33
- package/vscode/src/vs/platform/extensions/common/extensionValidator.js +33 -67
- package/vscode/src/vs/platform/extensions/common/extensions.d.ts +3 -18
- package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.js +31 -0
- package/vscode/src/vs/platform/files/browser/htmlFileSystemProvider.js +3 -8
- package/vscode/src/vs/platform/files/common/files.js +7 -8
- package/vscode/src/vs/platform/history/browser/contextScopedHistoryWidget.js +2 -3
- package/vscode/src/vs/platform/instantiation/common/instantiationService.js +5 -0
- package/vscode/src/vs/platform/jsonschemas/common/jsonContributionRegistry.d.ts +10 -0
- package/vscode/src/vs/platform/jsonschemas/common/jsonContributionRegistry.js +8 -0
- package/vscode/src/vs/platform/keybinding/common/abstractKeybindingService.js +9 -14
- package/vscode/src/vs/platform/languagePacks/common/languagePacks.js +2 -3
- package/vscode/src/vs/platform/languagePacks/common/localizedStrings.js +4 -5
- package/vscode/src/vs/platform/list/browser/listService.js +43 -71
- package/vscode/src/vs/platform/log/common/log.js +7 -8
- package/vscode/src/vs/platform/markers/common/markers.js +4 -5
- package/vscode/src/vs/platform/observable/common/wrapInReloadableClass.js +51 -0
- package/vscode/src/vs/platform/quickinput/browser/media/quickInput.css.js +1 -1
- package/vscode/src/vs/platform/quickinput/browser/quickInput.js +39 -32
- package/vscode/src/vs/platform/quickinput/browser/quickInputActions.js +7 -11
- package/vscode/src/vs/platform/quickinput/browser/quickInputController.js +14 -11
- package/vscode/src/vs/platform/quickinput/browser/quickInputTree.js +99 -142
- package/vscode/src/vs/platform/quickinput/browser/quickInputUtils.js +3 -5
- package/vscode/src/vs/platform/quickinput/browser/quickPickPin.js +3 -4
- package/vscode/src/vs/platform/quickinput/common/quickInput.d.ts +16 -1
- package/vscode/src/vs/platform/quickinput/common/quickInput.js +6 -1
- package/vscode/src/vs/platform/request/common/request.js +23 -36
- package/vscode/src/vs/platform/theme/browser/defaultStyles.js +11 -2
- package/vscode/src/vs/platform/theme/common/colorUtils.js +3 -4
- package/vscode/src/vs/platform/theme/common/colors/baseColors.js +27 -37
- package/vscode/src/vs/platform/theme/common/colors/chartsColors.js +10 -11
- package/vscode/src/vs/platform/theme/common/colors/editorColors.js +120 -207
- package/vscode/src/vs/platform/theme/common/colors/inputColors.js +53 -61
- package/vscode/src/vs/platform/theme/common/colors/listColors.js +51 -98
- package/vscode/src/vs/platform/theme/common/colors/menuColors.js +8 -9
- package/vscode/src/vs/platform/theme/common/colors/minimapColors.js +13 -15
- package/vscode/src/vs/platform/theme/common/colors/miscColors.js +12 -16
- package/vscode/src/vs/platform/theme/common/colors/quickpickColors.js +13 -17
- package/vscode/src/vs/platform/theme/common/colors/searchColors.js +4 -9
- package/vscode/src/vs/platform/theme/common/iconRegistry.js +7 -9
- package/vscode/src/vs/platform/theme/common/tokenClassificationRegistry.js +49 -56
- package/vscode/src/vs/platform/undoRedo/common/undoRedoService.js +35 -55
- package/vscode/src/vs/platform/userDataProfile/common/userDataProfile.js +2 -3
- package/vscode/src/vs/platform/userDataSync/common/abstractSynchronizer.js +5 -8
- package/vscode/src/vs/platform/userDataSync/common/userDataSync.js +38 -19
- package/vscode/src/vs/platform/userDataSync/common/userDataSyncMachines.js +3 -5
- package/vscode/src/vs/platform/workspace/common/workspace.js +2 -3
- package/vscode/src/vs/workbench/api/common/extHost.api.impl.js +88 -8
- package/vscode/src/vs/workbench/api/common/extHostApiCommands.js +60 -0
- package/vscode/src/vs/workbench/api/common/extHostChatAgents2.js +48 -18
- package/vscode/src/vs/workbench/api/common/extHostComments.js +26 -4
- package/vscode/src/vs/workbench/api/common/extHostDiagnostics.js +4 -6
- package/vscode/src/vs/workbench/api/common/extHostDocumentData.js +3 -0
- package/vscode/src/vs/workbench/api/common/extHostEmbedding.js +1 -0
- package/vscode/src/vs/workbench/api/common/extHostExtensionActivator.js +6 -5
- package/vscode/src/vs/workbench/api/common/extHostExtensionService.js +19 -17
- package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +45 -48
- package/vscode/src/vs/workbench/api/common/extHostLanguageModelTools.js +2 -1
- package/vscode/src/vs/workbench/api/common/extHostLanguageModels.js +2 -3
- package/vscode/src/vs/workbench/api/common/extHostLogService.js +2 -3
- package/vscode/src/vs/workbench/api/common/extHostNotebook.js +3 -9
- package/vscode/src/vs/workbench/api/common/extHostNotebookDocument.js +3 -0
- package/vscode/src/vs/workbench/api/common/extHostNotebookEditor.js +3 -0
- package/vscode/src/vs/workbench/api/common/extHostQuickOpen.js +12 -8
- package/vscode/src/vs/workbench/api/common/extHostSCM.js +5 -5
- package/vscode/src/vs/workbench/api/common/extHostStatusBar.js +4 -6
- package/vscode/src/vs/workbench/api/common/extHostTelemetry.js +3 -5
- package/vscode/src/vs/workbench/api/common/extHostTerminalService.js +2 -8
- package/vscode/src/vs/workbench/api/common/extHostTerminalShellIntegration.js +4 -4
- package/vscode/src/vs/workbench/api/common/extHostTesting.js +69 -6
- package/vscode/src/vs/workbench/api/common/extHostTextEditor.js +4 -1
- package/vscode/src/vs/workbench/api/common/extHostTreeViews.js +2 -3
- package/vscode/src/vs/workbench/api/common/extHostTunnelService.js +3 -4
- package/vscode/src/vs/workbench/api/common/extHostTypeConverters.js +41 -11
- package/vscode/src/vs/workbench/api/common/extHostTypes.js +78 -23
- package/vscode/src/vs/workbench/api/common/extHostWorkspace.js +10 -5
- package/vscode/src/vs/workbench/api/common/jsonValidationExtensionPoint.js +19 -30
- package/vscode/src/vs/workbench/browser/actions/developerActions.js +41 -59
- package/vscode/src/vs/workbench/browser/actions/layoutActions.js +161 -132
- package/vscode/src/vs/workbench/browser/actions/textInputActions.js +7 -8
- package/vscode/src/vs/workbench/browser/actions/windowActions.js +30 -43
- package/vscode/src/vs/workbench/browser/actions/workspaceActions.js +22 -23
- package/vscode/src/vs/workbench/browser/actions/workspaceCommands.js +5 -6
- package/vscode/src/vs/workbench/browser/actions.js +2 -3
- package/vscode/src/vs/workbench/browser/editor.js +3 -4
- package/vscode/src/vs/workbench/browser/labels.js +3 -4
- package/vscode/src/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarActions.js +12 -17
- package/vscode/src/vs/workbench/browser/parts/compositeBarActions.js +16 -25
- package/vscode/src/vs/workbench/browser/parts/editor/binaryDiffEditor.js +2 -3
- package/vscode/src/vs/workbench/browser/parts/editor/binaryEditor.js +5 -7
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbs.js +45 -53
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsControl.js +12 -13
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsPicker.js +2 -3
- package/vscode/src/vs/workbench/browser/parts/editor/diffEditorCommands.js +7 -8
- package/vscode/src/vs/workbench/browser/parts/editor/editorActions.js +153 -156
- package/vscode/src/vs/workbench/browser/parts/editor/editorCommands.js +206 -329
- package/vscode/src/vs/workbench/browser/parts/editor/editorCommandsContext.js +134 -0
- package/vscode/src/vs/workbench/browser/parts/editor/editorGroupView.js +17 -17
- package/vscode/src/vs/workbench/browser/parts/editor/editorGroupWatermark.js +14 -15
- package/vscode/src/vs/workbench/browser/parts/editor/editorPanes.js +3 -4
- package/vscode/src/vs/workbench/browser/parts/editor/editorPlaceholder.js +15 -23
- package/vscode/src/vs/workbench/browser/parts/editor/editorQuickAccess.js +8 -11
- package/vscode/src/vs/workbench/browser/parts/editor/editorStatus.js +63 -75
- package/vscode/src/vs/workbench/browser/parts/editor/editorTabsControl.js +3 -4
- package/vscode/src/vs/workbench/browser/parts/editor/multiEditorTabsControl.js +16 -17
- package/vscode/src/vs/workbench/browser/parts/editor/multiRowEditorTabsControl.js +1 -3
- package/vscode/src/vs/workbench/browser/parts/editor/sideBySideEditor.js +2 -3
- package/vscode/src/vs/workbench/browser/parts/editor/textCodeEditor.js +2 -3
- package/vscode/src/vs/workbench/browser/parts/editor/textDiffEditor.js +6 -9
- package/vscode/src/vs/workbench/browser/parts/editor/textEditor.js +2 -3
- package/vscode/src/vs/workbench/browser/parts/globalCompositeBar.js +17 -19
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsActions.js +18 -19
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsAlerts.js +7 -11
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCenter.js +7 -8
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCommands.js +10 -11
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsList.js +9 -24
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsStatus.js +16 -28
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsToasts.js +4 -11
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsViewer.js +6 -13
- package/vscode/src/vs/workbench/browser/parts/panel/media/panelpart.css.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/panel/panelActions.js +48 -49
- package/vscode/src/vs/workbench/browser/parts/titlebar/menubarControl.js +20 -22
- package/vscode/src/vs/workbench/browser/parts/titlebar/windowTitle.js +3 -4
- package/vscode/src/vs/workbench/browser/parts/views/checkbox.js +2 -3
- package/vscode/src/vs/workbench/browser/parts/views/treeView.js +55 -49
- package/vscode/src/vs/workbench/browser/parts/views/viewFilter.js +2 -3
- package/vscode/src/vs/workbench/browser/parts/views/viewPane.d.ts +2 -2
- package/vscode/src/vs/workbench/browser/parts/views/viewPane.js +12 -11
- package/vscode/src/vs/workbench/browser/parts/views/viewPaneContainer.js +11 -11
- package/vscode/src/vs/workbench/browser/quickaccess.js +2 -3
- package/vscode/src/vs/workbench/browser/window.js +20 -28
- package/vscode/src/vs/workbench/browser/workbench.contribution.js +376 -584
- package/vscode/src/vs/workbench/common/configuration.js +15 -19
- package/vscode/src/vs/workbench/common/contextkeys.js +87 -100
- package/vscode/src/vs/workbench/common/editor/diffEditorInput.js +2 -3
- package/vscode/src/vs/workbench/common/editor/sideBySideEditorInput.js +2 -9
- package/vscode/src/vs/workbench/common/editor/textEditorModel.js +3 -5
- package/vscode/src/vs/workbench/common/editor.d.ts +5 -2
- package/vscode/src/vs/workbench/common/editor.js +5 -6
- package/vscode/src/vs/workbench/common/theme.js +281 -450
- package/vscode/src/vs/workbench/common/views.js +7 -11
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +207 -284
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleViewActions.js +50 -16
- package/vscode/src/vs/workbench/contrib/accessibility/browser/editorAccessibilityHelp.js +5 -2
- package/vscode/src/vs/workbench/contrib/accessibility/common/accessibilityCommands.js +1 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatActions.js +29 -15
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatClear.js +17 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatExecuteActions.js +5 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatQuickInputActions.js +10 -15
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.js +2 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/chatAccessibilityProvider.js +26 -27
- package/vscode/src/vs/workbench/contrib/chat/browser/chatAgentHover.js +3 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatAttachmentsContentPart.js +119 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatCodeCitationContentPart.js +48 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatCommandContentPart.js +2 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatConfirmationContentPart.js +11 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatReferencesContentPart.js +62 -33
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatTaskContentPart.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatTextEditContentPart.js +5 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatTreeContentPart.js +2 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditorInput.js +3 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/chatFollowups.js +2 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/chatInputPart.js +47 -26
- package/vscode/src/vs/workbench/contrib/chat/browser/chatListRenderer.js +64 -37
- package/vscode/src/vs/workbench/contrib/chat/browser/chatMarkdownRenderer.js +2 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatWidget.js +36 -20
- package/vscode/src/vs/workbench/contrib/chat/browser/codeBlockPart.js +32 -29
- package/vscode/src/vs/workbench/contrib/chat/browser/contrib/chatDynamicVariables.js +8 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/media/chat.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.js +0 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatColors.js +7 -8
- package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.js +17 -28
- package/vscode/src/vs/workbench/contrib/chat/common/chatModel.js +59 -9
- package/vscode/src/vs/workbench/contrib/chat/common/chatRequestParser.js +10 -3
- package/vscode/src/vs/workbench/contrib/chat/common/chatService.js +9 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatViewModel.js +16 -6
- package/vscode/src/vs/workbench/contrib/chat/common/chatWordCounter.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/languageModels.js +8 -14
- package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActions.contribution.js +3 -1
- package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +80 -23
- package/vscode/src/vs/workbench/contrib/codeActions/common/codeActionsExtensionPoint.js +11 -12
- package/vscode/src/vs/workbench/contrib/codeActions/common/documentationExtensionPoint.js +7 -8
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.js +5 -6
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorAccessibilityHelp.js +25 -30
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +5 -7
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/find/simpleFindWidget.js +11 -12
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/largeFileOptimizations.js +5 -11
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoSymbolQuickAccess.js +7 -8
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +45 -13
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMinimap.js +3 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMultiCursorModifier.js +5 -6
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderControlCharacter.js +3 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderWhitespace.js +3 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +6 -7
- package/vscode/src/vs/workbench/contrib/comments/browser/commentColors.js +9 -11
- package/vscode/src/vs/workbench/contrib/comments/browser/commentGlyphWidget.js +10 -15
- package/vscode/src/vs/workbench/contrib/comments/browser/commentNode.js +5 -6
- package/vscode/src/vs/workbench/contrib/comments/browser/commentReply.js +14 -49
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadBody.js +21 -18
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadHeader.js +4 -5
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadWidget.js +8 -13
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadZoneWidget.js +43 -25
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsAccessibility.js +27 -39
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsController.js +10 -14
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsModel.js +2 -3
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsTreeViewer.js +15 -18
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsView.js +25 -29
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsViewActions.js +10 -11
- package/vscode/src/vs/workbench/contrib/comments/browser/reactionsAction.js +11 -15
- package/vscode/src/vs/workbench/contrib/comments/browser/simpleCommentEditor.js +1 -0
- package/vscode/src/vs/workbench/contrib/comments/common/commentContextKeys.js +11 -17
- package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditorInput.js +6 -9
- package/vscode/src/vs/workbench/contrib/debug/browser/baseDebugView.js +2 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointEditorContribution.js +33 -36
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointWidget.js +18 -22
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointsView.js +77 -97
- package/vscode/src/vs/workbench/contrib/debug/browser/callStackEditorContribution.js +15 -17
- package/vscode/src/vs/workbench/contrib/debug/browser/debugColors.js +13 -14
- package/vscode/src/vs/workbench/contrib/debug/browser/debugCommands.js +35 -40
- package/vscode/src/vs/workbench/contrib/debug/browser/debugIcons.js +58 -75
- package/vscode/src/vs/workbench/contrib/debug/browser/debugSessionPicker.js +4 -5
- package/vscode/src/vs/workbench/contrib/debug/common/abstractDebugAdapter.js +2 -3
- package/vscode/src/vs/workbench/contrib/debug/common/debug.d.ts +8 -1
- package/vscode/src/vs/workbench/contrib/debug/common/debug.js +90 -205
- package/vscode/src/vs/workbench/contrib/debug/common/debugModel.js +28 -11
- package/vscode/src/vs/workbench/contrib/debug/common/debugSource.js +2 -3
- package/vscode/src/vs/workbench/contrib/debug/common/debugUtils.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/disassemblyViewInput.js +3 -4
- package/vscode/src/vs/workbench/contrib/debug/common/loadedScriptsPicker.js +2 -3
- package/vscode/src/vs/workbench/contrib/debug/common/replModel.js +5 -6
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActions.js +342 -359
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsIcons.js +35 -74
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsFileTemplate.js +8 -19
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsInput.js +3 -4
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsUtils.js +5 -7
- package/vscode/src/vs/workbench/contrib/externalUriOpener/common/configuration.js +7 -14
- package/vscode/src/vs/workbench/contrib/externalUriOpener/common/externalUriOpenerService.js +6 -8
- package/vscode/src/vs/workbench/contrib/files/browser/editors/binaryFileEditor.js +2 -3
- package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileEditor.js +12 -20
- package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileSaveErrorHandler.js +28 -38
- package/vscode/src/vs/workbench/contrib/files/browser/explorerViewlet.js +18 -22
- package/vscode/src/vs/workbench/contrib/files/browser/fileActions.js +108 -168
- package/vscode/src/vs/workbench/contrib/files/browser/fileCommands._save.js +55 -30
- package/vscode/src/vs/workbench/contrib/files/browser/fileConstants.js +9 -9
- package/vscode/src/vs/workbench/contrib/files/browser/fileImportExport.js +45 -59
- package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._configuration.js +102 -151
- package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._editorPane.js +3 -4
- package/vscode/src/vs/workbench/contrib/files/browser/files.js +21 -12
- package/vscode/src/vs/workbench/contrib/files/browser/views/emptyView.js +2 -3
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerDecorationsProvider.js +6 -8
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerView.js +9 -10
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerViewer.js +20 -29
- package/vscode/src/vs/workbench/contrib/files/browser/views/openEditorsView.js +54 -35
- package/vscode/src/vs/workbench/contrib/files/browser/workspaceWatcher.js +7 -10
- package/vscode/src/vs/workbench/contrib/files/common/dirtyFilesIndicator.js +2 -3
- package/vscode/src/vs/workbench/contrib/files/common/files.js +19 -40
- package/vscode/src/vs/workbench/contrib/folding/browser/folding.contribution.js +5 -7
- package/vscode/src/vs/workbench/contrib/format/browser/formatActionsMultiple.js +28 -36
- package/vscode/src/vs/workbench/contrib/format/browser/formatActionsNone.js +5 -6
- package/vscode/src/vs/workbench/contrib/format/browser/formatModified.js +2 -3
- package/vscode/src/vs/workbench/contrib/inlayHints/browser/inlayHintsAccessibilty.js +5 -10
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatActions.js +23 -25
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatContentWidget.js +20 -6
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatController.js +26 -88
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionServiceImpl.js +2 -34
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatStrategies.js +7 -8
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatWidget.js +13 -33
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatZoneWidget.js +2 -3
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/media/inlineChat.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/inlineChat/common/inlineChat.js +51 -91
- package/vscode/src/vs/workbench/contrib/issue/common/issue.service.js +2 -1
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInput.js +2 -3
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInputModel.js +40 -56
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/mergeEditorModel.js +3 -4
- package/vscode/src/vs/workbench/contrib/mergeEditor/common/mergeEditor.js +9 -10
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/icons.contribution.js +2 -3
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffEditorInput.js +43 -46
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffSourceResolverService.js +6 -5
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/scmMultiDiffSourceResolver.js +3 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/executionStatusBarItemController.js +8 -14
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindReplaceWidget.js +18 -19
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindWidget.js +4 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOperations.js +3 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOutputActions.js +30 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebookChatContext.js +7 -13
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebookChatController.js +16 -6
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/coreActions.js +9 -11
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/foldingController.js +4 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibilityProvider.js +5 -7
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditor.js +13 -18
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditorWidget.js +29 -54
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookIcons.js +29 -30
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellPart.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellComments.js +11 -18
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellEditorOptions.js +5 -6
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellOutput.js +54 -24
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCell.js +3 -9
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCellExecutionIcon.js +5 -6
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCellRunToolbar.js +2 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/collapsedCellOutput.js +4 -10
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/foldedCellHint.js +3 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/markupCell.js +3 -9
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/backLayerWebView.js +5 -6
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/cellRenderer.js +2 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/webviewPreloads.js +22 -13
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/baseCellViewModel.js +8 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/cellOutputViewModel.js +17 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/codeCellViewModel.js +13 -25
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/markupCellViewModel.js +51 -43
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookEditorStickyScroll.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelQuickPickStrategy.js +18 -26
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelView.js +3 -4
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookContextKeys.js +3 -1
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorInput.js +2 -3
- package/vscode/src/vs/workbench/contrib/preferences/browser/keybindingWidgets.js +4 -10
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesIcons.js +14 -24
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesWidgets.js +12 -12
- package/vscode/src/vs/workbench/contrib/preferences/browser/settingsLayout.js +50 -51
- package/vscode/src/vs/workbench/contrib/preferences/browser/settingsTreeModels.js +3 -2
- package/vscode/src/vs/workbench/contrib/preferences/common/settingsEditorColorRegistry.js +24 -31
- package/vscode/src/vs/workbench/contrib/remote/browser/remoteExplorer.js +27 -39
- package/vscode/src/vs/workbench/contrib/remote/browser/remoteIcons.js +18 -23
- package/vscode/src/vs/workbench/contrib/remote/browser/tunnelView.js +68 -80
- package/vscode/src/vs/workbench/contrib/scm/browser/dirtyDiffSwitcher.js +3 -4
- package/vscode/src/vs/workbench/contrib/scm/browser/dirtydiffDecorator.js +26 -57
- package/vscode/src/vs/workbench/contrib/search/browser/anythingQuickAccess.js +11 -12
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsBase.js +2 -3
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsFind.js +14 -16
- package/vscode/src/vs/workbench/contrib/search/browser/searchModel.js +1 -1
- package/vscode/src/vs/workbench/contrib/search/browser/symbolsQuickAccess.js +3 -4
- package/vscode/src/vs/workbench/contrib/snippets/browser/commands/abstractSnippetsActions.js +2 -3
- package/vscode/src/vs/workbench/contrib/snippets/browser/commands/fileTemplateSnippets.js +3 -4
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCompletionProvider.js +5 -19
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsFile.js +4 -5
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsService.js +17 -29
- package/vscode/src/vs/workbench/contrib/speech/common/speechService.js +30 -31
- package/vscode/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.js +9 -13
- package/vscode/src/vs/workbench/contrib/tasks/common/taskService.js +9 -13
- package/vscode/src/vs/workbench/contrib/tasks/common/tasks.js +5 -7
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.d.ts +5 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.service.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalEditorInput.js +5 -14
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalMenus.js +33 -34
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/xtermTerminal.d.ts +2 -0
- package/vscode/src/vs/workbench/contrib/terminal/common/terminal.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/terminal/common/terminal.js +9 -15
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalColorRegistry.js +37 -51
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalContextKey.js +21 -37
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalStrings.js +29 -34
- package/vscode/src/vs/workbench/contrib/terminalContrib/suggest/common/terminal.suggest.js +4 -0
- package/vscode/src/vs/workbench/contrib/testing/common/constants.js +16 -13
- package/vscode/src/vs/workbench/contrib/testing/common/testId.js +1 -1
- package/vscode/src/vs/workbench/contrib/testing/common/testResult.js +6 -7
- package/vscode/src/vs/workbench/contrib/testing/common/testTypes.d.ts +23 -1
- package/vscode/src/vs/workbench/contrib/testing/common/testTypes.js +23 -1
- package/vscode/src/vs/workbench/contrib/url/browser/trustedDomains.js +7 -8
- package/vscode/src/vs/workbench/contrib/webview/browser/webview.contribution.js +4 -5
- package/vscode/src/vs/workbench/contrib/webview/browser/webviewWindowDragMonitor.js +21 -2
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditor.js +2 -3
- package/vscode/src/vs/workbench/contrib/workspace/common/workspace.js +3 -8
- package/vscode/src/vs/workbench/services/authentication/browser/authenticationService.js +17 -11
- package/vscode/src/vs/workbench/services/auxiliaryWindow/browser/auxiliaryWindowService.js +23 -25
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverSchema.js +21 -34
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverUtils.js +3 -5
- package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +35 -53
- package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +3 -5
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagement.js +2 -3
- package/vscode/src/vs/workbench/services/extensionRecommendations/common/workspaceExtensionsConfig.js +7 -8
- package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +145 -236
- package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.js +14 -19
- package/vscode/src/vs/workbench/services/language/common/languageService.js +40 -57
- package/vscode/src/vs/workbench/services/layout/browser/layoutService.d.ts +2 -1
- package/vscode/src/vs/workbench/services/layout/browser/layoutService.js +8 -2
- package/vscode/src/vs/workbench/services/lifecycle/common/lifecycle.d.ts +34 -4
- package/vscode/src/vs/workbench/services/lifecycle/common/lifecycle.js +6 -1
- package/vscode/src/vs/workbench/services/lifecycle/common/lifecycleService.js +3 -3
- package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorInput.js +3 -4
- package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorModel.js +8 -9
- package/vscode/src/vs/workbench/services/preferences/common/preferences.d.ts +1 -3
- package/vscode/src/vs/workbench/services/preferences/common/preferences.js +2 -1
- package/vscode/src/vs/workbench/services/preferences/common/preferences.service.d.ts +5 -2
- package/vscode/src/vs/workbench/services/preferences/common/preferencesEditorInput.js +3 -4
- package/vscode/src/vs/workbench/services/preferences/common/preferencesModels.d.ts +5 -3
- package/vscode/src/vs/workbench/services/remote/common/remoteAgentService.d.ts +1 -0
- package/vscode/src/vs/workbench/services/remote/common/remoteAgentService.service.d.ts +4 -0
- package/vscode/src/vs/workbench/services/remote/common/remoteExplorerService.js +14 -20
- package/vscode/src/vs/workbench/services/remote/common/tunnelModel.js +9 -9
- package/vscode/src/vs/workbench/services/search/common/queryBuilder.js +2 -8
- package/vscode/src/vs/workbench/services/search/common/search.js +1 -1
- package/vscode/src/vs/workbench/services/search/common/searchExtTypes.js +41 -1
- package/vscode/src/vs/workbench/services/textMate/common/TMGrammars.js +12 -27
- package/vscode/src/vs/workbench/services/textfile/common/textFileEditorModel.js +4 -5
- package/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.js +34 -50
- package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +22 -31
- package/vscode/src/vs/workbench/services/untitled/common/untitledTextEditorModel.js +1 -1
- package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfile.js +4 -5
- package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfileIcons.js +2 -3
- package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +12 -13
- package/vscode/src/vs/workbench/services/views/browser/viewsService.js +8 -9
- package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopy.js +25 -33
- package/vscode-dts/vscode.proposed.aiTextSearchProviderNew.d.ts +119 -0
- package/vscode-dts/vscode.proposed.chatParticipantAdditions.d.ts +61 -3
- package/vscode-dts/vscode.proposed.chatParticipantPrivate.d.ts +26 -0
- package/vscode-dts/vscode.proposed.commentReveal.d.ts +21 -8
- package/vscode-dts/vscode.proposed.commentThreadApplicability.d.ts +0 -2
- package/vscode-dts/vscode.proposed.contribSourceControlHistoryItemChangesMenu.d.ts +7 -0
- package/vscode-dts/vscode.proposed.fileComments.d.ts +1 -1
- package/vscode-dts/vscode.proposed.fileSearchProviderNew.d.ts +100 -0
- package/vscode-dts/vscode.proposed.findFiles2New.d.ts +80 -0
- package/vscode-dts/vscode.proposed.findTextInFilesNew.d.ts +143 -0
- package/vscode-dts/vscode.proposed.lmTools.d.ts +5 -0
- package/vscode-dts/vscode.proposed.quickInputButtonLocation.d.ts +29 -0
- package/vscode-dts/vscode.proposed.scmHistoryProvider.d.ts +2 -0
- package/vscode-dts/vscode.proposed.testMessageStackTrace.d.ts +38 -0
- package/vscode-dts/vscode.proposed.testRelatedCode.d.ts +36 -0
- package/vscode-dts/vscode.proposed.textSearchCompleteNew.d.ts +46 -0
- package/vscode-dts/vscode.proposed.textSearchProviderNew.d.ts +234 -0
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/model.js +0 -14
- package/vscode/src/vs/editor/contrib/inlineEdit/browser/hoverParticipant.js +0 -115
- package/vscode/src/vs/platform/issue/common/issue.service.js +0 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/editActions.js +0 -570
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/notebookIndentationActions.js +0 -207
- package/vscode/src/vs/workbench/contrib/testing/common/observableValue.js +0 -30
- package/vscode/src/vs/workbench/services/preferences/common/preferencesModels.js +0 -1016
- package/vscode/src/vs/workbench/services/preferences/common/preferencesValidation.js +0 -390
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { __decorate, __param } from '../../../../../../../external/tslib/tslib.es6.js';
|
|
2
2
|
import { h, trackFocus, getTotalHeight, reset, getActiveElement } from '../../../../base/browser/dom.js';
|
|
3
3
|
import { renderLabelWithIcons } from '../../../../base/browser/ui/iconLabel/iconLabels.js';
|
|
4
|
-
import { ProgressBar } from '../../../../base/browser/ui/progressbar/progressbar.js';
|
|
5
4
|
import { Emitter, Event } from '../../../../base/common/event.js';
|
|
6
5
|
import { MarkdownString } from '../../../../base/common/htmlContent.js';
|
|
7
6
|
import { DisposableStore, MutableDisposable } from '../../../../base/common/lifecycle.js';
|
|
@@ -18,7 +17,7 @@ import { LineRange } from '../../../../editor/common/core/lineRange.js';
|
|
|
18
17
|
import { DetailedLineRangeMapping, RangeMapping } from '../../../../editor/common/diff/rangeMapping.js';
|
|
19
18
|
import { ScrollType } from '../../../../editor/common/editorCommon.js';
|
|
20
19
|
import { ITextModelService } from '../../../../editor/common/services/resolverService.js';
|
|
21
|
-
import {
|
|
20
|
+
import { localize } from '../../../../nls.js';
|
|
22
21
|
import { IAccessibilityService } from '../../../../platform/accessibility/common/accessibility.service.js';
|
|
23
22
|
import { MenuWorkbenchButtonBar } from '../../../../platform/actions/browser/buttonbar.js';
|
|
24
23
|
import { MenuWorkbenchToolBar, HiddenItemStrategy } from '../../../../platform/actions/browser/toolbar.js';
|
|
@@ -54,7 +53,6 @@ import { ServiceCollection } from '../../../../platform/instantiation/common/ser
|
|
|
54
53
|
import { IHoverService } from '../../../../platform/hover/browser/hover.service.js';
|
|
55
54
|
import { TextOnlyMenuEntryActionViewItem } from '../../../../platform/actions/browser/menuEntryActionViewItem.js';
|
|
56
55
|
var HunkAccessibleDiffViewer_1;
|
|
57
|
-
const _moduleId = "vs/workbench/contrib/inlineChat/browser/inlineChatWidget";
|
|
58
56
|
let InlineChatWidget = class InlineChatWidget {
|
|
59
57
|
constructor(location, options, _instantiationService, _contextKeyService, _keybindingService, _accessibilityService, _configurationService, _accessibleViewService, _textModelResolverService, _chatService, _hoverService) {
|
|
60
58
|
this._instantiationService = _instantiationService;
|
|
@@ -68,8 +66,6 @@ let InlineChatWidget = class InlineChatWidget {
|
|
|
68
66
|
this._hoverService = _hoverService;
|
|
69
67
|
this._elements = h('div.inline-chat@root', [
|
|
70
68
|
h('div.chat-widget@chatWidget'),
|
|
71
|
-
h('div.progress@progress'),
|
|
72
|
-
h('div.previewDiff.hidden@previewDiff'),
|
|
73
69
|
h('div.accessibleViewer@accessibleViewer'),
|
|
74
70
|
h('div.status@status', [
|
|
75
71
|
h('div.label.info.hidden@infoLabel'),
|
|
@@ -84,8 +80,6 @@ let InlineChatWidget = class InlineChatWidget {
|
|
|
84
80
|
this._onDidChangeInput = this._store.add(( (new Emitter())));
|
|
85
81
|
this.onDidChangeInput = this._onDidChangeInput.event;
|
|
86
82
|
this._isLayouting = false;
|
|
87
|
-
this._progressBar = ( (new ProgressBar(this._elements.progress)));
|
|
88
|
-
this._store.add(this._progressBar);
|
|
89
83
|
this.scopedContextKeyService = this._store.add(_contextKeyService.createScoped(this._elements.chatWidget));
|
|
90
84
|
const scopedInstaService = _instantiationService.createChild(( (new ServiceCollection([
|
|
91
85
|
IContextKeyService,
|
|
@@ -96,7 +90,7 @@ let InlineChatWidget = class InlineChatWidget {
|
|
|
96
90
|
renderStyle: 'minimal',
|
|
97
91
|
renderInputOnTop: false,
|
|
98
92
|
renderFollowups: true,
|
|
99
|
-
supportsFileReferences: true,
|
|
93
|
+
supportsFileReferences: _configurationService.getValue(`chat.experimental.variables.${location.location}`) === true,
|
|
100
94
|
filter: item => !isWelcomeVM(item),
|
|
101
95
|
...options.chatWidgetViewOptions
|
|
102
96
|
}, {
|
|
@@ -180,15 +174,13 @@ let InlineChatWidget = class InlineChatWidget {
|
|
|
180
174
|
if (this._configurationService.getValue(AccessibilityVerbositySettingId.InlineChat)) {
|
|
181
175
|
const kbLabel = this._keybindingService.lookupKeybinding(AccessibilityCommandId.OpenAccessibilityHelp)?.getLabel();
|
|
182
176
|
label = kbLabel
|
|
183
|
-
? (
|
|
184
|
-
|
|
185
|
-
0,
|
|
177
|
+
? ( localize(
|
|
178
|
+
11375,
|
|
186
179
|
"Inline Chat Input, Use {0} for Inline Chat Accessibility Help.",
|
|
187
180
|
kbLabel
|
|
188
181
|
))
|
|
189
|
-
: (
|
|
190
|
-
|
|
191
|
-
1,
|
|
182
|
+
: ( localize(
|
|
183
|
+
11376,
|
|
192
184
|
"Inline Chat Input, Run the Inline Chat Accessibility Help command for more information."
|
|
193
185
|
));
|
|
194
186
|
}
|
|
@@ -218,21 +210,18 @@ let InlineChatWidget = class InlineChatWidget {
|
|
|
218
210
|
}
|
|
219
211
|
_doLayout(dimension) {
|
|
220
212
|
const extraHeight = this._getExtraHeight();
|
|
221
|
-
const progressHeight = getTotalHeight(this._elements.progress);
|
|
222
213
|
const statusHeight = getTotalHeight(this._elements.status);
|
|
223
214
|
this._elements.root.style.height = `${dimension.height - extraHeight}px`;
|
|
224
215
|
this._elements.root.style.width = `${dimension.width}px`;
|
|
225
|
-
this.
|
|
226
|
-
this._chatWidget.layout(dimension.height - progressHeight - statusHeight - extraHeight, dimension.width);
|
|
216
|
+
this._chatWidget.layout(dimension.height - statusHeight - extraHeight, dimension.width);
|
|
227
217
|
}
|
|
228
218
|
get contentHeight() {
|
|
229
219
|
const data = {
|
|
230
220
|
chatWidgetContentHeight: this._chatWidget.contentHeight,
|
|
231
|
-
progressHeight: getTotalHeight(this._elements.progress),
|
|
232
221
|
statusHeight: getTotalHeight(this._elements.status),
|
|
233
222
|
extraHeight: this._getExtraHeight()
|
|
234
223
|
};
|
|
235
|
-
const result = data.
|
|
224
|
+
const result = data.chatWidgetContentHeight + data.statusHeight + data.extraHeight;
|
|
236
225
|
return result;
|
|
237
226
|
}
|
|
238
227
|
get minHeight() {
|
|
@@ -251,16 +240,6 @@ let InlineChatWidget = class InlineChatWidget {
|
|
|
251
240
|
_getExtraHeight() {
|
|
252
241
|
return 4 + 2 + 4 ;
|
|
253
242
|
}
|
|
254
|
-
updateProgress(show) {
|
|
255
|
-
if (show) {
|
|
256
|
-
this._progressBar.show();
|
|
257
|
-
this._progressBar.infinite();
|
|
258
|
-
}
|
|
259
|
-
else {
|
|
260
|
-
this._progressBar.stop();
|
|
261
|
-
this._progressBar.hide();
|
|
262
|
-
}
|
|
263
|
-
}
|
|
264
243
|
get value() {
|
|
265
244
|
return this._chatWidget.getInput();
|
|
266
245
|
}
|
|
@@ -305,7 +284,7 @@ let InlineChatWidget = class InlineChatWidget {
|
|
|
305
284
|
if (!isNonEmptyArray(requests)) {
|
|
306
285
|
return undefined;
|
|
307
286
|
}
|
|
308
|
-
return tail(requests)?.response?.response.
|
|
287
|
+
return tail(requests)?.response?.response.toString();
|
|
309
288
|
}
|
|
310
289
|
getChatModel() {
|
|
311
290
|
return this._chatWidget.viewModel?.model ?? this._defaultChatModel;
|
|
@@ -384,6 +363,7 @@ let InlineChatWidget = class InlineChatWidget {
|
|
|
384
363
|
this._onDidChangeHeight.fire();
|
|
385
364
|
}
|
|
386
365
|
reset() {
|
|
366
|
+
this._chatWidget.setContext(true);
|
|
387
367
|
this._chatWidget.saveState();
|
|
388
368
|
this.updateChatMessage(undefined);
|
|
389
369
|
reset(this._elements.statusLabel);
|
|
@@ -413,7 +393,7 @@ InlineChatWidget = ( (__decorate([
|
|
|
413
393
|
( (__param(9, IChatService))),
|
|
414
394
|
( (__param(10, IHoverService)))
|
|
415
395
|
], InlineChatWidget)));
|
|
416
|
-
const defaultAriaLabel = (
|
|
396
|
+
const defaultAriaLabel = ( localize(11377, "Inline Chat Input"));
|
|
417
397
|
let EditorBasedInlineChatWidget = class EditorBasedInlineChatWidget extends InlineChatWidget {
|
|
418
398
|
constructor(location, _parentEditor, options, contextKeyService, keybindingService, instantiationService, accessibilityService, configurationService, accessibleViewService, textModelResolverService, chatService, hoverService) {
|
|
419
399
|
super(location, { ...options, chatWidgetViewOptions: { ...options.chatWidgetViewOptions, editorOverflowWidgetsDomNode: _parentEditor.getOverflowWidgetsDomNode() } }, instantiationService, contextKeyService, keybindingService, accessibilityService, configurationService, accessibleViewService, textModelResolverService, chatService, hoverService);
|
|
@@ -423,7 +403,7 @@ let EditorBasedInlineChatWidget = class EditorBasedInlineChatWidget extends Inli
|
|
|
423
403
|
get contentHeight() {
|
|
424
404
|
let result = super.contentHeight;
|
|
425
405
|
if (this._accessibleViewer.value) {
|
|
426
|
-
result += this._accessibleViewer.value.height;
|
|
406
|
+
result += this._accessibleViewer.value.height + 8 ;
|
|
427
407
|
}
|
|
428
408
|
return result;
|
|
429
409
|
}
|
|
@@ -431,7 +411,7 @@ let EditorBasedInlineChatWidget = class EditorBasedInlineChatWidget extends Inli
|
|
|
431
411
|
let newHeight = dimension.height;
|
|
432
412
|
if (this._accessibleViewer.value) {
|
|
433
413
|
this._accessibleViewer.value.width = dimension.width - 12;
|
|
434
|
-
newHeight -= this._accessibleViewer.value.height;
|
|
414
|
+
newHeight -= this._accessibleViewer.value.height + 8;
|
|
435
415
|
}
|
|
436
416
|
super._doLayout(dimension.with(undefined, newHeight));
|
|
437
417
|
this._elements.root.style.height = `${dimension.height - this._getExtraHeight()}px`;
|
|
@@ -5,7 +5,7 @@ import { toDisposable } from '../../../../base/common/lifecycle.js';
|
|
|
5
5
|
import { assertType } from '../../../../base/common/types.js';
|
|
6
6
|
import { EditorOption } from '../../../../editor/common/config/editorOptions.js';
|
|
7
7
|
import { ZoneWidget } from '../../../../editor/contrib/zoneWidget/browser/zoneWidget.js';
|
|
8
|
-
import {
|
|
8
|
+
import { localize } from '../../../../nls.js';
|
|
9
9
|
import { IContextKeyService } from '../../../../platform/contextkey/common/contextkey.service.js';
|
|
10
10
|
import { IInstantiationService } from '../../../../platform/instantiation/common/instantiation.js';
|
|
11
11
|
import { CTX_INLINE_CHAT_OUTER_CURSOR_POSITION, MENU_INLINE_CHAT_WIDGET_STATUS, ACTION_REGENERATE_RESPONSE, ACTION_TOGGLE_DIFF, ACTION_ACCEPT_CHANGES, MENU_INLINE_CHAT_EXECUTE, InlineChatConfigKeys, EditMode } from '../common/inlineChat.js';
|
|
@@ -15,7 +15,6 @@ import { StableEditorBottomScrollState } from '../../../../editor/browser/stable
|
|
|
15
15
|
import { ScrollType } from '../../../../editor/common/editorCommon.js';
|
|
16
16
|
import { IConfigurationService } from '../../../../platform/configuration/common/configuration.service.js';
|
|
17
17
|
import { ILogService } from '../../../../platform/log/common/log.service.js';
|
|
18
|
-
const _moduleId = "vs/workbench/contrib/inlineChat/browser/inlineChatZoneWidget";
|
|
19
18
|
let InlineChatZoneWidget = class InlineChatZoneWidget extends ZoneWidget {
|
|
20
19
|
constructor(location, editor, _instaService, _logService, contextKeyService, configurationService) {
|
|
21
20
|
super(editor, { showFrame: false, showArrow: false, isAccessible: true, className: 'inline-chat-widget', keepEditorSelection: true, showInHiddenAreas: true, ordinal: 10000 });
|
|
@@ -167,7 +166,7 @@ let InlineChatZoneWidget = class InlineChatZoneWidget extends ZoneWidget {
|
|
|
167
166
|
this.widget.reset();
|
|
168
167
|
this.widget.chatWidget.setVisible(false);
|
|
169
168
|
super.hide();
|
|
170
|
-
status((
|
|
169
|
+
status(( localize(10593, 'Closed inline chat widget')));
|
|
171
170
|
scrollState.restore(this.editor);
|
|
172
171
|
}
|
|
173
172
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import n from '../../../../../../../../external/rollup-plugin-styles/dist/runtime/inject-css.js';
|
|
2
|
-
var css = ".monaco-workbench .zone-widget.inline-chat-widget{z-index:3}.monaco-workbench .zone-widget.inline-chat-widget .interactive-session{max-width:unset}.monaco-workbench .inline-chat{background:var(--vscode-inlineChat-background);border:1px solid var(--vscode-inlineChat-border);border-radius:4px;box-shadow:0 2px 4px 0 var(--vscode-widget-shadow);color:inherit}.monaco-workbench .inline-chat .chat-widget .interactive-session .interactive-input-part{padding:4px 6px 0}.monaco-workbench .inline-chat .chat-widget .interactive-session .interactive-input-part .interactive-execute-toolbar{margin-bottom:1px}.monaco-workbench .inline-chat .chat-widget .interactive-session .interactive-input-part .interactive-input-and-execute-toolbar{border-radius:2px;width:100%}.monaco-workbench .inline-chat .chat-widget .interactive-session .interactive-list{padding:4px 0 0}.monaco-workbench .inline-chat .chat-widget .interactive-session .interactive-list .interactive-item-container.interactive-item-compact{gap:6px;padding-left:6px;padding-right:20px;padding-top:2px}.monaco-workbench .inline-chat .chat-widget .interactive-session .interactive-list .interactive-item-container.interactive-item-compact .header .avatar{outline-offset:-1px}.monaco-workbench .inline-chat .chat-widget .interactive-session .interactive-list .interactive-item-container.interactive-item-compact .chat-notification-widget{border:none;margin-bottom:0;padding:0}.monaco-workbench .inline-chat .chat-widget .interactive-session .interactive-list .interactive-request{border:none}.monaco-workbench .inline-chat .chat-widget .interactive-session .interactive-list .interactive-item-container.minimal>.header{right:10px;top:5px}.monaco-workbench .inline-chat
|
|
2
|
+
var css = ".monaco-workbench .zone-widget.inline-chat-widget{z-index:3}.monaco-workbench .zone-widget.inline-chat-widget .interactive-session{max-width:unset}.monaco-workbench .inline-chat{background:var(--vscode-inlineChat-background);border:1px solid var(--vscode-inlineChat-border);border-radius:4px;box-shadow:0 2px 4px 0 var(--vscode-widget-shadow);color:inherit}.monaco-workbench .inline-chat .chat-widget .interactive-session .interactive-input-part{padding:4px 6px 0}.monaco-workbench .inline-chat .chat-widget .interactive-session .interactive-input-part .interactive-execute-toolbar{margin-bottom:1px}.monaco-workbench .inline-chat .chat-widget .interactive-session .interactive-input-part .interactive-input-and-execute-toolbar{border-radius:2px;width:100%}.monaco-workbench .inline-chat .chat-widget .interactive-session .interactive-list{padding:4px 0 0}.monaco-workbench .inline-chat .chat-widget .interactive-session .interactive-list .interactive-item-container.interactive-item-compact{gap:6px;padding-left:6px;padding-right:20px;padding-top:2px}.monaco-workbench .inline-chat .chat-widget .interactive-session .interactive-list .interactive-item-container.interactive-item-compact .header .avatar{outline-offset:-1px}.monaco-workbench .inline-chat .chat-widget .interactive-session .interactive-list .interactive-item-container.interactive-item-compact .chat-notification-widget{border:none;margin-bottom:0;padding:0}.monaco-workbench .inline-chat .chat-widget .interactive-session .interactive-list .interactive-request{border:none}.monaco-workbench .inline-chat .chat-widget .interactive-session .interactive-list .interactive-item-container.minimal>.header{right:10px;top:5px}.monaco-workbench .inline-chat>.status{align-items:center;display:flex;justify-content:space-between;padding:4px 6px 0}.monaco-workbench .inline-chat .status .actions.hidden{display:none}.monaco-workbench .inline-chat .status .label{color:var(--vscode-descriptionForeground);display:flex;font-size:11px;overflow:hidden;white-space:nowrap}.monaco-workbench .inline-chat .status .label.info{margin-right:auto;padding-left:2px}.monaco-workbench .inline-chat .status .label.status{margin-left:auto}.monaco-workbench .inline-chat .status .label.hidden{display:none}.monaco-workbench .inline-chat .status .label.error{color:var(--vscode-errorForeground)}.monaco-workbench .inline-chat .status .label.warn{color:var(--vscode-editorWarning-foreground)}.monaco-workbench .inline-chat .status .label>.codicon{font-size:12px;line-height:18px;padding:0 3px}.monaco-workbench .inline-chat .status .actions,.monaco-workbench .inline-chat-content-widget .toolbar{display:flex;height:18px;.actions-container{gap:3px}.action-item.text-only .action-label{border-radius:2px;font-size:12px;line-height:16px;padding:0 4px}.monaco-action-bar .action-item.menu-entry.text-only+.action-item:not(.text-only)>.monaco-dropdown .action-label{font-size:12px;height:unset;line-height:16px;width:unset}}.monaco-workbench .inline-chat .status .actions,.monaco-workbench .inline-chat-content-widget.contents .toolbar{.monaco-action-bar .action-item.menu-entry.text-only:first-of-type .action-label{background-color:var(--vscode-button-background);color:var(--vscode-button-foreground)}}.monaco-workbench .inline-chat .status{.actions.text-style{display:none}.actions.button-style{display:inherit}}.monaco-workbench .inline-chat .status.text{.actions.text-style{display:inherit}.actions.button-style{display:none}}.monaco-workbench .inline-chat .status .actions>.monaco-button,.monaco-workbench .inline-chat .status .actions>.monaco-button-dropdown{margin-right:4px}.monaco-workbench .inline-chat .status .actions>.monaco-button-dropdown>.monaco-dropdown-button{align-items:center;display:flex;padding:0 4px}.monaco-workbench .inline-chat .status .actions>.monaco-button.codicon{display:flex}.monaco-workbench .inline-chat .status .actions>.monaco-button.codicon:before{align-self:center}.monaco-workbench .inline-chat .status .actions .monaco-text-button{padding:0 2px;white-space:nowrap}.monaco-workbench .inline-chat .status .monaco-toolbar .action-label.checked{background-color:var(--vscode-inputOption-activeBackground);color:var(--vscode-inputOption-activeForeground);outline:1px solid var(--vscode-inputOption-activeBorder)}.monaco-workbench .inline-chat .status .monaco-toolbar .action-item.button-item .action-label:is(:hover,:focus){background-color:var(--vscode-button-hoverBackground)}.monaco-workbench .inline-chat .diff-review{background-color:unset;padding:4px 6px}.monaco-workbench .inline-chat .diff-review.hidden{display:none}.monaco-workbench .inline-chat-inserted-range{background-color:var(--vscode-inlineChatDiff-inserted)}.monaco-workbench .inline-chat-inserted-range-linehighlight{background-color:var(--vscode-diffEditor-insertedLineBackground)}.monaco-workbench .inline-chat-original-zone2{background-color:var(--vscode-diffEditor-removedLineBackground);opacity:.8}.monaco-workbench .inline-chat-lines-inserted-range{background-color:var(--vscode-diffEditor-insertedTextBackground)}.monaco-workbench .inline-chat-block-selection{background-color:var(--vscode-inlineChat-regionHighlight)}.monaco-workbench .glyph-margin-widgets .cgmr.codicon-inline-chat-opaque,.monaco-workbench .glyph-margin-widgets .cgmr.codicon-inline-chat-transparent{cursor:pointer;display:block;transition:opacity .2s ease-in-out}.monaco-workbench .glyph-margin-widgets .cgmr.codicon-inline-chat-opaque{opacity:.5}.monaco-workbench .glyph-margin-widgets .cgmr.codicon-inline-chat-transparent{opacity:0}.monaco-workbench .glyph-margin-widgets .cgmr.codicon-inline-chat-opaque:hover,.monaco-workbench .glyph-margin-widgets .cgmr.codicon-inline-chat-transparent:hover{opacity:1}";
|
|
3
3
|
n(css,{});
|
|
4
4
|
export { css, css as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { localize } from '../../../../nls.js';
|
|
2
2
|
import { MenuId } from '../../../../platform/actions/common/actions.js';
|
|
3
3
|
import { Extensions } from '../../../../platform/configuration/common/configurationRegistry.js';
|
|
4
4
|
import { RawContextKey, ContextKeyExpr } from '../../../../platform/contextkey/common/contextkey.js';
|
|
@@ -14,7 +14,6 @@ import '../../../../platform/theme/common/colors/minimapColors.js';
|
|
|
14
14
|
import '../../../../platform/theme/common/colors/miscColors.js';
|
|
15
15
|
import '../../../../platform/theme/common/colors/quickpickColors.js';
|
|
16
16
|
import '../../../../platform/theme/common/colors/searchColors.js';
|
|
17
|
-
const _moduleId = "vs/workbench/contrib/inlineChat/common/inlineChat";
|
|
18
17
|
var InlineChatConfigKeys;
|
|
19
18
|
( ((function(InlineChatConfigKeys) {
|
|
20
19
|
InlineChatConfigKeys["Mode"] = "inlineChat.mode";
|
|
@@ -33,72 +32,65 @@ var EditMode;
|
|
|
33
32
|
id: 'editor',
|
|
34
33
|
properties: {
|
|
35
34
|
[InlineChatConfigKeys.Mode]: {
|
|
36
|
-
description: (
|
|
37
|
-
|
|
38
|
-
0,
|
|
35
|
+
description: ( localize(
|
|
36
|
+
7175,
|
|
39
37
|
"Configure if changes crafted with inline chat are applied directly to the document or are previewed first."
|
|
40
38
|
)),
|
|
41
39
|
default: EditMode.Live,
|
|
42
40
|
type: 'string',
|
|
43
41
|
enum: [EditMode.Live, EditMode.Preview],
|
|
44
42
|
markdownEnumDescriptions: [
|
|
45
|
-
(
|
|
46
|
-
|
|
47
|
-
1,
|
|
43
|
+
( localize(
|
|
44
|
+
7176,
|
|
48
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."
|
|
49
46
|
)),
|
|
50
|
-
(
|
|
51
|
-
|
|
52
|
-
2,
|
|
47
|
+
( localize(
|
|
48
|
+
7177,
|
|
53
49
|
"Changes are previewed only and need to be accepted via the apply button. Ending a session will discard the changes."
|
|
54
50
|
)),
|
|
55
51
|
],
|
|
56
52
|
tags: ['experimental']
|
|
57
53
|
},
|
|
58
54
|
[InlineChatConfigKeys.FinishOnType]: {
|
|
59
|
-
description: (
|
|
60
|
-
|
|
61
|
-
3,
|
|
55
|
+
description: ( localize(
|
|
56
|
+
7178,
|
|
62
57
|
"Whether to finish an inline chat session when typing outside of changed regions."
|
|
63
58
|
)),
|
|
64
59
|
default: false,
|
|
65
60
|
type: 'boolean'
|
|
66
61
|
},
|
|
67
62
|
[InlineChatConfigKeys.AcceptedOrDiscardBeforeSave]: {
|
|
68
|
-
description: (
|
|
63
|
+
description: ( localize(7179, "Whether pending inline chat sessions prevent saving.")),
|
|
69
64
|
default: true,
|
|
70
65
|
type: 'boolean'
|
|
71
66
|
},
|
|
72
67
|
[InlineChatConfigKeys.HoldToSpeech]: {
|
|
73
|
-
description: (
|
|
74
|
-
|
|
75
|
-
5,
|
|
68
|
+
description: ( localize(
|
|
69
|
+
7180,
|
|
76
70
|
"Whether holding the inline chat keybinding will automatically enable speech recognition."
|
|
77
71
|
)),
|
|
78
72
|
default: true,
|
|
79
73
|
type: 'boolean'
|
|
80
74
|
},
|
|
81
75
|
[InlineChatConfigKeys.AccessibleDiffView]: {
|
|
82
|
-
description: (
|
|
83
|
-
|
|
84
|
-
6,
|
|
76
|
+
description: ( localize(
|
|
77
|
+
7181,
|
|
85
78
|
"Whether the inline chat also renders an accessible diff viewer for its changes."
|
|
86
79
|
)),
|
|
87
80
|
default: 'auto',
|
|
88
81
|
type: 'string',
|
|
89
82
|
enum: ['auto', 'on', 'off'],
|
|
90
83
|
markdownEnumDescriptions: [
|
|
91
|
-
(
|
|
92
|
-
|
|
93
|
-
7,
|
|
84
|
+
( localize(
|
|
85
|
+
7182,
|
|
94
86
|
"The accessible diff viewer is based screen reader mode being enabled."
|
|
95
87
|
)),
|
|
96
|
-
(
|
|
97
|
-
(
|
|
88
|
+
( localize(7183, "The accessible diff viewer is always enabled.")),
|
|
89
|
+
( localize(7184, "The accessible diff viewer is never enabled.")),
|
|
98
90
|
],
|
|
99
91
|
},
|
|
100
92
|
[InlineChatConfigKeys.ExpTextButtons]: {
|
|
101
|
-
description: (
|
|
93
|
+
description: ( localize(7185, "Whether to use textual buttons.")),
|
|
102
94
|
default: false,
|
|
103
95
|
type: 'boolean',
|
|
104
96
|
tags: ['experimental']
|
|
@@ -112,40 +104,32 @@ var InlineChatResponseType;
|
|
|
112
104
|
InlineChatResponseType["Messages"] = "messages";
|
|
113
105
|
InlineChatResponseType["MessagesAndEdits"] = "messagesAndEdits";
|
|
114
106
|
})(InlineChatResponseType || (InlineChatResponseType = {}))));
|
|
115
|
-
const CTX_INLINE_CHAT_HAS_AGENT = ( (new RawContextKey('inlineChatHasProvider', false, (
|
|
116
|
-
const CTX_INLINE_CHAT_VISIBLE = ( (new RawContextKey('inlineChatVisible', false, (
|
|
117
|
-
const CTX_INLINE_CHAT_FOCUSED = ( (new RawContextKey('inlineChatFocused', false, (
|
|
118
|
-
const CTX_INLINE_CHAT_RESPONSE_FOCUSED = ( (new RawContextKey('inlineChatResponseFocused', false, (
|
|
119
|
-
const CTX_INLINE_CHAT_EMPTY = ( (new RawContextKey('inlineChatEmpty', false, (
|
|
120
|
-
const CTX_INLINE_CHAT_INNER_CURSOR_FIRST = ( (new RawContextKey('inlineChatInnerCursorFirst', false, (
|
|
121
|
-
|
|
122
|
-
16,
|
|
107
|
+
const CTX_INLINE_CHAT_HAS_AGENT = ( (new RawContextKey('inlineChatHasProvider', false, ( localize(7186, "Whether a provider for interactive editors exists")))));
|
|
108
|
+
const CTX_INLINE_CHAT_VISIBLE = ( (new RawContextKey('inlineChatVisible', false, ( localize(7187, "Whether the interactive editor input is visible")))));
|
|
109
|
+
const CTX_INLINE_CHAT_FOCUSED = ( (new RawContextKey('inlineChatFocused', false, ( localize(7188, "Whether the interactive editor input is focused")))));
|
|
110
|
+
const CTX_INLINE_CHAT_RESPONSE_FOCUSED = ( (new RawContextKey('inlineChatResponseFocused', false, ( localize(7189, "Whether the interactive widget's response is focused")))));
|
|
111
|
+
const CTX_INLINE_CHAT_EMPTY = ( (new RawContextKey('inlineChatEmpty', false, ( localize(7190, "Whether the interactive editor input is empty")))));
|
|
112
|
+
const CTX_INLINE_CHAT_INNER_CURSOR_FIRST = ( (new RawContextKey('inlineChatInnerCursorFirst', false, ( localize(
|
|
113
|
+
7191,
|
|
123
114
|
"Whether the cursor of the iteractive editor input is on the first line"
|
|
124
115
|
)))));
|
|
125
|
-
const CTX_INLINE_CHAT_INNER_CURSOR_LAST = ( (new RawContextKey('inlineChatInnerCursorLast', false, (
|
|
126
|
-
|
|
127
|
-
17,
|
|
116
|
+
const CTX_INLINE_CHAT_INNER_CURSOR_LAST = ( (new RawContextKey('inlineChatInnerCursorLast', false, ( localize(
|
|
117
|
+
7192,
|
|
128
118
|
"Whether the cursor of the iteractive editor input is on the last line"
|
|
129
119
|
)))));
|
|
130
|
-
const CTX_INLINE_CHAT_OUTER_CURSOR_POSITION = ( (new RawContextKey('inlineChatOuterCursorPosition', '', (
|
|
131
|
-
|
|
132
|
-
20,
|
|
120
|
+
const CTX_INLINE_CHAT_OUTER_CURSOR_POSITION = ( (new RawContextKey('inlineChatOuterCursorPosition', '', ( localize(
|
|
121
|
+
7195,
|
|
133
122
|
"Whether the cursor of the outer editor is above or below the interactive editor input"
|
|
134
123
|
)))));
|
|
135
|
-
const CTX_INLINE_CHAT_HAS_STASHED_SESSION = ( (new RawContextKey('inlineChatHasStashedSession', false, (
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
)))));
|
|
140
|
-
const CTX_INLINE_CHAT_USER_DID_EDIT = ( (new RawContextKey('inlineChatUserDidEdit', undefined, ( localizeWithPath(_moduleId, 22, "Whether the user did changes ontop of the inline chat")))));
|
|
141
|
-
const CTX_INLINE_CHAT_DOCUMENT_CHANGED = ( (new RawContextKey('inlineChatDocumentChanged', false, ( localizeWithPath(_moduleId, 23, "Whether the document has changed concurrently")))));
|
|
142
|
-
const CTX_INLINE_CHAT_CHANGE_HAS_DIFF = ( (new RawContextKey('inlineChatChangeHasDiff', false, ( localizeWithPath(_moduleId, 24, "Whether the current change supports showing a diff")))));
|
|
143
|
-
const CTX_INLINE_CHAT_CHANGE_SHOWS_DIFF = ( (new RawContextKey('inlineChatChangeShowsDiff', false, ( localizeWithPath(_moduleId, 25, "Whether the current change showing a diff")))));
|
|
124
|
+
const CTX_INLINE_CHAT_HAS_STASHED_SESSION = ( (new RawContextKey('inlineChatHasStashedSession', false, ( localize(7196, "Whether interactive editor has kept a session for quick restore")))));
|
|
125
|
+
const CTX_INLINE_CHAT_USER_DID_EDIT = ( (new RawContextKey('inlineChatUserDidEdit', undefined, ( localize(7197, "Whether the user did changes ontop of the inline chat")))));
|
|
126
|
+
const CTX_INLINE_CHAT_DOCUMENT_CHANGED = ( (new RawContextKey('inlineChatDocumentChanged', false, ( localize(7198, "Whether the document has changed concurrently")))));
|
|
127
|
+
const CTX_INLINE_CHAT_CHANGE_HAS_DIFF = ( (new RawContextKey('inlineChatChangeHasDiff', false, ( localize(7199, "Whether the current change supports showing a diff")))));
|
|
128
|
+
const CTX_INLINE_CHAT_CHANGE_SHOWS_DIFF = ( (new RawContextKey('inlineChatChangeShowsDiff', false, ( localize(7200, "Whether the current change showing a diff")))));
|
|
144
129
|
const CTX_INLINE_CHAT_EDIT_MODE = ( (new RawContextKey('config.inlineChat.mode', EditMode.Live)));
|
|
145
|
-
const CTX_INLINE_CHAT_REQUEST_IN_PROGRESS = ( (new RawContextKey('inlineChatRequestInProgress', false, (
|
|
146
|
-
const CTX_INLINE_CHAT_RESPONSE_TYPE = ( (new RawContextKey('inlineChatResponseType', InlineChatResponseType.None, (
|
|
147
|
-
|
|
148
|
-
27,
|
|
130
|
+
const CTX_INLINE_CHAT_REQUEST_IN_PROGRESS = ( (new RawContextKey('inlineChatRequestInProgress', false, ( localize(7201, "Whether an inline chat request is currently in progress")))));
|
|
131
|
+
const CTX_INLINE_CHAT_RESPONSE_TYPE = ( (new RawContextKey('inlineChatResponseType', InlineChatResponseType.None, ( localize(
|
|
132
|
+
7202,
|
|
149
133
|
"What type was the responses have been receieved, nothing yet, just messages, or messaged and local edits"
|
|
150
134
|
)))));
|
|
151
135
|
const CTX_INLINE_CHAT_CONFIG_TXT_BTNS = ( (ContextKeyExpr.equals(`config.${[InlineChatConfigKeys.ExpTextButtons]}`, true)));
|
|
@@ -156,41 +140,17 @@ const ACTION_TOGGLE_DIFF = 'inlineChat.toggleDiff';
|
|
|
156
140
|
const MENU_INLINE_CHAT_EXECUTE = MenuId.for('inlineChat.execute');
|
|
157
141
|
const MENU_INLINE_CHAT_CONTENT_STATUS = MenuId.for('inlineChat.content.status');
|
|
158
142
|
const MENU_INLINE_CHAT_WIDGET_STATUS = MenuId.for('inlineChatWidget.status');
|
|
159
|
-
const inlineChatForeground = registerColor('inlineChat.foreground', editorWidgetForeground, (
|
|
160
|
-
const inlineChatBackground = registerColor('inlineChat.background', editorWidgetBackground, (
|
|
161
|
-
registerColor('inlineChat.border', editorWidgetBorder, (
|
|
162
|
-
registerColor('inlineChat.shadow', widgetShadow, (
|
|
163
|
-
registerColor('inlineChatInput.border', editorWidgetBorder, (
|
|
164
|
-
registerColor('inlineChatInput.focusBorder', focusBorder, (
|
|
165
|
-
registerColor('inlineChatInput.placeholderForeground', inputPlaceholderForeground, (
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
)));
|
|
170
|
-
registerColor('
|
|
171
|
-
registerColor('
|
|
172
|
-
_moduleId,
|
|
173
|
-
36,
|
|
174
|
-
"Background color of inserted text in the interactive editor input"
|
|
175
|
-
)));
|
|
176
|
-
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))) }, ( localizeWithPath(
|
|
177
|
-
_moduleId,
|
|
178
|
-
37,
|
|
179
|
-
'Overview ruler marker color for inline chat inserted content.'
|
|
180
|
-
)));
|
|
181
|
-
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))) }, ( localizeWithPath(
|
|
182
|
-
_moduleId,
|
|
183
|
-
37,
|
|
184
|
-
'Overview ruler marker color for inline chat inserted content.'
|
|
185
|
-
)));
|
|
186
|
-
registerColor('inlineChatDiff.removed', ( (transparent(diffRemoved, .5))), ( localizeWithPath(
|
|
187
|
-
_moduleId,
|
|
188
|
-
38,
|
|
189
|
-
"Background color of removed text in the interactive editor input"
|
|
190
|
-
)));
|
|
191
|
-
registerColor('editorOverviewRuler.inlineChatRemoved', { dark: ( (transparent(diffRemoved, 0.6))), light: ( (transparent(diffRemoved, 0.8))), hcDark: ( (transparent(diffRemoved, 0.6))), hcLight: ( (transparent(diffRemoved, 0.8))) }, ( localizeWithPath(
|
|
192
|
-
_moduleId,
|
|
193
|
-
39,
|
|
194
|
-
'Overview ruler marker color for inline chat removed content.'
|
|
195
|
-
)));
|
|
143
|
+
const inlineChatForeground = registerColor('inlineChat.foreground', editorWidgetForeground, ( localize(7203, "Foreground color of the interactive editor widget")));
|
|
144
|
+
const inlineChatBackground = registerColor('inlineChat.background', editorWidgetBackground, ( localize(7204, "Background color of the interactive editor widget")));
|
|
145
|
+
registerColor('inlineChat.border', editorWidgetBorder, ( localize(7205, "Border color of the interactive editor widget")));
|
|
146
|
+
registerColor('inlineChat.shadow', widgetShadow, ( localize(7206, "Shadow color of the interactive editor widget")));
|
|
147
|
+
registerColor('inlineChatInput.border', editorWidgetBorder, ( localize(7207, "Border color of the interactive editor input")));
|
|
148
|
+
registerColor('inlineChatInput.focusBorder', focusBorder, ( localize(7208, "Border color of the interactive editor input when focused")));
|
|
149
|
+
registerColor('inlineChatInput.placeholderForeground', inputPlaceholderForeground, ( localize(7209, "Foreground color of the interactive editor input placeholder")));
|
|
150
|
+
registerColor('inlineChatInput.background', inputBackground, ( localize(7210, "Background color of the interactive editor input")));
|
|
151
|
+
registerColor('inlineChatDiff.inserted', ( (transparent(diffInserted, .5))), ( localize(7211, "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(7212, '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(7212, 'Overview ruler marker color for inline chat inserted content.')));
|
|
154
|
+
registerColor('inlineChatDiff.removed', ( (transparent(diffRemoved, .5))), ( localize(7213, "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(7214, 'Overview ruler marker color for inline chat removed content.')));
|
|
196
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 };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import { createDecorator } from '../../../../platform/instantiation/common/instantiation.js';
|
|
2
|
+
const IIssueFormService = ( createDecorator('issueFormService'));
|
|
2
3
|
const IWorkbenchIssueService = ( createDecorator('workbenchIssueService'));
|
|
3
|
-
export { IWorkbenchIssueService };
|
|
4
|
+
export { IIssueFormService, IWorkbenchIssueService };
|
|
@@ -8,7 +8,7 @@ import '../../../../base/common/cancellation.js';
|
|
|
8
8
|
import { isEqual } from '../../../../base/common/resources.js';
|
|
9
9
|
import { isDefined } from '../../../../base/common/types.js';
|
|
10
10
|
import { ITextResourceConfigurationService } from '../../../../editor/common/services/textResourceConfiguration.js';
|
|
11
|
-
import {
|
|
11
|
+
import { localize } from '../../../../nls.js';
|
|
12
12
|
import { IConfigurationService } from '../../../../platform/configuration/common/configuration.service.js';
|
|
13
13
|
import { IFileService } from '../../../../platform/files/common/files.service.js';
|
|
14
14
|
import { IInstantiationService } from '../../../../platform/instantiation/common/instantiation.js';
|
|
@@ -22,7 +22,6 @@ import { IEditorService } from '../../../services/editor/common/editorService.se
|
|
|
22
22
|
import { IFilesConfigurationService } from '../../../services/filesConfiguration/common/filesConfigurationService.service.js';
|
|
23
23
|
import { ITextFileService } from '../../../services/textfile/common/textfiles.service.js';
|
|
24
24
|
var MergeEditorInput_1;
|
|
25
|
-
const _moduleId = "vs/workbench/contrib/mergeEditor/browser/mergeEditorInput";
|
|
26
25
|
class MergeEditorInputData {
|
|
27
26
|
constructor(uri, title, detail, description) {
|
|
28
27
|
this.uri = uri;
|
|
@@ -74,7 +73,7 @@ let MergeEditorInput = class MergeEditorInput extends AbstractTextResourceEditor
|
|
|
74
73
|
return capabilities;
|
|
75
74
|
}
|
|
76
75
|
getName() {
|
|
77
|
-
return (
|
|
76
|
+
return ( localize(7630, "Merging: {0}", super.getName()));
|
|
78
77
|
}
|
|
79
78
|
async resolve() {
|
|
80
79
|
if (!this._inputModel) {
|