@codingame/monaco-vscode-api 3.2.3 → 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/api.js +4 -7
- package/debugProtocol.d.ts +14 -39
- package/extensions.d.ts +7 -1
- package/missing-services.js +116 -32
- 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 +4 -3
- 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
|
@@ -2,7 +2,7 @@ import { __decorate, __param } from '../../../../../../../external/tslib/tslib.e
|
|
|
2
2
|
import './media/editorplaceholder.css.js';
|
|
3
3
|
import { localizeWithPath } from '../../../../nls.js';
|
|
4
4
|
import { truncate, truncateMiddle } from '../../../../base/common/strings.js';
|
|
5
|
-
import Severity from '../../../../base/common/severity.js';
|
|
5
|
+
import Severity$1 from '../../../../base/common/severity.js';
|
|
6
6
|
import { isEditorOpenError } from '../../../common/editor.js';
|
|
7
7
|
import { EditorPane } from './editorPane.js';
|
|
8
8
|
import { ITelemetryService } from '../../../../platform/telemetry/common/telemetry.js';
|
|
@@ -27,8 +27,8 @@ var EditorPlaceholder_1, WorkspaceTrustRequiredPlaceholderEditor_1, ErrorPlaceho
|
|
|
27
27
|
let EditorPlaceholder = class EditorPlaceholder extends EditorPane {
|
|
28
28
|
static { EditorPlaceholder_1 = this; }
|
|
29
29
|
static { this.PLACEHOLDER_LABEL_MAX_LENGTH = 1024; }
|
|
30
|
-
constructor(id, telemetryService, themeService, storageService) {
|
|
31
|
-
super(id, telemetryService, themeService, storageService);
|
|
30
|
+
constructor(id, group, telemetryService, themeService, storageService) {
|
|
31
|
+
super(id, group, telemetryService, themeService, storageService);
|
|
32
32
|
this.inputDisposable = this._register(( new MutableDisposable()));
|
|
33
33
|
}
|
|
34
34
|
createEditor(parent) {
|
|
@@ -56,7 +56,7 @@ let EditorPlaceholder = class EditorPlaceholder extends EditorPane {
|
|
|
56
56
|
const { icon, label, actions } = await this.getContents(input, options, disposables);
|
|
57
57
|
const truncatedLabel = truncate(label, EditorPlaceholder_1.PLACEHOLDER_LABEL_MAX_LENGTH);
|
|
58
58
|
const iconContainer = container.appendChild($('.editor-placeholder-icon-container'));
|
|
59
|
-
const iconWidget = ( new SimpleIconLabel(iconContainer));
|
|
59
|
+
const iconWidget = disposables.add(( new SimpleIconLabel(iconContainer)));
|
|
60
60
|
iconWidget.text = icon;
|
|
61
61
|
const labelContainer = container.appendChild($('.editor-placeholder-label-container'));
|
|
62
62
|
const labelWidget = document.createElement('span');
|
|
@@ -106,9 +106,9 @@ let EditorPlaceholder = class EditorPlaceholder extends EditorPane {
|
|
|
106
106
|
}
|
|
107
107
|
};
|
|
108
108
|
EditorPlaceholder = EditorPlaceholder_1 = ( __decorate([
|
|
109
|
-
( __param(
|
|
110
|
-
( __param(
|
|
111
|
-
( __param(
|
|
109
|
+
( __param(2, ITelemetryService)),
|
|
110
|
+
( __param(3, IThemeService)),
|
|
111
|
+
( __param(4, IStorageService))
|
|
112
112
|
], EditorPlaceholder));
|
|
113
113
|
let WorkspaceTrustRequiredPlaceholderEditor = class WorkspaceTrustRequiredPlaceholderEditor extends EditorPlaceholder {
|
|
114
114
|
static { WorkspaceTrustRequiredPlaceholderEditor_1 = this; }
|
|
@@ -119,8 +119,8 @@ let WorkspaceTrustRequiredPlaceholderEditor = class WorkspaceTrustRequiredPlaceh
|
|
|
119
119
|
"Workspace Trust Required"
|
|
120
120
|
)); }
|
|
121
121
|
static { this.DESCRIPTOR = EditorPaneDescriptor.create(WorkspaceTrustRequiredPlaceholderEditor_1, WorkspaceTrustRequiredPlaceholderEditor_1.ID, WorkspaceTrustRequiredPlaceholderEditor_1.LABEL); }
|
|
122
|
-
constructor(telemetryService, themeService, commandService, workspaceService, storageService) {
|
|
123
|
-
super(WorkspaceTrustRequiredPlaceholderEditor_1.ID, telemetryService, themeService, storageService);
|
|
122
|
+
constructor(group, telemetryService, themeService, commandService, workspaceService, storageService) {
|
|
123
|
+
super(WorkspaceTrustRequiredPlaceholderEditor_1.ID, group, telemetryService, themeService, storageService);
|
|
124
124
|
this.commandService = commandService;
|
|
125
125
|
this.workspaceService = workspaceService;
|
|
126
126
|
}
|
|
@@ -155,11 +155,11 @@ let WorkspaceTrustRequiredPlaceholderEditor = class WorkspaceTrustRequiredPlaceh
|
|
|
155
155
|
}
|
|
156
156
|
};
|
|
157
157
|
WorkspaceTrustRequiredPlaceholderEditor = WorkspaceTrustRequiredPlaceholderEditor_1 = ( __decorate([
|
|
158
|
-
( __param(
|
|
159
|
-
( __param(
|
|
160
|
-
( __param(
|
|
161
|
-
( __param(
|
|
162
|
-
( __param(
|
|
158
|
+
( __param(1, ITelemetryService)),
|
|
159
|
+
( __param(2, IThemeService)),
|
|
160
|
+
( __param(3, ICommandService)),
|
|
161
|
+
( __param(4, IWorkspaceContextService)),
|
|
162
|
+
( __param(5, IStorageService))
|
|
163
163
|
], WorkspaceTrustRequiredPlaceholderEditor));
|
|
164
164
|
let ErrorPlaceholderEditor = class ErrorPlaceholderEditor extends EditorPlaceholder {
|
|
165
165
|
static { ErrorPlaceholderEditor_1 = this; }
|
|
@@ -170,14 +170,13 @@ let ErrorPlaceholderEditor = class ErrorPlaceholderEditor extends EditorPlacehol
|
|
|
170
170
|
"Error Editor"
|
|
171
171
|
)); }
|
|
172
172
|
static { this.DESCRIPTOR = EditorPaneDescriptor.create(ErrorPlaceholderEditor_1, ErrorPlaceholderEditor_1.ID, ErrorPlaceholderEditor_1.LABEL); }
|
|
173
|
-
constructor(telemetryService, themeService, storageService, fileService, dialogService) {
|
|
174
|
-
super(ErrorPlaceholderEditor_1.ID, telemetryService, themeService, storageService);
|
|
173
|
+
constructor(group, telemetryService, themeService, storageService, fileService, dialogService) {
|
|
174
|
+
super(ErrorPlaceholderEditor_1.ID, group, telemetryService, themeService, storageService);
|
|
175
175
|
this.fileService = fileService;
|
|
176
176
|
this.dialogService = dialogService;
|
|
177
177
|
}
|
|
178
178
|
async getContents(input, options, disposables) {
|
|
179
179
|
const resource = input.resource;
|
|
180
|
-
const group = this.group;
|
|
181
180
|
const error = options.error;
|
|
182
181
|
const isFileNotFound = error?.fileOperationResult === 1 ;
|
|
183
182
|
let label;
|
|
@@ -208,10 +207,10 @@ let ErrorPlaceholderEditor = class ErrorPlaceholderEditor extends EditorPlacehol
|
|
|
208
207
|
}
|
|
209
208
|
let icon = '$(error)';
|
|
210
209
|
if (isEditorOpenError(error)) {
|
|
211
|
-
if (error.forceSeverity === Severity.Info) {
|
|
210
|
+
if (error.forceSeverity === Severity$1.Info) {
|
|
212
211
|
icon = '$(info)';
|
|
213
212
|
}
|
|
214
|
-
else if (error.forceSeverity === Severity.Warning) {
|
|
213
|
+
else if (error.forceSeverity === Severity$1.Warning) {
|
|
215
214
|
icon = '$(warning)';
|
|
216
215
|
}
|
|
217
216
|
}
|
|
@@ -229,7 +228,7 @@ let ErrorPlaceholderEditor = class ErrorPlaceholderEditor extends EditorPlacehol
|
|
|
229
228
|
};
|
|
230
229
|
}));
|
|
231
230
|
}
|
|
232
|
-
else
|
|
231
|
+
else {
|
|
233
232
|
actions = [
|
|
234
233
|
{
|
|
235
234
|
label: ( localizeWithPath(
|
|
@@ -237,14 +236,14 @@ let ErrorPlaceholderEditor = class ErrorPlaceholderEditor extends EditorPlacehol
|
|
|
237
236
|
'retry',
|
|
238
237
|
"Try Again"
|
|
239
238
|
)),
|
|
240
|
-
run: () => group.openEditor(input, { ...options, source: EditorOpenSource.USER })
|
|
239
|
+
run: () => this.group.openEditor(input, { ...options, source: EditorOpenSource.USER })
|
|
241
240
|
}
|
|
242
241
|
];
|
|
243
242
|
}
|
|
244
|
-
if (
|
|
243
|
+
if (isFileNotFound && resource && this.fileService.hasProvider(resource)) {
|
|
245
244
|
disposables.add(this.fileService.onDidFilesChange(e => {
|
|
246
245
|
if (e.contains(resource, 1 , 0 )) {
|
|
247
|
-
group.openEditor(input, options);
|
|
246
|
+
this.group.openEditor(input, options);
|
|
248
247
|
}
|
|
249
248
|
}));
|
|
250
249
|
}
|
|
@@ -252,10 +251,10 @@ let ErrorPlaceholderEditor = class ErrorPlaceholderEditor extends EditorPlacehol
|
|
|
252
251
|
}
|
|
253
252
|
};
|
|
254
253
|
ErrorPlaceholderEditor = ErrorPlaceholderEditor_1 = ( __decorate([
|
|
255
|
-
( __param(
|
|
256
|
-
( __param(
|
|
257
|
-
( __param(
|
|
258
|
-
( __param(
|
|
259
|
-
( __param(
|
|
254
|
+
( __param(1, ITelemetryService)),
|
|
255
|
+
( __param(2, IThemeService)),
|
|
256
|
+
( __param(3, IStorageService)),
|
|
257
|
+
( __param(4, IFileService)),
|
|
258
|
+
( __param(5, IDialogService))
|
|
260
259
|
], ErrorPlaceholderEditor));
|
|
261
260
|
export { EditorPlaceholder, ErrorPlaceholderEditor, WorkspaceTrustRequiredPlaceholderEditor };
|
|
@@ -3,7 +3,7 @@ import './media/editorstatus.css.js';
|
|
|
3
3
|
import { localizeWithPath, localize2WithPath } from '../../../../nls.js';
|
|
4
4
|
import { runAtThisOrScheduleAtNextAnimationFrame, getWindowById } from '../../../../base/browser/dom.js';
|
|
5
5
|
import { format, splitLines, compare } from '../../../../base/common/strings.js';
|
|
6
|
-
import {
|
|
6
|
+
import { extname, basename, isEqual } from '../../../../base/common/resources.js';
|
|
7
7
|
import { areFunctions, assertIsDefined } from '../../../../base/common/types.js';
|
|
8
8
|
import { URI } from '../../../../base/common/uri.js';
|
|
9
9
|
import { Action } from '../../../../base/common/actions.js';
|
|
@@ -213,7 +213,6 @@ let TabFocusMode = class TabFocusMode extends Disposable {
|
|
|
213
213
|
this.registerListeners();
|
|
214
214
|
const tabFocusModeConfig = configurationService.getValue('editor.tabFocusMode') === true ? true : false;
|
|
215
215
|
TabFocus.setTabFocusMode(tabFocusModeConfig);
|
|
216
|
-
this._onDidChange.fire(tabFocusModeConfig);
|
|
217
216
|
}
|
|
218
217
|
registerListeners() {
|
|
219
218
|
this._register(TabFocus.onDidChangeTabFocus(tabFocusMode => this._onDidChange.fire(tabFocusMode)));
|
|
@@ -278,12 +277,12 @@ let EditorStatus = class EditorStatus extends Disposable {
|
|
|
278
277
|
this.eolElement = this._register(( new MutableDisposable()));
|
|
279
278
|
this.languageElement = this._register(( new MutableDisposable()));
|
|
280
279
|
this.metadataElement = this._register(( new MutableDisposable()));
|
|
281
|
-
this.
|
|
280
|
+
this.currentMarkerStatus = this._register(this.instantiationService.createInstance(ShowCurrentMarkerInStatusbarContribution));
|
|
281
|
+
this.tabFocusMode = this._register(this.instantiationService.createInstance(TabFocusMode));
|
|
282
282
|
this.state = ( new State());
|
|
283
|
+
this.toRender = undefined;
|
|
283
284
|
this.activeEditorListeners = this._register(( new DisposableStore()));
|
|
284
285
|
this.delayedRender = this._register(( new MutableDisposable()));
|
|
285
|
-
this.tabFocusMode = this.instantiationService.createInstance(TabFocusMode);
|
|
286
|
-
this.toRender = undefined;
|
|
287
286
|
this.registerCommands();
|
|
288
287
|
this.registerListeners();
|
|
289
288
|
}
|
|
@@ -301,7 +300,7 @@ let EditorStatus = class EditorStatus extends Disposable {
|
|
|
301
300
|
}));
|
|
302
301
|
}
|
|
303
302
|
registerCommands() {
|
|
304
|
-
CommandsRegistry.registerCommand({ id: `changeEditorIndentation${this.targetWindowId}`, handler: () => this.showIndentationPicker() });
|
|
303
|
+
this._register(CommandsRegistry.registerCommand({ id: `changeEditorIndentation${this.targetWindowId}`, handler: () => this.showIndentationPicker() }));
|
|
305
304
|
}
|
|
306
305
|
async showIndentationPicker() {
|
|
307
306
|
const activeTextEditorControl = getCodeEditor(this.editorService.activeTextEditorControl);
|
|
@@ -623,7 +622,7 @@ let EditorStatus = class EditorStatus extends Disposable {
|
|
|
623
622
|
this.onEncodingChange(activeEditorPane, activeCodeEditor);
|
|
624
623
|
this.onIndentationChange(activeCodeEditor);
|
|
625
624
|
this.onMetadataChange(activeEditorPane);
|
|
626
|
-
this.
|
|
625
|
+
this.currentMarkerStatus.update(activeCodeEditor);
|
|
627
626
|
this.activeEditorListeners.clear();
|
|
628
627
|
if (activeEditorPane) {
|
|
629
628
|
this.activeEditorListeners.add(activeEditorPane.onDidChangeControl(() => {
|
|
@@ -638,14 +637,14 @@ let EditorStatus = class EditorStatus extends Disposable {
|
|
|
638
637
|
}));
|
|
639
638
|
this.activeEditorListeners.add(Event.defer(activeCodeEditor.onDidChangeCursorPosition)(() => {
|
|
640
639
|
this.onSelectionChange(activeCodeEditor);
|
|
641
|
-
this.
|
|
640
|
+
this.currentMarkerStatus.update(activeCodeEditor);
|
|
642
641
|
}));
|
|
643
642
|
this.activeEditorListeners.add(activeCodeEditor.onDidChangeModelLanguage(() => {
|
|
644
643
|
this.onLanguageChange(activeCodeEditor, activeInput);
|
|
645
644
|
}));
|
|
646
645
|
this.activeEditorListeners.add(Event.accumulate(activeCodeEditor.onDidChangeModelContent)(e => {
|
|
647
646
|
this.onEOLChange(activeCodeEditor);
|
|
648
|
-
this.
|
|
647
|
+
this.currentMarkerStatus.update(activeCodeEditor);
|
|
649
648
|
const selections = activeCodeEditor.getSelections();
|
|
650
649
|
if (selections) {
|
|
651
650
|
for (const inner of e) {
|
|
@@ -947,29 +946,29 @@ let ShowCurrentMarkerInStatusbarContribution = class ShowCurrentMarkerInStatusba
|
|
|
947
946
|
resource: model.uri,
|
|
948
947
|
severities: MarkerSeverity.Error | MarkerSeverity.Warning | MarkerSeverity.Info
|
|
949
948
|
});
|
|
950
|
-
this.markers.sort(compareMarker);
|
|
949
|
+
this.markers.sort(this.compareMarker);
|
|
951
950
|
}
|
|
952
951
|
else {
|
|
953
952
|
this.markers = [];
|
|
954
953
|
}
|
|
955
954
|
this.updateStatus();
|
|
956
955
|
}
|
|
956
|
+
compareMarker(a, b) {
|
|
957
|
+
let res = compare(( a.resource.toString()), ( b.resource.toString()));
|
|
958
|
+
if (res === 0) {
|
|
959
|
+
res = MarkerSeverity.compare(a.severity, b.severity);
|
|
960
|
+
}
|
|
961
|
+
if (res === 0) {
|
|
962
|
+
res = Range.compareRangesUsingStarts(a, b);
|
|
963
|
+
}
|
|
964
|
+
return res;
|
|
965
|
+
}
|
|
957
966
|
};
|
|
958
967
|
ShowCurrentMarkerInStatusbarContribution = ( __decorate([
|
|
959
968
|
( __param(0, IStatusbarService)),
|
|
960
969
|
( __param(1, IMarkerService)),
|
|
961
970
|
( __param(2, IConfigurationService))
|
|
962
971
|
], ShowCurrentMarkerInStatusbarContribution));
|
|
963
|
-
function compareMarker(a, b) {
|
|
964
|
-
let res = compare(( a.resource.toString()), ( b.resource.toString()));
|
|
965
|
-
if (res === 0) {
|
|
966
|
-
res = MarkerSeverity.compare(a.severity, b.severity);
|
|
967
|
-
}
|
|
968
|
-
if (res === 0) {
|
|
969
|
-
res = Range.compareRangesUsingStarts(a, b);
|
|
970
|
-
}
|
|
971
|
-
return res;
|
|
972
|
-
}
|
|
973
972
|
let ShowLanguageExtensionsAction = class ShowLanguageExtensionsAction extends Action {
|
|
974
973
|
static { ShowLanguageExtensionsAction_1 = this; }
|
|
975
974
|
static { this.ID = 'workbench.action.showLanguageExtensions'; }
|
|
@@ -15,7 +15,17 @@ import { IInstantiationService } from '../../../../platform/instantiation/common
|
|
|
15
15
|
import { IKeybindingService } from '../../../../platform/keybinding/common/keybinding.js';
|
|
16
16
|
import { INotificationService } from '../../../../platform/notification/common/notification.js';
|
|
17
17
|
import { IQuickInputService } from '../../../../platform/quickinput/common/quickInput.js';
|
|
18
|
-
import
|
|
18
|
+
import '../../../../platform/theme/common/colorUtils.js';
|
|
19
|
+
import '../../../../platform/theme/common/colors/baseColors.js';
|
|
20
|
+
import '../../../../platform/theme/common/colors/chartsColors.js';
|
|
21
|
+
import '../../../../platform/theme/common/colors/editorColors.js';
|
|
22
|
+
import '../../../../platform/theme/common/colors/inputColors.js';
|
|
23
|
+
import { listActiveSelectionForeground, listActiveSelectionBackground } from '../../../../platform/theme/common/colors/listColors.js';
|
|
24
|
+
import '../../../../platform/theme/common/colors/menuColors.js';
|
|
25
|
+
import '../../../../platform/theme/common/colors/minimapColors.js';
|
|
26
|
+
import '../../../../platform/theme/common/colors/miscColors.js';
|
|
27
|
+
import '../../../../platform/theme/common/colors/quickpickColors.js';
|
|
28
|
+
import '../../../../platform/theme/common/colors/searchColors.js';
|
|
19
29
|
import { Themable, IThemeService } from '../../../../platform/theme/common/themeService.js';
|
|
20
30
|
import { DraggedEditorGroupIdentifier, isWindowDraggedOver, fillEditorsDragData } from '../../dnd.js';
|
|
21
31
|
import { EditorPane } from './editorPane.js';
|
|
@@ -32,7 +42,7 @@ import { EDITOR_CORE_NAVIGATION_COMMANDS } from './editorCommands.js';
|
|
|
32
42
|
import { isMacintosh } from '../../../../base/common/platform.js';
|
|
33
43
|
import { IHostService } from '../../../services/host/browser/host.js';
|
|
34
44
|
import { ServiceCollection } from '../../../../platform/instantiation/common/serviceCollection.js';
|
|
35
|
-
import { getDefaultHoverDelegate } from '../../../../base/browser/ui/hover/
|
|
45
|
+
import { getDefaultHoverDelegate } from '../../../../base/browser/ui/hover/hoverDelegateFactory.js';
|
|
36
46
|
var EditorTabsControl_1;
|
|
37
47
|
class EditorCommandsContextActionRunner extends ActionRunner {
|
|
38
48
|
constructor(context) {
|
|
@@ -11,8 +11,8 @@ import { IEditorGroupsService } from '../../../services/editor/common/editorGrou
|
|
|
11
11
|
import { IEditorService } from '../../../services/editor/common/editorService.js';
|
|
12
12
|
import { MutableDisposable } from '../../../../base/common/lifecycle.js';
|
|
13
13
|
let AbstractEditorWithViewState = class AbstractEditorWithViewState extends EditorPane {
|
|
14
|
-
constructor(id, viewStateStorageKey, telemetryService, instantiationService, storageService, textResourceConfigurationService, themeService, editorService, editorGroupService) {
|
|
15
|
-
super(id, telemetryService, themeService, storageService);
|
|
14
|
+
constructor(id, group, viewStateStorageKey, telemetryService, instantiationService, storageService, textResourceConfigurationService, themeService, editorService, editorGroupService) {
|
|
15
|
+
super(id, group, telemetryService, themeService, storageService);
|
|
16
16
|
this.instantiationService = instantiationService;
|
|
17
17
|
this.textResourceConfigurationService = textResourceConfigurationService;
|
|
18
18
|
this.editorService = editorService;
|
|
@@ -20,9 +20,9 @@ let AbstractEditorWithViewState = class AbstractEditorWithViewState extends Edit
|
|
|
20
20
|
this.groupListener = this._register(( new MutableDisposable()));
|
|
21
21
|
this.viewState = this.getEditorMemento(editorGroupService, textResourceConfigurationService, viewStateStorageKey, 100);
|
|
22
22
|
}
|
|
23
|
-
setEditorVisible(visible
|
|
24
|
-
this.groupListener.value = group
|
|
25
|
-
super.setEditorVisible(visible
|
|
23
|
+
setEditorVisible(visible) {
|
|
24
|
+
this.groupListener.value = this.group.onWillCloseEditor(e => this.onWillCloseEditor(e));
|
|
25
|
+
super.setEditorVisible(visible);
|
|
26
26
|
}
|
|
27
27
|
onWillCloseEditor(e) {
|
|
28
28
|
const editor = e.editor;
|
|
@@ -58,7 +58,7 @@ let AbstractEditorWithViewState = class AbstractEditorWithViewState extends Edit
|
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
if ((input.isDisposed() && !this.tracksDisposedEditorViewState()) ||
|
|
61
|
-
(!this.shouldRestoreEditorViewState(input) &&
|
|
61
|
+
(!this.shouldRestoreEditorViewState(input) && !this.group.contains(input))) {
|
|
62
62
|
this.clearEditorViewState(resource, this.group);
|
|
63
63
|
}
|
|
64
64
|
else if (!input.isDisposed()) {
|
|
@@ -83,9 +83,6 @@ let AbstractEditorWithViewState = class AbstractEditorWithViewState extends Edit
|
|
|
83
83
|
return this.computeEditorViewState(resource);
|
|
84
84
|
}
|
|
85
85
|
saveEditorViewState(resource) {
|
|
86
|
-
if (!this.group) {
|
|
87
|
-
return;
|
|
88
|
-
}
|
|
89
86
|
const editorViewState = this.computeEditorViewState(resource);
|
|
90
87
|
if (!editorViewState) {
|
|
91
88
|
return;
|
|
@@ -93,7 +90,7 @@ let AbstractEditorWithViewState = class AbstractEditorWithViewState extends Edit
|
|
|
93
90
|
this.viewState.saveEditorState(this.group, resource, editorViewState);
|
|
94
91
|
}
|
|
95
92
|
loadEditorViewState(input, context) {
|
|
96
|
-
if (!input
|
|
93
|
+
if (!input) {
|
|
97
94
|
return undefined;
|
|
98
95
|
}
|
|
99
96
|
if (!this.tracksEditorViewState(input)) {
|
|
@@ -128,12 +125,12 @@ let AbstractEditorWithViewState = class AbstractEditorWithViewState extends Edit
|
|
|
128
125
|
}
|
|
129
126
|
};
|
|
130
127
|
AbstractEditorWithViewState = ( __decorate([
|
|
131
|
-
( __param(
|
|
132
|
-
( __param(
|
|
133
|
-
( __param(
|
|
134
|
-
( __param(
|
|
135
|
-
( __param(
|
|
136
|
-
( __param(
|
|
137
|
-
( __param(
|
|
128
|
+
( __param(3, ITelemetryService)),
|
|
129
|
+
( __param(4, IInstantiationService)),
|
|
130
|
+
( __param(5, IStorageService)),
|
|
131
|
+
( __param(6, ITextResourceConfigurationService)),
|
|
132
|
+
( __param(7, IThemeService)),
|
|
133
|
+
( __param(8, IEditorService)),
|
|
134
|
+
( __param(9, IEditorGroupsService))
|
|
138
135
|
], AbstractEditorWithViewState));
|
|
139
136
|
export { AbstractEditorWithViewState };
|
|
@@ -20,7 +20,17 @@ import { ScrollableElement } from '../../../../base/browser/ui/scrollbar/scrolla
|
|
|
20
20
|
import { getOrSet } from '../../../../base/common/map.js';
|
|
21
21
|
import { registerThemingParticipant, IThemeService } from '../../../../platform/theme/common/themeService.js';
|
|
22
22
|
import { EDITOR_GROUP_HEADER_TABS_BORDER, TAB_BORDER, TAB_ACTIVE_BACKGROUND, TAB_UNFOCUSED_ACTIVE_BACKGROUND, TAB_ACTIVE_BORDER, TAB_UNFOCUSED_ACTIVE_BORDER, TAB_ACTIVE_BORDER_TOP, TAB_UNFOCUSED_ACTIVE_BORDER_TOP, TAB_ACTIVE_FOREGROUND, TAB_UNFOCUSED_ACTIVE_FOREGROUND, TAB_INACTIVE_BACKGROUND, TAB_UNFOCUSED_INACTIVE_BACKGROUND, TAB_INACTIVE_FOREGROUND, TAB_UNFOCUSED_INACTIVE_FOREGROUND, TAB_ACTIVE_MODIFIED_BORDER, TAB_INACTIVE_MODIFIED_BORDER, TAB_UNFOCUSED_ACTIVE_MODIFIED_BORDER, TAB_UNFOCUSED_INACTIVE_MODIFIED_BORDER, TAB_LAST_PINNED_BORDER, TAB_HOVER_BACKGROUND, TAB_UNFOCUSED_HOVER_BACKGROUND, TAB_HOVER_FOREGROUND, TAB_UNFOCUSED_HOVER_FOREGROUND, TAB_HOVER_BORDER, TAB_UNFOCUSED_HOVER_BORDER, EDITOR_GROUP_HEADER_TABS_BACKGROUND, EDITOR_DRAG_AND_DROP_BACKGROUND, WORKBENCH_BACKGROUND } from '../../../common/theme.js';
|
|
23
|
-
import
|
|
23
|
+
import '../../../../platform/theme/common/colorUtils.js';
|
|
24
|
+
import { contrastBorder, activeContrastBorder } from '../../../../platform/theme/common/colors/baseColors.js';
|
|
25
|
+
import '../../../../platform/theme/common/colors/chartsColors.js';
|
|
26
|
+
import { editorBackground } from '../../../../platform/theme/common/colors/editorColors.js';
|
|
27
|
+
import '../../../../platform/theme/common/colors/inputColors.js';
|
|
28
|
+
import '../../../../platform/theme/common/colors/listColors.js';
|
|
29
|
+
import '../../../../platform/theme/common/colors/menuColors.js';
|
|
30
|
+
import '../../../../platform/theme/common/colors/minimapColors.js';
|
|
31
|
+
import '../../../../platform/theme/common/colors/miscColors.js';
|
|
32
|
+
import '../../../../platform/theme/common/colors/quickpickColors.js';
|
|
33
|
+
import '../../../../platform/theme/common/colors/searchColors.js';
|
|
24
34
|
import { DraggedEditorIdentifier, DraggedEditorGroupIdentifier, isWindowDraggedOver, extractTreeDropData, ResourcesDropHandler } from '../../dnd.js';
|
|
25
35
|
import { INotificationService } from '../../../../platform/notification/common/notification.js';
|
|
26
36
|
import { Dimension, addDisposableListener, EventType as EventType$1, DragAndDropObserver, clearNode, scheduleAtNextAnimationFrame, getWindow, isMouseEvent, findParentWithClass, EventHelper } from '../../../../base/browser/dom.js';
|
|
@@ -16,17 +16,17 @@ let MultiRowEditorControl = class MultiRowEditorControl extends Disposable {
|
|
|
16
16
|
const unstickyModel = this._register(( new UnstickyEditorGroupModel(this.model)));
|
|
17
17
|
this.stickyEditorTabsControl = this._register(this.instantiationService.createInstance(MultiEditorTabsControl, this.parent, editorPartsView, this.groupsView, this.groupView, stickyModel));
|
|
18
18
|
this.unstickyEditorTabsControl = this._register(this.instantiationService.createInstance(MultiEditorTabsControl, this.parent, editorPartsView, this.groupsView, this.groupView, unstickyModel));
|
|
19
|
-
this.
|
|
19
|
+
this.handlePinnedTabsLayoutChange();
|
|
20
20
|
}
|
|
21
|
-
|
|
21
|
+
handlePinnedTabsLayoutChange() {
|
|
22
22
|
if (this.groupView.count === 0) {
|
|
23
23
|
return;
|
|
24
24
|
}
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
this.
|
|
25
|
+
const hadTwoTabBars = this.parent.classList.contains('two-tab-bars');
|
|
26
|
+
const hasTwoTabBars = this.groupView.count !== this.groupView.stickyCount && this.groupView.stickyCount > 0;
|
|
27
|
+
this.parent.classList.toggle('two-tab-bars', hasTwoTabBars);
|
|
28
|
+
if (hadTwoTabBars !== hasTwoTabBars) {
|
|
29
|
+
this.groupView.relayout();
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
getEditorTabsController(editor) {
|
|
@@ -53,7 +53,7 @@ let MultiRowEditorControl = class MultiRowEditorControl extends Disposable {
|
|
|
53
53
|
return didChange;
|
|
54
54
|
}
|
|
55
55
|
handleOpenedEditors() {
|
|
56
|
-
this.
|
|
56
|
+
this.handlePinnedTabsLayoutChange();
|
|
57
57
|
}
|
|
58
58
|
beforeCloseEditor(editor) {
|
|
59
59
|
this.getEditorTabsController(editor).beforeCloseEditor(editor);
|
|
@@ -71,7 +71,7 @@ let MultiRowEditorControl = class MultiRowEditorControl extends Disposable {
|
|
|
71
71
|
this.handleClosedEditors();
|
|
72
72
|
}
|
|
73
73
|
handleClosedEditors() {
|
|
74
|
-
this.
|
|
74
|
+
this.handlePinnedTabsLayoutChange();
|
|
75
75
|
}
|
|
76
76
|
moveEditor(editor, fromIndex, targetIndex, stickyStateChange) {
|
|
77
77
|
if (stickyStateChange) {
|
|
@@ -83,7 +83,7 @@ let MultiRowEditorControl = class MultiRowEditorControl extends Disposable {
|
|
|
83
83
|
this.stickyEditorTabsControl.closeEditor(editor);
|
|
84
84
|
this.unstickyEditorTabsControl.openEditor(editor);
|
|
85
85
|
}
|
|
86
|
-
this.
|
|
86
|
+
this.handlePinnedTabsLayoutChange();
|
|
87
87
|
}
|
|
88
88
|
else {
|
|
89
89
|
if (this.model.isSticky(editor)) {
|
|
@@ -100,12 +100,12 @@ let MultiRowEditorControl = class MultiRowEditorControl extends Disposable {
|
|
|
100
100
|
stickEditor(editor) {
|
|
101
101
|
this.unstickyEditorTabsControl.closeEditor(editor);
|
|
102
102
|
this.stickyEditorTabsControl.openEditor(editor);
|
|
103
|
-
this.
|
|
103
|
+
this.handlePinnedTabsLayoutChange();
|
|
104
104
|
}
|
|
105
105
|
unstickEditor(editor) {
|
|
106
106
|
this.stickyEditorTabsControl.closeEditor(editor);
|
|
107
107
|
this.unstickyEditorTabsControl.openEditor(editor);
|
|
108
|
-
this.
|
|
108
|
+
this.handlePinnedTabsLayoutChange();
|
|
109
109
|
}
|
|
110
110
|
setActive(isActive) {
|
|
111
111
|
this.stickyEditorTabsControl.setActive(isActive);
|
|
@@ -48,8 +48,8 @@ let SideBySideEditor = class SideBySideEditor extends AbstractEditorWithViewStat
|
|
|
48
48
|
get maximumWidth() { return this.maximumPrimaryWidth + this.maximumSecondaryWidth; }
|
|
49
49
|
get minimumHeight() { return this.minimumPrimaryHeight + this.minimumSecondaryHeight; }
|
|
50
50
|
get maximumHeight() { return this.maximumPrimaryHeight + this.maximumSecondaryHeight; }
|
|
51
|
-
constructor(telemetryService, instantiationService, themeService, storageService, configurationService, textResourceConfigurationService, editorService, editorGroupService) {
|
|
52
|
-
super(SideBySideEditor_1.ID, SideBySideEditor_1.VIEW_STATE_PREFERENCE_KEY, telemetryService, instantiationService, storageService, textResourceConfigurationService, themeService, editorService, editorGroupService);
|
|
51
|
+
constructor(group, telemetryService, instantiationService, themeService, storageService, configurationService, textResourceConfigurationService, editorService, editorGroupService) {
|
|
52
|
+
super(SideBySideEditor_1.ID, group, SideBySideEditor_1.VIEW_STATE_PREFERENCE_KEY, telemetryService, instantiationService, storageService, textResourceConfigurationService, themeService, editorService, editorGroupService);
|
|
53
53
|
this.configurationService = configurationService;
|
|
54
54
|
this.onDidCreateEditors = this._register(( new Emitter()));
|
|
55
55
|
this._onDidChangeSizeConstraints = this._register(( new Relay()));
|
|
@@ -211,9 +211,9 @@ let SideBySideEditor = class SideBySideEditor extends AbstractEditorWithViewStat
|
|
|
211
211
|
if (!editorPaneDescriptor) {
|
|
212
212
|
throw new Error('No editor pane descriptor for editor found');
|
|
213
213
|
}
|
|
214
|
-
const editorPane = editorPaneDescriptor.instantiate(this.instantiationService);
|
|
214
|
+
const editorPane = editorPaneDescriptor.instantiate(this.instantiationService, this.group);
|
|
215
215
|
editorPane.create(container);
|
|
216
|
-
editorPane.setVisible(this.isVisible()
|
|
216
|
+
editorPane.setVisible(this.isVisible());
|
|
217
217
|
if (isEditorPaneWithSelection(editorPane)) {
|
|
218
218
|
this.editorDisposables.add(editorPane.onDidChangeSelection(e => this._onDidChangeSelection.fire(e)));
|
|
219
219
|
}
|
|
@@ -244,10 +244,10 @@ let SideBySideEditor = class SideBySideEditor extends AbstractEditorWithViewStat
|
|
|
244
244
|
}
|
|
245
245
|
this.getLastFocusedEditorPane()?.setOptions(options);
|
|
246
246
|
}
|
|
247
|
-
setEditorVisible(visible
|
|
248
|
-
this.primaryEditorPane?.setVisible(visible
|
|
249
|
-
this.secondaryEditorPane?.setVisible(visible
|
|
250
|
-
super.setEditorVisible(visible
|
|
247
|
+
setEditorVisible(visible) {
|
|
248
|
+
this.primaryEditorPane?.setVisible(visible);
|
|
249
|
+
this.secondaryEditorPane?.setVisible(visible);
|
|
250
|
+
super.setEditorVisible(visible);
|
|
251
251
|
}
|
|
252
252
|
clearInput() {
|
|
253
253
|
super.clearInput();
|
|
@@ -354,14 +354,14 @@ let SideBySideEditor = class SideBySideEditor extends AbstractEditorWithViewStat
|
|
|
354
354
|
}
|
|
355
355
|
};
|
|
356
356
|
SideBySideEditor = SideBySideEditor_1 = ( __decorate([
|
|
357
|
-
( __param(
|
|
358
|
-
( __param(
|
|
359
|
-
( __param(
|
|
360
|
-
( __param(
|
|
361
|
-
( __param(
|
|
362
|
-
( __param(
|
|
363
|
-
( __param(
|
|
364
|
-
( __param(
|
|
357
|
+
( __param(1, ITelemetryService)),
|
|
358
|
+
( __param(2, IInstantiationService)),
|
|
359
|
+
( __param(3, IThemeService)),
|
|
360
|
+
( __param(4, IStorageService)),
|
|
361
|
+
( __param(5, IConfigurationService)),
|
|
362
|
+
( __param(6, ITextResourceConfigurationService)),
|
|
363
|
+
( __param(7, IEditorService)),
|
|
364
|
+
( __param(8, IEditorGroupsService))
|
|
365
365
|
], SideBySideEditor));
|
|
366
366
|
class SideBySideAwareEditorPaneSelection {
|
|
367
367
|
constructor(selection, side) {
|
|
@@ -3,7 +3,7 @@ import { assertIsDefined } from '../../../../base/common/types.js';
|
|
|
3
3
|
import { applyTextEditorOptions } from '../../../common/editor/editorOptions.js';
|
|
4
4
|
import { IContextKeyService } from '../../../../platform/contextkey/common/contextkey.js';
|
|
5
5
|
import { isEqual } from '../../../../base/common/resources.js';
|
|
6
|
-
import { CodeEditorWidget } from '../../../../editor/browser/widget/codeEditorWidget.js';
|
|
6
|
+
import { CodeEditorWidget } from '../../../../editor/browser/widget/codeEditor/codeEditorWidget.js';
|
|
7
7
|
import '../../../../../../../override/vs/workbench/browser/parts/editor/textEditor.js';
|
|
8
8
|
import { AbstractTextEditor } from './textEditor.js';
|
|
9
9
|
class AbstractTextCodeEditor extends AbstractTextEditor {
|
|
@@ -69,8 +69,8 @@ class AbstractTextCodeEditor extends AbstractTextEditor {
|
|
|
69
69
|
hasFocus() {
|
|
70
70
|
return this.editorControl?.hasTextFocus() || super.hasFocus();
|
|
71
71
|
}
|
|
72
|
-
setEditorVisible(visible
|
|
73
|
-
super.setEditorVisible(visible
|
|
72
|
+
setEditorVisible(visible) {
|
|
73
|
+
super.setEditorVisible(visible);
|
|
74
74
|
if (visible) {
|
|
75
75
|
this.editorControl?.onVisible();
|
|
76
76
|
}
|
|
@@ -37,8 +37,8 @@ let TextDiffEditor = class TextDiffEditor extends AbstractTextEditor {
|
|
|
37
37
|
const modifiedEditor = this.diffEditorControl.getModifiedEditor();
|
|
38
38
|
return (originalEditor.hasTextFocus() ? originalEditor : modifiedEditor).invokeWithinContext(accessor => accessor.get(IContextKeyService));
|
|
39
39
|
}
|
|
40
|
-
constructor(telemetryService, instantiationService, storageService, configurationService, editorService, themeService, editorGroupService, fileService, preferencesService) {
|
|
41
|
-
super(TextDiffEditor_1.ID, telemetryService, instantiationService, storageService, configurationService, themeService, editorService, editorGroupService, fileService);
|
|
40
|
+
constructor(group, telemetryService, instantiationService, storageService, configurationService, editorService, themeService, editorGroupService, fileService, preferencesService) {
|
|
41
|
+
super(TextDiffEditor_1.ID, group, telemetryService, instantiationService, storageService, configurationService, themeService, editorService, editorGroupService, fileService);
|
|
42
42
|
this.preferencesService = preferencesService;
|
|
43
43
|
this.diffEditorControl = undefined;
|
|
44
44
|
this.inputLifecycleStopWatch = undefined;
|
|
@@ -111,7 +111,7 @@ let TextDiffEditor = class TextDiffEditor extends AbstractTextEditor {
|
|
|
111
111
|
if (this.isFileBinaryError(error)) {
|
|
112
112
|
return this.openAsBinary(input, options);
|
|
113
113
|
}
|
|
114
|
-
if (error.fileOperationResult === 7
|
|
114
|
+
if (error.fileOperationResult === 7 ) {
|
|
115
115
|
let message;
|
|
116
116
|
if (error instanceof TooLargeFileOperationError) {
|
|
117
117
|
message = ( localizeWithPath(
|
|
@@ -157,14 +157,14 @@ let TextDiffEditor = class TextDiffEditor extends AbstractTextEditor {
|
|
|
157
157
|
if (fileEditorFactory.isFileEditor(modified)) {
|
|
158
158
|
modified.setForceOpenAsBinary();
|
|
159
159
|
}
|
|
160
|
-
|
|
160
|
+
this.group.replaceEditors([{
|
|
161
161
|
editor: input,
|
|
162
162
|
replacement: binaryDiffInput,
|
|
163
163
|
options: {
|
|
164
164
|
...options,
|
|
165
165
|
activation: EditorActivation.PRESERVE,
|
|
166
|
-
pinned: this.group
|
|
167
|
-
sticky: this.group
|
|
166
|
+
pinned: this.group.isPinned(input),
|
|
167
|
+
sticky: this.group.isSticky(input)
|
|
168
168
|
}
|
|
169
169
|
}]);
|
|
170
170
|
}
|
|
@@ -254,8 +254,8 @@ let TextDiffEditor = class TextDiffEditor extends AbstractTextEditor {
|
|
|
254
254
|
hasFocus() {
|
|
255
255
|
return this.diffEditorControl?.hasTextFocus() || super.hasFocus();
|
|
256
256
|
}
|
|
257
|
-
setEditorVisible(visible
|
|
258
|
-
super.setEditorVisible(visible
|
|
257
|
+
setEditorVisible(visible) {
|
|
258
|
+
super.setEditorVisible(visible);
|
|
259
259
|
if (visible) {
|
|
260
260
|
this.diffEditorControl?.onVisible();
|
|
261
261
|
}
|
|
@@ -307,14 +307,14 @@ let TextDiffEditor = class TextDiffEditor extends AbstractTextEditor {
|
|
|
307
307
|
}
|
|
308
308
|
};
|
|
309
309
|
TextDiffEditor = TextDiffEditor_1 = ( __decorate([
|
|
310
|
-
( __param(
|
|
311
|
-
( __param(
|
|
312
|
-
( __param(
|
|
313
|
-
( __param(
|
|
314
|
-
( __param(
|
|
315
|
-
( __param(
|
|
316
|
-
( __param(
|
|
317
|
-
( __param(
|
|
318
|
-
( __param(
|
|
310
|
+
( __param(1, ITelemetryService)),
|
|
311
|
+
( __param(2, IInstantiationService)),
|
|
312
|
+
( __param(3, IStorageService)),
|
|
313
|
+
( __param(4, ITextResourceConfigurationService)),
|
|
314
|
+
( __param(5, IEditorService)),
|
|
315
|
+
( __param(6, IThemeService)),
|
|
316
|
+
( __param(7, IEditorGroupsService)),
|
|
317
|
+
( __param(8, IFileService)),
|
|
318
|
+
( __param(9, IPreferencesService))
|
|
319
319
|
], TextDiffEditor));
|
|
320
320
|
export { TextDiffEditor };
|