@codingame/monaco-vscode-api 19.1.4 → 20.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/missing-services.js +141 -54
- package/package.json +8 -8
- package/services.d.ts +5 -5
- package/services.js +3 -3
- package/vscode/src/vs/base/browser/dom.d.ts +7 -5
- package/vscode/src/vs/base/browser/dom.js +21 -132
- package/vscode/src/vs/base/browser/domSanitize.d.ts +28 -0
- package/vscode/src/vs/base/browser/domSanitize.js +175 -0
- package/vscode/src/vs/base/browser/formattedTextRenderer.d.ts +2 -5
- package/vscode/src/vs/base/browser/formattedTextRenderer.js +13 -20
- package/vscode/src/vs/base/browser/markdownRenderer.d.ts +23 -13
- package/vscode/src/vs/base/browser/markdownRenderer.js +155 -126
- package/vscode/src/vs/base/browser/ui/actionbar/actionViewItems.d.ts +2 -0
- package/vscode/src/vs/base/browser/ui/actionbar/actionViewItems.js +9 -11
- package/vscode/src/vs/base/browser/ui/button/button.d.ts +2 -0
- package/vscode/src/vs/base/browser/ui/button/button.js +24 -15
- package/vscode/src/vs/base/browser/ui/codicons/codicon/codicon.ttf +0 -0
- package/vscode/src/vs/base/browser/ui/highlightedlabel/highlightedLabel.js +5 -10
- package/vscode/src/vs/base/browser/ui/hover/hoverWidget.css +9 -0
- package/vscode/src/vs/base/browser/ui/iconLabel/iconLabel.js +3 -21
- package/vscode/src/vs/base/browser/ui/inputbox/inputBox.js +7 -7
- package/vscode/src/vs/base/browser/ui/list/listPaging.d.ts +1 -1
- package/vscode/src/vs/base/browser/ui/list/listWidget.d.ts +2 -0
- package/vscode/src/vs/base/browser/ui/list/listWidget.js +3 -0
- package/vscode/src/vs/base/browser/ui/scrollbar/abstractScrollbar.js +9 -5
- package/vscode/src/vs/base/browser/ui/scrollbar/scrollableElement.d.ts +3 -0
- package/vscode/src/vs/base/browser/ui/scrollbar/scrollableElement.js +48 -1
- package/vscode/src/vs/base/browser/ui/scrollbar/scrollableElementOptions.d.ts +2 -0
- package/vscode/src/vs/base/browser/ui/toggle/toggle.css +0 -3
- package/vscode/src/vs/base/browser/ui/toggle/toggle.d.ts +22 -12
- package/vscode/src/vs/base/browser/ui/toggle/toggle.js +93 -33
- package/vscode/src/vs/base/browser/ui/tree/abstractTree.d.ts +3 -0
- package/vscode/src/vs/base/browser/ui/tree/abstractTree.js +3 -0
- package/vscode/src/vs/base/browser/ui/tree/asyncDataTree.d.ts +3 -1
- package/vscode/src/vs/base/browser/ui/tree/asyncDataTree.js +19 -17
- package/vscode/src/vs/base/browser/webWorkerFactory.d.ts +1 -1
- package/vscode/src/vs/base/browser/webWorkerFactory.js +3 -2
- package/vscode/src/vs/base/common/arrays.js +4 -1
- package/vscode/src/vs/base/common/arraysFind.d.ts +1 -0
- package/vscode/src/vs/base/common/async.d.ts +26 -0
- package/vscode/src/vs/base/common/async.js +103 -1
- package/vscode/src/vs/base/common/codicons.d.ts +1 -0
- package/vscode/src/vs/base/common/codiconsLibrary.d.ts +1 -0
- package/vscode/src/vs/base/common/codiconsLibrary.js +1 -0
- package/vscode/src/vs/base/common/lifecycle.js +4 -0
- package/vscode/src/vs/base/common/marshallingIds.d.ts +3 -1
- package/vscode/src/vs/base/common/marshallingIds.js +2 -0
- package/vscode/src/vs/base/common/network.d.ts +2 -1
- package/vscode/src/vs/base/common/network.js +2 -1
- package/vscode/src/vs/base/common/oauth.d.ts +2 -8
- package/vscode/src/vs/base/common/oauth.js +6 -27
- package/vscode/src/vs/base/common/observableInternal/changeTracker.d.ts +10 -0
- package/vscode/src/vs/base/common/observableInternal/changeTracker.js +33 -1
- package/vscode/src/vs/base/common/observableInternal/index.d.ts +2 -2
- package/vscode/src/vs/base/common/observableInternal/logging/debugger/devToolsLogger.js +22 -1
- package/vscode/src/vs/base/common/observableInternal/map.d.ts +24 -0
- package/vscode/src/vs/base/common/observableInternal/map.js +63 -0
- package/vscode/src/vs/base/common/observableInternal/observables/derivedImpl.d.ts +1 -0
- package/vscode/src/vs/base/common/observableInternal/observables/derivedImpl.js +8 -0
- package/vscode/src/vs/base/common/platform.js +1 -1
- package/vscode/src/vs/base/common/product.d.ts +19 -7
- package/vscode/src/vs/base/common/strings.d.ts +1 -0
- package/vscode/src/vs/base/common/strings.js +16 -1
- package/vscode/src/vs/editor/browser/config/editorConfiguration.js +4 -4
- package/vscode/src/vs/editor/browser/config/migrateOptions.js +1 -0
- package/vscode/src/vs/editor/browser/controller/dragScrolling.d.ts +48 -0
- package/vscode/src/vs/editor/browser/controller/dragScrolling.js +182 -0
- package/vscode/src/vs/editor/browser/controller/editContext/clipboardUtils.d.ts +1 -0
- package/vscode/src/vs/editor/browser/controller/editContext/native/nativeEditContext.d.ts +3 -5
- package/vscode/src/vs/editor/browser/controller/editContext/native/nativeEditContext.js +30 -73
- package/vscode/src/vs/editor/browser/controller/editContext/native/screenReaderContentRich.d.ts +35 -0
- package/vscode/src/vs/editor/browser/controller/editContext/native/screenReaderContentRich.js +329 -0
- package/vscode/src/vs/editor/browser/controller/editContext/native/screenReaderContentSimple.d.ts +31 -0
- package/vscode/src/vs/editor/browser/controller/editContext/native/screenReaderContentSimple.js +176 -0
- package/vscode/src/vs/editor/browser/controller/editContext/native/screenReaderSupport.d.ts +12 -12
- package/vscode/src/vs/editor/browser/controller/editContext/native/screenReaderSupport.js +50 -88
- package/vscode/src/vs/editor/browser/controller/editContext/native/screenReaderUtils.d.ts +11 -0
- package/vscode/src/vs/editor/browser/controller/editContext/screenReaderUtils.d.ts +9 -12
- package/vscode/src/vs/editor/browser/controller/editContext/screenReaderUtils.js +22 -11
- package/vscode/src/vs/editor/browser/controller/editContext/textArea/textAreaEditContext.js +5 -21
- package/vscode/src/vs/editor/browser/controller/editContext/textArea/textAreaEditContextInput.js +23 -2
- package/vscode/src/vs/editor/browser/controller/editContext/textArea/textAreaEditContextState.d.ts +2 -2
- package/vscode/src/vs/editor/browser/controller/mouseHandler.d.ts +1 -0
- package/vscode/src/vs/editor/browser/controller/mouseHandler.js +31 -114
- package/vscode/src/vs/editor/browser/controller/mouseTarget.d.ts +1 -0
- package/vscode/src/vs/editor/browser/controller/mouseTarget.js +26 -7
- package/vscode/src/vs/editor/browser/coreCommands.d.ts +3 -3
- package/vscode/src/vs/editor/browser/editorBrowser.d.ts +1 -1
- package/vscode/src/vs/editor/browser/editorExtensions.d.ts +2 -2
- package/vscode/src/vs/editor/browser/gpu/atlas/textureAtlas.js +1 -1
- package/vscode/src/vs/editor/browser/gpu/taskQueue.d.ts +5 -2
- package/vscode/src/vs/editor/browser/gpu/taskQueue.js +11 -4
- package/vscode/src/vs/editor/browser/gpu/viewGpuContext.js +1 -1
- package/vscode/src/vs/editor/browser/services/bulkEditService.d.ts +2 -2
- package/vscode/src/vs/editor/browser/services/editorWorkerService.d.ts +1 -1
- package/vscode/src/vs/editor/browser/services/hoverService/hoverService.d.ts +1 -1
- package/vscode/src/vs/editor/browser/services/hoverService/hoverService.js +33 -1
- package/vscode/src/vs/editor/browser/services/hoverService/updatableHoverWidget.d.ts +1 -0
- package/vscode/src/vs/editor/browser/services/hoverService/updatableHoverWidget.js +6 -0
- package/vscode/src/vs/editor/browser/services/inlineCompletionsService.d.ts +4 -1
- package/vscode/src/vs/editor/browser/services/inlineCompletionsService.js +13 -2
- package/vscode/src/vs/editor/browser/view/domLineBreaksComputer.d.ts +1 -1
- package/vscode/src/vs/editor/browser/view/domLineBreaksComputer.js +1 -1
- package/vscode/src/vs/editor/browser/view/renderingContext.d.ts +2 -1
- package/vscode/src/vs/editor/browser/view/viewUserInputEvents.d.ts +1 -1
- package/vscode/src/vs/editor/browser/viewParts/contentWidgets/contentWidgets.js +4 -3
- package/vscode/src/vs/editor/browser/viewParts/editorScrollbar/editorScrollbar.js +2 -0
- package/vscode/src/vs/editor/browser/viewParts/minimap/minimap.css +8 -2
- package/vscode/src/vs/editor/browser/viewParts/minimap/minimap.d.ts +3 -2
- package/vscode/src/vs/editor/browser/viewParts/minimap/minimap.js +44 -13
- package/vscode/src/vs/editor/browser/viewParts/overlayWidgets/overlayWidgets.d.ts +1 -0
- package/vscode/src/vs/editor/browser/viewParts/overlayWidgets/overlayWidgets.js +7 -2
- package/vscode/src/vs/editor/browser/viewParts/viewCursors/viewCursor.d.ts +1 -0
- package/vscode/src/vs/editor/browser/viewParts/viewCursors/viewCursor.js +9 -4
- package/vscode/src/vs/editor/browser/viewParts/viewLines/viewLine.d.ts +1 -0
- package/vscode/src/vs/editor/browser/viewParts/viewLines/viewLine.js +43 -35
- package/vscode/src/vs/editor/browser/viewParts/viewLines/viewLineOptions.d.ts +1 -0
- package/vscode/src/vs/editor/browser/viewParts/viewLines/viewLineOptions.js +2 -0
- package/vscode/src/vs/editor/browser/viewParts/viewLines/viewLines.css +1 -0
- package/vscode/src/vs/editor/browser/viewParts/viewLines/viewLines.d.ts +1 -0
- package/vscode/src/vs/editor/browser/viewParts/viewLines/viewLines.js +21 -4
- package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorWidget.d.ts +3 -3
- package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorWidget.js +3 -3
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/accessibleDiffViewer.js +4 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/diffEditorViewZones.js +1 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/renderLines.d.ts +3 -2
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/renderLines.js +9 -3
- package/vscode/src/vs/editor/browser/widget/markdownRenderer/browser/markdownRenderer.d.ts +2 -2
- package/vscode/src/vs/editor/browser/widget/markdownRenderer/browser/markdownRenderer.js +4 -4
- package/vscode/src/vs/editor/common/commands/surroundSelectionCommand.js +1 -1
- package/vscode/src/vs/editor/common/config/editorConfigurationSchema.js +21 -6
- package/vscode/src/vs/editor/common/config/editorOptions.d.ts +178 -162
- package/vscode/src/vs/editor/common/config/editorOptions.js +592 -495
- package/vscode/src/vs/editor/common/coordinatesConverter.d.ts +30 -0
- package/vscode/src/vs/editor/common/coordinatesConverter.js +56 -0
- package/vscode/src/vs/editor/common/core/editorColorRegistry.js +71 -71
- package/vscode/src/vs/editor/common/core/edits/edit.d.ts +3 -3
- package/vscode/src/vs/editor/common/core/edits/lineEdit.d.ts +2 -2
- package/vscode/src/vs/editor/common/core/edits/lineEdit.js +14 -14
- package/vscode/src/vs/editor/common/core/edits/stringEdit.d.ts +11 -4
- package/vscode/src/vs/editor/common/core/edits/stringEdit.js +36 -12
- package/vscode/src/vs/editor/common/core/edits/textEdit.d.ts +3 -0
- package/vscode/src/vs/editor/common/core/edits/textEdit.js +20 -0
- package/vscode/src/vs/editor/common/core/text/abstractText.d.ts +2 -0
- package/vscode/src/vs/editor/common/core/text/abstractText.js +3 -0
- package/vscode/src/vs/editor/common/core/text/positionToOffsetImpl.d.ts +1 -1
- package/vscode/src/vs/editor/common/core/text/positionToOffsetImpl.js +2 -2
- package/vscode/src/vs/editor/common/cursor/cursor.d.ts +4 -4
- package/vscode/src/vs/editor/common/cursor/cursor.js +9 -9
- package/vscode/src/vs/editor/common/cursor/cursorContext.d.ts +1 -1
- package/vscode/src/vs/editor/common/cursor/cursorDeleteOperations.d.ts +2 -1
- package/vscode/src/vs/editor/common/cursor/cursorDeleteOperations.js +28 -13
- package/vscode/src/vs/editor/common/cursor/cursorMoveCommands.js +15 -6
- package/vscode/src/vs/editor/common/cursorCommon.d.ts +1 -0
- package/vscode/src/vs/editor/common/cursorCommon.js +2 -0
- package/vscode/src/vs/editor/common/editorContextKeys.js +46 -46
- package/vscode/src/vs/editor/common/languages/defaultDocumentColorsComputer.js +3 -3
- package/vscode/src/vs/editor/common/languages/linkComputer.js +1 -4
- package/vscode/src/vs/editor/common/languages/modesRegistry.js +1 -1
- package/vscode/src/vs/editor/common/languages.d.ts +19 -0
- package/vscode/src/vs/editor/common/languages.js +83 -57
- package/vscode/src/vs/editor/common/model/editStack.d.ts +2 -2
- package/vscode/src/vs/editor/common/model/editStack.js +3 -3
- package/vscode/src/vs/editor/common/model/textModel.d.ts +7 -6
- package/vscode/src/vs/editor/common/model/textModel.js +5 -4
- package/vscode/src/vs/editor/common/model.d.ts +6 -1
- package/vscode/src/vs/editor/common/model.js +6 -1
- package/vscode/src/vs/editor/common/modelLineProjectionData.d.ts +1 -1
- package/vscode/src/vs/editor/common/services/editorWebWorker.d.ts +1 -1
- package/vscode/src/vs/editor/common/services/model.service.d.ts +2 -2
- package/vscode/src/vs/editor/common/services/modelService.d.ts +2 -2
- package/vscode/src/vs/editor/common/services/modelService.js +2 -2
- package/vscode/src/vs/editor/common/standalone/standaloneEnums.d.ts +172 -160
- package/vscode/src/vs/editor/common/standalone/standaloneEnums.js +174 -161
- package/vscode/src/vs/editor/common/standaloneStrings.js +47 -47
- package/vscode/src/vs/editor/common/textModelEditSource.d.ts +151 -0
- package/vscode/src/vs/editor/common/{textModelEditReason.js → textModelEditSource.js} +44 -23
- package/vscode/src/vs/editor/common/textModelEvents.d.ts +2 -2
- package/vscode/src/vs/editor/common/tokens/sparseMultilineTokens.js +1 -1
- package/vscode/src/vs/editor/common/viewLayout/lineDecorations.d.ts +1 -1
- package/vscode/src/vs/editor/common/viewLayout/lineDecorations.js +1 -1
- package/vscode/src/vs/editor/common/viewLayout/viewLineRenderer.d.ts +8 -5
- package/vscode/src/vs/editor/common/viewLayout/viewLineRenderer.js +29 -29
- package/vscode/src/vs/editor/common/viewLayout/viewLinesViewportData.d.ts +2 -1
- package/vscode/src/vs/editor/common/viewModel/inlineDecorations.d.ts +21 -0
- package/vscode/src/vs/editor/common/viewModel/inlineDecorations.js +30 -0
- package/vscode/src/vs/editor/common/viewModel/modelLineProjection.js +2 -1
- package/vscode/src/vs/editor/common/viewModel/monospaceLineBreaksComputer.d.ts +1 -1
- package/vscode/src/vs/editor/common/viewModel/monospaceLineBreaksComputer.js +11 -3
- package/vscode/src/vs/editor/common/viewModel/screenReaderSimpleModel.d.ts +10 -0
- package/vscode/src/vs/editor/common/viewModel/viewModelDecoration.d.ts +11 -0
- package/vscode/src/vs/editor/common/viewModel/viewModelDecoration.js +49 -0
- package/vscode/src/vs/editor/common/viewModel/viewModelDecorations.d.ts +7 -11
- package/vscode/src/vs/editor/common/viewModel/viewModelDecorations.js +5 -43
- package/vscode/src/vs/editor/common/viewModel/viewModelImpl.d.ts +7 -4
- package/vscode/src/vs/editor/common/viewModel/viewModelImpl.js +32 -9
- package/vscode/src/vs/editor/common/viewModel/viewModelLines.d.ts +4 -2
- package/vscode/src/vs/editor/common/viewModel/viewModelLines.js +5 -55
- package/vscode/src/vs/editor/common/viewModel.d.ts +8 -34
- package/vscode/src/vs/editor/common/viewModel.js +3 -35
- package/vscode/src/vs/editor/contrib/anchorSelect/browser/anchorSelect.js +6 -6
- package/vscode/src/vs/editor/contrib/bracketMatching/browser/bracketMatching.js +6 -6
- package/vscode/src/vs/editor/contrib/caretOperations/browser/caretOperations.js +2 -2
- package/vscode/src/vs/editor/contrib/caretOperations/browser/transpose.js +1 -1
- package/vscode/src/vs/editor/contrib/clipboard/browser/clipboard.js +44 -17
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeAction.js +8 -7
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionCommands.js +29 -29
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionContributions.js +3 -3
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionController.js +3 -3
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionMenu.js +8 -8
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionModel.js +5 -1
- package/vscode/src/vs/editor/contrib/codeAction/browser/lightBulbWidget.js +9 -9
- package/vscode/src/vs/editor/contrib/codelens/browser/codelensController.js +2 -2
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerCloseButton.js +1 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerHeader.js +1 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerSaturationBox.d.ts +0 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerSaturationBox.js +0 -3
- package/vscode/src/vs/editor/contrib/colorPicker/browser/hoverColorPicker/hoverColorPickerParticipant.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/colorPicker/browser/hoverColorPicker/hoverColorPickerParticipant.js +4 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerActions.js +7 -7
- package/vscode/src/vs/editor/contrib/comment/browser/comment.js +6 -6
- package/vscode/src/vs/editor/contrib/contextmenu/browser/contextmenu.js +10 -19
- package/vscode/src/vs/editor/contrib/cursorUndo/browser/cursorUndo.js +2 -2
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution.js +4 -4
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.d.ts +3 -1
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.js +54 -29
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/defaultProviders.js +8 -8
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController.js +3 -3
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/postEditWidget.js +2 -2
- package/vscode/src/vs/editor/contrib/editorState/browser/keybindingCancellation.js +1 -1
- package/vscode/src/vs/editor/contrib/find/browser/findController.d.ts +4 -4
- package/vscode/src/vs/editor/contrib/find/browser/findController.js +16 -16
- package/vscode/src/vs/editor/contrib/find/browser/findWidget.js +26 -26
- package/vscode/src/vs/editor/contrib/folding/browser/folding.js +20 -20
- package/vscode/src/vs/editor/contrib/folding/browser/foldingDecorations.js +9 -9
- package/vscode/src/vs/editor/contrib/fontZoom/browser/fontZoom.js +3 -3
- package/vscode/src/vs/editor/contrib/format/browser/formatActions.js +2 -2
- package/vscode/src/vs/editor/contrib/gotoError/browser/gotoError.js +8 -8
- package/vscode/src/vs/editor/contrib/gotoError/browser/gotoErrorWidget.js +14 -14
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/goToCommands.js +39 -39
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition.js +1 -1
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesController.js +3 -3
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesTree.js +3 -3
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.js +3 -3
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/referencesModel.js +8 -8
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/symbolNavigation.js +3 -3
- package/vscode/src/vs/editor/contrib/gpu/browser/gpuActions.js +4 -4
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverController.d.ts +3 -1
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverController.js +31 -3
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverRendered.js +3 -3
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverWidget.d.ts +3 -1
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverWidget.js +6 -3
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverWidgetWrapper.js +7 -2
- package/vscode/src/vs/editor/contrib/hover/browser/getHover.d.ts +1 -2
- package/vscode/src/vs/editor/contrib/hover/browser/getHover.js +6 -2
- package/vscode/src/vs/editor/contrib/hover/browser/hoverAccessibleViews.js +2 -2
- package/vscode/src/vs/editor/contrib/hover/browser/hoverActionIds.js +2 -2
- package/vscode/src/vs/editor/contrib/hover/browser/hoverActions.js +24 -24
- package/vscode/src/vs/editor/contrib/hover/browser/hoverTypes.d.ts +4 -4
- package/vscode/src/vs/editor/contrib/hover/browser/markdownHoverParticipant.d.ts +1 -2
- package/vscode/src/vs/editor/contrib/hover/browser/markdownHoverParticipant.js +18 -19
- package/vscode/src/vs/editor/contrib/hover/browser/markerHoverParticipant.js +5 -5
- package/vscode/src/vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace.js +2 -2
- package/vscode/src/vs/editor/contrib/indentation/browser/indentation.js +20 -20
- package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsHover.js +17 -15
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/commands.d.ts +8 -8
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/commands.js +21 -20
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionContextKeys.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionContextKeys.js +12 -11
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.js +22 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.js +2 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.js +5 -5
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/ghostText.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsModel.d.ts +5 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsModel.js +107 -83
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsSource.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsSource.js +31 -8
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineSuggestionItem.d.ts +4 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineSuggestionItem.js +27 -16
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/provideInlineCompletions.d.ts +6 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/provideInlineCompletions.js +11 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/typingSpeed.d.ts +32 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/typingSpeed.js +145 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/utils.js +2 -21
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/ghostText/ghostTextView.js +14 -9
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorMenu.js +5 -5
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsModel.js +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsView.js +3 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsCustomView.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsCustomView.js +42 -20
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsInsertionView.js +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsLineReplacementView.js +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/theme.js +20 -20
- package/vscode/src/vs/editor/contrib/insertFinalNewLine/browser/insertFinalNewLine.js +1 -1
- package/vscode/src/vs/editor/contrib/lineSelection/browser/lineSelection.js +1 -1
- package/vscode/src/vs/editor/contrib/linesOperations/browser/linesOperations.d.ts +5 -0
- package/vscode/src/vs/editor/contrib/linesOperations/browser/linesOperations.js +105 -33
- package/vscode/src/vs/editor/contrib/linkedEditing/browser/linkedEditing.js +2 -2
- package/vscode/src/vs/editor/contrib/links/browser/links.js +10 -10
- package/vscode/src/vs/editor/contrib/message/browser/messageController.js +1 -1
- package/vscode/src/vs/editor/contrib/multicursor/browser/multicursor.d.ts +2 -0
- package/vscode/src/vs/editor/contrib/multicursor/browser/multicursor.js +34 -28
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHints.js +1 -1
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.js +4 -4
- package/vscode/src/vs/editor/contrib/peekView/browser/peekView.js +18 -18
- package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderText.contribution.js +1 -1
- package/vscode/src/vs/editor/contrib/readOnlyMessage/browser/contribution.js +2 -2
- package/vscode/src/vs/editor/contrib/rename/browser/rename.js +13 -13
- package/vscode/src/vs/editor/contrib/rename/browser/renameWidget.js +6 -6
- package/vscode/src/vs/editor/contrib/smartSelect/browser/smartSelect.js +4 -4
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetController2.d.ts +2 -2
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetController2.js +4 -4
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetSession.d.ts +2 -2
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetSession.js +2 -2
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetVariables.js +4 -4
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollActions.js +11 -11
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollWidget.js +5 -1
- package/vscode/src/vs/editor/contrib/suggest/browser/suggest.js +8 -8
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestController.js +13 -13
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidget.js +17 -17
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetDetails.js +2 -2
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.js +2 -2
- package/vscode/src/vs/editor/contrib/suggest/browser/wordContextKey.js +1 -1
- package/vscode/src/vs/editor/contrib/symbolIcons/browser/symbolIcons.js +33 -33
- package/vscode/src/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.js +4 -4
- package/vscode/src/vs/editor/contrib/tokenization/browser/tokenization.js +1 -1
- package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/bannerController.js +1 -1
- package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.d.ts +6 -6
- package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js +30 -30
- package/vscode/src/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.js +5 -5
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.js +9 -9
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.js +9 -6
- package/vscode/src/vs/editor/contrib/wordOperations/browser/wordOperations.js +3 -3
- package/vscode/src/vs/editor/editor.worker.start.d.ts +1 -1
- package/vscode/src/vs/editor/editor.worker.start.js +26 -18
- package/vscode/src/vs/editor/standalone/browser/quickInput/standaloneQuickInputService.d.ts +2 -1
- package/vscode/src/vs/editor/standalone/browser/quickInput/standaloneQuickInputService.js +3 -0
- package/vscode/src/vs/editor/standalone/browser/standaloneServices.js +1 -0
- package/vscode/src/vs/platform/accessibility/browser/accessibleView.d.ts +1 -1
- package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +62 -62
- package/vscode/src/vs/platform/action/common/actionCommonCategories.js +6 -6
- package/vscode/src/vs/platform/actionWidget/browser/actionList.d.ts +3 -1
- package/vscode/src/vs/platform/actionWidget/browser/actionList.js +45 -8
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.css +20 -1
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.js +7 -7
- package/vscode/src/vs/platform/actions/browser/actionViewItemService.service.d.ts +5 -5
- package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.js +5 -5
- package/vscode/src/vs/platform/actions/browser/toolbar.d.ts +1 -0
- package/vscode/src/vs/platform/actions/browser/toolbar.js +6 -3
- package/vscode/src/vs/platform/actions/common/actions.d.ts +4 -3
- package/vscode/src/vs/platform/actions/common/actions.js +4 -3
- package/vscode/src/vs/platform/actions/common/menuResetAction.js +1 -1
- package/vscode/src/vs/platform/actions/common/menuService.js +2 -2
- package/vscode/src/vs/platform/clipboard/browser/clipboardService.d.ts +1 -1
- package/vscode/src/vs/platform/clipboard/browser/clipboardService.js +12 -2
- package/vscode/src/vs/platform/configuration/common/configurationRegistry.d.ts +5 -1
- package/vscode/src/vs/platform/configuration/common/configurationRegistry.js +20 -10
- package/vscode/src/vs/platform/configuration/common/configurations.js +2 -2
- package/vscode/src/vs/platform/contextkey/browser/contextKeyService.js +1 -1
- package/vscode/src/vs/platform/contextkey/common/contextkey.js +11 -11
- package/vscode/src/vs/platform/contextkey/common/contextkeys.js +9 -9
- package/vscode/src/vs/platform/contextkey/common/scanner.js +5 -5
- package/vscode/src/vs/platform/diagnostics/common/diagnostics.d.ts +1 -1
- package/vscode/src/vs/platform/dialogs/common/dialogs.service.d.ts +1 -1
- package/vscode/src/vs/platform/dnd/browser/dnd.d.ts +1 -0
- package/vscode/src/vs/platform/dnd/browser/dnd.js +2 -1
- package/vscode/src/vs/platform/environment/common/argv.d.ts +2 -0
- package/vscode/src/vs/platform/environment/common/environment.service.d.ts +1 -0
- package/vscode/src/vs/platform/extensionManagement/common/extensionGalleryManifest.d.ts +62 -0
- package/vscode/src/vs/platform/extensionManagement/common/extensionGalleryManifest.js +55 -0
- package/vscode/src/vs/platform/extensionManagement/common/extensionGalleryManifest.service.d.ts +3 -2
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.d.ts +2 -2
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +19 -19
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.service.d.ts +1 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionNls.js +1 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.js +7 -7
- package/vscode/src/vs/platform/extensions/common/extensionValidator.js +20 -20
- package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.d.ts +21 -0
- package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.js +21 -0
- package/vscode/src/vs/platform/files/browser/htmlFileSystemProvider.js +2 -2
- package/vscode/src/vs/platform/files/common/files.js +6 -6
- package/vscode/src/vs/platform/history/browser/contextScopedHistoryWidget.js +1 -1
- package/vscode/src/vs/platform/imageResize/common/imageResizeService.service.d.ts +5 -0
- package/vscode/src/vs/platform/imageResize/common/imageResizeService.service.js +6 -0
- package/vscode/src/vs/platform/keybinding/common/abstractKeybindingService.js +4 -4
- package/vscode/src/vs/platform/languagePacks/common/languagePacks.service.d.ts +1 -1
- package/vscode/src/vs/platform/list/browser/listService.js +27 -27
- package/vscode/src/vs/platform/log/common/log.js +6 -6
- package/vscode/src/vs/platform/markers/common/markerService.js +2 -2
- package/vscode/src/vs/platform/markers/common/markers.js +6 -6
- package/vscode/src/vs/platform/mcp/common/mcpManagement.service.d.ts +8 -0
- package/vscode/src/vs/platform/mcp/common/mcpManagement.service.js +2 -1
- package/vscode/src/vs/platform/notification/common/notification.js +3 -3
- package/vscode/src/vs/platform/observable/common/platformObservableUtils.d.ts +1 -0
- package/vscode/src/vs/platform/observable/common/platformObservableUtils.js +20 -9
- package/vscode/src/vs/platform/opener/browser/link.js +1 -4
- package/vscode/src/vs/platform/policy/common/policy.d.ts +2 -2
- package/vscode/src/vs/platform/policy/common/policy.service.d.ts +1 -1
- package/vscode/src/vs/platform/product/common/product.js +3 -3
- package/vscode/src/vs/platform/quickinput/browser/media/quickInput.css +81 -14
- package/vscode/src/vs/platform/quickinput/browser/quickInput.d.ts +10 -7
- package/vscode/src/vs/platform/quickinput/browser/quickInput.js +19 -14
- package/vscode/src/vs/platform/quickinput/browser/quickInputActions.js +5 -5
- package/vscode/src/vs/platform/quickinput/browser/quickInputController.d.ts +2 -1
- package/vscode/src/vs/platform/quickinput/browser/quickInputController.js +38 -11
- package/vscode/src/vs/platform/quickinput/browser/{quickInputTree.d.ts → quickInputList.d.ts} +1 -1
- package/vscode/src/vs/platform/quickinput/browser/{quickInputTree.js → quickInputList.js} +9 -9
- package/vscode/src/vs/platform/quickinput/browser/quickInputService.d.ts +2 -1
- package/vscode/src/vs/platform/quickinput/browser/quickInputService.js +3 -0
- package/vscode/src/vs/platform/quickinput/browser/quickInputUtils.js +1 -1
- package/vscode/src/vs/platform/quickinput/browser/tree/quickInputDelegate.d.ts +6 -0
- package/vscode/src/vs/platform/quickinput/browser/tree/quickInputDelegate.js +13 -0
- package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTree.d.ts +9 -0
- package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTree.js +35 -0
- package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeAccessibilityProvider.d.ts +13 -0
- package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeAccessibilityProvider.js +33 -0
- package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeController.d.ts +42 -0
- package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeController.js +296 -0
- package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeFilter.d.ts +10 -0
- package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeFilter.js +39 -0
- package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeRenderer.d.ts +33 -0
- package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeRenderer.js +148 -0
- package/vscode/src/vs/platform/quickinput/browser/tree/quickTree.d.ts +53 -0
- package/vscode/src/vs/platform/quickinput/browser/tree/quickTree.js +189 -0
- package/vscode/src/vs/platform/quickinput/common/quickInput.d.ts +46 -2
- package/vscode/src/vs/platform/quickinput/common/quickInput.js +1 -0
- package/vscode/src/vs/platform/quickinput/common/quickInput.service.d.ts +2 -1
- package/vscode/src/vs/platform/request/common/request.js +18 -18
- package/vscode/src/vs/platform/telemetry/common/telemetryUtils.js +1 -1
- package/vscode/src/vs/platform/terminal/common/environmentVariableShared.d.ts +1 -1
- package/vscode/src/vs/platform/terminal/common/terminal.d.ts +6 -5
- package/vscode/src/vs/platform/terminal/common/terminal.service.d.ts +2 -4
- package/vscode/src/vs/platform/terminal/common/terminalProcess.d.ts +1 -1
- package/vscode/src/vs/platform/theme/browser/defaultStyles.d.ts +1 -1
- package/vscode/src/vs/platform/theme/common/colorUtils.js +2 -2
- package/vscode/src/vs/platform/theme/common/colors/baseColors.js +17 -17
- package/vscode/src/vs/platform/theme/common/colors/chartsColors.js +8 -8
- package/vscode/src/vs/platform/theme/common/colors/editorColors.js +95 -95
- package/vscode/src/vs/platform/theme/common/colors/inputColors.js +47 -47
- package/vscode/src/vs/platform/theme/common/colors/listColors.js +36 -36
- package/vscode/src/vs/platform/theme/common/colors/menuColors.js +7 -7
- package/vscode/src/vs/platform/theme/common/colors/minimapColors.js +11 -11
- package/vscode/src/vs/platform/theme/common/colors/miscColors.js +15 -15
- package/vscode/src/vs/platform/theme/common/colors/quickpickColors.js +9 -9
- package/vscode/src/vs/platform/theme/common/colors/searchColors.js +3 -3
- package/vscode/src/vs/platform/theme/common/iconRegistry.js +6 -6
- package/vscode/src/vs/platform/undoRedo/common/undoRedoService.js +20 -20
- package/vscode/src/vs/platform/userDataProfile/common/userDataProfile.js +1 -1
- package/vscode/src/vs/platform/userDataSync/common/userDataSync.d.ts +12 -2
- package/vscode/src/vs/platform/userDataSync/common/userDataSync.js +14 -6
- package/vscode/src/vs/platform/userDataSync/common/userDataSync.service.d.ts +2 -1
- package/vscode/src/vs/platform/workspace/common/workspace.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHost.api.impl.js +64 -9
- package/vscode/src/vs/workbench/api/common/extHost.common.services.js +2 -0
- package/vscode/src/vs/workbench/api/common/extHost.protocol.d.ts +102 -41
- package/vscode/src/vs/workbench/api/common/extHost.protocol.js +6 -0
- package/vscode/src/vs/workbench/api/common/extHostAuthentication.d.ts +4 -2
- package/vscode/src/vs/workbench/api/common/extHostAuthentication.js +98 -27
- package/vscode/src/vs/workbench/api/common/extHostChatAgents2.d.ts +22 -4
- package/vscode/src/vs/workbench/api/common/extHostChatAgents2.js +24 -5
- package/vscode/src/vs/workbench/api/common/extHostChatOutputRenderer.d.ts +14 -0
- package/vscode/src/vs/workbench/api/common/extHostChatOutputRenderer.js +32 -0
- package/vscode/src/vs/workbench/api/common/extHostChatSessions.d.ts +35 -0
- package/vscode/src/vs/workbench/api/common/extHostChatSessions.js +222 -0
- package/vscode/src/vs/workbench/api/common/extHostCustomEditors.d.ts +1 -1
- package/vscode/src/vs/workbench/api/common/extHostDataChannels.d.ts +15 -0
- package/vscode/src/vs/workbench/api/common/extHostDataChannels.js +44 -0
- package/vscode/src/vs/workbench/api/common/extHostDiagnostics.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostExtensionService.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +3 -2
- package/vscode/src/vs/workbench/api/common/extHostLanguageModelTools.js +32 -34
- package/vscode/src/vs/workbench/api/common/extHostLanguageModels.d.ts +12 -15
- package/vscode/src/vs/workbench/api/common/extHostLanguageModels.js +127 -120
- package/vscode/src/vs/workbench/api/common/extHostLogService.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostMcp.js +40 -25
- package/vscode/src/vs/workbench/api/common/extHostNotebook.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostSCM.d.ts +1 -2
- package/vscode/src/vs/workbench/api/common/extHostSCM.js +28 -10
- package/vscode/src/vs/workbench/api/common/extHostSecretState.d.ts +1 -0
- package/vscode/src/vs/workbench/api/common/extHostSecretState.js +3 -0
- package/vscode/src/vs/workbench/api/common/extHostSecrets.d.ts +2 -0
- package/vscode/src/vs/workbench/api/common/extHostSecrets.js +6 -0
- package/vscode/src/vs/workbench/api/common/extHostStatusBar.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostTask.d.ts +3 -0
- package/vscode/src/vs/workbench/api/common/extHostTask.js +12 -1
- package/vscode/src/vs/workbench/api/common/extHostTelemetry.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTerminalService.d.ts +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTerminalService.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTreeViews.d.ts +8 -8
- package/vscode/src/vs/workbench/api/common/extHostTreeViews.js +203 -198
- package/vscode/src/vs/workbench/api/common/extHostTunnelService.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostTypeConverters.d.ts +19 -8
- package/vscode/src/vs/workbench/api/common/extHostTypeConverters.js +211 -33
- package/vscode/src/vs/workbench/api/common/extHostTypes.d.ts +77 -13
- package/vscode/src/vs/workbench/api/common/extHostTypes.js +69 -11
- package/vscode/src/vs/workbench/api/common/extHostWebviewPanels.d.ts +1 -1
- package/vscode/src/vs/workbench/api/common/extHostWorkspace.js +1 -1
- package/vscode/src/vs/workbench/api/common/jsonValidationExtensionPoint.js +12 -12
- package/vscode/src/vs/workbench/browser/actions/developerActions.js +31 -31
- package/vscode/src/vs/workbench/browser/actions/textInputActions.d.ts +4 -2
- package/vscode/src/vs/workbench/browser/actions/textInputActions.js +24 -10
- package/vscode/src/vs/workbench/browser/contextkeys.js +10 -5
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbs.service.d.ts +1 -1
- package/vscode/src/vs/workbench/common/configuration.js +9 -9
- package/vscode/src/vs/workbench/common/contextkeys.js +87 -78
- package/vscode/src/vs/workbench/common/editor/diffEditorInput.d.ts +32 -0
- package/vscode/src/vs/workbench/common/editor/diffEditorInput.js +180 -0
- package/vscode/src/vs/workbench/common/editor/diffEditorModel.d.ts +12 -0
- package/vscode/src/vs/workbench/common/editor/diffEditorModel.js +26 -0
- package/vscode/src/vs/workbench/common/editor/editorInput.d.ts +1 -1
- package/vscode/src/vs/workbench/common/editor/editorModel.d.ts +10 -0
- package/vscode/src/vs/workbench/common/editor/editorModel.js +27 -0
- package/vscode/src/vs/workbench/common/editor/sideBySideEditorInput.d.ts +51 -0
- package/vscode/src/vs/workbench/common/editor/sideBySideEditorInput.js +303 -0
- package/vscode/src/vs/workbench/common/editor/textDiffEditorModel.d.ts +18 -0
- package/vscode/src/vs/workbench/common/editor/textDiffEditorModel.js +45 -0
- package/vscode/src/vs/workbench/common/editor/textEditorModel.d.ts +47 -0
- package/vscode/src/vs/workbench/common/editor/textEditorModel.js +181 -0
- package/vscode/src/vs/workbench/common/editor.d.ts +1 -1
- package/vscode/src/vs/workbench/common/editor.js +4 -4
- package/vscode/src/vs/workbench/common/theme.d.ts +2 -2
- package/vscode/src/vs/workbench/common/theme.js +161 -161
- package/vscode/src/vs/workbench/common/views.js +4 -4
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +164 -156
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleViewActions.js +12 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.service.d.ts +4 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatAttachmentResolveService.service.d.ts +3 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatContentParts.d.ts +8 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatMarkdownAnchorService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContextPickService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorContextKeys.js +5 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/chatOutputItemRenderer.service.d.ts +9 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatOutputItemRenderer.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.service.d.ts +2 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.d.ts +5 -2
- package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.js +59 -48
- package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatEntitlementService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatService.d.ts +81 -11
- package/vscode/src/vs/workbench/contrib/chat/common/chatService.js +7 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatService.service.d.ts +6 -3
- package/vscode/src/vs/workbench/contrib/chat/common/chatSessionsService.d.ts +48 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatSessionsService.service.d.ts +22 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatSessionsService.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatTodoListService.service.d.ts +6 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatTodoListService.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatVariableEntries.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/chatVariables.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatWidgetHistoryService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/constants.d.ts +4 -1
- package/vscode/src/vs/workbench/contrib/chat/common/constants.js +3 -0
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsService.d.ts +32 -11
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsService.js +8 -5
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsService.service.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/chat/common/languageModels.d.ts +47 -17
- package/vscode/src/vs/workbench/contrib/chat/common/languageModels.js +147 -65
- package/vscode/src/vs/workbench/contrib/chat/common/languageModels.service.d.ts +9 -7
- package/vscode/src/vs/workbench/contrib/chat/common/modelPicker/modelPickerWidget.d.ts +4 -0
- package/vscode/src/vs/workbench/contrib/chat/common/modelPicker/modelPickerWidget.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/contentProviders/types.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsService.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/tools/manageTodoListTool.d.ts +17 -0
- package/vscode/src/vs/workbench/contrib/chat/common/tools/manageTodoListTool.js +203 -0
- package/vscode/src/vs/workbench/contrib/chat/common/tools/tools.js +4 -0
- package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +13 -13
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorAccessibilityHelp.js +5 -5
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/largeFileOptimizations.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMinimap.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMultiCursorModifier.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderControlCharacter.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderWhitespace.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +5 -5
- package/vscode/src/vs/workbench/contrib/comments/browser/commentService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsAccessibility.js +12 -12
- package/vscode/src/vs/workbench/contrib/comments/common/commentContextKeys.js +11 -11
- package/vscode/src/vs/workbench/contrib/debug/common/abstractDebugAdapter.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/debug.js +65 -65
- package/vscode/src/vs/workbench/contrib/extensions/common/extensions.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/extensions/common/extensions.js +4 -2
- package/vscode/src/vs/workbench/contrib/extensions/common/extensions.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/common/searchExtensionsTool.js +5 -5
- package/vscode/src/vs/workbench/contrib/files/browser/fileConstants.js +6 -6
- package/vscode/src/vs/workbench/contrib/folding/browser/folding.contribution.js +3 -3
- package/vscode/src/vs/workbench/contrib/format/browser/formatActionsMultiple.js +20 -20
- package/vscode/src/vs/workbench/contrib/format/browser/formatActionsNone.js +4 -4
- package/vscode/src/vs/workbench/contrib/format/browser/formatModified.js +1 -1
- package/vscode/src/vs/workbench/contrib/inlayHints/browser/inlayHintsAccessibilty.js +4 -4
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionService.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/list/browser/listResizeColumnAction.js +2 -2
- package/vscode/src/vs/workbench/contrib/list/browser/tableColumnResizeQuickPick.js +5 -5
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpRegistryTypes.d.ts +7 -2
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpRegistryTypes.service.d.ts +5 -4
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.d.ts +33 -9
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.js +28 -10
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.service.d.ts +11 -3
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffSourceResolverService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookEditorService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookCommon.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/scm/common/quickDiff.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/scm/common/quickDiffService.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCompletionProvider.js +3 -3
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsFile.js +3 -3
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsService.js +9 -9
- package/vscode/src/vs/workbench/contrib/speech/common/speechService.js +29 -29
- package/vscode/src/vs/workbench/contrib/tasks/common/constants.js +1 -1
- package/vscode/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.js +5 -5
- package/vscode/src/vs/workbench/contrib/tasks/common/taskService.service.d.ts +3 -1
- package/vscode/src/vs/workbench/contrib/tasks/common/tasks.js +4 -4
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.d.ts +9 -7
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/terminal/common/environmentVariable.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/terminal/common/environmentVariable.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/terminal/common/terminal.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/quickFix/browser/quickFix.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/suggest/browser/terminalCompletionService.service.d.ts +3 -1
- package/vscode/src/vs/workbench/contrib/testing/common/constants.js +11 -11
- package/vscode/src/vs/workbench/contrib/testing/common/testTypes.js +3 -3
- package/vscode/src/vs/workbench/contrib/webview/browser/webview.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewWorkbenchService.service.d.ts +2 -2
- package/vscode/src/vs/workbench/services/accounts/common/defaultAccount.d.ts +2 -0
- package/vscode/src/vs/workbench/services/accounts/common/defaultAccount.js +8 -10
- package/vscode/src/vs/workbench/services/activity/common/activity.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/assignment/common/assignmentService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/assignment/common/assignmentService.service.js +1 -1
- package/vscode/src/vs/workbench/services/authentication/common/dynamicAuthenticationProviderStorage.service.d.ts +5 -2
- package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +16 -16
- package/vscode/src/vs/workbench/services/coreExperimentation/common/coreExperimentationService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/dataChannel/common/dataChannel.d.ts +7 -0
- package/vscode/src/vs/workbench/services/dataChannel/common/dataChannel.service.d.ts +8 -0
- package/vscode/src/vs/workbench/services/dataChannel/common/dataChannel.service.js +6 -0
- package/vscode/src/vs/workbench/services/editor/common/editorGroupsService.d.ts +1 -1
- package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +1 -1
- package/vscode/src/vs/workbench/services/editor/common/editorService.d.ts +1 -1
- package/vscode/src/vs/workbench/services/extensions/common/extensions.d.ts +10 -13
- package/vscode/src/vs/workbench/services/extensions/common/extensions.js +1 -1
- package/vscode/src/vs/workbench/services/extensions/common/extensions.service.d.ts +2 -5
- package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +100 -84
- package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/host/browser/host.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/language/common/languageService.js +28 -28
- package/vscode/src/vs/workbench/services/languageDetection/common/languageDetectionWorkerService.d.ts +61 -0
- package/vscode/src/vs/workbench/services/languageDetection/common/languageDetectionWorkerService.js +7 -0
- package/vscode/src/vs/workbench/services/localization/common/locale.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/log/common/logConstants.js +1 -1
- package/vscode/src/vs/workbench/services/mcp/common/mcpWorkbenchManagementService.service.d.ts +11 -8
- package/vscode/src/vs/workbench/services/mcp/common/mcpWorkbenchManagementService.service.js +3 -2
- package/vscode/src/vs/workbench/services/outline/browser/outline.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/preferences/common/preferences.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/remote/common/remoteExplorerService.js +8 -8
- package/vscode/src/vs/workbench/services/remote/common/tunnelModel.js +6 -6
- package/vscode/src/vs/workbench/services/search/common/queryBuilder.js +1 -1
- package/vscode/src/vs/workbench/services/statusbar/browser/statusbar.d.ts +1 -0
- package/vscode/src/vs/workbench/services/textfile/common/textfiles.d.ts +1 -1
- package/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.js +22 -22
- package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +13 -13
- package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +13 -13
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyBackup.d.ts +1 -1
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyBackup.service.d.ts +1 -2
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyEditorService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyFileService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyService.service.d.ts +1 -1
- package/vscode-dts/vscode.d.ts +5 -5
- package/vscode-dts/vscode.proposed.chatOutputRenderer.d.ts +86 -0
- package/vscode-dts/vscode.proposed.chatParticipantAdditions.d.ts +142 -5
- package/vscode-dts/vscode.proposed.chatParticipantPrivate.d.ts +25 -19
- package/vscode-dts/vscode.proposed.chatProvider.d.ts +2 -103
- package/vscode-dts/vscode.proposed.chatSessionsProvider.d.ts +129 -0
- package/vscode-dts/vscode.proposed.d.ts +7 -0
- package/vscode-dts/vscode.proposed.dataChannels.d.ts +19 -0
- package/vscode-dts/vscode.proposed.inlineCompletionsAdditions.d.ts +2 -0
- package/vscode-dts/vscode.proposed.languageModelToolResultAudience.d.ts +25 -0
- package/vscode-dts/vscode.proposed.scmProviderOptions.d.ts +39 -0
- package/vscode-dts/vscode.proposed.secretStorageKeys.d.ts +16 -0
- package/vscode-dts/vscode.proposed.taskExecutionTerminal.d.ts +15 -0
- package/workbench.d.ts +1 -1
- package/workers/editor.worker.js +17 -16
- package/vscode/src/vs/base/common/policy.d.ts +0 -8
- package/vscode/src/vs/editor/common/textModelEditReason.d.ts +0 -98
- package/vscode/src/vs/platform/assignment/common/assignment.d.ts +0 -33
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
|
|
2
|
+
import { Event, Emitter } from '../../../../base/common/event.js';
|
|
3
|
+
import '../../../../base/common/observableInternal/index.js';
|
|
4
|
+
import { localize } from '../../../../nls.js';
|
|
5
|
+
import { QuickInputType } from '../../common/quickInput.js';
|
|
6
|
+
import { QuickInput } from '../quickInput.js';
|
|
7
|
+
import { getParentNodeState } from './quickInputTree.js';
|
|
8
|
+
import { observableValue } from '../../../../base/common/observableInternal/observables/observableValue.js';
|
|
9
|
+
import { autorun } from '../../../../base/common/observableInternal/reactions/autorun.js';
|
|
10
|
+
|
|
11
|
+
class QuickTree extends QuickInput {
|
|
12
|
+
static { this.DEFAULT_ARIA_LABEL = ( localize(2006, "Type to narrow down results.")); }
|
|
13
|
+
constructor(ui) {
|
|
14
|
+
super(ui);
|
|
15
|
+
this.type = QuickInputType.QuickTree;
|
|
16
|
+
this._value = observableValue('value', '');
|
|
17
|
+
this._ariaLabel = observableValue('ariaLabel', undefined);
|
|
18
|
+
this._placeholder = observableValue('placeholder', undefined);
|
|
19
|
+
this._matchOnDescription = observableValue('matchOnDescription', false);
|
|
20
|
+
this._matchOnDetail = observableValue('matchOnDetail', false);
|
|
21
|
+
this._matchOnLabel = observableValue('matchOnLabel', true);
|
|
22
|
+
this._activeItems = observableValue('activeItems', []);
|
|
23
|
+
this._itemTree = observableValue('itemTree', []);
|
|
24
|
+
this.onDidChangeValue = Event.fromObservable(this._value, this._store);
|
|
25
|
+
this.onDidChangeActive = Event.fromObservable(this._activeItems, this._store);
|
|
26
|
+
this._onDidChangeCheckedLeafItems = ( new Emitter());
|
|
27
|
+
this.onDidChangeCheckedLeafItems = this._onDidChangeCheckedLeafItems.event;
|
|
28
|
+
this.onDidAccept = ui.onDidAccept;
|
|
29
|
+
this._registerAutoruns();
|
|
30
|
+
this._register(ui.tree.onDidChangeCheckedLeafItems(e => this._onDidChangeCheckedLeafItems.fire(e)));
|
|
31
|
+
}
|
|
32
|
+
get value() { return this._value.get(); }
|
|
33
|
+
set value(value) { this._value.set(value, undefined); }
|
|
34
|
+
get ariaLabel() { return this._ariaLabel.get(); }
|
|
35
|
+
set ariaLabel(ariaLabel) { this._ariaLabel.set(ariaLabel, undefined); }
|
|
36
|
+
get placeholder() { return this._placeholder.get(); }
|
|
37
|
+
set placeholder(placeholder) { this._placeholder.set(placeholder, undefined); }
|
|
38
|
+
get matchOnDescription() { return this._matchOnDescription.get(); }
|
|
39
|
+
set matchOnDescription(matchOnDescription) { this._matchOnDescription.set(matchOnDescription, undefined); }
|
|
40
|
+
get matchOnDetail() { return this._matchOnDetail.get(); }
|
|
41
|
+
set matchOnDetail(matchOnDetail) { this._matchOnDetail.set(matchOnDetail, undefined); }
|
|
42
|
+
get matchOnLabel() { return this._matchOnLabel.get(); }
|
|
43
|
+
set matchOnLabel(matchOnLabel) { this._matchOnLabel.set(matchOnLabel, undefined); }
|
|
44
|
+
get activeItems() { return this._activeItems.get(); }
|
|
45
|
+
set activeItems(activeItems) { this._activeItems.set(activeItems, undefined); }
|
|
46
|
+
get itemTree() { return this._itemTree.get(); }
|
|
47
|
+
get onDidTriggerItemButton() {
|
|
48
|
+
return this.ui.tree.onDidTriggerButton;
|
|
49
|
+
}
|
|
50
|
+
get checkedLeafItems() { return this.ui.tree.getCheckedLeafItems(); }
|
|
51
|
+
setItemTree(itemTree) {
|
|
52
|
+
this._itemTree.set(itemTree, undefined);
|
|
53
|
+
}
|
|
54
|
+
getParent(element) {
|
|
55
|
+
return this.ui.tree.tree.getParentElement(element) ?? undefined;
|
|
56
|
+
}
|
|
57
|
+
setCheckboxState(element, checked) {
|
|
58
|
+
this.ui.tree.check(element, checked);
|
|
59
|
+
}
|
|
60
|
+
expand(element) {
|
|
61
|
+
this.ui.tree.tree.expand(element);
|
|
62
|
+
}
|
|
63
|
+
collapse(element) {
|
|
64
|
+
this.ui.tree.tree.collapse(element);
|
|
65
|
+
}
|
|
66
|
+
isCollapsed(element) {
|
|
67
|
+
return this.ui.tree.tree.isCollapsed(element);
|
|
68
|
+
}
|
|
69
|
+
focusOnInput() {
|
|
70
|
+
this.ui.inputBox.setFocus();
|
|
71
|
+
}
|
|
72
|
+
show() {
|
|
73
|
+
if (!this.visible) {
|
|
74
|
+
const visibilities = {
|
|
75
|
+
title: !!this.title || !!this.step || !!this.titleButtons.length,
|
|
76
|
+
description: !!this.description,
|
|
77
|
+
checkAll: true,
|
|
78
|
+
checkBox: true,
|
|
79
|
+
inputBox: true,
|
|
80
|
+
progressBar: true,
|
|
81
|
+
visibleCount: true,
|
|
82
|
+
count: true,
|
|
83
|
+
ok: true,
|
|
84
|
+
list: false,
|
|
85
|
+
tree: true,
|
|
86
|
+
message: !!this.validationMessage,
|
|
87
|
+
customButton: false
|
|
88
|
+
};
|
|
89
|
+
this.ui.setVisibilities(visibilities);
|
|
90
|
+
this.visibleDisposables.add(this.ui.inputBox.onDidChange(value => {
|
|
91
|
+
this._value.set(value, undefined);
|
|
92
|
+
}));
|
|
93
|
+
this.visibleDisposables.add(this.ui.tree.onDidChangeCheckboxState((e) => {
|
|
94
|
+
const checkAllState = getParentNodeState([...this.ui.tree.tree.getNode().children]);
|
|
95
|
+
if (this.ui.checkAll.checked !== checkAllState) {
|
|
96
|
+
this.ui.checkAll.checked = checkAllState;
|
|
97
|
+
}
|
|
98
|
+
}));
|
|
99
|
+
this.visibleDisposables.add(this.ui.checkAll.onChange(_e => {
|
|
100
|
+
const checked = this.ui.checkAll.checked;
|
|
101
|
+
this.ui.tree.checkAll(checked);
|
|
102
|
+
}));
|
|
103
|
+
this.visibleDisposables.add(this.ui.tree.onDidChangeCheckedLeafItems(e => {
|
|
104
|
+
this.ui.count.setCount(e.length);
|
|
105
|
+
}));
|
|
106
|
+
}
|
|
107
|
+
super.show();
|
|
108
|
+
this.ui.count.setCount(this.ui.tree.getCheckedLeafItems().length);
|
|
109
|
+
const checkAllState = getParentNodeState([...this.ui.tree.tree.getNode().children]);
|
|
110
|
+
if (this.ui.checkAll.checked !== checkAllState) {
|
|
111
|
+
this.ui.checkAll.checked = checkAllState;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
update() {
|
|
115
|
+
if (!this.visible) {
|
|
116
|
+
return;
|
|
117
|
+
}
|
|
118
|
+
const visibilities = {
|
|
119
|
+
title: !!this.title || !!this.step || !!this.titleButtons.length,
|
|
120
|
+
description: !!this.description,
|
|
121
|
+
checkAll: true,
|
|
122
|
+
checkBox: true,
|
|
123
|
+
inputBox: true,
|
|
124
|
+
progressBar: true,
|
|
125
|
+
visibleCount: true,
|
|
126
|
+
count: true,
|
|
127
|
+
ok: true,
|
|
128
|
+
tree: true,
|
|
129
|
+
message: !!this.validationMessage
|
|
130
|
+
};
|
|
131
|
+
this.ui.setVisibilities(visibilities);
|
|
132
|
+
super.update();
|
|
133
|
+
}
|
|
134
|
+
_registerListeners() {
|
|
135
|
+
}
|
|
136
|
+
_registerAutoruns() {
|
|
137
|
+
this.registerVisibleAutorun(reader => {
|
|
138
|
+
const value = this._value.read(reader);
|
|
139
|
+
this.ui.inputBox.value = value;
|
|
140
|
+
this.ui.tree.filter(value);
|
|
141
|
+
});
|
|
142
|
+
this.registerVisibleAutorun(reader => {
|
|
143
|
+
let ariaLabel = this._ariaLabel.read(reader);
|
|
144
|
+
if (!ariaLabel) {
|
|
145
|
+
ariaLabel = this.placeholder || QuickTree.DEFAULT_ARIA_LABEL;
|
|
146
|
+
if (this.title) {
|
|
147
|
+
ariaLabel += ` - ${this.title}`;
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
if (this.ui.list.ariaLabel !== ariaLabel) {
|
|
151
|
+
this.ui.list.ariaLabel = ariaLabel ?? null;
|
|
152
|
+
}
|
|
153
|
+
if (this.ui.inputBox.ariaLabel !== ariaLabel) {
|
|
154
|
+
this.ui.inputBox.ariaLabel = ariaLabel ?? 'input';
|
|
155
|
+
}
|
|
156
|
+
});
|
|
157
|
+
this.registerVisibleAutorun(reader => {
|
|
158
|
+
const placeholder = this._placeholder.read(reader);
|
|
159
|
+
if (this.ui.inputBox.placeholder !== placeholder) {
|
|
160
|
+
this.ui.inputBox.placeholder = placeholder ?? '';
|
|
161
|
+
}
|
|
162
|
+
});
|
|
163
|
+
this.registerVisibleAutorun((reader) => {
|
|
164
|
+
const matchOnLabel = this._matchOnLabel.read(reader);
|
|
165
|
+
const matchOnDescription = this._matchOnDescription.read(reader);
|
|
166
|
+
const matchOnDetail = this._matchOnDetail.read(reader);
|
|
167
|
+
this.ui.tree.updateFilterOptions({ matchOnLabel, matchOnDescription, matchOnDetail });
|
|
168
|
+
});
|
|
169
|
+
this.registerVisibleAutorun((reader) => {
|
|
170
|
+
const itemTree = this._itemTree.read(reader);
|
|
171
|
+
this.ui.tree.setTreeData(itemTree);
|
|
172
|
+
});
|
|
173
|
+
}
|
|
174
|
+
registerVisibleAutorun(fn) {
|
|
175
|
+
this._register(autorun((reader) => {
|
|
176
|
+
if (this._visible.read(reader)) {
|
|
177
|
+
fn(reader);
|
|
178
|
+
}
|
|
179
|
+
}));
|
|
180
|
+
}
|
|
181
|
+
focus(focus) {
|
|
182
|
+
this.ui.tree.focus(focus);
|
|
183
|
+
this.ui.tree.tree.domFocus();
|
|
184
|
+
}
|
|
185
|
+
accept(_inBackground) {
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
export { QuickTree };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Event } from "../../../base/common/event.js";
|
|
2
2
|
import { IMatch } from "../../../base/common/filters.js";
|
|
3
|
-
import { IItemAccessor } from "@codingame/monaco-vscode-
|
|
3
|
+
import { IItemAccessor } from "@codingame/monaco-vscode-a17e9d37-b6c1-5556-8402-5db73960fae3-common/vscode/vs/base/common/fuzzyScorer";
|
|
4
4
|
import { ResolvedKeybinding } from "../../../base/common/keybindings.js";
|
|
5
5
|
import { IDisposable } from "../../../base/common/lifecycle.js";
|
|
6
6
|
import Severity from "../../../base/common/severity.js";
|
|
@@ -100,7 +100,8 @@ export interface IQuickInputHideEvent {
|
|
|
100
100
|
export declare enum QuickInputType {
|
|
101
101
|
QuickPick = "quickPick",
|
|
102
102
|
InputBox = "inputBox",
|
|
103
|
-
QuickWidget = "quickWidget"
|
|
103
|
+
QuickWidget = "quickWidget",
|
|
104
|
+
QuickTree = "quickTree"
|
|
104
105
|
}
|
|
105
106
|
export interface IQuickInput extends IDisposable {
|
|
106
107
|
readonly type: QuickInputType;
|
|
@@ -263,3 +264,46 @@ export declare class QuickPickItemScorerAccessor implements IItemAccessor<IQuick
|
|
|
263
264
|
}
|
|
264
265
|
export declare const quickPickItemScorerAccessor: QuickPickItemScorerAccessor;
|
|
265
266
|
export type Omit<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>;
|
|
267
|
+
export interface IQuickTree<T extends IQuickTreeItem> extends IQuickInput {
|
|
268
|
+
readonly type: QuickInputType.QuickTree;
|
|
269
|
+
value: string;
|
|
270
|
+
ariaLabel: string | undefined;
|
|
271
|
+
placeholder: string | undefined;
|
|
272
|
+
readonly onDidChangeValue: Event<string>;
|
|
273
|
+
readonly onDidAccept: Event<void>;
|
|
274
|
+
matchOnDescription: boolean;
|
|
275
|
+
matchOnDetail: boolean;
|
|
276
|
+
matchOnLabel: boolean;
|
|
277
|
+
activeItems: ReadonlyArray<T>;
|
|
278
|
+
validationMessage: string | undefined;
|
|
279
|
+
severity: Severity;
|
|
280
|
+
readonly itemTree: ReadonlyArray<Readonly<T>>;
|
|
281
|
+
readonly checkedLeafItems: ReadonlyArray<T>;
|
|
282
|
+
getParent(element: T): T | undefined;
|
|
283
|
+
readonly onDidChangeActive: Event<ReadonlyArray<T>>;
|
|
284
|
+
readonly onDidChangeCheckedLeafItems: Event<ReadonlyArray<T>>;
|
|
285
|
+
readonly onDidTriggerItemButton: Event<IQuickTreeItemButtonEvent<T>>;
|
|
286
|
+
setItemTree(itemTree: T[]): void;
|
|
287
|
+
setCheckboxState(element: T, checked: boolean | "partial"): void;
|
|
288
|
+
expand(element: T): void;
|
|
289
|
+
collapse(element: T): void;
|
|
290
|
+
isCollapsed(element: T): boolean;
|
|
291
|
+
focusOnInput(): void;
|
|
292
|
+
focus(focus: QuickPickFocus): void;
|
|
293
|
+
accept(inBackground?: boolean): void;
|
|
294
|
+
}
|
|
295
|
+
export interface IQuickTreeItem extends IQuickPickItem {
|
|
296
|
+
checked?: boolean | "partial";
|
|
297
|
+
detail?: undefined;
|
|
298
|
+
picked?: undefined;
|
|
299
|
+
collapsed?: boolean;
|
|
300
|
+
children?: readonly IQuickTreeItem[];
|
|
301
|
+
}
|
|
302
|
+
export interface IQuickTreeCheckboxEvent<T extends IQuickTreeItem> {
|
|
303
|
+
item: T;
|
|
304
|
+
checked: boolean | "partial";
|
|
305
|
+
}
|
|
306
|
+
export interface IQuickTreeItemButtonEvent<T extends IQuickTreeItem> {
|
|
307
|
+
button: IQuickInputButton;
|
|
308
|
+
item: T;
|
|
309
|
+
}
|
|
@@ -13,6 +13,7 @@ var QuickInputType;
|
|
|
13
13
|
QuickInputType["QuickPick"] = "quickPick";
|
|
14
14
|
QuickInputType["InputBox"] = "inputBox";
|
|
15
15
|
QuickInputType["QuickWidget"] = "quickWidget";
|
|
16
|
+
QuickInputType["QuickTree"] = "quickTree";
|
|
16
17
|
})(QuickInputType || (QuickInputType = {}));
|
|
17
18
|
var ItemActivation;
|
|
18
19
|
(function (ItemActivation) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CancellationToken } from "../../../base/common/cancellation.js";
|
|
2
2
|
import { Event } from "../../../base/common/event.js";
|
|
3
3
|
import { IQuickAccessController } from "./quickAccess.js";
|
|
4
|
-
import { IQuickInputButton, IQuickPickItem, QuickPickInput, IPickOptions, Omit, IInputOptions, IQuickPick, IInputBox, IQuickWidget, IQuickNavigateConfiguration, IKeyMods, IQuickInput } from "./quickInput.js";
|
|
4
|
+
import { IQuickInputButton, IQuickPickItem, QuickPickInput, IPickOptions, Omit, IInputOptions, IQuickPick, IInputBox, IQuickWidget, IQuickTreeItem, IQuickTree, IQuickNavigateConfiguration, IKeyMods, IQuickInput } from "./quickInput.js";
|
|
5
5
|
export declare const IQuickInputService: import("../../instantiation/common/instantiation.js").ServiceIdentifier<IQuickInputService>;
|
|
6
6
|
export interface IQuickInputService {
|
|
7
7
|
readonly _serviceBrand: undefined;
|
|
@@ -29,6 +29,7 @@ export interface IQuickInputService {
|
|
|
29
29
|
}>;
|
|
30
30
|
createInputBox(): IInputBox;
|
|
31
31
|
createQuickWidget(): IQuickWidget;
|
|
32
|
+
createQuickTree<T extends IQuickTreeItem>(): IQuickTree<T>;
|
|
32
33
|
focus(): void;
|
|
33
34
|
toggle(): void;
|
|
34
35
|
navigate(next: boolean, quickNavigate?: IQuickNavigateConfiguration): void;
|
|
@@ -108,7 +108,7 @@ function registerProxyConfigurations(useHostProxy = true, useHostProxyDefault =
|
|
|
108
108
|
{
|
|
109
109
|
id: 'http',
|
|
110
110
|
order: 15,
|
|
111
|
-
title: ( localize(
|
|
111
|
+
title: ( localize(2007, "HTTP")),
|
|
112
112
|
type: 'object',
|
|
113
113
|
scope: ConfigurationScope.MACHINE,
|
|
114
114
|
properties: {
|
|
@@ -116,7 +116,7 @@ function registerProxyConfigurations(useHostProxy = true, useHostProxyDefault =
|
|
|
116
116
|
type: 'boolean',
|
|
117
117
|
default: useHostProxyDefault,
|
|
118
118
|
markdownDescription: ( localize(
|
|
119
|
-
|
|
119
|
+
2008,
|
|
120
120
|
"Controls whether in the remote extension host the local proxy configuration should be used. This setting only applies as a remote setting during [remote development](https://aka.ms/vscode-remote)."
|
|
121
121
|
)),
|
|
122
122
|
restricted: true
|
|
@@ -126,7 +126,7 @@ function registerProxyConfigurations(useHostProxy = true, useHostProxyDefault =
|
|
|
126
126
|
{
|
|
127
127
|
id: 'http',
|
|
128
128
|
order: 15,
|
|
129
|
-
title: ( localize(
|
|
129
|
+
title: ( localize(2007, "HTTP")),
|
|
130
130
|
type: 'object',
|
|
131
131
|
scope: ConfigurationScope.APPLICATION,
|
|
132
132
|
properties: {
|
|
@@ -134,7 +134,7 @@ function registerProxyConfigurations(useHostProxy = true, useHostProxyDefault =
|
|
|
134
134
|
type: 'boolean',
|
|
135
135
|
default: false,
|
|
136
136
|
description: ( localize(
|
|
137
|
-
|
|
137
|
+
2009,
|
|
138
138
|
"Controls whether use of Electron's fetch implementation instead of Node.js' should be enabled. All local extensions will get Electron's fetch implementation for the global fetch API."
|
|
139
139
|
)),
|
|
140
140
|
restricted: true
|
|
@@ -144,7 +144,7 @@ function registerProxyConfigurations(useHostProxy = true, useHostProxyDefault =
|
|
|
144
144
|
{
|
|
145
145
|
id: 'http',
|
|
146
146
|
order: 15,
|
|
147
|
-
title: ( localize(
|
|
147
|
+
title: ( localize(2007, "HTTP")),
|
|
148
148
|
type: 'object',
|
|
149
149
|
scope: useHostProxy ? ConfigurationScope.APPLICATION : ConfigurationScope.MACHINE,
|
|
150
150
|
properties: {
|
|
@@ -152,7 +152,7 @@ function registerProxyConfigurations(useHostProxy = true, useHostProxyDefault =
|
|
|
152
152
|
type: 'string',
|
|
153
153
|
pattern: '^(https?|socks|socks4a?|socks5h?)://([^:]*(:[^@]*)?@)?([^:]+|\\[[:0-9a-fA-F]+\\])(:\\d+)?/?$|^$',
|
|
154
154
|
markdownDescription: ( localize(
|
|
155
|
-
|
|
155
|
+
2010,
|
|
156
156
|
"The proxy setting to use. If not set, will be inherited from the `http_proxy` and `https_proxy` environment variables. When during [remote development](https://aka.ms/vscode-remote) the {0} setting is disabled this setting can be configured in the local and the remote settings separately.",
|
|
157
157
|
'`#http.useLocalProxyConfiguration#`'
|
|
158
158
|
)),
|
|
@@ -162,7 +162,7 @@ function registerProxyConfigurations(useHostProxy = true, useHostProxyDefault =
|
|
|
162
162
|
type: 'boolean',
|
|
163
163
|
default: true,
|
|
164
164
|
markdownDescription: ( localize(
|
|
165
|
-
|
|
165
|
+
2011,
|
|
166
166
|
"Controls whether the proxy server certificate should be verified against the list of supplied CAs. When during [remote development](https://aka.ms/vscode-remote) the {0} setting is disabled this setting can be configured in the local and the remote settings separately.",
|
|
167
167
|
'`#http.useLocalProxyConfiguration#`'
|
|
168
168
|
)),
|
|
@@ -171,7 +171,7 @@ function registerProxyConfigurations(useHostProxy = true, useHostProxyDefault =
|
|
|
171
171
|
'http.proxyKerberosServicePrincipal': {
|
|
172
172
|
type: 'string',
|
|
173
173
|
markdownDescription: ( localize(
|
|
174
|
-
|
|
174
|
+
2012,
|
|
175
175
|
"Overrides the principal service name for Kerberos authentication with the HTTP proxy. A default based on the proxy hostname is used when this is not set. When during [remote development](https://aka.ms/vscode-remote) the {0} setting is disabled this setting can be configured in the local and the remote settings separately.",
|
|
176
176
|
'`#http.useLocalProxyConfiguration#`'
|
|
177
177
|
)),
|
|
@@ -181,7 +181,7 @@ function registerProxyConfigurations(useHostProxy = true, useHostProxyDefault =
|
|
|
181
181
|
type: 'array',
|
|
182
182
|
items: { type: 'string' },
|
|
183
183
|
markdownDescription: ( localize(
|
|
184
|
-
|
|
184
|
+
2013,
|
|
185
185
|
"Specifies domain names for which proxy settings should be ignored for HTTP/HTTPS requests. When during [remote development](https://aka.ms/vscode-remote) the {0} setting is disabled this setting can be configured in the local and the remote settings separately.",
|
|
186
186
|
'`#http.useLocalProxyConfiguration#`'
|
|
187
187
|
)),
|
|
@@ -191,7 +191,7 @@ function registerProxyConfigurations(useHostProxy = true, useHostProxyDefault =
|
|
|
191
191
|
type: ['null', 'string'],
|
|
192
192
|
default: null,
|
|
193
193
|
markdownDescription: ( localize(
|
|
194
|
-
|
|
194
|
+
2014,
|
|
195
195
|
"The value to send as the `Proxy-Authorization` header for every network request. When during [remote development](https://aka.ms/vscode-remote) the {0} setting is disabled this setting can be configured in the local and the remote settings separately.",
|
|
196
196
|
'`#http.useLocalProxyConfiguration#`'
|
|
197
197
|
)),
|
|
@@ -201,17 +201,17 @@ function registerProxyConfigurations(useHostProxy = true, useHostProxyDefault =
|
|
|
201
201
|
type: 'string',
|
|
202
202
|
enum: ['off', 'on', 'fallback', 'override'],
|
|
203
203
|
enumDescriptions: [
|
|
204
|
-
( localize(
|
|
205
|
-
( localize(
|
|
204
|
+
( localize(2015, "Disable proxy support for extensions.")),
|
|
205
|
+
( localize(2016, "Enable proxy support for extensions.")),
|
|
206
206
|
( localize(
|
|
207
|
-
|
|
207
|
+
2017,
|
|
208
208
|
"Enable proxy support for extensions, fall back to request options, when no proxy found."
|
|
209
209
|
)),
|
|
210
|
-
( localize(
|
|
210
|
+
( localize(2018, "Enable proxy support for extensions, override request options.")),
|
|
211
211
|
],
|
|
212
212
|
default: 'override',
|
|
213
213
|
markdownDescription: ( localize(
|
|
214
|
-
|
|
214
|
+
2019,
|
|
215
215
|
"Use the proxy support for extensions. When during [remote development](https://aka.ms/vscode-remote) the {0} setting is disabled this setting can be configured in the local and the remote settings separately.",
|
|
216
216
|
'`#http.useLocalProxyConfiguration#`'
|
|
217
217
|
)),
|
|
@@ -221,7 +221,7 @@ function registerProxyConfigurations(useHostProxy = true, useHostProxyDefault =
|
|
|
221
221
|
type: 'boolean',
|
|
222
222
|
default: true,
|
|
223
223
|
markdownDescription: ( localize(
|
|
224
|
-
|
|
224
|
+
2020,
|
|
225
225
|
"Controls whether CA certificates should be loaded from the OS. On Windows and macOS, a reload of the window is required after turning this off. When during [remote development](https://aka.ms/vscode-remote) the {0} setting is disabled this setting can be configured in the local and the remote settings separately.",
|
|
226
226
|
'`#http.useLocalProxyConfiguration#`'
|
|
227
227
|
)),
|
|
@@ -232,7 +232,7 @@ function registerProxyConfigurations(useHostProxy = true, useHostProxyDefault =
|
|
|
232
232
|
tags: ['experimental'],
|
|
233
233
|
default: false,
|
|
234
234
|
markdownDescription: ( localize(
|
|
235
|
-
|
|
235
|
+
2021,
|
|
236
236
|
"Controls whether experimental loading of CA certificates from the OS should be enabled. This uses a more general approach than the default implementation. When during [remote development](https://aka.ms/vscode-remote) the {0} setting is disabled this setting can be configured in the local and the remote settings separately.",
|
|
237
237
|
'`#http.useLocalProxyConfiguration#`'
|
|
238
238
|
)),
|
|
@@ -242,7 +242,7 @@ function registerProxyConfigurations(useHostProxy = true, useHostProxyDefault =
|
|
|
242
242
|
type: 'boolean',
|
|
243
243
|
default: true,
|
|
244
244
|
markdownDescription: ( localize(
|
|
245
|
-
|
|
245
|
+
2022,
|
|
246
246
|
"Controls whether Node.js' fetch implementation should be extended with additional support. Currently proxy support ({1}) and system certificates ({2}) are added when the corresponding settings are enabled. When during [remote development](https://aka.ms/vscode-remote) the {0} setting is disabled this setting can be configured in the local and the remote settings separately.",
|
|
247
247
|
'`#http.useLocalProxyConfiguration#`',
|
|
248
248
|
'`#http.proxySupport#`',
|
|
@@ -36,7 +36,7 @@ class NullEndpointTelemetryService {
|
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
const telemetryLogId = 'telemetry';
|
|
39
|
-
const TelemetryLogGroup = { id: telemetryLogId, name: ( localize(
|
|
39
|
+
const TelemetryLogGroup = { id: telemetryLogId, name: ( localize(2043, "Telemetry")) };
|
|
40
40
|
function supportsTelemetry(productService, environmentService) {
|
|
41
41
|
if (!environmentService.isBuilt && !environmentService.disableTelemetry) {
|
|
42
42
|
return true;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IEnvironmentVariableCollectionDescription, IEnvironmentVariableCollection, IEnvironmentVariableMutator, ISerializableEnvironmentDescriptionMap as ISerializableEnvironmentDescriptionMap, ISerializableEnvironmentVariableCollection, ISerializableEnvironmentVariableCollections } from "@codingame/monaco-vscode-
|
|
1
|
+
import { IEnvironmentVariableCollectionDescription, IEnvironmentVariableCollection, IEnvironmentVariableMutator, ISerializableEnvironmentDescriptionMap as ISerializableEnvironmentDescriptionMap, ISerializableEnvironmentVariableCollection, ISerializableEnvironmentVariableCollections } from "@codingame/monaco-vscode-07eaa805-9dea-5ec6-a422-a4f04872424d-common/vscode/vs/platform/terminal/common/environmentVariable";
|
|
2
2
|
export declare function serializeEnvironmentVariableCollection(collection: ReadonlyMap<string, IEnvironmentVariableMutator>): ISerializableEnvironmentVariableCollection;
|
|
3
3
|
export declare function serializeEnvironmentDescriptionMap(descriptionMap: ReadonlyMap<string, IEnvironmentVariableCollectionDescription> | undefined): ISerializableEnvironmentDescriptionMap;
|
|
4
4
|
export declare function deserializeEnvironmentVariableCollection(serializedCollection: ISerializableEnvironmentVariableCollection): Map<string, IEnvironmentVariableMutator>;
|
|
@@ -4,7 +4,7 @@ import { URI, UriComponents } from "../../../base/common/uri.js";
|
|
|
4
4
|
import { IPtyHostProcessReplayEvent, ISerializedCommandDetectionCapability, ITerminalCapabilityStore, type ITerminalCommand } from "@codingame/monaco-vscode-a9da9abe-278d-5ce6-9418-99c7c07c5c37-common/vscode/vs/platform/terminal/common/capabilities/capabilities";
|
|
5
5
|
import { IProcessDetails } from "./terminalProcess.js";
|
|
6
6
|
import { ThemeIcon } from "../../../base/common/themables.js";
|
|
7
|
-
import { ISerializableEnvironmentVariableCollections } from "@codingame/monaco-vscode-
|
|
7
|
+
import { ISerializableEnvironmentVariableCollections } from "@codingame/monaco-vscode-07eaa805-9dea-5ec6-a422-a4f04872424d-common/vscode/vs/platform/terminal/common/environmentVariable";
|
|
8
8
|
import { RawContextKey } from "../../contextkey/common/contextkey.js";
|
|
9
9
|
import { IWorkspaceFolder } from "../../workspace/common/workspace.js";
|
|
10
10
|
import type * as performance from "../../../base/common/performance.js";
|
|
@@ -135,7 +135,7 @@ export declare enum GeneralShellType {
|
|
|
135
135
|
NuShell = "nu",
|
|
136
136
|
Node = "node"
|
|
137
137
|
}
|
|
138
|
-
export type TerminalShellType = PosixShellType | WindowsShellType | GeneralShellType;
|
|
138
|
+
export type TerminalShellType = PosixShellType | WindowsShellType | GeneralShellType | undefined;
|
|
139
139
|
export interface IRawTerminalInstanceLayoutInfo<T> {
|
|
140
140
|
relativeSize: number;
|
|
141
141
|
terminal: T;
|
|
@@ -226,6 +226,9 @@ export interface IFixedTerminalDimensions {
|
|
|
226
226
|
cols?: number;
|
|
227
227
|
rows?: number;
|
|
228
228
|
}
|
|
229
|
+
export interface ITerminalLaunchResult {
|
|
230
|
+
injectedArgs: string[];
|
|
231
|
+
}
|
|
229
232
|
export interface IPtyServiceContribution {
|
|
230
233
|
handleProcessReady(persistentProcessId: number, process: ITerminalChildProcess): void;
|
|
231
234
|
handleProcessDispose(persistentProcessId: number): void;
|
|
@@ -414,9 +417,7 @@ export interface ITerminalChildProcess {
|
|
|
414
417
|
onDidChangeProperty: Event<IProcessProperty<any>>;
|
|
415
418
|
onProcessExit: Event<number | undefined>;
|
|
416
419
|
onRestoreCommands?: Event<ISerializedCommandDetectionCapability>;
|
|
417
|
-
start(): Promise<ITerminalLaunchError |
|
|
418
|
-
injectedArgs: string[];
|
|
419
|
-
} | undefined>;
|
|
420
|
+
start(): Promise<ITerminalLaunchError | ITerminalLaunchResult | undefined>;
|
|
420
421
|
detach?(forcePersist?: boolean): Promise<void>;
|
|
421
422
|
freePortKillProcess?(port: string): Promise<{
|
|
422
423
|
port: string;
|
|
@@ -3,7 +3,7 @@ import * as performance from "../../../base/common/performance.js";
|
|
|
3
3
|
import { IProcessEnvironment, OperatingSystem } from "../../../base/common/platform.js";
|
|
4
4
|
import { ILogService } from "../../log/common/log.service.js";
|
|
5
5
|
import { IPtyHostProcessReplayEvent } from "@codingame/monaco-vscode-a9da9abe-278d-5ce6-9418-99c7c07c5c37-common/vscode/vs/platform/terminal/common/capabilities/capabilities";
|
|
6
|
-
import { IProcessDataEvent, IProcessReadyEvent, IProcessProperty, IShellLaunchConfig, ITerminalProcessOptions, IPtyHostLatencyMeasurement, ITerminalLaunchError, TitleEventSource, TerminalIcon, ITerminalsLayoutInfo, ISerializedTerminalState, ProcessPropertyType, IProcessPropertyMap, type IPtyHostService } from "./terminal.js";
|
|
6
|
+
import { IProcessDataEvent, IProcessReadyEvent, IProcessProperty, IShellLaunchConfig, ITerminalProcessOptions, IPtyHostLatencyMeasurement, ITerminalLaunchError, ITerminalLaunchResult, TitleEventSource, TerminalIcon, ITerminalsLayoutInfo, ISerializedTerminalState, ProcessPropertyType, IProcessPropertyMap, type IPtyHostService } from "./terminal.js";
|
|
7
7
|
import { IProcessDetails, ISetTerminalLayoutInfoArgs, IGetTerminalLayoutInfoArgs } from "./terminalProcess.js";
|
|
8
8
|
export interface IPtyService {
|
|
9
9
|
readonly _serviceBrand: undefined;
|
|
@@ -42,9 +42,7 @@ export interface IPtyService {
|
|
|
42
42
|
listProcesses(): Promise<IProcessDetails[]>;
|
|
43
43
|
getPerformanceMarks(): Promise<performance.PerformanceMark[]>;
|
|
44
44
|
getLatency(): Promise<IPtyHostLatencyMeasurement[]>;
|
|
45
|
-
start(id: number): Promise<ITerminalLaunchError |
|
|
46
|
-
injectedArgs: string[];
|
|
47
|
-
} | undefined>;
|
|
45
|
+
start(id: number): Promise<ITerminalLaunchError | ITerminalLaunchResult | undefined>;
|
|
48
46
|
shutdown(id: number, immediate: boolean): Promise<void>;
|
|
49
47
|
input(id: number, data: string): Promise<void>;
|
|
50
48
|
sendSignal(id: number, signal: string): Promise<void>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { UriComponents } from "../../../base/common/uri.js";
|
|
2
|
-
import { ISerializableEnvironmentVariableCollection, ISerializableEnvironmentVariableCollections } from "@codingame/monaco-vscode-
|
|
2
|
+
import { ISerializableEnvironmentVariableCollection, ISerializableEnvironmentVariableCollections } from "@codingame/monaco-vscode-07eaa805-9dea-5ec6-a422-a4f04872424d-common/vscode/vs/platform/terminal/common/environmentVariable";
|
|
3
3
|
import { IFixedTerminalDimensions, IRawTerminalTabLayoutInfo, IReconnectionProperties, ITerminalEnvironment, ITerminalTabAction, ITerminalTabLayoutInfoById, TerminalIcon, TerminalType, TitleEventSource, WaitOnExitValue } from "./terminal.js";
|
|
4
4
|
export interface ISingleTerminalConfiguration<T> {
|
|
5
5
|
userValue: T | undefined;
|
|
@@ -7,7 +7,7 @@ import { IDialogStyles } from "@codingame/monaco-vscode-f1bbc6d3-6129-583c-a2ba-
|
|
|
7
7
|
import { IInputBoxStyles } from "../../../base/browser/ui/inputbox/inputBox.js";
|
|
8
8
|
import { IFindWidgetStyles } from "../../../base/browser/ui/tree/abstractTree.js";
|
|
9
9
|
import { ICountBadgeStyles } from "../../../base/browser/ui/countBadge/countBadge.js";
|
|
10
|
-
import { IBreadcrumbsWidgetStyles } from "@codingame/monaco-vscode-
|
|
10
|
+
import { IBreadcrumbsWidgetStyles } from "@codingame/monaco-vscode-615ce609-8555-545a-a549-47bd9f80e9f8-common/vscode/vs/base/browser/ui/breadcrumbs/breadcrumbsWidget";
|
|
11
11
|
import { IListStyles } from "../../../base/browser/ui/list/listWidget.js";
|
|
12
12
|
import { ISelectBoxStyles } from "../../../base/browser/ui/selectBox/selectBox.js";
|
|
13
13
|
import { IMenuStyles } from "../../../base/browser/ui/menu/menu.js";
|
|
@@ -62,13 +62,13 @@ class ColorRegistry extends Disposable {
|
|
|
62
62
|
}
|
|
63
63
|
if (needsTransparency) {
|
|
64
64
|
propertySchema.pattern = '^#(?:(?<rgba>[0-9a-fA-f]{3}[0-9a-eA-E])|(?:[0-9a-fA-F]{6}(?:(?![fF]{2})(?:[0-9a-fA-F]{2}))))?$';
|
|
65
|
-
propertySchema.patternErrorMessage = ( localize(
|
|
65
|
+
propertySchema.patternErrorMessage = ( localize(2076, 'This color must be transparent or it will obscure content'));
|
|
66
66
|
}
|
|
67
67
|
this.colorSchema.properties[id] = {
|
|
68
68
|
description,
|
|
69
69
|
oneOf: [
|
|
70
70
|
propertySchema,
|
|
71
|
-
{ type: 'string', const: DEFAULT_COLOR_CONFIG_VALUE, description: ( localize(
|
|
71
|
+
{ type: 'string', const: DEFAULT_COLOR_CONFIG_VALUE, description: ( localize(2077, 'Use the default color.')) }
|
|
72
72
|
]
|
|
73
73
|
};
|
|
74
74
|
this.colorReferenceSchema.enum.push(id);
|
|
@@ -4,48 +4,48 @@ import { Color } from '../../../../base/common/color.js';
|
|
|
4
4
|
import { registerColor, transparent } from '../colorUtils.js';
|
|
5
5
|
|
|
6
6
|
const foreground = registerColor('foreground', { dark: '#CCCCCC', light: '#616161', hcDark: '#FFFFFF', hcLight: '#292929' }, ( localize(
|
|
7
|
-
|
|
7
|
+
2078,
|
|
8
8
|
"Overall foreground color. This color is only used if not overridden by a component."
|
|
9
9
|
)));
|
|
10
10
|
const disabledForeground = registerColor('disabledForeground', { dark: '#CCCCCC80', light: '#61616180', hcDark: '#A5A5A5', hcLight: '#7F7F7F' }, ( localize(
|
|
11
|
-
|
|
11
|
+
2079,
|
|
12
12
|
"Overall foreground for disabled elements. This color is only used if not overridden by a component."
|
|
13
13
|
)));
|
|
14
14
|
const errorForeground = registerColor('errorForeground', { dark: '#F48771', light: '#A1260D', hcDark: '#F48771', hcLight: '#B5200D' }, ( localize(
|
|
15
|
-
|
|
15
|
+
2080,
|
|
16
16
|
"Overall foreground color for error messages. This color is only used if not overridden by a component."
|
|
17
17
|
)));
|
|
18
18
|
const descriptionForeground = registerColor('descriptionForeground', { light: '#717171', dark: ( transparent(foreground, 0.7)), hcDark: ( transparent(foreground, 0.7)), hcLight: ( transparent(foreground, 0.7)) }, ( localize(
|
|
19
|
-
|
|
19
|
+
2081,
|
|
20
20
|
"Foreground color for description text providing additional information, for example for a label."
|
|
21
21
|
)));
|
|
22
|
-
const iconForeground = registerColor('icon.foreground', { dark: '#C5C5C5', light: '#424242', hcDark: '#FFFFFF', hcLight: '#292929' }, ( localize(
|
|
22
|
+
const iconForeground = registerColor('icon.foreground', { dark: '#C5C5C5', light: '#424242', hcDark: '#FFFFFF', hcLight: '#292929' }, ( localize(2082, "The default color for icons in the workbench.")));
|
|
23
23
|
const focusBorder = registerColor('focusBorder', { dark: '#007FD4', light: '#0090F1', hcDark: '#F38518', hcLight: '#006BBD' }, ( localize(
|
|
24
|
-
|
|
24
|
+
2083,
|
|
25
25
|
"Overall border color for focused elements. This color is only used if not overridden by a component."
|
|
26
26
|
)));
|
|
27
27
|
const contrastBorder = registerColor('contrastBorder', { light: null, dark: null, hcDark: '#6FC3DF', hcLight: '#0F4A85' }, ( localize(
|
|
28
|
-
|
|
28
|
+
2084,
|
|
29
29
|
"An extra border around elements to separate them from others for greater contrast."
|
|
30
30
|
)));
|
|
31
31
|
const activeContrastBorder = registerColor('contrastActiveBorder', { light: null, dark: null, hcDark: focusBorder, hcLight: focusBorder }, ( localize(
|
|
32
|
-
|
|
32
|
+
2085,
|
|
33
33
|
"An extra border around active elements to separate them from others for greater contrast."
|
|
34
34
|
)));
|
|
35
35
|
const selectionBackground = registerColor('selection.background', null, ( localize(
|
|
36
|
-
|
|
36
|
+
2086,
|
|
37
37
|
"The background color of text selections in the workbench (e.g. for input fields or text areas). Note that this does not apply to selections within the editor."
|
|
38
38
|
)));
|
|
39
|
-
const textLinkForeground = registerColor('textLink.foreground', { light: '#006AB1', dark: '#3794FF', hcDark: '#21A6FF', hcLight: '#0F4A85' }, ( localize(
|
|
39
|
+
const textLinkForeground = registerColor('textLink.foreground', { light: '#006AB1', dark: '#3794FF', hcDark: '#21A6FF', hcLight: '#0F4A85' }, ( localize(2087, "Foreground color for links in text.")));
|
|
40
40
|
const textLinkActiveForeground = registerColor('textLink.activeForeground', { light: '#006AB1', dark: '#3794FF', hcDark: '#21A6FF', hcLight: '#0F4A85' }, ( localize(
|
|
41
|
-
|
|
41
|
+
2088,
|
|
42
42
|
"Foreground color for links in text when clicked on and on mouse hover."
|
|
43
43
|
)));
|
|
44
|
-
registerColor('textSeparator.foreground', { light: '#0000002e', dark: '#ffffff2e', hcDark: Color.black, hcLight: '#292929' }, ( localize(
|
|
45
|
-
registerColor('textPreformat.foreground', { light: '#A31515', dark: '#D7BA7D', hcDark: '#000000', hcLight: '#FFFFFF' }, ( localize(
|
|
46
|
-
registerColor('textPreformat.background', { light: '#0000001A', dark: '#FFFFFF1A', hcDark: '#FFFFFF', hcLight: '#09345f' }, ( localize(
|
|
47
|
-
const textBlockQuoteBackground = registerColor('textBlockQuote.background', { light: '#f2f2f2', dark: '#222222', hcDark: null, hcLight: '#F2F2F2' }, ( localize(
|
|
48
|
-
const textBlockQuoteBorder = registerColor('textBlockQuote.border', { light: '#007acc80', dark: '#007acc80', hcDark: Color.white, hcLight: '#292929' }, ( localize(
|
|
49
|
-
registerColor('textCodeBlock.background', { light: '#dcdcdc66', dark: '#0a0a0a66', hcDark: Color.black, hcLight: '#F2F2F2' }, ( localize(
|
|
44
|
+
registerColor('textSeparator.foreground', { light: '#0000002e', dark: '#ffffff2e', hcDark: Color.black, hcLight: '#292929' }, ( localize(2089, "Color for text separators.")));
|
|
45
|
+
registerColor('textPreformat.foreground', { light: '#A31515', dark: '#D7BA7D', hcDark: '#000000', hcLight: '#FFFFFF' }, ( localize(2090, "Foreground color for preformatted text segments.")));
|
|
46
|
+
registerColor('textPreformat.background', { light: '#0000001A', dark: '#FFFFFF1A', hcDark: '#FFFFFF', hcLight: '#09345f' }, ( localize(2091, "Background color for preformatted text segments.")));
|
|
47
|
+
const textBlockQuoteBackground = registerColor('textBlockQuote.background', { light: '#f2f2f2', dark: '#222222', hcDark: null, hcLight: '#F2F2F2' }, ( localize(2092, "Background color for block quotes in text.")));
|
|
48
|
+
const textBlockQuoteBorder = registerColor('textBlockQuote.border', { light: '#007acc80', dark: '#007acc80', hcDark: Color.white, hcLight: '#292929' }, ( localize(2093, "Border color for block quotes in text.")));
|
|
49
|
+
registerColor('textCodeBlock.background', { light: '#dcdcdc66', dark: '#0a0a0a66', hcDark: Color.black, hcLight: '#F2F2F2' }, ( localize(2094, "Background color for code blocks in text.")));
|
|
50
50
|
|
|
51
51
|
export { activeContrastBorder, contrastBorder, descriptionForeground, disabledForeground, errorForeground, focusBorder, foreground, iconForeground, selectionBackground, textBlockQuoteBackground, textBlockQuoteBorder, textLinkActiveForeground, textLinkForeground };
|
|
@@ -5,13 +5,13 @@ import { foreground } from './baseColors.js';
|
|
|
5
5
|
import { editorErrorForeground, editorInfoForeground, editorWarningForeground } from './editorColors.js';
|
|
6
6
|
import { minimapFindMatch } from './minimapColors.js';
|
|
7
7
|
|
|
8
|
-
registerColor('charts.foreground', foreground, ( localize(
|
|
9
|
-
registerColor('charts.lines', ( transparent(foreground, .5)), ( localize(
|
|
10
|
-
const chartsRed = registerColor('charts.red', editorErrorForeground, ( localize(
|
|
11
|
-
const chartsBlue = registerColor('charts.blue', editorInfoForeground, ( localize(
|
|
12
|
-
const chartsYellow = registerColor('charts.yellow', editorWarningForeground, ( localize(
|
|
13
|
-
registerColor('charts.orange', minimapFindMatch, ( localize(
|
|
14
|
-
const chartsGreen = registerColor('charts.green', { dark: '#89D185', light: '#388A34', hcDark: '#89D185', hcLight: '#374e06' }, ( localize(
|
|
15
|
-
const chartsPurple = registerColor('charts.purple', { dark: '#B180D7', light: '#652D90', hcDark: '#B180D7', hcLight: '#652D90' }, ( localize(
|
|
8
|
+
registerColor('charts.foreground', foreground, ( localize(2095, "The foreground color used in charts.")));
|
|
9
|
+
registerColor('charts.lines', ( transparent(foreground, .5)), ( localize(2096, "The color used for horizontal lines in charts.")));
|
|
10
|
+
const chartsRed = registerColor('charts.red', editorErrorForeground, ( localize(2097, "The red color used in chart visualizations.")));
|
|
11
|
+
const chartsBlue = registerColor('charts.blue', editorInfoForeground, ( localize(2098, "The blue color used in chart visualizations.")));
|
|
12
|
+
const chartsYellow = registerColor('charts.yellow', editorWarningForeground, ( localize(2099, "The yellow color used in chart visualizations.")));
|
|
13
|
+
registerColor('charts.orange', minimapFindMatch, ( localize(2100, "The orange color used in chart visualizations.")));
|
|
14
|
+
const chartsGreen = registerColor('charts.green', { dark: '#89D185', light: '#388A34', hcDark: '#89D185', hcLight: '#374e06' }, ( localize(2101, "The green color used in chart visualizations.")));
|
|
15
|
+
const chartsPurple = registerColor('charts.purple', { dark: '#B180D7', light: '#652D90', hcDark: '#B180D7', hcLight: '#652D90' }, ( localize(2102, "The purple color used in chart visualizations.")));
|
|
16
16
|
|
|
17
17
|
export { chartsBlue, chartsGreen, chartsPurple, chartsRed, chartsYellow };
|