@codingame/monaco-vscode-api 3.2.2 → 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +22 -17
- package/api.js +4 -7
- package/debugProtocol.d.ts +14 -39
- package/extensions.d.ts +7 -1
- package/missing-services.js +122 -38
- package/monaco.d.ts +1 -1
- package/monaco.js +11 -1
- package/override/vs/platform/dialogs/common/dialogs.js +1 -0
- package/package.json +8 -8
- package/service-override/tools/editor.js +82 -3
- package/service-override/tools/views.d.ts +2 -1
- package/service-override/tools/views.js +5 -1
- package/services.js +7 -6
- package/vscode/src/vs/base/browser/dom.js +1 -7
- package/vscode/src/vs/base/browser/fonts.js +3 -0
- package/vscode/src/vs/base/browser/keyboardEvent.js +1 -1
- package/vscode/src/vs/base/browser/markdownRenderer.js +4 -4
- package/vscode/src/vs/base/browser/touch.js +13 -2
- package/vscode/src/vs/base/browser/ui/actionbar/actionViewItems.d.ts +1 -1
- package/vscode/src/vs/base/browser/ui/actionbar/actionViewItems.js +5 -6
- package/vscode/src/vs/base/browser/ui/actionbar/actionbar.d.ts +1 -1
- package/vscode/src/vs/base/browser/ui/actionbar/actionbar.js +2 -2
- package/vscode/src/vs/base/browser/ui/breadcrumbs/breadcrumbsWidget.d.ts +1 -0
- package/vscode/src/vs/base/browser/ui/breadcrumbs/breadcrumbsWidget.js +4 -2
- package/vscode/src/vs/base/browser/ui/button/button.js +16 -9
- package/vscode/src/vs/base/browser/ui/codicons/codicon/codicon.css.js +1 -1
- package/vscode/src/vs/base/browser/ui/contextview/contextview.d.ts +1 -0
- package/vscode/src/vs/base/browser/ui/contextview/contextview.js +1 -1
- package/vscode/src/vs/base/browser/ui/dropdown/dropdown.js +4 -4
- package/vscode/src/vs/base/browser/ui/dropdown/dropdownActionViewItem.js +3 -3
- package/vscode/src/vs/base/browser/ui/findinput/findInput.js +5 -0
- package/vscode/src/vs/base/browser/ui/findinput/findInputToggles.js +4 -0
- package/vscode/src/vs/base/browser/ui/findinput/replaceInput.js +3 -1
- package/vscode/src/vs/base/browser/ui/grid/gridview.js +1 -0
- package/vscode/src/vs/base/browser/ui/highlightedlabel/highlightedLabel.js +14 -3
- package/vscode/src/vs/base/browser/ui/{iconLabel/iconHoverDelegate.d.ts → hover/hoverDelegate.d.ts} +3 -6
- package/vscode/src/vs/base/browser/ui/hover/{hoverDelegate.js → hoverDelegateFactory.js} +5 -5
- package/vscode/src/vs/base/browser/ui/hover/hoverWidget.js +1 -1
- package/vscode/src/vs/base/browser/ui/{iconLabel/iconLabelHover.d.ts → hover/updatableHoverWidget.d.ts} +6 -1
- package/vscode/src/vs/base/browser/ui/{iconLabel/iconLabelHover.js → hover/updatableHoverWidget.js} +27 -7
- package/vscode/src/vs/base/browser/ui/iconLabel/iconLabel.js +10 -9
- package/vscode/src/vs/base/browser/ui/iconLabel/simpleIconLabel.js +11 -1
- package/vscode/src/vs/base/browser/ui/inputbox/inputBox.js +19 -1
- package/vscode/src/vs/base/browser/ui/keybindingLabel/keybindingLabel.js +8 -7
- package/vscode/src/vs/base/browser/ui/list/listView.js +4 -1
- package/vscode/src/vs/base/browser/ui/list/listWidget.js +27 -10
- package/vscode/src/vs/base/browser/ui/menu/menu.js +15 -9
- package/vscode/src/vs/base/browser/ui/menu/menubar.js +15 -8
- package/vscode/src/vs/base/browser/ui/scrollbar/scrollableElement.js +18 -2
- package/vscode/src/vs/base/browser/ui/selectBox/selectBox.js +1 -0
- package/vscode/src/vs/base/browser/ui/selectBox/selectBoxCustom.js +14 -7
- package/vscode/src/vs/base/browser/ui/table/tableWidget.js +6 -4
- package/vscode/src/vs/base/browser/ui/toggle/toggle.js +7 -6
- package/vscode/src/vs/base/browser/ui/toolbar/toolbar.js +2 -2
- package/vscode/src/vs/base/browser/ui/tree/abstractTree.js +55 -10
- package/vscode/src/vs/base/browser/ui/tree/indexTreeModel.js +4 -1
- package/vscode/src/vs/base/browser/window.d.ts +5 -0
- package/vscode/src/vs/base/browser/window.js +1 -2
- package/vscode/src/vs/base/common/arrays.js +20 -1
- package/vscode/src/vs/base/common/cache.js +3 -2
- package/vscode/src/vs/base/common/codicons.d.ts +62 -38
- package/vscode/src/vs/base/common/codicons.js +19 -571
- package/vscode/src/vs/base/common/codiconsLibrary.js +570 -0
- package/vscode/src/vs/base/common/codiconsUtil.js +17 -0
- package/vscode/src/vs/base/common/event.js +4 -1
- package/vscode/src/vs/base/common/glob.js +1 -0
- package/vscode/src/vs/base/common/hierarchicalKind.d.ts +13 -0
- package/vscode/src/vs/base/common/hierarchicalKind.js +21 -0
- package/vscode/src/vs/base/common/labels.js +2 -2
- package/vscode/src/vs/base/common/network.js +14 -5
- package/vscode/src/vs/base/common/observableInternal/promise.js +1 -0
- package/vscode/src/vs/base/common/observableInternal/utils.js +35 -14
- package/vscode/src/vs/base/common/platform.js +1 -1
- package/vscode/src/vs/base/common/product.d.ts +7 -1
- package/vscode/src/vs/base/common/severity.js +2 -1
- package/vscode/src/vs/base/common/strings.js +16 -4
- package/vscode/src/vs/base/parts/ipc/common/ipc.js +4 -0
- package/vscode/src/vs/editor/browser/controller/mouseHandler.js +5 -5
- package/vscode/src/vs/editor/browser/controller/mouseTarget.js +55 -43
- package/vscode/src/vs/editor/browser/controller/textAreaHandler.js +5 -5
- package/vscode/src/vs/editor/browser/coreCommands.js +13 -13
- package/vscode/src/vs/editor/browser/editorDom.js +11 -1
- package/vscode/src/vs/editor/browser/editorExtensions.js +1 -1
- package/vscode/src/vs/editor/browser/services/editorWorkerService.js +10 -2
- package/vscode/src/vs/editor/browser/services/hoverService/hoverService.d.ts +31 -0
- package/vscode/src/vs/editor/browser/services/{hoverService.js → hoverService/hoverService.js} +38 -27
- package/vscode/src/vs/editor/browser/{widget/hoverWidget → services/hoverService}/hoverWidget.js +13 -14
- package/vscode/src/vs/editor/browser/view/viewLayer.js +4 -4
- package/vscode/src/vs/editor/browser/view/viewOverlays.js +12 -23
- package/vscode/src/vs/editor/browser/view.js +5 -5
- package/vscode/src/vs/editor/browser/viewParts/blockDecorations/blockDecorations.js +1 -1
- package/vscode/src/vs/editor/browser/viewParts/contentWidgets/contentWidgets.js +3 -3
- package/vscode/src/vs/editor/browser/viewParts/currentLineHighlight/currentLineHighlight.css.js +1 -1
- package/vscode/src/vs/editor/browser/viewParts/currentLineHighlight/currentLineHighlight.js +4 -6
- package/vscode/src/vs/editor/browser/viewParts/decorations/decorations.css.js +1 -1
- package/vscode/src/vs/editor/browser/viewParts/decorations/decorations.js +8 -14
- package/vscode/src/vs/editor/browser/viewParts/editorScrollbar/editorScrollbar.js +2 -2
- package/vscode/src/vs/editor/browser/viewParts/glyphMargin/glyphMargin.js +2 -2
- package/vscode/src/vs/editor/browser/viewParts/indentGuides/indentGuides.css.js +1 -1
- package/vscode/src/vs/editor/browser/viewParts/indentGuides/indentGuides.js +3 -6
- package/vscode/src/vs/editor/browser/viewParts/lineNumbers/lineNumbers.css.js +1 -1
- package/vscode/src/vs/editor/browser/viewParts/lineNumbers/lineNumbers.js +5 -1
- package/vscode/src/vs/editor/browser/viewParts/lines/viewLine.js +4 -4
- package/vscode/src/vs/editor/browser/viewParts/lines/viewLines.css.js +1 -1
- package/vscode/src/vs/editor/browser/viewParts/lines/viewLines.js +5 -5
- package/vscode/src/vs/editor/browser/viewParts/linesDecorations/linesDecorations.js +2 -2
- package/vscode/src/vs/editor/browser/viewParts/margin/margin.js +2 -2
- package/vscode/src/vs/editor/browser/viewParts/minimap/minimap.js +142 -27
- package/vscode/src/vs/editor/browser/viewParts/overlayWidgets/overlayWidgets.js +2 -2
- package/vscode/src/vs/editor/browser/viewParts/overviewRuler/decorationsOverviewRuler.js +34 -16
- package/vscode/src/vs/editor/browser/viewParts/overviewRuler/overviewRuler.js +3 -3
- package/vscode/src/vs/editor/browser/viewParts/scrollDecoration/scrollDecoration.js +1 -1
- package/vscode/src/vs/editor/browser/viewParts/selections/selections.js +23 -20
- package/vscode/src/vs/editor/browser/viewParts/viewCursors/viewCursor.js +25 -3
- package/vscode/src/vs/editor/browser/viewParts/viewCursors/viewCursors.js +21 -13
- package/vscode/src/vs/editor/browser/viewParts/viewZones/viewZones.js +2 -2
- package/vscode/src/vs/editor/browser/viewParts/whitespace/whitespace.js +2 -2
- package/vscode/src/vs/editor/browser/widget/{codeEditorContributions.js → codeEditor/codeEditorContributions.js} +3 -3
- package/vscode/src/vs/editor/browser/widget/{codeEditorWidget.js → codeEditor/codeEditorWidget.js} +81 -70
- package/vscode/src/vs/editor/browser/widget/codeEditor/editor.css.js +4 -0
- package/vscode/src/vs/editor/browser/widget/codeEditor/embeddedCodeEditorWidget.js +44 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/commands.js +281 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/accessibleDiffViewer.js +7 -5
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorDecorations.js +4 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorEditors.js +15 -9
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorSash.js +2 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/diffEditorViewZones.js +9 -8
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/renderLines.js +1 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditor.contribution.js +33 -246
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorOptions.js +22 -7
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorViewModel.js +5 -5
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorWidget.js +71 -41
- package/vscode/src/vs/editor/browser/widget/diffEditor/embeddedDiffEditorWidget.js +36 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/gutterFeature.js +227 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/hideUnchangedRegionsFeature.js +22 -19
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/movedBlocksLinesFeature.js +5 -4
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/overviewRulerFeature.js +15 -4
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/revertButtonsFeature.js +13 -5
- package/vscode/src/vs/editor/browser/widget/diffEditor/registrations.contribution.js +11 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/style.css.js +1 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/utils/editorGutter.js +104 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/utils.js +8 -15
- package/vscode/src/vs/editor/browser/widget/{multiDiffEditorWidget → multiDiffEditor}/colors.js +14 -4
- package/vscode/src/vs/editor/browser/widget/{multiDiffEditorWidget → multiDiffEditor}/diffEditorItemTemplate.js +6 -5
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/model.js +14 -0
- package/vscode/src/vs/editor/browser/widget/{multiDiffEditorWidget → multiDiffEditor}/multiDiffEditorViewModel.js +5 -2
- package/vscode/src/vs/editor/browser/widget/{multiDiffEditorWidget → multiDiffEditor}/multiDiffEditorWidget.js +5 -3
- package/vscode/src/vs/editor/browser/widget/{multiDiffEditorWidget → multiDiffEditor}/multiDiffEditorWidgetImpl.js +9 -10
- package/vscode/src/vs/editor/browser/widget/{multiDiffEditorWidget → multiDiffEditor}/style.css.js +1 -1
- package/vscode/src/vs/editor/browser/widget/{multiDiffEditorWidget → multiDiffEditor}/utils.js +2 -1
- package/vscode/src/vs/editor/common/commands/trimTrailingWhitespaceCommand.js +14 -3
- package/vscode/src/vs/editor/common/config/diffEditor.js +1 -0
- package/vscode/src/vs/editor/common/config/editorConfigurationSchema.js +10 -1
- package/vscode/src/vs/editor/common/config/editorOptions.d.ts +23 -0
- package/vscode/src/vs/editor/common/config/editorOptions.js +115 -33
- package/vscode/src/vs/editor/common/core/editorColorRegistry.js +32 -2
- package/vscode/src/vs/editor/common/core/lineRange.d.ts +1 -0
- package/vscode/src/vs/editor/common/core/lineRange.js +12 -0
- package/vscode/src/vs/editor/common/core/positionToOffset.js +43 -0
- package/vscode/src/vs/editor/common/core/textEdit.js +169 -0
- package/vscode/src/vs/editor/common/core/textLength.js +110 -0
- package/vscode/src/vs/editor/common/core/wordCharacterClassifier.d.ts +14 -2
- package/vscode/src/vs/editor/common/core/wordCharacterClassifier.js +66 -10
- package/vscode/src/vs/editor/common/core/wordHelper.js +1 -0
- package/vscode/src/vs/editor/common/cursor/cursor.js +17 -4
- package/vscode/src/vs/editor/common/cursor/cursorTypeOperations.js +1 -1
- package/vscode/src/vs/editor/common/cursor/cursorWordOperations.js +22 -3
- package/vscode/src/vs/editor/common/cursorCommon.js +7 -5
- package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/defaultLinesDiffComputer.js +7 -4
- package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/heuristicSequenceOptimizations.js +1 -1
- package/vscode/src/vs/editor/common/diff/rangeMapping.d.ts +2 -0
- package/vscode/src/vs/editor/common/diff/rangeMapping.js +10 -0
- package/vscode/src/vs/editor/common/editorContextKeys.js +25 -0
- package/vscode/src/vs/editor/common/languages.d.ts +43 -11
- package/vscode/src/vs/editor/common/languages.js +15 -1
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsImpl.js +1 -1
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/length.js +3 -58
- package/vscode/src/vs/editor/common/model/textModel.js +2 -0
- package/vscode/src/vs/editor/common/model/textModelSearch.js +1 -1
- package/vscode/src/vs/editor/common/model/textModelText.js +17 -0
- package/vscode/src/vs/editor/common/model/textModelTokens.js +4 -0
- package/vscode/src/vs/editor/common/model/tokenizationTextModelPart.js +10 -0
- package/vscode/src/vs/editor/common/model.d.ts +17 -2
- package/vscode/src/vs/editor/common/model.js +1 -6
- package/vscode/src/vs/editor/common/services/editorSimpleWorker.js +8 -0
- package/vscode/src/vs/editor/common/services/editorWorker.d.ts +2 -0
- package/vscode/src/vs/editor/common/services/findSectionHeaders.d.ts +28 -0
- package/vscode/src/vs/editor/common/services/findSectionHeaders.js +71 -0
- package/vscode/src/vs/editor/common/services/markerDecorationsService.js +15 -5
- package/vscode/src/vs/editor/common/standalone/standaloneEnums.js +32 -20
- package/vscode/src/vs/editor/common/viewLayout/linesLayout.js +2 -1
- package/vscode/src/vs/editor/common/viewLayout/viewLayout.js +5 -5
- package/vscode/src/vs/editor/common/viewLayout/viewLinesViewportData.js +1 -0
- package/vscode/src/vs/editor/common/viewModel/modelLineProjection.js +1 -1
- package/vscode/src/vs/editor/common/viewModel/monospaceLineBreaksComputer.js +2 -2
- package/vscode/src/vs/editor/common/viewModel/viewModelImpl.js +10 -7
- package/vscode/src/vs/editor/contrib/bracketMatching/browser/bracketMatching.js +11 -1
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeAction.js +6 -5
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionCommands.js +5 -4
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionController.js +25 -3
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionKeybindingResolver.js +3 -2
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionMenu.js +3 -2
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionModel.js +13 -2
- package/vscode/src/vs/editor/contrib/codeAction/common/types.js +18 -33
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorContributions.js +1 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorDetector.js +3 -3
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorHoverParticipant.js +1 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerWidget.js +11 -1
- package/vscode/src/vs/editor/contrib/comment/browser/comment.js +1 -1
- package/vscode/src/vs/editor/contrib/comment/browser/lineCommentCommand.js +9 -9
- package/vscode/src/vs/editor/contrib/diffEditorBreadcrumbs/browser/contribution.js +5 -3
- package/vscode/src/vs/editor/contrib/documentSymbols/browser/outlineModel.js +1 -1
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution.js +40 -20
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.js +83 -47
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/defaultProviders.js +40 -31
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorContribution.js +16 -1
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController.js +8 -8
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/edit.js +5 -3
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/postEditWidget.js +7 -6
- package/vscode/src/vs/editor/contrib/find/browser/findDecorations.js +14 -4
- package/vscode/src/vs/editor/contrib/find/browser/findModel.js +6 -6
- package/vscode/src/vs/editor/contrib/find/browser/findOptionsWidget.js +16 -1
- package/vscode/src/vs/editor/contrib/find/browser/findWidget.js +23 -3
- package/vscode/src/vs/editor/contrib/folding/browser/foldingDecorations.js +12 -3
- package/vscode/src/vs/editor/contrib/gotoError/browser/gotoErrorWidget.js +11 -1
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/goToCommands.js +3 -3
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesTree.js +5 -3
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.js +1 -1
- package/vscode/src/vs/editor/contrib/hover/browser/hover.js +12 -2
- package/vscode/src/vs/editor/contrib/indentation/browser/indentation.js +3 -91
- package/vscode/src/vs/editor/contrib/indentation/common/indentation.js +92 -0
- package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsController.js +14 -4
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/commands.js +4 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/ghostText.js +18 -19
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/ghostTextWidget.js +5 -4
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hoverParticipant.js +4 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionContextKeys.js +4 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsController.js +6 -5
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsHintsWidget.js +5 -4
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsModel.js +28 -19
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsSource.js +7 -4
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/provideInlineCompletions.js +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/singleTextEdit.js +64 -72
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/suggestWidgetInlineCompletionProvider.js +11 -5
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/utils.js +5 -85
- package/vscode/src/vs/editor/contrib/inlineEdit/browser/commands.js +2 -2
- package/vscode/src/vs/editor/contrib/inlineEdit/browser/ghostTextWidget.js +6 -4
- package/vscode/src/vs/editor/contrib/inlineEdit/browser/hoverParticipant.js +4 -1
- package/vscode/src/vs/editor/contrib/inlineEdit/browser/inlineEditController.js +28 -17
- package/vscode/src/vs/editor/contrib/inlineEdit/browser/inlineEditHintsWidget.js +5 -4
- package/vscode/src/vs/editor/contrib/lineSelection/browser/lineSelection.js +1 -1
- package/vscode/src/vs/editor/contrib/linesOperations/browser/linesOperations.js +53 -6
- package/vscode/src/vs/editor/contrib/linesOperations/browser/moveLinesCommand.js +1 -1
- package/vscode/src/vs/editor/contrib/linkedEditing/browser/linkedEditing.js +11 -1
- package/vscode/src/vs/editor/contrib/links/browser/links.js +2 -2
- package/vscode/src/vs/editor/contrib/multicursor/browser/multicursor.js +7 -7
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.js +11 -1
- package/vscode/src/vs/editor/contrib/peekView/browser/peekView.js +12 -2
- package/vscode/src/vs/editor/contrib/quickAccess/browser/editorNavigationQuickAccess.js +1 -1
- package/vscode/src/vs/editor/contrib/rename/browser/rename.js +27 -33
- package/vscode/src/vs/editor/contrib/rename/browser/{renameInputField.js → renameWidget.js} +282 -194
- package/vscode/src/vs/editor/contrib/sectionHeaders/browser/sectionHeaders.js +154 -0
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollModelProvider.js +60 -61
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollProvider.js +23 -14
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollWidget.js +1 -1
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidget.js +12 -2
- package/vscode/src/vs/editor/contrib/symbolIcons/browser/symbolIcons.js +11 -1
- package/vscode/src/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.js +1 -1
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.js +16 -6
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.js +2 -2
- package/vscode/src/vs/editor/contrib/wordOperations/browser/wordOperations.js +12 -12
- package/vscode/src/vs/editor/contrib/zoneWidget/browser/zoneWidget.js +2 -2
- package/vscode/src/vs/editor/standalone/browser/quickInput/standaloneQuickInputService.js +1 -1
- package/vscode/src/vs/editor/standalone/browser/standaloneCodeEditor.js +2 -2
- package/vscode/src/vs/editor/standalone/browser/standaloneLayoutService.js +1 -1
- package/vscode/src/vs/editor/standalone/browser/standaloneServices.js +12 -12
- package/vscode/src/vs/editor/standalone/browser/standaloneThemeService.js +11 -1
- package/vscode/src/vs/editor/standalone/common/themes.js +11 -1
- package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.d.ts +16 -9
- package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +42 -18
- package/vscode/src/vs/platform/actionWidget/browser/actionList.js +16 -5
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.js +11 -1
- package/vscode/src/vs/platform/actions/browser/buttonbar.js +13 -5
- package/vscode/src/vs/platform/actions/browser/dropdownWithPrimaryActionViewItem.js +3 -1
- package/vscode/src/vs/platform/actions/browser/floatingMenu.js +11 -1
- package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.js +11 -1
- package/vscode/src/vs/platform/actions/common/actions.d.ts +7 -0
- package/vscode/src/vs/platform/actions/common/actions.js +7 -0
- package/vscode/src/vs/platform/contextview/browser/contextView.d.ts +1 -0
- package/vscode/src/vs/platform/contextview/browser/contextViewService.js +12 -15
- package/vscode/src/vs/platform/dialogs/common/dialogs.js +4 -2
- package/vscode/src/vs/platform/editor/common/editor.d.ts +12 -0
- package/vscode/src/vs/platform/environment/common/environmentService.js +6 -0
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.d.ts +19 -7
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +7 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionsProfileScannerService.js +333 -0
- package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.js +901 -0
- package/vscode/src/vs/platform/extensionResourceLoader/common/extensionResourceLoader.js +3 -4
- package/vscode/src/vs/platform/extensions/common/extensionValidator.js +16 -16
- package/vscode/src/vs/platform/extensions/common/extensions.js +5 -1
- package/vscode/src/vs/platform/files/common/files.d.ts +1 -11
- package/vscode/src/vs/platform/files/common/files.js +2 -0
- package/vscode/src/vs/platform/files/common/watcher.js +2 -0
- package/vscode/src/vs/platform/hover/browser/hover.d.ts +1 -1
- package/vscode/src/vs/platform/hover/browser/hover.js +21 -6
- package/vscode/src/vs/platform/keyboardLayout/common/keyboardLayout.js +1 -0
- package/vscode/src/vs/platform/languagePacks/common/languagePacks.js +5 -0
- package/vscode/src/vs/platform/layout/browser/layoutService.d.ts +8 -6
- package/vscode/src/vs/platform/log/browser/log.js +1 -0
- package/vscode/src/vs/platform/log/common/log.js +13 -1
- package/vscode/src/vs/platform/markers/common/markerService.js +1 -1
- package/vscode/src/vs/platform/markers/common/markers.js +9 -9
- package/vscode/src/vs/platform/opener/browser/link.js +16 -4
- package/vscode/src/vs/platform/policy/common/policy.js +2 -0
- package/vscode/src/vs/platform/product/common/product.js +2 -1
- package/vscode/src/vs/platform/quickinput/browser/media/quickInput.css.js +1 -1
- package/vscode/src/vs/platform/quickinput/browser/pickerQuickAccess.js +36 -33
- package/vscode/src/vs/platform/quickinput/browser/quickAccess.js +5 -0
- package/vscode/src/vs/platform/quickinput/browser/quickInput.js +38 -9
- package/vscode/src/vs/platform/quickinput/browser/quickInputBox.js +7 -4
- package/vscode/src/vs/platform/quickinput/browser/quickInputController.js +22 -12
- package/vscode/src/vs/platform/quickinput/browser/quickInputService.js +13 -5
- package/vscode/src/vs/platform/quickinput/browser/quickInputTree.js +1348 -0
- package/vscode/src/vs/platform/quickinput/browser/quickInputUtils.js +1 -1
- package/vscode/src/vs/platform/quickinput/common/quickInput.d.ts +14 -0
- package/vscode/src/vs/platform/remote/common/remoteAgentConnection.js +2 -2
- package/vscode/src/vs/platform/remote/common/remoteHosts.js +1 -4
- package/vscode/src/vs/platform/secrets/common/secrets.js +5 -0
- package/vscode/src/vs/platform/severityIcon/browser/severityIcon.js +5 -5
- package/vscode/src/vs/platform/telemetry/common/telemetryUtils.js +2 -0
- package/vscode/src/vs/platform/terminal/common/capabilities/capabilities.d.ts +1 -1
- package/vscode/src/vs/platform/terminal/common/capabilities/commandDetectionCapability.js +3 -9
- package/vscode/src/vs/platform/terminal/common/terminal.d.ts +6 -1
- package/vscode/src/vs/platform/terminal/common/terminal.js +1 -0
- package/vscode/src/vs/platform/terminal/common/terminalEnvironment.js +4 -1
- package/vscode/src/vs/platform/theme/browser/defaultStyles.js +11 -1
- package/vscode/src/vs/platform/theme/common/colorUtils.js +187 -0
- package/vscode/src/vs/platform/theme/common/colors/baseColors.js +89 -0
- package/vscode/src/vs/platform/theme/common/colors/chartsColors.js +46 -0
- package/vscode/src/vs/platform/theme/common/colors/editorColors.js +469 -0
- package/vscode/src/vs/platform/theme/common/colors/inputColors.js +196 -0
- package/vscode/src/vs/platform/theme/common/colors/listColors.js +166 -0
- package/vscode/src/vs/platform/theme/common/colors/menuColors.js +41 -0
- package/vscode/src/vs/platform/theme/common/colors/minimapColors.js +61 -0
- package/vscode/src/vs/platform/theme/common/colors/miscColors.js +45 -0
- package/vscode/src/vs/platform/theme/common/colors/quickpickColors.js +51 -0
- package/vscode/src/vs/platform/theme/common/colors/searchColors.js +19 -0
- package/vscode/src/vs/platform/theme/common/iconRegistry.js +2 -1
- package/vscode/src/vs/platform/theme/common/themeService.d.ts +1 -1
- package/vscode/src/vs/platform/tunnel/common/tunnel.js +2 -0
- package/vscode/src/vs/platform/undoRedo/common/undoRedoService.js +2 -2
- package/vscode/src/vs/platform/update/common/update.js +1 -1
- package/vscode/src/vs/platform/uriIdentity/common/uriIdentityService.js +1 -0
- package/vscode/src/vs/platform/userDataProfile/common/userDataProfileIpc.js +2 -0
- package/vscode/src/vs/workbench/api/common/extHost.api.impl.js +69 -32
- package/vscode/src/vs/workbench/api/common/extHost.common.services.js +6 -0
- package/vscode/src/vs/workbench/api/common/extHost.protocol.js +3 -1
- package/vscode/src/vs/workbench/api/common/extHostAuthentication.js +12 -5
- package/vscode/src/vs/workbench/api/common/extHostChat.js +0 -8
- package/vscode/src/vs/workbench/api/common/extHostChatAgents2.js +58 -88
- package/vscode/src/vs/workbench/api/common/extHostChatVariables.js +8 -4
- package/vscode/src/vs/workbench/api/common/extHostComments.js +49 -13
- package/vscode/src/vs/workbench/api/common/extHostDebugService.js +16 -17
- package/vscode/src/vs/workbench/api/common/extHostEditorTabs.js +3 -1
- package/vscode/src/vs/workbench/api/common/extHostExtensionActivator.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostExtensionService.js +17 -4
- package/vscode/src/vs/workbench/api/common/extHostInlineChat.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +57 -40
- package/vscode/src/vs/workbench/api/common/extHostLanguageModels.js +305 -0
- package/vscode/src/vs/workbench/api/common/extHostLanguages.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostNotebookDocument.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostNotebookKernels.js +26 -6
- package/vscode/src/vs/workbench/api/common/extHostQuickOpen.js +9 -9
- package/vscode/src/vs/workbench/api/common/extHostSCM.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostSearch.js +34 -3
- package/vscode/src/vs/workbench/api/common/extHostStatusBar.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTask.js +1 -0
- package/vscode/src/vs/workbench/api/common/extHostTerminalService.js +32 -18
- package/vscode/src/vs/workbench/api/common/extHostTerminalShellIntegration.js +214 -0
- package/vscode/src/vs/workbench/api/common/extHostTesting.js +85 -98
- package/vscode/src/vs/workbench/api/common/extHostTimeline.js +1 -0
- package/vscode/src/vs/workbench/api/common/extHostTunnelService.js +5 -2
- package/vscode/src/vs/workbench/api/common/extHostTypeConverters.js +119 -70
- package/vscode/src/vs/workbench/api/common/extHostTypes.js +90 -28
- package/vscode/src/vs/workbench/browser/actions/developerActions.js +4 -4
- package/vscode/src/vs/workbench/browser/actions/layoutActions.js +2 -2
- package/vscode/src/vs/workbench/browser/actions/windowActions.js +3 -3
- package/vscode/src/vs/workbench/browser/actions/workspaceActions.js +3 -3
- package/vscode/src/vs/workbench/browser/codeeditor.js +1 -1
- package/vscode/src/vs/workbench/browser/composite.d.ts +3 -5
- package/vscode/src/vs/workbench/browser/composite.js +2 -10
- package/vscode/src/vs/workbench/browser/editor.js +2 -2
- package/vscode/src/vs/workbench/browser/labels.js +2 -1
- package/vscode/src/vs/workbench/browser/media/part.css.js +1 -1
- package/vscode/src/vs/workbench/browser/media/style.css.js +1 -1
- package/vscode/src/vs/workbench/browser/part.d.ts +25 -3
- package/vscode/src/vs/workbench/browser/part.js +84 -9
- package/vscode/src/vs/workbench/browser/parts/activitybar/activitybarPart.js +67 -10
- package/vscode/src/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarActions.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarPart.js +92 -14
- package/vscode/src/vs/workbench/browser/parts/auxiliarybar/media/auxiliaryBarPart.css.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/compositeBar.js +5 -4
- package/vscode/src/vs/workbench/browser/parts/compositeBarActions.js +13 -3
- package/vscode/src/vs/workbench/browser/parts/compositePart.js +13 -5
- package/vscode/src/vs/workbench/browser/parts/editor/auxiliaryEditorPart.js +12 -0
- package/vscode/src/vs/workbench/browser/parts/editor/binaryDiffEditor.js +10 -10
- package/vscode/src/vs/workbench/browser/parts/editor/binaryEditor.js +3 -3
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsControl.js +8 -7
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsPicker.js +16 -8
- package/vscode/src/vs/workbench/browser/parts/editor/diffEditorCommands.js +217 -0
- package/vscode/src/vs/workbench/browser/parts/editor/editor.contribution.js +14 -16
- package/vscode/src/vs/workbench/browser/parts/editor/editorActions.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/editor/editorAutoSave.js +8 -7
- package/vscode/src/vs/workbench/browser/parts/editor/editorCommands.js +4 -202
- package/vscode/src/vs/workbench/browser/parts/editor/editorConfiguration.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/editorDropTarget.js +11 -1
- package/vscode/src/vs/workbench/browser/parts/editor/editorGroupView.js +92 -23
- package/vscode/src/vs/workbench/browser/parts/editor/editorGroupWatermark.js +15 -3
- package/vscode/src/vs/workbench/browser/parts/editor/editorPane.d.ts +7 -8
- package/vscode/src/vs/workbench/browser/parts/editor/editorPane.js +7 -6
- package/vscode/src/vs/workbench/browser/parts/editor/editorPanes.js +12 -32
- package/vscode/src/vs/workbench/browser/parts/editor/editorPart.js +11 -1
- package/vscode/src/vs/workbench/browser/parts/editor/editorParts.js +1 -0
- package/vscode/src/vs/workbench/browser/parts/editor/editorPlaceholder.js +27 -28
- package/vscode/src/vs/workbench/browser/parts/editor/editorStatus.js +19 -20
- package/vscode/src/vs/workbench/browser/parts/editor/editorTabsControl.js +12 -2
- package/vscode/src/vs/workbench/browser/parts/editor/editorWithViewState.js +14 -17
- package/vscode/src/vs/workbench/browser/parts/editor/multiEditorTabsControl.js +11 -1
- package/vscode/src/vs/workbench/browser/parts/editor/multiRowEditorTabsControl.js +12 -12
- package/vscode/src/vs/workbench/browser/parts/editor/sideBySideEditor.js +16 -16
- package/vscode/src/vs/workbench/browser/parts/editor/textCodeEditor.js +3 -3
- package/vscode/src/vs/workbench/browser/parts/editor/textDiffEditor.js +17 -17
- package/vscode/src/vs/workbench/browser/parts/editor/textEditor.js +36 -13
- package/vscode/src/vs/workbench/browser/parts/editor/textResourceEditor.js +22 -22
- package/vscode/src/vs/workbench/browser/parts/globalCompositeBar.js +29 -21
- package/vscode/src/vs/workbench/browser/parts/media/compositepart.css.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/media/paneCompositePart.css.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCenter.js +13 -2
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsToasts.js +11 -1
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsViewer.js +16 -16
- package/vscode/src/vs/workbench/browser/parts/paneCompositeBar.js +1 -0
- package/vscode/src/vs/workbench/browser/parts/paneCompositePart.js +122 -33
- package/vscode/src/vs/workbench/browser/parts/panel/panelActions.js +14 -3
- package/vscode/src/vs/workbench/browser/parts/panel/panelPart.js +15 -2
- package/vscode/src/vs/workbench/browser/parts/sidebar/media/sidebarpart.css.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/sidebar/sidebarActions.js +37 -0
- package/vscode/src/vs/workbench/browser/parts/sidebar/sidebarPart.js +36 -18
- package/vscode/src/vs/workbench/browser/parts/titlebar/menubarControl.js +7 -4
- package/vscode/src/vs/workbench/browser/parts/titlebar/windowTitle.js +6 -4
- package/vscode/src/vs/workbench/browser/parts/views/checkbox.js +2 -3
- package/vscode/src/vs/workbench/browser/parts/views/media/views.css.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/views/treeView.js +3 -3
- package/vscode/src/vs/workbench/browser/parts/views/viewFilter.js +13 -3
- package/vscode/src/vs/workbench/browser/parts/views/viewPane.d.ts +6 -0
- package/vscode/src/vs/workbench/browser/parts/views/viewPane.js +28 -11
- package/vscode/src/vs/workbench/browser/parts/views/viewPaneContainer.js +19 -15
- package/vscode/src/vs/workbench/browser/quickaccess.js +42 -15
- package/vscode/src/vs/workbench/browser/style.js +52 -3
- package/vscode/src/vs/workbench/browser/web.api.d.ts +6 -0
- package/vscode/src/vs/workbench/browser/window.js +28 -20
- package/vscode/src/vs/workbench/browser/workbench.contribution.js +83 -9
- package/vscode/src/vs/workbench/common/component.js +0 -1
- package/vscode/src/vs/workbench/common/contextkeys.js +4 -4
- package/vscode/src/vs/workbench/common/editor/editorGroupModel.js +59 -5
- package/vscode/src/vs/workbench/common/editor/editorInput.d.ts +10 -0
- package/vscode/src/vs/workbench/common/editor/editorInput.js +3 -0
- package/vscode/src/vs/workbench/common/editor/filteredEditorGroupModel.js +1 -0
- package/vscode/src/vs/workbench/common/editor/resourceEditorInput.d.ts +3 -1
- package/vscode/src/vs/workbench/common/editor/resourceEditorInput.js +7 -3
- package/vscode/src/vs/workbench/common/editor/sideBySideEditorInput.js +3 -3
- package/vscode/src/vs/workbench/common/editor/textResourceEditorInput.d.ts +2 -1
- package/vscode/src/vs/workbench/common/editor/textResourceEditorInput.js +9 -6
- package/vscode/src/vs/workbench/common/editor.d.ts +33 -13
- package/vscode/src/vs/workbench/common/editor.js +6 -7
- package/vscode/src/vs/workbench/common/theme.js +45 -5
- package/vscode/src/vs/workbench/common/views.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +59 -184
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityContributions.js +1 -0
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleView.js +140 -13
- package/vscode/src/vs/workbench/contrib/accessibility/browser/editorAccessibilityHelp.js +1 -1
- package/vscode/src/vs/workbench/contrib/accessibilitySignals/browser/accessibilitySignal.contribution.js +1 -0
- package/vscode/src/vs/workbench/contrib/accessibilitySignals/browser/accessibilitySignalDebuggerContribution.js +4 -2
- package/vscode/src/vs/workbench/contrib/accessibilitySignals/browser/accessibilitySignalLineFeatureContribution.js +35 -36
- package/vscode/src/vs/workbench/contrib/accessibilitySignals/browser/commands.js +1 -1
- package/vscode/src/vs/workbench/contrib/callHierarchy/browser/callHierarchyPeek.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAccessibilityHelp.js +4 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatActions.js +21 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatExecuteActions.js +70 -32
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatQuickInputActions.js +4 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.js +4 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatAccessibilityProvider.js +118 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatFollowups.js +11 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/chatInputPart.js +154 -61
- package/vscode/src/vs/workbench/contrib/chat/browser/chatListRenderer.js +186 -224
- package/vscode/src/vs/workbench/contrib/chat/browser/chatMarkdownDecorationsRenderer.js +6 -75
- package/vscode/src/vs/workbench/contrib/chat/browser/chatWidget.js +158 -49
- package/vscode/src/vs/workbench/contrib/chat/browser/codeBlockPart.js +84 -175
- package/vscode/src/vs/workbench/contrib/chat/browser/contrib/chatDynamicVariables.js +38 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/media/chat.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/annotations.js +105 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.js +137 -43
- package/vscode/src/vs/workbench/contrib/chat/common/chatColors.js +44 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.js +17 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatModel.js +82 -34
- package/vscode/src/vs/workbench/contrib/chat/common/chatParserTypes.js +17 -3
- package/vscode/src/vs/workbench/contrib/chat/common/chatRequestParser.js +20 -22
- package/vscode/src/vs/workbench/contrib/chat/common/chatViewModel.js +68 -9
- package/vscode/src/vs/workbench/contrib/chat/common/codeBlockModelCollection.js +115 -0
- package/vscode/src/vs/workbench/contrib/chat/common/{chatProvider.js → languageModels.js} +9 -9
- package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +5 -4
- package/vscode/src/vs/workbench/contrib/codeActions/browser/documentationContribution.js +2 -1
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.js +5 -5
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +33 -7
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/find/simpleFindWidget.js +11 -1
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoSymbolQuickAccess.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +9 -6
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/suggestEnabledInput/suggestEnabledInput.js +13 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMinimap.js +1 -1
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMultiCursorModifier.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderControlCharacter.js +1 -1
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderWhitespace.js +1 -1
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +6 -6
- package/vscode/src/vs/workbench/contrib/codeEditor/{browser → common}/languageConfigurationExtensionPoint.js +79 -74
- package/vscode/src/vs/workbench/contrib/comments/browser/commentColors.js +11 -1
- package/vscode/src/vs/workbench/contrib/comments/browser/commentGlyphWidget.js +11 -1
- package/vscode/src/vs/workbench/contrib/comments/browser/commentNode.js +25 -18
- package/vscode/src/vs/workbench/contrib/comments/browser/commentReply.js +14 -2
- package/vscode/src/vs/workbench/contrib/comments/browser/commentService.js +80 -52
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadWidget.js +12 -2
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadZoneWidget.js +33 -13
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsController.js +129 -57
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsModel.js +15 -15
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsTreeViewer.js +145 -20
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsView.js +61 -95
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsViewActions.js +2 -2
- package/vscode/src/vs/workbench/contrib/comments/browser/media/panel.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/comments/browser/simpleCommentEditor.js +2 -2
- package/vscode/src/vs/workbench/contrib/comments/browser/timestamp.js +4 -3
- package/vscode/src/vs/workbench/contrib/comments/common/commentModel.js +18 -11
- package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditor.contribution.js +6 -0
- package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditorInput.js +62 -4
- package/vscode/src/vs/workbench/contrib/debug/browser/baseDebugView.js +6 -4
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointEditorContribution.js +34 -5
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointWidget.js +48 -29
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointsView.js +216 -23
- package/vscode/src/vs/workbench/contrib/debug/browser/callStackEditorContribution.js +11 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/debugColors.js +12 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/debugIcons.js +6 -1
- package/vscode/src/vs/workbench/contrib/debug/common/debug.d.ts +23 -5
- package/vscode/src/vs/workbench/contrib/debug/common/debug.js +24 -1
- package/vscode/src/vs/workbench/contrib/debug/common/debugModel.d.ts +15 -1
- package/vscode/src/vs/workbench/contrib/debug/common/debugModel.js +30 -6
- package/vscode/src/vs/workbench/contrib/debug/common/replModel.js +2 -2
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActions.js +106 -37
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsInput.js +1 -1
- package/vscode/src/vs/workbench/contrib/externalUriOpener/common/externalUriOpener.contribution.js +1 -0
- package/vscode/src/vs/workbench/contrib/files/browser/editors/binaryFileEditor.js +8 -11
- package/vscode/src/vs/workbench/contrib/files/browser/editors/fileEditorInput.js +5 -3
- package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileEditor.js +23 -24
- package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileSaveErrorHandler.js +17 -12
- package/vscode/src/vs/workbench/contrib/files/browser/explorerViewlet.js +3 -3
- package/vscode/src/vs/workbench/contrib/files/browser/fileActions.js +9 -9
- package/vscode/src/vs/workbench/contrib/files/browser/fileCommands.save.js +1 -1
- package/vscode/src/vs/workbench/contrib/files/browser/files.configuration.contribution.js +10 -0
- package/vscode/src/vs/workbench/contrib/files/browser/views/emptyView.js +11 -1
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerDecorationsProvider.js +11 -1
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerView.js +1 -3
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerViewer.js +1 -1
- package/vscode/src/vs/workbench/contrib/files/browser/views/openEditorsView.js +15 -6
- package/vscode/src/vs/workbench/contrib/files/common/dirtyFilesIndicator.js +4 -8
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatActions.js +674 -0
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatContentWidget.js +154 -0
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatController.js +316 -344
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatFileCreationWidget.js +223 -0
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSession.js +8 -25
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionServiceImpl.js +427 -0
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatStrategies.js +45 -160
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatWidget.js +358 -702
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatZoneWidget.js +165 -0
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/media/inlineChat.css.js +4 -0
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/media/inlineChatContentWidget.css.js +4 -0
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/utils.js +1 -1
- package/vscode/src/vs/workbench/contrib/inlineChat/common/inlineChat.js +16 -27
- package/vscode/src/vs/workbench/contrib/interactive/browser/interactiveEditorInput.js +19 -4
- package/vscode/src/vs/workbench/contrib/languageStatus/browser/languageStatus.contribution.js +9 -9
- package/vscode/src/vs/workbench/contrib/languageStatus/browser/media/languageStatus.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/limitIndicator/browser/limitIndicator.contribution.js +2 -2
- package/vscode/src/vs/workbench/contrib/logs/common/defaultLogLevels.js +17 -2
- package/vscode/src/vs/workbench/contrib/logs/common/logsActions.js +236 -0
- package/vscode/src/vs/workbench/contrib/markdown/browser/markdownDocumentRenderer.js +2 -2
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInput.js +9 -4
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInputModel.js +8 -6
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeMarkers/mergeMarkersController.js +8 -0
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/mergeEditorModel.js +5 -5
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/rangeUtils.js +5 -5
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/textModelDiffs.js +2 -0
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/utils.js +4 -2
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/colors.js +11 -1
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/conflictActions.js +5 -3
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editorGutter.js +5 -3
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editors/baseCodeEditorView.js +6 -4
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editors/codeEditorView.js +5 -4
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editors/inputCodeEditorView.js +7 -5
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editors/resultCodeEditorView.js +6 -4
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/lineAlignment.js +2 -2
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/mergeEditor.js +23 -19
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/scrollSynchronizer.js +4 -1
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/viewModel.js +5 -3
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/icons.contribution.js +9 -0
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffEditorInput.js +303 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellCommands/cellCommands.js +655 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellDiagnostics/cellDiagnostics.js +101 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/executionStatusBarItemController.js +56 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/findMatchDecorationModel.js +11 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindReplaceWidget.js +11 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebookChatContext.js +29 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebookChatController.js +888 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/coreActions.js +2 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/notebookIndentationActions.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebook.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookFolding.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookOutline.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookToolbar.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibilityProvider.js +88 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditor.js +60 -46
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditorWidget.js +42 -52
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellActionView.js +18 -7
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellComments.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellContextKeys.js +28 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellStatusPart.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellToolbars.js +11 -7
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCellRunToolbar.js +2 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/foldedCellHint.js +48 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/markupCell.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/notebookCellList.js +3 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/notebookCellListView.js +13 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/backLayerWebView.js +57 -10
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/cellRenderer.js +11 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/webviewPreloads.js +161 -15
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/baseCellViewModel.js +4 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/codeCellViewModel.js +21 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/foldingModel.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/markupCellViewModel.js +5 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookOutlineEntryFactory.js +14 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookOutlineProvider.js +14 -8
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookViewModelImpl.js +3 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookEditorStickyScroll.js +25 -64
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookEditorToolbar.js +27 -22
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelQuickPickStrategy.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelView.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookTopCellToolbar.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookCommon.js +8 -1
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookContextKeys.js +3 -1
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorInput.js +7 -14
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorModel.js +4 -4
- package/vscode/src/vs/workbench/contrib/outline/browser/outline.js +10 -0
- package/vscode/src/vs/workbench/contrib/preferences/browser/keybindingWidgets.js +16 -4
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesWidgets.js +17 -4
- package/vscode/src/vs/workbench/contrib/preferences/common/settingsEditorColorRegistry.js +11 -1
- package/vscode/src/vs/workbench/contrib/remote/browser/remoteExplorer.js +26 -8
- package/vscode/src/vs/workbench/contrib/remote/browser/tunnelView.js +16 -6
- package/vscode/src/vs/workbench/contrib/scm/browser/dirtyDiffSwitcher.js +11 -1
- package/vscode/src/vs/workbench/contrib/scm/browser/dirtydiffDecorator.js +18 -8
- package/vscode/src/vs/workbench/contrib/search/browser/notebookSearch/notebookSearchService.js +235 -0
- package/vscode/src/vs/workbench/contrib/search/browser/searchModel.js +182 -69
- package/vscode/src/vs/workbench/contrib/search/common/constants.js +2 -0
- package/vscode/src/vs/workbench/contrib/speech/common/speechService.js +203 -1
- package/vscode/src/vs/workbench/contrib/tags/browser/workspaceTagsService.js +3 -0
- package/vscode/src/vs/workbench/contrib/tags/common/workspaceTags.js +2 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.d.ts +11 -3
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalEditorInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/markNavigationAddon.js +58 -8
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/xtermTerminal.js +3 -1
- package/vscode/src/vs/workbench/contrib/terminal/common/terminal.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/terminal/common/terminal.js +12 -1
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalColorRegistry.js +11 -1
- package/vscode/src/vs/workbench/contrib/testing/common/testCoverage.js +53 -57
- package/vscode/src/vs/workbench/contrib/testing/common/testCoverageService.js +11 -26
- package/vscode/src/vs/workbench/contrib/testing/common/testResult.js +6 -3
- package/vscode/src/vs/workbench/contrib/testing/common/testTypes.js +12 -12
- package/vscode/src/vs/workbench/contrib/testing/common/testingContextKeys.js +8 -0
- package/vscode/src/vs/workbench/contrib/timeline/common/timeline.js +2 -0
- package/vscode/src/vs/workbench/contrib/typeHierarchy/browser/typeHierarchyPeek.js +1 -1
- package/vscode/src/vs/workbench/contrib/webview/browser/overlayWebview.js +30 -7
- package/vscode/src/vs/workbench/contrib/webview/browser/themeing.js +12 -2
- package/vscode/src/vs/workbench/contrib/webview/browser/webviewElement.js +50 -41
- package/vscode/src/vs/workbench/contrib/webview/browser/webviewWindowDragMonitor.js +4 -5
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditor.js +20 -22
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditorInput.js +4 -1
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewPanel.contribution.js +1 -0
- package/vscode/src/vs/workbench/contrib/webviewView/browser/webviewViewPane.js +3 -3
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedService.js +1 -1
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent.js +2 -0
- package/vscode/src/vs/workbench/services/assignment/common/assignmentService.js +6 -0
- package/vscode/src/vs/workbench/services/authentication/browser/authenticationAccessService.js +69 -0
- package/vscode/src/vs/workbench/services/authentication/browser/authenticationService.js +69 -811
- package/vscode/src/vs/workbench/services/authentication/browser/authenticationUsageService.js +50 -0
- package/vscode/src/vs/workbench/services/authentication/common/authentication.js +2 -1
- package/vscode/src/vs/workbench/services/auxiliaryWindow/browser/auxiliaryWindowService.js +50 -25
- package/vscode/src/vs/workbench/services/banner/browser/bannerService.d.ts +1 -1
- package/vscode/src/vs/workbench/services/editor/browser/codeEditorService.js +1 -0
- package/vscode/src/vs/workbench/services/editor/browser/editorPaneService.js +1 -0
- package/vscode/src/vs/workbench/services/editor/browser/editorResolverService.js +21 -17
- package/vscode/src/vs/workbench/services/editor/common/customEditorLabelService.d.ts +12 -0
- package/vscode/src/vs/workbench/services/editor/common/customEditorLabelService.js +144 -0
- package/vscode/src/vs/workbench/services/editor/common/editorGroupsService.d.ts +10 -6
- package/vscode/src/vs/workbench/services/editor/common/editorResolverService.d.ts +3 -3
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagement.d.ts +16 -4
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagement.js +12 -1
- package/vscode/src/vs/workbench/services/extensions/browser/extensionUrlHandler.js +46 -121
- package/vscode/src/vs/workbench/services/extensions/common/abstractExtensionService.d.ts +5 -2
- package/vscode/src/vs/workbench/services/extensions/common/extensions.d.ts +6 -3
- package/vscode/src/vs/workbench/services/extensions/common/extensionsApiProposals.js +9 -1
- package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +4 -4
- package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.d.ts +2 -1
- package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.js +8 -1
- package/vscode/src/vs/workbench/services/history/browser/historyService.js +44 -36
- package/vscode/src/vs/workbench/services/history/common/history.d.ts +0 -5
- package/vscode/src/vs/workbench/services/language/common/languageService.js +4 -3
- package/vscode/src/vs/workbench/services/layout/browser/layoutService.d.ts +2 -1
- package/vscode/src/vs/workbench/services/layout/browser/layoutService.js +2 -1
- package/vscode/src/vs/workbench/services/lifecycle/common/lifecycleService.js +8 -6
- package/vscode/src/vs/workbench/services/output/common/output.js +4 -1
- package/vscode/src/vs/workbench/services/remote/common/tunnelModel.js +2 -2
- package/vscode/src/vs/workbench/services/search/common/search.js +1 -0
- package/vscode/src/vs/workbench/services/search/common/textSearchManager.js +15 -5
- package/vscode/src/vs/workbench/services/statusbar/browser/statusbar.d.ts +6 -1
- package/vscode/src/vs/workbench/services/textfile/common/textFileEditorModel.js +1 -1
- package/vscode/src/vs/workbench/services/textfile/common/textfiles.d.ts +1 -1
- package/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.js +11 -1
- package/vscode/src/vs/workbench/services/untitled/common/untitledTextEditorInput.js +5 -3
- package/vscode/src/vs/workbench/services/userActivity/common/userActivityService.js +1 -1
- package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfile.js +1 -0
- package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopy.js +7 -7
- package/vscode-dts/vscode.proposed.aiTextSearchProvider.d.ts +261 -0
- package/vscode-dts/vscode.proposed.authLearnMore.d.ts +16 -0
- package/vscode-dts/vscode.proposed.chatParticipant.d.ts +49 -78
- package/vscode-dts/vscode.proposed.chatParticipantAdditions.d.ts +13 -16
- package/vscode-dts/vscode.proposed.chatProvider.d.ts +1 -1
- package/vscode-dts/vscode.proposed.commentThreadApplicability.d.ts +32 -0
- package/vscode-dts/vscode.proposed.commentingRangeHint.d.ts +16 -0
- package/vscode-dts/vscode.proposed.contribCommentsViewThreadMenus.d.ts +6 -0
- package/vscode-dts/vscode.proposed.contribDiffEditorGutterToolBarMenus.d.ts +6 -0
- package/vscode-dts/vscode.proposed.debugFocus.d.ts +15 -23
- package/vscode-dts/vscode.proposed.defaultChatParticipant.d.ts +10 -0
- package/vscode-dts/vscode.proposed.documentPaste.d.ts +115 -30
- package/vscode-dts/vscode.proposed.dropMetadata.d.ts +19 -14
- package/vscode-dts/vscode.proposed.fileComments.d.ts +2 -4
- package/vscode-dts/vscode.proposed.inlineCompletionsAdditions.d.ts +18 -0
- package/vscode-dts/vscode.proposed.interactive.d.ts +0 -16
- package/vscode-dts/vscode.proposed.languageModels.d.ts +115 -53
- package/vscode-dts/vscode.proposed.notebookCellExecution.d.ts +44 -0
- package/vscode-dts/vscode.proposed.notebookVariableProvider.d.ts +3 -0
- package/vscode-dts/vscode.proposed.tabInputMultiDiff.d.ts +22 -0
- package/vscode-dts/vscode.proposed.terminalExecuteCommandEvent.d.ts +2 -0
- package/vscode-dts/vscode.proposed.terminalShellIntegration.d.ts +207 -0
- package/vscode/src/vs/editor/browser/services/hoverService.d.ts +0 -30
- package/vscode/src/vs/editor/browser/widget/embeddedCodeEditorWidget.js +0 -74
- package/vscode/src/vs/editor/browser/widget/media/editor.css.js +0 -4
- package/vscode/src/vs/platform/quickinput/browser/quickInputList.js +0 -881
- package/vscode/src/vs/platform/theme/common/colorRegistry.js +0 -1316
- package/vscode/src/vs/workbench/api/common/extHostChatProvider.js +0 -253
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSlashCommandContentWidget.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSlashCommandContentWidget.js +0 -74
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChat.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatLivePreviewWidget.js +0 -424
- package/vscode-dts/vscode.proposed.testCoverage.d.ts +0 -222
- /package/vscode/src/vs/base/browser/ui/hover/{hover.css.js → hoverWidget.css.js} +0 -0
- /package/vscode/src/vs/editor/browser/{widget/hoverWidget → services/hoverService}/hover.css.js +0 -0
- /package/vscode/src/vs/editor/browser/widget/{multiDiffEditorWidget → multiDiffEditor}/objectPool.js +0 -0
- /package/vscode/src/vs/editor/contrib/indentation/{browser → common}/indentUtils.js +0 -0
- /package/vscode/src/vs/editor/contrib/rename/browser/{renameInputField.css.js → renameWidget.css.js} +0 -0
- /package/vscode/src/vs/platform/theme/common/{colorRegistry.d.ts → colorUtils.d.ts} +0 -0
|
@@ -6,6 +6,7 @@ import { ConfigurationMigrationWorkbenchContribution, DynamicWorkbenchSecurityCo
|
|
|
6
6
|
import { isStandalone } from '../../base/browser/browser.js';
|
|
7
7
|
import { registerWorkbenchContribution2 } from '../common/contributions.js';
|
|
8
8
|
import { defaultWindowTitle, defaultWindowTitleSeparator } from './parts/titlebar/windowTitle.js';
|
|
9
|
+
import { CustomEditorLabelService } from '../services/editor/common/customEditorLabelService.js';
|
|
9
10
|
const registry = ( Registry.as(Extensions$1.Configuration));
|
|
10
11
|
(function registerConfiguration() {
|
|
11
12
|
registerWorkbenchContribution2(ConfigurationMigrationWorkbenchContribution.ID, ConfigurationMigrationWorkbenchContribution, 4 );
|
|
@@ -144,6 +145,64 @@ const registry = ( Registry.as(Extensions$1.Configuration));
|
|
|
144
145
|
)),
|
|
145
146
|
'default': true
|
|
146
147
|
},
|
|
148
|
+
[CustomEditorLabelService.SETTING_ID_ENABLED]: {
|
|
149
|
+
'type': 'boolean',
|
|
150
|
+
'markdownDescription': ( localizeWithPath(
|
|
151
|
+
'vs/workbench/browser/workbench.contribution',
|
|
152
|
+
'workbench.editor.label.enabled',
|
|
153
|
+
"Controls whether the custom workbench editor labels should be applied."
|
|
154
|
+
)),
|
|
155
|
+
'default': true,
|
|
156
|
+
},
|
|
157
|
+
[CustomEditorLabelService.SETTING_ID_PATTERNS]: {
|
|
158
|
+
'type': 'object',
|
|
159
|
+
'markdownDescription': (() => {
|
|
160
|
+
let customEditorLabelDescription = ( localizeWithPath(
|
|
161
|
+
'vs/workbench/browser/workbench.contribution',
|
|
162
|
+
'workbench.editor.label.patterns',
|
|
163
|
+
"Controls the rendering of the editor label. Each __Item__ is a pattern that matches a file path. Both relative and absolute file paths are supported. In case multiple patterns match, the longest matching path will be picked. Each __Value__ is the template for the rendered editor when the __Item__ matches. Variables are substituted based on the context:"
|
|
164
|
+
));
|
|
165
|
+
customEditorLabelDescription += '\n- ' + [
|
|
166
|
+
( localizeWithPath(
|
|
167
|
+
'vs/workbench/browser/workbench.contribution',
|
|
168
|
+
'workbench.editor.label.dirname',
|
|
169
|
+
"`${dirname}`: name of the folder in which the file is located (e.g. `root/folder/file.txt -> folder`)."
|
|
170
|
+
)),
|
|
171
|
+
( localizeWithPath(
|
|
172
|
+
'vs/workbench/browser/workbench.contribution',
|
|
173
|
+
'workbench.editor.label.nthdirname',
|
|
174
|
+
"`${dirname(N)}`: name of the nth parent folder in which the file is located (e.g. `N=1: root/folder/file.txt -> root`)."
|
|
175
|
+
)),
|
|
176
|
+
( localizeWithPath(
|
|
177
|
+
'vs/workbench/browser/workbench.contribution',
|
|
178
|
+
'workbench.editor.label.filename',
|
|
179
|
+
"`${filename}`: name of the file without the file extension (e.g. `root/folder/file.txt -> file`)."
|
|
180
|
+
)),
|
|
181
|
+
( localizeWithPath(
|
|
182
|
+
'vs/workbench/browser/workbench.contribution',
|
|
183
|
+
'workbench.editor.label.extname',
|
|
184
|
+
"`${extname}`: the file extension (e.g. `root/folder/file.txt -> txt`)."
|
|
185
|
+
)),
|
|
186
|
+
].join('\n- ');
|
|
187
|
+
customEditorLabelDescription += '\n\n' + ( localizeWithPath(
|
|
188
|
+
'vs/workbench/browser/workbench.contribution',
|
|
189
|
+
'customEditorLabelDescriptionExample',
|
|
190
|
+
"Example: `\"**/static/**/*.html\": \"${filename} - ${dirname} (${extname})\"` will render a file `root/static/folder/file.html` as `file - folder (html)`."
|
|
191
|
+
));
|
|
192
|
+
return customEditorLabelDescription;
|
|
193
|
+
})(),
|
|
194
|
+
additionalProperties: {
|
|
195
|
+
type: 'string',
|
|
196
|
+
markdownDescription: ( localizeWithPath(
|
|
197
|
+
'vs/workbench/browser/workbench.contribution',
|
|
198
|
+
'workbench.editor.label.template',
|
|
199
|
+
"The template which should be rendered when the pattern mtches. May include the variables ${dirname}, ${filename} and ${extname}."
|
|
200
|
+
)),
|
|
201
|
+
minLength: 1,
|
|
202
|
+
pattern: '.*[a-zA-Z0-9].*'
|
|
203
|
+
},
|
|
204
|
+
'default': {}
|
|
205
|
+
},
|
|
147
206
|
'workbench.editor.labelFormat': {
|
|
148
207
|
'type': 'string',
|
|
149
208
|
'enum': ['default', 'short', 'medium', 'long'],
|
|
@@ -512,7 +571,7 @@ const registry = ( Registry.as(Extensions$1.Configuration));
|
|
|
512
571
|
'vs/workbench/browser/workbench.contribution',
|
|
513
572
|
{ comment: ['{0}, {1} will be a setting name rendered as a link'], key: 'enablePreviewFromQuickOpen' },
|
|
514
573
|
"Controls whether editors opened from Quick Open show as preview editors. Preview editors do not stay open, and are reused until explicitly set to be kept open (via double-click or editing). When enabled, hold Ctrl before selection to open an editor as a non-preview. This value is ignored when {0} is not set to {1}.",
|
|
515
|
-
'`#workbench.editor.
|
|
574
|
+
'`#workbench.editor.showTabs#`',
|
|
516
575
|
'`multiple`'
|
|
517
576
|
)),
|
|
518
577
|
'default': false
|
|
@@ -523,7 +582,7 @@ const registry = ( Registry.as(Extensions$1.Configuration));
|
|
|
523
582
|
'vs/workbench/browser/workbench.contribution',
|
|
524
583
|
{ comment: ['{0}, {1} will be a setting name rendered as a link'], key: 'enablePreviewFromCodeNavigation' },
|
|
525
584
|
"Controls whether editors remain in preview when a code navigation is started from them. Preview editors do not stay open, and are reused until explicitly set to be kept open (via double-click or editing). This value is ignored when {0} is not set to {1}.",
|
|
526
|
-
'`#workbench.editor.
|
|
585
|
+
'`#workbench.editor.showTabs#`',
|
|
527
586
|
'`multiple`'
|
|
528
587
|
)),
|
|
529
588
|
'default': false
|
|
@@ -962,28 +1021,33 @@ const registry = ( Registry.as(Extensions$1.Configuration));
|
|
|
962
1021
|
},
|
|
963
1022
|
["workbench.activityBar.location" ]: {
|
|
964
1023
|
'type': 'string',
|
|
965
|
-
'enum': ['
|
|
966
|
-
'default': '
|
|
1024
|
+
'enum': ['default', 'top', 'bottom', 'hidden'],
|
|
1025
|
+
'default': 'default',
|
|
967
1026
|
'markdownDescription': ( localizeWithPath(
|
|
968
1027
|
'vs/workbench/browser/workbench.contribution',
|
|
969
1028
|
{ comment: ['This is the description for a setting'], key: 'activityBarLocation' },
|
|
970
|
-
"Controls the location of the Activity Bar. It can either show to the `
|
|
1029
|
+
"Controls the location of the Activity Bar. It can either show to the `default` or `top` / `bottom` of the Primary and Secondary Side Bar or `hidden`."
|
|
971
1030
|
)),
|
|
972
1031
|
'enumDescriptions': [
|
|
973
1032
|
( localizeWithPath(
|
|
974
1033
|
'vs/workbench/browser/workbench.contribution',
|
|
975
|
-
'workbench.activityBar.location.
|
|
976
|
-
"Show the Activity Bar
|
|
1034
|
+
'workbench.activityBar.location.default',
|
|
1035
|
+
"Show the Activity Bar of the Primary Side Bar on the side."
|
|
977
1036
|
)),
|
|
978
1037
|
( localizeWithPath(
|
|
979
1038
|
'vs/workbench/browser/workbench.contribution',
|
|
980
1039
|
'workbench.activityBar.location.top',
|
|
981
|
-
"Show the Activity Bar on top of the Primary Side Bar."
|
|
1040
|
+
"Show the Activity Bar on top of the Primary and Secondary Side Bar."
|
|
1041
|
+
)),
|
|
1042
|
+
( localizeWithPath(
|
|
1043
|
+
'vs/workbench/browser/workbench.contribution',
|
|
1044
|
+
'workbench.activityBar.location.bottom',
|
|
1045
|
+
"Show the Activity Bar at the bottom of the Primary and Secondary Side Bar."
|
|
982
1046
|
)),
|
|
983
1047
|
( localizeWithPath(
|
|
984
1048
|
'vs/workbench/browser/workbench.contribution',
|
|
985
1049
|
'workbench.activityBar.location.hide',
|
|
986
|
-
"Hide the Activity Bar."
|
|
1050
|
+
"Hide the Activity Bar in the Primary and Secondary Side Bar."
|
|
987
1051
|
))
|
|
988
1052
|
],
|
|
989
1053
|
},
|
|
@@ -1644,6 +1708,16 @@ const registry = ( Registry.as(Extensions$1.Configuration));
|
|
|
1644
1708
|
return result;
|
|
1645
1709
|
}
|
|
1646
1710
|
}]);
|
|
1711
|
+
( Registry.as(Extensions.ConfigurationMigration))
|
|
1712
|
+
.registerConfigurationMigrations([{
|
|
1713
|
+
key: "workbench.activityBar.location" , migrateFn: (value) => {
|
|
1714
|
+
const results = [];
|
|
1715
|
+
if (value === 'side') {
|
|
1716
|
+
results.push(["workbench.activityBar.location" , { value: "default" }]);
|
|
1717
|
+
}
|
|
1718
|
+
return results;
|
|
1719
|
+
}
|
|
1720
|
+
}]);
|
|
1647
1721
|
( Registry.as(Extensions.ConfigurationMigration))
|
|
1648
1722
|
.registerConfigurationMigrations([{
|
|
1649
1723
|
key: 'workbench.editor.doubleClickTabToToggleEditorGroupSizes', migrateFn: (value) => {
|
|
@@ -4,7 +4,6 @@ class Component extends Themable {
|
|
|
4
4
|
constructor(id, themeService, storageService) {
|
|
5
5
|
super(themeService);
|
|
6
6
|
this.id = id;
|
|
7
|
-
this.id = id;
|
|
8
7
|
this.memento = ( new Memento(this.id, storageService));
|
|
9
8
|
this._register(storageService.onWillSaveState(() => {
|
|
10
9
|
this.saveState();
|
|
@@ -89,10 +89,10 @@ const ActiveEditorReadonlyContext = ( new RawContextKey('activeEditorIsReadonly'
|
|
|
89
89
|
'activeEditorIsReadonly',
|
|
90
90
|
"Whether the active editor is read-only"
|
|
91
91
|
))));
|
|
92
|
-
const
|
|
92
|
+
const ActiveCompareEditorCanSwapContext = ( new RawContextKey('activeCompareEditorCanSwap', false, ( localizeWithPath(
|
|
93
93
|
'vs/workbench/common/contextkeys',
|
|
94
|
-
'
|
|
95
|
-
"Whether the active compare editor
|
|
94
|
+
'activeCompareEditorCanSwap',
|
|
95
|
+
"Whether the active compare editor can swap sides"
|
|
96
96
|
))));
|
|
97
97
|
const ActiveEditorCanToggleReadonlyContext = ( new RawContextKey('activeEditorCanToggleReadonly', true, ( localizeWithPath(
|
|
98
98
|
'vs/workbench/common/contextkeys',
|
|
@@ -473,4 +473,4 @@ function applyAvailableEditorIds(contextKey, editor, editorResolverService) {
|
|
|
473
473
|
contextKey.set(editors.join(','));
|
|
474
474
|
}
|
|
475
475
|
}
|
|
476
|
-
export { ActiveAuxiliaryContext,
|
|
476
|
+
export { ActiveAuxiliaryContext, ActiveCompareEditorCanSwapContext, ActiveEditorAvailableEditorIdsContext, ActiveEditorCanRevertContext, ActiveEditorCanSplitInGroupContext, ActiveEditorCanToggleReadonlyContext, ActiveEditorContext, ActiveEditorDirtyContext, ActiveEditorFirstInGroupContext, ActiveEditorGroupEmptyContext, ActiveEditorGroupIndexContext, ActiveEditorGroupLastContext, ActiveEditorGroupLockedContext, ActiveEditorLastInGroupContext, ActiveEditorPinnedContext, ActiveEditorReadonlyContext, ActiveEditorStickyContext, ActivePanelContext, ActiveViewletContext, AuxiliaryBarFocusContext, AuxiliaryBarVisibleContext, BannerFocused, DirtyWorkingCopiesContext, EditorGroupEditorsCountContext, EditorPartMaximizedEditorGroupContext, EditorPartMultipleEditorGroupsContext, EditorTabsVisibleContext, EditorsVisibleContext, EmbedderIdentifierContext, EmptyWorkspaceSupportContext, EnterMultiRootWorkspaceSupportContext, FocusedViewContext, HasWebFileSystemAccess, InEditorZenModeContext, IsAuxiliaryEditorPartContext, IsAuxiliaryWindowFocusedContext, IsMainEditorCenteredLayoutContext, IsMainWindowFullscreenContext, MainEditorAreaVisibleContext, MultipleEditorGroupsContext, NotificationFocusedContext, NotificationsCenterVisibleContext, NotificationsToastsVisibleContext, OpenFolderWorkspaceSupportContext, PanelAlignmentContext, PanelFocusContext, PanelMaximizedContext, PanelPositionContext, PanelVisibleContext, RemoteNameContext, ResourceContextKey, SideBarVisibleContext, SideBySideEditorActiveContext, SidebarFocusContext, SplitEditorsVertically, StatusBarFocused, TemporaryWorkspaceContext, TextCompareEditorActiveContext, TextCompareEditorVisibleContext, TitleBarStyleContext, TitleBarVisibleContext, VirtualWorkspaceContext, WorkbenchStateContext, WorkspaceFolderCountContext, applyAvailableEditorIds, getVisbileViewContextKey };
|
|
@@ -48,6 +48,7 @@ let EditorGroupModel = class EditorGroupModel extends Disposable {
|
|
|
48
48
|
this.preview = null;
|
|
49
49
|
this.active = null;
|
|
50
50
|
this.sticky = -1;
|
|
51
|
+
this.transient = ( new Set());
|
|
51
52
|
if (isSerializedEditorGroupModel(labelOrSerializedGroup)) {
|
|
52
53
|
this._id = this.deserialize(labelOrSerializedGroup);
|
|
53
54
|
}
|
|
@@ -98,6 +99,7 @@ let EditorGroupModel = class EditorGroupModel extends Disposable {
|
|
|
98
99
|
openEditor(candidate, options) {
|
|
99
100
|
const makeSticky = options?.sticky || (typeof options?.index === 'number' && this.isSticky(options.index));
|
|
100
101
|
const makePinned = options?.pinned || options?.sticky;
|
|
102
|
+
const makeTransient = !!options?.transient;
|
|
101
103
|
const makeActive = options?.active || !this.activeEditor || (!makePinned && this.matches(this.preview, this.activeEditor));
|
|
102
104
|
const existingEditorAndIndex = this.findEditor(candidate, options);
|
|
103
105
|
if (!existingEditorAndIndex) {
|
|
@@ -141,6 +143,9 @@ let EditorGroupModel = class EditorGroupModel extends Disposable {
|
|
|
141
143
|
if (makePinned || !this.preview) {
|
|
142
144
|
this.splice(targetIndex, false, newEditor);
|
|
143
145
|
}
|
|
146
|
+
if (makeTransient) {
|
|
147
|
+
this.doSetTransient(newEditor, targetIndex, true);
|
|
148
|
+
}
|
|
144
149
|
if (!makePinned) {
|
|
145
150
|
if (this.preview) {
|
|
146
151
|
const indexOfPreview = this.indexOf(this.preview);
|
|
@@ -168,6 +173,7 @@ let EditorGroupModel = class EditorGroupModel extends Disposable {
|
|
|
168
173
|
}
|
|
169
174
|
else {
|
|
170
175
|
const [existingEditor, existingEditorIndex] = existingEditorAndIndex;
|
|
176
|
+
this.doSetTransient(existingEditor, existingEditorIndex, makeTransient === false ? false : this.isTransient(existingEditor));
|
|
171
177
|
if (makePinned) {
|
|
172
178
|
this.doPin(existingEditor, existingEditorIndex);
|
|
173
179
|
}
|
|
@@ -193,7 +199,7 @@ let EditorGroupModel = class EditorGroupModel extends Disposable {
|
|
|
193
199
|
const editorIndex = this.editors.indexOf(editor);
|
|
194
200
|
if (editorIndex >= 0) {
|
|
195
201
|
const event = {
|
|
196
|
-
kind:
|
|
202
|
+
kind: 14 ,
|
|
197
203
|
editor,
|
|
198
204
|
editorIndex
|
|
199
205
|
};
|
|
@@ -202,7 +208,7 @@ let EditorGroupModel = class EditorGroupModel extends Disposable {
|
|
|
202
208
|
}));
|
|
203
209
|
listeners.add(editor.onDidChangeDirty(() => {
|
|
204
210
|
const event = {
|
|
205
|
-
kind:
|
|
211
|
+
kind: 13 ,
|
|
206
212
|
editor,
|
|
207
213
|
editorIndex: this.editors.indexOf(editor)
|
|
208
214
|
};
|
|
@@ -284,6 +290,7 @@ let EditorGroupModel = class EditorGroupModel extends Disposable {
|
|
|
284
290
|
if (this.matches(this.preview, editor)) {
|
|
285
291
|
this.preview = null;
|
|
286
292
|
}
|
|
293
|
+
this.transient.delete(editor);
|
|
287
294
|
this.splice(index, true);
|
|
288
295
|
return { editor, sticky, editorIndex: index, context };
|
|
289
296
|
}
|
|
@@ -317,7 +324,7 @@ let EditorGroupModel = class EditorGroupModel extends Disposable {
|
|
|
317
324
|
this._onDidModelChange.fire(event);
|
|
318
325
|
if (sticky !== this.sticky) {
|
|
319
326
|
const event = {
|
|
320
|
-
kind:
|
|
327
|
+
kind: 12 ,
|
|
321
328
|
editor,
|
|
322
329
|
editorIndex: toIndex
|
|
323
330
|
};
|
|
@@ -381,6 +388,7 @@ let EditorGroupModel = class EditorGroupModel extends Disposable {
|
|
|
381
388
|
if (this.isPinned(editor)) {
|
|
382
389
|
return;
|
|
383
390
|
}
|
|
391
|
+
this.setTransient(editor, false);
|
|
384
392
|
this.preview = null;
|
|
385
393
|
const event = {
|
|
386
394
|
kind: 10 ,
|
|
@@ -442,7 +450,7 @@ let EditorGroupModel = class EditorGroupModel extends Disposable {
|
|
|
442
450
|
this.moveEditor(editor, newEditorIndex);
|
|
443
451
|
this.sticky++;
|
|
444
452
|
const event = {
|
|
445
|
-
kind:
|
|
453
|
+
kind: 12 ,
|
|
446
454
|
editor,
|
|
447
455
|
editorIndex: newEditorIndex
|
|
448
456
|
};
|
|
@@ -465,7 +473,7 @@ let EditorGroupModel = class EditorGroupModel extends Disposable {
|
|
|
465
473
|
this.moveEditor(editor, newEditorIndex);
|
|
466
474
|
this.sticky--;
|
|
467
475
|
const event = {
|
|
468
|
-
kind:
|
|
476
|
+
kind: 12 ,
|
|
469
477
|
editor,
|
|
470
478
|
editorIndex: newEditorIndex
|
|
471
479
|
};
|
|
@@ -487,6 +495,51 @@ let EditorGroupModel = class EditorGroupModel extends Disposable {
|
|
|
487
495
|
}
|
|
488
496
|
return index <= this.sticky;
|
|
489
497
|
}
|
|
498
|
+
setTransient(candidate, transient) {
|
|
499
|
+
if (!transient && this.transient.size === 0) {
|
|
500
|
+
return;
|
|
501
|
+
}
|
|
502
|
+
const res = this.findEditor(candidate);
|
|
503
|
+
if (!res) {
|
|
504
|
+
return;
|
|
505
|
+
}
|
|
506
|
+
const [editor, editorIndex] = res;
|
|
507
|
+
this.doSetTransient(editor, editorIndex, transient);
|
|
508
|
+
return editor;
|
|
509
|
+
}
|
|
510
|
+
doSetTransient(editor, editorIndex, transient) {
|
|
511
|
+
if (transient) {
|
|
512
|
+
if (( this.transient.has(editor))) {
|
|
513
|
+
return;
|
|
514
|
+
}
|
|
515
|
+
this.transient.add(editor);
|
|
516
|
+
}
|
|
517
|
+
else {
|
|
518
|
+
if (!( this.transient.has(editor))) {
|
|
519
|
+
return;
|
|
520
|
+
}
|
|
521
|
+
this.transient.delete(editor);
|
|
522
|
+
}
|
|
523
|
+
const event = {
|
|
524
|
+
kind: 11 ,
|
|
525
|
+
editor,
|
|
526
|
+
editorIndex
|
|
527
|
+
};
|
|
528
|
+
this._onDidModelChange.fire(event);
|
|
529
|
+
}
|
|
530
|
+
isTransient(editorOrIndex) {
|
|
531
|
+
if (this.transient.size === 0) {
|
|
532
|
+
return false;
|
|
533
|
+
}
|
|
534
|
+
let editor;
|
|
535
|
+
if (typeof editorOrIndex === 'number') {
|
|
536
|
+
editor = this.editors[editorOrIndex];
|
|
537
|
+
}
|
|
538
|
+
else {
|
|
539
|
+
editor = this.findEditor(editorOrIndex)?.[0];
|
|
540
|
+
}
|
|
541
|
+
return !!editor && ( this.transient.has(editor));
|
|
542
|
+
}
|
|
490
543
|
splice(index, del, editor) {
|
|
491
544
|
const editorToDeleteOrReplace = this.editors[index];
|
|
492
545
|
if (del && this.isSticky(index)) {
|
|
@@ -676,6 +729,7 @@ let EditorGroupModel = class EditorGroupModel extends Disposable {
|
|
|
676
729
|
dispose() {
|
|
677
730
|
dispose(Array.from(this.editorListeners));
|
|
678
731
|
this.editorListeners.clear();
|
|
732
|
+
this.transient.clear();
|
|
679
733
|
super.dispose();
|
|
680
734
|
}
|
|
681
735
|
};
|
|
@@ -200,6 +200,16 @@ declare abstract class EditorInput extends AbstractEditorInput {
|
|
|
200
200
|
* Returns a copy of the current editor input. Used when we can't just reuse the input
|
|
201
201
|
*/
|
|
202
202
|
copy(): EditorInput;
|
|
203
|
+
/**
|
|
204
|
+
* Indicates if this editor can be moved to another group. By default
|
|
205
|
+
* editors can freely be moved around groups. If an editor cannot be
|
|
206
|
+
* moved, a message should be returned to show to the user.
|
|
207
|
+
*
|
|
208
|
+
* @returns `true` if the editor can be moved to the target group, or
|
|
209
|
+
* a string with a message to show to the user if the editor cannot be
|
|
210
|
+
* moved.
|
|
211
|
+
*/
|
|
212
|
+
canMove(sourceGroup: GroupIdentifier, targetGroup: GroupIdentifier): true | string;
|
|
203
213
|
/**
|
|
204
214
|
* Returns if the other object matches this input.
|
|
205
215
|
*/
|
|
@@ -22,6 +22,7 @@ class FilteredEditorGroupModel extends Disposable {
|
|
|
22
22
|
get activeEditor() { return this.model.activeEditor && this.filter(this.model.activeEditor) ? this.model.activeEditor : null; }
|
|
23
23
|
get previewEditor() { return this.model.previewEditor && this.filter(this.model.previewEditor) ? this.model.previewEditor : null; }
|
|
24
24
|
isPinned(editorOrIndex) { return this.model.isPinned(editorOrIndex); }
|
|
25
|
+
isTransient(editorOrIndex) { return this.model.isTransient(editorOrIndex); }
|
|
25
26
|
isSticky(editorOrIndex) { return this.model.isSticky(editorOrIndex); }
|
|
26
27
|
isActive(editor) { return this.model.isActive(editor); }
|
|
27
28
|
isFirst(editor) {
|
|
@@ -6,6 +6,7 @@ import { ILabelService } from '../../../platform/label/common/label.js';
|
|
|
6
6
|
import { IFilesConfigurationService } from '../../services/filesConfiguration/common/filesConfigurationService.js';
|
|
7
7
|
import { IMarkdownString } from '../../../base/common/htmlContent.js';
|
|
8
8
|
import { ITextResourceConfigurationService } from '../../../editor/common/services/textResourceConfiguration.js';
|
|
9
|
+
import { ICustomEditorLabelService } from '../../services/editor/common/customEditorLabelService.js';
|
|
9
10
|
|
|
10
11
|
/**
|
|
11
12
|
* The base class for all editor inputs that open resources.
|
|
@@ -16,10 +17,11 @@ declare abstract class AbstractResourceEditorInput extends EditorInput implement
|
|
|
16
17
|
protected readonly fileService: IFileService;
|
|
17
18
|
protected readonly filesConfigurationService: IFilesConfigurationService;
|
|
18
19
|
protected readonly textResourceConfigurationService: ITextResourceConfigurationService;
|
|
20
|
+
protected readonly customEditorLabelService: ICustomEditorLabelService;
|
|
19
21
|
get capabilities(): EditorInputCapabilities;
|
|
20
22
|
private _preferredResource;
|
|
21
23
|
get preferredResource(): URI;
|
|
22
|
-
constructor(resource: URI, preferredResource: URI | undefined, labelService: ILabelService, fileService: IFileService, filesConfigurationService: IFilesConfigurationService, textResourceConfigurationService: ITextResourceConfigurationService);
|
|
24
|
+
constructor(resource: URI, preferredResource: URI | undefined, labelService: ILabelService, fileService: IFileService, filesConfigurationService: IFilesConfigurationService, textResourceConfigurationService: ITextResourceConfigurationService, customEditorLabelService: ICustomEditorLabelService);
|
|
23
25
|
private registerListeners;
|
|
24
26
|
private onLabelEvent;
|
|
25
27
|
private updateLabel;
|
|
@@ -6,6 +6,7 @@ import { isEqual, dirname } from '../../../base/common/resources.js';
|
|
|
6
6
|
import { IFilesConfigurationService } from '../../services/filesConfiguration/common/filesConfigurationService.js';
|
|
7
7
|
import { isConfigured } from '../../../platform/configuration/common/configuration.js';
|
|
8
8
|
import { ITextResourceConfigurationService } from '../../../editor/common/services/textResourceConfiguration.js';
|
|
9
|
+
import { ICustomEditorLabelService } from '../../services/editor/common/customEditorLabelService.js';
|
|
9
10
|
let AbstractResourceEditorInput = class AbstractResourceEditorInput extends EditorInput {
|
|
10
11
|
get capabilities() {
|
|
11
12
|
let capabilities = 32 ;
|
|
@@ -23,13 +24,14 @@ let AbstractResourceEditorInput = class AbstractResourceEditorInput extends Edit
|
|
|
23
24
|
return capabilities;
|
|
24
25
|
}
|
|
25
26
|
get preferredResource() { return this._preferredResource; }
|
|
26
|
-
constructor(resource, preferredResource, labelService, fileService, filesConfigurationService, textResourceConfigurationService) {
|
|
27
|
+
constructor(resource, preferredResource, labelService, fileService, filesConfigurationService, textResourceConfigurationService, customEditorLabelService) {
|
|
27
28
|
super();
|
|
28
29
|
this.resource = resource;
|
|
29
30
|
this.labelService = labelService;
|
|
30
31
|
this.fileService = fileService;
|
|
31
32
|
this.filesConfigurationService = filesConfigurationService;
|
|
32
33
|
this.textResourceConfigurationService = textResourceConfigurationService;
|
|
34
|
+
this.customEditorLabelService = customEditorLabelService;
|
|
33
35
|
this._name = undefined;
|
|
34
36
|
this._shortDescription = undefined;
|
|
35
37
|
this._mediumDescription = undefined;
|
|
@@ -44,6 +46,7 @@ let AbstractResourceEditorInput = class AbstractResourceEditorInput extends Edit
|
|
|
44
46
|
this._register(this.labelService.onDidChangeFormatters(e => this.onLabelEvent(e.scheme)));
|
|
45
47
|
this._register(this.fileService.onDidChangeFileSystemProviderRegistrations(e => this.onLabelEvent(e.scheme)));
|
|
46
48
|
this._register(this.fileService.onDidChangeFileSystemProviderCapabilities(e => this.onLabelEvent(e.scheme)));
|
|
49
|
+
this._register(this.customEditorLabelService.onDidChange(() => this.updateLabel()));
|
|
47
50
|
}
|
|
48
51
|
onLabelEvent(scheme) {
|
|
49
52
|
if (scheme === this._preferredResource.scheme) {
|
|
@@ -68,7 +71,7 @@ let AbstractResourceEditorInput = class AbstractResourceEditorInput extends Edit
|
|
|
68
71
|
}
|
|
69
72
|
getName() {
|
|
70
73
|
if (typeof this._name !== 'string') {
|
|
71
|
-
this._name = this.labelService.getUriBasenameLabel(this._preferredResource);
|
|
74
|
+
this._name = this.customEditorLabelService.getName(this._preferredResource) ?? this.labelService.getUriBasenameLabel(this._preferredResource);
|
|
72
75
|
}
|
|
73
76
|
return this._name;
|
|
74
77
|
}
|
|
@@ -152,6 +155,7 @@ AbstractResourceEditorInput = ( __decorate([
|
|
|
152
155
|
( __param(2, ILabelService)),
|
|
153
156
|
( __param(3, IFileService)),
|
|
154
157
|
( __param(4, IFilesConfigurationService)),
|
|
155
|
-
( __param(5, ITextResourceConfigurationService))
|
|
158
|
+
( __param(5, ITextResourceConfigurationService)),
|
|
159
|
+
( __param(6, ICustomEditorLabelService))
|
|
156
160
|
], AbstractResourceEditorInput));
|
|
157
161
|
export { AbstractResourceEditorInput };
|
|
@@ -2,7 +2,7 @@ import { __decorate, __param } from '../../../../../../external/tslib/tslib.es6.
|
|
|
2
2
|
import { Event } from '../../../base/common/event.js';
|
|
3
3
|
import { localizeWithPath } from '../../../nls.js';
|
|
4
4
|
import { Registry } from '../../../platform/registry/common/platform.js';
|
|
5
|
-
import { isResourceDiffEditorInput,
|
|
5
|
+
import { isResourceDiffEditorInput, isResourceMultiDiffEditorInput, isResourceSideBySideEditorInput, isResourceMergeEditorInput, isEditorInput, findViewStateForEditor, isResourceEditorInput, isDiffEditorInput, EditorExtensions } from '../editor.js';
|
|
6
6
|
import { EditorInput } from './editorInput.js';
|
|
7
7
|
import { IEditorService } from '../../services/editor/common/editorService.js';
|
|
8
8
|
var SideBySideEditorInput_1;
|
|
@@ -153,7 +153,7 @@ let SideBySideEditorInput = class SideBySideEditorInput extends EditorInput {
|
|
|
153
153
|
this.editorService
|
|
154
154
|
));
|
|
155
155
|
}
|
|
156
|
-
if (!isResourceDiffEditorInput(primarySaveResult) && !
|
|
156
|
+
if (!isResourceDiffEditorInput(primarySaveResult) && !isResourceMultiDiffEditorInput(primarySaveResult) && !isResourceSideBySideEditorInput(primarySaveResult) && !isResourceMergeEditorInput(primarySaveResult)) {
|
|
157
157
|
return {
|
|
158
158
|
primary: primarySaveResult,
|
|
159
159
|
secondary: primarySaveResult,
|
|
@@ -213,7 +213,7 @@ let SideBySideEditorInput = class SideBySideEditorInput extends EditorInput {
|
|
|
213
213
|
const secondaryResourceEditorInput = this.secondary.toUntyped(options);
|
|
214
214
|
if (primaryResourceEditorInput && secondaryResourceEditorInput &&
|
|
215
215
|
!isResourceDiffEditorInput(primaryResourceEditorInput) && !isResourceDiffEditorInput(secondaryResourceEditorInput) &&
|
|
216
|
-
!
|
|
216
|
+
!isResourceMultiDiffEditorInput(primaryResourceEditorInput) && !isResourceMultiDiffEditorInput(secondaryResourceEditorInput) &&
|
|
217
217
|
!isResourceSideBySideEditorInput(primaryResourceEditorInput) && !isResourceSideBySideEditorInput(secondaryResourceEditorInput) &&
|
|
218
218
|
!isResourceMergeEditorInput(primaryResourceEditorInput) && !isResourceMergeEditorInput(secondaryResourceEditorInput)) {
|
|
219
219
|
const untypedInput = {
|
|
@@ -8,6 +8,7 @@ import { ILabelService } from '../../../platform/label/common/label.js';
|
|
|
8
8
|
import '../../../editor/editor.api.js';
|
|
9
9
|
import { IFilesConfigurationService } from '../../services/filesConfiguration/common/filesConfigurationService.js';
|
|
10
10
|
import { ITextResourceConfigurationService } from '../../../editor/common/services/textResourceConfiguration.js';
|
|
11
|
+
import { ICustomEditorLabelService } from '../../services/editor/common/customEditorLabelService.js';
|
|
11
12
|
|
|
12
13
|
/**
|
|
13
14
|
* The base class for all editor inputs that open in text editors.
|
|
@@ -15,7 +16,7 @@ import { ITextResourceConfigurationService } from '../../../editor/common/servic
|
|
|
15
16
|
declare abstract class AbstractTextResourceEditorInput extends AbstractResourceEditorInput {
|
|
16
17
|
protected readonly editorService: IEditorService;
|
|
17
18
|
protected readonly textFileService: ITextFileService;
|
|
18
|
-
constructor(resource: URI, preferredResource: URI | undefined, editorService: IEditorService, textFileService: ITextFileService, labelService: ILabelService, fileService: IFileService, filesConfigurationService: IFilesConfigurationService, textResourceConfigurationService: ITextResourceConfigurationService);
|
|
19
|
+
constructor(resource: URI, preferredResource: URI | undefined, editorService: IEditorService, textFileService: ITextFileService, labelService: ILabelService, fileService: IFileService, filesConfigurationService: IFilesConfigurationService, textResourceConfigurationService: ITextResourceConfigurationService, customEditorLabelService: ICustomEditorLabelService);
|
|
19
20
|
save(group: GroupIdentifier, options?: ITextFileSaveOptions): Promise<IUntypedEditorInput | undefined>;
|
|
20
21
|
saveAs(group: GroupIdentifier, options?: ITextFileSaveOptions): Promise<IUntypedEditorInput | undefined>;
|
|
21
22
|
private doSave;
|
|
@@ -12,10 +12,11 @@ import { TextResourceEditorModel } from './textResourceEditorModel.js';
|
|
|
12
12
|
import { createTextBufferFactory } from '../../../editor/common/model/textModel.js';
|
|
13
13
|
import { IFilesConfigurationService } from '../../services/filesConfiguration/common/filesConfigurationService.js';
|
|
14
14
|
import { ITextResourceConfigurationService } from '../../../editor/common/services/textResourceConfiguration.js';
|
|
15
|
+
import { ICustomEditorLabelService } from '../../services/editor/common/customEditorLabelService.js';
|
|
15
16
|
var TextResourceEditorInput_1;
|
|
16
17
|
let AbstractTextResourceEditorInput = class AbstractTextResourceEditorInput extends AbstractResourceEditorInput {
|
|
17
|
-
constructor(resource, preferredResource, editorService, textFileService, labelService, fileService, filesConfigurationService, textResourceConfigurationService) {
|
|
18
|
-
super(resource, preferredResource, labelService, fileService, filesConfigurationService, textResourceConfigurationService);
|
|
18
|
+
constructor(resource, preferredResource, editorService, textFileService, labelService, fileService, filesConfigurationService, textResourceConfigurationService, customEditorLabelService) {
|
|
19
|
+
super(resource, preferredResource, labelService, fileService, filesConfigurationService, textResourceConfigurationService, customEditorLabelService);
|
|
19
20
|
this.editorService = editorService;
|
|
20
21
|
this.textFileService = textFileService;
|
|
21
22
|
}
|
|
@@ -51,7 +52,8 @@ AbstractTextResourceEditorInput = ( __decorate([
|
|
|
51
52
|
( __param(4, ILabelService)),
|
|
52
53
|
( __param(5, IFileService)),
|
|
53
54
|
( __param(6, IFilesConfigurationService)),
|
|
54
|
-
( __param(7, ITextResourceConfigurationService))
|
|
55
|
+
( __param(7, ITextResourceConfigurationService)),
|
|
56
|
+
( __param(8, ICustomEditorLabelService))
|
|
55
57
|
], AbstractTextResourceEditorInput));
|
|
56
58
|
let TextResourceEditorInput = class TextResourceEditorInput extends AbstractTextResourceEditorInput {
|
|
57
59
|
static { TextResourceEditorInput_1 = this; }
|
|
@@ -62,8 +64,8 @@ let TextResourceEditorInput = class TextResourceEditorInput extends AbstractText
|
|
|
62
64
|
get editorId() {
|
|
63
65
|
return DEFAULT_EDITOR_ASSOCIATION.id;
|
|
64
66
|
}
|
|
65
|
-
constructor(resource, name, description, preferredLanguageId, preferredContents, textModelService, textFileService, editorService, fileService, labelService, filesConfigurationService, textResourceConfigurationService) {
|
|
66
|
-
super(resource, undefined, editorService, textFileService, labelService, fileService, filesConfigurationService, textResourceConfigurationService);
|
|
67
|
+
constructor(resource, name, description, preferredLanguageId, preferredContents, textModelService, textFileService, editorService, fileService, labelService, filesConfigurationService, textResourceConfigurationService, customEditorLabelService) {
|
|
68
|
+
super(resource, undefined, editorService, textFileService, labelService, fileService, filesConfigurationService, textResourceConfigurationService, customEditorLabelService);
|
|
67
69
|
this.name = name;
|
|
68
70
|
this.description = description;
|
|
69
71
|
this.preferredLanguageId = preferredLanguageId;
|
|
@@ -149,6 +151,7 @@ TextResourceEditorInput = TextResourceEditorInput_1 = ( __decorate([
|
|
|
149
151
|
( __param(8, IFileService)),
|
|
150
152
|
( __param(9, ILabelService)),
|
|
151
153
|
( __param(10, IFilesConfigurationService)),
|
|
152
|
-
( __param(11, ITextResourceConfigurationService))
|
|
154
|
+
( __param(11, ITextResourceConfigurationService)),
|
|
155
|
+
( __param(12, ICustomEditorLabelService))
|
|
153
156
|
], TextResourceEditorInput));
|
|
154
157
|
export { AbstractTextResourceEditorInput, TextResourceEditorInput };
|
|
@@ -29,7 +29,7 @@ interface IEditorDescriptor<T extends IEditorPane> {
|
|
|
29
29
|
/**
|
|
30
30
|
* Instantiates the editor pane using the provided services.
|
|
31
31
|
*/
|
|
32
|
-
instantiate(instantiationService: IInstantiationService): T;
|
|
32
|
+
instantiate(instantiationService: IInstantiationService, group: IEditorGroup): T;
|
|
33
33
|
/**
|
|
34
34
|
* Whether the descriptor is for the provided editor pane.
|
|
35
35
|
*/
|
|
@@ -56,6 +56,10 @@ interface IEditorPane extends IComposite {
|
|
|
56
56
|
* the cursor is set to a new location.
|
|
57
57
|
*/
|
|
58
58
|
readonly onDidChangeSelection?: Event<IEditorPaneSelectionChangeEvent>;
|
|
59
|
+
/**
|
|
60
|
+
* An optional event to notify when the editor inside the pane scrolled
|
|
61
|
+
*/
|
|
62
|
+
readonly onDidChangeScroll?: Event<void>;
|
|
59
63
|
/**
|
|
60
64
|
* The assigned input of this editor.
|
|
61
65
|
*/
|
|
@@ -67,7 +71,7 @@ interface IEditorPane extends IComposite {
|
|
|
67
71
|
/**
|
|
68
72
|
* The assigned group this editor is showing in.
|
|
69
73
|
*/
|
|
70
|
-
readonly group: IEditorGroup
|
|
74
|
+
readonly group: IEditorGroup;
|
|
71
75
|
/**
|
|
72
76
|
* The minimum width of this editor.
|
|
73
77
|
*/
|
|
@@ -123,6 +127,20 @@ interface IEditorPane extends IComposite {
|
|
|
123
127
|
* selection as needed.
|
|
124
128
|
*/
|
|
125
129
|
getSelection?(): IEditorPaneSelection | undefined;
|
|
130
|
+
/**
|
|
131
|
+
* An optional method to return the current scroll position
|
|
132
|
+
* of an editor inside the pane.
|
|
133
|
+
*
|
|
134
|
+
* Clients of this method will typically react to the
|
|
135
|
+
* `onDidChangeScroll` event to receive the current
|
|
136
|
+
* scroll position as needed.
|
|
137
|
+
*/
|
|
138
|
+
getScrollPosition?(): IEditorPaneScrollPosition;
|
|
139
|
+
/**
|
|
140
|
+
* An optional method to set the current scroll position
|
|
141
|
+
* of an editor inside the pane.
|
|
142
|
+
*/
|
|
143
|
+
setScrollPosition?(scrollPosition: IEditorPaneScrollPosition): void;
|
|
126
144
|
/**
|
|
127
145
|
* Finds out if this editor is visible or not.
|
|
128
146
|
*/
|
|
@@ -216,12 +234,18 @@ declare const enum EditorPaneSelectionCompareResult {
|
|
|
216
234
|
*/
|
|
217
235
|
DIFFERENT = 3
|
|
218
236
|
}
|
|
237
|
+
/**
|
|
238
|
+
* Scroll position of a pane
|
|
239
|
+
*/
|
|
240
|
+
interface IEditorPaneScrollPosition {
|
|
241
|
+
readonly scrollTop: number;
|
|
242
|
+
readonly scrollLeft?: number;
|
|
243
|
+
}
|
|
219
244
|
/**
|
|
220
245
|
* Overrides `IEditorPane` where `input` and `group` are known to be set.
|
|
221
246
|
*/
|
|
222
247
|
interface IVisibleEditorPane extends IEditorPane {
|
|
223
248
|
readonly input: EditorInput;
|
|
224
|
-
readonly group: IEditorGroup;
|
|
225
249
|
}
|
|
226
250
|
/**
|
|
227
251
|
* The text editor pane is the container for workbench text diff editors.
|
|
@@ -469,12 +493,7 @@ declare const enum EditorInputCapabilities {
|
|
|
469
493
|
* Signals that the editor cannot be in a dirty state
|
|
470
494
|
* and may still have unsaved changes
|
|
471
495
|
*/
|
|
472
|
-
Scratchpad = 512
|
|
473
|
-
/**
|
|
474
|
-
* Signals that the editor does not support opening in
|
|
475
|
-
* auxiliary windows yet.
|
|
476
|
-
*/
|
|
477
|
-
AuxWindowUnsupported = 1024
|
|
496
|
+
Scratchpad = 512
|
|
478
497
|
}
|
|
479
498
|
type IUntypedEditorInput = IResourceEditorInput | ITextResourceEditorInput | IUntitledTextResourceEditorInput | IResourceDiffEditorInput | IResourceMultiDiffEditorInput | IResourceSideBySideEditorInput | IResourceMergeEditorInput;
|
|
480
499
|
declare abstract class AbstractEditorInput extends Disposable {
|
|
@@ -655,9 +674,10 @@ declare const enum GroupModelChangeKind {
|
|
|
655
674
|
EDITOR_LABEL = 8,
|
|
656
675
|
EDITOR_CAPABILITIES = 9,
|
|
657
676
|
EDITOR_PIN = 10,
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
677
|
+
EDITOR_TRANSIENT = 11,
|
|
678
|
+
EDITOR_STICKY = 12,
|
|
679
|
+
EDITOR_DIRTY = 13,
|
|
680
|
+
EDITOR_WILL_DISPOSE = 14
|
|
661
681
|
}
|
|
662
682
|
interface IEditorPartLimitConfiguration {
|
|
663
683
|
enabled?: boolean;
|
|
@@ -774,4 +794,4 @@ interface IToolbarActions {
|
|
|
774
794
|
readonly secondary: IAction[];
|
|
775
795
|
}
|
|
776
796
|
|
|
777
|
-
export { AbstractEditorInput, CloseDirection, EditorCloseContext, EditorInputCapabilities, type EditorInputWithOptions, type EditorInputWithOptionsAndGroup, type EditorInputWithPreferredResource, EditorPaneSelectionChangeReason, EditorPaneSelectionCompareResult, EditorsOrder, type GroupIdentifier, GroupModelChangeKind, type IActiveEditorChangeEvent, type IEditorCloseEvent, type IEditorControl, type IEditorDescriptor, type IEditorIdentifier, type IEditorMemento, type IEditorOpenContext, type IEditorPane, type IEditorPaneSelection, type IEditorPaneSelectionChangeEvent, type IEditorPartOptions, type IEditorPartOptionsChangeEvent, type IEditorSerializer, type IEditorWillMoveEvent, type IEditorWillOpenEvent, type IFileEditorInput, type IFileLimitedEditorInputOptions, type IFindEditorOptions, type IMatchEditorOptions, type IMoveResult, type IResourceDiffEditorInput, type IResourceMergeEditorInput, type IResourceMergeEditorInputSide, type IResourceMultiDiffEditorInput, type IResourceSideBySideEditorInput, type IRevertOptions, type ISaveOptions, type ITextDiffEditorPane, type IToolbarActions, type IUntitledTextResourceEditorInput, type IUntypedEditorInput, type IUntypedFileEditorInput, type IVisibleEditorPane, type PreventPinnedEditorClose, SaveReason, type SaveSource, SideBySideEditor, Verbosity };
|
|
797
|
+
export { AbstractEditorInput, CloseDirection, EditorCloseContext, EditorInputCapabilities, type EditorInputWithOptions, type EditorInputWithOptionsAndGroup, type EditorInputWithPreferredResource, EditorPaneSelectionChangeReason, EditorPaneSelectionCompareResult, EditorsOrder, type GroupIdentifier, GroupModelChangeKind, type IActiveEditorChangeEvent, type IEditorCloseEvent, type IEditorControl, type IEditorDescriptor, type IEditorIdentifier, type IEditorMemento, type IEditorOpenContext, type IEditorPane, type IEditorPaneScrollPosition, type IEditorPaneSelection, type IEditorPaneSelectionChangeEvent, type IEditorPartOptions, type IEditorPartOptionsChangeEvent, type IEditorSerializer, type IEditorWillMoveEvent, type IEditorWillOpenEvent, type IFileEditorInput, type IFileLimitedEditorInputOptions, type IFindEditorOptions, type IMatchEditorOptions, type IMoveResult, type IResourceDiffEditorInput, type IResourceMergeEditorInput, type IResourceMergeEditorInputSide, type IResourceMultiDiffEditorInput, type IResourceSideBySideEditorInput, type IRevertOptions, type ISaveOptions, type ITextDiffEditorPane, type IToolbarActions, type IUntitledTextResourceEditorInput, type IUntypedEditorInput, type IUntypedFileEditorInput, type IVisibleEditorPane, type PreventPinnedEditorClose, SaveReason, type SaveSource, SideBySideEditor, Verbosity };
|