@codingame/monaco-vscode-api 11.1.2 → 12.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api.js +12 -9
- package/assets.d.ts +1 -0
- package/assets.js +1 -0
- package/extensions.d.ts +24 -157
- package/extensions.js +19 -17
- package/external/rollup-plugin-styles/dist/runtime/inject-css.js +1 -1
- package/l10n.d.ts +1 -2
- package/l10n.js +2 -1
- package/lifecycle.d.ts +18 -0
- package/lifecycle.js +11 -8
- package/localExtensionHost.d.ts +13 -15
- package/localExtensionHost.js +20 -16
- package/missing-services.d.ts +1 -0
- package/missing-services.js +414 -242
- package/monaco.d.ts +31 -33
- package/monaco.js +21 -12
- package/package.json +335 -52
- package/services.d.ts +110 -105
- package/services.js +9 -8
- package/tools/injection.d.ts +23 -0
- package/tools/injection.js +3 -2
- package/tools.d.ts +6 -3
- package/tools.js +6 -2
- package/vscode/src/vs/base/browser/browser.d.ts +19 -0
- package/vscode/src/vs/base/browser/browser.js +1 -0
- package/vscode/src/vs/base/browser/canIUse.d.ts +14 -0
- package/vscode/src/vs/base/browser/canIUse.js +11 -4
- package/vscode/src/vs/base/browser/contextmenu.d.ts +12 -25
- package/vscode/src/vs/base/browser/cssValue.d.ts +20 -0
- package/vscode/src/vs/base/browser/cssValue.js +54 -5
- package/vscode/src/vs/base/browser/defaultWorkerFactory.d.ts +11 -0
- package/vscode/src/vs/base/browser/defaultWorkerFactory.js +1 -0
- package/vscode/src/vs/base/browser/dnd.d.ts +16 -3
- package/vscode/src/vs/base/browser/dnd.js +1 -0
- package/vscode/src/vs/base/browser/dom.d.ts +335 -5
- package/vscode/src/vs/base/browser/dom.js +12 -132
- package/vscode/src/vs/base/browser/domObservable.d.ts +3 -0
- package/vscode/src/vs/base/browser/domObservable.js +2 -1
- package/vscode/src/vs/base/browser/domStylesheets.d.ts +14 -0
- package/vscode/src/vs/base/browser/domStylesheets.js +129 -0
- package/vscode/src/vs/base/browser/dompurify/dompurify.d.ts +95 -0
- package/vscode/src/vs/base/browser/dompurify/dompurify.js +2 -0
- package/vscode/src/vs/base/browser/event.d.ts +26 -0
- package/vscode/src/vs/base/browser/event.js +1 -0
- package/vscode/src/vs/base/browser/fastDomNode.d.ts +69 -0
- package/vscode/src/vs/base/browser/fastDomNode.js +5 -0
- package/vscode/src/vs/base/browser/fonts.d.ts +1 -0
- package/vscode/src/vs/base/browser/fonts.js +1 -0
- package/vscode/src/vs/base/browser/formattedTextRenderer.d.ts +16 -0
- package/vscode/src/vs/base/browser/formattedTextRenderer.js +37 -24
- package/vscode/src/vs/base/browser/globalPointerMoveMonitor.d.ts +16 -0
- package/vscode/src/vs/base/browser/globalPointerMoveMonitor.js +1 -0
- package/vscode/src/vs/base/browser/history.d.ts +8 -0
- package/vscode/src/vs/base/browser/iframe.d.ts +8 -0
- package/vscode/src/vs/base/browser/iframe.js +2 -0
- package/vscode/src/vs/base/browser/keyboardEvent.d.ts +26 -9
- package/vscode/src/vs/base/browser/keyboardEvent.js +25 -24
- package/vscode/src/vs/base/browser/markdownRenderer.d.ts +27 -0
- package/vscode/src/vs/base/browser/markdownRenderer.js +184 -170
- package/vscode/src/vs/base/browser/mouseEvent.d.ts +16 -5
- package/vscode/src/vs/base/browser/mouseEvent.js +1 -0
- package/vscode/src/vs/base/browser/performance.d.ts +21 -0
- package/vscode/src/vs/base/browser/performance.js +28 -20
- package/vscode/src/vs/base/browser/pixelRatio.d.ts +12 -0
- package/vscode/src/vs/base/browser/pixelRatio.js +1 -0
- package/vscode/src/vs/base/browser/touch.d.ts +32 -3
- package/vscode/src/vs/base/browser/touch.js +17 -17
- package/vscode/src/vs/base/browser/trustedTypes.d.ts +1 -0
- package/vscode/src/vs/base/browser/trustedTypes.js +1 -0
- package/vscode/src/vs/base/browser/ui/actionbar/actionViewItems.d.ts +73 -7
- package/vscode/src/vs/base/browser/ui/actionbar/actionViewItems.js +6 -5
- package/vscode/src/vs/base/browser/ui/actionbar/actionbar.d.ts +17 -25
- package/vscode/src/vs/base/browser/ui/actionbar/actionbar.js +21 -14
- package/vscode/src/vs/base/browser/ui/aria/aria.d.ts +4 -0
- package/vscode/src/vs/base/browser/ui/aria/aria.js +1 -0
- package/vscode/src/vs/base/browser/ui/button/button.d.ts +127 -0
- package/vscode/src/vs/base/browser/ui/button/button.js +22 -20
- package/vscode/src/vs/base/browser/ui/codicons/codicon/codicon.css.js +1 -1
- package/vscode/src/vs/base/browser/ui/codicons/codiconStyles.d.ts +1 -0
- package/vscode/src/vs/base/browser/ui/contextview/contextview.d.ts +63 -17
- package/vscode/src/vs/base/browser/ui/contextview/contextview.js +44 -17
- package/vscode/src/vs/base/browser/ui/countBadge/countBadge.d.ts +27 -0
- package/vscode/src/vs/base/browser/ui/countBadge/countBadge.js +17 -2
- package/vscode/src/vs/base/browser/ui/dropdown/dropdown.d.ts +55 -0
- package/vscode/src/vs/base/browser/ui/dropdown/dropdown.js +5 -2
- package/vscode/src/vs/base/browser/ui/dropdown/dropdownActionViewItem.d.ts +37 -11
- package/vscode/src/vs/base/browser/ui/dropdown/dropdownActionViewItem.js +8 -6
- package/vscode/src/vs/base/browser/ui/findinput/findInput.d.ts +92 -0
- package/vscode/src/vs/base/browser/ui/findinput/findInput.js +25 -24
- package/vscode/src/vs/base/browser/ui/findinput/findInputToggles.d.ts +19 -0
- package/vscode/src/vs/base/browser/ui/findinput/findInputToggles.js +4 -3
- package/vscode/src/vs/base/browser/ui/findinput/replaceInput.d.ts +69 -0
- package/vscode/src/vs/base/browser/ui/findinput/replaceInput.js +19 -17
- package/vscode/src/vs/base/browser/ui/highlightedlabel/highlightedLabel.d.ts +26 -0
- package/vscode/src/vs/base/browser/ui/highlightedlabel/highlightedLabel.js +1 -0
- package/vscode/src/vs/base/browser/ui/hover/hover.d.ts +32 -192
- package/vscode/src/vs/base/browser/ui/hover/hoverDelegate.d.ts +10 -48
- package/vscode/src/vs/base/browser/ui/hover/hoverDelegate2.d.ts +3 -0
- package/vscode/src/vs/base/browser/ui/hover/hoverDelegate2.js +6 -0
- package/vscode/src/vs/base/browser/ui/hover/hoverDelegateFactory.d.ts +4 -0
- package/vscode/src/vs/base/browser/ui/hover/hoverDelegateFactory.js +1 -0
- package/vscode/src/vs/base/browser/ui/hover/hoverWidget.css.js +1 -1
- package/vscode/src/vs/base/browser/ui/hover/hoverWidget.d.ts +33 -3
- package/vscode/src/vs/base/browser/ui/hover/hoverWidget.js +23 -18
- package/vscode/src/vs/base/browser/ui/iconLabel/iconLabel.d.ts +46 -0
- package/vscode/src/vs/base/browser/ui/iconLabel/iconLabel.js +4 -3
- package/vscode/src/vs/base/browser/ui/iconLabel/iconLabels.d.ts +3 -0
- package/vscode/src/vs/base/browser/ui/iconLabel/iconLabels.js +1 -0
- package/vscode/src/vs/base/browser/ui/inputbox/inputBox.d.ts +151 -0
- package/vscode/src/vs/base/browser/ui/inputbox/inputBox.js +44 -32
- package/vscode/src/vs/base/browser/ui/keybindingLabel/keybindingLabel.d.ts +46 -0
- package/vscode/src/vs/base/browser/ui/keybindingLabel/keybindingLabel.js +3 -2
- package/vscode/src/vs/base/browser/ui/list/list.d.ts +111 -0
- package/vscode/src/vs/base/browser/ui/list/list.js +14 -1
- package/vscode/src/vs/base/browser/ui/list/listPaging.d.ts +75 -0
- package/vscode/src/vs/base/browser/ui/list/listPaging.js +1 -0
- package/vscode/src/vs/base/browser/ui/list/listView.d.ts +243 -0
- package/vscode/src/vs/base/browser/ui/list/listView.js +18 -9
- package/vscode/src/vs/base/browser/ui/list/listWidget.d.ts +205 -3
- package/vscode/src/vs/base/browser/ui/list/listWidget.js +22 -19
- package/vscode/src/vs/base/browser/ui/list/rangeMap.d.ts +34 -0
- package/vscode/src/vs/base/browser/ui/list/rangeMap.js +1 -0
- package/vscode/src/vs/base/browser/ui/list/rowCache.d.ts +25 -0
- package/vscode/src/vs/base/browser/ui/list/rowCache.js +1 -0
- package/vscode/src/vs/base/browser/ui/list/splice.d.ts +9 -0
- package/vscode/src/vs/base/browser/ui/list/splice.js +2 -0
- package/vscode/src/vs/base/browser/ui/menu/menu.d.ts +69 -0
- package/vscode/src/vs/base/browser/ui/menu/menu.js +24 -20
- package/vscode/src/vs/base/browser/ui/mouseCursor/mouseCursor.d.ts +1 -0
- package/vscode/src/vs/base/browser/ui/mouseCursor/mouseCursor.js +1 -0
- package/vscode/src/vs/base/browser/ui/progressbar/progressAccessibilitySignal.d.ts +5 -0
- package/vscode/src/vs/base/browser/ui/progressbar/progressAccessibilitySignal.js +2 -0
- package/vscode/src/vs/base/browser/ui/progressbar/progressbar.d.ts +34 -0
- package/vscode/src/vs/base/browser/ui/progressbar/progressbar.js +1 -0
- package/vscode/src/vs/base/browser/ui/resizable/resizable.d.ts +38 -0
- package/vscode/src/vs/base/browser/ui/resizable/resizable.js +10 -9
- package/vscode/src/vs/base/browser/ui/sash/sash.d.ts +15 -141
- package/vscode/src/vs/base/browser/ui/sash/sash.js +33 -19
- package/vscode/src/vs/base/browser/ui/scrollbar/abstractScrollbar.d.ts +61 -0
- package/vscode/src/vs/base/browser/ui/scrollbar/abstractScrollbar.js +1 -0
- package/vscode/src/vs/base/browser/ui/scrollbar/horizontalScrollbar.d.ts +15 -0
- package/vscode/src/vs/base/browser/ui/scrollbar/horizontalScrollbar.js +6 -4
- package/vscode/src/vs/base/browser/ui/scrollbar/scrollableElement.d.ts +33 -28
- package/vscode/src/vs/base/browser/ui/scrollbar/scrollableElement.js +4 -3
- package/vscode/src/vs/base/browser/ui/scrollbar/scrollableElementOptions.d.ts +4 -102
- package/vscode/src/vs/base/browser/ui/scrollbar/scrollbarArrow.d.ts +24 -0
- package/vscode/src/vs/base/browser/ui/scrollbar/scrollbarArrow.js +1 -0
- package/vscode/src/vs/base/browser/ui/scrollbar/scrollbarState.d.ts +32 -0
- package/vscode/src/vs/base/browser/ui/scrollbar/scrollbarState.js +2 -0
- package/vscode/src/vs/base/browser/ui/scrollbar/scrollbarVisibilityController.d.ts +24 -0
- package/vscode/src/vs/base/browser/ui/scrollbar/scrollbarVisibilityController.js +4 -2
- package/vscode/src/vs/base/browser/ui/scrollbar/verticalScrollbar.d.ts +15 -0
- package/vscode/src/vs/base/browser/ui/scrollbar/verticalScrollbar.js +4 -2
- package/vscode/src/vs/base/browser/ui/selectBox/selectBox.d.ts +60 -0
- package/vscode/src/vs/base/browser/ui/selectBox/selectBox.js +1 -0
- package/vscode/src/vs/base/browser/ui/selectBox/selectBoxCustom.d.ts +75 -0
- package/vscode/src/vs/base/browser/ui/selectBox/selectBoxCustom.js +36 -32
- package/vscode/src/vs/base/browser/ui/selectBox/selectBoxNative.d.ts +25 -0
- package/vscode/src/vs/base/browser/ui/selectBox/selectBoxNative.js +4 -2
- package/vscode/src/vs/base/browser/ui/splitview/splitview.d.ts +22 -313
- package/vscode/src/vs/base/browser/ui/splitview/splitview.js +38 -31
- package/vscode/src/vs/base/browser/ui/table/table.d.ts +31 -0
- package/vscode/src/vs/base/browser/ui/table/tableWidget.d.ts +82 -0
- package/vscode/src/vs/base/browser/ui/table/tableWidget.js +7 -3
- package/vscode/src/vs/base/browser/ui/toggle/toggle.d.ts +95 -3
- package/vscode/src/vs/base/browser/ui/toggle/toggle.js +6 -1
- package/vscode/src/vs/base/browser/ui/toolbar/toolbar.d.ts +20 -27
- package/vscode/src/vs/base/browser/ui/toolbar/toolbar.js +13 -12
- package/vscode/src/vs/base/browser/ui/tree/abstractTree.d.ts +460 -0
- package/vscode/src/vs/base/browser/ui/tree/abstractTree.js +230 -340
- package/vscode/src/vs/base/browser/ui/tree/asyncDataTree.d.ts +217 -0
- package/vscode/src/vs/base/browser/ui/tree/asyncDataTree.js +134 -295
- package/vscode/src/vs/base/browser/ui/tree/compressedObjectTreeModel.d.ts +90 -0
- package/vscode/src/vs/base/browser/ui/tree/compressedObjectTreeModel.js +1 -0
- package/vscode/src/vs/base/browser/ui/tree/dataTree.d.ts +24 -0
- package/vscode/src/vs/base/browser/ui/tree/dataTree.js +1 -0
- package/vscode/src/vs/base/browser/ui/tree/indexTreeModel.d.ts +83 -0
- package/vscode/src/vs/base/browser/ui/tree/indexTreeModel.js +16 -15
- package/vscode/src/vs/base/browser/ui/tree/media/tree.css.js +1 -1
- package/vscode/src/vs/base/browser/ui/tree/objectTree.d.ts +54 -0
- package/vscode/src/vs/base/browser/ui/tree/objectTree.js +1 -0
- package/vscode/src/vs/base/browser/ui/tree/objectTreeModel.d.ts +51 -0
- package/vscode/src/vs/base/browser/ui/tree/objectTreeModel.js +1 -0
- package/vscode/src/vs/base/browser/ui/tree/tree.d.ts +152 -0
- package/vscode/src/vs/base/browser/ui/tree/tree.js +19 -5
- package/vscode/src/vs/base/browser/ui/widget.d.ts +4 -7
- package/vscode/src/vs/base/browser/ui/widget.js +1 -0
- package/vscode/src/vs/base/browser/window.d.ts +4 -3
- package/vscode/src/vs/base/browser/window.js +2 -0
- package/vscode/src/vs/base/common/actions.d.ts +103 -9
- package/vscode/src/vs/base/common/actions.js +6 -5
- package/vscode/src/vs/base/common/arrays.d.ts +106 -0
- package/vscode/src/vs/base/common/arrays.js +4 -6
- package/vscode/src/vs/base/common/arraysFind.d.ts +21 -0
- package/vscode/src/vs/base/common/arraysFind.js +2 -0
- package/vscode/src/vs/base/common/assert.d.ts +6 -0
- package/vscode/src/vs/base/common/assert.js +1 -0
- package/vscode/src/vs/base/common/async.d.ts +338 -7
- package/vscode/src/vs/base/common/async.js +28 -16
- package/vscode/src/vs/base/common/buffer.d.ts +28 -32
- package/vscode/src/vs/base/common/buffer.js +1 -0
- package/vscode/src/vs/base/common/cache.d.ts +35 -0
- package/vscode/src/vs/base/common/cache.js +1 -0
- package/vscode/src/vs/base/common/cancellation.d.ts +12 -17
- package/vscode/src/vs/base/common/cancellation.js +3 -2
- package/vscode/src/vs/base/common/charCode.d.ts +294 -0
- package/vscode/src/vs/base/common/charCode.js +299 -0
- package/vscode/src/vs/base/common/codicons.d.ts +37 -19
- package/vscode/src/vs/base/common/codicons.js +1 -0
- package/vscode/src/vs/base/common/codiconsLibrary.d.ts +579 -0
- package/vscode/src/vs/base/common/codiconsLibrary.js +5 -0
- package/vscode/src/vs/base/common/codiconsUtil.d.ts +5 -0
- package/vscode/src/vs/base/common/codiconsUtil.js +1 -0
- package/vscode/src/vs/base/common/collections.d.ts +31 -7
- package/vscode/src/vs/base/common/collections.js +2 -0
- package/vscode/src/vs/base/common/color.d.ts +8 -111
- package/vscode/src/vs/base/common/color.js +225 -29
- package/vscode/src/vs/base/common/comparers.d.ts +13 -0
- package/vscode/src/vs/base/common/comparers.js +1 -0
- package/vscode/src/vs/base/common/dataTransfer.d.ts +30 -27
- package/vscode/src/vs/base/common/dataTransfer.js +1 -0
- package/vscode/src/vs/base/common/date.d.ts +10 -0
- package/vscode/src/vs/base/common/date.js +101 -69
- package/vscode/src/vs/base/common/decorators.d.ts +6 -0
- package/vscode/src/vs/base/common/decorators.js +2 -0
- package/vscode/src/vs/base/common/diff/diff.d.ts +59 -0
- package/vscode/src/vs/base/common/diff/diff.js +16 -10
- package/vscode/src/vs/base/common/diff/diffChange.d.ts +9 -0
- package/vscode/src/vs/base/common/diff/diffChange.js +2 -0
- package/vscode/src/vs/base/common/equals.d.ts +11 -0
- package/vscode/src/vs/base/common/equals.js +1 -0
- package/vscode/src/vs/base/common/errorMessage.d.ts +7 -0
- package/vscode/src/vs/base/common/errorMessage.js +10 -9
- package/vscode/src/vs/base/common/errors.d.ts +64 -8
- package/vscode/src/vs/base/common/errors.js +2 -0
- package/vscode/src/vs/base/common/event.d.ts +113 -317
- package/vscode/src/vs/base/common/event.js +4 -3
- package/vscode/src/vs/base/common/extpath.d.ts +23 -0
- package/vscode/src/vs/base/common/extpath.js +11 -9
- package/vscode/src/vs/base/common/filters.d.ts +44 -3
- package/vscode/src/vs/base/common/filters.js +43 -34
- package/vscode/src/vs/base/common/functional.d.ts +1 -0
- package/vscode/src/vs/base/common/functional.js +2 -0
- package/vscode/src/vs/base/common/glob.d.ts +26 -13
- package/vscode/src/vs/base/common/glob.js +3 -1
- package/vscode/src/vs/base/common/hash.d.ts +28 -0
- package/vscode/src/vs/base/common/hash.js +16 -10
- package/vscode/src/vs/base/common/hierarchicalKind.d.ts +1 -3
- package/vscode/src/vs/base/common/hierarchicalKind.js +2 -0
- package/vscode/src/vs/base/common/history.d.ts +55 -0
- package/vscode/src/vs/base/common/history.js +14 -10
- package/vscode/src/vs/base/common/hotReload.d.ts +14 -0
- package/vscode/src/vs/base/common/hotReloadHelpers.d.ts +4 -0
- package/vscode/src/vs/base/common/hotReloadHelpers.js +1 -0
- package/vscode/src/vs/base/common/htmlContent.d.ts +16 -8
- package/vscode/src/vs/base/common/htmlContent.js +9 -3
- package/vscode/src/vs/base/common/iconLabels.d.ts +11 -0
- package/vscode/src/vs/base/common/iconLabels.js +1 -0
- package/vscode/src/vs/base/common/idGenerator.d.ts +7 -0
- package/vscode/src/vs/base/common/idGenerator.js +2 -0
- package/vscode/src/vs/base/common/ime.d.ts +9 -0
- package/vscode/src/vs/base/common/ime.js +1 -0
- package/vscode/src/vs/base/common/iterator.d.ts +25 -0
- package/vscode/src/vs/base/common/iterator.js +4 -2
- package/vscode/src/vs/base/common/json.d.ts +111 -0
- package/vscode/src/vs/base/common/json.js +327 -151
- package/vscode/src/vs/base/common/jsonErrorMessages.d.ts +2 -0
- package/vscode/src/vs/base/common/jsonErrorMessages.js +11 -9
- package/vscode/src/vs/base/common/jsonSchema.d.ts +29 -6
- package/vscode/src/vs/base/common/jsonSchema.js +2 -0
- package/vscode/src/vs/base/common/keyCodes.d.ts +48 -93
- package/vscode/src/vs/base/common/keyCodes.js +595 -251
- package/vscode/src/vs/base/common/keybindingLabels.d.ts +21 -0
- package/vscode/src/vs/base/common/keybindingLabels.js +33 -31
- package/vscode/src/vs/base/common/keybindings.d.ts +12 -66
- package/vscode/src/vs/base/common/keybindings.js +31 -17
- package/vscode/src/vs/base/common/labels.d.ts +41 -0
- package/vscode/src/vs/base/common/labels.js +13 -12
- package/vscode/src/vs/base/common/lazy.d.ts +10 -0
- package/vscode/src/vs/base/common/lazy.js +2 -0
- package/vscode/src/vs/base/common/lifecycle.d.ts +113 -56
- package/vscode/src/vs/base/common/lifecycle.js +1 -0
- package/vscode/src/vs/base/common/linkedList.d.ts +15 -0
- package/vscode/src/vs/base/common/linkedList.js +2 -0
- package/vscode/src/vs/base/common/linkedText.d.ts +12 -0
- package/vscode/src/vs/base/common/linkedText.js +1 -0
- package/vscode/src/vs/base/common/map.d.ts +161 -22
- package/vscode/src/vs/base/common/map.js +31 -32
- package/vscode/src/vs/base/common/marked/marked.d.ts +555 -0
- package/vscode/src/vs/base/common/marshalling.d.ts +14 -0
- package/vscode/src/vs/base/common/marshalling.js +6 -4
- package/vscode/src/vs/base/common/marshallingIds.d.ts +24 -0
- package/vscode/src/vs/base/common/marshallingIds.js +29 -0
- package/vscode/src/vs/base/common/mime.d.ts +13 -0
- package/vscode/src/vs/base/common/mime.js +1 -0
- package/vscode/src/vs/base/common/naturalLanguage/korean.d.ts +1 -0
- package/vscode/src/vs/base/common/naturalLanguage/korean.js +215 -129
- package/vscode/src/vs/base/common/navigator.d.ts +19 -0
- package/vscode/src/vs/base/common/navigator.js +2 -0
- package/vscode/src/vs/base/common/network.d.ts +101 -0
- package/vscode/src/vs/base/common/network.js +5 -4
- package/vscode/src/vs/base/common/numbers.d.ts +23 -0
- package/vscode/src/vs/base/common/numbers.js +2 -0
- package/vscode/src/vs/base/common/objects.d.ts +19 -0
- package/vscode/src/vs/base/common/objects.js +1 -0
- package/vscode/src/vs/base/common/observable.d.ts +1 -0
- package/vscode/src/vs/base/common/observableInternal/api.d.ts +7 -0
- package/vscode/src/vs/base/common/observableInternal/api.js +1 -0
- package/vscode/src/vs/base/common/observableInternal/autorun.d.ts +48 -0
- package/vscode/src/vs/base/common/observableInternal/autorun.js +45 -15
- package/vscode/src/vs/base/common/observableInternal/base.d.ts +83 -104
- package/vscode/src/vs/base/common/observableInternal/base.js +1 -0
- package/vscode/src/vs/base/common/observableInternal/commonFacade/cancellation.d.ts +2 -0
- package/vscode/src/vs/base/common/observableInternal/commonFacade/deps.d.ts +5 -0
- package/vscode/src/vs/base/common/observableInternal/debugName.d.ts +16 -0
- package/vscode/src/vs/base/common/observableInternal/debugName.js +2 -0
- package/vscode/src/vs/base/common/observableInternal/derived.d.ts +53 -0
- package/vscode/src/vs/base/common/observableInternal/derived.js +25 -17
- package/vscode/src/vs/base/common/observableInternal/index.d.ts +8 -0
- package/vscode/src/vs/base/common/observableInternal/lazyObservableValue.d.ts +22 -0
- package/vscode/src/vs/base/common/observableInternal/lazyObservableValue.js +1 -0
- package/vscode/src/vs/base/common/observableInternal/logging.d.ts +48 -0
- package/vscode/src/vs/base/common/observableInternal/logging.js +2 -0
- package/vscode/src/vs/base/common/observableInternal/promise.d.ts +28 -0
- package/vscode/src/vs/base/common/observableInternal/promise.js +1 -0
- package/vscode/src/vs/base/common/observableInternal/utils.d.ts +73 -5
- package/vscode/src/vs/base/common/observableInternal/utils.js +42 -4
- package/vscode/src/vs/base/common/observableInternal/utilsCancellation.d.ts +7 -0
- package/vscode/src/vs/base/common/observableInternal/utilsCancellation.js +5 -25
- package/vscode/src/vs/base/common/path.d.ts +18 -5
- package/vscode/src/vs/base/common/path.js +1 -0
- package/vscode/src/vs/base/common/performance.d.ts +5 -3
- package/vscode/src/vs/base/common/performance.js +2 -0
- package/vscode/src/vs/base/common/platform.d.ts +56 -5
- package/vscode/src/vs/base/common/platform.js +26 -12
- package/vscode/src/vs/base/common/prefixTree.d.ts +8 -28
- package/vscode/src/vs/base/common/prefixTree.js +5 -0
- package/vscode/src/vs/base/common/process.d.ts +4 -0
- package/vscode/src/vs/base/common/process.js +1 -0
- package/vscode/src/vs/base/common/product.d.ts +59 -64
- package/vscode/src/vs/base/common/range.d.ts +14 -0
- package/vscode/src/vs/base/common/range.js +4 -2
- package/vscode/src/vs/base/common/resources.d.ts +53 -88
- package/vscode/src/vs/base/common/resources.js +7 -5
- package/vscode/src/vs/base/common/scrollable.d.ts +57 -30
- package/vscode/src/vs/base/common/scrollable.js +8 -1
- package/vscode/src/vs/base/common/search.d.ts +1 -0
- package/vscode/src/vs/base/common/search.js +1 -0
- package/vscode/src/vs/base/common/sequence.d.ts +19 -0
- package/vscode/src/vs/base/common/severity.d.ts +1 -6
- package/vscode/src/vs/base/common/severity.js +5 -4
- package/vscode/src/vs/base/common/skipList.d.ts +31 -0
- package/vscode/src/vs/base/common/skipList.js +2 -0
- package/vscode/src/vs/base/common/stopwatch.d.ts +10 -0
- package/vscode/src/vs/base/common/stopwatch.js +2 -0
- package/vscode/src/vs/base/common/stream.d.ts +56 -52
- package/vscode/src/vs/base/common/stream.js +1 -0
- package/vscode/src/vs/base/common/strings.d.ts +128 -3
- package/vscode/src/vs/base/common/strings.js +67 -40
- package/vscode/src/vs/base/common/symbols.d.ts +1 -6
- package/vscode/src/vs/base/common/symbols.js +2 -0
- package/vscode/src/vs/base/common/ternarySearchTree.d.ts +95 -0
- package/vscode/src/vs/base/common/ternarySearchTree.js +55 -39
- package/vscode/src/vs/base/common/themables.d.ts +10 -8
- package/vscode/src/vs/base/common/themables.js +5 -4
- package/vscode/src/vs/base/common/types.d.ts +48 -24
- package/vscode/src/vs/base/common/types.js +2 -0
- package/vscode/src/vs/base/common/uint.d.ts +10 -0
- package/vscode/src/vs/base/common/uint.js +16 -5
- package/vscode/src/vs/base/common/uri.d.ts +7 -129
- package/vscode/src/vs/base/common/uri.js +42 -39
- package/vscode/src/vs/base/common/uriIpc.d.ts +31 -0
- package/vscode/src/vs/base/common/uriIpc.js +3 -1
- package/vscode/src/vs/base/common/uuid.d.ts +2 -0
- package/vscode/src/vs/base/common/uuid.js +4 -2
- package/vscode/src/vs/base/common/verifier.d.ts +35 -0
- package/vscode/src/vs/base/common/verifier.js +1 -0
- package/vscode/src/vs/base/common/worker/simpleWorker.d.ts +116 -0
- package/vscode/src/vs/base/common/worker/simpleWorker.js +23 -13
- package/vscode/src/vs/base/parts/ipc/common/ipc.d.ts +165 -23
- package/vscode/src/vs/base/parts/ipc/common/ipc.js +175 -63
- package/vscode/src/vs/base/parts/ipc/common/ipc.net.d.ts +140 -35
- package/vscode/src/vs/base/parts/ipc/common/ipc.net.js +111 -53
- package/vscode/src/vs/base/parts/sandbox/common/electronTypes.d.ts +74 -0
- package/vscode/src/vs/base/parts/sandbox/common/sandboxTypes.d.ts +15 -0
- package/vscode/src/vs/base/parts/storage/common/storage.d.ts +78 -20
- package/vscode/src/vs/base/parts/storage/common/storage.js +5 -4
- package/vscode/src/vs/editor/browser/config/charWidthReader.d.ts +14 -0
- package/vscode/src/vs/editor/browser/config/charWidthReader.js +11 -4
- package/vscode/src/vs/editor/browser/config/domFontInfo.d.ts +3 -0
- package/vscode/src/vs/editor/browser/config/domFontInfo.js +1 -0
- package/vscode/src/vs/editor/browser/config/editorConfiguration.d.ts +75 -0
- package/vscode/src/vs/editor/browser/config/editorConfiguration.js +8 -3
- package/vscode/src/vs/editor/browser/config/elementSizeObserver.d.ts +19 -0
- package/vscode/src/vs/editor/browser/config/elementSizeObserver.js +1 -0
- package/vscode/src/vs/editor/browser/config/fontMeasurements.d.ts +38 -0
- package/vscode/src/vs/editor/browser/config/fontMeasurements.js +23 -22
- package/vscode/src/vs/editor/browser/config/migrateOptions.d.ts +17 -0
- package/vscode/src/vs/editor/browser/config/migrateOptions.js +3 -0
- package/vscode/src/vs/editor/browser/config/tabFocus.d.ts +10 -0
- package/vscode/src/vs/editor/browser/config/tabFocus.js +1 -0
- package/vscode/src/vs/editor/browser/controller/editContext/clipboardUtils.d.ts +33 -0
- package/vscode/src/vs/editor/browser/controller/editContext/clipboardUtils.js +32 -1
- package/vscode/src/vs/editor/browser/controller/editContext/editContext.d.ts +13 -0
- package/vscode/src/vs/editor/browser/controller/editContext/editContext.js +1 -0
- package/vscode/src/vs/editor/browser/controller/editContext/native/editContextFactory.d.ts +4 -0
- package/vscode/src/vs/editor/browser/controller/editContext/native/editContextFactory.js +4 -2
- package/vscode/src/vs/editor/browser/controller/editContext/native/nativeEditContext.css.js +1 -1
- package/vscode/src/vs/editor/browser/controller/editContext/native/nativeEditContext.d.ts +59 -0
- package/vscode/src/vs/editor/browser/controller/editContext/native/nativeEditContext.js +133 -42
- package/vscode/src/vs/editor/browser/controller/editContext/native/nativeEditContextRegistry.d.ts +9 -0
- package/vscode/src/vs/editor/browser/controller/editContext/native/nativeEditContextRegistry.js +21 -0
- package/vscode/src/vs/editor/browser/controller/editContext/native/nativeEditContextUtils.d.ts +18 -0
- package/vscode/src/vs/editor/browser/controller/editContext/native/nativeEditContextUtils.js +6 -1
- package/vscode/src/vs/editor/browser/controller/editContext/native/screenReaderSupport.d.ts +42 -0
- package/vscode/src/vs/editor/browser/controller/editContext/native/screenReaderSupport.js +92 -32
- package/vscode/src/vs/editor/browser/controller/editContext/screenReaderUtils.d.ts +27 -0
- package/vscode/src/vs/editor/browser/controller/editContext/screenReaderUtils.js +28 -26
- package/vscode/src/vs/editor/browser/controller/editContext/textArea/textAreaEditContext.d.ts +72 -0
- package/vscode/src/vs/editor/browser/controller/editContext/textArea/textAreaEditContext.js +81 -80
- package/vscode/src/vs/editor/browser/controller/editContext/textArea/textAreaEditContextInput.d.ts +133 -0
- package/vscode/src/vs/editor/browser/controller/editContext/textArea/textAreaEditContextInput.js +13 -40
- package/vscode/src/vs/editor/browser/controller/editContext/textArea/textAreaEditContextState.d.ts +40 -0
- package/vscode/src/vs/editor/browser/controller/editContext/textArea/textAreaEditContextState.js +1 -0
- package/vscode/src/vs/editor/browser/controller/mouseHandler.d.ts +80 -0
- package/vscode/src/vs/editor/browser/controller/mouseHandler.js +29 -25
- package/vscode/src/vs/editor/browser/controller/mouseTarget.d.ts +122 -0
- package/vscode/src/vs/editor/browser/controller/mouseTarget.js +96 -52
- package/vscode/src/vs/editor/browser/controller/pointerHandler.d.ts +19 -0
- package/vscode/src/vs/editor/browser/controller/pointerHandler.js +6 -3
- package/vscode/src/vs/editor/browser/coreCommands.d.ts +203 -0
- package/vscode/src/vs/editor/browser/coreCommands.js +315 -297
- package/vscode/src/vs/editor/browser/dnd.d.ts +3 -0
- package/vscode/src/vs/editor/browser/dnd.js +1 -0
- package/vscode/src/vs/editor/browser/editorBrowser.d.ts +268 -89
- package/vscode/src/vs/editor/browser/editorBrowser.js +37 -1
- package/vscode/src/vs/editor/browser/editorDom.d.ts +107 -0
- package/vscode/src/vs/editor/browser/editorDom.js +3 -1
- package/vscode/src/vs/editor/browser/editorExtensions.d.ts +79 -71
- package/vscode/src/vs/editor/browser/editorExtensions.js +45 -37
- package/vscode/src/vs/editor/browser/gpu/atlas/atlas.d.ts +34 -0
- package/vscode/src/vs/editor/browser/gpu/atlas/atlas.js +11 -0
- package/vscode/src/vs/editor/browser/gpu/atlas/textureAtlas.d.ts +35 -0
- package/vscode/src/vs/editor/browser/gpu/atlas/textureAtlas.js +44 -25
- package/vscode/src/vs/editor/browser/gpu/atlas/textureAtlasPage.d.ts +26 -0
- package/vscode/src/vs/editor/browser/gpu/atlas/textureAtlasPage.js +12 -14
- package/vscode/src/vs/editor/browser/gpu/atlas/textureAtlasShelfAllocator.d.ts +14 -0
- package/vscode/src/vs/editor/browser/gpu/atlas/textureAtlasShelfAllocator.js +9 -5
- package/vscode/src/vs/editor/browser/gpu/atlas/textureAtlasSlabAllocator.d.ts +26 -0
- package/vscode/src/vs/editor/browser/gpu/atlas/textureAtlasSlabAllocator.js +10 -6
- package/vscode/src/vs/editor/browser/gpu/bufferDirtyTracker.d.ts +16 -0
- package/vscode/src/vs/editor/browser/gpu/bufferDirtyTracker.js +2 -0
- package/vscode/src/vs/editor/browser/gpu/decorationCssRuleExtractor.d.ts +9 -0
- package/vscode/src/vs/editor/browser/gpu/decorationCssRuleExtractor.js +55 -0
- package/vscode/src/vs/editor/browser/gpu/fullFileRenderStrategy.d.ts +43 -0
- package/vscode/src/vs/editor/browser/gpu/fullFileRenderStrategy.js +209 -53
- package/vscode/src/vs/editor/browser/gpu/fullFileRenderStrategy.wgsl.d.ts +1 -0
- package/vscode/src/vs/editor/browser/gpu/fullFileRenderStrategy.wgsl.js +19 -17
- package/vscode/src/vs/editor/browser/gpu/gpu.d.ts +25 -0
- package/vscode/src/vs/editor/browser/gpu/gpu.js +14 -0
- package/vscode/src/vs/editor/browser/gpu/gpuDisposable.d.ts +6 -0
- package/vscode/src/vs/editor/browser/gpu/gpuDisposable.js +3 -2
- package/vscode/src/vs/editor/browser/gpu/gpuUtils.d.ts +4 -0
- package/vscode/src/vs/editor/browser/gpu/gpuUtils.js +1 -0
- package/vscode/src/vs/editor/browser/gpu/media/decorationCssRuleExtractor.css.js +6 -0
- package/vscode/src/vs/editor/browser/gpu/objectCollectionBuffer.d.ts +26 -0
- package/vscode/src/vs/editor/browser/gpu/objectCollectionBuffer.js +1 -0
- package/vscode/src/vs/editor/browser/gpu/raster/glyphRasterizer.d.ts +18 -0
- package/vscode/src/vs/editor/browser/gpu/raster/glyphRasterizer.js +35 -20
- package/vscode/src/vs/editor/browser/gpu/raster/raster.d.ts +21 -0
- package/vscode/src/vs/editor/browser/gpu/rectangleRenderer.d.ts +54 -0
- package/vscode/src/vs/editor/browser/gpu/rectangleRenderer.js +35 -21
- package/vscode/src/vs/editor/browser/gpu/rectangleRenderer.wgsl.d.ts +6 -0
- package/vscode/src/vs/editor/browser/gpu/rectangleRenderer.wgsl.js +12 -4
- package/vscode/src/vs/editor/browser/gpu/taskQueue.d.ts +39 -0
- package/vscode/src/vs/editor/browser/gpu/taskQueue.js +1 -0
- package/vscode/src/vs/editor/browser/gpu/viewGpuContext.d.ts +41 -0
- package/vscode/src/vs/editor/browser/gpu/viewGpuContext.js +117 -12
- package/vscode/src/vs/editor/browser/observableCodeEditor.d.ts +57 -0
- package/vscode/src/vs/editor/browser/observableCodeEditor.js +27 -1
- package/vscode/src/vs/editor/browser/services/abstractCodeEditorService.d.ts +88 -0
- package/vscode/src/vs/editor/browser/services/abstractCodeEditorService.js +31 -19
- package/vscode/src/vs/editor/browser/services/bulkEditService.d.ts +26 -19
- package/vscode/src/vs/editor/browser/services/bulkEditService.js +1 -0
- package/vscode/src/vs/editor/browser/services/codeEditorService.d.ts +14 -18
- package/vscode/src/vs/editor/browser/services/codeEditorService.js +1 -0
- package/vscode/src/vs/editor/browser/services/editorWorkerService.d.ts +65 -0
- package/vscode/src/vs/editor/browser/services/editorWorkerService.js +3 -1
- package/vscode/src/vs/editor/browser/services/hoverService/hover.css.js +1 -1
- package/vscode/src/vs/editor/browser/services/hoverService/hoverService.d.ts +44 -0
- package/vscode/src/vs/editor/browser/services/hoverService/hoverService.js +132 -34
- package/vscode/src/vs/editor/browser/services/hoverService/hoverWidget.d.ts +59 -0
- package/vscode/src/vs/editor/browser/services/hoverService/hoverWidget.js +106 -100
- package/vscode/src/vs/editor/browser/services/hoverService/updatableHoverWidget.d.ts +16 -0
- package/vscode/src/vs/editor/browser/services/hoverService/updatableHoverWidget.js +5 -3
- package/vscode/src/vs/editor/browser/services/markerDecorations.d.ts +8 -0
- package/vscode/src/vs/editor/browser/services/markerDecorations.js +3 -2
- package/vscode/src/vs/editor/browser/services/openerService.d.ts +25 -0
- package/vscode/src/vs/editor/browser/services/openerService.js +1 -0
- package/vscode/src/vs/editor/browser/stableEditorScroll.d.ts +22 -0
- package/vscode/src/vs/editor/browser/stableEditorScroll.js +5 -2
- package/vscode/src/vs/editor/browser/view/domLineBreaksComputer.d.ts +9 -0
- package/vscode/src/vs/editor/browser/view/domLineBreaksComputer.js +28 -21
- package/vscode/src/vs/editor/browser/view/dynamicViewOverlay.d.ts +6 -0
- package/vscode/src/vs/editor/browser/view/dynamicViewOverlay.js +1 -0
- package/vscode/src/vs/editor/browser/view/renderingContext.d.ts +70 -0
- package/vscode/src/vs/editor/browser/view/renderingContext.js +14 -1
- package/vscode/src/vs/editor/browser/view/viewController.d.ts +76 -0
- package/vscode/src/vs/editor/browser/view/viewController.js +6 -4
- package/vscode/src/vs/editor/browser/view/viewLayer.d.ts +59 -0
- package/vscode/src/vs/editor/browser/view/viewLayer.js +3 -1
- package/vscode/src/vs/editor/browser/view/viewOverlays.d.ts +58 -0
- package/vscode/src/vs/editor/browser/view/viewOverlays.js +10 -8
- package/vscode/src/vs/editor/browser/view/viewPart.d.ts +29 -0
- package/vscode/src/vs/editor/browser/view/viewPart.js +17 -2
- package/vscode/src/vs/editor/browser/view/viewUserInputEvents.d.ts +37 -0
- package/vscode/src/vs/editor/browser/view/viewUserInputEvents.js +3 -1
- package/vscode/src/vs/editor/browser/view.d.ts +93 -0
- package/vscode/src/vs/editor/browser/view.js +41 -17
- package/vscode/src/vs/editor/browser/viewParts/blockDecorations/blockDecorations.d.ts +20 -0
- package/vscode/src/vs/editor/browser/viewParts/blockDecorations/blockDecorations.js +3 -1
- package/vscode/src/vs/editor/browser/viewParts/contentWidgets/contentWidgets.d.ts +34 -0
- package/vscode/src/vs/editor/browser/viewParts/contentWidgets/contentWidgets.js +24 -20
- package/vscode/src/vs/editor/browser/viewParts/currentLineHighlight/currentLineHighlight.d.ts +46 -0
- package/vscode/src/vs/editor/browser/viewParts/currentLineHighlight/currentLineHighlight.js +8 -6
- package/vscode/src/vs/editor/browser/viewParts/decorations/decorations.d.ts +24 -0
- package/vscode/src/vs/editor/browser/viewParts/decorations/decorations.js +4 -2
- package/vscode/src/vs/editor/browser/viewParts/editorScrollbar/editorScrollbar.d.ts +23 -0
- package/vscode/src/vs/editor/browser/viewParts/editorScrollbar/editorScrollbar.js +20 -17
- package/vscode/src/vs/editor/browser/viewParts/glyphMargin/glyphMargin.d.ts +70 -0
- package/vscode/src/vs/editor/browser/viewParts/glyphMargin/glyphMargin.js +17 -10
- package/vscode/src/vs/editor/browser/viewParts/gpuMark/gpuMark.css.js +6 -0
- package/vscode/src/vs/editor/browser/viewParts/gpuMark/gpuMark.d.ts +24 -0
- package/vscode/src/vs/editor/browser/viewParts/gpuMark/gpuMark.js +72 -0
- package/vscode/src/vs/editor/browser/viewParts/indentGuides/indentGuides.d.ts +27 -0
- package/vscode/src/vs/editor/browser/viewParts/indentGuides/indentGuides.js +8 -6
- package/vscode/src/vs/editor/browser/viewParts/lineNumbers/lineNumbers.d.ts +32 -0
- package/vscode/src/vs/editor/browser/viewParts/lineNumbers/lineNumbers.js +10 -8
- package/vscode/src/vs/editor/browser/viewParts/linesDecorations/linesDecorations.d.ts +23 -0
- package/vscode/src/vs/editor/browser/viewParts/linesDecorations/linesDecorations.js +4 -2
- package/vscode/src/vs/editor/browser/viewParts/margin/margin.d.ts +22 -0
- package/vscode/src/vs/editor/browser/viewParts/margin/margin.js +6 -4
- package/vscode/src/vs/editor/browser/viewParts/marginDecorations/marginDecorations.d.ts +21 -0
- package/vscode/src/vs/editor/browser/viewParts/marginDecorations/marginDecorations.js +1 -0
- package/vscode/src/vs/editor/browser/viewParts/minimap/minimap.d.ts +111 -0
- package/vscode/src/vs/editor/browser/viewParts/minimap/minimap.js +35 -28
- package/vscode/src/vs/editor/browser/viewParts/minimap/minimapCharRenderer.d.ts +11 -0
- package/vscode/src/vs/editor/browser/viewParts/minimap/minimapCharRenderer.js +10 -9
- package/vscode/src/vs/editor/browser/viewParts/minimap/minimapCharRendererFactory.d.ts +10 -0
- package/vscode/src/vs/editor/browser/viewParts/minimap/minimapCharRendererFactory.js +23 -22
- package/vscode/src/vs/editor/browser/viewParts/minimap/minimapCharSheet.d.ts +14 -0
- package/vscode/src/vs/editor/browser/viewParts/minimap/minimapCharSheet.js +22 -7
- package/vscode/src/vs/editor/browser/viewParts/minimap/minimapPreBaked.d.ts +3 -0
- package/vscode/src/vs/editor/browser/viewParts/minimap/minimapPreBaked.js +1 -0
- package/vscode/src/vs/editor/browser/viewParts/overlayWidgets/overlayWidgets.d.ts +29 -0
- package/vscode/src/vs/editor/browser/viewParts/overlayWidgets/overlayWidgets.js +15 -12
- package/vscode/src/vs/editor/browser/viewParts/overviewRuler/decorationsOverviewRuler.d.ts +29 -0
- package/vscode/src/vs/editor/browser/viewParts/overviewRuler/decorationsOverviewRuler.js +38 -19
- package/vscode/src/vs/editor/browser/viewParts/overviewRuler/overviewRuler.d.ts +22 -0
- package/vscode/src/vs/editor/browser/viewParts/overviewRuler/overviewRuler.js +8 -6
- package/vscode/src/vs/editor/browser/viewParts/rulers/rulers.d.ts +18 -0
- package/vscode/src/vs/editor/browser/viewParts/rulers/rulers.js +6 -4
- package/vscode/src/vs/editor/browser/viewParts/rulersGpu/rulersGpu.d.ts +14 -0
- package/vscode/src/vs/editor/browser/viewParts/rulersGpu/rulersGpu.js +4 -2
- package/vscode/src/vs/editor/browser/viewParts/scrollDecoration/scrollDecoration.d.ts +21 -0
- package/vscode/src/vs/editor/browser/viewParts/scrollDecoration/scrollDecoration.js +5 -3
- package/vscode/src/vs/editor/browser/viewParts/selections/selections.d.ts +37 -0
- package/vscode/src/vs/editor/browser/viewParts/selections/selections.js +34 -26
- package/vscode/src/vs/editor/browser/viewParts/viewCursors/viewCursor.d.ts +43 -0
- package/vscode/src/vs/editor/browser/viewParts/viewCursors/viewCursor.js +12 -11
- package/vscode/src/vs/editor/browser/viewParts/viewCursors/viewCursors.d.ts +51 -0
- package/vscode/src/vs/editor/browser/viewParts/viewCursors/viewCursors.js +25 -23
- package/vscode/src/vs/editor/browser/viewParts/viewLines/domReadingContext.d.ts +14 -0
- package/vscode/src/vs/editor/browser/viewParts/viewLines/domReadingContext.js +2 -0
- package/vscode/src/vs/editor/browser/viewParts/viewLines/rangeUtil.d.ts +11 -0
- package/vscode/src/vs/editor/browser/viewParts/viewLines/rangeUtil.js +5 -3
- package/vscode/src/vs/editor/browser/viewParts/viewLines/viewLine.d.ts +33 -0
- package/vscode/src/vs/editor/browser/viewParts/viewLines/viewLine.js +28 -22
- package/vscode/src/vs/editor/browser/viewParts/viewLines/viewLineOptions.d.ts +18 -0
- package/vscode/src/vs/editor/browser/viewParts/viewLines/viewLineOptions.js +12 -9
- package/vscode/src/vs/editor/browser/viewParts/viewLines/viewLines.d.ts +67 -0
- package/vscode/src/vs/editor/browser/viewParts/viewLines/viewLines.js +38 -33
- package/vscode/src/vs/editor/browser/viewParts/viewLinesGpu/viewLinesGpu.d.ts +55 -0
- package/vscode/src/vs/editor/browser/viewParts/viewLinesGpu/viewLinesGpu.js +233 -61
- package/vscode/src/vs/editor/browser/viewParts/viewZones/viewZones.d.ts +36 -0
- package/vscode/src/vs/editor/browser/viewParts/viewZones/viewZones.js +8 -6
- package/vscode/src/vs/editor/browser/viewParts/whitespace/whitespace.d.ts +25 -0
- package/vscode/src/vs/editor/browser/viewParts/whitespace/whitespace.js +19 -16
- package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorContributions.d.ts +27 -0
- package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorContributions.js +13 -11
- package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorWidget.d.ts +383 -0
- package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorWidget.js +244 -229
- package/vscode/src/vs/editor/browser/widget/codeEditor/embeddedCodeEditorWidget.d.ts +20 -0
- package/vscode/src/vs/editor/browser/widget/codeEditor/embeddedCodeEditorWidget.js +1 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/commands.d.ts +51 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/commands.js +32 -29
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/accessibleDiffViewer.d.ts +52 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/accessibleDiffViewer.js +73 -74
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorDecorations.d.ts +13 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorDecorations.js +1 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorEditors.d.ts +41 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorEditors.js +9 -8
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorSash.d.ts +33 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorSash.js +4 -3
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/diffEditorViewZones.d.ts +38 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/diffEditorViewZones.js +16 -12
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/inlineDiffDeletedCodeMargin.d.ts +24 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/inlineDiffDeletedCodeMargin.js +22 -18
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/renderLines.d.ts +34 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/renderLines.js +12 -11
- package/vscode/src/vs/editor/browser/widget/diffEditor/delegatingEditorImpl.d.ts +61 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/delegatingEditorImpl.js +20 -18
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditor.contribution.d.ts +1 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditor.contribution.js +22 -24
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorOptions.d.ts +47 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorOptions.js +8 -6
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorViewModel.d.ts +87 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorViewModel.js +12 -3
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorWidget.d.ts +103 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorWidget.js +4 -2
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffProviderFactoryService.d.ts +39 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffProviderFactoryService.js +3 -2
- package/vscode/src/vs/editor/browser/widget/diffEditor/embeddedDiffEditorWidget.d.ts +16 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/embeddedDiffEditorWidget.js +1 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/gutterFeature.d.ts +39 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/gutterFeature.js +9 -5
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/hideUnchangedRegionsFeature.d.ts +33 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/hideUnchangedRegionsFeature.js +44 -40
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/movedBlocksLinesFeature.d.ts +22 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/movedBlocksLinesFeature.js +28 -35
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/overviewRulerFeature.d.ts +19 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/overviewRulerFeature.js +3 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/revertButtonsFeature.d.ts +29 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/revertButtonsFeature.js +13 -12
- package/vscode/src/vs/editor/browser/widget/diffEditor/registrations.contribution.d.ts +17 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/registrations.contribution.js +6 -8
- package/vscode/src/vs/editor/browser/widget/diffEditor/utils/editorGutter.d.ts +31 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/utils/editorGutter.js +1 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/utils.d.ts +87 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/utils.js +1 -0
- package/vscode/src/vs/editor/browser/widget/markdownRenderer/browser/markdownRenderer.d.ts +28 -0
- package/vscode/src/vs/editor/browser/widget/markdownRenderer/browser/markdownRenderer.js +3 -1
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/utils.d.ts +6 -0
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/utils.js +1 -0
- package/vscode/src/vs/editor/common/commands/replaceCommand.d.ts +61 -0
- package/vscode/src/vs/editor/common/commands/replaceCommand.js +77 -3
- package/vscode/src/vs/editor/common/commands/shiftCommand.d.ts +27 -0
- package/vscode/src/vs/editor/common/commands/shiftCommand.js +7 -5
- package/vscode/src/vs/editor/common/commands/surroundSelectionCommand.d.ts +20 -0
- package/vscode/src/vs/editor/common/commands/surroundSelectionCommand.js +1 -0
- package/vscode/src/vs/editor/common/commands/trimTrailingWhitespaceCommand.d.ts +15 -0
- package/vscode/src/vs/editor/common/commands/trimTrailingWhitespaceCommand.js +3 -1
- package/vscode/src/vs/editor/common/config/diffEditor.d.ts +33 -0
- package/vscode/src/vs/editor/common/config/diffEditor.js +2 -0
- package/vscode/src/vs/editor/common/config/editorConfiguration.d.ts +20 -0
- package/vscode/src/vs/editor/common/config/editorConfigurationSchema.d.ts +4 -0
- package/vscode/src/vs/editor/common/config/editorConfigurationSchema.js +63 -62
- package/vscode/src/vs/editor/common/config/editorOptions.d.ts +700 -1321
- package/vscode/src/vs/editor/common/config/editorOptions.js +1198 -969
- package/vscode/src/vs/editor/common/config/editorZoom.d.ts +7 -0
- package/vscode/src/vs/editor/common/config/editorZoom.js +1 -0
- package/vscode/src/vs/editor/common/config/fontInfo.d.ts +72 -0
- package/vscode/src/vs/editor/common/config/fontInfo.js +9 -8
- package/vscode/src/vs/editor/common/core/characterClassifier.d.ts +8 -12
- package/vscode/src/vs/editor/common/core/characterClassifier.js +9 -3
- package/vscode/src/vs/editor/common/core/cursorColumns.d.ts +10 -0
- package/vscode/src/vs/editor/common/core/cursorColumns.js +4 -2
- package/vscode/src/vs/editor/common/core/dimension.d.ts +1 -3
- package/vscode/src/vs/editor/common/core/editOperation.d.ts +9 -19
- package/vscode/src/vs/editor/common/core/editOperation.js +1 -0
- package/vscode/src/vs/editor/common/core/editorColorRegistry.d.ts +67 -0
- package/vscode/src/vs/editor/common/core/editorColorRegistry.js +74 -73
- package/vscode/src/vs/editor/common/core/eolCounter.d.ts +12 -0
- package/vscode/src/vs/editor/common/core/eolCounter.js +18 -8
- package/vscode/src/vs/editor/common/core/indentation.d.ts +1 -0
- package/vscode/src/vs/editor/common/core/indentation.js +1 -0
- package/vscode/src/vs/editor/common/core/lineEdit.d.ts +41 -0
- package/vscode/src/vs/editor/common/core/lineEdit.js +1 -0
- package/vscode/src/vs/editor/common/core/lineRange.d.ts +20 -51
- package/vscode/src/vs/editor/common/core/lineRange.js +1 -0
- package/vscode/src/vs/editor/common/core/offsetEdit.d.ts +5 -21
- package/vscode/src/vs/editor/common/core/offsetEdit.js +1 -0
- package/vscode/src/vs/editor/common/core/offsetRange.d.ts +11 -27
- package/vscode/src/vs/editor/common/core/offsetRange.js +1 -0
- package/vscode/src/vs/editor/common/core/position.d.ts +2 -71
- package/vscode/src/vs/editor/common/core/position.js +2 -0
- package/vscode/src/vs/editor/common/core/positionToOffset.d.ts +5 -8
- package/vscode/src/vs/editor/common/core/positionToOffset.js +1 -0
- package/vscode/src/vs/editor/common/core/range.d.ts +3 -143
- package/vscode/src/vs/editor/common/core/range.js +1 -0
- package/vscode/src/vs/editor/common/core/rgba.d.ts +11 -0
- package/vscode/src/vs/editor/common/core/rgba.js +2 -0
- package/vscode/src/vs/editor/common/core/selection.d.ts +5 -91
- package/vscode/src/vs/editor/common/core/selection.js +13 -7
- package/vscode/src/vs/editor/common/core/stringBuilder.d.ts +16 -0
- package/vscode/src/vs/editor/common/core/stringBuilder.js +1 -0
- package/vscode/src/vs/editor/common/core/textChange.d.ts +2 -3
- package/vscode/src/vs/editor/common/core/textChange.js +2 -1
- package/vscode/src/vs/editor/common/core/textEdit.d.ts +35 -16
- package/vscode/src/vs/editor/common/core/textEdit.js +5 -0
- package/vscode/src/vs/editor/common/core/textLength.d.ts +4 -10
- package/vscode/src/vs/editor/common/core/textLength.js +1 -0
- package/vscode/src/vs/editor/common/core/textModelDefaults.d.ts +12 -0
- package/vscode/src/vs/editor/common/core/textModelDefaults.js +2 -0
- package/vscode/src/vs/editor/common/core/wordCharacterClassifier.d.ts +5 -7
- package/vscode/src/vs/editor/common/core/wordCharacterClassifier.js +15 -6
- package/vscode/src/vs/editor/common/core/wordHelper.d.ts +15 -0
- package/vscode/src/vs/editor/common/core/wordHelper.js +1 -0
- package/vscode/src/vs/editor/common/cursor/cursor.d.ts +76 -0
- package/vscode/src/vs/editor/common/cursor/cursor.js +58 -42
- package/vscode/src/vs/editor/common/cursor/cursorAtomicMoveOperations.d.ts +13 -0
- package/vscode/src/vs/editor/common/cursor/cursorAtomicMoveOperations.js +18 -10
- package/vscode/src/vs/editor/common/cursor/cursorCollection.d.ts +31 -0
- package/vscode/src/vs/editor/common/cursor/cursorCollection.js +1 -0
- package/vscode/src/vs/editor/common/cursor/cursorColumnSelection.d.ts +16 -0
- package/vscode/src/vs/editor/common/cursor/cursorColumnSelection.js +4 -3
- package/vscode/src/vs/editor/common/cursor/cursorContext.d.ts +11 -0
- package/vscode/src/vs/editor/common/cursor/cursorContext.js +2 -0
- package/vscode/src/vs/editor/common/cursor/cursorDeleteOperations.d.ts +21 -0
- package/vscode/src/vs/editor/common/cursor/cursorDeleteOperations.js +5 -4
- package/vscode/src/vs/editor/common/cursor/cursorMoveCommands.d.ts +116 -0
- package/vscode/src/vs/editor/common/cursor/cursorMoveCommands.js +57 -54
- package/vscode/src/vs/editor/common/cursor/cursorMoveOperations.d.ts +36 -0
- package/vscode/src/vs/editor/common/cursor/cursorMoveOperations.js +15 -12
- package/vscode/src/vs/editor/common/cursor/cursorTypeEditOperations.d.ts +81 -0
- package/vscode/src/vs/editor/common/cursor/cursorTypeEditOperations.js +59 -42
- package/vscode/src/vs/editor/common/cursor/cursorTypeOperations.d.ts +27 -0
- package/vscode/src/vs/editor/common/cursor/cursorTypeOperations.js +9 -7
- package/vscode/src/vs/editor/common/cursor/cursorWordOperations.d.ts +60 -0
- package/vscode/src/vs/editor/common/cursor/cursorWordOperations.js +80 -65
- package/vscode/src/vs/editor/common/cursor/oneCursor.d.ts +22 -0
- package/vscode/src/vs/editor/common/cursor/oneCursor.js +8 -6
- package/vscode/src/vs/editor/common/cursorCommon.d.ts +142 -0
- package/vscode/src/vs/editor/common/cursorCommon.js +61 -38
- package/vscode/src/vs/editor/common/cursorEvents.d.ts +26 -0
- package/vscode/src/vs/editor/common/cursorEvents.js +14 -0
- package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/diffAlgorithm.d.ts +60 -0
- package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/diffAlgorithm.js +1 -0
- package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/dynamicProgrammingDiffing.d.ts +4 -0
- package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/dynamicProgrammingDiffing.js +1 -0
- package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/myersDiffAlgorithm.d.ts +4 -0
- package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/myersDiffAlgorithm.js +1 -0
- package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/computeMovedLines.d.ts +3 -0
- package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/computeMovedLines.js +1 -0
- package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/defaultLinesDiffComputer.d.ts +8 -0
- package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/defaultLinesDiffComputer.js +1 -0
- package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/heuristicSequenceOptimizations.d.ts +8 -0
- package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/heuristicSequenceOptimizations.js +1 -0
- package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/lineSequence.d.ts +12 -0
- package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/lineSequence.js +4 -1
- package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/linesSliceCharSequence.d.ts +26 -0
- package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/linesSliceCharSequence.js +44 -30
- package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/utils.d.ts +22 -0
- package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/utils.js +4 -1
- package/vscode/src/vs/editor/common/diff/legacyLinesDiffComputer.d.ts +36 -24
- package/vscode/src/vs/editor/common/diff/legacyLinesDiffComputer.js +6 -4
- package/vscode/src/vs/editor/common/diff/linesDiffComputer.d.ts +16 -10
- package/vscode/src/vs/editor/common/diff/linesDiffComputer.js +2 -0
- package/vscode/src/vs/editor/common/diff/linesDiffComputers.d.ts +6 -0
- package/vscode/src/vs/editor/common/diff/linesDiffComputers.js +1 -0
- package/vscode/src/vs/editor/common/diff/rangeMapping.d.ts +10 -50
- package/vscode/src/vs/editor/common/diff/rangeMapping.js +23 -1
- package/vscode/src/vs/editor/common/editorAction.d.ts +16 -0
- package/vscode/src/vs/editor/common/editorAction.js +2 -0
- package/vscode/src/vs/editor/common/editorCommon.d.ts +137 -102
- package/vscode/src/vs/editor/common/editorCommon.js +18 -1
- package/vscode/src/vs/editor/common/editorContextKeys.d.ts +58 -0
- package/vscode/src/vs/editor/common/editorContextKeys.js +68 -67
- package/vscode/src/vs/editor/common/editorFeatures.d.ts +8 -0
- package/vscode/src/vs/editor/common/editorFeatures.js +2 -0
- package/vscode/src/vs/editor/common/editorTheme.d.ts +12 -0
- package/vscode/src/vs/editor/common/editorTheme.js +2 -0
- package/vscode/src/vs/editor/common/encodedTokenAttributes.d.ts +47 -17
- package/vscode/src/vs/editor/common/encodedTokenAttributes.js +73 -19
- package/vscode/src/vs/editor/common/inputMode.d.ts +10 -0
- package/vscode/src/vs/editor/common/inputMode.js +20 -0
- package/vscode/src/vs/editor/common/languageFeatureRegistry.d.ts +8 -12
- package/vscode/src/vs/editor/common/languageFeatureRegistry.js +1 -0
- package/vscode/src/vs/editor/common/languageSelector.d.ts +6 -12
- package/vscode/src/vs/editor/common/languageSelector.js +1 -0
- package/vscode/src/vs/editor/common/languages/autoIndent.d.ts +33 -0
- package/vscode/src/vs/editor/common/languages/autoIndent.js +9 -6
- package/vscode/src/vs/editor/common/languages/defaultDocumentColorsComputer.d.ts +8 -0
- package/vscode/src/vs/editor/common/languages/defaultDocumentColorsComputer.js +2 -1
- package/vscode/src/vs/editor/common/languages/enterAction.d.ts +6 -0
- package/vscode/src/vs/editor/common/languages/enterAction.js +1 -0
- package/vscode/src/vs/editor/common/languages/language.d.ts +10 -95
- package/vscode/src/vs/editor/common/languages/language.js +1 -0
- package/vscode/src/vs/editor/common/languages/languageConfiguration.d.ts +30 -182
- package/vscode/src/vs/editor/common/languages/languageConfiguration.js +13 -9
- package/vscode/src/vs/editor/common/languages/languageConfigurationRegistry.d.ts +44 -30
- package/vscode/src/vs/editor/common/languages/languageConfigurationRegistry.js +3 -2
- package/vscode/src/vs/editor/common/languages/linkComputer.d.ts +38 -0
- package/vscode/src/vs/editor/common/languages/linkComputer.js +95 -69
- package/vscode/src/vs/editor/common/languages/modesRegistry.d.ts +17 -0
- package/vscode/src/vs/editor/common/languages/modesRegistry.js +5 -4
- package/vscode/src/vs/editor/common/languages/nullTokenize.d.ts +5 -0
- package/vscode/src/vs/editor/common/languages/nullTokenize.js +7 -5
- package/vscode/src/vs/editor/common/languages/supports/characterPair.d.ts +2 -5
- package/vscode/src/vs/editor/common/languages/supports/characterPair.js +1 -0
- package/vscode/src/vs/editor/common/languages/supports/electricCharacter.d.ts +4 -11
- package/vscode/src/vs/editor/common/languages/supports/electricCharacter.js +1 -0
- package/vscode/src/vs/editor/common/languages/supports/indentRules.d.ts +8 -5
- package/vscode/src/vs/editor/common/languages/supports/indentRules.js +14 -5
- package/vscode/src/vs/editor/common/languages/supports/indentationLineProcessor.d.ts +30 -0
- package/vscode/src/vs/editor/common/languages/supports/indentationLineProcessor.js +5 -3
- package/vscode/src/vs/editor/common/languages/supports/inplaceReplaceSupport.d.ts +12 -0
- package/vscode/src/vs/editor/common/languages/supports/inplaceReplaceSupport.js +3 -1
- package/vscode/src/vs/editor/common/languages/supports/languageBracketsConfiguration.d.ts +8 -32
- package/vscode/src/vs/editor/common/languages/supports/languageBracketsConfiguration.js +1 -0
- package/vscode/src/vs/editor/common/languages/supports/onEnter.d.ts +15 -0
- package/vscode/src/vs/editor/common/languages/supports/onEnter.js +5 -3
- package/vscode/src/vs/editor/common/languages/supports/richEditBrackets.d.ts +12 -86
- package/vscode/src/vs/editor/common/languages/supports/richEditBrackets.js +3 -2
- package/vscode/src/vs/editor/common/languages/supports/tokenization.d.ts +67 -0
- package/vscode/src/vs/editor/common/languages/supports/tokenization.js +26 -24
- package/vscode/src/vs/editor/common/languages/supports.d.ts +6 -7
- package/vscode/src/vs/editor/common/languages/supports.js +8 -1
- package/vscode/src/vs/editor/common/languages/textToHtmlTokenizer.d.ts +8 -0
- package/vscode/src/vs/editor/common/languages/textToHtmlTokenizer.js +15 -12
- package/vscode/src/vs/editor/common/languages.d.ts +482 -961
- package/vscode/src/vs/editor/common/languages.js +290 -159
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsImpl.d.ts +45 -0
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsImpl.js +1 -0
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/ast.d.ts +121 -0
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/ast.js +19 -10
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/beforeEditPositionMapper.d.ts +23 -0
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/beforeEditPositionMapper.js +1 -0
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/bracketPairsTree.d.ts +32 -0
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/bracketPairsTree.js +19 -16
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/brackets.d.ts +24 -0
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/brackets.js +5 -4
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/combineTextEditInfos.d.ts +2 -0
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/combineTextEditInfos.js +1 -0
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/concat23Trees.d.ts +3 -0
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/concat23Trees.js +4 -3
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/length.d.ts +29 -0
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/length.js +1 -0
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/nodeReader.d.ts +11 -0
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/nodeReader.js +1 -0
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/parser.d.ts +4 -0
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/parser.js +9 -7
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/smallImmutableSet.d.ts +25 -0
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/smallImmutableSet.js +2 -0
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/tokenizer.d.ts +65 -0
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/tokenizer.js +16 -33
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/colorizedBracketPairsDecorationProvider.d.ts +17 -0
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/colorizedBracketPairsDecorationProvider.js +1 -0
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/fixBrackets.d.ts +3 -0
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/fixBrackets.js +6 -4
- package/vscode/src/vs/editor/common/model/decorationProvider.d.ts +8 -0
- package/vscode/src/vs/editor/common/model/editStack.d.ts +87 -0
- package/vscode/src/vs/editor/common/model/editStack.js +44 -51
- package/vscode/src/vs/editor/common/model/fixedArray.d.ts +10 -0
- package/vscode/src/vs/editor/common/model/fixedArray.js +1 -0
- package/vscode/src/vs/editor/common/model/guidesTextModelPart.d.ts +22 -0
- package/vscode/src/vs/editor/common/model/guidesTextModelPart.js +1 -0
- package/vscode/src/vs/editor/common/model/indentationGuesser.d.ts +6 -0
- package/vscode/src/vs/editor/common/model/indentationGuesser.js +9 -6
- package/vscode/src/vs/editor/common/model/intervalTree.d.ts +59 -0
- package/vscode/src/vs/editor/common/model/intervalTree.js +121 -71
- package/vscode/src/vs/editor/common/model/mirrorTextModel.d.ts +30 -0
- package/vscode/src/vs/editor/common/model/mirrorTextModel.js +1 -0
- package/vscode/src/vs/editor/common/model/pieceTreeTextBuffer/pieceTreeBase.d.ts +108 -0
- package/vscode/src/vs/editor/common/model/pieceTreeTextBuffer/pieceTreeBase.js +18 -16
- package/vscode/src/vs/editor/common/model/pieceTreeTextBuffer/pieceTreeTextBuffer.d.ts +67 -0
- package/vscode/src/vs/editor/common/model/pieceTreeTextBuffer/pieceTreeTextBuffer.js +12 -11
- package/vscode/src/vs/editor/common/model/pieceTreeTextBuffer/pieceTreeTextBufferBuilder.d.ts +41 -0
- package/vscode/src/vs/editor/common/model/pieceTreeTextBuffer/pieceTreeTextBufferBuilder.js +6 -3
- package/vscode/src/vs/editor/common/model/pieceTreeTextBuffer/rbTreeBase.d.ts +27 -0
- package/vscode/src/vs/editor/common/model/pieceTreeTextBuffer/rbTreeBase.js +48 -41
- package/vscode/src/vs/editor/common/model/prefixSumComputer.d.ts +36 -0
- package/vscode/src/vs/editor/common/model/prefixSumComputer.js +1 -0
- package/vscode/src/vs/editor/common/model/textModel.d.ts +305 -0
- package/vscode/src/vs/editor/common/model/textModel.js +36 -26
- package/vscode/src/vs/editor/common/model/textModelPart.d.ts +6 -0
- package/vscode/src/vs/editor/common/model/textModelPart.js +1 -0
- package/vscode/src/vs/editor/common/model/textModelSearch.d.ts +40 -0
- package/vscode/src/vs/editor/common/model/textModelSearch.js +16 -14
- package/vscode/src/vs/editor/common/model/textModelText.d.ts +11 -0
- package/vscode/src/vs/editor/common/model/textModelText.js +1 -0
- package/vscode/src/vs/editor/common/model/textModelTokens.d.ts +93 -0
- package/vscode/src/vs/editor/common/model/textModelTokens.js +9 -3
- package/vscode/src/vs/editor/common/model/tokenizationTextModelPart.d.ts +66 -0
- package/vscode/src/vs/editor/common/model/tokenizationTextModelPart.js +8 -9
- package/vscode/src/vs/editor/common/model/tokens.d.ts +57 -0
- package/vscode/src/vs/editor/common/model/tokens.js +3 -1
- package/vscode/src/vs/editor/common/model/treeSitterTokens.d.ts +26 -0
- package/vscode/src/vs/editor/common/model/treeSitterTokens.js +3 -1
- package/vscode/src/vs/editor/common/model/utils.d.ts +1 -0
- package/vscode/src/vs/editor/common/model/utils.js +5 -2
- package/vscode/src/vs/editor/common/model.d.ts +127 -383
- package/vscode/src/vs/editor/common/model.js +56 -7
- package/vscode/src/vs/editor/common/modelLineProjectionData.d.ts +43 -0
- package/vscode/src/vs/editor/common/modelLineProjectionData.js +11 -10
- package/vscode/src/vs/editor/common/services/editorBaseApi.d.ts +8 -0
- package/vscode/src/vs/editor/common/services/editorBaseApi.js +6 -5
- package/vscode/src/vs/editor/common/services/editorSimpleWorker.d.ts +72 -0
- package/vscode/src/vs/editor/common/services/editorSimpleWorker.js +1 -0
- package/vscode/src/vs/editor/common/services/editorWorker.d.ts +41 -17
- package/vscode/src/vs/editor/common/services/editorWorker.js +1 -0
- package/vscode/src/vs/editor/common/services/editorWorkerBootstrap.d.ts +2 -0
- package/vscode/src/vs/editor/common/services/editorWorkerBootstrap.js +1 -0
- package/vscode/src/vs/editor/common/services/editorWorkerHost.d.ts +7 -0
- package/vscode/src/vs/editor/common/services/editorWorkerHost.js +2 -0
- package/vscode/src/vs/editor/common/services/findSectionHeaders.d.ts +9 -19
- package/vscode/src/vs/editor/common/services/findSectionHeaders.js +2 -0
- package/vscode/src/vs/editor/common/services/getIconClasses.d.ts +8 -0
- package/vscode/src/vs/editor/common/services/getIconClasses.js +8 -7
- package/vscode/src/vs/editor/common/services/languageFeatureDebounce.d.ts +20 -9
- package/vscode/src/vs/editor/common/services/languageFeatureDebounce.js +5 -4
- package/vscode/src/vs/editor/common/services/languageFeatures.d.ts +4 -8
- package/vscode/src/vs/editor/common/services/languageFeatures.js +1 -0
- package/vscode/src/vs/editor/common/services/languageFeaturesService.d.ts +42 -0
- package/vscode/src/vs/editor/common/services/languageFeaturesService.js +3 -2
- package/vscode/src/vs/editor/common/services/languageService.d.ts +41 -0
- package/vscode/src/vs/editor/common/services/languageService.js +1 -0
- package/vscode/src/vs/editor/common/services/languagesAssociations.d.ts +15 -0
- package/vscode/src/vs/editor/common/services/languagesAssociations.js +1 -0
- package/vscode/src/vs/editor/common/services/languagesRegistry.d.ts +48 -0
- package/vscode/src/vs/editor/common/services/languagesRegistry.js +5 -3
- package/vscode/src/vs/editor/common/services/markerDecorations.d.ts +17 -0
- package/vscode/src/vs/editor/common/services/markerDecorations.js +1 -0
- package/vscode/src/vs/editor/common/services/markerDecorationsService.d.ts +29 -0
- package/vscode/src/vs/editor/common/services/markerDecorationsService.js +51 -19
- package/vscode/src/vs/editor/common/services/model.d.ts +13 -15
- package/vscode/src/vs/editor/common/services/model.js +1 -0
- package/vscode/src/vs/editor/common/services/modelService.d.ts +64 -0
- package/vscode/src/vs/editor/common/services/modelService.js +10 -8
- package/vscode/src/vs/editor/common/services/resolverService.d.ts +12 -49
- package/vscode/src/vs/editor/common/services/resolverService.js +1 -0
- package/vscode/src/vs/editor/common/services/semanticTokensDto.d.ts +18 -0
- package/vscode/src/vs/editor/common/services/semanticTokensDto.js +13 -7
- package/vscode/src/vs/editor/common/services/semanticTokensProviderStyling.d.ts +21 -0
- package/vscode/src/vs/editor/common/services/semanticTokensProviderStyling.js +26 -15
- package/vscode/src/vs/editor/common/services/semanticTokensStyling.d.ts +8 -0
- package/vscode/src/vs/editor/common/services/semanticTokensStyling.js +1 -0
- package/vscode/src/vs/editor/common/services/semanticTokensStylingService.d.ts +16 -0
- package/vscode/src/vs/editor/common/services/semanticTokensStylingService.js +3 -2
- package/vscode/src/vs/editor/common/services/textModelSync/textModelSync.impl.d.ts +73 -0
- package/vscode/src/vs/editor/common/services/textModelSync/textModelSync.impl.js +1 -0
- package/vscode/src/vs/editor/common/services/textModelSync/textModelSync.protocol.d.ts +12 -0
- package/vscode/src/vs/editor/common/services/textResourceConfiguration.d.ts +12 -55
- package/vscode/src/vs/editor/common/services/textResourceConfiguration.js +1 -0
- package/vscode/src/vs/editor/common/services/treeSitterParserService.d.ts +29 -0
- package/vscode/src/vs/editor/common/services/treeSitterParserService.js +1 -0
- package/vscode/src/vs/editor/common/services/treeViewsDnd.d.ts +15 -0
- package/vscode/src/vs/editor/common/services/treeViewsDnd.js +2 -0
- package/vscode/src/vs/editor/common/services/treeViewsDndService.d.ts +5 -0
- package/vscode/src/vs/editor/common/services/treeViewsDndService.js +3 -2
- package/vscode/src/vs/editor/common/services/unicodeTextModelHighlighter.d.ts +25 -5
- package/vscode/src/vs/editor/common/services/unicodeTextModelHighlighter.js +32 -18
- package/vscode/src/vs/editor/common/standalone/standaloneEnums.d.ts +576 -0
- package/vscode/src/vs/editor/common/standalone/standaloneEnums.js +166 -161
- package/vscode/src/vs/editor/common/standaloneStrings.d.ts +56 -0
- package/vscode/src/vs/editor/common/standaloneStrings.js +62 -43
- package/vscode/src/vs/editor/common/textModelBracketPairs.d.ts +49 -0
- package/vscode/src/vs/editor/common/textModelBracketPairs.js +2 -0
- package/vscode/src/vs/editor/common/textModelEvents.d.ts +106 -18
- package/vscode/src/vs/editor/common/textModelEvents.js +16 -6
- package/vscode/src/vs/editor/common/textModelGuides.d.ts +35 -0
- package/vscode/src/vs/editor/common/textModelGuides.js +4 -2
- package/vscode/src/vs/editor/common/tokenizationRegistry.d.ts +21 -0
- package/vscode/src/vs/editor/common/tokenizationRegistry.js +4 -2
- package/vscode/src/vs/editor/common/tokenizationTextModelPart.d.ts +39 -0
- package/vscode/src/vs/editor/common/tokenizationTextModelPart.js +7 -1
- package/vscode/src/vs/editor/common/tokens/contiguousMultilineTokens.d.ts +19 -0
- package/vscode/src/vs/editor/common/tokens/contiguousMultilineTokens.js +1 -0
- package/vscode/src/vs/editor/common/tokens/contiguousMultilineTokensBuilder.d.ts +11 -0
- package/vscode/src/vs/editor/common/tokens/contiguousMultilineTokensBuilder.js +1 -0
- package/vscode/src/vs/editor/common/tokens/contiguousTokensEditing.d.ts +9 -0
- package/vscode/src/vs/editor/common/tokens/contiguousTokensEditing.js +1 -0
- package/vscode/src/vs/editor/common/tokens/contiguousTokensStore.d.ts +29 -0
- package/vscode/src/vs/editor/common/tokens/contiguousTokensStore.js +8 -7
- package/vscode/src/vs/editor/common/tokens/lineTokens.d.ts +10 -19
- package/vscode/src/vs/editor/common/tokens/lineTokens.js +12 -4
- package/vscode/src/vs/editor/common/tokens/sparseMultilineTokens.d.ts +32 -0
- package/vscode/src/vs/editor/common/tokens/sparseMultilineTokens.js +6 -4
- package/vscode/src/vs/editor/common/tokens/sparseTokensStore.d.ts +18 -0
- package/vscode/src/vs/editor/common/tokens/sparseTokensStore.js +8 -6
- package/vscode/src/vs/editor/common/tokens/tokenArray.d.ts +9 -15
- package/vscode/src/vs/editor/common/tokens/tokenArray.js +1 -0
- package/vscode/src/vs/editor/common/viewEventHandler.d.ts +29 -0
- package/vscode/src/vs/editor/common/viewEventHandler.js +20 -18
- package/vscode/src/vs/editor/common/viewEvents.d.ts +148 -0
- package/vscode/src/vs/editor/common/viewEvents.js +52 -19
- package/vscode/src/vs/editor/common/viewLayout/lineDecorations.d.ts +25 -0
- package/vscode/src/vs/editor/common/viewLayout/lineDecorations.js +10 -6
- package/vscode/src/vs/editor/common/viewLayout/linePart.d.ts +18 -0
- package/vscode/src/vs/editor/common/viewLayout/linePart.js +14 -3
- package/vscode/src/vs/editor/common/viewLayout/linesLayout.d.ts +71 -0
- package/vscode/src/vs/editor/common/viewLayout/linesLayout.js +1 -0
- package/vscode/src/vs/editor/common/viewLayout/viewLayout.d.ts +62 -0
- package/vscode/src/vs/editor/common/viewLayout/viewLayout.js +26 -23
- package/vscode/src/vs/editor/common/viewLayout/viewLineRenderer.d.ts +85 -0
- package/vscode/src/vs/editor/common/viewLayout/viewLineRenderer.js +154 -140
- package/vscode/src/vs/editor/common/viewLayout/viewLinesViewportData.d.ts +17 -0
- package/vscode/src/vs/editor/common/viewLayout/viewLinesViewportData.js +1 -0
- package/vscode/src/vs/editor/common/viewModel/glyphLanesModel.d.ts +13 -0
- package/vscode/src/vs/editor/common/viewModel/glyphLanesModel.js +1 -0
- package/vscode/src/vs/editor/common/viewModel/minimapTokensColorTracker.d.ts +16 -0
- package/vscode/src/vs/editor/common/viewModel/minimapTokensColorTracker.js +4 -2
- package/vscode/src/vs/editor/common/viewModel/modelLineProjection.d.ts +34 -0
- package/vscode/src/vs/editor/common/viewModel/modelLineProjection.js +3 -1
- package/vscode/src/vs/editor/common/viewModel/monospaceLineBreaksComputer.d.ts +9 -0
- package/vscode/src/vs/editor/common/viewModel/monospaceLineBreaksComputer.js +31 -19
- package/vscode/src/vs/editor/common/viewModel/overviewZoneManager.d.ts +47 -0
- package/vscode/src/vs/editor/common/viewModel/overviewZoneManager.js +7 -1
- package/vscode/src/vs/editor/common/viewModel/viewContext.d.ts +14 -0
- package/vscode/src/vs/editor/common/viewModel/viewContext.js +1 -0
- package/vscode/src/vs/editor/common/viewModel/viewModelDecorations.d.ts +34 -0
- package/vscode/src/vs/editor/common/viewModel/viewModelDecorations.js +12 -9
- package/vscode/src/vs/editor/common/viewModel/viewModelImpl.d.ts +142 -0
- package/vscode/src/vs/editor/common/viewModel/viewModelImpl.js +44 -39
- package/vscode/src/vs/editor/common/viewModel/viewModelLines.d.ts +142 -0
- package/vscode/src/vs/editor/common/viewModel/viewModelLines.js +16 -8
- package/vscode/src/vs/editor/common/viewModel.d.ts +210 -0
- package/vscode/src/vs/editor/common/viewModel.js +10 -2
- package/vscode/src/vs/editor/common/viewModelEventDispatcher.d.ts +164 -0
- package/vscode/src/vs/editor/common/viewModelEventDispatcher.js +31 -14
- package/vscode/src/vs/editor/contrib/anchorSelect/browser/anchorSelect.d.ts +2 -0
- package/vscode/src/vs/editor/contrib/anchorSelect/browser/anchorSelect.js +24 -25
- package/vscode/src/vs/editor/contrib/bracketMatching/browser/bracketMatching.d.ts +21 -0
- package/vscode/src/vs/editor/contrib/bracketMatching/browser/bracketMatching.js +35 -38
- package/vscode/src/vs/editor/contrib/caretOperations/browser/caretOperations.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/caretOperations/browser/caretOperations.js +5 -6
- package/vscode/src/vs/editor/contrib/caretOperations/browser/moveCaretCommand.d.ts +10 -0
- package/vscode/src/vs/editor/contrib/caretOperations/browser/moveCaretCommand.js +1 -0
- package/vscode/src/vs/editor/contrib/caretOperations/browser/transpose.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/caretOperations/browser/transpose.js +8 -6
- package/vscode/src/vs/editor/contrib/clipboard/browser/clipboard.d.ts +4 -0
- package/vscode/src/vs/editor/contrib/clipboard/browser/clipboard.js +67 -48
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeAction.d.ts +30 -0
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeAction.js +30 -37
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionCommands.d.ts +30 -0
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionCommands.js +70 -72
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionContributions.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionContributions.js +15 -14
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionController.d.ts +55 -0
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionController.js +44 -41
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionKeybindingResolver.d.ts +10 -0
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionKeybindingResolver.js +3 -2
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionMenu.d.ts +5 -0
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionMenu.js +26 -26
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionModel.d.ts +54 -0
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionModel.js +24 -21
- package/vscode/src/vs/editor/contrib/codeAction/browser/lightBulbWidget.d.ts +49 -0
- package/vscode/src/vs/editor/contrib/codeAction/browser/lightBulbWidget.js +43 -39
- package/vscode/src/vs/editor/contrib/codeAction/common/types.d.ts +80 -0
- package/vscode/src/vs/editor/contrib/codeAction/common/types.js +13 -6
- package/vscode/src/vs/editor/contrib/codelens/browser/codeLensCache.d.ts +21 -0
- package/vscode/src/vs/editor/contrib/codelens/browser/codeLensCache.js +7 -6
- package/vscode/src/vs/editor/contrib/codelens/browser/codelens.d.ts +16 -0
- package/vscode/src/vs/editor/contrib/codelens/browser/codelens.js +1 -0
- package/vscode/src/vs/editor/contrib/codelens/browser/codelensController.d.ts +37 -0
- package/vscode/src/vs/editor/contrib/codelens/browser/codelensController.js +44 -43
- package/vscode/src/vs/editor/contrib/codelens/browser/codelensWidget.d.ts +38 -0
- package/vscode/src/vs/editor/contrib/codelens/browser/codelensWidget.js +5 -2
- package/vscode/src/vs/editor/contrib/colorPicker/browser/color.d.ts +41 -0
- package/vscode/src/vs/editor/contrib/colorPicker/browser/color.js +8 -7
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorDetector.d.ts +52 -0
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorDetector.js +9 -7
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerContribution.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerContribution.js +9 -8
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerModel.d.ts +24 -0
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerModel.js +1 -0
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParticipantUtils.d.ts +18 -0
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParticipantUtils.js +9 -2
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerBody.d.ts +26 -0
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerBody.js +6 -4
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerCloseButton.d.ts +7 -0
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerCloseButton.js +3 -2
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerHeader.d.ts +22 -0
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerHeader.js +7 -5
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerInsertButton.d.ts +8 -0
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerInsertButton.js +1 -0
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerSaturationBox.d.ts +29 -0
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerSaturationBox.js +1 -0
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerStrip.d.ts +32 -0
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerStrip.js +8 -6
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerWidget.d.ts +19 -0
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerWidget.js +33 -0
- package/vscode/src/vs/editor/contrib/colorPicker/browser/defaultDocumentColorProvider.d.ts +15 -0
- package/vscode/src/vs/editor/contrib/colorPicker/browser/defaultDocumentColorProvider.js +1 -0
- package/vscode/src/vs/editor/contrib/colorPicker/browser/hoverColorPicker/hoverColorPickerContribution.d.ts +12 -0
- package/vscode/src/vs/editor/contrib/colorPicker/browser/hoverColorPicker/hoverColorPickerContribution.js +25 -20
- package/vscode/src/vs/editor/contrib/colorPicker/browser/hoverColorPicker/hoverColorPickerParticipant.d.ts +37 -0
- package/vscode/src/vs/editor/contrib/colorPicker/browser/hoverColorPicker/hoverColorPickerParticipant.js +45 -30
- package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerActions.d.ts +14 -0
- package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerActions.js +16 -18
- package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerController.d.ts +18 -0
- package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerController.js +1 -0
- package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerParticipant.d.ts +35 -0
- package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerParticipant.js +7 -5
- package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerWidget.d.ts +43 -0
- package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerWidget.js +13 -6
- package/vscode/src/vs/editor/contrib/comment/browser/blockCommentCommand.d.ts +19 -0
- package/vscode/src/vs/editor/contrib/comment/browser/blockCommentCommand.js +6 -4
- package/vscode/src/vs/editor/contrib/comment/browser/comment.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/comment/browser/comment.js +30 -31
- package/vscode/src/vs/editor/contrib/comment/browser/lineCommentCommand.d.ts +57 -0
- package/vscode/src/vs/editor/contrib/comment/browser/lineCommentCommand.js +21 -12
- package/vscode/src/vs/editor/contrib/contextmenu/browser/contextmenu.d.ts +32 -0
- package/vscode/src/vs/editor/contrib/contextmenu/browser/contextmenu.js +55 -56
- package/vscode/src/vs/editor/contrib/cursorUndo/browser/cursorUndo.d.ts +24 -0
- package/vscode/src/vs/editor/contrib/cursorUndo/browser/cursorUndo.js +14 -21
- package/vscode/src/vs/editor/contrib/diffEditorBreadcrumbs/browser/contribution.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/diffEditorBreadcrumbs/browser/contribution.js +1 -0
- package/vscode/src/vs/editor/contrib/dnd/browser/dnd.d.ts +30 -0
- package/vscode/src/vs/editor/contrib/dnd/browser/dnd.js +18 -12
- package/vscode/src/vs/editor/contrib/dnd/browser/dragAndDropCommand.d.ts +13 -0
- package/vscode/src/vs/editor/contrib/dnd/browser/dragAndDropCommand.js +1 -0
- package/vscode/src/vs/editor/contrib/documentSymbols/browser/documentSymbols.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/documentSymbols/browser/documentSymbols.js +1 -0
- package/vscode/src/vs/editor/contrib/documentSymbols/browser/outlineModel.d.ts +88 -0
- package/vscode/src/vs/editor/contrib/documentSymbols/browser/outlineModel.js +7 -3
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution.d.ts +2 -0
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution.js +53 -25
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.d.ts +62 -0
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.js +145 -99
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/defaultProviders.d.ts +37 -0
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/defaultProviders.js +49 -43
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorContribution.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorContribution.js +13 -31
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController.d.ts +32 -0
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController.js +46 -42
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/edit.d.ts +10 -0
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/edit.js +1 -0
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/postEditWidget.css.js +1 -1
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/postEditWidget.d.ts +35 -0
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/postEditWidget.js +56 -48
- package/vscode/src/vs/editor/contrib/editorState/browser/editorState.d.ts +33 -0
- package/vscode/src/vs/editor/contrib/editorState/browser/editorState.js +17 -9
- package/vscode/src/vs/editor/contrib/editorState/browser/keybindingCancellation.d.ts +8 -0
- package/vscode/src/vs/editor/contrib/editorState/browser/keybindingCancellation.js +13 -10
- package/vscode/src/vs/editor/contrib/find/browser/findController.d.ts +136 -0
- package/vscode/src/vs/editor/contrib/find/browser/findController.js +177 -178
- package/vscode/src/vs/editor/contrib/find/browser/findDecorations.d.ts +37 -0
- package/vscode/src/vs/editor/contrib/find/browser/findDecorations.js +9 -8
- package/vscode/src/vs/editor/contrib/find/browser/findModel.d.ts +69 -0
- package/vscode/src/vs/editor/contrib/find/browser/findModel.js +32 -25
- package/vscode/src/vs/editor/contrib/find/browser/findOptionsWidget.d.ts +28 -0
- package/vscode/src/vs/editor/contrib/find/browser/findOptionsWidget.js +3 -1
- package/vscode/src/vs/editor/contrib/find/browser/findState.d.ts +100 -0
- package/vscode/src/vs/editor/contrib/find/browser/findState.js +18 -11
- package/vscode/src/vs/editor/contrib/find/browser/findWidget.d.ts +129 -0
- package/vscode/src/vs/editor/contrib/find/browser/findWidget.js +105 -100
- package/vscode/src/vs/editor/contrib/find/browser/findWidgetSearchHistory.d.ts +21 -0
- package/vscode/src/vs/editor/contrib/find/browser/findWidgetSearchHistory.js +76 -0
- package/vscode/src/vs/editor/contrib/find/browser/replaceAllCommand.d.ts +13 -0
- package/vscode/src/vs/editor/contrib/find/browser/replaceAllCommand.js +1 -0
- package/vscode/src/vs/editor/contrib/find/browser/replacePattern.d.ts +18 -0
- package/vscode/src/vs/editor/contrib/find/browser/replacePattern.js +26 -19
- package/vscode/src/vs/editor/contrib/folding/browser/folding.d.ts +28 -27
- package/vscode/src/vs/editor/contrib/folding/browser/folding.js +122 -139
- package/vscode/src/vs/editor/contrib/folding/browser/foldingDecorations.d.ts +29 -0
- package/vscode/src/vs/editor/contrib/folding/browser/foldingDecorations.js +25 -23
- package/vscode/src/vs/editor/contrib/folding/browser/foldingModel.d.ts +20 -22
- package/vscode/src/vs/editor/contrib/folding/browser/foldingModel.js +7 -6
- package/vscode/src/vs/editor/contrib/folding/browser/foldingRanges.d.ts +13 -22
- package/vscode/src/vs/editor/contrib/folding/browser/foldingRanges.js +22 -14
- package/vscode/src/vs/editor/contrib/folding/browser/hiddenRangeModel.d.ts +22 -0
- package/vscode/src/vs/editor/contrib/folding/browser/hiddenRangeModel.js +1 -0
- package/vscode/src/vs/editor/contrib/folding/browser/indentRangeProvider.d.ts +26 -0
- package/vscode/src/vs/editor/contrib/folding/browser/indentRangeProvider.js +1 -0
- package/vscode/src/vs/editor/contrib/folding/browser/syntaxRangeProvider.d.ts +22 -0
- package/vscode/src/vs/editor/contrib/folding/browser/syntaxRangeProvider.js +1 -0
- package/vscode/src/vs/editor/contrib/fontZoom/browser/fontZoom.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/fontZoom/browser/fontZoom.js +5 -7
- package/vscode/src/vs/editor/contrib/format/browser/format.d.ts +37 -0
- package/vscode/src/vs/editor/contrib/format/browser/format.js +23 -11
- package/vscode/src/vs/editor/contrib/format/browser/formatActions.d.ts +18 -0
- package/vscode/src/vs/editor/contrib/format/browser/formatActions.js +47 -46
- package/vscode/src/vs/editor/contrib/format/browser/formattingEdit.d.ts +7 -0
- package/vscode/src/vs/editor/contrib/format/browser/formattingEdit.js +1 -0
- package/vscode/src/vs/editor/contrib/gotoError/browser/gotoError.d.ts +41 -0
- package/vscode/src/vs/editor/contrib/gotoError/browser/gotoError.js +41 -41
- package/vscode/src/vs/editor/contrib/gotoError/browser/gotoErrorWidget.d.ts +45 -0
- package/vscode/src/vs/editor/contrib/gotoError/browser/gotoErrorWidget.js +45 -42
- package/vscode/src/vs/editor/contrib/gotoError/browser/markerNavigationService.d.ts +41 -0
- package/vscode/src/vs/editor/contrib/gotoError/browser/markerNavigationService.js +3 -2
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/goToCommands.d.ts +44 -0
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/goToCommands.js +127 -150
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/goToSymbol.d.ts +10 -0
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/goToSymbol.js +1 -0
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/link/clickLinkGesture.d.ts +58 -0
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/link/clickLinkGesture.js +10 -7
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition.d.ts +34 -0
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition.js +28 -27
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesController.d.ts +41 -0
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesController.js +56 -65
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesTree.d.ts +71 -0
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesTree.js +21 -22
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.d.ts +66 -0
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.js +35 -30
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/referencesModel.d.ts +60 -0
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/referencesModel.js +37 -42
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/symbolNavigation.d.ts +11 -0
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/symbolNavigation.js +31 -28
- package/vscode/src/vs/editor/contrib/gpu/browser/gpuActions.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/gpu/browser/gpuActions.js +16 -14
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverComputer.d.ts +19 -0
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverComputer.js +5 -3
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverController.d.ts +66 -0
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverController.js +84 -85
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverRendered.d.ts +35 -0
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverRendered.js +37 -27
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverStatusBar.d.ts +22 -0
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverStatusBar.js +8 -2
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverTypes.d.ts +14 -0
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverTypes.js +2 -0
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverWidget.d.ts +66 -0
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverWidget.js +16 -11
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverWidgetWrapper.d.ts +63 -0
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverWidgetWrapper.js +20 -11
- package/vscode/src/vs/editor/contrib/hover/browser/getHover.d.ts +14 -0
- package/vscode/src/vs/editor/contrib/hover/browser/getHover.js +1 -0
- package/vscode/src/vs/editor/contrib/hover/browser/glyphHoverComputer.d.ts +17 -0
- package/vscode/src/vs/editor/contrib/hover/browser/glyphHoverComputer.js +1 -0
- package/vscode/src/vs/editor/contrib/hover/browser/glyphHoverController.d.ts +35 -0
- package/vscode/src/vs/editor/contrib/hover/browser/glyphHoverController.js +9 -6
- package/vscode/src/vs/editor/contrib/hover/browser/glyphHoverWidget.d.ts +31 -0
- package/vscode/src/vs/editor/contrib/hover/browser/glyphHoverWidget.js +11 -8
- package/vscode/src/vs/editor/contrib/hover/browser/hoverAccessibleViews.d.ts +61 -0
- package/vscode/src/vs/editor/contrib/hover/browser/hoverAccessibleViews.js +34 -37
- package/vscode/src/vs/editor/contrib/hover/browser/hoverActionIds.d.ts +16 -0
- package/vscode/src/vs/editor/contrib/hover/browser/hoverActionIds.js +3 -2
- package/vscode/src/vs/editor/contrib/hover/browser/hoverActions.d.ts +56 -0
- package/vscode/src/vs/editor/contrib/hover/browser/hoverActions.js +60 -65
- package/vscode/src/vs/editor/contrib/hover/browser/hoverContribution.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/hover/browser/hoverContribution.js +4 -3
- package/vscode/src/vs/editor/contrib/hover/browser/hoverOperation.d.ts +52 -0
- package/vscode/src/vs/editor/contrib/hover/browser/hoverOperation.js +39 -18
- package/vscode/src/vs/editor/contrib/hover/browser/hoverTypes.d.ts +105 -0
- package/vscode/src/vs/editor/contrib/hover/browser/hoverTypes.js +16 -9
- package/vscode/src/vs/editor/contrib/hover/browser/hoverUtils.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/hover/browser/hoverUtils.js +1 -0
- package/vscode/src/vs/editor/contrib/hover/browser/markdownHoverParticipant.d.ts +61 -0
- package/vscode/src/vs/editor/contrib/hover/browser/markdownHoverParticipant.js +73 -88
- package/vscode/src/vs/editor/contrib/hover/browser/markerHoverParticipant.d.ts +30 -0
- package/vscode/src/vs/editor/contrib/hover/browser/markerHoverParticipant.js +28 -29
- package/vscode/src/vs/editor/contrib/hover/browser/resizableContentWidget.d.ts +23 -0
- package/vscode/src/vs/editor/contrib/hover/browser/resizableContentWidget.js +7 -4
- package/vscode/src/vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace.js +20 -22
- package/vscode/src/vs/editor/contrib/inPlaceReplace/browser/inPlaceReplaceCommand.d.ts +12 -0
- package/vscode/src/vs/editor/contrib/inPlaceReplace/browser/inPlaceReplaceCommand.js +1 -0
- package/vscode/src/vs/editor/contrib/indentation/browser/indentation.d.ts +86 -0
- package/vscode/src/vs/editor/contrib/indentation/browser/indentation.js +48 -52
- package/vscode/src/vs/editor/contrib/indentation/common/indentUtils.d.ts +2 -0
- package/vscode/src/vs/editor/contrib/indentation/common/indentUtils.js +2 -0
- package/vscode/src/vs/editor/contrib/indentation/common/indentation.d.ts +4 -0
- package/vscode/src/vs/editor/contrib/indentation/common/indentation.js +3 -1
- package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHints.d.ts +35 -0
- package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHints.js +1 -0
- package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsContribution.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsContribution.js +3 -2
- package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsController.d.ts +64 -0
- package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsController.js +27 -20
- package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsHover.d.ts +24 -0
- package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsHover.js +73 -84
- package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsLocations.d.ts +7 -0
- package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsLocations.js +4 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/commandIds.d.ts +3 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/commandIds.js +2 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/commands.d.ts +57 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/commands.js +95 -90
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionContextKeys.d.ts +13 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionContextKeys.js +18 -68
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.d.ts +50 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.js +76 -112
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.d.ts +32 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.js +49 -54
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.d.ts +71 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.js +47 -45
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletions.contribution.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletions.contribution.js +7 -4
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsAccessibleView.d.ts +32 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsAccessibleView.js +5 -3
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/changeRecorder.d.ts +9 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/changeRecorder.js +57 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/computeGhostText.d.ts +5 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/computeGhostText.js +1 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/ghostText.d.ts +36 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/ghostText.js +1 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsModel.d.ts +127 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsModel.js +177 -56
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsSource.d.ts +98 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsSource.js +56 -11
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineEdit.d.ts +14 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineEdit.js +9 -3
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineEditsAdapter.d.ts +16 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineEditsAdapter.js +17 -6
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/provideInlineCompletions.d.ts +50 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/provideInlineCompletions.js +19 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/singleTextEditHelpers.d.ts +5 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/singleTextEditHelpers.js +3 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/suggestWidgetAdapter.d.ts +49 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/suggestWidgetAdapter.js +209 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/utils.d.ts +26 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/utils.js +1 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/ghostText/ghostTextView.d.ts +49 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/ghostText/ghostTextView.js +21 -19
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineCompletionsView.d.ts +21 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineCompletionsView.js +69 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineDiffView.d.ts +20 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineDiffView.js +116 -16
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsIndicatorView.d.ts +19 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsIndicatorView.js +6 -5
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsView.css.js +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsView.d.ts +45 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsView.js +142 -174
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViewAndDiffProducer.d.ts +41 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViewAndDiffProducer.js +116 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/utils.d.ts +40 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/utils.js +80 -8
- package/vscode/src/vs/editor/contrib/inlineProgress/browser/inlineProgress.d.ts +23 -0
- package/vscode/src/vs/editor/contrib/inlineProgress/browser/inlineProgress.js +8 -4
- package/vscode/src/vs/editor/contrib/lineSelection/browser/lineSelection.d.ts +6 -0
- package/vscode/src/vs/editor/contrib/lineSelection/browser/lineSelection.js +9 -6
- package/vscode/src/vs/editor/contrib/linesOperations/browser/copyLinesCommand.d.ts +15 -0
- package/vscode/src/vs/editor/contrib/linesOperations/browser/copyLinesCommand.js +3 -2
- package/vscode/src/vs/editor/contrib/linesOperations/browser/linesOperations.d.ts +120 -0
- package/vscode/src/vs/editor/contrib/linesOperations/browser/linesOperations.js +151 -193
- package/vscode/src/vs/editor/contrib/linesOperations/browser/moveLinesCommand.d.ts +24 -0
- package/vscode/src/vs/editor/contrib/linesOperations/browser/moveLinesCommand.js +5 -2
- package/vscode/src/vs/editor/contrib/linesOperations/browser/sortLinesCommand.d.ts +14 -0
- package/vscode/src/vs/editor/contrib/linesOperations/browser/sortLinesCommand.js +1 -0
- package/vscode/src/vs/editor/contrib/linkedEditing/browser/linkedEditing.d.ts +53 -0
- package/vscode/src/vs/editor/contrib/linkedEditing/browser/linkedEditing.js +40 -36
- package/vscode/src/vs/editor/contrib/links/browser/getLinks.d.ts +27 -0
- package/vscode/src/vs/editor/contrib/links/browser/getLinks.js +1 -0
- package/vscode/src/vs/editor/contrib/links/browser/links.d.ts +46 -0
- package/vscode/src/vs/editor/contrib/links/browser/links.js +45 -42
- package/vscode/src/vs/editor/contrib/longLinesHelper/browser/longLinesHelper.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/longLinesHelper/browser/longLinesHelper.js +7 -4
- package/vscode/src/vs/editor/contrib/message/browser/messageController.d.ts +24 -0
- package/vscode/src/vs/editor/contrib/message/browser/messageController.js +27 -21
- package/vscode/src/vs/editor/contrib/multicursor/browser/multicursor.d.ts +113 -0
- package/vscode/src/vs/editor/contrib/multicursor/browser/multicursor.js +147 -177
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHints.d.ts +23 -0
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHints.js +33 -31
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHintsModel.d.ts +40 -0
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHintsModel.js +22 -19
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.d.ts +37 -0
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.js +23 -21
- package/vscode/src/vs/editor/contrib/parameterHints/browser/provideSignatureHelp.d.ts +11 -0
- package/vscode/src/vs/editor/contrib/parameterHints/browser/provideSignatureHelp.js +1 -0
- package/vscode/src/vs/editor/contrib/peekView/browser/peekView.d.ts +69 -0
- package/vscode/src/vs/editor/contrib/peekView/browser/peekView.js +46 -44
- package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderText.contribution.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderText.contribution.js +4 -3
- package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderTextContribution.d.ts +14 -0
- package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderTextContribution.js +6 -4
- package/vscode/src/vs/editor/contrib/readOnlyMessage/browser/contribution.d.ts +9 -0
- package/vscode/src/vs/editor/contrib/readOnlyMessage/browser/contribution.js +7 -5
- package/vscode/src/vs/editor/contrib/rename/browser/rename.d.ts +16 -0
- package/vscode/src/vs/editor/contrib/rename/browser/rename.js +72 -75
- package/vscode/src/vs/editor/contrib/rename/browser/renameWidget.d.ts +95 -0
- package/vscode/src/vs/editor/contrib/rename/browser/renameWidget.js +64 -57
- package/vscode/src/vs/editor/contrib/sectionHeaders/browser/sectionHeaders.d.ts +22 -0
- package/vscode/src/vs/editor/contrib/sectionHeaders/browser/sectionHeaders.js +16 -12
- package/vscode/src/vs/editor/contrib/semanticTokens/browser/documentSemanticTokens.d.ts +12 -0
- package/vscode/src/vs/editor/contrib/semanticTokens/browser/documentSemanticTokens.js +19 -17
- package/vscode/src/vs/editor/contrib/semanticTokens/browser/viewportSemanticTokens.d.ts +25 -0
- package/vscode/src/vs/editor/contrib/semanticTokens/browser/viewportSemanticTokens.js +3 -2
- package/vscode/src/vs/editor/contrib/semanticTokens/common/getSemanticTokens.d.ts +23 -0
- package/vscode/src/vs/editor/contrib/semanticTokens/common/getSemanticTokens.js +1 -0
- package/vscode/src/vs/editor/contrib/semanticTokens/common/semanticTokensConfig.d.ts +8 -0
- package/vscode/src/vs/editor/contrib/semanticTokens/common/semanticTokensConfig.js +2 -0
- package/vscode/src/vs/editor/contrib/smartSelect/browser/bracketSelections.d.ts +11 -0
- package/vscode/src/vs/editor/contrib/smartSelect/browser/bracketSelections.js +1 -0
- package/vscode/src/vs/editor/contrib/smartSelect/browser/smartSelect.d.ts +26 -0
- package/vscode/src/vs/editor/contrib/smartSelect/browser/smartSelect.js +85 -85
- package/vscode/src/vs/editor/contrib/smartSelect/browser/wordSelections.d.ts +11 -0
- package/vscode/src/vs/editor/contrib/smartSelect/browser/wordSelections.js +4 -2
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetController2.d.ts +51 -0
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetController2.js +36 -32
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetParser.d.ts +144 -0
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetParser.js +108 -81
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetSession.d.ts +85 -0
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetSession.js +11 -7
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetVariables.d.ts +65 -0
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetVariables.js +13 -12
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollActions.d.ts +27 -0
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollActions.js +25 -25
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollContribution.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollContribution.js +3 -2
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollController.d.ts +77 -0
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollController.js +20 -16
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollElement.d.ts +19 -0
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollElement.js +2 -0
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollModelProvider.d.ts +20 -0
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollModelProvider.js +7 -5
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollProvider.d.ts +41 -0
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollProvider.js +4 -2
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollWidget.d.ts +78 -0
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollWidget.js +14 -11
- package/vscode/src/vs/editor/contrib/suggest/browser/completionModel.d.ts +39 -0
- package/vscode/src/vs/editor/contrib/suggest/browser/completionModel.js +19 -10
- package/vscode/src/vs/editor/contrib/suggest/browser/suggest.d.ts +95 -0
- package/vscode/src/vs/editor/contrib/suggest/browser/suggest.js +68 -61
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestAlternatives.d.ts +22 -0
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestAlternatives.js +2 -1
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestCommitCharacters.d.ts +11 -0
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestCommitCharacters.js +5 -2
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestController.d.ts +82 -0
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestController.js +195 -231
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestInlineCompletions.d.ts +50 -0
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestInlineCompletions.js +7 -4
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestMemory.d.ts +72 -0
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestMemory.js +7 -6
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestModel.d.ts +99 -0
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestModel.js +67 -57
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestOvertypingCapturer.d.ts +15 -0
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestOvertypingCapturer.js +1 -0
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidget.d.ts +132 -0
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidget.js +113 -99
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetDetails.d.ts +72 -0
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetDetails.js +27 -25
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.d.ts +39 -0
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.js +26 -24
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetStatus.d.ts +17 -0
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetStatus.js +1 -0
- package/vscode/src/vs/editor/contrib/suggest/browser/wordContextKey.d.ts +14 -0
- package/vscode/src/vs/editor/contrib/suggest/browser/wordContextKey.js +4 -2
- package/vscode/src/vs/editor/contrib/suggest/browser/wordDistance.d.ts +11 -0
- package/vscode/src/vs/editor/contrib/suggest/browser/wordDistance.js +5 -2
- package/vscode/src/vs/editor/contrib/symbolIcons/browser/symbolIcons.d.ts +33 -0
- package/vscode/src/vs/editor/contrib/symbolIcons/browser/symbolIcons.js +34 -33
- package/vscode/src/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.d.ts +6 -0
- package/vscode/src/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.js +10 -7
- package/vscode/src/vs/editor/contrib/tokenization/browser/tokenization.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/tokenization/browser/tokenization.js +4 -4
- package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/bannerController.d.ts +22 -0
- package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/bannerController.js +1 -0
- package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.d.ts +97 -0
- package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js +98 -100
- package/vscode/src/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.d.ts +15 -0
- package/vscode/src/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.js +17 -15
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.d.ts +4 -0
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.js +21 -20
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/textualHighlightProvider.d.ts +5 -0
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/textualHighlightProvider.js +1 -0
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.d.ts +76 -0
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.js +61 -71
- package/vscode/src/vs/editor/contrib/wordOperations/browser/wordOperations.d.ts +116 -0
- package/vscode/src/vs/editor/contrib/wordOperations/browser/wordOperations.js +102 -122
- package/vscode/src/vs/editor/contrib/wordPartOperations/browser/wordPartOperations.d.ts +32 -0
- package/vscode/src/vs/editor/contrib/wordPartOperations/browser/wordPartOperations.js +22 -19
- package/vscode/src/vs/editor/contrib/zoneWidget/browser/zoneWidget.d.ts +94 -0
- package/vscode/src/vs/editor/contrib/zoneWidget/browser/zoneWidget.js +35 -11
- package/vscode/src/vs/editor/editor.all.d.ts +1 -0
- package/vscode/src/vs/editor/editor.worker.d.ts +1 -0
- package/vscode/src/vs/editor/standalone/browser/iPadShowKeyboard/iPadShowKeyboard.d.ts +11 -0
- package/vscode/src/vs/editor/standalone/browser/iPadShowKeyboard/iPadShowKeyboard.js +7 -4
- package/vscode/src/vs/editor/standalone/browser/quickInput/standaloneQuickInputService.d.ts +61 -0
- package/vscode/src/vs/editor/standalone/browser/quickInput/standaloneQuickInputService.js +5 -3
- package/vscode/src/vs/editor/standalone/browser/standaloneCodeEditor.d.ts +79 -14
- package/vscode/src/vs/editor/standalone/browser/standaloneCodeEditor.js +1 -0
- package/vscode/src/vs/editor/standalone/browser/standaloneCodeEditorService.d.ts +14 -0
- package/vscode/src/vs/editor/standalone/browser/standaloneCodeEditorService.js +6 -4
- package/vscode/src/vs/editor/standalone/browser/standaloneLayoutService.d.ts +31 -0
- package/vscode/src/vs/editor/standalone/browser/standaloneLayoutService.js +3 -2
- package/vscode/src/vs/editor/standalone/browser/standaloneServices.d.ts +104 -15
- package/vscode/src/vs/editor/standalone/browser/standaloneServices.js +50 -46
- package/vscode/src/vs/editor/standalone/browser/standaloneThemeService.d.ts +43 -0
- package/vscode/src/vs/editor/standalone/browser/standaloneThemeService.js +8 -6
- package/vscode/src/vs/editor/standalone/browser/standaloneTreeSitterService.d.ts +20 -0
- package/vscode/src/vs/editor/standalone/browser/standaloneTreeSitterService.js +4 -0
- package/vscode/src/vs/editor/standalone/common/standaloneTheme.d.ts +28 -0
- package/vscode/src/vs/editor/standalone/common/standaloneTheme.js +1 -0
- package/vscode/src/vs/editor/standalone/common/themes.d.ts +5 -0
- package/vscode/src/vs/editor/standalone/common/themes.js +1 -0
- package/vscode/src/vs/nls.d.ts +44 -3
- package/vscode/src/vs/nls.js +2 -1
- package/vscode/src/vs/nls.messages.d.ts +2 -0
- package/vscode/src/vs/nls.messages.js +2 -0
- package/vscode/src/vs/platform/accessibility/browser/accessibilityService.d.ts +34 -0
- package/vscode/src/vs/platform/accessibility/browser/accessibilityService.js +4 -3
- package/vscode/src/vs/platform/accessibility/browser/accessibleView.d.ts +110 -0
- package/vscode/src/vs/platform/accessibility/browser/accessibleView.js +36 -1
- package/vscode/src/vs/platform/accessibility/browser/accessibleView.service.d.ts +20 -0
- package/vscode/src/vs/platform/accessibility/browser/accessibleView.service.js +1 -0
- package/vscode/src/vs/platform/accessibility/browser/accessibleViewRegistry.d.ts +16 -0
- package/vscode/src/vs/platform/accessibility/browser/accessibleViewRegistry.js +2 -0
- package/vscode/src/vs/platform/accessibility/common/accessibility.d.ts +10 -3
- package/vscode/src/vs/platform/accessibility/common/accessibility.js +8 -1
- package/vscode/src/vs/platform/accessibility/common/accessibility.service.d.ts +15 -0
- package/vscode/src/vs/platform/accessibility/common/accessibility.service.js +1 -0
- package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.d.ts +46 -25
- package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +113 -104
- package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.service.d.ts +6 -17
- package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.service.js +1 -0
- package/vscode/src/vs/platform/action/common/action.d.ts +14 -46
- package/vscode/src/vs/platform/action/common/action.js +2 -0
- package/vscode/src/vs/platform/action/common/actionCommonCategories.d.ts +7 -11
- package/vscode/src/vs/platform/action/common/actionCommonCategories.js +9 -8
- package/vscode/src/vs/platform/actionWidget/browser/actionList.d.ts +56 -0
- package/vscode/src/vs/platform/actionWidget/browser/actionList.js +37 -30
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.d.ts +10 -0
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.js +34 -31
- package/vscode/src/vs/platform/actionWidget/common/actionWidget.d.ts +8 -0
- package/vscode/src/vs/platform/actions/browser/actionViewItemService.service.d.ts +13 -0
- package/vscode/src/vs/platform/actions/browser/actionViewItemService.service.js +1 -0
- package/vscode/src/vs/platform/actions/browser/floatingMenu.d.ts +37 -0
- package/vscode/src/vs/platform/actions/browser/floatingMenu.js +3 -3
- package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.d.ts +109 -0
- package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.js +80 -91
- package/vscode/src/vs/platform/actions/browser/toolbar.d.ts +31 -51
- package/vscode/src/vs/platform/actions/browser/toolbar.js +40 -35
- package/vscode/src/vs/platform/actions/common/actions.contribution.d.ts +1 -0
- package/vscode/src/vs/platform/actions/common/actions.contribution.js +2 -0
- package/vscode/src/vs/platform/actions/common/actions.d.ts +69 -40
- package/vscode/src/vs/platform/actions/common/actions.js +6 -0
- package/vscode/src/vs/platform/actions/common/actions.service.d.ts +4 -28
- package/vscode/src/vs/platform/actions/common/actions.service.js +1 -0
- package/vscode/src/vs/platform/actions/common/menuResetAction.d.ts +6 -0
- package/vscode/src/vs/platform/actions/common/menuResetAction.js +2 -1
- package/vscode/src/vs/platform/actions/common/menuService.d.ts +23 -0
- package/vscode/src/vs/platform/actions/common/menuService.js +64 -66
- package/vscode/src/vs/platform/assignment/common/assignment.d.ts +33 -0
- package/vscode/src/vs/platform/clipboard/browser/clipboardService.d.ts +30 -0
- package/vscode/src/vs/platform/clipboard/browser/clipboardService.js +1 -0
- package/vscode/src/vs/platform/clipboard/common/clipboardService.service.d.ts +3 -37
- package/vscode/src/vs/platform/clipboard/common/clipboardService.service.js +1 -0
- package/vscode/src/vs/platform/commands/common/commands.d.ts +13 -23
- package/vscode/src/vs/platform/commands/common/commands.js +1 -0
- package/vscode/src/vs/platform/commands/common/commands.service.d.ts +4 -8
- package/vscode/src/vs/platform/commands/common/commands.service.js +1 -0
- package/vscode/src/vs/platform/configuration/common/configuration.d.ts +37 -22
- package/vscode/src/vs/platform/configuration/common/configuration.js +11 -10
- package/vscode/src/vs/platform/configuration/common/configuration.service.d.ts +5 -35
- package/vscode/src/vs/platform/configuration/common/configuration.service.js +1 -0
- package/vscode/src/vs/platform/configuration/common/configurationModels.d.ts +169 -0
- package/vscode/src/vs/platform/configuration/common/configurationModels.js +24 -7
- package/vscode/src/vs/platform/configuration/common/configurationRegistry.d.ts +61 -137
- package/vscode/src/vs/platform/configuration/common/configurationRegistry.js +63 -62
- package/vscode/src/vs/platform/configuration/common/configurations.d.ts +48 -0
- package/vscode/src/vs/platform/configuration/common/configurations.js +73 -5
- package/vscode/src/vs/platform/contextkey/browser/contextKeyService.d.ts +54 -0
- package/vscode/src/vs/platform/contextkey/browser/contextKeyService.js +52 -69
- package/vscode/src/vs/platform/contextkey/common/contextkey.d.ts +74 -35
- package/vscode/src/vs/platform/contextkey/common/contextkey.js +190 -243
- package/vscode/src/vs/platform/contextkey/common/contextkey.service.d.ts +4 -8
- package/vscode/src/vs/platform/contextkey/common/contextkey.service.js +1 -0
- package/vscode/src/vs/platform/contextkey/common/contextkeys.d.ts +12 -0
- package/vscode/src/vs/platform/contextkey/common/contextkeys.js +11 -10
- package/vscode/src/vs/platform/contextkey/common/scanner.d.ts +121 -0
- package/vscode/src/vs/platform/contextkey/common/scanner.js +104 -78
- package/vscode/src/vs/platform/contextview/browser/contextMenuHandler.d.ts +24 -0
- package/vscode/src/vs/platform/contextview/browser/contextMenuHandler.js +1 -0
- package/vscode/src/vs/platform/contextview/browser/contextMenuService.d.ts +32 -0
- package/vscode/src/vs/platform/contextview/browser/contextMenuService.js +6 -5
- package/vscode/src/vs/platform/contextview/browser/contextView.d.ts +11 -32
- package/vscode/src/vs/platform/contextview/browser/contextView.service.d.ts +9 -12
- package/vscode/src/vs/platform/contextview/browser/contextView.service.js +1 -0
- package/vscode/src/vs/platform/contextview/browser/contextViewService.d.ts +18 -0
- package/vscode/src/vs/platform/contextview/browser/contextViewService.js +7 -6
- package/vscode/src/vs/platform/debug/common/extensionHostDebug.d.ts +19 -0
- package/vscode/src/vs/platform/debug/common/extensionHostDebug.service.d.ts +15 -0
- package/vscode/src/vs/platform/debug/common/extensionHostDebug.service.js +1 -0
- package/vscode/src/vs/platform/diagnostics/common/diagnostics.d.ts +68 -12
- package/vscode/src/vs/platform/diagnostics/common/diagnostics.js +2 -0
- package/vscode/src/vs/platform/diagnostics/common/diagnostics.service.d.ts +13 -0
- package/vscode/src/vs/platform/diagnostics/common/diagnostics.service.js +1 -0
- package/vscode/src/vs/platform/dialogs/common/dialogs.service.d.ts +8 -98
- package/vscode/src/vs/platform/dialogs/common/dialogs.service.js +1 -0
- package/vscode/src/vs/platform/dnd/browser/dnd.d.ts +68 -0
- package/vscode/src/vs/platform/dnd/browser/dnd.js +37 -23
- package/vscode/src/vs/platform/download/common/download.service.d.ts +7 -0
- package/vscode/src/vs/platform/download/common/download.service.js +1 -0
- package/vscode/src/vs/platform/editor/common/editor.d.ts +32 -243
- package/vscode/src/vs/platform/editor/common/editor.js +31 -7
- package/vscode/src/vs/platform/encryption/common/encryptionService.service.d.ts +9 -0
- package/vscode/src/vs/platform/encryption/common/encryptionService.service.js +1 -0
- package/vscode/src/vs/platform/environment/common/argv.d.ts +135 -0
- package/vscode/src/vs/platform/environment/common/environment.d.ts +3 -10
- package/vscode/src/vs/platform/environment/common/environment.service.d.ts +21 -14
- package/vscode/src/vs/platform/environment/common/environment.service.js +1 -0
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.d.ts +210 -37
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +144 -54
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.service.d.ts +62 -11
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.service.js +3 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagementUtil.d.ts +37 -0
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagementUtil.js +5 -4
- package/vscode/src/vs/platform/extensionManagement/common/extensionNls.d.ts +4 -3
- package/vscode/src/vs/platform/extensionManagement/common/extensionNls.js +2 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionStorage.service.d.ts +17 -0
- package/vscode/src/vs/platform/extensionManagement/common/extensionStorage.service.js +1 -0
- package/vscode/src/vs/platform/extensionManagement/common/extensionsProfileScannerService.d.ts +73 -0
- package/vscode/src/vs/platform/extensionManagement/common/extensionsProfileScannerService.js +15 -9
- package/vscode/src/vs/platform/extensionManagement/common/extensionsProfileScannerService.service.d.ts +23 -0
- package/vscode/src/vs/platform/extensionManagement/common/extensionsProfileScannerService.service.js +1 -0
- package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.d.ts +142 -0
- package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.js +158 -161
- package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.service.d.ts +23 -0
- package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.service.js +1 -0
- package/vscode/src/vs/platform/extensionManagement/common/implicitActivationEvents.d.ts +17 -0
- package/vscode/src/vs/platform/extensionManagement/common/implicitActivationEvents.js +1 -0
- package/vscode/src/vs/platform/extensionRecommendations/common/extensionRecommendations.service.d.ts +10 -0
- package/vscode/src/vs/platform/extensionRecommendations/common/extensionRecommendations.service.js +1 -0
- package/vscode/src/vs/platform/extensionResourceLoader/common/extensionResourceLoader.service.d.ts +4 -23
- package/vscode/src/vs/platform/extensionResourceLoader/common/extensionResourceLoader.service.js +1 -0
- package/vscode/src/vs/platform/extensions/common/extensionValidator.d.ts +44 -0
- package/vscode/src/vs/platform/extensions/common/extensionValidator.js +33 -27
- package/vscode/src/vs/platform/extensions/common/extensions.d.ts +142 -1053
- package/vscode/src/vs/platform/extensions/common/extensions.js +23 -1
- package/vscode/src/vs/platform/extensions/common/extensions.service.d.ts +6 -0
- package/vscode/src/vs/platform/extensions/common/extensions.service.js +1 -0
- package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.d.ts +407 -0
- package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.js +27 -24
- package/vscode/src/vs/platform/files/browser/htmlFileSystemProvider.d.ts +13 -13
- package/vscode/src/vs/platform/files/browser/htmlFileSystemProvider.js +23 -28
- package/vscode/src/vs/platform/files/browser/webFileSystemAccess.d.ts +25 -0
- package/vscode/src/vs/platform/files/browser/webFileSystemAccess.js +6 -4
- package/vscode/src/vs/platform/files/common/files.d.ts +200 -464
- package/vscode/src/vs/platform/files/common/files.js +92 -65
- package/vscode/src/vs/platform/files/common/files.service.d.ts +8 -172
- package/vscode/src/vs/platform/files/common/files.service.js +1 -0
- package/vscode/src/vs/platform/files/common/watcher.d.ts +97 -0
- package/vscode/src/vs/platform/files/common/watcher.js +1 -0
- package/vscode/src/vs/platform/history/browser/contextScopedHistoryWidget.d.ts +23 -0
- package/vscode/src/vs/platform/history/browser/contextScopedHistoryWidget.js +26 -34
- package/vscode/src/vs/platform/history/browser/historyWidgetKeybindingHint.d.ts +2 -0
- package/vscode/src/vs/platform/history/browser/historyWidgetKeybindingHint.js +2 -0
- package/vscode/src/vs/platform/hover/browser/hover.d.ts +23 -0
- package/vscode/src/vs/platform/hover/browser/hover.js +8 -2
- package/vscode/src/vs/platform/hover/browser/hover.service.d.ts +3 -7
- package/vscode/src/vs/platform/hover/browser/hover.service.js +1 -0
- package/vscode/src/vs/platform/instantiation/common/descriptors.d.ts +2 -4
- package/vscode/src/vs/platform/instantiation/common/descriptors.js +2 -0
- package/vscode/src/vs/platform/instantiation/common/extensions.d.ts +13 -0
- package/vscode/src/vs/platform/instantiation/common/extensions.js +7 -1
- package/vscode/src/vs/platform/instantiation/common/graph.d.ts +21 -0
- package/vscode/src/vs/platform/instantiation/common/graph.js +2 -0
- package/vscode/src/vs/platform/instantiation/common/instantiation.d.ts +34 -44
- package/vscode/src/vs/platform/instantiation/common/instantiation.js +4 -2
- package/vscode/src/vs/platform/instantiation/common/instantiationService.d.ts +56 -0
- package/vscode/src/vs/platform/instantiation/common/instantiationService.js +13 -5
- package/vscode/src/vs/platform/instantiation/common/serviceCollection.d.ts +7 -7
- package/vscode/src/vs/platform/instantiation/common/serviceCollection.js +2 -0
- package/vscode/src/vs/platform/ipc/common/services.d.ts +6 -0
- package/vscode/src/vs/platform/jsonschemas/common/jsonContributionRegistry.d.ts +7 -25
- package/vscode/src/vs/platform/jsonschemas/common/jsonContributionRegistry.js +1 -0
- package/vscode/src/vs/platform/keybinding/common/abstractKeybindingService.d.ts +61 -0
- package/vscode/src/vs/platform/keybinding/common/abstractKeybindingService.js +26 -24
- package/vscode/src/vs/platform/keybinding/common/baseResolvedKeybinding.d.ts +24 -0
- package/vscode/src/vs/platform/keybinding/common/baseResolvedKeybinding.js +1 -0
- package/vscode/src/vs/platform/keybinding/common/keybinding.d.ts +6 -9
- package/vscode/src/vs/platform/keybinding/common/keybinding.service.d.ts +10 -41
- package/vscode/src/vs/platform/keybinding/common/keybinding.service.js +1 -0
- package/vscode/src/vs/platform/keybinding/common/keybindingResolver.d.ts +9 -34
- package/vscode/src/vs/platform/keybinding/common/keybindingResolver.js +21 -11
- package/vscode/src/vs/platform/keybinding/common/keybindingsRegistry.d.ts +21 -17
- package/vscode/src/vs/platform/keybinding/common/keybindingsRegistry.js +13 -4
- package/vscode/src/vs/platform/keybinding/common/resolvedKeybindingItem.d.ts +4 -6
- package/vscode/src/vs/platform/keybinding/common/resolvedKeybindingItem.js +4 -1
- package/vscode/src/vs/platform/keybinding/common/usLayoutResolvedKeybinding.d.ts +18 -0
- package/vscode/src/vs/platform/keybinding/common/usLayoutResolvedKeybinding.js +65 -63
- package/vscode/src/vs/platform/keyboardLayout/common/keyboardLayout.service.d.ts +14 -0
- package/vscode/src/vs/platform/keyboardLayout/common/keyboardLayout.service.js +1 -0
- package/vscode/src/vs/platform/label/common/label.service.d.ts +9 -24
- package/vscode/src/vs/platform/label/common/label.service.js +1 -0
- package/vscode/src/vs/platform/languagePacks/common/languagePacks.service.d.ts +4 -8
- package/vscode/src/vs/platform/languagePacks/common/languagePacks.service.js +1 -0
- package/vscode/src/vs/platform/layout/browser/layoutService.d.ts +1 -9
- package/vscode/src/vs/platform/layout/browser/layoutService.service.d.ts +6 -61
- package/vscode/src/vs/platform/layout/browser/layoutService.service.js +1 -0
- package/vscode/src/vs/platform/list/browser/listService.d.ts +202 -0
- package/vscode/src/vs/platform/list/browser/listService.js +139 -143
- package/vscode/src/vs/platform/list/browser/listService.service.d.ts +6 -0
- package/vscode/src/vs/platform/list/browser/listService.service.js +1 -0
- package/vscode/src/vs/platform/log/common/log.d.ts +124 -41
- package/vscode/src/vs/platform/log/common/log.js +36 -29
- package/vscode/src/vs/platform/log/common/log.service.d.ts +8 -64
- package/vscode/src/vs/platform/log/common/log.service.js +1 -0
- package/vscode/src/vs/platform/log/common/logService.d.ts +18 -0
- package/vscode/src/vs/platform/log/common/logService.js +1 -0
- package/vscode/src/vs/platform/markers/common/markerService.d.ts +25 -0
- package/vscode/src/vs/platform/markers/common/markerService.js +1 -0
- package/vscode/src/vs/platform/markers/common/markers.d.ts +22 -31
- package/vscode/src/vs/platform/markers/common/markers.js +21 -15
- package/vscode/src/vs/platform/markers/common/markers.service.d.ts +5 -9
- package/vscode/src/vs/platform/markers/common/markers.service.js +1 -0
- package/vscode/src/vs/platform/notification/common/notification.d.ts +24 -204
- package/vscode/src/vs/platform/notification/common/notification.js +7 -6
- package/vscode/src/vs/platform/notification/common/notification.service.d.ts +6 -79
- package/vscode/src/vs/platform/notification/common/notification.service.js +1 -0
- package/vscode/src/vs/platform/observable/common/platformObservableUtils.d.ts +7 -0
- package/vscode/src/vs/platform/observable/common/platformObservableUtils.js +1 -0
- package/vscode/src/vs/platform/observable/common/wrapInHotClass.d.ts +11 -0
- package/vscode/src/vs/platform/observable/common/wrapInHotClass.js +1 -0
- package/vscode/src/vs/platform/observable/common/wrapInReloadableClass.d.ts +9 -0
- package/vscode/src/vs/platform/observable/common/wrapInReloadableClass.js +1 -0
- package/vscode/src/vs/platform/opener/browser/link.d.ts +23 -3
- package/vscode/src/vs/platform/opener/browser/link.js +3 -1
- package/vscode/src/vs/platform/opener/common/opener.d.ts +18 -32
- package/vscode/src/vs/platform/opener/common/opener.js +2 -0
- package/vscode/src/vs/platform/opener/common/opener.service.d.ts +5 -36
- package/vscode/src/vs/platform/opener/common/opener.service.js +1 -0
- package/vscode/src/vs/platform/policy/common/policy.d.ts +30 -3
- package/vscode/src/vs/platform/policy/common/policy.js +1 -0
- package/vscode/src/vs/platform/policy/common/policy.service.d.ts +14 -0
- package/vscode/src/vs/platform/policy/common/policy.service.js +1 -0
- package/vscode/src/vs/platform/product/common/product.d.ts +3 -0
- package/vscode/src/vs/platform/product/common/product.js +1 -0
- package/vscode/src/vs/platform/product/common/productService.d.ts +1 -0
- package/vscode/src/vs/platform/product/common/productService.js +2 -0
- package/vscode/src/vs/platform/product/common/productService.service.d.ts +3 -7
- package/vscode/src/vs/platform/product/common/productService.service.js +1 -0
- package/vscode/src/vs/platform/profiling/common/profiling.d.ts +29 -0
- package/vscode/src/vs/platform/progress/common/progress.d.ts +85 -14
- package/vscode/src/vs/platform/progress/common/progress.js +11 -1
- package/vscode/src/vs/platform/progress/common/progress.service.d.ts +11 -0
- package/vscode/src/vs/platform/progress/common/progress.service.js +1 -0
- package/vscode/src/vs/platform/quickinput/browser/quickAccess.d.ts +20 -0
- package/vscode/src/vs/platform/quickinput/browser/quickAccess.js +1 -0
- package/vscode/src/vs/platform/quickinput/browser/quickInput.d.ts +361 -0
- package/vscode/src/vs/platform/quickinput/browser/quickInput.js +52 -50
- package/vscode/src/vs/platform/quickinput/browser/quickInputActions.d.ts +1 -0
- package/vscode/src/vs/platform/quickinput/browser/quickInputActions.js +35 -39
- package/vscode/src/vs/platform/quickinput/browser/quickInputBox.d.ts +38 -0
- package/vscode/src/vs/platform/quickinput/browser/quickInputBox.js +4 -2
- package/vscode/src/vs/platform/quickinput/browser/quickInputController.d.ts +81 -0
- package/vscode/src/vs/platform/quickinput/browser/quickInputController.js +185 -192
- package/vscode/src/vs/platform/quickinput/browser/quickInputService.d.ts +59 -0
- package/vscode/src/vs/platform/quickinput/browser/quickInputService.js +1 -0
- package/vscode/src/vs/platform/quickinput/browser/quickInputTree.d.ts +106 -0
- package/vscode/src/vs/platform/quickinput/browser/quickInputTree.js +89 -120
- package/vscode/src/vs/platform/quickinput/browser/quickInputUtils.d.ts +8 -0
- package/vscode/src/vs/platform/quickinput/browser/quickInputUtils.js +12 -9
- package/vscode/src/vs/platform/quickinput/common/quickAccess.d.ts +53 -46
- package/vscode/src/vs/platform/quickinput/common/quickAccess.js +3 -2
- package/vscode/src/vs/platform/quickinput/common/quickInput.d.ts +54 -477
- package/vscode/src/vs/platform/quickinput/common/quickInput.js +16 -9
- package/vscode/src/vs/platform/quickinput/common/quickInput.service.d.ts +7 -63
- package/vscode/src/vs/platform/quickinput/common/quickInput.service.js +1 -0
- package/vscode/src/vs/platform/registry/common/platform.d.ts +2 -18
- package/vscode/src/vs/platform/registry/common/platform.js +1 -0
- package/vscode/src/vs/platform/remote/common/remoteAgentEnvironment.d.ts +7 -10
- package/vscode/src/vs/platform/remote/common/remoteAuthorityResolver.d.ts +27 -15
- package/vscode/src/vs/platform/remote/common/remoteAuthorityResolver.js +11 -7
- package/vscode/src/vs/platform/remote/common/remoteAuthorityResolver.service.d.ts +5 -16
- package/vscode/src/vs/platform/remote/common/remoteAuthorityResolver.service.js +1 -0
- package/vscode/src/vs/platform/remote/common/remoteExtensionsScanner.service.d.ts +3 -7
- package/vscode/src/vs/platform/remote/common/remoteExtensionsScanner.service.js +1 -0
- package/vscode/src/vs/platform/remote/common/remoteHosts.d.ts +13 -0
- package/vscode/src/vs/platform/remote/common/remoteHosts.js +1 -0
- package/vscode/src/vs/platform/remote/common/remoteSocketFactoryService.service.d.ts +6 -16
- package/vscode/src/vs/platform/remote/common/remoteSocketFactoryService.service.js +1 -0
- package/vscode/src/vs/platform/request/common/request.d.ts +36 -0
- package/vscode/src/vs/platform/request/common/request.js +36 -26
- package/vscode/src/vs/platform/request/common/request.service.d.ts +12 -0
- package/vscode/src/vs/platform/request/common/request.service.js +1 -0
- package/vscode/src/vs/platform/secrets/common/secrets.service.d.ts +4 -8
- package/vscode/src/vs/platform/secrets/common/secrets.service.js +1 -0
- package/vscode/src/vs/platform/severityIcon/browser/severityIcon.d.ts +4 -0
- package/vscode/src/vs/platform/severityIcon/browser/severityIcon.js +3 -2
- package/vscode/src/vs/platform/sign/common/sign.d.ts +5 -0
- package/vscode/src/vs/platform/sign/common/sign.js +2 -0
- package/vscode/src/vs/platform/sign/common/sign.service.d.ts +8 -0
- package/vscode/src/vs/platform/sign/common/sign.service.js +1 -0
- package/vscode/src/vs/platform/storage/common/storage.d.ts +40 -66
- package/vscode/src/vs/platform/storage/common/storage.js +29 -28
- package/vscode/src/vs/platform/storage/common/storage.service.d.ts +8 -132
- package/vscode/src/vs/platform/storage/common/storage.service.js +1 -0
- package/vscode/src/vs/platform/telemetry/common/commonProperties.d.ts +3 -0
- package/vscode/src/vs/platform/telemetry/common/gdprTypings.d.ts +12 -13
- package/vscode/src/vs/platform/telemetry/common/telemetry.d.ts +22 -5
- package/vscode/src/vs/platform/telemetry/common/telemetry.js +17 -1
- package/vscode/src/vs/platform/telemetry/common/telemetry.service.d.ts +11 -21
- package/vscode/src/vs/platform/telemetry/common/telemetry.service.js +1 -0
- package/vscode/src/vs/platform/telemetry/common/telemetryUtils.d.ts +71 -0
- package/vscode/src/vs/platform/telemetry/common/telemetryUtils.js +14 -12
- package/vscode/src/vs/platform/terminal/common/environmentVariableShared.d.ts +7 -0
- package/vscode/src/vs/platform/terminal/common/environmentVariableShared.js +2 -0
- package/vscode/src/vs/platform/terminal/common/terminal.d.ts +298 -294
- package/vscode/src/vs/platform/terminal/common/terminal.js +187 -7
- package/vscode/src/vs/platform/terminal/common/terminal.service.d.ts +87 -12
- package/vscode/src/vs/platform/terminal/common/terminal.service.js +1 -0
- package/vscode/src/vs/platform/terminal/common/terminalDataBuffering.d.ts +12 -0
- package/vscode/src/vs/platform/terminal/common/terminalDataBuffering.js +2 -0
- package/vscode/src/vs/platform/terminal/common/terminalProcess.d.ts +39 -6
- package/vscode/src/vs/platform/theme/browser/defaultStyles.d.ts +43 -0
- package/vscode/src/vs/platform/theme/browser/defaultStyles.js +1 -0
- package/vscode/src/vs/platform/theme/browser/iconsStyleSheet.d.ts +14 -0
- package/vscode/src/vs/platform/theme/browser/iconsStyleSheet.js +18 -14
- package/vscode/src/vs/platform/theme/common/colorRegistry.d.ts +11 -0
- package/vscode/src/vs/platform/theme/common/colorUtils.d.ts +46 -13
- package/vscode/src/vs/platform/theme/common/colorUtils.js +40 -35
- package/vscode/src/vs/platform/theme/common/colors/baseColors.d.ts +17 -0
- package/vscode/src/vs/platform/theme/common/colors/baseColors.js +19 -18
- package/vscode/src/vs/platform/theme/common/colors/chartsColors.d.ts +8 -0
- package/vscode/src/vs/platform/theme/common/colors/chartsColors.js +9 -8
- package/vscode/src/vs/platform/theme/common/colors/editorColors.d.ts +97 -0
- package/vscode/src/vs/platform/theme/common/colors/editorColors.js +106 -105
- package/vscode/src/vs/platform/theme/common/colors/inputColors.d.ts +45 -0
- package/vscode/src/vs/platform/theme/common/colors/inputColors.js +50 -49
- package/vscode/src/vs/platform/theme/common/colors/listColors.d.ts +36 -0
- package/vscode/src/vs/platform/theme/common/colors/listColors.js +40 -39
- package/vscode/src/vs/platform/theme/common/colors/menuColors.d.ts +7 -0
- package/vscode/src/vs/platform/theme/common/colors/menuColors.js +8 -7
- package/vscode/src/vs/platform/theme/common/colors/minimapColors.d.ts +11 -0
- package/vscode/src/vs/platform/theme/common/colors/minimapColors.js +13 -12
- package/vscode/src/vs/platform/theme/common/colors/miscColors.d.ts +15 -0
- package/vscode/src/vs/platform/theme/common/colors/miscColors.js +18 -10
- package/vscode/src/vs/platform/theme/common/colors/quickpickColors.d.ts +9 -0
- package/vscode/src/vs/platform/theme/common/colors/quickpickColors.js +11 -10
- package/vscode/src/vs/platform/theme/common/colors/searchColors.d.ts +3 -0
- package/vscode/src/vs/platform/theme/common/colors/searchColors.js +4 -3
- package/vscode/src/vs/platform/theme/common/iconRegistry.d.ts +28 -52
- package/vscode/src/vs/platform/theme/common/iconRegistry.js +33 -23
- package/vscode/src/vs/platform/theme/common/theme.d.ts +3 -6
- package/vscode/src/vs/platform/theme/common/theme.js +4 -2
- package/vscode/src/vs/platform/theme/common/themeService.d.ts +63 -41
- package/vscode/src/vs/platform/theme/common/themeService.js +1 -0
- package/vscode/src/vs/platform/theme/common/themeService.service.d.ts +4 -8
- package/vscode/src/vs/platform/theme/common/themeService.service.js +1 -0
- package/vscode/src/vs/platform/tunnel/common/tunnel.d.ts +119 -19
- package/vscode/src/vs/platform/tunnel/common/tunnel.js +10 -7
- package/vscode/src/vs/platform/tunnel/common/tunnel.service.d.ts +13 -12
- package/vscode/src/vs/platform/tunnel/common/tunnel.service.js +1 -0
- package/vscode/src/vs/platform/undoRedo/common/undoRedo.d.ts +48 -3
- package/vscode/src/vs/platform/undoRedo/common/undoRedo.js +8 -1
- package/vscode/src/vs/platform/undoRedo/common/undoRedo.service.d.ts +20 -0
- package/vscode/src/vs/platform/undoRedo/common/undoRedo.service.js +1 -0
- package/vscode/src/vs/platform/undoRedo/common/undoRedoService.d.ts +58 -0
- package/vscode/src/vs/platform/undoRedo/common/undoRedoService.js +106 -118
- package/vscode/src/vs/platform/update/common/update.d.ts +85 -0
- package/vscode/src/vs/platform/update/common/update.js +38 -10
- package/vscode/src/vs/platform/update/common/update.service.d.ts +14 -0
- package/vscode/src/vs/platform/update/common/update.service.js +1 -0
- package/vscode/src/vs/platform/uriIdentity/common/uriIdentity.service.d.ts +4 -34
- package/vscode/src/vs/platform/uriIdentity/common/uriIdentity.service.js +1 -0
- package/vscode/src/vs/platform/uriIdentity/common/uriIdentityService.d.ts +16 -0
- package/vscode/src/vs/platform/uriIdentity/common/uriIdentityService.js +4 -1
- package/vscode/src/vs/platform/url/common/url.d.ts +8 -0
- package/vscode/src/vs/platform/url/common/url.service.d.ts +10 -0
- package/vscode/src/vs/platform/url/common/url.service.js +1 -0
- package/vscode/src/vs/platform/userDataProfile/common/userDataProfile.d.ts +101 -13
- package/vscode/src/vs/platform/userDataProfile/common/userDataProfile.js +53 -43
- package/vscode/src/vs/platform/userDataProfile/common/userDataProfile.service.d.ts +6 -10
- package/vscode/src/vs/platform/userDataProfile/common/userDataProfile.service.js +1 -0
- package/vscode/src/vs/platform/userDataProfile/common/userDataProfileStorageService.service.d.ts +13 -0
- package/vscode/src/vs/platform/userDataProfile/common/userDataProfileStorageService.service.js +1 -0
- package/vscode/src/vs/platform/userDataSync/common/ignoredExtensions.service.d.ts +10 -0
- package/vscode/src/vs/platform/userDataSync/common/ignoredExtensions.service.js +1 -0
- package/vscode/src/vs/platform/userDataSync/common/userDataSync.d.ts +285 -0
- package/vscode/src/vs/platform/userDataSync/common/userDataSync.js +94 -30
- package/vscode/src/vs/platform/userDataSync/common/userDataSync.service.d.ts +122 -0
- package/vscode/src/vs/platform/userDataSync/common/userDataSync.service.js +1 -0
- package/vscode/src/vs/platform/userDataSync/common/userDataSyncAccount.service.d.ts +10 -0
- package/vscode/src/vs/platform/userDataSync/common/userDataSyncAccount.service.js +1 -0
- package/vscode/src/vs/platform/userDataSync/common/userDataSyncMachines.service.d.ts +16 -0
- package/vscode/src/vs/platform/userDataSync/common/userDataSyncMachines.service.js +1 -0
- package/vscode/src/vs/platform/window/common/window.d.ts +179 -50
- package/vscode/src/vs/platform/window/common/window.js +25 -7
- package/vscode/src/vs/platform/workspace/common/canonicalUri.d.ts +6 -0
- package/vscode/src/vs/platform/workspace/common/canonicalUri.service.d.ts +7 -0
- package/vscode/src/vs/platform/workspace/common/canonicalUri.service.js +1 -0
- package/vscode/src/vs/platform/workspace/common/editSessions.d.ts +15 -0
- package/vscode/src/vs/platform/workspace/common/editSessions.js +4 -2
- package/vscode/src/vs/platform/workspace/common/editSessions.service.d.ts +13 -0
- package/vscode/src/vs/platform/workspace/common/editSessions.service.js +1 -0
- package/vscode/src/vs/platform/workspace/common/workspace.d.ts +82 -73
- package/vscode/src/vs/platform/workspace/common/workspace.js +13 -8
- package/vscode/src/vs/platform/workspace/common/workspace.service.d.ts +5 -45
- package/vscode/src/vs/platform/workspace/common/workspace.service.js +1 -0
- package/vscode/src/vs/platform/workspace/common/workspaceTrust.d.ts +14 -10
- package/vscode/src/vs/platform/workspace/common/workspaceTrust.js +15 -0
- package/vscode/src/vs/platform/workspace/common/workspaceTrust.service.d.ts +11 -14
- package/vscode/src/vs/platform/workspace/common/workspaceTrust.service.js +1 -0
- package/vscode/src/vs/platform/workspaces/common/workspaces.service.d.ts +19 -0
- package/vscode/src/vs/platform/workspaces/common/workspaces.service.js +1 -0
- package/vscode/src/vs/workbench/api/browser/statusBarService.d.ts +50 -0
- package/vscode/src/vs/workbench/api/browser/statusBarService.js +13 -6
- package/vscode/src/vs/workbench/api/common/cache.d.ts +11 -0
- package/vscode/src/vs/workbench/api/common/cache.js +2 -0
- package/vscode/src/vs/workbench/api/common/extHost.api.impl.d.ts +13 -0
- package/vscode/src/vs/workbench/api/common/extHost.api.impl.js +39 -27
- package/vscode/src/vs/workbench/api/common/extHost.common.services.d.ts +1 -0
- package/vscode/src/vs/workbench/api/common/extHost.common.services.js +29 -28
- package/vscode/src/vs/workbench/api/common/extHost.protocol.d.ts +2794 -0
- package/vscode/src/vs/workbench/api/common/extHost.protocol.js +93 -7
- package/vscode/src/vs/workbench/api/common/extHostAiRelatedInformation.d.ts +13 -0
- package/vscode/src/vs/workbench/api/common/extHostAiRelatedInformation.js +1 -0
- package/vscode/src/vs/workbench/api/common/extHostApiCommands.d.ts +5 -0
- package/vscode/src/vs/workbench/api/common/extHostApiCommands.js +15 -0
- package/vscode/src/vs/workbench/api/common/extHostApiDeprecationService.d.ts +21 -0
- package/vscode/src/vs/workbench/api/common/extHostApiDeprecationService.js +1 -0
- package/vscode/src/vs/workbench/api/common/extHostAuthentication.d.ts +38 -0
- package/vscode/src/vs/workbench/api/common/extHostAuthentication.js +1 -0
- package/vscode/src/vs/workbench/api/common/extHostBulkEdits.d.ts +10 -0
- package/vscode/src/vs/workbench/api/common/extHostBulkEdits.js +1 -0
- package/vscode/src/vs/workbench/api/common/extHostChatAgents2.d.ts +57 -0
- package/vscode/src/vs/workbench/api/common/extHostChatAgents2.js +32 -4
- package/vscode/src/vs/workbench/api/common/extHostChatVariables.d.ts +14 -0
- package/vscode/src/vs/workbench/api/common/extHostChatVariables.js +1 -0
- package/vscode/src/vs/workbench/api/common/extHostClipboard.d.ts +6 -0
- package/vscode/src/vs/workbench/api/common/extHostClipboard.js +1 -0
- package/vscode/src/vs/workbench/api/common/extHostCodeInsets.d.ts +18 -0
- package/vscode/src/vs/workbench/api/common/extHostCodeInsets.js +1 -0
- package/vscode/src/vs/workbench/api/common/extHostCodeMapper.d.ts +13 -0
- package/vscode/src/vs/workbench/api/common/extHostCodeMapper.js +1 -0
- package/vscode/src/vs/workbench/api/common/extHostCommands.d.ts +132 -0
- package/vscode/src/vs/workbench/api/common/extHostCommands.js +9 -2
- package/vscode/src/vs/workbench/api/common/extHostComments.d.ts +10 -0
- package/vscode/src/vs/workbench/api/common/extHostComments.js +11 -6
- package/vscode/src/vs/workbench/api/common/extHostConfiguration.d.ts +39 -0
- package/vscode/src/vs/workbench/api/common/extHostConfiguration.js +11 -9
- package/vscode/src/vs/workbench/api/common/extHostConsoleForwarder.d.ts +11 -0
- package/vscode/src/vs/workbench/api/common/extHostConsoleForwarder.js +1 -0
- package/vscode/src/vs/workbench/api/common/extHostCustomEditors.d.ts +45 -0
- package/vscode/src/vs/workbench/api/common/extHostCustomEditors.js +12 -6
- package/vscode/src/vs/workbench/api/common/extHostDebugService.d.ts +176 -0
- package/vscode/src/vs/workbench/api/common/extHostDebugService.js +14 -4
- package/vscode/src/vs/workbench/api/common/extHostDecorations.d.ts +20 -0
- package/vscode/src/vs/workbench/api/common/extHostDecorations.js +1 -0
- package/vscode/src/vs/workbench/api/common/extHostDiagnostics.d.ts +70 -0
- package/vscode/src/vs/workbench/api/common/extHostDiagnostics.js +34 -35
- package/vscode/src/vs/workbench/api/common/extHostDialogs.d.ts +10 -0
- package/vscode/src/vs/workbench/api/common/extHostDialogs.js +1 -0
- package/vscode/src/vs/workbench/api/common/extHostDocumentContentProviders.d.ts +15 -0
- package/vscode/src/vs/workbench/api/common/extHostDocumentContentProviders.js +1 -0
- package/vscode/src/vs/workbench/api/common/extHostDocumentData.d.ts +39 -0
- package/vscode/src/vs/workbench/api/common/extHostDocumentData.js +1 -0
- package/vscode/src/vs/workbench/api/common/extHostDocumentSaveParticipant.d.ts +25 -0
- package/vscode/src/vs/workbench/api/common/extHostDocumentSaveParticipant.js +1 -0
- package/vscode/src/vs/workbench/api/common/extHostDocuments.d.ts +36 -0
- package/vscode/src/vs/workbench/api/common/extHostDocuments.js +1 -0
- package/vscode/src/vs/workbench/api/common/extHostDocumentsAndEditors.d.ts +36 -0
- package/vscode/src/vs/workbench/api/common/extHostDocumentsAndEditors.js +1 -0
- package/vscode/src/vs/workbench/api/common/extHostEditorTabs.d.ts +26 -0
- package/vscode/src/vs/workbench/api/common/extHostEditorTabs.js +20 -19
- package/vscode/src/vs/workbench/api/common/extHostEmbedding.d.ts +23 -0
- package/vscode/src/vs/workbench/api/common/extHostEmbedding.js +1 -0
- package/vscode/src/vs/workbench/api/common/extHostEmbeddingVector.d.ts +12 -0
- package/vscode/src/vs/workbench/api/common/extHostEmbeddingVector.js +1 -0
- package/vscode/src/vs/workbench/api/common/extHostExtensionActivator.d.ts +99 -0
- package/vscode/src/vs/workbench/api/common/extHostExtensionActivator.js +1 -0
- package/vscode/src/vs/workbench/api/common/extHostExtensionService.d.ts +161 -0
- package/vscode/src/vs/workbench/api/common/extHostExtensionService.js +8 -7
- package/vscode/src/vs/workbench/api/common/extHostFileSystem.d.ts +44 -0
- package/vscode/src/vs/workbench/api/common/extHostFileSystem.js +18 -15
- package/vscode/src/vs/workbench/api/common/extHostFileSystemConsumer.d.ts +24 -0
- package/vscode/src/vs/workbench/api/common/extHostFileSystemConsumer.js +3 -2
- package/vscode/src/vs/workbench/api/common/extHostFileSystemEventService.d.ts +42 -0
- package/vscode/src/vs/workbench/api/common/extHostFileSystemEventService.js +14 -12
- package/vscode/src/vs/workbench/api/common/extHostFileSystemInfo.d.ts +17 -0
- package/vscode/src/vs/workbench/api/common/extHostFileSystemInfo.js +3 -1
- package/vscode/src/vs/workbench/api/common/extHostInitDataService.d.ts +5 -0
- package/vscode/src/vs/workbench/api/common/extHostInitDataService.js +1 -0
- package/vscode/src/vs/workbench/api/common/extHostInteractive.d.ts +14 -0
- package/vscode/src/vs/workbench/api/common/extHostInteractive.js +1 -0
- package/vscode/src/vs/workbench/api/common/extHostLabelService.d.ts +9 -0
- package/vscode/src/vs/workbench/api/common/extHostLabelService.js +1 -0
- package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.d.ts +165 -0
- package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +255 -314
- package/vscode/src/vs/workbench/api/common/extHostLanguageModelTools.d.ts +20 -0
- package/vscode/src/vs/workbench/api/common/extHostLanguageModelTools.js +10 -5
- package/vscode/src/vs/workbench/api/common/extHostLanguageModels.d.ts +63 -0
- package/vscode/src/vs/workbench/api/common/extHostLanguageModels.js +45 -58
- package/vscode/src/vs/workbench/api/common/extHostLanguages.d.ts +21 -0
- package/vscode/src/vs/workbench/api/common/extHostLanguages.js +1 -0
- package/vscode/src/vs/workbench/api/common/extHostLocalizationService.d.ts +25 -0
- package/vscode/src/vs/workbench/api/common/extHostLocalizationService.js +1 -0
- package/vscode/src/vs/workbench/api/common/extHostLogService.d.ts +7 -0
- package/vscode/src/vs/workbench/api/common/extHostLogService.js +6 -5
- package/vscode/src/vs/workbench/api/common/extHostLoggerService.d.ts +13 -0
- package/vscode/src/vs/workbench/api/common/extHostLoggerService.js +1 -0
- package/vscode/src/vs/workbench/api/common/extHostManagedSockets.d.ts +22 -0
- package/vscode/src/vs/workbench/api/common/extHostManagedSockets.js +1 -0
- package/vscode/src/vs/workbench/api/common/extHostMemento.d.ts +25 -0
- package/vscode/src/vs/workbench/api/common/extHostMemento.js +1 -0
- package/vscode/src/vs/workbench/api/common/extHostMessageService.d.ts +13 -0
- package/vscode/src/vs/workbench/api/common/extHostMessageService.js +1 -0
- package/vscode/src/vs/workbench/api/common/extHostNotebook.d.ts +81 -0
- package/vscode/src/vs/workbench/api/common/extHostNotebook.js +9 -6
- package/vscode/src/vs/workbench/api/common/extHostNotebookDocument.d.ts +67 -0
- package/vscode/src/vs/workbench/api/common/extHostNotebookDocument.js +1 -0
- package/vscode/src/vs/workbench/api/common/extHostNotebookDocumentSaveParticipant.d.ts +23 -0
- package/vscode/src/vs/workbench/api/common/extHostNotebookDocumentSaveParticipant.js +1 -0
- package/vscode/src/vs/workbench/api/common/extHostNotebookDocuments.d.ts +17 -0
- package/vscode/src/vs/workbench/api/common/extHostNotebookDocuments.js +1 -0
- package/vscode/src/vs/workbench/api/common/extHostNotebookEditor.d.ts +23 -0
- package/vscode/src/vs/workbench/api/common/extHostNotebookEditor.js +1 -0
- package/vscode/src/vs/workbench/api/common/extHostNotebookEditors.d.ts +15 -0
- package/vscode/src/vs/workbench/api/common/extHostNotebookEditors.js +1 -0
- package/vscode/src/vs/workbench/api/common/extHostNotebookKernels.d.ts +46 -0
- package/vscode/src/vs/workbench/api/common/extHostNotebookKernels.js +29 -15
- package/vscode/src/vs/workbench/api/common/extHostNotebookRenderers.d.ts +13 -0
- package/vscode/src/vs/workbench/api/common/extHostNotebookRenderers.js +1 -0
- package/vscode/src/vs/workbench/api/common/extHostOutput.d.ts +37 -0
- package/vscode/src/vs/workbench/api/common/extHostOutput.js +1 -0
- package/vscode/src/vs/workbench/api/common/extHostProfileContentHandler.d.ts +14 -0
- package/vscode/src/vs/workbench/api/common/extHostProfileContentHandler.js +1 -0
- package/vscode/src/vs/workbench/api/common/extHostProgress.d.ts +14 -0
- package/vscode/src/vs/workbench/api/common/extHostProgress.js +1 -0
- package/vscode/src/vs/workbench/api/common/extHostQuickDiff.d.ts +14 -0
- package/vscode/src/vs/workbench/api/common/extHostQuickDiff.js +2 -1
- package/vscode/src/vs/workbench/api/common/extHostQuickOpen.d.ts +20 -0
- package/vscode/src/vs/workbench/api/common/extHostQuickOpen.js +9 -7
- package/vscode/src/vs/workbench/api/common/extHostRequireInterceptor.d.ts +33 -0
- package/vscode/src/vs/workbench/api/common/extHostRequireInterceptor.js +1 -0
- package/vscode/src/vs/workbench/api/common/extHostRpcService.d.ts +14 -0
- package/vscode/src/vs/workbench/api/common/extHostRpcService.js +1 -0
- package/vscode/src/vs/workbench/api/common/extHostSCM.d.ts +69 -0
- package/vscode/src/vs/workbench/api/common/extHostSCM.js +6 -4
- package/vscode/src/vs/workbench/api/common/extHostSearch.d.ts +50 -0
- package/vscode/src/vs/workbench/api/common/extHostSearch.js +2 -17
- package/vscode/src/vs/workbench/api/common/extHostSecretState.d.ts +21 -0
- package/vscode/src/vs/workbench/api/common/extHostSecretState.js +1 -0
- package/vscode/src/vs/workbench/api/common/extHostSecrets.d.ts +16 -0
- package/vscode/src/vs/workbench/api/common/extHostSecrets.js +1 -0
- package/vscode/src/vs/workbench/api/common/extHostShare.d.ts +14 -0
- package/vscode/src/vs/workbench/api/common/extHostShare.js +1 -0
- package/vscode/src/vs/workbench/api/common/extHostSpeech.d.ts +20 -0
- package/vscode/src/vs/workbench/api/common/extHostSpeech.js +1 -0
- package/vscode/src/vs/workbench/api/common/extHostStatusBar.d.ts +62 -0
- package/vscode/src/vs/workbench/api/common/extHostStatusBar.js +33 -38
- package/vscode/src/vs/workbench/api/common/extHostStorage.d.ts +25 -0
- package/vscode/src/vs/workbench/api/common/extHostStorage.js +1 -0
- package/vscode/src/vs/workbench/api/common/extHostStoragePaths.d.ts +29 -0
- package/vscode/src/vs/workbench/api/common/extHostStoragePaths.js +1 -0
- package/vscode/src/vs/workbench/api/common/extHostTask.d.ts +152 -0
- package/vscode/src/vs/workbench/api/common/extHostTask.js +48 -25
- package/vscode/src/vs/workbench/api/common/extHostTelemetry.d.ts +68 -0
- package/vscode/src/vs/workbench/api/common/extHostTelemetry.js +27 -25
- package/vscode/src/vs/workbench/api/common/extHostTerminalService.d.ts +216 -0
- package/vscode/src/vs/workbench/api/common/extHostTerminalService.js +139 -117
- package/vscode/src/vs/workbench/api/common/extHostTerminalShellIntegration.d.ts +34 -0
- package/vscode/src/vs/workbench/api/common/extHostTerminalShellIntegration.js +11 -2
- package/vscode/src/vs/workbench/api/common/extHostTestItem.d.ts +27 -0
- package/vscode/src/vs/workbench/api/common/extHostTestItem.js +10 -9
- package/vscode/src/vs/workbench/api/common/extHostTesting.d.ts +144 -0
- package/vscode/src/vs/workbench/api/common/extHostTesting.js +45 -49
- package/vscode/src/vs/workbench/api/common/extHostTestingPrivateApi.d.ts +9 -0
- package/vscode/src/vs/workbench/api/common/extHostTestingPrivateApi.js +1 -0
- package/vscode/src/vs/workbench/api/common/extHostTextEditor.d.ts +70 -0
- package/vscode/src/vs/workbench/api/common/extHostTextEditor.js +8 -0
- package/vscode/src/vs/workbench/api/common/extHostTextEditors.d.ts +41 -0
- package/vscode/src/vs/workbench/api/common/extHostTextEditors.js +63 -1
- package/vscode/src/vs/workbench/api/common/extHostTheming.d.ts +13 -0
- package/vscode/src/vs/workbench/api/common/extHostTheming.js +1 -0
- package/vscode/src/vs/workbench/api/common/extHostTimeline.d.ts +23 -0
- package/vscode/src/vs/workbench/api/common/extHostTimeline.js +3 -1
- package/vscode/src/vs/workbench/api/common/extHostTreeViews.d.ts +30 -0
- package/vscode/src/vs/workbench/api/common/extHostTreeViews.js +16 -5
- package/vscode/src/vs/workbench/api/common/extHostTunnelService.d.ts +59 -0
- package/vscode/src/vs/workbench/api/common/extHostTunnelService.js +30 -29
- package/vscode/src/vs/workbench/api/common/extHostTypeConverters.d.ts +561 -0
- package/vscode/src/vs/workbench/api/common/extHostTypeConverters.js +452 -405
- package/vscode/src/vs/workbench/api/common/extHostTypes.d.ts +1881 -0
- package/vscode/src/vs/workbench/api/common/extHostTypes.js +279 -212
- package/vscode/src/vs/workbench/api/common/extHostUriOpener.d.ts +18 -0
- package/vscode/src/vs/workbench/api/common/extHostUriOpener.js +1 -0
- package/vscode/src/vs/workbench/api/common/extHostUriTransformerService.d.ts +14 -0
- package/vscode/src/vs/workbench/api/common/extHostUriTransformerService.js +1 -0
- package/vscode/src/vs/workbench/api/common/extHostUrls.d.ts +14 -0
- package/vscode/src/vs/workbench/api/common/extHostUrls.js +1 -0
- package/vscode/src/vs/workbench/api/common/extHostVariableResolverService.d.ts +24 -0
- package/vscode/src/vs/workbench/api/common/extHostVariableResolverService.js +1 -0
- package/vscode/src/vs/workbench/api/common/extHostWebview.d.ts +46 -0
- package/vscode/src/vs/workbench/api/common/extHostWebview.js +1 -0
- package/vscode/src/vs/workbench/api/common/extHostWebviewMessaging.d.ts +11 -0
- package/vscode/src/vs/workbench/api/common/extHostWebviewMessaging.js +24 -22
- package/vscode/src/vs/workbench/api/common/extHostWebviewPanels.d.ts +69 -0
- package/vscode/src/vs/workbench/api/common/extHostWebviewPanels.js +1 -0
- package/vscode/src/vs/workbench/api/common/extHostWebviewView.d.ts +19 -0
- package/vscode/src/vs/workbench/api/common/extHostWebviewView.js +1 -0
- package/vscode/src/vs/workbench/api/common/extHostWindow.d.ts +26 -0
- package/vscode/src/vs/workbench/api/common/extHostWindow.js +15 -2
- package/vscode/src/vs/workbench/api/common/extHostWorkspace.d.ts +103 -0
- package/vscode/src/vs/workbench/api/common/extHostWorkspace.js +79 -96
- package/vscode/src/vs/workbench/api/common/extensionHostMain.d.ts +32 -0
- package/vscode/src/vs/workbench/api/common/extensionHostMain.js +1 -0
- package/vscode/src/vs/workbench/api/common/jsonValidationExtensionPoint.d.ts +3 -0
- package/vscode/src/vs/workbench/api/common/jsonValidationExtensionPoint.js +24 -23
- package/vscode/src/vs/workbench/api/common/shared/tasks.d.ts +114 -0
- package/vscode/src/vs/workbench/api/worker/extHost.worker.services.d.ts +1 -0
- package/vscode/src/vs/workbench/api/worker/extHost.worker.services.js +4 -3
- package/vscode/src/vs/workbench/api/worker/extHostConsoleForwarder.d.ts +7 -0
- package/vscode/src/vs/workbench/api/worker/extHostConsoleForwarder.js +1 -0
- package/vscode/src/vs/workbench/api/worker/extHostExtensionService.d.ts +18 -0
- package/vscode/src/vs/workbench/api/worker/extHostExtensionService.js +1 -0
- package/vscode/src/vs/workbench/api/worker/extensionHostWorker.d.ts +3 -0
- package/vscode/src/vs/workbench/api/worker/extensionHostWorker.js +5 -4
- package/vscode/src/vs/workbench/api/worker/extensionHostWorkerMain.d.ts +1 -0
- package/vscode/src/vs/workbench/api/worker/extensionHostWorkerMain.js +1 -0
- package/vscode/src/vs/workbench/browser/actions/developerActions.d.ts +1 -0
- package/vscode/src/vs/workbench/browser/actions/developerActions.js +88 -90
- package/vscode/src/vs/workbench/browser/actions/textInputActions.d.ts +16 -0
- package/vscode/src/vs/workbench/browser/actions/textInputActions.js +34 -32
- package/vscode/src/vs/workbench/browser/codeeditor.d.ts +52 -0
- package/vscode/src/vs/workbench/browser/codeeditor.js +13 -9
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbs.service.d.ts +5 -9
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbs.service.js +1 -0
- package/vscode/src/vs/workbench/browser/parts/editor/editor.d.ts +93 -17
- package/vscode/src/vs/workbench/browser/parts/editor/editor.js +1 -0
- package/vscode/src/vs/workbench/common/composite.d.ts +3 -30
- package/vscode/src/vs/workbench/common/configuration.d.ts +61 -0
- package/vscode/src/vs/workbench/common/configuration.js +62 -59
- package/vscode/src/vs/workbench/common/contextkeys.d.ts +111 -0
- package/vscode/src/vs/workbench/common/contextkeys.js +118 -112
- package/vscode/src/vs/workbench/common/contributions.d.ts +61 -36
- package/vscode/src/vs/workbench/common/contributions.js +28 -26
- package/vscode/src/vs/workbench/common/editor/editorInput.d.ts +14 -198
- package/vscode/src/vs/workbench/common/editor/editorInput.js +7 -6
- package/vscode/src/vs/workbench/common/editor.d.ts +235 -567
- package/vscode/src/vs/workbench/common/editor.js +77 -30
- package/vscode/src/vs/workbench/common/panecomposite.d.ts +3 -9
- package/vscode/src/vs/workbench/common/theme.d.ts +159 -0
- package/vscode/src/vs/workbench/common/theme.js +245 -234
- package/vscode/src/vs/workbench/common/views.d.ts +196 -105
- package/vscode/src/vs/workbench/common/views.js +35 -36
- package/vscode/src/vs/workbench/common/views.service.d.ts +4 -8
- package/vscode/src/vs/workbench/common/views.service.js +1 -0
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.d.ts +62 -0
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +290 -216
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleViewActions.d.ts +3 -0
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleViewActions.js +87 -118
- package/vscode/src/vs/workbench/contrib/accessibility/browser/editorAccessibilityHelp.d.ts +10 -0
- package/vscode/src/vs/workbench/contrib/accessibility/browser/editorAccessibilityHelp.js +14 -10
- package/vscode/src/vs/workbench/contrib/accessibility/common/accessibilityCommands.d.ts +14 -0
- package/vscode/src/vs/workbench/contrib/accessibility/common/accessibilityCommands.js +19 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.service.d.ts +41 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.service.js +1 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatContentParts.d.ts +13 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatQuotasService.service.d.ts +10 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatQuotasService.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatActions.d.ts +6 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatActions.js +4 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.d.ts +244 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.js +19 -15
- package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.service.d.ts +41 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.service.js +1 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatCodeMapperService.service.d.ts +11 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatCodeMapperService.service.js +1 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.d.ts +40 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.js +108 -100
- package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.d.ts +108 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.js +52 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.service.d.ts +23 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.service.js +1 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatService.d.ts +318 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatService.js +9 -10
- package/vscode/src/vs/workbench/contrib/chat/common/chatService.service.d.ts +36 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatService.service.js +1 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatSlashCommands.service.d.ts +19 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatSlashCommands.service.js +1 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatVariables.d.ts +32 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatVariables.service.d.ts +20 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatVariables.service.js +1 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatWidgetHistoryService.service.d.ts +11 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatWidgetHistoryService.service.js +1 -0
- package/vscode/src/vs/workbench/contrib/chat/common/ignoredFiles.service.d.ts +10 -0
- package/vscode/src/vs/workbench/contrib/chat/common/ignoredFiles.service.js +1 -0
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelStats.service.d.ts +6 -0
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelStats.service.js +1 -0
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsService.d.ts +58 -0
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsService.js +2 -0
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsService.service.d.ts +15 -0
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsService.service.js +1 -0
- package/vscode/src/vs/workbench/contrib/chat/common/languageModels.d.ts +120 -0
- package/vscode/src/vs/workbench/contrib/chat/common/languageModels.js +179 -0
- package/vscode/src/vs/workbench/contrib/chat/common/languageModels.service.d.ts +18 -0
- package/vscode/src/vs/workbench/contrib/chat/common/languageModels.service.js +1 -0
- package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActions.contribution.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActions.contribution.js +3 -18
- package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.d.ts +16 -0
- package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +71 -115
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.d.ts +47 -0
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.js +33 -31
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorAccessibilityHelp.d.ts +10 -0
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorAccessibilityHelp.js +23 -23
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +12 -11
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/editorFeatures.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/editorFeatures.js +3 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/editorLineNumberMenu.d.ts +34 -0
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/editorLineNumberMenu.js +8 -5
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/largeFileOptimizations.d.ts +13 -0
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/largeFileOptimizations.js +10 -9
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/menuPreventer.d.ts +10 -0
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/menuPreventer.js +6 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.d.ts +35 -0
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +68 -64
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/selectionClipboard.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/selectionClipboard.js +2 -0
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMinimap.d.ts +7 -0
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMinimap.js +4 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMultiCursorModifier.d.ts +8 -0
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMultiCursorModifier.js +14 -12
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderControlCharacter.d.ts +7 -0
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderControlCharacter.js +4 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderWhitespace.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderWhitespace.js +4 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.d.ts +7 -0
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +41 -45
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/workbenchReferenceSearch.d.ts +11 -0
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/workbenchReferenceSearch.js +3 -2
- package/vscode/src/vs/workbench/contrib/comments/browser/commentService.service.d.ts +65 -0
- package/vscode/src/vs/workbench/contrib/comments/browser/commentService.service.js +1 -0
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsAccessibility.d.ts +34 -0
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsAccessibility.js +30 -30
- package/vscode/src/vs/workbench/contrib/comments/browser/simpleCommentEditor.d.ts +35 -0
- package/vscode/src/vs/workbench/contrib/comments/browser/simpleCommentEditor.js +13 -8
- package/vscode/src/vs/workbench/contrib/comments/common/commentCommandIds.d.ts +16 -0
- package/vscode/src/vs/workbench/contrib/comments/common/commentCommandIds.js +21 -0
- package/vscode/src/vs/workbench/contrib/comments/common/commentContextKeys.d.ts +13 -0
- package/vscode/src/vs/workbench/contrib/comments/common/commentContextKeys.js +25 -24
- package/vscode/src/vs/workbench/contrib/comments/common/commentThreadWidget.d.ts +4 -0
- package/vscode/src/vs/workbench/contrib/contextmenu/browser/contextmenu.contribution.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/contextmenu/browser/contextmenu.contribution.js +3 -1
- package/vscode/src/vs/workbench/contrib/customEditor/common/customEditor.service.d.ts +14 -0
- package/vscode/src/vs/workbench/contrib/customEditor/common/customEditor.service.js +1 -0
- package/vscode/src/vs/workbench/contrib/debug/common/abstractDebugAdapter.d.ts +30 -0
- package/vscode/src/vs/workbench/contrib/debug/common/abstractDebugAdapter.js +12 -11
- package/vscode/src/vs/workbench/contrib/debug/common/debug.d.ts +381 -273
- package/vscode/src/vs/workbench/contrib/debug/common/debug.js +223 -173
- package/vscode/src/vs/workbench/contrib/debug/common/debug.service.d.ts +13 -149
- package/vscode/src/vs/workbench/contrib/debug/common/debug.service.js +1 -0
- package/vscode/src/vs/workbench/contrib/debug/common/debugUtils.d.ts +33 -0
- package/vscode/src/vs/workbench/contrib/debug/common/debugUtils.js +9 -10
- package/vscode/src/vs/workbench/contrib/debug/common/debugVisualizers.service.d.ts +15 -0
- package/vscode/src/vs/workbench/contrib/debug/common/debugVisualizers.service.js +1 -0
- package/vscode/src/vs/workbench/contrib/editSessions/common/editSessions.service.d.ts +34 -0
- package/vscode/src/vs/workbench/contrib/editSessions/common/editSessions.service.js +1 -0
- package/vscode/src/vs/workbench/contrib/extensions/common/extensions.service.d.ts +56 -0
- package/vscode/src/vs/workbench/contrib/extensions/common/extensions.service.js +1 -0
- package/vscode/src/vs/workbench/contrib/externalUriOpener/common/externalUriOpenerService.service.d.ts +13 -0
- package/vscode/src/vs/workbench/contrib/externalUriOpener/common/externalUriOpenerService.service.js +1 -0
- package/vscode/src/vs/workbench/contrib/files/browser/fileConstants.d.ts +36 -0
- package/vscode/src/vs/workbench/contrib/files/browser/fileConstants.js +12 -11
- package/vscode/src/vs/workbench/contrib/files/browser/files.service.d.ts +9 -17
- package/vscode/src/vs/workbench/contrib/files/browser/files.service.js +1 -0
- package/vscode/src/vs/workbench/contrib/folding/browser/folding.contribution.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/folding/browser/folding.contribution.js +11 -9
- package/vscode/src/vs/workbench/contrib/format/browser/format.contribution.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/format/browser/formatActionsMultiple.d.ts +36 -0
- package/vscode/src/vs/workbench/contrib/format/browser/formatActionsMultiple.js +54 -55
- package/vscode/src/vs/workbench/contrib/format/browser/formatActionsNone.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/format/browser/formatActionsNone.js +12 -13
- package/vscode/src/vs/workbench/contrib/format/browser/formatModified.d.ts +4 -0
- package/vscode/src/vs/workbench/contrib/format/browser/formatModified.js +9 -9
- package/vscode/src/vs/workbench/contrib/inlayHints/browser/inlayHintsAccessibilty.d.ts +23 -0
- package/vscode/src/vs/workbench/contrib/inlayHints/browser/inlayHintsAccessibilty.js +20 -17
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSavingService.service.d.ts +6 -0
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSavingService.service.js +1 -0
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionService.d.ts +13 -0
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionService.service.d.ts +31 -0
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionService.service.js +1 -0
- package/vscode/src/vs/workbench/contrib/interactive/browser/interactiveDocumentService.service.d.ts +17 -0
- package/vscode/src/vs/workbench/contrib/interactive/browser/interactiveDocumentService.service.js +1 -0
- package/vscode/src/vs/workbench/contrib/interactive/browser/interactiveHistoryService.service.d.ts +12 -0
- package/vscode/src/vs/workbench/contrib/interactive/browser/interactiveHistoryService.service.js +1 -0
- package/vscode/src/vs/workbench/contrib/issue/browser/issueTroubleshoot.service.d.ts +8 -0
- package/vscode/src/vs/workbench/contrib/issue/browser/issueTroubleshoot.service.js +1 -0
- package/vscode/src/vs/workbench/contrib/issue/common/issue.service.d.ts +21 -0
- package/vscode/src/vs/workbench/contrib/issue/common/issue.service.js +1 -0
- package/vscode/src/vs/workbench/contrib/list/browser/list.contribution.d.ts +6 -0
- package/vscode/src/vs/workbench/contrib/list/browser/list.contribution.js +3 -2
- package/vscode/src/vs/workbench/contrib/list/browser/listResizeColumnAction.d.ts +6 -0
- package/vscode/src/vs/workbench/contrib/list/browser/listResizeColumnAction.js +3 -2
- package/vscode/src/vs/workbench/contrib/list/browser/tableColumnResizeQuickPick.d.ts +10 -0
- package/vscode/src/vs/workbench/contrib/list/browser/tableColumnResizeQuickPick.js +11 -10
- package/vscode/src/vs/workbench/contrib/logs/common/defaultLogLevels.service.d.ts +12 -0
- package/vscode/src/vs/workbench/contrib/logs/common/defaultLogLevels.service.js +1 -0
- package/vscode/src/vs/workbench/contrib/mappedEdits/common/mappedEdits.contribution.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/mappedEdits/common/mappedEdits.contribution.js +1 -0
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffSourceResolverService.service.d.ts +9 -0
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffSourceResolverService.service.js +1 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chatEdit/notebookOriginalCellModelFactory.service.d.ts +9 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chatEdit/notebookOriginalCellModelFactory.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chatEdit/notebookOriginalModelRefFactory.service.d.ts +8 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chatEdit/notebookOriginalModelRefFactory.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chatEdit/notebookSynchronizer.service.d.ts +8 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chatEdit/notebookSynchronizer.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookEditorService.d.ts +3 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookEditorService.service.d.ts +23 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookEditorService.service.js +1 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookCellStatusBarService.service.d.ts +13 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookCellStatusBarService.service.js +1 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookCommon.d.ts +704 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookCommon.js +56 -19
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorModelResolverService.d.ts +9 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorModelResolverService.service.d.ts +17 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorModelResolverService.service.js +1 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookExecutionService.d.ts +22 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookExecutionService.js +4 -2
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookExecutionService.service.d.ts +13 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookExecutionService.service.js +1 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookExecutionStateService.service.d.ts +18 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookExecutionStateService.service.js +1 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookKernelService.d.ts +86 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookKernelService.js +9 -1
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookKernelService.service.d.ts +39 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookKernelService.service.js +1 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookKeymapService.service.d.ts +4 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookKeymapService.service.js +1 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookLoggingService.service.d.ts +8 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookLoggingService.service.js +1 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookRendererMessagingService.d.ts +5 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookRendererMessagingService.service.d.ts +14 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookRendererMessagingService.service.js +1 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookService.service.d.ts +51 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookService.service.js +1 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookSynchronizerService.service.d.ts +8 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookSynchronizerService.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/services/notebookWorkerService.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/services/notebookWorkerService.js +2 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/services/notebookWorkerService.service.d.ts +9 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/services/notebookWorkerService.service.js +1 -0
- package/vscode/src/vs/workbench/contrib/output/common/outputChannelModelService.service.d.ts +8 -0
- package/vscode/src/vs/workbench/contrib/output/common/outputChannelModelService.service.js +1 -0
- package/vscode/src/vs/workbench/contrib/preferences/common/preferences.service.d.ts +3 -7
- package/vscode/src/vs/workbench/contrib/preferences/common/preferences.service.js +1 -0
- package/vscode/src/vs/workbench/contrib/scm/browser/diff.service.d.ts +9 -0
- package/vscode/src/vs/workbench/contrib/scm/browser/diff.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/scm/browser/dirtyDiffSwitcher.d.ts +22 -0
- package/vscode/src/vs/workbench/contrib/scm/browser/dirtyDiffSwitcher.js +9 -8
- package/vscode/src/vs/workbench/contrib/scm/browser/dirtydiffDecorator.d.ts +155 -0
- package/vscode/src/vs/workbench/contrib/scm/browser/dirtydiffDecorator.js +196 -157
- package/vscode/src/vs/workbench/contrib/scm/common/history.d.ts +86 -0
- package/vscode/src/vs/workbench/contrib/scm/common/quickDiff.d.ts +22 -0
- package/vscode/src/vs/workbench/contrib/scm/common/quickDiff.service.d.ts +11 -0
- package/vscode/src/vs/workbench/contrib/scm/common/quickDiff.service.js +1 -0
- package/vscode/src/vs/workbench/contrib/scm/common/scm.service.d.ts +32 -0
- package/vscode/src/vs/workbench/contrib/scm/common/scm.service.js +1 -0
- package/vscode/src/vs/workbench/contrib/search/browser/replace.service.d.ts +10 -0
- package/vscode/src/vs/workbench/contrib/search/browser/replace.service.js +1 -0
- package/vscode/src/vs/workbench/contrib/search/browser/searchTreeModel/searchViewModelWorkbenchService.service.d.ts +6 -0
- package/vscode/src/vs/workbench/contrib/search/browser/searchTreeModel/searchViewModelWorkbenchService.service.js +1 -0
- package/vscode/src/vs/workbench/contrib/search/common/cellSearchModel.d.ts +20 -0
- package/vscode/src/vs/workbench/contrib/search/common/cellSearchModel.js +4 -2
- package/vscode/src/vs/workbench/contrib/search/common/notebookSearch.service.d.ts +12 -0
- package/vscode/src/vs/workbench/contrib/search/common/notebookSearch.service.js +1 -0
- package/vscode/src/vs/workbench/contrib/search/common/searchHistoryService.service.d.ts +10 -0
- package/vscode/src/vs/workbench/contrib/search/common/searchHistoryService.service.js +1 -0
- package/vscode/src/vs/workbench/contrib/search/common/searchNotebookHelpers.d.ts +15 -0
- package/vscode/src/vs/workbench/contrib/search/common/searchNotebookHelpers.js +1 -0
- package/vscode/src/vs/workbench/contrib/share/common/share.d.ts +16 -0
- package/vscode/src/vs/workbench/contrib/share/common/share.service.d.ts +12 -0
- package/vscode/src/vs/workbench/contrib/share/common/share.service.js +1 -0
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCompletionProvider.d.ts +44 -0
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCompletionProvider.js +21 -19
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippets.d.ts +1 -3
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippets.service.d.ts +4 -8
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippets.service.js +1 -0
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsFile.d.ts +7 -10
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsFile.js +22 -21
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsService.d.ts +52 -0
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsService.js +75 -75
- package/vscode/src/vs/workbench/contrib/snippets/browser/tabCompletion.d.ts +27 -0
- package/vscode/src/vs/workbench/contrib/snippets/browser/tabCompletion.js +12 -11
- package/vscode/src/vs/workbench/contrib/speech/common/speechService.d.ts +149 -0
- package/vscode/src/vs/workbench/contrib/speech/common/speechService.js +48 -41
- package/vscode/src/vs/workbench/contrib/speech/common/speechService.service.d.ts +23 -0
- package/vscode/src/vs/workbench/contrib/speech/common/speechService.service.js +1 -0
- package/vscode/src/vs/workbench/contrib/tags/browser/workspaceTagsService.d.ts +10 -0
- package/vscode/src/vs/workbench/contrib/tags/browser/workspaceTagsService.js +2 -0
- package/vscode/src/vs/workbench/contrib/tags/common/workspaceTags.d.ts +4 -0
- package/vscode/src/vs/workbench/contrib/tags/common/workspaceTags.service.d.ts +10 -0
- package/vscode/src/vs/workbench/contrib/tags/common/workspaceTags.service.js +1 -0
- package/vscode/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.d.ts +11 -0
- package/vscode/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.js +13 -14
- package/vscode/src/vs/workbench/contrib/tasks/common/taskService.service.d.ts +41 -0
- package/vscode/src/vs/workbench/contrib/tasks/common/taskService.service.js +1 -0
- package/vscode/src/vs/workbench/contrib/tasks/common/tasks.d.ts +441 -3
- package/vscode/src/vs/workbench/contrib/tasks/common/tasks.js +200 -144
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.d.ts +118 -527
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.js +29 -1
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.service.d.ts +66 -93
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.service.js +1 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm-private.d.ts +25 -36
- package/vscode/src/vs/workbench/contrib/terminal/common/environmentVariable.d.ts +6 -6
- package/vscode/src/vs/workbench/contrib/terminal/common/environmentVariable.service.d.ts +11 -0
- package/vscode/src/vs/workbench/contrib/terminal/common/environmentVariable.service.js +1 -0
- package/vscode/src/vs/workbench/contrib/terminal/common/terminal.service.d.ts +35 -0
- package/vscode/src/vs/workbench/contrib/terminal/common/terminal.service.js +1 -0
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalExtensionPoints.service.d.ts +6 -0
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalExtensionPoints.service.js +1 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/links/browser/links.service.d.ts +11 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/links/browser/links.service.js +1 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/quickFix/browser/quickFix.service.d.ts +15 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/quickFix/browser/quickFix.service.js +1 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/suggest/browser/terminalCompletionService.service.d.ts +11 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/suggest/browser/terminalCompletionService.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/testing/common/constants.d.ts +88 -0
- package/vscode/src/vs/workbench/contrib/testing/common/constants.js +111 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testCoverageService.service.d.ts +13 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testCoverageService.service.js +1 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testExplorerFilterState.service.d.ts +24 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testExplorerFilterState.service.js +1 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testId.d.ts +6 -79
- package/vscode/src/vs/workbench/contrib/testing/common/testId.js +31 -18
- package/vscode/src/vs/workbench/contrib/testing/common/testItemCollection.d.ts +132 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testItemCollection.js +52 -41
- package/vscode/src/vs/workbench/contrib/testing/common/testProfileService.service.d.ts +21 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testProfileService.service.js +1 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testResultService.service.d.ts +19 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testResultService.service.js +1 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testResultStorage.service.d.ts +7 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testResultStorage.service.js +1 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testService.service.d.ts +38 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testService.service.js +1 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testTypes.d.ts +249 -86
- package/vscode/src/vs/workbench/contrib/testing/common/testTypes.js +140 -73
- package/vscode/src/vs/workbench/contrib/testing/common/testingContinuousRunService.service.d.ts +16 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testingContinuousRunService.service.js +1 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testingDecorations.service.d.ts +17 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testingDecorations.service.js +1 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testingPeekOpener.d.ts +6 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testingPeekOpener.service.d.ts +16 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testingPeekOpener.service.js +1 -0
- package/vscode/src/vs/workbench/contrib/timeline/common/timeline.d.ts +75 -0
- package/vscode/src/vs/workbench/contrib/timeline/common/timeline.js +2 -2
- package/vscode/src/vs/workbench/contrib/timeline/common/timeline.service.d.ts +17 -0
- package/vscode/src/vs/workbench/contrib/timeline/common/timeline.service.js +1 -0
- package/vscode/src/vs/workbench/contrib/url/browser/trustedDomainService.service.d.ts +6 -0
- package/vscode/src/vs/workbench/contrib/url/browser/trustedDomainService.service.js +1 -0
- package/vscode/src/vs/workbench/contrib/webview/browser/webview.service.d.ts +11 -0
- package/vscode/src/vs/workbench/contrib/webview/browser/webview.service.js +1 -0
- package/vscode/src/vs/workbench/contrib/webview/common/webview.d.ts +10 -0
- package/vscode/src/vs/workbench/contrib/webview/common/webview.js +5 -3
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewWorkbenchService.service.d.ts +29 -0
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewWorkbenchService.service.js +1 -0
- package/vscode/src/vs/workbench/contrib/webviewView/browser/webviewViewService.service.d.ts +13 -0
- package/vscode/src/vs/workbench/contrib/webviewView/browser/webviewViewService.service.js +1 -0
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedService.service.d.ts +17 -0
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedService.service.js +1 -0
- package/vscode/src/vs/workbench/services/accessibility/common/accessibleViewInformationService.service.d.ts +2 -6
- package/vscode/src/vs/workbench/services/accessibility/common/accessibleViewInformationService.service.js +1 -0
- package/vscode/src/vs/workbench/services/activity/common/activity.service.d.ts +6 -31
- package/vscode/src/vs/workbench/services/activity/common/activity.service.js +1 -0
- package/vscode/src/vs/workbench/services/aiEmbeddingVector/common/aiEmbeddingVectorService.d.ts +18 -0
- package/vscode/src/vs/workbench/services/aiEmbeddingVector/common/aiEmbeddingVectorService.service.d.ts +11 -0
- package/vscode/src/vs/workbench/services/aiEmbeddingVector/common/aiEmbeddingVectorService.service.js +1 -0
- package/vscode/src/vs/workbench/services/aiRelatedInformation/common/aiRelatedInformation.service.d.ts +10 -0
- package/vscode/src/vs/workbench/services/aiRelatedInformation/common/aiRelatedInformation.service.js +1 -0
- package/vscode/src/vs/workbench/services/assignment/common/assignmentService.service.d.ts +5 -0
- package/vscode/src/vs/workbench/services/assignment/common/assignmentService.service.js +1 -0
- package/vscode/src/vs/workbench/services/authentication/browser/authenticationAccessService.service.d.ts +14 -0
- package/vscode/src/vs/workbench/services/authentication/browser/authenticationAccessService.service.js +1 -0
- package/vscode/src/vs/workbench/services/authentication/browser/authenticationUsageService.service.d.ts +10 -0
- package/vscode/src/vs/workbench/services/authentication/browser/authenticationUsageService.service.js +1 -0
- package/vscode/src/vs/workbench/services/authentication/common/authentication.d.ts +22 -50
- package/vscode/src/vs/workbench/services/authentication/common/authentication.js +2 -0
- package/vscode/src/vs/workbench/services/authentication/common/authentication.service.d.ts +43 -0
- package/vscode/src/vs/workbench/services/authentication/common/authentication.service.js +1 -0
- package/vscode/src/vs/workbench/services/auxiliaryWindow/browser/auxiliaryWindowService.service.d.ts +9 -0
- package/vscode/src/vs/workbench/services/auxiliaryWindow/browser/auxiliaryWindowService.service.js +1 -0
- package/vscode/src/vs/workbench/services/banner/browser/bannerService.d.ts +5 -8
- package/vscode/src/vs/workbench/services/banner/browser/bannerService.service.d.ts +3 -7
- package/vscode/src/vs/workbench/services/banner/browser/bannerService.service.js +1 -0
- package/vscode/src/vs/workbench/services/configuration/common/jsonEditing.service.d.ts +7 -0
- package/vscode/src/vs/workbench/services/configuration/common/jsonEditing.service.js +1 -0
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolver.d.ts +58 -0
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolver.js +3 -2
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolver.service.d.ts +20 -0
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolver.service.js +1 -0
- package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.d.ts +51 -0
- package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +42 -47
- package/vscode/src/vs/workbench/services/decorations/common/decorations.d.ts +29 -0
- package/vscode/src/vs/workbench/services/decorations/common/decorations.service.d.ts +11 -0
- package/vscode/src/vs/workbench/services/decorations/common/decorations.service.js +1 -0
- package/vscode/src/vs/workbench/services/editor/common/customEditorLabelService.service.d.ts +4 -8
- package/vscode/src/vs/workbench/services/editor/common/customEditorLabelService.service.js +1 -0
- package/vscode/src/vs/workbench/services/editor/common/editorGroupsService.d.ts +45 -539
- package/vscode/src/vs/workbench/services/editor/common/editorGroupsService.js +22 -15
- package/vscode/src/vs/workbench/services/editor/common/editorGroupsService.service.d.ts +10 -68
- package/vscode/src/vs/workbench/services/editor/common/editorGroupsService.service.js +1 -0
- package/vscode/src/vs/workbench/services/editor/common/editorPaneService.service.d.ts +8 -0
- package/vscode/src/vs/workbench/services/editor/common/editorPaneService.service.js +1 -0
- package/vscode/src/vs/workbench/services/editor/common/editorResolverService.d.ts +28 -33
- package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +14 -8
- package/vscode/src/vs/workbench/services/editor/common/editorResolverService.service.d.ts +10 -55
- package/vscode/src/vs/workbench/services/editor/common/editorResolverService.service.js +1 -0
- package/vscode/src/vs/workbench/services/editor/common/editorService.d.ts +20 -67
- package/vscode/src/vs/workbench/services/editor/common/editorService.js +1 -0
- package/vscode/src/vs/workbench/services/editor/common/editorService.service.d.ts +13 -181
- package/vscode/src/vs/workbench/services/editor/common/editorService.service.js +1 -0
- package/vscode/src/vs/workbench/services/environment/browser/environmentService.service.d.ts +4 -18
- package/vscode/src/vs/workbench/services/environment/browser/environmentService.service.js +1 -0
- package/vscode/src/vs/workbench/services/environment/common/environmentService.service.d.ts +5 -13
- package/vscode/src/vs/workbench/services/environment/common/environmentService.service.js +1 -0
- package/vscode/src/vs/workbench/services/extensionManagement/browser/extensionBisect.service.d.ts +15 -0
- package/vscode/src/vs/workbench/services/extensionManagement/browser/extensionBisect.service.js +1 -0
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionFeatures.d.ts +68 -0
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionFeatures.js +3 -2
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionFeatures.service.d.ts +31 -0
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionFeatures.service.js +1 -0
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagement.d.ts +30 -23
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagement.js +24 -9
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagement.service.d.ts +34 -64
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagement.service.js +1 -0
- package/vscode/src/vs/workbench/services/extensionRecommendations/common/extensionRecommendations.service.d.ts +35 -0
- package/vscode/src/vs/workbench/services/extensionRecommendations/common/extensionRecommendations.service.js +1 -0
- package/vscode/src/vs/workbench/services/extensionRecommendations/common/workspaceExtensionsConfig.service.d.ts +12 -0
- package/vscode/src/vs/workbench/services/extensionRecommendations/common/workspaceExtensionsConfig.service.js +1 -0
- package/vscode/src/vs/workbench/services/extensions/browser/extensionUrlHandler.service.d.ts +8 -0
- package/vscode/src/vs/workbench/services/extensions/browser/extensionUrlHandler.service.js +1 -0
- package/vscode/src/vs/workbench/services/extensions/common/extensionDescriptionRegistry.d.ts +59 -6
- package/vscode/src/vs/workbench/services/extensions/common/extensionDescriptionRegistry.js +9 -2
- package/vscode/src/vs/workbench/services/extensions/common/extensionHostKind.d.ts +8 -8
- package/vscode/src/vs/workbench/services/extensions/common/extensionHostKind.js +19 -12
- package/vscode/src/vs/workbench/services/extensions/common/extensionHostProtocol.d.ts +106 -6
- package/vscode/src/vs/workbench/services/extensions/common/extensionHostProtocol.js +26 -9
- package/vscode/src/vs/workbench/services/extensions/common/extensionHostProxy.d.ts +27 -9
- package/vscode/src/vs/workbench/services/extensions/common/extensionManifestPropertiesService.service.d.ts +4 -8
- package/vscode/src/vs/workbench/services/extensions/common/extensionManifestPropertiesService.service.js +1 -0
- package/vscode/src/vs/workbench/services/extensions/common/extensions.d.ts +84 -54
- package/vscode/src/vs/workbench/services/extensions/common/extensions.js +23 -8
- package/vscode/src/vs/workbench/services/extensions/common/extensions.service.d.ts +7 -105
- package/vscode/src/vs/workbench/services/extensions/common/extensions.service.js +1 -0
- package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.d.ts +40 -12
- package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +126 -122
- package/vscode/src/vs/workbench/services/extensions/common/lazyPromise.d.ts +20 -0
- package/vscode/src/vs/workbench/services/extensions/common/lazyPromise.js +1 -0
- package/vscode/src/vs/workbench/services/extensions/common/proxyIdentifier.d.ts +32 -0
- package/vscode/src/vs/workbench/services/extensions/common/proxyIdentifier.js +2 -0
- package/vscode/src/vs/workbench/services/extensions/common/rpcProtocol.d.ts +68 -3
- package/vscode/src/vs/workbench/services/extensions/common/rpcProtocol.js +104 -64
- package/vscode/src/vs/workbench/services/extensions/common/workspaceContains.d.ts +17 -0
- package/vscode/src/vs/workbench/services/extensions/common/workspaceContains.js +1 -0
- package/vscode/src/vs/workbench/services/extensions/worker/polyfillNestedWorker.d.ts +10 -0
- package/vscode/src/vs/workbench/services/extensions/worker/polyfillNestedWorker.js +2 -0
- package/vscode/src/vs/workbench/services/files/common/elevatedFileService.service.d.ts +9 -0
- package/vscode/src/vs/workbench/services/files/common/elevatedFileService.service.js +1 -0
- package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.service.d.ts +11 -15
- package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.service.js +1 -0
- package/vscode/src/vs/workbench/services/history/common/history.d.ts +2 -32
- package/vscode/src/vs/workbench/services/history/common/history.js +6 -4
- package/vscode/src/vs/workbench/services/history/common/history.service.d.ts +7 -62
- package/vscode/src/vs/workbench/services/history/common/history.service.js +1 -0
- package/vscode/src/vs/workbench/services/host/browser/host.service.d.ts +6 -78
- package/vscode/src/vs/workbench/services/host/browser/host.service.js +1 -0
- package/vscode/src/vs/workbench/services/integrity/common/integrity.d.ts +11 -0
- package/vscode/src/vs/workbench/services/integrity/common/integrity.service.d.ts +6 -0
- package/vscode/src/vs/workbench/services/integrity/common/integrity.service.js +1 -0
- package/vscode/src/vs/workbench/services/keybinding/common/fallbackKeyboardMapper.d.ts +12 -0
- package/vscode/src/vs/workbench/services/keybinding/common/fallbackKeyboardMapper.js +1 -0
- package/vscode/src/vs/workbench/services/keybinding/common/keybindingEditing.service.d.ts +3 -7
- package/vscode/src/vs/workbench/services/keybinding/common/keybindingEditing.service.js +1 -0
- package/vscode/src/vs/workbench/services/language/common/languageService.d.ts +28 -0
- package/vscode/src/vs/workbench/services/language/common/languageService.js +43 -41
- package/vscode/src/vs/workbench/services/languageDetection/common/languageDetectionWorkerService.service.d.ts +7 -0
- package/vscode/src/vs/workbench/services/languageDetection/common/languageDetectionWorkerService.service.js +1 -0
- package/vscode/src/vs/workbench/services/languageStatus/common/languageStatusService.service.d.ts +6 -10
- package/vscode/src/vs/workbench/services/languageStatus/common/languageStatusService.service.js +1 -0
- package/vscode/src/vs/workbench/services/layout/browser/layoutService.service.d.ts +11 -114
- package/vscode/src/vs/workbench/services/layout/browser/layoutService.service.js +1 -0
- package/vscode/src/vs/workbench/services/lifecycle/common/lifecycle.d.ts +16 -123
- package/vscode/src/vs/workbench/services/lifecycle/common/lifecycle.js +32 -10
- package/vscode/src/vs/workbench/services/lifecycle/common/lifecycle.service.d.ts +4 -59
- package/vscode/src/vs/workbench/services/lifecycle/common/lifecycle.service.js +1 -0
- package/vscode/src/vs/workbench/services/lifecycle/common/lifecycleService.d.ts +34 -0
- package/vscode/src/vs/workbench/services/lifecycle/common/lifecycleService.js +12 -11
- package/vscode/src/vs/workbench/services/localization/common/locale.service.d.ts +8 -7
- package/vscode/src/vs/workbench/services/localization/common/locale.service.js +1 -0
- package/vscode/src/vs/workbench/services/log/common/logConstants.d.ts +2 -0
- package/vscode/src/vs/workbench/services/log/common/logConstants.js +2 -0
- package/vscode/src/vs/workbench/services/notebook/common/notebookDocumentService.d.ts +20 -0
- package/vscode/src/vs/workbench/services/notebook/common/notebookDocumentService.js +2 -0
- package/vscode/src/vs/workbench/services/notebook/common/notebookDocumentService.service.d.ts +9 -0
- package/vscode/src/vs/workbench/services/notebook/common/notebookDocumentService.service.js +1 -0
- package/vscode/src/vs/workbench/services/outline/browser/outline.service.d.ts +13 -0
- package/vscode/src/vs/workbench/services/outline/browser/outline.service.js +1 -0
- package/vscode/src/vs/workbench/services/output/common/output.d.ts +32 -31
- package/vscode/src/vs/workbench/services/output/common/output.js +3 -2
- package/vscode/src/vs/workbench/services/output/common/output.service.d.ts +4 -31
- package/vscode/src/vs/workbench/services/output/common/output.service.js +1 -0
- package/vscode/src/vs/workbench/services/panecomposite/browser/panecomposite.service.d.ts +7 -41
- package/vscode/src/vs/workbench/services/panecomposite/browser/panecomposite.service.js +1 -0
- package/vscode/src/vs/workbench/services/path/common/pathService.service.d.ts +5 -51
- package/vscode/src/vs/workbench/services/path/common/pathService.service.js +1 -0
- package/vscode/src/vs/workbench/services/preferences/common/preferences.service.d.ts +10 -14
- package/vscode/src/vs/workbench/services/preferences/common/preferences.service.js +1 -0
- package/vscode/src/vs/workbench/services/remote/common/remoteAgentService.service.d.ts +6 -26
- package/vscode/src/vs/workbench/services/remote/common/remoteAgentService.service.js +1 -0
- package/vscode/src/vs/workbench/services/remote/common/remoteExplorerService.d.ts +67 -14
- package/vscode/src/vs/workbench/services/remote/common/remoteExplorerService.js +29 -26
- package/vscode/src/vs/workbench/services/remote/common/remoteExplorerService.service.d.ts +10 -14
- package/vscode/src/vs/workbench/services/remote/common/remoteExplorerService.service.js +1 -0
- package/vscode/src/vs/workbench/services/remote/common/tunnelModel.d.ts +58 -28
- package/vscode/src/vs/workbench/services/remote/common/tunnelModel.js +97 -101
- package/vscode/src/vs/workbench/services/search/common/fileSearchManager.d.ts +12 -0
- package/vscode/src/vs/workbench/services/search/common/fileSearchManager.js +1 -0
- package/vscode/src/vs/workbench/services/search/common/folderQuerySearchTree.d.ts +11 -0
- package/vscode/src/vs/workbench/services/search/common/folderQuerySearchTree.js +1 -0
- package/vscode/src/vs/workbench/services/search/common/queryBuilder.d.ts +89 -0
- package/vscode/src/vs/workbench/services/search/common/queryBuilder.js +56 -59
- package/vscode/src/vs/workbench/services/search/common/search.d.ts +369 -0
- package/vscode/src/vs/workbench/services/search/common/search.js +35 -3
- package/vscode/src/vs/workbench/services/search/common/search.service.d.ts +19 -0
- package/vscode/src/vs/workbench/services/search/common/search.service.js +1 -0
- package/vscode/src/vs/workbench/services/search/common/searchExtConversionTypes.d.ts +109 -0
- package/vscode/src/vs/workbench/services/search/common/searchExtConversionTypes.js +5 -31
- package/vscode/src/vs/workbench/services/search/common/searchExtTypes.d.ts +161 -0
- package/vscode/src/vs/workbench/services/search/common/searchExtTypes.js +9 -7
- package/vscode/src/vs/workbench/services/search/common/textSearchManager.d.ts +62 -0
- package/vscode/src/vs/workbench/services/search/common/textSearchManager.js +9 -8
- package/vscode/src/vs/workbench/services/statusbar/browser/statusbar.d.ts +20 -101
- package/vscode/src/vs/workbench/services/statusbar/browser/statusbar.js +8 -1
- package/vscode/src/vs/workbench/services/statusbar/browser/statusbar.service.d.ts +4 -18
- package/vscode/src/vs/workbench/services/statusbar/browser/statusbar.service.js +1 -0
- package/vscode/src/vs/workbench/services/terminal/common/embedderTerminalService.service.d.ts +9 -0
- package/vscode/src/vs/workbench/services/terminal/common/embedderTerminalService.service.js +1 -0
- package/vscode/src/vs/workbench/services/textMate/browser/textMateTokenizationFeature.service.d.ts +3 -7
- package/vscode/src/vs/workbench/services/textMate/browser/textMateTokenizationFeature.service.js +1 -0
- package/vscode/src/vs/workbench/services/textfile/common/textEditorService.service.d.ts +4 -25
- package/vscode/src/vs/workbench/services/textfile/common/textEditorService.service.js +1 -0
- package/vscode/src/vs/workbench/services/textfile/common/textfiles.d.ts +53 -213
- package/vscode/src/vs/workbench/services/textfile/common/textfiles.js +28 -3
- package/vscode/src/vs/workbench/services/textfile/common/textfiles.service.d.ts +12 -77
- package/vscode/src/vs/workbench/services/textfile/common/textfiles.service.js +1 -0
- package/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.d.ts +3 -0
- package/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.js +38 -37
- package/vscode/src/vs/workbench/services/themes/common/hostColorSchemeService.service.d.ts +8 -0
- package/vscode/src/vs/workbench/services/themes/common/hostColorSchemeService.service.js +1 -0
- package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.d.ts +3 -0
- package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +29 -22
- package/vscode/src/vs/workbench/services/themes/common/productIconThemeSchema.d.ts +8 -0
- package/vscode/src/vs/workbench/services/themes/common/productIconThemeSchema.js +93 -0
- package/vscode/src/vs/workbench/services/timer/browser/timerService.service.d.ts +16 -0
- package/vscode/src/vs/workbench/services/timer/browser/timerService.service.js +1 -0
- package/vscode/src/vs/workbench/services/title/browser/titleService.service.d.ts +4 -14
- package/vscode/src/vs/workbench/services/title/browser/titleService.service.js +1 -0
- package/vscode/src/vs/workbench/services/treeSitter/browser/treeSitterTokenizationFeature.service.d.ts +4 -0
- package/vscode/src/vs/workbench/services/treeSitter/browser/treeSitterTokenizationFeature.service.js +1 -0
- package/vscode/src/vs/workbench/services/untitled/common/untitledTextEditorService.service.d.ts +5 -0
- package/vscode/src/vs/workbench/services/untitled/common/untitledTextEditorService.service.js +1 -0
- package/vscode/src/vs/workbench/services/userActivity/common/userActivityService.service.d.ts +10 -0
- package/vscode/src/vs/workbench/services/userActivity/common/userActivityService.service.js +1 -0
- package/vscode/src/vs/workbench/services/userData/browser/userDataInit.service.d.ts +3 -7
- package/vscode/src/vs/workbench/services/userData/browser/userDataInit.service.js +1 -0
- package/vscode/src/vs/workbench/services/userDataProfile/common/remoteUserDataProfiles.service.d.ts +7 -0
- package/vscode/src/vs/workbench/services/userDataProfile/common/remoteUserDataProfiles.service.js +1 -0
- package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfile.service.d.ts +33 -9
- package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfile.service.js +1 -0
- package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfileService.d.ts +13 -0
- package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfileService.js +1 -0
- package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.d.ts +32 -0
- package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +27 -22
- package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.service.d.ts +25 -0
- package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.service.js +1 -0
- package/vscode/src/vs/workbench/services/views/common/viewsService.service.d.ts +7 -10
- package/vscode/src/vs/workbench/services/views/common/viewsService.service.js +1 -0
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyBackup.d.ts +6 -0
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyBackup.service.d.ts +17 -0
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyBackup.service.js +1 -0
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyEditorService.service.d.ts +12 -0
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyEditorService.service.js +1 -0
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyFileService.service.d.ts +11 -99
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyFileService.service.js +1 -0
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyHistory.service.d.ts +24 -0
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyHistory.service.js +1 -0
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyService.service.d.ts +26 -0
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyService.service.js +1 -0
- package/vscode/src/vs/workbench/services/workspaces/browser/workspaces.d.ts +4 -0
- package/vscode/src/vs/workbench/services/workspaces/browser/workspaces.js +1 -0
- package/vscode/src/vs/workbench/services/workspaces/common/workspaceEditing.service.d.ts +15 -0
- package/vscode/src/vs/workbench/services/workspaces/common/workspaceEditing.service.js +1 -0
- package/vscode/src/vs/workbench/services/workspaces/common/workspaceIdentityService.service.d.ts +8 -0
- package/vscode/src/vs/workbench/services/workspaces/common/workspaceIdentityService.service.js +1 -0
- package/vscode-dts/vscode.d.ts +20037 -0
- package/vscode-dts/vscode.proposed.aiTextSearchProvider.d.ts +4 -34
- package/vscode-dts/vscode.proposed.chatEditing.d.ts +29 -0
- package/vscode-dts/vscode.proposed.chatParticipantAdditions.d.ts +7 -1
- package/vscode-dts/vscode.proposed.chatParticipantPrivate.d.ts +2 -0
- package/vscode-dts/vscode.proposed.chatProvider.d.ts +2 -1
- package/vscode-dts/vscode.proposed.d.ts +132 -0
- package/vscode-dts/vscode.proposed.documentPaste.d.ts +20 -1
- package/vscode-dts/vscode.proposed.fileSearchProvider2.d.ts +99 -0
- package/vscode-dts/vscode.proposed.findFiles2.d.ts +78 -44
- package/vscode-dts/vscode.proposed.findTextInFiles2.d.ts +144 -0
- package/vscode-dts/vscode.proposed.inlineEdit.d.ts +2 -0
- package/vscode-dts/vscode.proposed.mappedEditsProvider.d.ts +2 -2
- package/vscode-dts/vscode.proposed.nativeWindowHandle.d.ts +17 -0
- package/vscode-dts/vscode.proposed.notebookCellExecution.d.ts +30 -2
- package/vscode-dts/vscode.proposed.quickDiffProvider.d.ts +1 -0
- package/vscode-dts/vscode.proposed.terminalCompletionProvider.d.ts +126 -0
- package/vscode-dts/vscode.proposed.textEditorDiffInformation.d.ts +48 -0
- package/vscode-dts/vscode.proposed.textSearchComplete2.d.ts +38 -0
- package/vscode-dts/vscode.proposed.textSearchProvider2.d.ts +273 -0
- package/vscode-dts/vscode.proposed.valueSelectionInQuickPick.d.ts +21 -0
- package/workbench.d.ts +10 -6
- package/workbench.js +1 -0
- package/workers/editor.worker.d.ts +1 -0
- package/workers/editor.worker.js +1 -0
- package/workers/extensionHost.worker.d.ts +1 -0
- package/workers/extensionHost.worker.js +1 -0
- package/assets/continue-tb.png +0 -0
- package/assets/pause-tb.png +0 -0
- package/assets/restart-tb.png +0 -0
- package/assets/run-with-debugging-tb.png +0 -0
- package/assets/stepinto-tb.png +0 -0
- package/assets/stepout-tb.png +0 -0
- package/assets/stepover-tb.png +0 -0
- package/assets/stop-tb.png +0 -0
- package/editor.api.d.ts +0 -8
- package/override/vs/workbench/browser/parts/editor/textEditor.js +0 -7
- package/override/vs/workbench/browser/parts/editor/textEditor.weak.js +0 -11
- package/service-override/accessibility.d.ts +0 -5
- package/service-override/ai.d.ts +0 -5
- package/service-override/authentication.d.ts +0 -5
- package/service-override/base.d.ts +0 -5
- package/service-override/bulkEdit.d.ts +0 -5
- package/service-override/chat.d.ts +0 -5
- package/service-override/comments.d.ts +0 -5
- package/service-override/configuration.d.ts +0 -31
- package/service-override/debug.d.ts +0 -5
- package/service-override/dialogs.d.ts +0 -5
- package/service-override/editSessions.d.ts +0 -5
- package/service-override/editor.d.ts +0 -10
- package/service-override/emmet.d.ts +0 -5
- package/service-override/environment.d.ts +0 -10
- package/service-override/explorer.d.ts +0 -5
- package/service-override/extensionGallery.d.ts +0 -12
- package/service-override/extensions.d.ts +0 -42
- package/service-override/files.d.ts +0 -214
- package/service-override/host.d.ts +0 -5
- package/service-override/interactive.d.ts +0 -5
- package/service-override/issue.d.ts +0 -5
- package/service-override/keybindings.d.ts +0 -21
- package/service-override/languageDetectionWorker.d.ts +0 -5
- package/service-override/languages.d.ts +0 -6
- package/service-override/layout.d.ts +0 -128
- package/service-override/lifecycle.d.ts +0 -5
- package/service-override/localization.d.ts +0 -14
- package/service-override/log.d.ts +0 -14
- package/service-override/markers.d.ts +0 -5
- package/service-override/model.d.ts +0 -5
- package/service-override/monarch.d.ts +0 -5
- package/service-override/multiDiffEditor.d.ts +0 -5
- package/service-override/notebook.d.ts +0 -5
- package/service-override/notifications.d.ts +0 -5
- package/service-override/outline.d.ts +0 -5
- package/service-override/output.d.ts +0 -10
- package/service-override/performance.d.ts +0 -5
- package/service-override/preferences.d.ts +0 -5
- package/service-override/quickaccess.d.ts +0 -11
- package/service-override/relauncher.d.ts +0 -5
- package/service-override/remoteAgent.d.ts +0 -12
- package/service-override/scm.d.ts +0 -5
- package/service-override/search.d.ts +0 -5
- package/service-override/secretStorage.d.ts +0 -5
- package/service-override/share.d.ts +0 -5
- package/service-override/snippets.d.ts +0 -9
- package/service-override/speech.d.ts +0 -5
- package/service-override/storage.d.ts +0 -66
- package/service-override/survey.d.ts +0 -5
- package/service-override/task.d.ts +0 -5
- package/service-override/terminal.d.ts +0 -73
- package/service-override/testing.d.ts +0 -5
- package/service-override/textmate.d.ts +0 -7
- package/service-override/theme.d.ts +0 -7
- package/service-override/timeline.d.ts +0 -5
- package/service-override/tools/editor.d.ts +0 -34
- package/service-override/tools/editor.js +0 -662
- package/service-override/tools/url.js +0 -10
- package/service-override/tools/views.d.ts +0 -104
- package/service-override/tools/views.js +0 -303
- package/service-override/treesitter.d.ts +0 -5
- package/service-override/update.d.ts +0 -5
- package/service-override/userDataProfile.d.ts +0 -5
- package/service-override/userDataSync.d.ts +0 -5
- package/service-override/viewBanner.d.ts +0 -6
- package/service-override/viewCommon.d.ts +0 -6
- package/service-override/viewStatusBar.d.ts +0 -6
- package/service-override/viewTitleBar.d.ts +0 -5
- package/service-override/views.d.ts +0 -46
- package/service-override/walkthrough.d.ts +0 -5
- package/service-override/welcome.d.ts +0 -5
- package/service-override/workbench.d.ts +0 -18
- package/service-override/workingCopy.d.ts +0 -8
- package/service-override/workspaceTrust.d.ts +0 -5
- package/vscode/src/vs/amdX.js +0 -172
- package/vscode/src/vs/base/browser/broadcast.js +0 -55
- package/vscode/src/vs/base/browser/deviceAccess.js +0 -61
- package/vscode/src/vs/base/browser/indexedDB.d.ts +0 -17
- package/vscode/src/vs/base/browser/indexedDB.js +0 -148
- package/vscode/src/vs/base/browser/ui/breadcrumbs/breadcrumbsWidget.d.ts +0 -71
- package/vscode/src/vs/base/browser/ui/dialog/dialog.css.js +0 -6
- package/vscode/src/vs/base/browser/ui/dialog/dialog.js +0 -359
- package/vscode/src/vs/base/browser/ui/grid/grid.d.ts +0 -29
- package/vscode/src/vs/base/browser/ui/grid/gridview.d.ts +0 -99
- package/vscode/src/vs/base/browser/ui/iconLabel/simpleIconLabel.js +0 -26
- package/vscode/src/vs/base/browser/ui/icons/iconSelectBox.css.js +0 -6
- package/vscode/src/vs/base/browser/ui/icons/iconSelectBox.js +0 -240
- package/vscode/src/vs/base/browser/ui/menu/menubar.css.js +0 -6
- package/vscode/src/vs/base/browser/ui/menu/menubar.js +0 -844
- package/vscode/src/vs/base/browser/ui/splitview/paneview.css.js +0 -6
- package/vscode/src/vs/base/browser/ui/splitview/paneview.d.ts +0 -89
- package/vscode/src/vs/base/browser/ui/splitview/paneview.js +0 -467
- package/vscode/src/vs/base/browser/ui/tree/treeDefaults.js +0 -16
- package/vscode/src/vs/base/common/controlFlow.js +0 -50
- package/vscode/src/vs/base/common/fuzzyScorer.js +0 -485
- package/vscode/src/vs/base/common/jsonEdit.js +0 -168
- package/vscode/src/vs/base/common/jsonFormatter.js +0 -196
- package/vscode/src/vs/base/common/keybindingParser.js +0 -89
- package/vscode/src/vs/base/common/processes.d.ts +0 -11
- package/vscode/src/vs/base/common/resourceTree.js +0 -137
- package/vscode/src/vs/base/common/tfIdf.js +0 -138
- package/vscode/src/vs/base/common/worker/simpleWorkerBootstrap.js +0 -25
- package/vscode/src/vs/base/parts/request/common/request.js +0 -15
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/colors.js +0 -16
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/diffEditorItemTemplate.js +0 -262
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorViewModel.js +0 -119
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidget.js +0 -64
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidgetImpl.js +0 -392
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/objectPool.js +0 -47
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/style.css.js +0 -6
- package/vscode/src/vs/editor/common/diff/documentDiffProvider.d.ts +0 -47
- package/vscode/src/vs/editor/contrib/colorPicker/browser/hoverColorPicker/hoverColorPickerWidget.js +0 -32
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/suggestWidgetAdaptor.js +0 -181
- package/vscode/src/vs/editor/contrib/quickAccess/browser/editorNavigationQuickAccess.js +0 -117
- package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess.js +0 -125
- package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess.js +0 -342
- package/vscode/src/vs/editor/editor.api.d.ts +0 -9338
- package/vscode/src/vs/editor/standalone/browser/standaloneEditor.d.ts +0 -18
- package/vscode/src/vs/platform/accessibilitySignal/browser/progressAccessibilitySignalScheduler.js +0 -27
- package/vscode/src/vs/platform/actions/browser/dropdownWithPrimaryActionViewItem.js +0 -139
- package/vscode/src/vs/platform/backup/common/backup.js +0 -8
- package/vscode/src/vs/platform/dialogs/common/dialogs.d.ts +0 -238
- package/vscode/src/vs/platform/dialogs/common/dialogs.js +0 -136
- package/vscode/src/vs/platform/environment/common/environmentService.js +0 -10
- package/vscode/src/vs/platform/extensionManagement/common/extensionEnablementService.js +0 -143
- package/vscode/src/vs/platform/extensionManagement/common/extensionStorage.js +0 -173
- package/vscode/src/vs/platform/extensionResourceLoader/common/extensionResourceLoader.js +0 -87
- package/vscode/src/vs/platform/externalServices/common/serviceMachineId.js +0 -29
- package/vscode/src/vs/platform/files/browser/indexedDBFileSystemProvider.d.ts +0 -48
- package/vscode/src/vs/platform/files/common/inMemoryFilesystemProvider.d.ts +0 -59
- package/vscode/src/vs/platform/files/common/inMemoryFilesystemProvider.js +0 -222
- package/vscode/src/vs/platform/keyboardLayout/common/keyboardLayout.js +0 -73
- package/vscode/src/vs/platform/label/common/label.d.ts +0 -26
- package/vscode/src/vs/platform/languagePacks/common/languagePacks.d.ts +0 -9
- package/vscode/src/vs/platform/languagePacks/common/languagePacks.js +0 -79
- package/vscode/src/vs/platform/languagePacks/common/localizedStrings.js +0 -12
- package/vscode/src/vs/platform/log/browser/log.js +0 -27
- package/vscode/src/vs/platform/log/common/bufferLog.js +0 -38
- package/vscode/src/vs/platform/quickinput/browser/pickerQuickAccess.js +0 -227
- package/vscode/src/vs/platform/quickinput/browser/quickPickPin.js +0 -99
- package/vscode/src/vs/platform/remote/browser/browserSocketFactory.d.ts +0 -36
- package/vscode/src/vs/platform/remote/common/remoteAgentConnection.d.ts +0 -57
- package/vscode/src/vs/platform/remote/common/remoteAgentConnection.js +0 -619
- package/vscode/src/vs/platform/remote/common/remoteSocketFactoryService.d.ts +0 -9
- package/vscode/src/vs/platform/secrets/common/secrets.d.ts +0 -8
- package/vscode/src/vs/platform/terminal/common/capabilities/capabilities.d.ts +0 -267
- package/vscode/src/vs/platform/terminal/common/capabilities/commandDetection/promptInputModel.d.ts +0 -52
- package/vscode/src/vs/platform/terminal/common/capabilities/commandDetection/terminalCommand.d.ts +0 -33
- package/vscode/src/vs/platform/terminal/common/environmentVariable.d.ts +0 -75
- package/vscode/src/vs/platform/terminal/common/terminalStrings.js +0 -17
- package/vscode/src/vs/platform/theme/common/tokenClassificationRegistry.js +0 -479
- package/vscode/src/vs/platform/userDataSync/common/abstractSynchronizer.js +0 -788
- package/vscode/src/vs/platform/userDataSync/common/content.js +0 -11
- package/vscode/src/vs/platform/userDataSync/common/settingsMerge.js +0 -516
- package/vscode/src/vs/platform/userDataSync/common/userDataSyncMachines.js +0 -181
- package/vscode/src/vs/platform/userDataSync/common/userDataSyncStoreService.js +0 -693
- package/vscode/src/vs/platform/workspace/common/virtualWorkspace.js +0 -25
- package/vscode/src/vs/platform/workspaces/common/workspaces.d.ts +0 -13
- package/vscode/src/vs/platform/workspaces/common/workspaces.js +0 -195
- package/vscode/src/vs/workbench/browser/actions/layoutActions.js +0 -1409
- package/vscode/src/vs/workbench/browser/actions/widgetNavigationCommands.js +0 -120
- package/vscode/src/vs/workbench/browser/actions/windowActions.js +0 -399
- package/vscode/src/vs/workbench/browser/actions/workspaceActions.js +0 -381
- package/vscode/src/vs/workbench/browser/actions/workspaceCommands.js +0 -235
- package/vscode/src/vs/workbench/browser/actions.d.ts +0 -23
- package/vscode/src/vs/workbench/browser/actions.js +0 -79
- package/vscode/src/vs/workbench/browser/composite.d.ts +0 -159
- package/vscode/src/vs/workbench/browser/composite.js +0 -145
- package/vscode/src/vs/workbench/browser/dnd.d.ts +0 -14
- package/vscode/src/vs/workbench/browser/dnd.js +0 -528
- package/vscode/src/vs/workbench/browser/editor.js +0 -172
- package/vscode/src/vs/workbench/browser/labels.js +0 -478
- package/vscode/src/vs/workbench/browser/layout.d.ts +0 -26
- package/vscode/src/vs/workbench/browser/media/part.css.js +0 -6
- package/vscode/src/vs/workbench/browser/media/style.css.js +0 -6
- package/vscode/src/vs/workbench/browser/panecomposite.d.ts +0 -56
- package/vscode/src/vs/workbench/browser/panecomposite.js +0 -162
- package/vscode/src/vs/workbench/browser/part.d.ts +0 -102
- package/vscode/src/vs/workbench/browser/part.js +0 -192
- package/vscode/src/vs/workbench/browser/parts/activitybar/activitybarPart.d.ts +0 -63
- package/vscode/src/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarActions.js +0 -125
- package/vscode/src/vs/workbench/browser/parts/banner/bannerPart.d.ts +0 -46
- package/vscode/src/vs/workbench/browser/parts/compositeBarActions.d.ts +0 -21
- package/vscode/src/vs/workbench/browser/parts/compositeBarActions.js +0 -591
- package/vscode/src/vs/workbench/browser/parts/compositePart.d.ts +0 -91
- package/vscode/src/vs/workbench/browser/parts/editor/binaryDiffEditor.js +0 -40
- package/vscode/src/vs/workbench/browser/parts/editor/binaryEditor.js +0 -57
- package/vscode/src/vs/workbench/browser/parts/editor/diffEditorCommands.js +0 -210
- package/vscode/src/vs/workbench/browser/parts/editor/editor.contribution._autosave.js +0 -4
- package/vscode/src/vs/workbench/browser/parts/editor/editorAutoSave.js +0 -218
- package/vscode/src/vs/workbench/browser/parts/editor/editorCommands.js +0 -1147
- package/vscode/src/vs/workbench/browser/parts/editor/editorCommandsContext.js +0 -136
- package/vscode/src/vs/workbench/browser/parts/editor/editorPane.d.ts +0 -112
- package/vscode/src/vs/workbench/browser/parts/editor/editorPane.js +0 -245
- package/vscode/src/vs/workbench/browser/parts/editor/editorPlaceholder.js +0 -235
- package/vscode/src/vs/workbench/browser/parts/editor/editorQuickAccess.js +0 -223
- package/vscode/src/vs/workbench/browser/parts/editor/editorStatus.js +0 -1217
- package/vscode/src/vs/workbench/browser/parts/editor/editorTabsControl.js +0 -350
- package/vscode/src/vs/workbench/browser/parts/editor/editorWithViewState.js +0 -138
- package/vscode/src/vs/workbench/browser/parts/editor/editorsObserver.js +0 -355
- package/vscode/src/vs/workbench/browser/parts/editor/media/editorplaceholder.css.js +0 -6
- package/vscode/src/vs/workbench/browser/parts/editor/media/editorquickaccess.css.js +0 -6
- package/vscode/src/vs/workbench/browser/parts/editor/media/editorstatus.css.js +0 -6
- package/vscode/src/vs/workbench/browser/parts/editor/media/editortabscontrol.css.js +0 -6
- package/vscode/src/vs/workbench/browser/parts/editor/media/sidebysideeditor.css.js +0 -6
- package/vscode/src/vs/workbench/browser/parts/editor/sideBySideEditor.js +0 -392
- package/vscode/src/vs/workbench/browser/parts/editor/textCodeEditor.js +0 -83
- package/vscode/src/vs/workbench/browser/parts/editor/textDiffEditor.js +0 -323
- package/vscode/src/vs/workbench/browser/parts/editor/textEditor.js +0 -253
- package/vscode/src/vs/workbench/browser/parts/editor/textResourceEditor.js +0 -153
- package/vscode/src/vs/workbench/browser/parts/globalCompositeBar.js +0 -606
- package/vscode/src/vs/workbench/browser/parts/paneCompositeBar.d.ts +0 -111
- package/vscode/src/vs/workbench/browser/parts/paneCompositePart.d.ts +0 -144
- package/vscode/src/vs/workbench/browser/parts/panel/media/panelpart.css.js +0 -6
- package/vscode/src/vs/workbench/browser/parts/panel/panelActions.js +0 -422
- package/vscode/src/vs/workbench/browser/parts/panel/panelPart.d.ts +0 -38
- package/vscode/src/vs/workbench/browser/parts/sidebar/sidebarPart.d.ts +0 -51
- package/vscode/src/vs/workbench/browser/parts/statusbar/statusbarPart.d.ts +0 -68
- package/vscode/src/vs/workbench/browser/parts/titlebar/media/menubarControl.css.js +0 -6
- package/vscode/src/vs/workbench/browser/parts/titlebar/menubarControl.js +0 -691
- package/vscode/src/vs/workbench/browser/parts/titlebar/titlebarActions.js +0 -234
- package/vscode/src/vs/workbench/browser/parts/titlebar/titlebarPart.d.ts +0 -34
- package/vscode/src/vs/workbench/browser/parts/titlebar/windowTitle.js +0 -293
- package/vscode/src/vs/workbench/browser/parts/views/checkbox.js +0 -103
- package/vscode/src/vs/workbench/browser/parts/views/media/paneviewlet.css.js +0 -6
- package/vscode/src/vs/workbench/browser/parts/views/media/views.css.js +0 -6
- package/vscode/src/vs/workbench/browser/parts/views/treeView.js +0 -1773
- package/vscode/src/vs/workbench/browser/parts/views/viewFilter.d.ts +0 -54
- package/vscode/src/vs/workbench/browser/parts/views/viewFilter.js +0 -209
- package/vscode/src/vs/workbench/browser/parts/views/viewPane.d.ts +0 -132
- package/vscode/src/vs/workbench/browser/parts/views/viewPane.js +0 -672
- package/vscode/src/vs/workbench/browser/parts/views/viewPaneContainer.d.ts +0 -116
- package/vscode/src/vs/workbench/browser/parts/views/viewPaneContainer.js +0 -1064
- package/vscode/src/vs/workbench/browser/parts/views/viewsViewlet.d.ts +0 -9
- package/vscode/src/vs/workbench/browser/parts/views/viewsViewlet.js +0 -115
- package/vscode/src/vs/workbench/browser/quickaccess.js +0 -90
- package/vscode/src/vs/workbench/browser/style.js +0 -54
- package/vscode/src/vs/workbench/browser/web.api.d.ts +0 -604
- package/vscode/src/vs/workbench/browser/window.js +0 -329
- package/vscode/src/vs/workbench/browser/workbench.contribution.js +0 -1367
- package/vscode/src/vs/workbench/browser/workbench.d.ts +0 -10
- package/vscode/src/vs/workbench/common/activity.js +0 -4
- package/vscode/src/vs/workbench/common/component.d.ts +0 -20
- package/vscode/src/vs/workbench/common/component.js +0 -30
- package/vscode/src/vs/workbench/common/editor/binaryEditorModel.js +0 -41
- package/vscode/src/vs/workbench/common/editor/diffEditorInput.js +0 -183
- package/vscode/src/vs/workbench/common/editor/diffEditorModel.js +0 -25
- package/vscode/src/vs/workbench/common/editor/editorGroupModel.d.ts +0 -22
- package/vscode/src/vs/workbench/common/editor/editorGroupModel.js +0 -804
- package/vscode/src/vs/workbench/common/editor/editorModel.d.ts +0 -31
- package/vscode/src/vs/workbench/common/editor/editorModel.js +0 -26
- package/vscode/src/vs/workbench/common/editor/editorOptions.js +0 -50
- package/vscode/src/vs/workbench/common/editor/resourceEditorInput.d.ts +0 -50
- package/vscode/src/vs/workbench/common/editor/resourceEditorInput.js +0 -164
- package/vscode/src/vs/workbench/common/editor/sideBySideEditorInput.js +0 -304
- package/vscode/src/vs/workbench/common/editor/textDiffEditorModel.js +0 -44
- package/vscode/src/vs/workbench/common/editor/textEditorModel.js +0 -170
- package/vscode/src/vs/workbench/common/editor/textResourceEditorInput.d.ts +0 -27
- package/vscode/src/vs/workbench/common/editor/textResourceEditorInput.js +0 -159
- package/vscode/src/vs/workbench/common/editor/textResourceEditorModel.js +0 -26
- package/vscode/src/vs/workbench/common/memento.d.ts +0 -5
- package/vscode/src/vs/workbench/common/memento.js +0 -114
- package/vscode/src/vs/workbench/common/resources.js +0 -167
- package/vscode/src/vs/workbench/contrib/bulkEdit/browser/bulkCellEdits.js +0 -88
- package/vscode/src/vs/workbench/contrib/callHierarchy/common/callHierarchy.js +0 -128
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatConstants.js +0 -7
- package/vscode/src/vs/workbench/contrib/codeActions/browser/documentationContribution.js +0 -63
- package/vscode/src/vs/workbench/contrib/codeActions/common/codeActionsExtensionPoint.js +0 -104
- package/vscode/src/vs/workbench/contrib/codeActions/common/documentationExtensionPoint.js +0 -51
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/find/simpleFindWidget.css.js +0 -6
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/find/simpleFindWidget.js +0 -354
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/inspectEditorTokens/inspectEditorTokens.css.js +0 -6
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/inspectEditorTokens/inspectEditorTokens.js +0 -547
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoSymbolQuickAccess.js +0 -234
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/simpleEditorOptions.js +0 -88
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/suggestEnabledInput/suggestEnabledInput.css.js +0 -6
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/suggestEnabledInput/suggestEnabledInput.js +0 -329
- package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditorInput.js +0 -362
- package/vscode/src/vs/workbench/contrib/debug/browser/callStackEditorContribution.js +0 -189
- package/vscode/src/vs/workbench/contrib/debug/browser/debugColors.js +0 -322
- package/vscode/src/vs/workbench/contrib/debug/browser/debugIcons.js +0 -74
- package/vscode/src/vs/workbench/contrib/debug/browser/media/all.png.js +0 -12
- package/vscode/src/vs/workbench/contrib/debug/browser/media/callStackEditorContribution.css.js +0 -6
- package/vscode/src/vs/workbench/contrib/debug/common/debugCompoundRoot.d.ts +0 -10
- package/vscode/src/vs/workbench/contrib/debug/common/debugModel.d.ts +0 -35
- package/vscode/src/vs/workbench/contrib/debug/common/debugSource.d.ts +0 -41
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActions.js +0 -3144
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsIcons.js +0 -60
- package/vscode/src/vs/workbench/contrib/extensions/browser/media/extensionActions.css.js +0 -6
- package/vscode/src/vs/workbench/contrib/extensions/common/extensions.js +0 -58
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsFileTemplate.js +0 -55
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsInput.js +0 -46
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsUtils.js +0 -107
- package/vscode/src/vs/workbench/contrib/externalUriOpener/common/configuration.js +0 -67
- package/vscode/src/vs/workbench/contrib/externalUriOpener/common/externalUriOpenerService.js +0 -172
- package/vscode/src/vs/workbench/contrib/files/browser/editors/binaryFileEditor.js +0 -72
- package/vscode/src/vs/workbench/contrib/files/browser/editors/fileEditorHandler.js +0 -75
- package/vscode/src/vs/workbench/contrib/files/browser/editors/fileEditorInput.js +0 -330
- package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileEditor.js +0 -237
- package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileEditorTracker.js +0 -100
- package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileSaveErrorHandler.js +0 -396
- package/vscode/src/vs/workbench/contrib/files/browser/explorerFileContrib.js +0 -25
- package/vscode/src/vs/workbench/contrib/files/browser/explorerViewlet.js +0 -309
- package/vscode/src/vs/workbench/contrib/files/browser/fileActions.js +0 -1218
- package/vscode/src/vs/workbench/contrib/files/browser/fileCommands._save.js +0 -192
- package/vscode/src/vs/workbench/contrib/files/browser/fileImportExport.js +0 -699
- package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._configuration.js +0 -426
- package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._editorPane.js +0 -60
- package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._fileEditorFactory.js +0 -14
- package/vscode/src/vs/workbench/contrib/files/browser/files.d.ts +0 -21
- package/vscode/src/vs/workbench/contrib/files/browser/files.js +0 -111
- package/vscode/src/vs/workbench/contrib/files/browser/media/explorerviewlet.css.js +0 -6
- package/vscode/src/vs/workbench/contrib/files/browser/views/emptyView.js +0 -105
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerDecorationsProvider.js +0 -85
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerView.js +0 -984
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerViewer.js +0 -1263
- package/vscode/src/vs/workbench/contrib/files/browser/views/media/openeditors.css.js +0 -6
- package/vscode/src/vs/workbench/contrib/files/browser/views/openEditorsView.js +0 -809
- package/vscode/src/vs/workbench/contrib/files/browser/workspaceWatcher.js +0 -161
- package/vscode/src/vs/workbench/contrib/files/common/dirtyFilesIndicator.js +0 -52
- package/vscode/src/vs/workbench/contrib/files/common/explorerFileNestingTrie.js +0 -213
- package/vscode/src/vs/workbench/contrib/files/common/explorerModel.d.ts +0 -88
- package/vscode/src/vs/workbench/contrib/files/common/explorerModel.js +0 -378
- package/vscode/src/vs/workbench/contrib/files/common/files.d.ts +0 -23
- package/vscode/src/vs/workbench/contrib/files/common/files.js +0 -203
- package/vscode/src/vs/workbench/contrib/interactive/browser/interactiveEditorInput.js +0 -198
- package/vscode/src/vs/workbench/contrib/logs/common/logsActions.js +0 -206
- package/vscode/src/vs/workbench/contrib/markdown/browser/markdownDocumentRenderer.js +0 -278
- package/vscode/src/vs/workbench/contrib/markdown/browser/markedGfmHeadingIdPlugin.js +0 -40
- package/vscode/src/vs/workbench/contrib/markers/common/markers.js +0 -36
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInput.js +0 -157
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInputModel.js +0 -399
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeMarkers/mergeMarkersController.js +0 -17
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/diffComputer.js +0 -92
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/editing.js +0 -56
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/lineRange.js +0 -110
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/mapping.js +0 -260
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/mergeEditorModel.js +0 -633
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/modifiedBaseRange.js +0 -309
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/rangeUtils.js +0 -46
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/textModelDiffs.js +0 -172
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/telemetry.js +0 -80
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/utils.js +0 -122
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/conflictActions.js +0 -272
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/fixedZoneWidget.js +0 -42
- package/vscode/src/vs/workbench/contrib/mergeEditor/common/mergeEditor.js +0 -34
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/icons.contribution.js +0 -7
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffEditorInput.js +0 -366
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffSourceResolverService.js +0 -39
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/scmMultiDiffSourceResolver.js +0 -123
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/executionStatusBarItemController.js +0 -299
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/notebookVisibleCellObserver.js +0 -58
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/findFilters.js +0 -85
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindReplaceWidget.css.js +0 -6
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindReplaceWidget.js +0 -722
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindWidget.js +0 -298
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookBrowser.js +0 -122
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditor.js +0 -523
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookContextKeys.js +0 -48
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorInput.js +0 -302
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorModel.js +0 -309
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookExecutionStateService.js +0 -7
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookPerformance.js +0 -17
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookRange.js +0 -71
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookService.js +0 -9
- package/vscode/src/vs/workbench/contrib/outline/browser/outline.js +0 -12
- package/vscode/src/vs/workbench/contrib/preferences/browser/keybindingWidgets.js +0 -275
- package/vscode/src/vs/workbench/contrib/preferences/browser/media/keybindings.css.js +0 -6
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesIcons.js +0 -21
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesWidgets.js +0 -489
- package/vscode/src/vs/workbench/contrib/preferences/browser/settingsLayout.js +0 -305
- package/vscode/src/vs/workbench/contrib/preferences/browser/settingsTreeModels.js +0 -809
- package/vscode/src/vs/workbench/contrib/preferences/common/preferences.d.ts +0 -8
- package/vscode/src/vs/workbench/contrib/preferences/common/preferences.js +0 -113
- package/vscode/src/vs/workbench/contrib/preferences/common/settingsEditorColorRegistry.js +0 -59
- package/vscode/src/vs/workbench/contrib/remote/browser/media/tunnelView.css.js +0 -6
- package/vscode/src/vs/workbench/contrib/remote/browser/remoteExplorer.js +0 -847
- package/vscode/src/vs/workbench/contrib/remote/browser/remoteIcons.js +0 -23
- package/vscode/src/vs/workbench/contrib/remote/browser/tunnelView.js +0 -1759
- package/vscode/src/vs/workbench/contrib/remote/browser/urlFinder.js +0 -109
- package/vscode/src/vs/workbench/contrib/scm/browser/scmHistory.js +0 -252
- package/vscode/src/vs/workbench/contrib/scm/browser/util.js +0 -133
- package/vscode/src/vs/workbench/contrib/scm/common/scm.js +0 -11
- package/vscode/src/vs/workbench/contrib/search/browser/AISearch/aiSearchModelBase.js +0 -7
- package/vscode/src/vs/workbench/contrib/search/browser/anythingQuickAccess.js +0 -788
- package/vscode/src/vs/workbench/contrib/search/browser/media/anythingQuickAccess.css.js +0 -6
- package/vscode/src/vs/workbench/contrib/search/browser/notebookSearch/notebookSearchModelBase.js +0 -23
- package/vscode/src/vs/workbench/contrib/search/browser/notebookSearch/notebookSearchService.js +0 -237
- package/vscode/src/vs/workbench/contrib/search/browser/notebookSearch/searchNotebookHelpers.js +0 -33
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsBase.js +0 -48
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsFind.js +0 -368
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsTopBar.js +0 -359
- package/vscode/src/vs/workbench/contrib/search/browser/searchCompare.js +0 -117
- package/vscode/src/vs/workbench/contrib/search/browser/searchIcons.js +0 -29
- package/vscode/src/vs/workbench/contrib/search/browser/searchTreeModel/searchTreeCommon.js +0 -110
- package/vscode/src/vs/workbench/contrib/search/browser/symbolsQuickAccess.js +0 -223
- package/vscode/src/vs/workbench/contrib/search/common/cacheState.js +0 -87
- package/vscode/src/vs/workbench/contrib/search/common/constants.js +0 -30
- package/vscode/src/vs/workbench/contrib/search/common/search.js +0 -158
- package/vscode/src/vs/workbench/contrib/searchEditor/browser/constants.js +0 -13
- package/vscode/src/vs/workbench/contrib/snippets/browser/commands/abstractSnippetsActions.js +0 -19
- package/vscode/src/vs/workbench/contrib/snippets/browser/commands/fileTemplateSnippets.js +0 -86
- package/vscode/src/vs/workbench/contrib/tasks/common/taskService.js +0 -23
- package/vscode/src/vs/workbench/contrib/terminal/browser/detachedTerminal.js +0 -98
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalEditorInput.js +0 -200
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalIcon.js +0 -105
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalProcessExtHostProxy.js +0 -132
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalStatusList.d.ts +0 -25
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/markNavigationAddon.d.ts +0 -8
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/xtermAddonImporter.d.ts +0 -24
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/xtermTerminal.d.ts +0 -167
- package/vscode/src/vs/workbench/contrib/terminal/common/terminal.d.ts +0 -236
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalColorRegistry.js +0 -286
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalContextKey.js +0 -170
- package/vscode/src/vs/workbench/contrib/terminalContrib/quickFix/browser/quickFix.js +0 -9
- package/vscode/src/vs/workbench/contrib/testing/common/getComputedState.js +0 -103
- package/vscode/src/vs/workbench/contrib/testing/common/testCoverage.d.ts +0 -88
- package/vscode/src/vs/workbench/contrib/testing/common/testCoverage.js +0 -206
- package/vscode/src/vs/workbench/contrib/testing/common/testResult.d.ts +0 -226
- package/vscode/src/vs/workbench/contrib/testing/common/testResult.js +0 -412
- package/vscode/src/vs/workbench/contrib/testing/common/testingStates.d.ts +0 -10
- package/vscode/src/vs/workbench/contrib/testing/common/testingStates.js +0 -49
- package/vscode/src/vs/workbench/contrib/typeHierarchy/common/typeHierarchy.js +0 -135
- package/vscode/src/vs/workbench/contrib/update/common/update.js +0 -4
- package/vscode/src/vs/workbench/contrib/url/browser/trustedDomainService.js +0 -78
- package/vscode/src/vs/workbench/contrib/url/browser/trustedDomains.js +0 -119
- package/vscode/src/vs/workbench/contrib/url/common/urlGlob.js +0 -61
- package/vscode/src/vs/workbench/contrib/webview/browser/webview.contribution.js +0 -71
- package/vscode/src/vs/workbench/contrib/webview/browser/webview.js +0 -64
- package/vscode/src/vs/workbench/contrib/webview/browser/webviewWindowDragMonitor.js +0 -41
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditor.js +0 -169
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditorInput.js +0 -90
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewIconManager.js +0 -61
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewWorkbenchService.js +0 -233
- package/vscode/src/vs/workbench/contrib/workspace/common/workspace.js +0 -10
- package/vscode/src/vs/workbench/services/activity/browser/activityService.d.ts +0 -28
- package/vscode/src/vs/workbench/services/activity/browser/activityService.js +0 -145
- package/vscode/src/vs/workbench/services/activity/common/activity.d.ts +0 -18
- package/vscode/src/vs/workbench/services/activity/common/activity.js +0 -53
- package/vscode/src/vs/workbench/services/aiRelatedInformation/common/aiRelatedInformation.js +0 -9
- package/vscode/src/vs/workbench/services/authentication/browser/authenticationService.js +0 -209
- package/vscode/src/vs/workbench/services/auxiliaryWindow/browser/auxiliaryWindowService.js +0 -369
- package/vscode/src/vs/workbench/services/configuration/common/configuration.js +0 -29
- package/vscode/src/vs/workbench/services/configuration/common/configuration.service.js +0 -6
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverSchema.js +0 -155
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverUtils.js +0 -12
- package/vscode/src/vs/workbench/services/driver/browser/driver.js +0 -188
- package/vscode/src/vs/workbench/services/editor/browser/codeEditorService.js +0 -84
- package/vscode/src/vs/workbench/services/editor/browser/editorService.d.ts +0 -111
- package/vscode/src/vs/workbench/services/editor/browser/editorService.js +0 -777
- package/vscode/src/vs/workbench/services/editor/common/customEditorLabelService.js +0 -192
- package/vscode/src/vs/workbench/services/editor/common/editorGroupColumn.js +0 -25
- package/vscode/src/vs/workbench/services/editor/common/editorGroupFinder.js +0 -128
- package/vscode/src/vs/workbench/services/extensionRecommendations/common/workspaceExtensionsConfig.js +0 -282
- package/vscode/src/vs/workbench/services/extensions/browser/extensionService.d.ts +0 -44
- package/vscode/src/vs/workbench/services/extensions/browser/webWorkerExtensionHost.d.ts +0 -11
- package/vscode/src/vs/workbench/services/extensions/common/abstractExtensionService.d.ts +0 -163
- package/vscode/src/vs/workbench/services/extensions/common/extensionHostManagers.d.ts +0 -43
- package/vscode/src/vs/workbench/services/extensions/common/extensionManifestPropertiesService.js +0 -267
- package/vscode/src/vs/workbench/services/extensions/common/extensionRunningLocation.d.ts +0 -25
- package/vscode/src/vs/workbench/services/extensions/common/extensionRunningLocation.js +0 -44
- package/vscode/src/vs/workbench/services/extensions/common/extensionRunningLocationTracker.d.ts +0 -45
- package/vscode/src/vs/workbench/services/extensions/common/extensionsProposedApi.d.ts +0 -17
- package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.d.ts +0 -31
- package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.js +0 -331
- package/vscode/src/vs/workbench/services/keybinding/browser/unboundCommands.js +0 -43
- package/vscode/src/vs/workbench/services/languageDetection/common/languageDetectionWorkerService.js +0 -5
- package/vscode/src/vs/workbench/services/languageStatus/common/languageStatusService.d.ts +0 -23
- package/vscode/src/vs/workbench/services/layout/browser/layoutService.d.ts +0 -21
- package/vscode/src/vs/workbench/services/layout/browser/layoutService.js +0 -119
- package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorInput.js +0 -45
- package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorModel.js +0 -603
- package/vscode/src/vs/workbench/services/preferences/common/preferences.d.ts +0 -164
- package/vscode/src/vs/workbench/services/preferences/common/preferences.js +0 -44
- package/vscode/src/vs/workbench/services/preferences/common/preferencesEditorInput.js +0 -47
- package/vscode/src/vs/workbench/services/preferences/common/preferencesModels.d.ts +0 -71
- package/vscode/src/vs/workbench/services/progress/browser/progressIndicator.js +0 -247
- package/vscode/src/vs/workbench/services/remote/common/remoteAgentService.d.ts +0 -22
- package/vscode/src/vs/workbench/services/search/common/ignoreFile.js +0 -104
- package/vscode/src/vs/workbench/services/storage/browser/storageService.d.ts +0 -41
- package/vscode/src/vs/workbench/services/storage/browser/storageService.js +0 -292
- package/vscode/src/vs/workbench/services/textMate/common/TMGrammars.js +0 -74
- package/vscode/src/vs/workbench/services/textMate/common/TMHelper.js +0 -108
- package/vscode/src/vs/workbench/services/textfile/common/encoding.js +0 -543
- package/vscode/src/vs/workbench/services/textfile/common/textEditorService.js +0 -150
- package/vscode/src/vs/workbench/services/textfile/common/textFileEditorModel.js +0 -751
- package/vscode/src/vs/workbench/services/themes/common/colorThemeData.js +0 -906
- package/vscode/src/vs/workbench/services/themes/common/plistParser.js +0 -401
- package/vscode/src/vs/workbench/services/themes/common/textMateScopeMatcher.js +0 -121
- package/vscode/src/vs/workbench/services/themes/common/themeCompatibility.js +0 -78
- package/vscode/src/vs/workbench/services/themes/common/workbenchThemeService.d.ts +0 -20
- package/vscode/src/vs/workbench/services/themes/common/workbenchThemeService.js +0 -109
- package/vscode/src/vs/workbench/services/themes/common/workbenchThemeService.service.js +0 -6
- package/vscode/src/vs/workbench/services/untitled/common/untitledTextEditorInput.js +0 -158
- package/vscode/src/vs/workbench/services/untitled/common/untitledTextEditorModel.d.ts +0 -38
- package/vscode/src/vs/workbench/services/untitled/common/untitledTextEditorModel.js +0 -257
- package/vscode/src/vs/workbench/services/untitled/common/untitledTextEditorService.d.ts +0 -104
- package/vscode/src/vs/workbench/services/update/browser/updateService.d.ts +0 -15
- package/vscode/src/vs/workbench/services/url/browser/urlService.d.ts +0 -29
- package/vscode/src/vs/workbench/services/userData/browser/userDataInit.d.ts +0 -11
- package/vscode/src/vs/workbench/services/userDataProfile/browser/iconSelectBox.js +0 -99
- package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfile.d.ts +0 -10
- package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfile.js +0 -30
- package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfileIcons.js +0 -93
- package/vscode/src/vs/workbench/services/views/browser/viewsService.js +0 -611
- package/vscode/src/vs/workbench/services/workingCopy/common/fileWorkingCopy.d.ts +0 -104
- package/vscode/src/vs/workbench/services/workingCopy/common/resourceWorkingCopy.d.ts +0 -29
- package/vscode/src/vs/workbench/services/workingCopy/common/resourceWorkingCopy.js +0 -79
- package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopy.d.ts +0 -222
- package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopy.js +0 -704
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopy.d.ts +0 -170
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopy.js +0 -3
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyFileService.d.ts +0 -96
- package/vscode/src/vs/workbench/services/workspaces/common/workspaceTrust.js +0 -651
- package/vscode-dts/vscode.proposed.aiTextSearchProviderNew.d.ts +0 -40
- package/vscode-dts/vscode.proposed.attributableCoverage.d.ts +0 -46
- package/vscode-dts/vscode.proposed.contribIssueReporter.d.ts +0 -7
- package/vscode-dts/vscode.proposed.fileSearchProviderNew.d.ts +0 -101
- package/vscode-dts/vscode.proposed.findFiles2New.d.ts +0 -105
- package/vscode-dts/vscode.proposed.findTextInFilesNew.d.ts +0 -164
- package/vscode-dts/vscode.proposed.lmTools.d.ts +0 -9
- package/vscode-dts/vscode.proposed.textSearchCompleteNew.d.ts +0 -38
- package/vscode-dts/vscode.proposed.textSearchProviderNew.d.ts +0 -275
|
@@ -1,3144 +0,0 @@
|
|
|
1
|
-
import { __decorate, __param } from '../../../../../../../external/tslib/tslib.es6.js';
|
|
2
|
-
import './media/extensionActions.css.js';
|
|
3
|
-
import { localize, localize2 } from '../../../../nls.js';
|
|
4
|
-
import { Action, Separator, SubmenuAction } from '../../../../base/common/actions.js';
|
|
5
|
-
import { Throttler, Delayer, Promises } from '../../../../base/common/async.js';
|
|
6
|
-
import { getDomNodePagePosition } from '../../../../base/browser/dom.js';
|
|
7
|
-
import { Emitter, Event } from '../../../../base/common/event.js';
|
|
8
|
-
import { parse, parseTree, findNodeAtLocation } from '../../../../base/common/json.js';
|
|
9
|
-
import { IContextMenuService } from '../../../../platform/contextview/browser/contextView.service.js';
|
|
10
|
-
import { disposeIfDisposable } from '../../../../base/common/lifecycle.js';
|
|
11
|
-
import { SELECT_INSTALL_VSIX_EXTENSION_COMMAND_ID, AutoUpdateConfigurationKey, INSTALL_ACTIONS_GROUP, UPDATE_ACTIONS_GROUP, THEME_ACTIONS_GROUP, TOGGLE_IGNORE_EXTENSION_ACTION_ID } from '../common/extensions.js';
|
|
12
|
-
import { IExtensionsWorkbenchService } from '../common/extensions.service.js';
|
|
13
|
-
import { ExtensionsConfigurationInitialContent } from '../common/extensionsFileTemplate.js';
|
|
14
|
-
import { TargetPlatformToString } from '../../../../platform/extensionManagement/common/extensionManagement.js';
|
|
15
|
-
import { IExtensionGalleryService } from '../../../../platform/extensionManagement/common/extensionManagement.service.js';
|
|
16
|
-
import { IExtensionManagementServerService, IWorkbenchExtensionEnablementService, IWorkbenchExtensionManagementService } from '../../../services/extensionManagement/common/extensionManagement.service.js';
|
|
17
|
-
import { IExtensionRecommendationsService, IExtensionIgnoredRecommendationsService } from '../../../services/extensionRecommendations/common/extensionRecommendations.service.js';
|
|
18
|
-
import { areSameExtensions, getExtensionId } from '../../../../platform/extensionManagement/common/extensionManagementUtil.js';
|
|
19
|
-
import { isLanguagePackExtension, isApplicationScopedExtension, ExtensionIdentifier, getWorkspaceSupportTypeMessage } from '../../../../platform/extensions/common/extensions.js';
|
|
20
|
-
import { IInstantiationService } from '../../../../platform/instantiation/common/instantiation.js';
|
|
21
|
-
import { IFileService } from '../../../../platform/files/common/files.service.js';
|
|
22
|
-
import { IWorkspaceContextService } from '../../../../platform/workspace/common/workspace.service.js';
|
|
23
|
-
import { IHostService } from '../../../services/host/browser/host.service.js';
|
|
24
|
-
import { toExtensionDescription, toExtension } from '../../../services/extensions/common/extensions.js';
|
|
25
|
-
import { IExtensionService } from '../../../services/extensions/common/extensions.service.js';
|
|
26
|
-
import { URI } from '../../../../base/common/uri.js';
|
|
27
|
-
import { CommandsRegistry } from '../../../../platform/commands/common/commands.js';
|
|
28
|
-
import { ICommandService } from '../../../../platform/commands/common/commands.service.js';
|
|
29
|
-
import { IConfigurationService } from '../../../../platform/configuration/common/configuration.service.js';
|
|
30
|
-
import { registerThemingParticipant } from '../../../../platform/theme/common/themeService.js';
|
|
31
|
-
import { ThemeIcon } from '../../../../base/common/themables.js';
|
|
32
|
-
import { registerColor } from '../../../../platform/theme/common/colorUtils.js';
|
|
33
|
-
import '../../../../platform/theme/common/colors/baseColors.js';
|
|
34
|
-
import '../../../../platform/theme/common/colors/chartsColors.js';
|
|
35
|
-
import { editorErrorForeground, editorWarningForeground, editorInfoForeground } from '../../../../platform/theme/common/colors/editorColors.js';
|
|
36
|
-
import { buttonBackground, buttonForeground, buttonHoverBackground, buttonSeparator } from '../../../../platform/theme/common/colors/inputColors.js';
|
|
37
|
-
import '../../../../platform/theme/common/colors/listColors.js';
|
|
38
|
-
import '../../../../platform/theme/common/colors/menuColors.js';
|
|
39
|
-
import '../../../../platform/theme/common/colors/minimapColors.js';
|
|
40
|
-
import '../../../../platform/theme/common/colors/miscColors.js';
|
|
41
|
-
import '../../../../platform/theme/common/colors/quickpickColors.js';
|
|
42
|
-
import '../../../../platform/theme/common/colors/searchColors.js';
|
|
43
|
-
import { IJSONEditingService } from '../../../services/configuration/common/jsonEditing.service.js';
|
|
44
|
-
import { ITextModelService } from '../../../../editor/common/services/resolverService.js';
|
|
45
|
-
import { IContextKeyService } from '../../../../platform/contextkey/common/contextkey.service.js';
|
|
46
|
-
import { MenuId } from '../../../../platform/actions/common/actions.js';
|
|
47
|
-
import { IMenuService } from '../../../../platform/actions/common/actions.service.js';
|
|
48
|
-
import { PICK_WORKSPACE_FOLDER_COMMAND_ID } from '../../../browser/actions/workspaceCommands.js';
|
|
49
|
-
import '../../../../platform/notification/common/notification.js';
|
|
50
|
-
import { INotificationService } from '../../../../platform/notification/common/notification.service.js';
|
|
51
|
-
import { IOpenerService } from '../../../../platform/opener/common/opener.service.js';
|
|
52
|
-
import { IEditorService } from '../../../services/editor/common/editorService.service.js';
|
|
53
|
-
import { IQuickInputService } from '../../../../platform/quickinput/common/quickInput.service.js';
|
|
54
|
-
import { CancellationToken } from '../../../../base/common/cancellation.js';
|
|
55
|
-
import { alert } from '../../../../base/browser/ui/aria/aria.js';
|
|
56
|
-
import { IWorkbenchThemeService } from '../../../services/themes/common/workbenchThemeService.service.js';
|
|
57
|
-
import { ILabelService } from '../../../../platform/label/common/label.service.js';
|
|
58
|
-
import { ITextFileService } from '../../../services/textfile/common/textfiles.service.js';
|
|
59
|
-
import { IProductService } from '../../../../platform/product/common/productService.service.js';
|
|
60
|
-
import { IDialogService } from '../../../../platform/dialogs/common/dialogs.service.js';
|
|
61
|
-
import { IProgressService } from '../../../../platform/progress/common/progress.service.js';
|
|
62
|
-
import { ActionViewItem } from '../../../../base/browser/ui/actionbar/actionViewItems.js';
|
|
63
|
-
import { EXTENSIONS_CONFIG } from '../../../services/extensionRecommendations/common/workspaceExtensionsConfig.js';
|
|
64
|
-
import { isCancellationError, getErrorMessage } from '../../../../base/common/errors.js';
|
|
65
|
-
import { IUserDataSyncEnablementService } from '../../../../platform/userDataSync/common/userDataSync.service.js';
|
|
66
|
-
import { ILogService } from '../../../../platform/log/common/log.service.js';
|
|
67
|
-
import { manageExtensionIcon, syncIgnoredIcon, syncEnabledIcon, warningIcon, infoIcon, trustIcon, errorIcon } from './extensionsIcons.js';
|
|
68
|
-
import { isWeb, isIOS, language } from '../../../../base/common/platform.js';
|
|
69
|
-
import { IExtensionManifestPropertiesService } from '../../../services/extensions/common/extensionManifestPropertiesService.service.js';
|
|
70
|
-
import { IWorkspaceTrustEnablementService, IWorkspaceTrustManagementService } from '../../../../platform/workspace/common/workspaceTrust.service.js';
|
|
71
|
-
import { isVirtualWorkspace } from '../../../../platform/workspace/common/virtualWorkspace.js';
|
|
72
|
-
import { MarkdownString, escapeMarkdownSyntaxTokens } from '../../../../base/common/htmlContent.js';
|
|
73
|
-
import { fromNow } from '../../../../base/common/date.js';
|
|
74
|
-
import { IPreferencesService } from '../../../services/preferences/common/preferences.service.js';
|
|
75
|
-
import { getLocale } from '../../../../platform/languagePacks/common/languagePacks.js';
|
|
76
|
-
import { ILocaleService } from '../../../services/localization/common/locale.service.js';
|
|
77
|
-
import { isString } from '../../../../base/common/types.js';
|
|
78
|
-
import { showWindowLogActionId } from '../../../services/log/common/logConstants.js';
|
|
79
|
-
import { ITelemetryService } from '../../../../platform/telemetry/common/telemetry.service.js';
|
|
80
|
-
import { Extensions } from '../../../services/extensionManagement/common/extensionFeatures.js';
|
|
81
|
-
import { IExtensionFeaturesManagementService } from '../../../services/extensionManagement/common/extensionFeatures.service.js';
|
|
82
|
-
import { Registry } from '../../../../platform/registry/common/platform.js';
|
|
83
|
-
import { IUpdateService } from '../../../../platform/update/common/update.service.js';
|
|
84
|
-
import { ActionWithDropdownActionViewItem } from '../../../../base/browser/ui/dropdown/dropdownActionViewItem.js';
|
|
85
|
-
import { IAuthenticationUsageService } from '../../../services/authentication/browser/authenticationUsageService.service.js';
|
|
86
|
-
import Severity$1 from '../../../../base/common/severity.js';
|
|
87
|
-
|
|
88
|
-
var InstallAction_1, InstallInOtherServerAction_1, UninstallAction_1, UpdateAction_1, ToggleAutoUpdateForExtensionAction_1, ToggleAutoUpdatesForPublisherAction_1, MigrateDeprecatedExtensionAction_1, ManageExtensionAction_1, TogglePreReleaseExtensionAction_1, InstallAnotherVersionAction_1, EnableForWorkspaceAction_1, EnableGloballyAction_1, DisableForWorkspaceAction_1, DisableGloballyAction_1, ExtensionRuntimeStateAction_1, SetColorThemeAction_1, SetFileIconThemeAction_1, SetProductIconThemeAction_1, SetLanguageAction_1, ClearLanguageAction_1, ShowRecommendedExtensionAction_1, InstallRecommendedExtensionAction_1, IgnoreExtensionRecommendationAction_1, UndoIgnoreExtensionRecommendationAction_1, ExtensionStatusLabelAction_1, ToggleSyncExtensionAction_1, ExtensionStatusAction_1, ReinstallAction_1, InstallSpecificVersionOfExtensionAction_1;
|
|
89
|
-
let PromptExtensionInstallFailureAction = class PromptExtensionInstallFailureAction extends Action {
|
|
90
|
-
constructor(extension, options, version, installOperation, error, productService, openerService, notificationService, dialogService, commandService, logService, extensionManagementServerService, instantiationService, galleryService, extensionManifestPropertiesService) {
|
|
91
|
-
super('extension.promptExtensionInstallFailure');
|
|
92
|
-
this.extension = extension;
|
|
93
|
-
this.options = options;
|
|
94
|
-
this.version = version;
|
|
95
|
-
this.installOperation = installOperation;
|
|
96
|
-
this.error = error;
|
|
97
|
-
this.productService = productService;
|
|
98
|
-
this.openerService = openerService;
|
|
99
|
-
this.notificationService = notificationService;
|
|
100
|
-
this.dialogService = dialogService;
|
|
101
|
-
this.commandService = commandService;
|
|
102
|
-
this.logService = logService;
|
|
103
|
-
this.extensionManagementServerService = extensionManagementServerService;
|
|
104
|
-
this.instantiationService = instantiationService;
|
|
105
|
-
this.galleryService = galleryService;
|
|
106
|
-
this.extensionManifestPropertiesService = extensionManifestPropertiesService;
|
|
107
|
-
}
|
|
108
|
-
async run() {
|
|
109
|
-
if (isCancellationError(this.error)) {
|
|
110
|
-
return;
|
|
111
|
-
}
|
|
112
|
-
this.logService.error(this.error);
|
|
113
|
-
if (this.error.name === "Unsupported" ) {
|
|
114
|
-
const productName = isWeb ? ( localize(7809, "{0} for the Web", this.productService.nameLong)) : this.productService.nameLong;
|
|
115
|
-
const message = ( localize(
|
|
116
|
-
7810,
|
|
117
|
-
"The '{0}' extension is not available in {1}. Click 'More Information' to learn more.",
|
|
118
|
-
this.extension.displayName || this.extension.identifier.id,
|
|
119
|
-
productName
|
|
120
|
-
));
|
|
121
|
-
const { confirmed } = await this.dialogService.confirm({
|
|
122
|
-
type: Severity$1.Info,
|
|
123
|
-
message,
|
|
124
|
-
primaryButton: ( localize(7811, "&&More Information")),
|
|
125
|
-
cancelButton: ( localize(7812, "Close"))
|
|
126
|
-
});
|
|
127
|
-
if (confirmed) {
|
|
128
|
-
this.openerService.open(isWeb ? ( (URI.parse('https://aka.ms/vscode-web-extensions-guide'))) : ( (URI.parse('https://aka.ms/vscode-remote'))));
|
|
129
|
-
}
|
|
130
|
-
return;
|
|
131
|
-
}
|
|
132
|
-
if ("ReleaseVersionNotFound" === this.error.name) {
|
|
133
|
-
await this.dialogService.prompt({
|
|
134
|
-
type: 'error',
|
|
135
|
-
message: getErrorMessage(this.error),
|
|
136
|
-
buttons: [{
|
|
137
|
-
label: ( localize(7813, "Install Pre-Release")),
|
|
138
|
-
run: () => {
|
|
139
|
-
const installAction = this.instantiationService.createInstance(InstallAction, { installPreReleaseVersion: true });
|
|
140
|
-
installAction.extension = this.extension;
|
|
141
|
-
return installAction.run();
|
|
142
|
-
}
|
|
143
|
-
}],
|
|
144
|
-
cancelButton: ( localize(7814, "Cancel"))
|
|
145
|
-
});
|
|
146
|
-
return;
|
|
147
|
-
}
|
|
148
|
-
if (["Incompatible" , "IncompatibleApi" , "IncompatibleTargetPlatform" , "Malicious" , "Deprecated" ].includes(this.error.name)) {
|
|
149
|
-
await this.dialogService.info(getErrorMessage(this.error));
|
|
150
|
-
return;
|
|
151
|
-
}
|
|
152
|
-
if ("PackageNotSigned" === this.error.name) {
|
|
153
|
-
await this.dialogService.prompt({
|
|
154
|
-
type: 'error',
|
|
155
|
-
message: ( localize(
|
|
156
|
-
7815,
|
|
157
|
-
"'{0}' is an extension from an unknown source. Are you sure you want to install?",
|
|
158
|
-
this.extension.displayName
|
|
159
|
-
)),
|
|
160
|
-
detail: getErrorMessage(this.error),
|
|
161
|
-
buttons: [{
|
|
162
|
-
label: ( localize(7816, "Install Anyway")),
|
|
163
|
-
run: () => {
|
|
164
|
-
const installAction = this.instantiationService.createInstance(InstallAction, { ...this.options, donotVerifySignature: true, });
|
|
165
|
-
installAction.extension = this.extension;
|
|
166
|
-
return installAction.run();
|
|
167
|
-
}
|
|
168
|
-
}],
|
|
169
|
-
cancelButton: true
|
|
170
|
-
});
|
|
171
|
-
return;
|
|
172
|
-
}
|
|
173
|
-
if ("SignatureVerificationFailed" === this.error.name || "SignatureVerificationInternal" === this.error.name) {
|
|
174
|
-
await this.dialogService.prompt({
|
|
175
|
-
type: 'error',
|
|
176
|
-
message: ( localize(
|
|
177
|
-
7817,
|
|
178
|
-
"Cannot install '{0}' extension because {1} cannot verify the extension signature",
|
|
179
|
-
this.extension.displayName,
|
|
180
|
-
this.productService.nameLong
|
|
181
|
-
)),
|
|
182
|
-
detail: getErrorMessage(this.error),
|
|
183
|
-
buttons: [{
|
|
184
|
-
label: ( localize(7818, "Learn More")),
|
|
185
|
-
run: () => this.openerService.open('https://code.visualstudio.com/docs/editor/extension-marketplace#_the-extension-signature-cannot-be-verified-by-vs-code')
|
|
186
|
-
}, {
|
|
187
|
-
label: ( localize(7819, "Install Anyway (Don't Verify Signature)")),
|
|
188
|
-
run: () => {
|
|
189
|
-
const installAction = this.instantiationService.createInstance(InstallAction, { ...this.options, donotVerifySignature: true, });
|
|
190
|
-
installAction.extension = this.extension;
|
|
191
|
-
return installAction.run();
|
|
192
|
-
}
|
|
193
|
-
}],
|
|
194
|
-
cancelButton: true
|
|
195
|
-
});
|
|
196
|
-
return;
|
|
197
|
-
}
|
|
198
|
-
const operationMessage = this.installOperation === 3 ? ( localize(
|
|
199
|
-
7820,
|
|
200
|
-
"Error while updating '{0}' extension.",
|
|
201
|
-
this.extension.displayName || this.extension.identifier.id
|
|
202
|
-
))
|
|
203
|
-
: ( localize(
|
|
204
|
-
7821,
|
|
205
|
-
"Error while installing '{0}' extension.",
|
|
206
|
-
this.extension.displayName || this.extension.identifier.id
|
|
207
|
-
));
|
|
208
|
-
let additionalMessage;
|
|
209
|
-
const promptChoices = [];
|
|
210
|
-
const downloadUrl = await this.getDownloadUrl();
|
|
211
|
-
if (downloadUrl) {
|
|
212
|
-
additionalMessage = ( localize(
|
|
213
|
-
7822,
|
|
214
|
-
"Please check the [log]({0}) for more details.",
|
|
215
|
-
`command:${showWindowLogActionId}`
|
|
216
|
-
));
|
|
217
|
-
promptChoices.push({
|
|
218
|
-
label: ( localize(7823, "Try Downloading Manually...")),
|
|
219
|
-
run: () => this.openerService.open(downloadUrl).then(() => {
|
|
220
|
-
this.notificationService.prompt(Severity$1.Info, ( localize(
|
|
221
|
-
7824,
|
|
222
|
-
'Once downloaded, please manually install the downloaded VSIX of \'{0}\'.',
|
|
223
|
-
this.extension.identifier.id
|
|
224
|
-
)), [{
|
|
225
|
-
label: ( localize(7825, "Install from VSIX...")),
|
|
226
|
-
run: () => this.commandService.executeCommand(SELECT_INSTALL_VSIX_EXTENSION_COMMAND_ID)
|
|
227
|
-
}]);
|
|
228
|
-
})
|
|
229
|
-
});
|
|
230
|
-
}
|
|
231
|
-
const message = `${operationMessage}${additionalMessage ? ` ${additionalMessage}` : ''}`;
|
|
232
|
-
this.notificationService.prompt(Severity$1.Error, message, promptChoices);
|
|
233
|
-
}
|
|
234
|
-
async getDownloadUrl() {
|
|
235
|
-
if (isIOS) {
|
|
236
|
-
return undefined;
|
|
237
|
-
}
|
|
238
|
-
if (!this.extension.gallery) {
|
|
239
|
-
return undefined;
|
|
240
|
-
}
|
|
241
|
-
if (!this.productService.extensionsGallery) {
|
|
242
|
-
return undefined;
|
|
243
|
-
}
|
|
244
|
-
if (!this.extensionManagementServerService.localExtensionManagementServer && !this.extensionManagementServerService.remoteExtensionManagementServer) {
|
|
245
|
-
return undefined;
|
|
246
|
-
}
|
|
247
|
-
let targetPlatform = this.extension.gallery.properties.targetPlatform;
|
|
248
|
-
if (targetPlatform !== "universal" && targetPlatform !== "undefined" && this.extensionManagementServerService.remoteExtensionManagementServer) {
|
|
249
|
-
try {
|
|
250
|
-
const manifest = await this.galleryService.getManifest(this.extension.gallery, CancellationToken.None);
|
|
251
|
-
if (manifest && this.extensionManifestPropertiesService.prefersExecuteOnWorkspace(manifest)) {
|
|
252
|
-
targetPlatform = await this.extensionManagementServerService.remoteExtensionManagementServer.extensionManagementService.getTargetPlatform();
|
|
253
|
-
}
|
|
254
|
-
}
|
|
255
|
-
catch (error) {
|
|
256
|
-
this.logService.error(error);
|
|
257
|
-
return undefined;
|
|
258
|
-
}
|
|
259
|
-
}
|
|
260
|
-
if (targetPlatform === "unknown" ) {
|
|
261
|
-
return undefined;
|
|
262
|
-
}
|
|
263
|
-
return (
|
|
264
|
-
(URI.parse(
|
|
265
|
-
`${this.productService.extensionsGallery.serviceUrl}/publishers/${this.extension.publisher}/vsextensions/${this.extension.name}/${this.version}/vspackage${targetPlatform !== "undefined" ? `?targetPlatform=${targetPlatform}` : ''}`
|
|
266
|
-
))
|
|
267
|
-
);
|
|
268
|
-
}
|
|
269
|
-
};
|
|
270
|
-
PromptExtensionInstallFailureAction = ( (__decorate([
|
|
271
|
-
( (__param(5, IProductService))),
|
|
272
|
-
( (__param(6, IOpenerService))),
|
|
273
|
-
( (__param(7, INotificationService))),
|
|
274
|
-
( (__param(8, IDialogService))),
|
|
275
|
-
( (__param(9, ICommandService))),
|
|
276
|
-
( (__param(10, ILogService))),
|
|
277
|
-
( (__param(11, IExtensionManagementServerService))),
|
|
278
|
-
( (__param(12, IInstantiationService))),
|
|
279
|
-
( (__param(13, IExtensionGalleryService))),
|
|
280
|
-
( (__param(14, IExtensionManifestPropertiesService)))
|
|
281
|
-
], PromptExtensionInstallFailureAction)));
|
|
282
|
-
class ExtensionAction extends Action {
|
|
283
|
-
constructor() {
|
|
284
|
-
super(...arguments);
|
|
285
|
-
this._onDidChange = this._register(( (new Emitter())));
|
|
286
|
-
this.onDidChange = this._onDidChange.event;
|
|
287
|
-
this._extension = null;
|
|
288
|
-
this._hidden = false;
|
|
289
|
-
this.hideOnDisabled = true;
|
|
290
|
-
}
|
|
291
|
-
static { this.EXTENSION_ACTION_CLASS = 'extension-action'; }
|
|
292
|
-
static { this.TEXT_ACTION_CLASS = `${ExtensionAction.EXTENSION_ACTION_CLASS} text`; }
|
|
293
|
-
static { this.LABEL_ACTION_CLASS = `${ExtensionAction.EXTENSION_ACTION_CLASS} label`; }
|
|
294
|
-
static { this.PROMINENT_LABEL_ACTION_CLASS = `${ExtensionAction.LABEL_ACTION_CLASS} prominent`; }
|
|
295
|
-
static { this.ICON_ACTION_CLASS = `${ExtensionAction.EXTENSION_ACTION_CLASS} icon`; }
|
|
296
|
-
get extension() { return this._extension; }
|
|
297
|
-
set extension(extension) { this._extension = extension; this.update(); }
|
|
298
|
-
get hidden() { return this._hidden; }
|
|
299
|
-
set hidden(hidden) {
|
|
300
|
-
if (this._hidden !== hidden) {
|
|
301
|
-
this._hidden = hidden;
|
|
302
|
-
this._onDidChange.fire({ hidden });
|
|
303
|
-
}
|
|
304
|
-
}
|
|
305
|
-
_setEnabled(value) {
|
|
306
|
-
super._setEnabled(value);
|
|
307
|
-
if (this.hideOnDisabled) {
|
|
308
|
-
this.hidden = !value;
|
|
309
|
-
}
|
|
310
|
-
}
|
|
311
|
-
}
|
|
312
|
-
class ButtonWithDropDownExtensionAction extends ExtensionAction {
|
|
313
|
-
get menuActions() { return [...this._menuActions]; }
|
|
314
|
-
get extension() {
|
|
315
|
-
return super.extension;
|
|
316
|
-
}
|
|
317
|
-
set extension(extension) {
|
|
318
|
-
this.extensionActions.forEach(a => a.extension = extension);
|
|
319
|
-
super.extension = extension;
|
|
320
|
-
}
|
|
321
|
-
constructor(id, clazz, actionsGroups) {
|
|
322
|
-
clazz = `${clazz} action-dropdown`;
|
|
323
|
-
super(id, undefined, clazz);
|
|
324
|
-
this.actionsGroups = actionsGroups;
|
|
325
|
-
this.menuActionClassNames = [];
|
|
326
|
-
this._menuActions = [];
|
|
327
|
-
this.menuActionClassNames = clazz.split(' ');
|
|
328
|
-
this.hideOnDisabled = false;
|
|
329
|
-
this.extensionActions = actionsGroups.flat();
|
|
330
|
-
this.update();
|
|
331
|
-
this._register(Event.any(...( (this.extensionActions.map(a => a.onDidChange))))(() => this.update(true)));
|
|
332
|
-
this.extensionActions.forEach(a => this._register(a));
|
|
333
|
-
}
|
|
334
|
-
update(donotUpdateActions) {
|
|
335
|
-
if (!donotUpdateActions) {
|
|
336
|
-
this.extensionActions.forEach(a => a.update());
|
|
337
|
-
}
|
|
338
|
-
const actionsGroups = ( (this.actionsGroups.map(actionsGroup => actionsGroup.filter(a => !a.hidden))));
|
|
339
|
-
let actions = [];
|
|
340
|
-
for (const visibleActions of actionsGroups) {
|
|
341
|
-
if (visibleActions.length) {
|
|
342
|
-
actions = [...actions, ...visibleActions, ( (new Separator()))];
|
|
343
|
-
}
|
|
344
|
-
}
|
|
345
|
-
actions = actions.length ? actions.slice(0, actions.length - 1) : actions;
|
|
346
|
-
this.primaryAction = actions[0];
|
|
347
|
-
this._menuActions = actions.length > 1 ? actions : [];
|
|
348
|
-
this._onDidChange.fire({ menuActions: this._menuActions });
|
|
349
|
-
if (this.primaryAction) {
|
|
350
|
-
this.hidden = false;
|
|
351
|
-
this.enabled = this.primaryAction.enabled;
|
|
352
|
-
this.label = this.getLabel(this.primaryAction);
|
|
353
|
-
this.tooltip = this.primaryAction.tooltip;
|
|
354
|
-
}
|
|
355
|
-
else {
|
|
356
|
-
this.hidden = true;
|
|
357
|
-
this.enabled = false;
|
|
358
|
-
}
|
|
359
|
-
}
|
|
360
|
-
async run() {
|
|
361
|
-
if (this.enabled) {
|
|
362
|
-
await this.primaryAction?.run();
|
|
363
|
-
}
|
|
364
|
-
}
|
|
365
|
-
getLabel(action) {
|
|
366
|
-
return action.label;
|
|
367
|
-
}
|
|
368
|
-
}
|
|
369
|
-
class ButtonWithDropdownExtensionActionViewItem extends ActionWithDropdownActionViewItem {
|
|
370
|
-
constructor(action, options, contextMenuProvider) {
|
|
371
|
-
super(null, action, options, contextMenuProvider);
|
|
372
|
-
this._register(action.onDidChange(e => {
|
|
373
|
-
if (e.hidden !== undefined || e.menuActions !== undefined) {
|
|
374
|
-
this.updateClass();
|
|
375
|
-
}
|
|
376
|
-
}));
|
|
377
|
-
}
|
|
378
|
-
render(container) {
|
|
379
|
-
super.render(container);
|
|
380
|
-
this.updateClass();
|
|
381
|
-
}
|
|
382
|
-
updateClass() {
|
|
383
|
-
super.updateClass();
|
|
384
|
-
if (this.element && this.dropdownMenuActionViewItem?.element) {
|
|
385
|
-
this.element.classList.toggle('hide', this._action.hidden);
|
|
386
|
-
const isMenuEmpty = this._action.menuActions.length === 0;
|
|
387
|
-
this.element.classList.toggle('empty', isMenuEmpty);
|
|
388
|
-
this.dropdownMenuActionViewItem.element.classList.toggle('hide', isMenuEmpty);
|
|
389
|
-
}
|
|
390
|
-
}
|
|
391
|
-
}
|
|
392
|
-
let InstallAction = class InstallAction extends ExtensionAction {
|
|
393
|
-
static { InstallAction_1 = this; }
|
|
394
|
-
static { this.CLASS = `${this.LABEL_ACTION_CLASS} prominent install`; }
|
|
395
|
-
static { this.HIDE = `${this.CLASS} hide`; }
|
|
396
|
-
set manifest(manifest) {
|
|
397
|
-
this._manifest = manifest;
|
|
398
|
-
this.updateLabel();
|
|
399
|
-
}
|
|
400
|
-
constructor(options, extensionsWorkbenchService, instantiationService, runtimeExtensionService, workbenchThemeService, labelService, dialogService, preferencesService, telemetryService, contextService) {
|
|
401
|
-
super('extensions.install', ( localize(7826, "Install")), InstallAction_1.CLASS, false);
|
|
402
|
-
this.extensionsWorkbenchService = extensionsWorkbenchService;
|
|
403
|
-
this.instantiationService = instantiationService;
|
|
404
|
-
this.runtimeExtensionService = runtimeExtensionService;
|
|
405
|
-
this.workbenchThemeService = workbenchThemeService;
|
|
406
|
-
this.labelService = labelService;
|
|
407
|
-
this.dialogService = dialogService;
|
|
408
|
-
this.preferencesService = preferencesService;
|
|
409
|
-
this.telemetryService = telemetryService;
|
|
410
|
-
this.contextService = contextService;
|
|
411
|
-
this._manifest = null;
|
|
412
|
-
this.updateThrottler = ( (new Throttler()));
|
|
413
|
-
this.hideOnDisabled = false;
|
|
414
|
-
this.options = { isMachineScoped: false, ...options };
|
|
415
|
-
this.update();
|
|
416
|
-
this._register(this.labelService.onDidChangeFormatters(() => this.updateLabel(), this));
|
|
417
|
-
}
|
|
418
|
-
update() {
|
|
419
|
-
this.updateThrottler.queue(() => this.computeAndUpdateEnablement());
|
|
420
|
-
}
|
|
421
|
-
async computeAndUpdateEnablement() {
|
|
422
|
-
this.enabled = false;
|
|
423
|
-
this.class = InstallAction_1.HIDE;
|
|
424
|
-
this.hidden = true;
|
|
425
|
-
if (!this.extension) {
|
|
426
|
-
return;
|
|
427
|
-
}
|
|
428
|
-
if (this.extension.isBuiltin) {
|
|
429
|
-
return;
|
|
430
|
-
}
|
|
431
|
-
if (this.extensionsWorkbenchService.canSetLanguage(this.extension)) {
|
|
432
|
-
return;
|
|
433
|
-
}
|
|
434
|
-
if (this.extension.state !== 3 ) {
|
|
435
|
-
return;
|
|
436
|
-
}
|
|
437
|
-
if (this.options.installPreReleaseVersion && !this.extension.hasPreReleaseVersion) {
|
|
438
|
-
return;
|
|
439
|
-
}
|
|
440
|
-
if (!this.options.installPreReleaseVersion && !this.extension.hasReleaseVersion) {
|
|
441
|
-
return;
|
|
442
|
-
}
|
|
443
|
-
this.hidden = false;
|
|
444
|
-
this.class = InstallAction_1.CLASS;
|
|
445
|
-
if (await this.extensionsWorkbenchService.canInstall(this.extension)) {
|
|
446
|
-
this.enabled = true;
|
|
447
|
-
this.updateLabel();
|
|
448
|
-
}
|
|
449
|
-
}
|
|
450
|
-
async run() {
|
|
451
|
-
if (!this.extension) {
|
|
452
|
-
return;
|
|
453
|
-
}
|
|
454
|
-
if (this.extension.gallery && !this.extension.gallery.isSigned) {
|
|
455
|
-
const { result } = await this.dialogService.prompt({
|
|
456
|
-
type: Severity$1.Warning,
|
|
457
|
-
message: ( localize(
|
|
458
|
-
7815,
|
|
459
|
-
"'{0}' is an extension from an unknown source. Are you sure you want to install?",
|
|
460
|
-
this.extension.displayName
|
|
461
|
-
)),
|
|
462
|
-
detail: ( localize(7827, "Extension is not signed.")),
|
|
463
|
-
buttons: [
|
|
464
|
-
{
|
|
465
|
-
label: ( localize(7816, "Install Anyway")),
|
|
466
|
-
run: () => {
|
|
467
|
-
this.options.donotVerifySignature = true;
|
|
468
|
-
return true;
|
|
469
|
-
}
|
|
470
|
-
}
|
|
471
|
-
],
|
|
472
|
-
cancelButton: {
|
|
473
|
-
run: () => false
|
|
474
|
-
}
|
|
475
|
-
});
|
|
476
|
-
if (!result) {
|
|
477
|
-
return;
|
|
478
|
-
}
|
|
479
|
-
}
|
|
480
|
-
if (this.extension.deprecationInfo) {
|
|
481
|
-
let detail = ( localize(7828, "This extension is deprecated as it is no longer being maintained."));
|
|
482
|
-
let DeprecationChoice;
|
|
483
|
-
( ((function(DeprecationChoice) {
|
|
484
|
-
DeprecationChoice[DeprecationChoice["InstallAnyway"] = 0] = "InstallAnyway";
|
|
485
|
-
DeprecationChoice[DeprecationChoice["ShowAlternateExtension"] = 1] = "ShowAlternateExtension";
|
|
486
|
-
DeprecationChoice[DeprecationChoice["ConfigureSettings"] = 2] = "ConfigureSettings";
|
|
487
|
-
DeprecationChoice[DeprecationChoice["Cancel"] = 3] = "Cancel";
|
|
488
|
-
})(DeprecationChoice || (DeprecationChoice = {}))));
|
|
489
|
-
const buttons = [
|
|
490
|
-
{
|
|
491
|
-
label: ( localize(7816, "Install Anyway")),
|
|
492
|
-
run: () => DeprecationChoice.InstallAnyway
|
|
493
|
-
}
|
|
494
|
-
];
|
|
495
|
-
if (this.extension.deprecationInfo.extension) {
|
|
496
|
-
detail = ( localize(
|
|
497
|
-
7829,
|
|
498
|
-
"This extension is deprecated. Use the {0} extension instead.",
|
|
499
|
-
this.extension.deprecationInfo.extension.displayName
|
|
500
|
-
));
|
|
501
|
-
const alternateExtension = this.extension.deprecationInfo.extension;
|
|
502
|
-
buttons.push({
|
|
503
|
-
label: ( localize(7830, "&&Open {0}", this.extension.deprecationInfo.extension.displayName)),
|
|
504
|
-
run: async () => {
|
|
505
|
-
const [extension] = await this.extensionsWorkbenchService.getExtensions([{ id: alternateExtension.id, preRelease: alternateExtension.preRelease }], CancellationToken.None);
|
|
506
|
-
await this.extensionsWorkbenchService.open(extension);
|
|
507
|
-
return DeprecationChoice.ShowAlternateExtension;
|
|
508
|
-
}
|
|
509
|
-
});
|
|
510
|
-
}
|
|
511
|
-
else if (this.extension.deprecationInfo.settings) {
|
|
512
|
-
detail = ( localize(
|
|
513
|
-
7831,
|
|
514
|
-
"This extension is deprecated as this functionality is now built-in to VS Code."
|
|
515
|
-
));
|
|
516
|
-
const settings = this.extension.deprecationInfo.settings;
|
|
517
|
-
buttons.push({
|
|
518
|
-
label: ( localize(7832, "&&Configure Settings")),
|
|
519
|
-
run: async () => {
|
|
520
|
-
await this.preferencesService.openSettings({ query: ( (settings.map(setting => `@id:${setting}`))).join(' ') });
|
|
521
|
-
return DeprecationChoice.ConfigureSettings;
|
|
522
|
-
}
|
|
523
|
-
});
|
|
524
|
-
}
|
|
525
|
-
else if (this.extension.deprecationInfo.additionalInfo) {
|
|
526
|
-
detail = ( (new MarkdownString(`${detail} ${this.extension.deprecationInfo.additionalInfo}`)));
|
|
527
|
-
}
|
|
528
|
-
const { result } = await this.dialogService.prompt({
|
|
529
|
-
type: Severity$1.Warning,
|
|
530
|
-
message: ( localize(
|
|
531
|
-
7833,
|
|
532
|
-
"Are you sure you want to install '{0}'?",
|
|
533
|
-
this.extension.displayName
|
|
534
|
-
)),
|
|
535
|
-
detail: isString(detail) ? detail : undefined,
|
|
536
|
-
custom: isString(detail) ? undefined : {
|
|
537
|
-
markdownDetails: [{
|
|
538
|
-
markdown: detail
|
|
539
|
-
}]
|
|
540
|
-
},
|
|
541
|
-
buttons,
|
|
542
|
-
cancelButton: {
|
|
543
|
-
run: () => DeprecationChoice.Cancel
|
|
544
|
-
}
|
|
545
|
-
});
|
|
546
|
-
if (result !== DeprecationChoice.InstallAnyway) {
|
|
547
|
-
return;
|
|
548
|
-
}
|
|
549
|
-
}
|
|
550
|
-
this.extensionsWorkbenchService.open(this.extension, { showPreReleaseVersion: this.options.installPreReleaseVersion });
|
|
551
|
-
alert(( localize(
|
|
552
|
-
7834,
|
|
553
|
-
"Installing extension {0} started. An editor is now open with more details on this extension",
|
|
554
|
-
this.extension.displayName
|
|
555
|
-
)));
|
|
556
|
-
this.telemetryService.publicLog('extensions:action:install', { ...this.extension.telemetryData, actionId: this.id });
|
|
557
|
-
const extension = await this.install(this.extension);
|
|
558
|
-
if (extension?.local) {
|
|
559
|
-
alert(( localize(7835, "Installing extension {0} is completed.", this.extension.displayName)));
|
|
560
|
-
const runningExtension = await this.getRunningExtension(extension.local);
|
|
561
|
-
if (runningExtension && !(runningExtension.activationEvents && ( (runningExtension.activationEvents.some(activationEent => activationEent.startsWith('onLanguage')))))) {
|
|
562
|
-
const action = await this.getThemeAction(extension);
|
|
563
|
-
if (action) {
|
|
564
|
-
action.extension = extension;
|
|
565
|
-
try {
|
|
566
|
-
return action.run({ showCurrentTheme: true, ignoreFocusLost: true });
|
|
567
|
-
}
|
|
568
|
-
finally {
|
|
569
|
-
action.dispose();
|
|
570
|
-
}
|
|
571
|
-
}
|
|
572
|
-
}
|
|
573
|
-
}
|
|
574
|
-
}
|
|
575
|
-
async getThemeAction(extension) {
|
|
576
|
-
const colorThemes = await this.workbenchThemeService.getColorThemes();
|
|
577
|
-
if (( (colorThemes.some(theme => isThemeFromExtension(theme, extension))))) {
|
|
578
|
-
return this.instantiationService.createInstance(SetColorThemeAction);
|
|
579
|
-
}
|
|
580
|
-
const fileIconThemes = await this.workbenchThemeService.getFileIconThemes();
|
|
581
|
-
if (( (fileIconThemes.some(theme => isThemeFromExtension(theme, extension))))) {
|
|
582
|
-
return this.instantiationService.createInstance(SetFileIconThemeAction);
|
|
583
|
-
}
|
|
584
|
-
const productIconThemes = await this.workbenchThemeService.getProductIconThemes();
|
|
585
|
-
if (( (productIconThemes.some(theme => isThemeFromExtension(theme, extension))))) {
|
|
586
|
-
return this.instantiationService.createInstance(SetProductIconThemeAction);
|
|
587
|
-
}
|
|
588
|
-
return undefined;
|
|
589
|
-
}
|
|
590
|
-
async install(extension) {
|
|
591
|
-
try {
|
|
592
|
-
return await this.extensionsWorkbenchService.install(extension, this.options);
|
|
593
|
-
}
|
|
594
|
-
catch (error) {
|
|
595
|
-
await this.instantiationService.createInstance(PromptExtensionInstallFailureAction, extension, this.options, extension.latestVersion, 2 , error).run();
|
|
596
|
-
return undefined;
|
|
597
|
-
}
|
|
598
|
-
}
|
|
599
|
-
async getRunningExtension(extension) {
|
|
600
|
-
const runningExtension = await this.runtimeExtensionService.getExtension(extension.identifier.id);
|
|
601
|
-
if (runningExtension) {
|
|
602
|
-
return runningExtension;
|
|
603
|
-
}
|
|
604
|
-
if (this.runtimeExtensionService.canAddExtension(toExtensionDescription(extension))) {
|
|
605
|
-
return (
|
|
606
|
-
(new Promise((c, e) => {
|
|
607
|
-
const disposable = this.runtimeExtensionService.onDidChangeExtensions(async () => {
|
|
608
|
-
const runningExtension = await this.runtimeExtensionService.getExtension(extension.identifier.id);
|
|
609
|
-
if (runningExtension) {
|
|
610
|
-
disposable.dispose();
|
|
611
|
-
c(runningExtension);
|
|
612
|
-
}
|
|
613
|
-
});
|
|
614
|
-
}))
|
|
615
|
-
);
|
|
616
|
-
}
|
|
617
|
-
return null;
|
|
618
|
-
}
|
|
619
|
-
updateLabel() {
|
|
620
|
-
this.label = this.getLabel();
|
|
621
|
-
}
|
|
622
|
-
getLabel(primary) {
|
|
623
|
-
if (this.extension?.isWorkspaceScoped && this.extension.resourceExtension && this.contextService.isInsideWorkspace(this.extension.resourceExtension.location)) {
|
|
624
|
-
return ( localize(7836, "Install Workspace Extension"));
|
|
625
|
-
}
|
|
626
|
-
if (this.options.installPreReleaseVersion && this.extension?.hasPreReleaseVersion) {
|
|
627
|
-
return primary ? ( localize(7837, "Install Pre-Release")) : ( localize(7838, "Install Pre-Release Version"));
|
|
628
|
-
}
|
|
629
|
-
if (this.extension?.hasPreReleaseVersion) {
|
|
630
|
-
return primary ? ( localize(7826, "Install")) : ( localize(7839, "Install Release Version"));
|
|
631
|
-
}
|
|
632
|
-
return ( localize(7826, "Install"));
|
|
633
|
-
}
|
|
634
|
-
};
|
|
635
|
-
InstallAction = InstallAction_1 = ( (__decorate([
|
|
636
|
-
( (__param(1, IExtensionsWorkbenchService))),
|
|
637
|
-
( (__param(2, IInstantiationService))),
|
|
638
|
-
( (__param(3, IExtensionService))),
|
|
639
|
-
( (__param(4, IWorkbenchThemeService))),
|
|
640
|
-
( (__param(5, ILabelService))),
|
|
641
|
-
( (__param(6, IDialogService))),
|
|
642
|
-
( (__param(7, IPreferencesService))),
|
|
643
|
-
( (__param(8, ITelemetryService))),
|
|
644
|
-
( (__param(9, IWorkspaceContextService)))
|
|
645
|
-
], InstallAction)));
|
|
646
|
-
let InstallDropdownAction = class InstallDropdownAction extends ButtonWithDropDownExtensionAction {
|
|
647
|
-
set manifest(manifest) {
|
|
648
|
-
this.extensionActions.forEach(a => a.manifest = manifest);
|
|
649
|
-
this.update();
|
|
650
|
-
}
|
|
651
|
-
constructor(instantiationService, extensionsWorkbenchService) {
|
|
652
|
-
super(`extensions.installActions`, InstallAction.CLASS, [
|
|
653
|
-
[
|
|
654
|
-
instantiationService.createInstance(InstallAction, { installPreReleaseVersion: extensionsWorkbenchService.preferPreReleases }),
|
|
655
|
-
instantiationService.createInstance(InstallAction, { installPreReleaseVersion: !extensionsWorkbenchService.preferPreReleases }),
|
|
656
|
-
]
|
|
657
|
-
]);
|
|
658
|
-
}
|
|
659
|
-
getLabel(action) {
|
|
660
|
-
return action.getLabel(true);
|
|
661
|
-
}
|
|
662
|
-
};
|
|
663
|
-
InstallDropdownAction = ( (__decorate([
|
|
664
|
-
( (__param(0, IInstantiationService))),
|
|
665
|
-
( (__param(1, IExtensionsWorkbenchService)))
|
|
666
|
-
], InstallDropdownAction)));
|
|
667
|
-
class InstallingLabelAction extends ExtensionAction {
|
|
668
|
-
static { this.LABEL = ( localize(7840, "Installing")); }
|
|
669
|
-
static { this.CLASS = `${ExtensionAction.LABEL_ACTION_CLASS} install installing`; }
|
|
670
|
-
constructor() {
|
|
671
|
-
super('extension.installing', InstallingLabelAction.LABEL, InstallingLabelAction.CLASS, false);
|
|
672
|
-
}
|
|
673
|
-
update() {
|
|
674
|
-
this.class = `${InstallingLabelAction.CLASS}${this.extension && this.extension.state === 0 ? '' : ' hide'}`;
|
|
675
|
-
}
|
|
676
|
-
}
|
|
677
|
-
let InstallInOtherServerAction = class InstallInOtherServerAction extends ExtensionAction {
|
|
678
|
-
static { InstallInOtherServerAction_1 = this; }
|
|
679
|
-
static { this.INSTALL_LABEL = ( localize(7826, "Install")); }
|
|
680
|
-
static { this.INSTALLING_LABEL = ( localize(7840, "Installing")); }
|
|
681
|
-
static { this.Class = `${ExtensionAction.LABEL_ACTION_CLASS} prominent install-other-server`; }
|
|
682
|
-
static { this.InstallingClass = `${ExtensionAction.LABEL_ACTION_CLASS} install-other-server installing`; }
|
|
683
|
-
constructor(id, server, canInstallAnyWhere, extensionsWorkbenchService, extensionManagementServerService, extensionManifestPropertiesService) {
|
|
684
|
-
super(id, InstallInOtherServerAction_1.INSTALL_LABEL, InstallInOtherServerAction_1.Class, false);
|
|
685
|
-
this.server = server;
|
|
686
|
-
this.canInstallAnyWhere = canInstallAnyWhere;
|
|
687
|
-
this.extensionsWorkbenchService = extensionsWorkbenchService;
|
|
688
|
-
this.extensionManagementServerService = extensionManagementServerService;
|
|
689
|
-
this.extensionManifestPropertiesService = extensionManifestPropertiesService;
|
|
690
|
-
this.updateWhenCounterExtensionChanges = true;
|
|
691
|
-
this.update();
|
|
692
|
-
}
|
|
693
|
-
update() {
|
|
694
|
-
this.enabled = false;
|
|
695
|
-
this.class = InstallInOtherServerAction_1.Class;
|
|
696
|
-
if (this.canInstall()) {
|
|
697
|
-
const extensionInOtherServer = this.extensionsWorkbenchService.installed.filter(e => areSameExtensions(e.identifier, this.extension.identifier) && e.server === this.server)[0];
|
|
698
|
-
if (extensionInOtherServer) {
|
|
699
|
-
if (extensionInOtherServer.state === 0 && !extensionInOtherServer.local) {
|
|
700
|
-
this.enabled = true;
|
|
701
|
-
this.label = InstallInOtherServerAction_1.INSTALLING_LABEL;
|
|
702
|
-
this.class = InstallInOtherServerAction_1.InstallingClass;
|
|
703
|
-
}
|
|
704
|
-
}
|
|
705
|
-
else {
|
|
706
|
-
this.enabled = true;
|
|
707
|
-
this.label = this.getInstallLabel();
|
|
708
|
-
}
|
|
709
|
-
}
|
|
710
|
-
}
|
|
711
|
-
canInstall() {
|
|
712
|
-
if (!this.extension
|
|
713
|
-
|| !this.server
|
|
714
|
-
|| !this.extension.local
|
|
715
|
-
|| this.extension.state !== 1
|
|
716
|
-
|| this.extension.type !== 1
|
|
717
|
-
|| this.extension.enablementState === 2 || this.extension.enablementState === 0 || this.extension.enablementState === 4 ) {
|
|
718
|
-
return false;
|
|
719
|
-
}
|
|
720
|
-
if (isLanguagePackExtension(this.extension.local.manifest)) {
|
|
721
|
-
return true;
|
|
722
|
-
}
|
|
723
|
-
if (this.server === this.extensionManagementServerService.localExtensionManagementServer && this.extensionManifestPropertiesService.prefersExecuteOnUI(this.extension.local.manifest)) {
|
|
724
|
-
return true;
|
|
725
|
-
}
|
|
726
|
-
if (this.server === this.extensionManagementServerService.remoteExtensionManagementServer && this.extensionManifestPropertiesService.prefersExecuteOnWorkspace(this.extension.local.manifest)) {
|
|
727
|
-
return true;
|
|
728
|
-
}
|
|
729
|
-
if (this.server === this.extensionManagementServerService.webExtensionManagementServer && this.extensionManifestPropertiesService.prefersExecuteOnWeb(this.extension.local.manifest)) {
|
|
730
|
-
return true;
|
|
731
|
-
}
|
|
732
|
-
if (this.canInstallAnyWhere) {
|
|
733
|
-
if (this.server === this.extensionManagementServerService.localExtensionManagementServer && this.extensionManifestPropertiesService.canExecuteOnUI(this.extension.local.manifest)) {
|
|
734
|
-
return true;
|
|
735
|
-
}
|
|
736
|
-
if (this.server === this.extensionManagementServerService.remoteExtensionManagementServer && this.extensionManifestPropertiesService.canExecuteOnWorkspace(this.extension.local.manifest)) {
|
|
737
|
-
return true;
|
|
738
|
-
}
|
|
739
|
-
}
|
|
740
|
-
return false;
|
|
741
|
-
}
|
|
742
|
-
async run() {
|
|
743
|
-
if (!this.extension?.local) {
|
|
744
|
-
return;
|
|
745
|
-
}
|
|
746
|
-
if (!this.extension?.server) {
|
|
747
|
-
return;
|
|
748
|
-
}
|
|
749
|
-
if (!this.server) {
|
|
750
|
-
return;
|
|
751
|
-
}
|
|
752
|
-
this.extensionsWorkbenchService.open(this.extension);
|
|
753
|
-
alert(( localize(
|
|
754
|
-
7834,
|
|
755
|
-
"Installing extension {0} started. An editor is now open with more details on this extension",
|
|
756
|
-
this.extension.displayName
|
|
757
|
-
)));
|
|
758
|
-
return this.extensionsWorkbenchService.installInServer(this.extension, this.server);
|
|
759
|
-
}
|
|
760
|
-
};
|
|
761
|
-
InstallInOtherServerAction = InstallInOtherServerAction_1 = ( (__decorate([
|
|
762
|
-
( (__param(3, IExtensionsWorkbenchService))),
|
|
763
|
-
( (__param(4, IExtensionManagementServerService))),
|
|
764
|
-
( (__param(5, IExtensionManifestPropertiesService)))
|
|
765
|
-
], InstallInOtherServerAction)));
|
|
766
|
-
let RemoteInstallAction = class RemoteInstallAction extends InstallInOtherServerAction {
|
|
767
|
-
constructor(canInstallAnyWhere, extensionsWorkbenchService, extensionManagementServerService, extensionManifestPropertiesService) {
|
|
768
|
-
super(`extensions.remoteinstall`, extensionManagementServerService.remoteExtensionManagementServer, canInstallAnyWhere, extensionsWorkbenchService, extensionManagementServerService, extensionManifestPropertiesService);
|
|
769
|
-
}
|
|
770
|
-
getInstallLabel() {
|
|
771
|
-
return this.extensionManagementServerService.remoteExtensionManagementServer
|
|
772
|
-
? ( localize(
|
|
773
|
-
7841,
|
|
774
|
-
"Install in {0}",
|
|
775
|
-
this.extensionManagementServerService.remoteExtensionManagementServer.label
|
|
776
|
-
))
|
|
777
|
-
: InstallInOtherServerAction.INSTALL_LABEL;
|
|
778
|
-
}
|
|
779
|
-
};
|
|
780
|
-
RemoteInstallAction = ( (__decorate([
|
|
781
|
-
( (__param(1, IExtensionsWorkbenchService))),
|
|
782
|
-
( (__param(2, IExtensionManagementServerService))),
|
|
783
|
-
( (__param(3, IExtensionManifestPropertiesService)))
|
|
784
|
-
], RemoteInstallAction)));
|
|
785
|
-
let LocalInstallAction = class LocalInstallAction extends InstallInOtherServerAction {
|
|
786
|
-
constructor(extensionsWorkbenchService, extensionManagementServerService, extensionManifestPropertiesService) {
|
|
787
|
-
super(`extensions.localinstall`, extensionManagementServerService.localExtensionManagementServer, false, extensionsWorkbenchService, extensionManagementServerService, extensionManifestPropertiesService);
|
|
788
|
-
}
|
|
789
|
-
getInstallLabel() {
|
|
790
|
-
return ( localize(7842, "Install Locally"));
|
|
791
|
-
}
|
|
792
|
-
};
|
|
793
|
-
LocalInstallAction = ( (__decorate([
|
|
794
|
-
( (__param(0, IExtensionsWorkbenchService))),
|
|
795
|
-
( (__param(1, IExtensionManagementServerService))),
|
|
796
|
-
( (__param(2, IExtensionManifestPropertiesService)))
|
|
797
|
-
], LocalInstallAction)));
|
|
798
|
-
let WebInstallAction = class WebInstallAction extends InstallInOtherServerAction {
|
|
799
|
-
constructor(extensionsWorkbenchService, extensionManagementServerService, extensionManifestPropertiesService) {
|
|
800
|
-
super(`extensions.webInstall`, extensionManagementServerService.webExtensionManagementServer, false, extensionsWorkbenchService, extensionManagementServerService, extensionManifestPropertiesService);
|
|
801
|
-
}
|
|
802
|
-
getInstallLabel() {
|
|
803
|
-
return ( localize(7843, "Install in Browser"));
|
|
804
|
-
}
|
|
805
|
-
};
|
|
806
|
-
WebInstallAction = ( (__decorate([
|
|
807
|
-
( (__param(0, IExtensionsWorkbenchService))),
|
|
808
|
-
( (__param(1, IExtensionManagementServerService))),
|
|
809
|
-
( (__param(2, IExtensionManifestPropertiesService)))
|
|
810
|
-
], WebInstallAction)));
|
|
811
|
-
let UninstallAction = class UninstallAction extends ExtensionAction {
|
|
812
|
-
static { UninstallAction_1 = this; }
|
|
813
|
-
static { this.UninstallLabel = ( localize(7844, "Uninstall")); }
|
|
814
|
-
static { this.UninstallingLabel = ( localize(7845, "Uninstalling")); }
|
|
815
|
-
static { this.UninstallClass = `${ExtensionAction.LABEL_ACTION_CLASS} uninstall`; }
|
|
816
|
-
static { this.UnInstallingClass = `${ExtensionAction.LABEL_ACTION_CLASS} uninstall uninstalling`; }
|
|
817
|
-
constructor(extensionsWorkbenchService, dialogService) {
|
|
818
|
-
super('extensions.uninstall', UninstallAction_1.UninstallLabel, UninstallAction_1.UninstallClass, false);
|
|
819
|
-
this.extensionsWorkbenchService = extensionsWorkbenchService;
|
|
820
|
-
this.dialogService = dialogService;
|
|
821
|
-
this.update();
|
|
822
|
-
}
|
|
823
|
-
update() {
|
|
824
|
-
if (!this.extension) {
|
|
825
|
-
this.enabled = false;
|
|
826
|
-
return;
|
|
827
|
-
}
|
|
828
|
-
const state = this.extension.state;
|
|
829
|
-
if (state === 2 ) {
|
|
830
|
-
this.label = UninstallAction_1.UninstallingLabel;
|
|
831
|
-
this.class = UninstallAction_1.UnInstallingClass;
|
|
832
|
-
this.enabled = false;
|
|
833
|
-
return;
|
|
834
|
-
}
|
|
835
|
-
this.label = UninstallAction_1.UninstallLabel;
|
|
836
|
-
this.class = UninstallAction_1.UninstallClass;
|
|
837
|
-
this.tooltip = UninstallAction_1.UninstallLabel;
|
|
838
|
-
if (state !== 1 ) {
|
|
839
|
-
this.enabled = false;
|
|
840
|
-
return;
|
|
841
|
-
}
|
|
842
|
-
if (this.extension.isBuiltin) {
|
|
843
|
-
this.enabled = false;
|
|
844
|
-
return;
|
|
845
|
-
}
|
|
846
|
-
this.enabled = true;
|
|
847
|
-
}
|
|
848
|
-
async run() {
|
|
849
|
-
if (!this.extension) {
|
|
850
|
-
return;
|
|
851
|
-
}
|
|
852
|
-
alert(( localize(7846, "Uninstalling extension {0} started.", this.extension.displayName)));
|
|
853
|
-
try {
|
|
854
|
-
await this.extensionsWorkbenchService.uninstall(this.extension);
|
|
855
|
-
alert(( localize(
|
|
856
|
-
7847,
|
|
857
|
-
"Please reload Visual Studio Code to complete the uninstallation of the extension {0}.",
|
|
858
|
-
this.extension.displayName
|
|
859
|
-
)));
|
|
860
|
-
}
|
|
861
|
-
catch (error) {
|
|
862
|
-
if (!isCancellationError(error)) {
|
|
863
|
-
this.dialogService.error(getErrorMessage(error));
|
|
864
|
-
}
|
|
865
|
-
}
|
|
866
|
-
}
|
|
867
|
-
};
|
|
868
|
-
UninstallAction = UninstallAction_1 = ( (__decorate([
|
|
869
|
-
( (__param(0, IExtensionsWorkbenchService))),
|
|
870
|
-
( (__param(1, IDialogService)))
|
|
871
|
-
], UninstallAction)));
|
|
872
|
-
let UpdateAction = class UpdateAction extends ExtensionAction {
|
|
873
|
-
static { UpdateAction_1 = this; }
|
|
874
|
-
static { this.EnabledClass = `${this.LABEL_ACTION_CLASS} prominent update`; }
|
|
875
|
-
static { this.DisabledClass = `${this.EnabledClass} disabled`; }
|
|
876
|
-
constructor(verbose, extensionsWorkbenchService, dialogService, openerService, instantiationService) {
|
|
877
|
-
super(`extensions.update`, ( localize(7848, "Update")), UpdateAction_1.DisabledClass, false);
|
|
878
|
-
this.verbose = verbose;
|
|
879
|
-
this.extensionsWorkbenchService = extensionsWorkbenchService;
|
|
880
|
-
this.dialogService = dialogService;
|
|
881
|
-
this.openerService = openerService;
|
|
882
|
-
this.instantiationService = instantiationService;
|
|
883
|
-
this.updateThrottler = ( (new Throttler()));
|
|
884
|
-
this.update();
|
|
885
|
-
}
|
|
886
|
-
update() {
|
|
887
|
-
this.updateThrottler.queue(() => this.computeAndUpdateEnablement());
|
|
888
|
-
if (this.extension) {
|
|
889
|
-
this.label = this.verbose ? ( localize(7849, "Update to v{0}", this.extension.latestVersion)) : ( localize(7848, "Update"));
|
|
890
|
-
}
|
|
891
|
-
}
|
|
892
|
-
async computeAndUpdateEnablement() {
|
|
893
|
-
this.enabled = false;
|
|
894
|
-
this.class = UpdateAction_1.DisabledClass;
|
|
895
|
-
if (!this.extension) {
|
|
896
|
-
return;
|
|
897
|
-
}
|
|
898
|
-
if (this.extension.deprecationInfo) {
|
|
899
|
-
return;
|
|
900
|
-
}
|
|
901
|
-
const canInstall = await this.extensionsWorkbenchService.canInstall(this.extension);
|
|
902
|
-
const isInstalled = this.extension.state === 1 ;
|
|
903
|
-
this.enabled = canInstall && isInstalled && this.extension.outdated;
|
|
904
|
-
this.class = this.enabled ? UpdateAction_1.EnabledClass : UpdateAction_1.DisabledClass;
|
|
905
|
-
}
|
|
906
|
-
async run() {
|
|
907
|
-
if (!this.extension) {
|
|
908
|
-
return;
|
|
909
|
-
}
|
|
910
|
-
const consent = await this.extensionsWorkbenchService.shouldRequireConsentToUpdate(this.extension);
|
|
911
|
-
if (consent) {
|
|
912
|
-
const { result } = await this.dialogService.prompt({
|
|
913
|
-
type: 'warning',
|
|
914
|
-
title: ( localize(7850, "Update {0} Extension", this.extension.displayName)),
|
|
915
|
-
message: ( localize(7851, "{0}\n\nWould you like to update the extension?", consent)),
|
|
916
|
-
buttons: [{
|
|
917
|
-
label: ( localize(7848, "Update")),
|
|
918
|
-
run: () => 'update'
|
|
919
|
-
}, {
|
|
920
|
-
label: ( localize(7852, "Review")),
|
|
921
|
-
run: () => 'review'
|
|
922
|
-
}, {
|
|
923
|
-
label: ( localize(7814, "Cancel")),
|
|
924
|
-
run: () => 'cancel'
|
|
925
|
-
}]
|
|
926
|
-
});
|
|
927
|
-
if (result === 'cancel') {
|
|
928
|
-
return;
|
|
929
|
-
}
|
|
930
|
-
if (result === 'review') {
|
|
931
|
-
if (this.extension.hasChangelog()) {
|
|
932
|
-
return this.extensionsWorkbenchService.open(this.extension, { tab: "changelog" });
|
|
933
|
-
}
|
|
934
|
-
if (this.extension.repository) {
|
|
935
|
-
return this.openerService.open(this.extension.repository);
|
|
936
|
-
}
|
|
937
|
-
return this.extensionsWorkbenchService.open(this.extension);
|
|
938
|
-
}
|
|
939
|
-
}
|
|
940
|
-
alert(( localize(
|
|
941
|
-
7853,
|
|
942
|
-
"Updating extension {0} to version {1} started.",
|
|
943
|
-
this.extension.displayName,
|
|
944
|
-
this.extension.latestVersion
|
|
945
|
-
)));
|
|
946
|
-
return this.install(this.extension);
|
|
947
|
-
}
|
|
948
|
-
async install(extension) {
|
|
949
|
-
const options = extension.local?.preRelease ? { installPreReleaseVersion: true } : undefined;
|
|
950
|
-
try {
|
|
951
|
-
await this.extensionsWorkbenchService.install(extension, options);
|
|
952
|
-
alert(( localize(
|
|
953
|
-
7854,
|
|
954
|
-
"Updating extension {0} to version {1} completed.",
|
|
955
|
-
extension.displayName,
|
|
956
|
-
extension.latestVersion
|
|
957
|
-
)));
|
|
958
|
-
}
|
|
959
|
-
catch (err) {
|
|
960
|
-
this.instantiationService.createInstance(PromptExtensionInstallFailureAction, extension, options, extension.latestVersion, 3 , err).run();
|
|
961
|
-
}
|
|
962
|
-
}
|
|
963
|
-
};
|
|
964
|
-
UpdateAction = UpdateAction_1 = ( (__decorate([
|
|
965
|
-
( (__param(1, IExtensionsWorkbenchService))),
|
|
966
|
-
( (__param(2, IDialogService))),
|
|
967
|
-
( (__param(3, IOpenerService))),
|
|
968
|
-
( (__param(4, IInstantiationService)))
|
|
969
|
-
], UpdateAction)));
|
|
970
|
-
let ToggleAutoUpdateForExtensionAction = class ToggleAutoUpdateForExtensionAction extends ExtensionAction {
|
|
971
|
-
static { ToggleAutoUpdateForExtensionAction_1 = this; }
|
|
972
|
-
static { this.ID = 'workbench.extensions.action.toggleAutoUpdateForExtension'; }
|
|
973
|
-
static { this.LABEL = ( localize2(7855, "Auto Update")); }
|
|
974
|
-
static { this.EnabledClass = `${ExtensionAction.EXTENSION_ACTION_CLASS} auto-update`; }
|
|
975
|
-
static { this.DisabledClass = `${this.EnabledClass} hide`; }
|
|
976
|
-
constructor(extensionsWorkbenchService, extensionEnablementService, configurationService) {
|
|
977
|
-
super(ToggleAutoUpdateForExtensionAction_1.ID, ToggleAutoUpdateForExtensionAction_1.LABEL.value, ToggleAutoUpdateForExtensionAction_1.DisabledClass);
|
|
978
|
-
this.extensionsWorkbenchService = extensionsWorkbenchService;
|
|
979
|
-
this.extensionEnablementService = extensionEnablementService;
|
|
980
|
-
this._register(configurationService.onDidChangeConfiguration(e => {
|
|
981
|
-
if (e.affectsConfiguration(AutoUpdateConfigurationKey)) {
|
|
982
|
-
this.update();
|
|
983
|
-
}
|
|
984
|
-
}));
|
|
985
|
-
this.update();
|
|
986
|
-
}
|
|
987
|
-
update() {
|
|
988
|
-
this.enabled = false;
|
|
989
|
-
this.class = ToggleAutoUpdateForExtensionAction_1.DisabledClass;
|
|
990
|
-
if (!this.extension) {
|
|
991
|
-
return;
|
|
992
|
-
}
|
|
993
|
-
if (this.extension.isBuiltin) {
|
|
994
|
-
return;
|
|
995
|
-
}
|
|
996
|
-
if (this.extension.deprecationInfo?.disallowInstall) {
|
|
997
|
-
return;
|
|
998
|
-
}
|
|
999
|
-
if (this.extensionsWorkbenchService.getAutoUpdateValue() === 'onlyEnabledExtensions' && !this.extensionEnablementService.isEnabledEnablementState(this.extension.enablementState)) {
|
|
1000
|
-
return;
|
|
1001
|
-
}
|
|
1002
|
-
this.enabled = true;
|
|
1003
|
-
this.class = ToggleAutoUpdateForExtensionAction_1.EnabledClass;
|
|
1004
|
-
this.checked = this.extensionsWorkbenchService.isAutoUpdateEnabledFor(this.extension);
|
|
1005
|
-
}
|
|
1006
|
-
async run() {
|
|
1007
|
-
if (!this.extension) {
|
|
1008
|
-
return;
|
|
1009
|
-
}
|
|
1010
|
-
const enableAutoUpdate = !this.extensionsWorkbenchService.isAutoUpdateEnabledFor(this.extension);
|
|
1011
|
-
await this.extensionsWorkbenchService.updateAutoUpdateEnablementFor(this.extension, enableAutoUpdate);
|
|
1012
|
-
if (enableAutoUpdate) {
|
|
1013
|
-
alert(( localize(7856, "Enabled auto updates for", this.extension.displayName)));
|
|
1014
|
-
}
|
|
1015
|
-
else {
|
|
1016
|
-
alert(( localize(7857, "Disabled auto updates for", this.extension.displayName)));
|
|
1017
|
-
}
|
|
1018
|
-
}
|
|
1019
|
-
};
|
|
1020
|
-
ToggleAutoUpdateForExtensionAction = ToggleAutoUpdateForExtensionAction_1 = ( (__decorate([
|
|
1021
|
-
( (__param(0, IExtensionsWorkbenchService))),
|
|
1022
|
-
( (__param(1, IWorkbenchExtensionEnablementService))),
|
|
1023
|
-
( (__param(2, IConfigurationService)))
|
|
1024
|
-
], ToggleAutoUpdateForExtensionAction)));
|
|
1025
|
-
let ToggleAutoUpdatesForPublisherAction = class ToggleAutoUpdatesForPublisherAction extends ExtensionAction {
|
|
1026
|
-
static { ToggleAutoUpdatesForPublisherAction_1 = this; }
|
|
1027
|
-
static { this.ID = 'workbench.extensions.action.toggleAutoUpdatesForPublisher'; }
|
|
1028
|
-
static { this.LABEL = ( localize(7858, "Auto Update All (From Publisher)")); }
|
|
1029
|
-
constructor(extensionsWorkbenchService) {
|
|
1030
|
-
super(ToggleAutoUpdatesForPublisherAction_1.ID, ToggleAutoUpdatesForPublisherAction_1.LABEL);
|
|
1031
|
-
this.extensionsWorkbenchService = extensionsWorkbenchService;
|
|
1032
|
-
}
|
|
1033
|
-
update() { }
|
|
1034
|
-
async run() {
|
|
1035
|
-
if (!this.extension) {
|
|
1036
|
-
return;
|
|
1037
|
-
}
|
|
1038
|
-
alert(( localize(
|
|
1039
|
-
7859,
|
|
1040
|
-
"Ignoring updates published by {0}.",
|
|
1041
|
-
this.extension.publisherDisplayName
|
|
1042
|
-
)));
|
|
1043
|
-
const enableAutoUpdate = !this.extensionsWorkbenchService.isAutoUpdateEnabledFor(this.extension.publisher);
|
|
1044
|
-
await this.extensionsWorkbenchService.updateAutoUpdateEnablementFor(this.extension.publisher, enableAutoUpdate);
|
|
1045
|
-
if (enableAutoUpdate) {
|
|
1046
|
-
alert(( localize(7856, "Enabled auto updates for", this.extension.displayName)));
|
|
1047
|
-
}
|
|
1048
|
-
else {
|
|
1049
|
-
alert(( localize(7857, "Disabled auto updates for", this.extension.displayName)));
|
|
1050
|
-
}
|
|
1051
|
-
}
|
|
1052
|
-
};
|
|
1053
|
-
ToggleAutoUpdatesForPublisherAction = ToggleAutoUpdatesForPublisherAction_1 = ( (__decorate([
|
|
1054
|
-
( (__param(0, IExtensionsWorkbenchService)))
|
|
1055
|
-
], ToggleAutoUpdatesForPublisherAction)));
|
|
1056
|
-
let MigrateDeprecatedExtensionAction = class MigrateDeprecatedExtensionAction extends ExtensionAction {
|
|
1057
|
-
static { MigrateDeprecatedExtensionAction_1 = this; }
|
|
1058
|
-
static { this.EnabledClass = `${ExtensionAction.LABEL_ACTION_CLASS} migrate`; }
|
|
1059
|
-
static { this.DisabledClass = `${this.EnabledClass} disabled`; }
|
|
1060
|
-
constructor(small, extensionsWorkbenchService) {
|
|
1061
|
-
super('extensionsAction.migrateDeprecatedExtension', ( localize(7860, "Migrate")), MigrateDeprecatedExtensionAction_1.DisabledClass, false);
|
|
1062
|
-
this.small = small;
|
|
1063
|
-
this.extensionsWorkbenchService = extensionsWorkbenchService;
|
|
1064
|
-
this.update();
|
|
1065
|
-
}
|
|
1066
|
-
update() {
|
|
1067
|
-
this.enabled = false;
|
|
1068
|
-
this.class = MigrateDeprecatedExtensionAction_1.DisabledClass;
|
|
1069
|
-
if (!this.extension?.local) {
|
|
1070
|
-
return;
|
|
1071
|
-
}
|
|
1072
|
-
if (this.extension.state !== 1 ) {
|
|
1073
|
-
return;
|
|
1074
|
-
}
|
|
1075
|
-
if (!this.extension.deprecationInfo?.extension) {
|
|
1076
|
-
return;
|
|
1077
|
-
}
|
|
1078
|
-
const id = this.extension.deprecationInfo.extension.id;
|
|
1079
|
-
if (( (this.extensionsWorkbenchService.local.some(e => areSameExtensions(e.identifier, { id }))))) {
|
|
1080
|
-
return;
|
|
1081
|
-
}
|
|
1082
|
-
this.enabled = true;
|
|
1083
|
-
this.class = MigrateDeprecatedExtensionAction_1.EnabledClass;
|
|
1084
|
-
this.tooltip = ( localize(
|
|
1085
|
-
7861,
|
|
1086
|
-
"Migrate to {0}",
|
|
1087
|
-
this.extension.deprecationInfo.extension.displayName
|
|
1088
|
-
));
|
|
1089
|
-
this.label = this.small ? ( localize(7862, "Migrate")) : this.tooltip;
|
|
1090
|
-
}
|
|
1091
|
-
async run() {
|
|
1092
|
-
if (!this.extension?.deprecationInfo?.extension) {
|
|
1093
|
-
return;
|
|
1094
|
-
}
|
|
1095
|
-
const local = this.extension.local;
|
|
1096
|
-
await this.extensionsWorkbenchService.uninstall(this.extension);
|
|
1097
|
-
const [extension] = await this.extensionsWorkbenchService.getExtensions([{ id: this.extension.deprecationInfo.extension.id, preRelease: this.extension.deprecationInfo?.extension?.preRelease }], CancellationToken.None);
|
|
1098
|
-
await this.extensionsWorkbenchService.install(extension, { isMachineScoped: local?.isMachineScoped });
|
|
1099
|
-
}
|
|
1100
|
-
};
|
|
1101
|
-
MigrateDeprecatedExtensionAction = MigrateDeprecatedExtensionAction_1 = ( (__decorate([
|
|
1102
|
-
( (__param(1, IExtensionsWorkbenchService)))
|
|
1103
|
-
], MigrateDeprecatedExtensionAction)));
|
|
1104
|
-
let DropDownExtensionAction = class DropDownExtensionAction extends ExtensionAction {
|
|
1105
|
-
constructor(id, label, cssClass, enabled, instantiationService) {
|
|
1106
|
-
super(id, label, cssClass, enabled);
|
|
1107
|
-
this.instantiationService = instantiationService;
|
|
1108
|
-
this._actionViewItem = null;
|
|
1109
|
-
}
|
|
1110
|
-
createActionViewItem(options) {
|
|
1111
|
-
this._actionViewItem = this.instantiationService.createInstance(DropDownExtensionActionViewItem, this, options);
|
|
1112
|
-
return this._actionViewItem;
|
|
1113
|
-
}
|
|
1114
|
-
run({ actionGroups, disposeActionsOnHide }) {
|
|
1115
|
-
this._actionViewItem?.showMenu(actionGroups, disposeActionsOnHide);
|
|
1116
|
-
return Promise.resolve();
|
|
1117
|
-
}
|
|
1118
|
-
};
|
|
1119
|
-
DropDownExtensionAction = ( (__decorate([
|
|
1120
|
-
( (__param(4, IInstantiationService)))
|
|
1121
|
-
], DropDownExtensionAction)));
|
|
1122
|
-
let DropDownExtensionActionViewItem = class DropDownExtensionActionViewItem extends ActionViewItem {
|
|
1123
|
-
constructor(action, options, contextMenuService) {
|
|
1124
|
-
super(null, action, { ...options, icon: true, label: true });
|
|
1125
|
-
this.contextMenuService = contextMenuService;
|
|
1126
|
-
}
|
|
1127
|
-
showMenu(menuActionGroups, disposeActionsOnHide) {
|
|
1128
|
-
if (this.element) {
|
|
1129
|
-
const actions = this.getActions(menuActionGroups);
|
|
1130
|
-
const elementPosition = getDomNodePagePosition(this.element);
|
|
1131
|
-
const anchor = { x: elementPosition.left, y: elementPosition.top + elementPosition.height + 10 };
|
|
1132
|
-
this.contextMenuService.showContextMenu({
|
|
1133
|
-
getAnchor: () => anchor,
|
|
1134
|
-
getActions: () => actions,
|
|
1135
|
-
actionRunner: this.actionRunner,
|
|
1136
|
-
onHide: () => { if (disposeActionsOnHide) {
|
|
1137
|
-
disposeIfDisposable(actions);
|
|
1138
|
-
} }
|
|
1139
|
-
});
|
|
1140
|
-
}
|
|
1141
|
-
}
|
|
1142
|
-
getActions(menuActionGroups) {
|
|
1143
|
-
let actions = [];
|
|
1144
|
-
for (const menuActions of menuActionGroups) {
|
|
1145
|
-
actions = [...actions, ...menuActions, ( (new Separator()))];
|
|
1146
|
-
}
|
|
1147
|
-
return actions.length ? actions.slice(0, actions.length - 1) : actions;
|
|
1148
|
-
}
|
|
1149
|
-
};
|
|
1150
|
-
DropDownExtensionActionViewItem = ( (__decorate([
|
|
1151
|
-
( (__param(2, IContextMenuService)))
|
|
1152
|
-
], DropDownExtensionActionViewItem)));
|
|
1153
|
-
async function getContextMenuActionsGroups(extension, contextKeyService, instantiationService) {
|
|
1154
|
-
return instantiationService.invokeFunction(async (accessor) => {
|
|
1155
|
-
const extensionsWorkbenchService = accessor.get(IExtensionsWorkbenchService);
|
|
1156
|
-
const extensionEnablementService = accessor.get(IWorkbenchExtensionEnablementService);
|
|
1157
|
-
const menuService = accessor.get(IMenuService);
|
|
1158
|
-
const extensionRecommendationsService = accessor.get(IExtensionRecommendationsService);
|
|
1159
|
-
const extensionIgnoredRecommendationsService = accessor.get(IExtensionIgnoredRecommendationsService);
|
|
1160
|
-
const workbenchThemeService = accessor.get(IWorkbenchThemeService);
|
|
1161
|
-
const authenticationUsageService = accessor.get(IAuthenticationUsageService);
|
|
1162
|
-
const cksOverlay = [];
|
|
1163
|
-
if (extension) {
|
|
1164
|
-
cksOverlay.push(['extension', extension.identifier.id]);
|
|
1165
|
-
cksOverlay.push(['isBuiltinExtension', extension.isBuiltin]);
|
|
1166
|
-
cksOverlay.push(['isDefaultApplicationScopedExtension', extension.local && isApplicationScopedExtension(extension.local.manifest)]);
|
|
1167
|
-
cksOverlay.push(['isApplicationScopedExtension', extension.local && extension.local.isApplicationScoped]);
|
|
1168
|
-
cksOverlay.push(['isWorkspaceScopedExtension', extension.isWorkspaceScoped]);
|
|
1169
|
-
cksOverlay.push(['isGalleryExtension', !!extension.identifier.uuid]);
|
|
1170
|
-
if (extension.local) {
|
|
1171
|
-
cksOverlay.push(['extensionSource', extension.local.source]);
|
|
1172
|
-
}
|
|
1173
|
-
cksOverlay.push(['extensionHasConfiguration', extension.local && !!extension.local.manifest.contributes && !!extension.local.manifest.contributes.configuration]);
|
|
1174
|
-
cksOverlay.push(['extensionHasKeybindings', extension.local && !!extension.local.manifest.contributes && !!extension.local.manifest.contributes.keybindings]);
|
|
1175
|
-
cksOverlay.push(['extensionHasCommands', extension.local && !!extension.local.manifest.contributes && !!extension.local.manifest.contributes?.commands]);
|
|
1176
|
-
cksOverlay.push(['isExtensionRecommended', !!extensionRecommendationsService.getAllRecommendationsWithReason()[extension.identifier.id.toLowerCase()]]);
|
|
1177
|
-
cksOverlay.push(['isExtensionWorkspaceRecommended', extensionRecommendationsService.getAllRecommendationsWithReason()[extension.identifier.id.toLowerCase()]?.reasonId === 0 ]);
|
|
1178
|
-
cksOverlay.push(['isUserIgnoredRecommendation', ( (extensionIgnoredRecommendationsService.globalIgnoredRecommendations.some(e => e === extension.identifier.id.toLowerCase())))]);
|
|
1179
|
-
cksOverlay.push(['isExtensionPinned', extension.pinned]);
|
|
1180
|
-
cksOverlay.push(['isExtensionEnabled', extensionEnablementService.isEnabledEnablementState(extension.enablementState)]);
|
|
1181
|
-
switch (extension.state) {
|
|
1182
|
-
case 0 :
|
|
1183
|
-
cksOverlay.push(['extensionStatus', 'installing']);
|
|
1184
|
-
break;
|
|
1185
|
-
case 1 :
|
|
1186
|
-
cksOverlay.push(['extensionStatus', 'installed']);
|
|
1187
|
-
break;
|
|
1188
|
-
case 2 :
|
|
1189
|
-
cksOverlay.push(['extensionStatus', 'uninstalling']);
|
|
1190
|
-
break;
|
|
1191
|
-
case 3 :
|
|
1192
|
-
cksOverlay.push(['extensionStatus', 'uninstalled']);
|
|
1193
|
-
break;
|
|
1194
|
-
}
|
|
1195
|
-
cksOverlay.push(['installedExtensionIsPreReleaseVersion', !!extension.local?.isPreReleaseVersion]);
|
|
1196
|
-
cksOverlay.push(['installedExtensionIsOptedToPreRelease', !!extension.local?.preRelease]);
|
|
1197
|
-
cksOverlay.push(['galleryExtensionIsPreReleaseVersion', !!extension.gallery?.properties.isPreReleaseVersion]);
|
|
1198
|
-
cksOverlay.push(['galleryExtensionHasPreReleaseVersion', extension.gallery?.hasPreReleaseVersion]);
|
|
1199
|
-
cksOverlay.push(['extensionHasPreReleaseVersion', extension.hasPreReleaseVersion]);
|
|
1200
|
-
cksOverlay.push(['extensionHasReleaseVersion', extension.hasReleaseVersion]);
|
|
1201
|
-
cksOverlay.push(['extensionDisallowInstall', !!extension.deprecationInfo?.disallowInstall]);
|
|
1202
|
-
cksOverlay.push(['extensionIsUnsigned', extension.gallery && !extension.gallery.isSigned]);
|
|
1203
|
-
const [colorThemes, fileIconThemes, productIconThemes, extensionUsesAuth] = await Promise.all([workbenchThemeService.getColorThemes(), workbenchThemeService.getFileIconThemes(), workbenchThemeService.getProductIconThemes(), authenticationUsageService.extensionUsesAuth(extension.identifier.id.toLowerCase())]);
|
|
1204
|
-
cksOverlay.push(['extensionHasColorThemes', ( (colorThemes.some(theme => isThemeFromExtension(theme, extension))))]);
|
|
1205
|
-
cksOverlay.push(['extensionHasFileIconThemes', ( (fileIconThemes.some(theme => isThemeFromExtension(theme, extension))))]);
|
|
1206
|
-
cksOverlay.push(['extensionHasProductIconThemes', ( (productIconThemes.some(theme => isThemeFromExtension(theme, extension))))]);
|
|
1207
|
-
cksOverlay.push(['extensionHasAccountPreferences', extensionUsesAuth]);
|
|
1208
|
-
cksOverlay.push(['canSetLanguage', extensionsWorkbenchService.canSetLanguage(extension)]);
|
|
1209
|
-
cksOverlay.push(['isActiveLanguagePackExtension', extension.gallery && language === getLocale(extension.gallery)]);
|
|
1210
|
-
}
|
|
1211
|
-
const actionsGroups = menuService.getMenuActions(MenuId.ExtensionContext, contextKeyService.createOverlay(cksOverlay), { shouldForwardArgs: true });
|
|
1212
|
-
return actionsGroups;
|
|
1213
|
-
});
|
|
1214
|
-
}
|
|
1215
|
-
function toActions(actionsGroups, instantiationService) {
|
|
1216
|
-
const result = [];
|
|
1217
|
-
for (const [, actions] of actionsGroups) {
|
|
1218
|
-
result.push(( (actions.map(action => {
|
|
1219
|
-
if (action instanceof SubmenuAction) {
|
|
1220
|
-
return action;
|
|
1221
|
-
}
|
|
1222
|
-
return instantiationService.createInstance(MenuItemExtensionAction, action);
|
|
1223
|
-
}))));
|
|
1224
|
-
}
|
|
1225
|
-
return result;
|
|
1226
|
-
}
|
|
1227
|
-
async function getContextMenuActions(extension, contextKeyService, instantiationService) {
|
|
1228
|
-
const actionsGroups = await getContextMenuActionsGroups(extension, contextKeyService, instantiationService);
|
|
1229
|
-
return toActions(actionsGroups, instantiationService);
|
|
1230
|
-
}
|
|
1231
|
-
let ManageExtensionAction = class ManageExtensionAction extends DropDownExtensionAction {
|
|
1232
|
-
static { ManageExtensionAction_1 = this; }
|
|
1233
|
-
static { this.ID = 'extensions.manage'; }
|
|
1234
|
-
static { this.Class = `${ExtensionAction.ICON_ACTION_CLASS} manage ` + ThemeIcon.asClassName(manageExtensionIcon); }
|
|
1235
|
-
static { this.HideManageExtensionClass = `${this.Class} hide`; }
|
|
1236
|
-
constructor(instantiationService, extensionService, contextKeyService) {
|
|
1237
|
-
super(ManageExtensionAction_1.ID, '', '', true, instantiationService);
|
|
1238
|
-
this.extensionService = extensionService;
|
|
1239
|
-
this.contextKeyService = contextKeyService;
|
|
1240
|
-
this.tooltip = ( localize(7863, "Manage"));
|
|
1241
|
-
this.update();
|
|
1242
|
-
}
|
|
1243
|
-
async getActionGroups() {
|
|
1244
|
-
const groups = [];
|
|
1245
|
-
const contextMenuActionsGroups = await getContextMenuActionsGroups(this.extension, this.contextKeyService, this.instantiationService);
|
|
1246
|
-
const themeActions = [], installActions = [], updateActions = [], otherActionGroups = [];
|
|
1247
|
-
for (const [group, actions] of contextMenuActionsGroups) {
|
|
1248
|
-
if (group === INSTALL_ACTIONS_GROUP) {
|
|
1249
|
-
installActions.push(...toActions([[group, actions]], this.instantiationService)[0]);
|
|
1250
|
-
}
|
|
1251
|
-
else if (group === UPDATE_ACTIONS_GROUP) {
|
|
1252
|
-
updateActions.push(...toActions([[group, actions]], this.instantiationService)[0]);
|
|
1253
|
-
}
|
|
1254
|
-
else if (group === THEME_ACTIONS_GROUP) {
|
|
1255
|
-
themeActions.push(...toActions([[group, actions]], this.instantiationService)[0]);
|
|
1256
|
-
}
|
|
1257
|
-
else {
|
|
1258
|
-
otherActionGroups.push(...toActions([[group, actions]], this.instantiationService));
|
|
1259
|
-
}
|
|
1260
|
-
}
|
|
1261
|
-
if (themeActions.length) {
|
|
1262
|
-
groups.push(themeActions);
|
|
1263
|
-
}
|
|
1264
|
-
groups.push([
|
|
1265
|
-
this.instantiationService.createInstance(EnableGloballyAction),
|
|
1266
|
-
this.instantiationService.createInstance(EnableForWorkspaceAction)
|
|
1267
|
-
]);
|
|
1268
|
-
groups.push([
|
|
1269
|
-
this.instantiationService.createInstance(DisableGloballyAction),
|
|
1270
|
-
this.instantiationService.createInstance(DisableForWorkspaceAction)
|
|
1271
|
-
]);
|
|
1272
|
-
if (updateActions.length) {
|
|
1273
|
-
groups.push(updateActions);
|
|
1274
|
-
}
|
|
1275
|
-
groups.push([
|
|
1276
|
-
...(installActions.length ? installActions : []),
|
|
1277
|
-
this.instantiationService.createInstance(InstallAnotherVersionAction, this.extension, false),
|
|
1278
|
-
this.instantiationService.createInstance(UninstallAction),
|
|
1279
|
-
]);
|
|
1280
|
-
otherActionGroups.forEach(actions => groups.push(actions));
|
|
1281
|
-
groups.forEach(group => group.forEach(extensionAction => {
|
|
1282
|
-
if (extensionAction instanceof ExtensionAction) {
|
|
1283
|
-
extensionAction.extension = this.extension;
|
|
1284
|
-
}
|
|
1285
|
-
}));
|
|
1286
|
-
return groups;
|
|
1287
|
-
}
|
|
1288
|
-
async run() {
|
|
1289
|
-
await this.extensionService.whenInstalledExtensionsRegistered();
|
|
1290
|
-
return super.run({ actionGroups: await this.getActionGroups(), disposeActionsOnHide: true });
|
|
1291
|
-
}
|
|
1292
|
-
update() {
|
|
1293
|
-
this.class = ManageExtensionAction_1.HideManageExtensionClass;
|
|
1294
|
-
this.enabled = false;
|
|
1295
|
-
if (this.extension) {
|
|
1296
|
-
const state = this.extension.state;
|
|
1297
|
-
this.enabled = state === 1 ;
|
|
1298
|
-
this.class = this.enabled || state === 2 ? ManageExtensionAction_1.Class : ManageExtensionAction_1.HideManageExtensionClass;
|
|
1299
|
-
}
|
|
1300
|
-
}
|
|
1301
|
-
};
|
|
1302
|
-
ManageExtensionAction = ManageExtensionAction_1 = ( (__decorate([
|
|
1303
|
-
( (__param(0, IInstantiationService))),
|
|
1304
|
-
( (__param(1, IExtensionService))),
|
|
1305
|
-
( (__param(2, IContextKeyService)))
|
|
1306
|
-
], ManageExtensionAction)));
|
|
1307
|
-
class ExtensionEditorManageExtensionAction extends DropDownExtensionAction {
|
|
1308
|
-
constructor(contextKeyService, instantiationService) {
|
|
1309
|
-
super('extensionEditor.manageExtension', '', `${ExtensionAction.ICON_ACTION_CLASS} manage ${ThemeIcon.asClassName(manageExtensionIcon)}`, true, instantiationService);
|
|
1310
|
-
this.contextKeyService = contextKeyService;
|
|
1311
|
-
this.tooltip = ( localize(7863, "Manage"));
|
|
1312
|
-
}
|
|
1313
|
-
update() { }
|
|
1314
|
-
async run() {
|
|
1315
|
-
const actionGroups = [];
|
|
1316
|
-
(await getContextMenuActions(this.extension, this.contextKeyService, this.instantiationService)).forEach(actions => actionGroups.push(actions));
|
|
1317
|
-
actionGroups.forEach(group => group.forEach(extensionAction => {
|
|
1318
|
-
if (extensionAction instanceof ExtensionAction) {
|
|
1319
|
-
extensionAction.extension = this.extension;
|
|
1320
|
-
}
|
|
1321
|
-
}));
|
|
1322
|
-
return super.run({ actionGroups, disposeActionsOnHide: true });
|
|
1323
|
-
}
|
|
1324
|
-
}
|
|
1325
|
-
let MenuItemExtensionAction = class MenuItemExtensionAction extends ExtensionAction {
|
|
1326
|
-
constructor(action, extensionsWorkbenchService) {
|
|
1327
|
-
super(action.id, action.label);
|
|
1328
|
-
this.action = action;
|
|
1329
|
-
this.extensionsWorkbenchService = extensionsWorkbenchService;
|
|
1330
|
-
}
|
|
1331
|
-
get enabled() {
|
|
1332
|
-
return this.action.enabled;
|
|
1333
|
-
}
|
|
1334
|
-
set enabled(value) {
|
|
1335
|
-
this.action.enabled = value;
|
|
1336
|
-
}
|
|
1337
|
-
update() {
|
|
1338
|
-
if (!this.extension) {
|
|
1339
|
-
return;
|
|
1340
|
-
}
|
|
1341
|
-
if (this.action.id === TOGGLE_IGNORE_EXTENSION_ACTION_ID) {
|
|
1342
|
-
this.checked = !this.extensionsWorkbenchService.isExtensionIgnoredToSync(this.extension);
|
|
1343
|
-
}
|
|
1344
|
-
else if (this.action.id === ToggleAutoUpdateForExtensionAction.ID) {
|
|
1345
|
-
this.checked = this.extensionsWorkbenchService.isAutoUpdateEnabledFor(this.extension);
|
|
1346
|
-
}
|
|
1347
|
-
else if (this.action.id === ToggleAutoUpdatesForPublisherAction.ID) {
|
|
1348
|
-
this.checked = this.extensionsWorkbenchService.isAutoUpdateEnabledFor(this.extension.publisher);
|
|
1349
|
-
}
|
|
1350
|
-
else {
|
|
1351
|
-
this.checked = this.action.checked;
|
|
1352
|
-
}
|
|
1353
|
-
}
|
|
1354
|
-
async run() {
|
|
1355
|
-
if (this.extension) {
|
|
1356
|
-
const id = this.extension.local ? getExtensionId(this.extension.local.manifest.publisher, this.extension.local.manifest.name)
|
|
1357
|
-
: this.extension.gallery ? getExtensionId(this.extension.gallery.publisher, this.extension.gallery.name)
|
|
1358
|
-
: this.extension.identifier.id;
|
|
1359
|
-
const extensionArg = {
|
|
1360
|
-
id: this.extension.identifier.id,
|
|
1361
|
-
version: this.extension.version,
|
|
1362
|
-
location: this.extension.local?.location
|
|
1363
|
-
};
|
|
1364
|
-
await this.action.run(id, extensionArg);
|
|
1365
|
-
}
|
|
1366
|
-
}
|
|
1367
|
-
};
|
|
1368
|
-
MenuItemExtensionAction = ( (__decorate([
|
|
1369
|
-
( (__param(1, IExtensionsWorkbenchService)))
|
|
1370
|
-
], MenuItemExtensionAction)));
|
|
1371
|
-
let TogglePreReleaseExtensionAction = class TogglePreReleaseExtensionAction extends ExtensionAction {
|
|
1372
|
-
static { TogglePreReleaseExtensionAction_1 = this; }
|
|
1373
|
-
static { this.ID = 'workbench.extensions.action.togglePreRlease'; }
|
|
1374
|
-
static { this.LABEL = ( localize(7864, "Pre-Release")); }
|
|
1375
|
-
static { this.EnabledClass = `${ExtensionAction.LABEL_ACTION_CLASS} pre-release`; }
|
|
1376
|
-
static { this.DisabledClass = `${this.EnabledClass} hide`; }
|
|
1377
|
-
constructor(extensionsWorkbenchService) {
|
|
1378
|
-
super(TogglePreReleaseExtensionAction_1.ID, TogglePreReleaseExtensionAction_1.LABEL, TogglePreReleaseExtensionAction_1.DisabledClass);
|
|
1379
|
-
this.extensionsWorkbenchService = extensionsWorkbenchService;
|
|
1380
|
-
this.update();
|
|
1381
|
-
}
|
|
1382
|
-
update() {
|
|
1383
|
-
this.enabled = false;
|
|
1384
|
-
this.class = TogglePreReleaseExtensionAction_1.DisabledClass;
|
|
1385
|
-
if (!this.extension) {
|
|
1386
|
-
return;
|
|
1387
|
-
}
|
|
1388
|
-
if (this.extension.isBuiltin) {
|
|
1389
|
-
return;
|
|
1390
|
-
}
|
|
1391
|
-
if (this.extension.state !== 1 ) {
|
|
1392
|
-
return;
|
|
1393
|
-
}
|
|
1394
|
-
if (!this.extension.hasPreReleaseVersion) {
|
|
1395
|
-
return;
|
|
1396
|
-
}
|
|
1397
|
-
if (!this.extension.gallery) {
|
|
1398
|
-
return;
|
|
1399
|
-
}
|
|
1400
|
-
if (this.extension.preRelease && !this.extension.isPreReleaseVersion) {
|
|
1401
|
-
return;
|
|
1402
|
-
}
|
|
1403
|
-
if (!this.extension.preRelease && !this.extension.gallery.hasPreReleaseVersion) {
|
|
1404
|
-
return;
|
|
1405
|
-
}
|
|
1406
|
-
this.enabled = true;
|
|
1407
|
-
this.class = TogglePreReleaseExtensionAction_1.EnabledClass;
|
|
1408
|
-
if (this.extension.preRelease) {
|
|
1409
|
-
this.label = ( localize(7865, "Switch to Release Version"));
|
|
1410
|
-
this.tooltip = ( localize(7866, "This will switch and enable updates to release versions"));
|
|
1411
|
-
}
|
|
1412
|
-
else {
|
|
1413
|
-
this.label = ( localize(7867, "Switch to Pre-Release Version"));
|
|
1414
|
-
this.tooltip = ( localize(
|
|
1415
|
-
7868,
|
|
1416
|
-
"This will switch to pre-release version and enable updates to latest version always"
|
|
1417
|
-
));
|
|
1418
|
-
}
|
|
1419
|
-
}
|
|
1420
|
-
async run() {
|
|
1421
|
-
if (!this.extension) {
|
|
1422
|
-
return;
|
|
1423
|
-
}
|
|
1424
|
-
this.extensionsWorkbenchService.open(this.extension, { showPreReleaseVersion: !this.extension.preRelease });
|
|
1425
|
-
await this.extensionsWorkbenchService.togglePreRelease(this.extension);
|
|
1426
|
-
}
|
|
1427
|
-
};
|
|
1428
|
-
TogglePreReleaseExtensionAction = TogglePreReleaseExtensionAction_1 = ( (__decorate([
|
|
1429
|
-
( (__param(0, IExtensionsWorkbenchService)))
|
|
1430
|
-
], TogglePreReleaseExtensionAction)));
|
|
1431
|
-
let InstallAnotherVersionAction = class InstallAnotherVersionAction extends ExtensionAction {
|
|
1432
|
-
static { InstallAnotherVersionAction_1 = this; }
|
|
1433
|
-
static { this.ID = 'workbench.extensions.action.install.anotherVersion'; }
|
|
1434
|
-
static { this.LABEL = ( localize(7869, "Install Specific Version...")); }
|
|
1435
|
-
constructor(extension, whenInstalled, extensionsWorkbenchService, extensionManagementService, extensionGalleryService, quickInputService, instantiationService, dialogService) {
|
|
1436
|
-
super(InstallAnotherVersionAction_1.ID, InstallAnotherVersionAction_1.LABEL, ExtensionAction.LABEL_ACTION_CLASS);
|
|
1437
|
-
this.whenInstalled = whenInstalled;
|
|
1438
|
-
this.extensionsWorkbenchService = extensionsWorkbenchService;
|
|
1439
|
-
this.extensionManagementService = extensionManagementService;
|
|
1440
|
-
this.extensionGalleryService = extensionGalleryService;
|
|
1441
|
-
this.quickInputService = quickInputService;
|
|
1442
|
-
this.instantiationService = instantiationService;
|
|
1443
|
-
this.dialogService = dialogService;
|
|
1444
|
-
this.extension = extension;
|
|
1445
|
-
this.update();
|
|
1446
|
-
}
|
|
1447
|
-
update() {
|
|
1448
|
-
this.enabled = !!this.extension && !this.extension.isBuiltin && !!this.extension.identifier.uuid && !this.extension.deprecationInfo;
|
|
1449
|
-
if (this.enabled && this.whenInstalled) {
|
|
1450
|
-
this.enabled = !!this.extension?.local && !!this.extension.server && this.extension.state === 1 ;
|
|
1451
|
-
}
|
|
1452
|
-
}
|
|
1453
|
-
async run() {
|
|
1454
|
-
if (!this.enabled) {
|
|
1455
|
-
return;
|
|
1456
|
-
}
|
|
1457
|
-
if (!this.extension) {
|
|
1458
|
-
return;
|
|
1459
|
-
}
|
|
1460
|
-
const targetPlatform = this.extension.server ? await this.extension.server.extensionManagementService.getTargetPlatform() : await this.extensionManagementService.getTargetPlatform();
|
|
1461
|
-
const allVersions = await this.extensionGalleryService.getAllCompatibleVersions(this.extension.identifier, this.extension.local?.preRelease ?? this.extension.gallery?.properties.isPreReleaseVersion ?? false, targetPlatform);
|
|
1462
|
-
if (!allVersions.length) {
|
|
1463
|
-
await this.dialogService.info(( localize(7870, "This extension has no other versions.")));
|
|
1464
|
-
return;
|
|
1465
|
-
}
|
|
1466
|
-
const picks = ( (allVersions.map((v, i) => {
|
|
1467
|
-
return {
|
|
1468
|
-
id: v.version,
|
|
1469
|
-
label: v.version,
|
|
1470
|
-
description: `${fromNow(( (new Date(Date.parse(v.date)))), true)}${v.isPreReleaseVersion ? ` (${( localize(7871, "pre-release"))})` : ''}${v.version === this.extension?.local?.manifest.version ? ` (${( localize(7872, "current"))})` : ''}`,
|
|
1471
|
-
ariaLabel: `${v.isPreReleaseVersion ? 'Pre-Release version' : 'Release version'} ${v.version}`,
|
|
1472
|
-
isPreReleaseVersion: v.isPreReleaseVersion
|
|
1473
|
-
};
|
|
1474
|
-
})));
|
|
1475
|
-
const pick = await this.quickInputService.pick(picks, {
|
|
1476
|
-
placeHolder: ( localize(7873, "Select Version to Install")),
|
|
1477
|
-
matchOnDetail: true
|
|
1478
|
-
});
|
|
1479
|
-
if (pick) {
|
|
1480
|
-
if (this.extension.local?.manifest.version === pick.id) {
|
|
1481
|
-
return;
|
|
1482
|
-
}
|
|
1483
|
-
const options = { installPreReleaseVersion: pick.isPreReleaseVersion, version: pick.id };
|
|
1484
|
-
try {
|
|
1485
|
-
await this.extensionsWorkbenchService.install(this.extension, options);
|
|
1486
|
-
}
|
|
1487
|
-
catch (error) {
|
|
1488
|
-
this.instantiationService.createInstance(PromptExtensionInstallFailureAction, this.extension, options, pick.id, 2 , error).run();
|
|
1489
|
-
}
|
|
1490
|
-
}
|
|
1491
|
-
return null;
|
|
1492
|
-
}
|
|
1493
|
-
};
|
|
1494
|
-
InstallAnotherVersionAction = InstallAnotherVersionAction_1 = ( (__decorate([
|
|
1495
|
-
( (__param(2, IExtensionsWorkbenchService))),
|
|
1496
|
-
( (__param(3, IWorkbenchExtensionManagementService))),
|
|
1497
|
-
( (__param(4, IExtensionGalleryService))),
|
|
1498
|
-
( (__param(5, IQuickInputService))),
|
|
1499
|
-
( (__param(6, IInstantiationService))),
|
|
1500
|
-
( (__param(7, IDialogService)))
|
|
1501
|
-
], InstallAnotherVersionAction)));
|
|
1502
|
-
let EnableForWorkspaceAction = class EnableForWorkspaceAction extends ExtensionAction {
|
|
1503
|
-
static { EnableForWorkspaceAction_1 = this; }
|
|
1504
|
-
static { this.ID = 'extensions.enableForWorkspace'; }
|
|
1505
|
-
static { this.LABEL = ( localize(7874, "Enable (Workspace)")); }
|
|
1506
|
-
constructor(extensionsWorkbenchService, extensionEnablementService) {
|
|
1507
|
-
super(EnableForWorkspaceAction_1.ID, EnableForWorkspaceAction_1.LABEL, ExtensionAction.LABEL_ACTION_CLASS);
|
|
1508
|
-
this.extensionsWorkbenchService = extensionsWorkbenchService;
|
|
1509
|
-
this.extensionEnablementService = extensionEnablementService;
|
|
1510
|
-
this.tooltip = ( localize(7875, "Enable this extension only in this workspace"));
|
|
1511
|
-
this.update();
|
|
1512
|
-
}
|
|
1513
|
-
update() {
|
|
1514
|
-
this.enabled = false;
|
|
1515
|
-
if (this.extension && this.extension.local && !this.extension.isWorkspaceScoped) {
|
|
1516
|
-
this.enabled = this.extension.state === 1
|
|
1517
|
-
&& !this.extensionEnablementService.isEnabled(this.extension.local)
|
|
1518
|
-
&& this.extensionEnablementService.canChangeWorkspaceEnablement(this.extension.local);
|
|
1519
|
-
}
|
|
1520
|
-
}
|
|
1521
|
-
async run() {
|
|
1522
|
-
if (!this.extension) {
|
|
1523
|
-
return;
|
|
1524
|
-
}
|
|
1525
|
-
return this.extensionsWorkbenchService.setEnablement(this.extension, 10 );
|
|
1526
|
-
}
|
|
1527
|
-
};
|
|
1528
|
-
EnableForWorkspaceAction = EnableForWorkspaceAction_1 = ( (__decorate([
|
|
1529
|
-
( (__param(0, IExtensionsWorkbenchService))),
|
|
1530
|
-
( (__param(1, IWorkbenchExtensionEnablementService)))
|
|
1531
|
-
], EnableForWorkspaceAction)));
|
|
1532
|
-
let EnableGloballyAction = class EnableGloballyAction extends ExtensionAction {
|
|
1533
|
-
static { EnableGloballyAction_1 = this; }
|
|
1534
|
-
static { this.ID = 'extensions.enableGlobally'; }
|
|
1535
|
-
static { this.LABEL = ( localize(7876, "Enable")); }
|
|
1536
|
-
constructor(extensionsWorkbenchService, extensionEnablementService) {
|
|
1537
|
-
super(EnableGloballyAction_1.ID, EnableGloballyAction_1.LABEL, ExtensionAction.LABEL_ACTION_CLASS);
|
|
1538
|
-
this.extensionsWorkbenchService = extensionsWorkbenchService;
|
|
1539
|
-
this.extensionEnablementService = extensionEnablementService;
|
|
1540
|
-
this.tooltip = ( localize(7877, "Enable this extension"));
|
|
1541
|
-
this.update();
|
|
1542
|
-
}
|
|
1543
|
-
update() {
|
|
1544
|
-
this.enabled = false;
|
|
1545
|
-
if (this.extension && this.extension.local && !this.extension.isWorkspaceScoped) {
|
|
1546
|
-
this.enabled = this.extension.state === 1
|
|
1547
|
-
&& this.extensionEnablementService.isDisabledGlobally(this.extension.local)
|
|
1548
|
-
&& this.extensionEnablementService.canChangeEnablement(this.extension.local);
|
|
1549
|
-
}
|
|
1550
|
-
}
|
|
1551
|
-
async run() {
|
|
1552
|
-
if (!this.extension) {
|
|
1553
|
-
return;
|
|
1554
|
-
}
|
|
1555
|
-
return this.extensionsWorkbenchService.setEnablement(this.extension, 9 );
|
|
1556
|
-
}
|
|
1557
|
-
};
|
|
1558
|
-
EnableGloballyAction = EnableGloballyAction_1 = ( (__decorate([
|
|
1559
|
-
( (__param(0, IExtensionsWorkbenchService))),
|
|
1560
|
-
( (__param(1, IWorkbenchExtensionEnablementService)))
|
|
1561
|
-
], EnableGloballyAction)));
|
|
1562
|
-
let DisableForWorkspaceAction = class DisableForWorkspaceAction extends ExtensionAction {
|
|
1563
|
-
static { DisableForWorkspaceAction_1 = this; }
|
|
1564
|
-
static { this.ID = 'extensions.disableForWorkspace'; }
|
|
1565
|
-
static { this.LABEL = ( localize(7878, "Disable (Workspace)")); }
|
|
1566
|
-
constructor(workspaceContextService, extensionsWorkbenchService, extensionEnablementService, extensionService) {
|
|
1567
|
-
super(DisableForWorkspaceAction_1.ID, DisableForWorkspaceAction_1.LABEL, ExtensionAction.LABEL_ACTION_CLASS);
|
|
1568
|
-
this.workspaceContextService = workspaceContextService;
|
|
1569
|
-
this.extensionsWorkbenchService = extensionsWorkbenchService;
|
|
1570
|
-
this.extensionEnablementService = extensionEnablementService;
|
|
1571
|
-
this.extensionService = extensionService;
|
|
1572
|
-
this.tooltip = ( localize(7879, "Disable this extension only in this workspace"));
|
|
1573
|
-
this.update();
|
|
1574
|
-
this._register(this.extensionService.onDidChangeExtensions(() => this.update()));
|
|
1575
|
-
}
|
|
1576
|
-
update() {
|
|
1577
|
-
this.enabled = false;
|
|
1578
|
-
if (this.extension && this.extension.local && !this.extension.isWorkspaceScoped && ( (this.extensionService.extensions.some(
|
|
1579
|
-
e => areSameExtensions({ id: e.identifier.value, uuid: e.uuid }, this.extension.identifier) && this.workspaceContextService.getWorkbenchState() !== 1
|
|
1580
|
-
)))) {
|
|
1581
|
-
this.enabled = this.extension.state === 1
|
|
1582
|
-
&& ((this.extension.enablementState === 9 || this.extension.enablementState === 10) )
|
|
1583
|
-
&& this.extensionEnablementService.canChangeWorkspaceEnablement(this.extension.local);
|
|
1584
|
-
}
|
|
1585
|
-
}
|
|
1586
|
-
async run() {
|
|
1587
|
-
if (!this.extension) {
|
|
1588
|
-
return;
|
|
1589
|
-
}
|
|
1590
|
-
return this.extensionsWorkbenchService.setEnablement(this.extension, 8 );
|
|
1591
|
-
}
|
|
1592
|
-
};
|
|
1593
|
-
DisableForWorkspaceAction = DisableForWorkspaceAction_1 = ( (__decorate([
|
|
1594
|
-
( (__param(0, IWorkspaceContextService))),
|
|
1595
|
-
( (__param(1, IExtensionsWorkbenchService))),
|
|
1596
|
-
( (__param(2, IWorkbenchExtensionEnablementService))),
|
|
1597
|
-
( (__param(3, IExtensionService)))
|
|
1598
|
-
], DisableForWorkspaceAction)));
|
|
1599
|
-
let DisableGloballyAction = class DisableGloballyAction extends ExtensionAction {
|
|
1600
|
-
static { DisableGloballyAction_1 = this; }
|
|
1601
|
-
static { this.ID = 'extensions.disableGlobally'; }
|
|
1602
|
-
static { this.LABEL = ( localize(7880, "Disable")); }
|
|
1603
|
-
constructor(extensionsWorkbenchService, extensionEnablementService, extensionService) {
|
|
1604
|
-
super(DisableGloballyAction_1.ID, DisableGloballyAction_1.LABEL, ExtensionAction.LABEL_ACTION_CLASS);
|
|
1605
|
-
this.extensionsWorkbenchService = extensionsWorkbenchService;
|
|
1606
|
-
this.extensionEnablementService = extensionEnablementService;
|
|
1607
|
-
this.extensionService = extensionService;
|
|
1608
|
-
this.tooltip = ( localize(7881, "Disable this extension"));
|
|
1609
|
-
this.update();
|
|
1610
|
-
this._register(this.extensionService.onDidChangeExtensions(() => this.update()));
|
|
1611
|
-
}
|
|
1612
|
-
update() {
|
|
1613
|
-
this.enabled = false;
|
|
1614
|
-
if (this.extension && this.extension.local && !this.extension.isWorkspaceScoped && ( (this.extensionService.extensions.some(
|
|
1615
|
-
e => areSameExtensions({ id: e.identifier.value, uuid: e.uuid }, this.extension.identifier)
|
|
1616
|
-
)))) {
|
|
1617
|
-
this.enabled = this.extension.state === 1
|
|
1618
|
-
&& ((this.extension.enablementState === 9 || this.extension.enablementState === 10) )
|
|
1619
|
-
&& this.extensionEnablementService.canChangeEnablement(this.extension.local);
|
|
1620
|
-
}
|
|
1621
|
-
}
|
|
1622
|
-
async run() {
|
|
1623
|
-
if (!this.extension) {
|
|
1624
|
-
return;
|
|
1625
|
-
}
|
|
1626
|
-
return this.extensionsWorkbenchService.setEnablement(this.extension, 7 );
|
|
1627
|
-
}
|
|
1628
|
-
};
|
|
1629
|
-
DisableGloballyAction = DisableGloballyAction_1 = ( (__decorate([
|
|
1630
|
-
( (__param(0, IExtensionsWorkbenchService))),
|
|
1631
|
-
( (__param(1, IWorkbenchExtensionEnablementService))),
|
|
1632
|
-
( (__param(2, IExtensionService)))
|
|
1633
|
-
], DisableGloballyAction)));
|
|
1634
|
-
let EnableDropDownAction = class EnableDropDownAction extends ButtonWithDropDownExtensionAction {
|
|
1635
|
-
constructor(instantiationService) {
|
|
1636
|
-
super('extensions.enable', ExtensionAction.LABEL_ACTION_CLASS, [
|
|
1637
|
-
[
|
|
1638
|
-
instantiationService.createInstance(EnableGloballyAction),
|
|
1639
|
-
instantiationService.createInstance(EnableForWorkspaceAction)
|
|
1640
|
-
]
|
|
1641
|
-
]);
|
|
1642
|
-
}
|
|
1643
|
-
};
|
|
1644
|
-
EnableDropDownAction = ( (__decorate([
|
|
1645
|
-
( (__param(0, IInstantiationService)))
|
|
1646
|
-
], EnableDropDownAction)));
|
|
1647
|
-
let DisableDropDownAction = class DisableDropDownAction extends ButtonWithDropDownExtensionAction {
|
|
1648
|
-
constructor(instantiationService) {
|
|
1649
|
-
super('extensions.disable', ExtensionAction.LABEL_ACTION_CLASS, [[
|
|
1650
|
-
instantiationService.createInstance(DisableGloballyAction),
|
|
1651
|
-
instantiationService.createInstance(DisableForWorkspaceAction)
|
|
1652
|
-
]]);
|
|
1653
|
-
}
|
|
1654
|
-
};
|
|
1655
|
-
DisableDropDownAction = ( (__decorate([
|
|
1656
|
-
( (__param(0, IInstantiationService)))
|
|
1657
|
-
], DisableDropDownAction)));
|
|
1658
|
-
let ExtensionRuntimeStateAction = class ExtensionRuntimeStateAction extends ExtensionAction {
|
|
1659
|
-
static { ExtensionRuntimeStateAction_1 = this; }
|
|
1660
|
-
static { this.EnabledClass = `${ExtensionAction.LABEL_ACTION_CLASS} reload`; }
|
|
1661
|
-
static { this.DisabledClass = `${this.EnabledClass} disabled`; }
|
|
1662
|
-
constructor(hostService, extensionsWorkbenchService, updateService, extensionService, productService, telemetryService) {
|
|
1663
|
-
super('extensions.runtimeState', '', ExtensionRuntimeStateAction_1.DisabledClass, false);
|
|
1664
|
-
this.hostService = hostService;
|
|
1665
|
-
this.extensionsWorkbenchService = extensionsWorkbenchService;
|
|
1666
|
-
this.updateService = updateService;
|
|
1667
|
-
this.extensionService = extensionService;
|
|
1668
|
-
this.productService = productService;
|
|
1669
|
-
this.telemetryService = telemetryService;
|
|
1670
|
-
this.updateWhenCounterExtensionChanges = true;
|
|
1671
|
-
this._register(this.extensionService.onDidChangeExtensions(() => this.update()));
|
|
1672
|
-
this.update();
|
|
1673
|
-
}
|
|
1674
|
-
update() {
|
|
1675
|
-
this.enabled = false;
|
|
1676
|
-
this.tooltip = '';
|
|
1677
|
-
this.class = ExtensionRuntimeStateAction_1.DisabledClass;
|
|
1678
|
-
if (!this.extension) {
|
|
1679
|
-
return;
|
|
1680
|
-
}
|
|
1681
|
-
const state = this.extension.state;
|
|
1682
|
-
if (state === 0 || state === 2 ) {
|
|
1683
|
-
return;
|
|
1684
|
-
}
|
|
1685
|
-
if (this.extension.local && this.extension.local.manifest && this.extension.local.manifest.contributes && this.extension.local.manifest.contributes.localizations && this.extension.local.manifest.contributes.localizations.length > 0) {
|
|
1686
|
-
return;
|
|
1687
|
-
}
|
|
1688
|
-
const runtimeState = this.extension.runtimeState;
|
|
1689
|
-
if (!runtimeState) {
|
|
1690
|
-
return;
|
|
1691
|
-
}
|
|
1692
|
-
this.enabled = true;
|
|
1693
|
-
this.class = ExtensionRuntimeStateAction_1.EnabledClass;
|
|
1694
|
-
this.tooltip = runtimeState.reason;
|
|
1695
|
-
this.label = runtimeState.action === "reloadWindow" ? ( localize(7882, 'Reload Window'))
|
|
1696
|
-
: runtimeState.action === "restartExtensions" ? ( localize(7883, 'Restart Extensions'))
|
|
1697
|
-
: runtimeState.action === "quitAndInstall" ? ( localize(7884, 'Restart to Update'))
|
|
1698
|
-
: runtimeState.action === "applyUpdate" || runtimeState.action === "downloadUpdate" ? ( localize(7885, 'Update {0}', this.productService.nameShort)) : '';
|
|
1699
|
-
}
|
|
1700
|
-
async run() {
|
|
1701
|
-
const runtimeState = this.extension?.runtimeState;
|
|
1702
|
-
if (!runtimeState?.action) {
|
|
1703
|
-
return;
|
|
1704
|
-
}
|
|
1705
|
-
this.telemetryService.publicLog2('extensions:runtimestate:action', {
|
|
1706
|
-
action: runtimeState.action
|
|
1707
|
-
});
|
|
1708
|
-
if (runtimeState?.action === "reloadWindow" ) {
|
|
1709
|
-
return this.hostService.reload();
|
|
1710
|
-
}
|
|
1711
|
-
else if (runtimeState?.action === "restartExtensions" ) {
|
|
1712
|
-
return this.extensionsWorkbenchService.updateRunningExtensions();
|
|
1713
|
-
}
|
|
1714
|
-
else if (runtimeState?.action === "downloadUpdate" ) {
|
|
1715
|
-
return this.updateService.downloadUpdate();
|
|
1716
|
-
}
|
|
1717
|
-
else if (runtimeState?.action === "applyUpdate" ) {
|
|
1718
|
-
return this.updateService.applyUpdate();
|
|
1719
|
-
}
|
|
1720
|
-
else if (runtimeState?.action === "quitAndInstall" ) {
|
|
1721
|
-
return this.updateService.quitAndInstall();
|
|
1722
|
-
}
|
|
1723
|
-
}
|
|
1724
|
-
};
|
|
1725
|
-
ExtensionRuntimeStateAction = ExtensionRuntimeStateAction_1 = ( (__decorate([
|
|
1726
|
-
( (__param(0, IHostService))),
|
|
1727
|
-
( (__param(1, IExtensionsWorkbenchService))),
|
|
1728
|
-
( (__param(2, IUpdateService))),
|
|
1729
|
-
( (__param(3, IExtensionService))),
|
|
1730
|
-
( (__param(4, IProductService))),
|
|
1731
|
-
( (__param(5, ITelemetryService)))
|
|
1732
|
-
], ExtensionRuntimeStateAction)));
|
|
1733
|
-
function isThemeFromExtension(theme, extension) {
|
|
1734
|
-
return !!(extension && theme.extensionData && ExtensionIdentifier.equals(theme.extensionData.extensionId, extension.identifier.id));
|
|
1735
|
-
}
|
|
1736
|
-
function getQuickPickEntries(themes, currentTheme, extension, showCurrentTheme) {
|
|
1737
|
-
const picks = [];
|
|
1738
|
-
for (const theme of themes) {
|
|
1739
|
-
if (isThemeFromExtension(theme, extension) && !(showCurrentTheme && theme === currentTheme)) {
|
|
1740
|
-
picks.push({ label: theme.label, id: theme.id });
|
|
1741
|
-
}
|
|
1742
|
-
}
|
|
1743
|
-
if (showCurrentTheme) {
|
|
1744
|
-
picks.push({ type: 'separator', label: ( localize(7872, "current")) });
|
|
1745
|
-
picks.push({ label: currentTheme.label, id: currentTheme.id });
|
|
1746
|
-
}
|
|
1747
|
-
return picks;
|
|
1748
|
-
}
|
|
1749
|
-
let SetColorThemeAction = class SetColorThemeAction extends ExtensionAction {
|
|
1750
|
-
static { SetColorThemeAction_1 = this; }
|
|
1751
|
-
static { this.ID = 'workbench.extensions.action.setColorTheme'; }
|
|
1752
|
-
static { this.TITLE = ( localize2(7886, 'Set Color Theme')); }
|
|
1753
|
-
static { this.EnabledClass = `${ExtensionAction.LABEL_ACTION_CLASS} theme`; }
|
|
1754
|
-
static { this.DisabledClass = `${this.EnabledClass} disabled`; }
|
|
1755
|
-
constructor(extensionService, workbenchThemeService, quickInputService, extensionEnablementService) {
|
|
1756
|
-
super(SetColorThemeAction_1.ID, SetColorThemeAction_1.TITLE.value, SetColorThemeAction_1.DisabledClass, false);
|
|
1757
|
-
this.workbenchThemeService = workbenchThemeService;
|
|
1758
|
-
this.quickInputService = quickInputService;
|
|
1759
|
-
this.extensionEnablementService = extensionEnablementService;
|
|
1760
|
-
this._register(Event.any(extensionService.onDidChangeExtensions, workbenchThemeService.onDidColorThemeChange)(() => this.update(), this));
|
|
1761
|
-
this.update();
|
|
1762
|
-
}
|
|
1763
|
-
update() {
|
|
1764
|
-
this.workbenchThemeService.getColorThemes().then(colorThemes => {
|
|
1765
|
-
this.enabled = this.computeEnablement(colorThemes);
|
|
1766
|
-
this.class = this.enabled ? SetColorThemeAction_1.EnabledClass : SetColorThemeAction_1.DisabledClass;
|
|
1767
|
-
});
|
|
1768
|
-
}
|
|
1769
|
-
computeEnablement(colorThemes) {
|
|
1770
|
-
return !!this.extension && this.extension.state === 1 && this.extensionEnablementService.isEnabledEnablementState(this.extension.enablementState) && ( (colorThemes.some(th => isThemeFromExtension(th, this.extension))));
|
|
1771
|
-
}
|
|
1772
|
-
async run({ showCurrentTheme, ignoreFocusLost } = { showCurrentTheme: false, ignoreFocusLost: false }) {
|
|
1773
|
-
const colorThemes = await this.workbenchThemeService.getColorThemes();
|
|
1774
|
-
if (!this.computeEnablement(colorThemes)) {
|
|
1775
|
-
return;
|
|
1776
|
-
}
|
|
1777
|
-
const currentTheme = this.workbenchThemeService.getColorTheme();
|
|
1778
|
-
const delayer = ( (new Delayer(100)));
|
|
1779
|
-
const picks = getQuickPickEntries(colorThemes, currentTheme, this.extension, showCurrentTheme);
|
|
1780
|
-
const pickedTheme = await this.quickInputService.pick(picks, {
|
|
1781
|
-
placeHolder: ( localize(7887, "Select Color Theme")),
|
|
1782
|
-
onDidFocus: item => delayer.trigger(() => this.workbenchThemeService.setColorTheme(item.id, undefined)),
|
|
1783
|
-
ignoreFocusLost
|
|
1784
|
-
});
|
|
1785
|
-
return this.workbenchThemeService.setColorTheme(pickedTheme ? pickedTheme.id : currentTheme.id, 'auto');
|
|
1786
|
-
}
|
|
1787
|
-
};
|
|
1788
|
-
SetColorThemeAction = SetColorThemeAction_1 = ( (__decorate([
|
|
1789
|
-
( (__param(0, IExtensionService))),
|
|
1790
|
-
( (__param(1, IWorkbenchThemeService))),
|
|
1791
|
-
( (__param(2, IQuickInputService))),
|
|
1792
|
-
( (__param(3, IWorkbenchExtensionEnablementService)))
|
|
1793
|
-
], SetColorThemeAction)));
|
|
1794
|
-
let SetFileIconThemeAction = class SetFileIconThemeAction extends ExtensionAction {
|
|
1795
|
-
static { SetFileIconThemeAction_1 = this; }
|
|
1796
|
-
static { this.ID = 'workbench.extensions.action.setFileIconTheme'; }
|
|
1797
|
-
static { this.TITLE = ( localize2(7888, 'Set File Icon Theme')); }
|
|
1798
|
-
static { this.EnabledClass = `${ExtensionAction.LABEL_ACTION_CLASS} theme`; }
|
|
1799
|
-
static { this.DisabledClass = `${this.EnabledClass} disabled`; }
|
|
1800
|
-
constructor(extensionService, workbenchThemeService, quickInputService, extensionEnablementService) {
|
|
1801
|
-
super(SetFileIconThemeAction_1.ID, SetFileIconThemeAction_1.TITLE.value, SetFileIconThemeAction_1.DisabledClass, false);
|
|
1802
|
-
this.workbenchThemeService = workbenchThemeService;
|
|
1803
|
-
this.quickInputService = quickInputService;
|
|
1804
|
-
this.extensionEnablementService = extensionEnablementService;
|
|
1805
|
-
this._register(Event.any(extensionService.onDidChangeExtensions, workbenchThemeService.onDidFileIconThemeChange)(() => this.update(), this));
|
|
1806
|
-
this.update();
|
|
1807
|
-
}
|
|
1808
|
-
update() {
|
|
1809
|
-
this.workbenchThemeService.getFileIconThemes().then(fileIconThemes => {
|
|
1810
|
-
this.enabled = this.computeEnablement(fileIconThemes);
|
|
1811
|
-
this.class = this.enabled ? SetFileIconThemeAction_1.EnabledClass : SetFileIconThemeAction_1.DisabledClass;
|
|
1812
|
-
});
|
|
1813
|
-
}
|
|
1814
|
-
computeEnablement(colorThemfileIconThemess) {
|
|
1815
|
-
return !!this.extension && this.extension.state === 1 && this.extensionEnablementService.isEnabledEnablementState(this.extension.enablementState) && ( (colorThemfileIconThemess.some(th => isThemeFromExtension(th, this.extension))));
|
|
1816
|
-
}
|
|
1817
|
-
async run({ showCurrentTheme, ignoreFocusLost } = { showCurrentTheme: false, ignoreFocusLost: false }) {
|
|
1818
|
-
const fileIconThemes = await this.workbenchThemeService.getFileIconThemes();
|
|
1819
|
-
if (!this.computeEnablement(fileIconThemes)) {
|
|
1820
|
-
return;
|
|
1821
|
-
}
|
|
1822
|
-
const currentTheme = this.workbenchThemeService.getFileIconTheme();
|
|
1823
|
-
const delayer = ( (new Delayer(100)));
|
|
1824
|
-
const picks = getQuickPickEntries(fileIconThemes, currentTheme, this.extension, showCurrentTheme);
|
|
1825
|
-
const pickedTheme = await this.quickInputService.pick(picks, {
|
|
1826
|
-
placeHolder: ( localize(7889, "Select File Icon Theme")),
|
|
1827
|
-
onDidFocus: item => delayer.trigger(() => this.workbenchThemeService.setFileIconTheme(item.id, undefined)),
|
|
1828
|
-
ignoreFocusLost
|
|
1829
|
-
});
|
|
1830
|
-
return this.workbenchThemeService.setFileIconTheme(pickedTheme ? pickedTheme.id : currentTheme.id, 'auto');
|
|
1831
|
-
}
|
|
1832
|
-
};
|
|
1833
|
-
SetFileIconThemeAction = SetFileIconThemeAction_1 = ( (__decorate([
|
|
1834
|
-
( (__param(0, IExtensionService))),
|
|
1835
|
-
( (__param(1, IWorkbenchThemeService))),
|
|
1836
|
-
( (__param(2, IQuickInputService))),
|
|
1837
|
-
( (__param(3, IWorkbenchExtensionEnablementService)))
|
|
1838
|
-
], SetFileIconThemeAction)));
|
|
1839
|
-
let SetProductIconThemeAction = class SetProductIconThemeAction extends ExtensionAction {
|
|
1840
|
-
static { SetProductIconThemeAction_1 = this; }
|
|
1841
|
-
static { this.ID = 'workbench.extensions.action.setProductIconTheme'; }
|
|
1842
|
-
static { this.TITLE = ( localize2(7890, 'Set Product Icon Theme')); }
|
|
1843
|
-
static { this.EnabledClass = `${ExtensionAction.LABEL_ACTION_CLASS} theme`; }
|
|
1844
|
-
static { this.DisabledClass = `${this.EnabledClass} disabled`; }
|
|
1845
|
-
constructor(extensionService, workbenchThemeService, quickInputService, extensionEnablementService) {
|
|
1846
|
-
super(SetProductIconThemeAction_1.ID, SetProductIconThemeAction_1.TITLE.value, SetProductIconThemeAction_1.DisabledClass, false);
|
|
1847
|
-
this.workbenchThemeService = workbenchThemeService;
|
|
1848
|
-
this.quickInputService = quickInputService;
|
|
1849
|
-
this.extensionEnablementService = extensionEnablementService;
|
|
1850
|
-
this._register(Event.any(extensionService.onDidChangeExtensions, workbenchThemeService.onDidProductIconThemeChange)(() => this.update(), this));
|
|
1851
|
-
this.update();
|
|
1852
|
-
}
|
|
1853
|
-
update() {
|
|
1854
|
-
this.workbenchThemeService.getProductIconThemes().then(productIconThemes => {
|
|
1855
|
-
this.enabled = this.computeEnablement(productIconThemes);
|
|
1856
|
-
this.class = this.enabled ? SetProductIconThemeAction_1.EnabledClass : SetProductIconThemeAction_1.DisabledClass;
|
|
1857
|
-
});
|
|
1858
|
-
}
|
|
1859
|
-
computeEnablement(productIconThemes) {
|
|
1860
|
-
return !!this.extension && this.extension.state === 1 && this.extensionEnablementService.isEnabledEnablementState(this.extension.enablementState) && ( (productIconThemes.some(th => isThemeFromExtension(th, this.extension))));
|
|
1861
|
-
}
|
|
1862
|
-
async run({ showCurrentTheme, ignoreFocusLost } = { showCurrentTheme: false, ignoreFocusLost: false }) {
|
|
1863
|
-
const productIconThemes = await this.workbenchThemeService.getProductIconThemes();
|
|
1864
|
-
if (!this.computeEnablement(productIconThemes)) {
|
|
1865
|
-
return;
|
|
1866
|
-
}
|
|
1867
|
-
const currentTheme = this.workbenchThemeService.getProductIconTheme();
|
|
1868
|
-
const delayer = ( (new Delayer(100)));
|
|
1869
|
-
const picks = getQuickPickEntries(productIconThemes, currentTheme, this.extension, showCurrentTheme);
|
|
1870
|
-
const pickedTheme = await this.quickInputService.pick(picks, {
|
|
1871
|
-
placeHolder: ( localize(7891, "Select Product Icon Theme")),
|
|
1872
|
-
onDidFocus: item => delayer.trigger(() => this.workbenchThemeService.setProductIconTheme(item.id, undefined)),
|
|
1873
|
-
ignoreFocusLost
|
|
1874
|
-
});
|
|
1875
|
-
return this.workbenchThemeService.setProductIconTheme(pickedTheme ? pickedTheme.id : currentTheme.id, 'auto');
|
|
1876
|
-
}
|
|
1877
|
-
};
|
|
1878
|
-
SetProductIconThemeAction = SetProductIconThemeAction_1 = ( (__decorate([
|
|
1879
|
-
( (__param(0, IExtensionService))),
|
|
1880
|
-
( (__param(1, IWorkbenchThemeService))),
|
|
1881
|
-
( (__param(2, IQuickInputService))),
|
|
1882
|
-
( (__param(3, IWorkbenchExtensionEnablementService)))
|
|
1883
|
-
], SetProductIconThemeAction)));
|
|
1884
|
-
let SetLanguageAction = class SetLanguageAction extends ExtensionAction {
|
|
1885
|
-
static { SetLanguageAction_1 = this; }
|
|
1886
|
-
static { this.ID = 'workbench.extensions.action.setDisplayLanguage'; }
|
|
1887
|
-
static { this.TITLE = ( localize2(7892, 'Set Display Language')); }
|
|
1888
|
-
static { this.EnabledClass = `${ExtensionAction.LABEL_ACTION_CLASS} language`; }
|
|
1889
|
-
static { this.DisabledClass = `${this.EnabledClass} disabled`; }
|
|
1890
|
-
constructor(extensionsWorkbenchService) {
|
|
1891
|
-
super(SetLanguageAction_1.ID, SetLanguageAction_1.TITLE.value, SetLanguageAction_1.DisabledClass, false);
|
|
1892
|
-
this.extensionsWorkbenchService = extensionsWorkbenchService;
|
|
1893
|
-
this.update();
|
|
1894
|
-
}
|
|
1895
|
-
update() {
|
|
1896
|
-
this.enabled = false;
|
|
1897
|
-
this.class = SetLanguageAction_1.DisabledClass;
|
|
1898
|
-
if (!this.extension) {
|
|
1899
|
-
return;
|
|
1900
|
-
}
|
|
1901
|
-
if (!this.extensionsWorkbenchService.canSetLanguage(this.extension)) {
|
|
1902
|
-
return;
|
|
1903
|
-
}
|
|
1904
|
-
if (this.extension.gallery && language === getLocale(this.extension.gallery)) {
|
|
1905
|
-
return;
|
|
1906
|
-
}
|
|
1907
|
-
this.enabled = true;
|
|
1908
|
-
this.class = SetLanguageAction_1.EnabledClass;
|
|
1909
|
-
}
|
|
1910
|
-
async run() {
|
|
1911
|
-
return this.extension && this.extensionsWorkbenchService.setLanguage(this.extension);
|
|
1912
|
-
}
|
|
1913
|
-
};
|
|
1914
|
-
SetLanguageAction = SetLanguageAction_1 = ( (__decorate([
|
|
1915
|
-
( (__param(0, IExtensionsWorkbenchService)))
|
|
1916
|
-
], SetLanguageAction)));
|
|
1917
|
-
let ClearLanguageAction = class ClearLanguageAction extends ExtensionAction {
|
|
1918
|
-
static { ClearLanguageAction_1 = this; }
|
|
1919
|
-
static { this.ID = 'workbench.extensions.action.clearLanguage'; }
|
|
1920
|
-
static { this.TITLE = ( localize2(7893, 'Clear Display Language')); }
|
|
1921
|
-
static { this.EnabledClass = `${ExtensionAction.LABEL_ACTION_CLASS} language`; }
|
|
1922
|
-
static { this.DisabledClass = `${this.EnabledClass} disabled`; }
|
|
1923
|
-
constructor(extensionsWorkbenchService, localeService) {
|
|
1924
|
-
super(ClearLanguageAction_1.ID, ClearLanguageAction_1.TITLE.value, ClearLanguageAction_1.DisabledClass, false);
|
|
1925
|
-
this.extensionsWorkbenchService = extensionsWorkbenchService;
|
|
1926
|
-
this.localeService = localeService;
|
|
1927
|
-
this.update();
|
|
1928
|
-
}
|
|
1929
|
-
update() {
|
|
1930
|
-
this.enabled = false;
|
|
1931
|
-
this.class = ClearLanguageAction_1.DisabledClass;
|
|
1932
|
-
if (!this.extension) {
|
|
1933
|
-
return;
|
|
1934
|
-
}
|
|
1935
|
-
if (!this.extensionsWorkbenchService.canSetLanguage(this.extension)) {
|
|
1936
|
-
return;
|
|
1937
|
-
}
|
|
1938
|
-
if (this.extension.gallery && language !== getLocale(this.extension.gallery)) {
|
|
1939
|
-
return;
|
|
1940
|
-
}
|
|
1941
|
-
this.enabled = true;
|
|
1942
|
-
this.class = ClearLanguageAction_1.EnabledClass;
|
|
1943
|
-
}
|
|
1944
|
-
async run() {
|
|
1945
|
-
return this.extension && this.localeService.clearLocalePreference();
|
|
1946
|
-
}
|
|
1947
|
-
};
|
|
1948
|
-
ClearLanguageAction = ClearLanguageAction_1 = ( (__decorate([
|
|
1949
|
-
( (__param(0, IExtensionsWorkbenchService))),
|
|
1950
|
-
( (__param(1, ILocaleService)))
|
|
1951
|
-
], ClearLanguageAction)));
|
|
1952
|
-
let ShowRecommendedExtensionAction = class ShowRecommendedExtensionAction extends Action {
|
|
1953
|
-
static { ShowRecommendedExtensionAction_1 = this; }
|
|
1954
|
-
static { this.ID = 'workbench.extensions.action.showRecommendedExtension'; }
|
|
1955
|
-
static { this.LABEL = ( localize(7894, "Show Recommended Extension")); }
|
|
1956
|
-
constructor(extensionId, extensionWorkbenchService) {
|
|
1957
|
-
super(ShowRecommendedExtensionAction_1.ID, ShowRecommendedExtensionAction_1.LABEL, undefined, false);
|
|
1958
|
-
this.extensionWorkbenchService = extensionWorkbenchService;
|
|
1959
|
-
this.extensionId = extensionId;
|
|
1960
|
-
}
|
|
1961
|
-
async run() {
|
|
1962
|
-
await this.extensionWorkbenchService.openSearch(`@id:${this.extensionId}`);
|
|
1963
|
-
const [extension] = await this.extensionWorkbenchService.getExtensions([{ id: this.extensionId }], { source: 'install-recommendation' }, CancellationToken.None);
|
|
1964
|
-
if (extension) {
|
|
1965
|
-
return this.extensionWorkbenchService.open(extension);
|
|
1966
|
-
}
|
|
1967
|
-
return null;
|
|
1968
|
-
}
|
|
1969
|
-
};
|
|
1970
|
-
ShowRecommendedExtensionAction = ShowRecommendedExtensionAction_1 = ( (__decorate([
|
|
1971
|
-
( (__param(1, IExtensionsWorkbenchService)))
|
|
1972
|
-
], ShowRecommendedExtensionAction)));
|
|
1973
|
-
let InstallRecommendedExtensionAction = class InstallRecommendedExtensionAction extends Action {
|
|
1974
|
-
static { InstallRecommendedExtensionAction_1 = this; }
|
|
1975
|
-
static { this.ID = 'workbench.extensions.action.installRecommendedExtension'; }
|
|
1976
|
-
static { this.LABEL = ( localize(7895, "Install Recommended Extension")); }
|
|
1977
|
-
constructor(extensionId, instantiationService, extensionWorkbenchService) {
|
|
1978
|
-
super(InstallRecommendedExtensionAction_1.ID, InstallRecommendedExtensionAction_1.LABEL, undefined, false);
|
|
1979
|
-
this.instantiationService = instantiationService;
|
|
1980
|
-
this.extensionWorkbenchService = extensionWorkbenchService;
|
|
1981
|
-
this.extensionId = extensionId;
|
|
1982
|
-
}
|
|
1983
|
-
async run() {
|
|
1984
|
-
await this.extensionWorkbenchService.openSearch(`@id:${this.extensionId}`);
|
|
1985
|
-
const [extension] = await this.extensionWorkbenchService.getExtensions([{ id: this.extensionId }], { source: 'install-recommendation' }, CancellationToken.None);
|
|
1986
|
-
if (extension) {
|
|
1987
|
-
await this.extensionWorkbenchService.open(extension);
|
|
1988
|
-
try {
|
|
1989
|
-
await this.extensionWorkbenchService.install(extension);
|
|
1990
|
-
}
|
|
1991
|
-
catch (err) {
|
|
1992
|
-
this.instantiationService.createInstance(PromptExtensionInstallFailureAction, extension, undefined, extension.latestVersion, 2 , err).run();
|
|
1993
|
-
}
|
|
1994
|
-
}
|
|
1995
|
-
}
|
|
1996
|
-
};
|
|
1997
|
-
InstallRecommendedExtensionAction = InstallRecommendedExtensionAction_1 = ( (__decorate([
|
|
1998
|
-
( (__param(1, IInstantiationService))),
|
|
1999
|
-
( (__param(2, IExtensionsWorkbenchService)))
|
|
2000
|
-
], InstallRecommendedExtensionAction)));
|
|
2001
|
-
let IgnoreExtensionRecommendationAction = class IgnoreExtensionRecommendationAction extends Action {
|
|
2002
|
-
static { IgnoreExtensionRecommendationAction_1 = this; }
|
|
2003
|
-
static { this.ID = 'extensions.ignore'; }
|
|
2004
|
-
static { this.Class = `${ExtensionAction.LABEL_ACTION_CLASS} ignore`; }
|
|
2005
|
-
constructor(extension, extensionRecommendationsManagementService) {
|
|
2006
|
-
super(IgnoreExtensionRecommendationAction_1.ID, 'Ignore Recommendation');
|
|
2007
|
-
this.extension = extension;
|
|
2008
|
-
this.extensionRecommendationsManagementService = extensionRecommendationsManagementService;
|
|
2009
|
-
this.class = IgnoreExtensionRecommendationAction_1.Class;
|
|
2010
|
-
this.tooltip = ( localize(7896, "Do not recommend this extension again"));
|
|
2011
|
-
this.enabled = true;
|
|
2012
|
-
}
|
|
2013
|
-
run() {
|
|
2014
|
-
this.extensionRecommendationsManagementService.toggleGlobalIgnoredRecommendation(this.extension.identifier.id, true);
|
|
2015
|
-
return Promise.resolve();
|
|
2016
|
-
}
|
|
2017
|
-
};
|
|
2018
|
-
IgnoreExtensionRecommendationAction = IgnoreExtensionRecommendationAction_1 = ( (__decorate([
|
|
2019
|
-
( (__param(1, IExtensionIgnoredRecommendationsService)))
|
|
2020
|
-
], IgnoreExtensionRecommendationAction)));
|
|
2021
|
-
let UndoIgnoreExtensionRecommendationAction = class UndoIgnoreExtensionRecommendationAction extends Action {
|
|
2022
|
-
static { UndoIgnoreExtensionRecommendationAction_1 = this; }
|
|
2023
|
-
static { this.ID = 'extensions.ignore'; }
|
|
2024
|
-
static { this.Class = `${ExtensionAction.LABEL_ACTION_CLASS} undo-ignore`; }
|
|
2025
|
-
constructor(extension, extensionRecommendationsManagementService) {
|
|
2026
|
-
super(UndoIgnoreExtensionRecommendationAction_1.ID, 'Undo');
|
|
2027
|
-
this.extension = extension;
|
|
2028
|
-
this.extensionRecommendationsManagementService = extensionRecommendationsManagementService;
|
|
2029
|
-
this.class = UndoIgnoreExtensionRecommendationAction_1.Class;
|
|
2030
|
-
this.tooltip = ( localize(7897, "Undo"));
|
|
2031
|
-
this.enabled = true;
|
|
2032
|
-
}
|
|
2033
|
-
run() {
|
|
2034
|
-
this.extensionRecommendationsManagementService.toggleGlobalIgnoredRecommendation(this.extension.identifier.id, false);
|
|
2035
|
-
return Promise.resolve();
|
|
2036
|
-
}
|
|
2037
|
-
};
|
|
2038
|
-
UndoIgnoreExtensionRecommendationAction = UndoIgnoreExtensionRecommendationAction_1 = ( (__decorate([
|
|
2039
|
-
( (__param(1, IExtensionIgnoredRecommendationsService)))
|
|
2040
|
-
], UndoIgnoreExtensionRecommendationAction)));
|
|
2041
|
-
let AbstractConfigureRecommendedExtensionsAction = class AbstractConfigureRecommendedExtensionsAction extends Action {
|
|
2042
|
-
constructor(id, label, contextService, fileService, textFileService, editorService, jsonEditingService, textModelResolverService) {
|
|
2043
|
-
super(id, label);
|
|
2044
|
-
this.contextService = contextService;
|
|
2045
|
-
this.fileService = fileService;
|
|
2046
|
-
this.textFileService = textFileService;
|
|
2047
|
-
this.editorService = editorService;
|
|
2048
|
-
this.jsonEditingService = jsonEditingService;
|
|
2049
|
-
this.textModelResolverService = textModelResolverService;
|
|
2050
|
-
}
|
|
2051
|
-
openExtensionsFile(extensionsFileResource) {
|
|
2052
|
-
return this.getOrCreateExtensionsFile(extensionsFileResource)
|
|
2053
|
-
.then(({ created, content }) => this.getSelectionPosition(content, extensionsFileResource, ['recommendations'])
|
|
2054
|
-
.then(selection => this.editorService.openEditor({
|
|
2055
|
-
resource: extensionsFileResource,
|
|
2056
|
-
options: {
|
|
2057
|
-
pinned: created,
|
|
2058
|
-
selection
|
|
2059
|
-
}
|
|
2060
|
-
})), error => Promise.reject(( (new Error(( localize(
|
|
2061
|
-
7898,
|
|
2062
|
-
"Unable to create 'extensions.json' file inside the '.vscode' folder ({0}).",
|
|
2063
|
-
error
|
|
2064
|
-
)))))));
|
|
2065
|
-
}
|
|
2066
|
-
openWorkspaceConfigurationFile(workspaceConfigurationFile) {
|
|
2067
|
-
return this.getOrUpdateWorkspaceConfigurationFile(workspaceConfigurationFile)
|
|
2068
|
-
.then(content => this.getSelectionPosition(( (content.value.toString())), content.resource, ['extensions', 'recommendations']))
|
|
2069
|
-
.then(selection => this.editorService.openEditor({
|
|
2070
|
-
resource: workspaceConfigurationFile,
|
|
2071
|
-
options: {
|
|
2072
|
-
selection,
|
|
2073
|
-
forceReload: true
|
|
2074
|
-
}
|
|
2075
|
-
}));
|
|
2076
|
-
}
|
|
2077
|
-
getOrUpdateWorkspaceConfigurationFile(workspaceConfigurationFile) {
|
|
2078
|
-
return Promise.resolve(this.fileService.readFile(workspaceConfigurationFile))
|
|
2079
|
-
.then(content => {
|
|
2080
|
-
const workspaceRecommendations = parse(( (content.value.toString())))['extensions'];
|
|
2081
|
-
if (!workspaceRecommendations || !workspaceRecommendations.recommendations) {
|
|
2082
|
-
return this.jsonEditingService.write(workspaceConfigurationFile, [{ path: ['extensions'], value: { recommendations: [] } }], true)
|
|
2083
|
-
.then(() => this.fileService.readFile(workspaceConfigurationFile));
|
|
2084
|
-
}
|
|
2085
|
-
return content;
|
|
2086
|
-
});
|
|
2087
|
-
}
|
|
2088
|
-
getSelectionPosition(content, resource, path) {
|
|
2089
|
-
const tree = parseTree(content);
|
|
2090
|
-
const node = findNodeAtLocation(tree, path);
|
|
2091
|
-
if (node && node.parent && node.parent.children) {
|
|
2092
|
-
const recommendationsValueNode = node.parent.children[1];
|
|
2093
|
-
const lastExtensionNode = recommendationsValueNode.children && recommendationsValueNode.children.length ? recommendationsValueNode.children[recommendationsValueNode.children.length - 1] : null;
|
|
2094
|
-
const offset = lastExtensionNode ? lastExtensionNode.offset + lastExtensionNode.length : recommendationsValueNode.offset + 1;
|
|
2095
|
-
return Promise.resolve(this.textModelResolverService.createModelReference(resource))
|
|
2096
|
-
.then(reference => {
|
|
2097
|
-
const position = reference.object.textEditorModel.getPositionAt(offset);
|
|
2098
|
-
reference.dispose();
|
|
2099
|
-
return {
|
|
2100
|
-
startLineNumber: position.lineNumber,
|
|
2101
|
-
startColumn: position.column,
|
|
2102
|
-
endLineNumber: position.lineNumber,
|
|
2103
|
-
endColumn: position.column,
|
|
2104
|
-
};
|
|
2105
|
-
});
|
|
2106
|
-
}
|
|
2107
|
-
return Promise.resolve(undefined);
|
|
2108
|
-
}
|
|
2109
|
-
getOrCreateExtensionsFile(extensionsFileResource) {
|
|
2110
|
-
return Promise.resolve(this.fileService.readFile(extensionsFileResource)).then(content => {
|
|
2111
|
-
return { created: false, extensionsFileResource, content: ( (content.value.toString())) };
|
|
2112
|
-
}, err => {
|
|
2113
|
-
return this.textFileService.write(extensionsFileResource, ExtensionsConfigurationInitialContent).then(() => {
|
|
2114
|
-
return { created: true, extensionsFileResource, content: ExtensionsConfigurationInitialContent };
|
|
2115
|
-
});
|
|
2116
|
-
});
|
|
2117
|
-
}
|
|
2118
|
-
};
|
|
2119
|
-
AbstractConfigureRecommendedExtensionsAction = ( (__decorate([
|
|
2120
|
-
( (__param(2, IWorkspaceContextService))),
|
|
2121
|
-
( (__param(3, IFileService))),
|
|
2122
|
-
( (__param(4, ITextFileService))),
|
|
2123
|
-
( (__param(5, IEditorService))),
|
|
2124
|
-
( (__param(6, IJSONEditingService))),
|
|
2125
|
-
( (__param(7, ITextModelService)))
|
|
2126
|
-
], AbstractConfigureRecommendedExtensionsAction)));
|
|
2127
|
-
let ConfigureWorkspaceRecommendedExtensionsAction = class ConfigureWorkspaceRecommendedExtensionsAction extends AbstractConfigureRecommendedExtensionsAction {
|
|
2128
|
-
static { this.ID = 'workbench.extensions.action.configureWorkspaceRecommendedExtensions'; }
|
|
2129
|
-
static { this.LABEL = ( localize(7899, "Configure Recommended Extensions (Workspace)")); }
|
|
2130
|
-
constructor(id, label, fileService, textFileService, contextService, editorService, jsonEditingService, textModelResolverService) {
|
|
2131
|
-
super(id, label, contextService, fileService, textFileService, editorService, jsonEditingService, textModelResolverService);
|
|
2132
|
-
this._register(this.contextService.onDidChangeWorkbenchState(() => this.update(), this));
|
|
2133
|
-
this.update();
|
|
2134
|
-
}
|
|
2135
|
-
update() {
|
|
2136
|
-
this.enabled = this.contextService.getWorkbenchState() !== 1 ;
|
|
2137
|
-
}
|
|
2138
|
-
run() {
|
|
2139
|
-
switch (this.contextService.getWorkbenchState()) {
|
|
2140
|
-
case 2 :
|
|
2141
|
-
return this.openExtensionsFile(this.contextService.getWorkspace().folders[0].toResource(EXTENSIONS_CONFIG));
|
|
2142
|
-
case 3 :
|
|
2143
|
-
return this.openWorkspaceConfigurationFile(this.contextService.getWorkspace().configuration);
|
|
2144
|
-
}
|
|
2145
|
-
return Promise.resolve();
|
|
2146
|
-
}
|
|
2147
|
-
};
|
|
2148
|
-
ConfigureWorkspaceRecommendedExtensionsAction = ( (__decorate([
|
|
2149
|
-
( (__param(2, IFileService))),
|
|
2150
|
-
( (__param(3, ITextFileService))),
|
|
2151
|
-
( (__param(4, IWorkspaceContextService))),
|
|
2152
|
-
( (__param(5, IEditorService))),
|
|
2153
|
-
( (__param(6, IJSONEditingService))),
|
|
2154
|
-
( (__param(7, ITextModelService)))
|
|
2155
|
-
], ConfigureWorkspaceRecommendedExtensionsAction)));
|
|
2156
|
-
let ConfigureWorkspaceFolderRecommendedExtensionsAction = class ConfigureWorkspaceFolderRecommendedExtensionsAction extends AbstractConfigureRecommendedExtensionsAction {
|
|
2157
|
-
static { this.ID = 'workbench.extensions.action.configureWorkspaceFolderRecommendedExtensions'; }
|
|
2158
|
-
static { this.LABEL = ( localize(7900, "Configure Recommended Extensions (Workspace Folder)")); }
|
|
2159
|
-
constructor(id, label, fileService, textFileService, contextService, editorService, jsonEditingService, textModelResolverService, commandService) {
|
|
2160
|
-
super(id, label, contextService, fileService, textFileService, editorService, jsonEditingService, textModelResolverService);
|
|
2161
|
-
this.commandService = commandService;
|
|
2162
|
-
}
|
|
2163
|
-
run() {
|
|
2164
|
-
const folderCount = this.contextService.getWorkspace().folders.length;
|
|
2165
|
-
const pickFolderPromise = folderCount === 1 ? Promise.resolve(this.contextService.getWorkspace().folders[0]) : this.commandService.executeCommand(PICK_WORKSPACE_FOLDER_COMMAND_ID);
|
|
2166
|
-
return Promise.resolve(pickFolderPromise)
|
|
2167
|
-
.then(workspaceFolder => {
|
|
2168
|
-
if (workspaceFolder) {
|
|
2169
|
-
return this.openExtensionsFile(workspaceFolder.toResource(EXTENSIONS_CONFIG));
|
|
2170
|
-
}
|
|
2171
|
-
return null;
|
|
2172
|
-
});
|
|
2173
|
-
}
|
|
2174
|
-
};
|
|
2175
|
-
ConfigureWorkspaceFolderRecommendedExtensionsAction = ( (__decorate([
|
|
2176
|
-
( (__param(2, IFileService))),
|
|
2177
|
-
( (__param(3, ITextFileService))),
|
|
2178
|
-
( (__param(4, IWorkspaceContextService))),
|
|
2179
|
-
( (__param(5, IEditorService))),
|
|
2180
|
-
( (__param(6, IJSONEditingService))),
|
|
2181
|
-
( (__param(7, ITextModelService))),
|
|
2182
|
-
( (__param(8, ICommandService)))
|
|
2183
|
-
], ConfigureWorkspaceFolderRecommendedExtensionsAction)));
|
|
2184
|
-
let ExtensionStatusLabelAction = class ExtensionStatusLabelAction extends Action {
|
|
2185
|
-
static { ExtensionStatusLabelAction_1 = this; }
|
|
2186
|
-
static { this.ENABLED_CLASS = `${ExtensionAction.TEXT_ACTION_CLASS} extension-status-label`; }
|
|
2187
|
-
static { this.DISABLED_CLASS = `${this.ENABLED_CLASS} hide`; }
|
|
2188
|
-
get extension() { return this._extension; }
|
|
2189
|
-
set extension(extension) {
|
|
2190
|
-
if (!(this._extension && extension && areSameExtensions(this._extension.identifier, extension.identifier))) {
|
|
2191
|
-
this.initialStatus = null;
|
|
2192
|
-
this.status = null;
|
|
2193
|
-
this.enablementState = null;
|
|
2194
|
-
}
|
|
2195
|
-
this._extension = extension;
|
|
2196
|
-
this.update();
|
|
2197
|
-
}
|
|
2198
|
-
constructor(extensionService, extensionManagementServerService, extensionEnablementService) {
|
|
2199
|
-
super('extensions.action.statusLabel', '', ExtensionStatusLabelAction_1.DISABLED_CLASS, false);
|
|
2200
|
-
this.extensionService = extensionService;
|
|
2201
|
-
this.extensionManagementServerService = extensionManagementServerService;
|
|
2202
|
-
this.extensionEnablementService = extensionEnablementService;
|
|
2203
|
-
this.initialStatus = null;
|
|
2204
|
-
this.status = null;
|
|
2205
|
-
this.version = null;
|
|
2206
|
-
this.enablementState = null;
|
|
2207
|
-
this._extension = null;
|
|
2208
|
-
}
|
|
2209
|
-
update() {
|
|
2210
|
-
const label = this.computeLabel();
|
|
2211
|
-
this.label = label || '';
|
|
2212
|
-
this.class = label ? ExtensionStatusLabelAction_1.ENABLED_CLASS : ExtensionStatusLabelAction_1.DISABLED_CLASS;
|
|
2213
|
-
}
|
|
2214
|
-
computeLabel() {
|
|
2215
|
-
if (!this.extension) {
|
|
2216
|
-
return null;
|
|
2217
|
-
}
|
|
2218
|
-
const currentStatus = this.status;
|
|
2219
|
-
const currentVersion = this.version;
|
|
2220
|
-
const currentEnablementState = this.enablementState;
|
|
2221
|
-
this.status = this.extension.state;
|
|
2222
|
-
this.version = this.extension.version;
|
|
2223
|
-
if (this.initialStatus === null) {
|
|
2224
|
-
this.initialStatus = this.status;
|
|
2225
|
-
}
|
|
2226
|
-
this.enablementState = this.extension.enablementState;
|
|
2227
|
-
const canAddExtension = () => {
|
|
2228
|
-
const runningExtension = this.extensionService.extensions.filter(e => areSameExtensions({ id: e.identifier.value, uuid: e.uuid }, this.extension.identifier))[0];
|
|
2229
|
-
if (this.extension.local) {
|
|
2230
|
-
if (runningExtension && this.extension.version === runningExtension.version) {
|
|
2231
|
-
return true;
|
|
2232
|
-
}
|
|
2233
|
-
return this.extensionService.canAddExtension(toExtensionDescription(this.extension.local));
|
|
2234
|
-
}
|
|
2235
|
-
return false;
|
|
2236
|
-
};
|
|
2237
|
-
const canRemoveExtension = () => {
|
|
2238
|
-
if (this.extension.local) {
|
|
2239
|
-
if (this.extensionService.extensions.every(e => !(areSameExtensions({ id: e.identifier.value, uuid: e.uuid }, this.extension.identifier) && this.extension.server === this.extensionManagementServerService.getExtensionManagementServer(toExtension(e))))) {
|
|
2240
|
-
return true;
|
|
2241
|
-
}
|
|
2242
|
-
return this.extensionService.canRemoveExtension(toExtensionDescription(this.extension.local));
|
|
2243
|
-
}
|
|
2244
|
-
return false;
|
|
2245
|
-
};
|
|
2246
|
-
if (currentStatus !== null) {
|
|
2247
|
-
if (currentStatus === 0 && this.status === 1 ) {
|
|
2248
|
-
if (this.initialStatus === 3 && canAddExtension()) {
|
|
2249
|
-
return ( localize(7901, "Installed"));
|
|
2250
|
-
}
|
|
2251
|
-
if (this.initialStatus === 1 && this.version !== currentVersion && canAddExtension()) {
|
|
2252
|
-
return ( localize(7902, "Updated"));
|
|
2253
|
-
}
|
|
2254
|
-
return null;
|
|
2255
|
-
}
|
|
2256
|
-
if (currentStatus === 2 && this.status === 3 ) {
|
|
2257
|
-
this.initialStatus = this.status;
|
|
2258
|
-
return canRemoveExtension() ? ( localize(7903, "Uninstalled")) : null;
|
|
2259
|
-
}
|
|
2260
|
-
}
|
|
2261
|
-
if (currentEnablementState !== null) {
|
|
2262
|
-
const currentlyEnabled = this.extensionEnablementService.isEnabledEnablementState(currentEnablementState);
|
|
2263
|
-
const enabled = this.extensionEnablementService.isEnabledEnablementState(this.enablementState);
|
|
2264
|
-
if (!currentlyEnabled && enabled) {
|
|
2265
|
-
return canAddExtension() ? ( localize(7904, "Enabled")) : null;
|
|
2266
|
-
}
|
|
2267
|
-
if (currentlyEnabled && !enabled) {
|
|
2268
|
-
return canRemoveExtension() ? ( localize(7905, "Disabled")) : null;
|
|
2269
|
-
}
|
|
2270
|
-
}
|
|
2271
|
-
return null;
|
|
2272
|
-
}
|
|
2273
|
-
run() {
|
|
2274
|
-
return Promise.resolve();
|
|
2275
|
-
}
|
|
2276
|
-
};
|
|
2277
|
-
ExtensionStatusLabelAction = ExtensionStatusLabelAction_1 = ( (__decorate([
|
|
2278
|
-
( (__param(0, IExtensionService))),
|
|
2279
|
-
( (__param(1, IExtensionManagementServerService))),
|
|
2280
|
-
( (__param(2, IWorkbenchExtensionEnablementService)))
|
|
2281
|
-
], ExtensionStatusLabelAction)));
|
|
2282
|
-
let ToggleSyncExtensionAction = class ToggleSyncExtensionAction extends DropDownExtensionAction {
|
|
2283
|
-
static { ToggleSyncExtensionAction_1 = this; }
|
|
2284
|
-
static { this.IGNORED_SYNC_CLASS = `${ExtensionAction.ICON_ACTION_CLASS} extension-sync ${ThemeIcon.asClassName(syncIgnoredIcon)}`; }
|
|
2285
|
-
static { this.SYNC_CLASS = `${this.ICON_ACTION_CLASS} extension-sync ${ThemeIcon.asClassName(syncEnabledIcon)}`; }
|
|
2286
|
-
constructor(configurationService, extensionsWorkbenchService, userDataSyncEnablementService, instantiationService) {
|
|
2287
|
-
super('extensions.sync', '', ToggleSyncExtensionAction_1.SYNC_CLASS, false, instantiationService);
|
|
2288
|
-
this.configurationService = configurationService;
|
|
2289
|
-
this.extensionsWorkbenchService = extensionsWorkbenchService;
|
|
2290
|
-
this.userDataSyncEnablementService = userDataSyncEnablementService;
|
|
2291
|
-
this._register(Event.filter(this.configurationService.onDidChangeConfiguration, e => e.affectsConfiguration('settingsSync.ignoredExtensions'))(() => this.update()));
|
|
2292
|
-
this._register(userDataSyncEnablementService.onDidChangeEnablement(() => this.update()));
|
|
2293
|
-
this.update();
|
|
2294
|
-
}
|
|
2295
|
-
update() {
|
|
2296
|
-
this.enabled = !!this.extension && this.userDataSyncEnablementService.isEnabled() && this.extension.state === 1 ;
|
|
2297
|
-
if (this.extension) {
|
|
2298
|
-
const isIgnored = this.extensionsWorkbenchService.isExtensionIgnoredToSync(this.extension);
|
|
2299
|
-
this.class = isIgnored ? ToggleSyncExtensionAction_1.IGNORED_SYNC_CLASS : ToggleSyncExtensionAction_1.SYNC_CLASS;
|
|
2300
|
-
this.tooltip = isIgnored ? ( localize(7906, "This extension is ignored during sync")) : ( localize(7907, "This extension is synced"));
|
|
2301
|
-
}
|
|
2302
|
-
}
|
|
2303
|
-
async run() {
|
|
2304
|
-
return super.run({
|
|
2305
|
-
actionGroups: [
|
|
2306
|
-
[
|
|
2307
|
-
( (new Action(
|
|
2308
|
-
'extensions.syncignore',
|
|
2309
|
-
this.extensionsWorkbenchService.isExtensionIgnoredToSync(this.extension) ? ( localize(7908, "Sync this extension")) : ( localize(7909, "Do not sync this extension")),
|
|
2310
|
-
undefined,
|
|
2311
|
-
true,
|
|
2312
|
-
() => this.extensionsWorkbenchService.toggleExtensionIgnoredToSync(this.extension)
|
|
2313
|
-
)))
|
|
2314
|
-
]
|
|
2315
|
-
], disposeActionsOnHide: true
|
|
2316
|
-
});
|
|
2317
|
-
}
|
|
2318
|
-
};
|
|
2319
|
-
ToggleSyncExtensionAction = ToggleSyncExtensionAction_1 = ( (__decorate([
|
|
2320
|
-
( (__param(0, IConfigurationService))),
|
|
2321
|
-
( (__param(1, IExtensionsWorkbenchService))),
|
|
2322
|
-
( (__param(2, IUserDataSyncEnablementService))),
|
|
2323
|
-
( (__param(3, IInstantiationService)))
|
|
2324
|
-
], ToggleSyncExtensionAction)));
|
|
2325
|
-
let ExtensionStatusAction = class ExtensionStatusAction extends ExtensionAction {
|
|
2326
|
-
static { ExtensionStatusAction_1 = this; }
|
|
2327
|
-
static { this.CLASS = `${ExtensionAction.ICON_ACTION_CLASS} extension-status`; }
|
|
2328
|
-
get status() { return this._status; }
|
|
2329
|
-
constructor(extensionManagementServerService, labelService, commandService, workspaceTrustEnablementService, workspaceTrustService, extensionsWorkbenchService, extensionService, extensionManifestPropertiesService, contextService, productService, workbenchExtensionEnablementService, extensionFeaturesManagementService) {
|
|
2330
|
-
super('extensions.status', '', `${ExtensionStatusAction_1.CLASS} hide`, false);
|
|
2331
|
-
this.extensionManagementServerService = extensionManagementServerService;
|
|
2332
|
-
this.labelService = labelService;
|
|
2333
|
-
this.commandService = commandService;
|
|
2334
|
-
this.workspaceTrustEnablementService = workspaceTrustEnablementService;
|
|
2335
|
-
this.workspaceTrustService = workspaceTrustService;
|
|
2336
|
-
this.extensionsWorkbenchService = extensionsWorkbenchService;
|
|
2337
|
-
this.extensionService = extensionService;
|
|
2338
|
-
this.extensionManifestPropertiesService = extensionManifestPropertiesService;
|
|
2339
|
-
this.contextService = contextService;
|
|
2340
|
-
this.productService = productService;
|
|
2341
|
-
this.workbenchExtensionEnablementService = workbenchExtensionEnablementService;
|
|
2342
|
-
this.extensionFeaturesManagementService = extensionFeaturesManagementService;
|
|
2343
|
-
this.updateWhenCounterExtensionChanges = true;
|
|
2344
|
-
this._status = [];
|
|
2345
|
-
this._onDidChangeStatus = this._register(( (new Emitter())));
|
|
2346
|
-
this.onDidChangeStatus = this._onDidChangeStatus.event;
|
|
2347
|
-
this.updateThrottler = ( (new Throttler()));
|
|
2348
|
-
this._register(this.labelService.onDidChangeFormatters(() => this.update(), this));
|
|
2349
|
-
this._register(this.extensionService.onDidChangeExtensions(() => this.update()));
|
|
2350
|
-
this._register(this.extensionFeaturesManagementService.onDidChangeAccessData(() => this.update()));
|
|
2351
|
-
this.update();
|
|
2352
|
-
}
|
|
2353
|
-
update() {
|
|
2354
|
-
this.updateThrottler.queue(() => this.computeAndUpdateStatus());
|
|
2355
|
-
}
|
|
2356
|
-
async computeAndUpdateStatus() {
|
|
2357
|
-
this.updateStatus(undefined, true);
|
|
2358
|
-
this.enabled = false;
|
|
2359
|
-
if (!this.extension) {
|
|
2360
|
-
return;
|
|
2361
|
-
}
|
|
2362
|
-
if (this.extension.isMalicious) {
|
|
2363
|
-
this.updateStatus({ icon: warningIcon, message: ( (new MarkdownString(( localize(7910, "This extension was reported to be problematic."))))) }, true);
|
|
2364
|
-
return;
|
|
2365
|
-
}
|
|
2366
|
-
if (this.extension.state === 3 && this.extension.gallery && !this.extension.gallery.isSigned) {
|
|
2367
|
-
this.updateStatus({ icon: warningIcon, message: ( (new MarkdownString(( localize(7911, "This extension is not signed by the Extension Marketplace."))))) }, true);
|
|
2368
|
-
return;
|
|
2369
|
-
}
|
|
2370
|
-
if (this.extension.deprecationInfo) {
|
|
2371
|
-
if (this.extension.deprecationInfo.extension) {
|
|
2372
|
-
const link = `[${this.extension.deprecationInfo.extension.displayName}](${( (URI.parse(
|
|
2373
|
-
`command:extension.open?${encodeURIComponent(JSON.stringify([this.extension.deprecationInfo.extension.id]))}`
|
|
2374
|
-
)))})`;
|
|
2375
|
-
this.updateStatus({ icon: warningIcon, message: ( (new MarkdownString(( localize(7912, "This extension is deprecated. Use the {0} extension instead.", link))))) }, true);
|
|
2376
|
-
}
|
|
2377
|
-
else if (this.extension.deprecationInfo.settings) {
|
|
2378
|
-
const link = `[${( localize(7913, "settings"))}](${( (URI.parse(
|
|
2379
|
-
`command:workbench.action.openSettings?${encodeURIComponent(JSON.stringify([( (this.extension.deprecationInfo.settings.map(setting => `@id:${setting}`))).join(' ')]))}`
|
|
2380
|
-
)))})`;
|
|
2381
|
-
this.updateStatus({ icon: warningIcon, message: ( (new MarkdownString(( localize(
|
|
2382
|
-
7914,
|
|
2383
|
-
"This extension is deprecated as this functionality is now built-in to VS Code. Configure these {0} to use this functionality.",
|
|
2384
|
-
link
|
|
2385
|
-
))))) }, true);
|
|
2386
|
-
}
|
|
2387
|
-
else {
|
|
2388
|
-
const message = ( (new MarkdownString(( localize(7915, "This extension is deprecated as it is no longer being maintained.")))));
|
|
2389
|
-
if (this.extension.deprecationInfo.additionalInfo) {
|
|
2390
|
-
message.appendMarkdown(` ${this.extension.deprecationInfo.additionalInfo}`);
|
|
2391
|
-
}
|
|
2392
|
-
this.updateStatus({ icon: warningIcon, message }, true);
|
|
2393
|
-
}
|
|
2394
|
-
return;
|
|
2395
|
-
}
|
|
2396
|
-
if (this.extensionsWorkbenchService.canSetLanguage(this.extension)) {
|
|
2397
|
-
return;
|
|
2398
|
-
}
|
|
2399
|
-
if (this.extension.outdated && this.extensionsWorkbenchService.isAutoUpdateEnabledFor(this.extension)) {
|
|
2400
|
-
const message = await this.extensionsWorkbenchService.shouldRequireConsentToUpdate(this.extension);
|
|
2401
|
-
if (message) {
|
|
2402
|
-
const markdown = ( (new MarkdownString()));
|
|
2403
|
-
markdown.appendMarkdown(`${message} `);
|
|
2404
|
-
markdown.appendMarkdown(( localize(
|
|
2405
|
-
7916,
|
|
2406
|
-
"Please [review the extension]({0}) and update it manually.",
|
|
2407
|
-
this.extension.hasChangelog()
|
|
2408
|
-
? ( (( (URI.parse(
|
|
2409
|
-
`command:extension.open?${encodeURIComponent(JSON.stringify([this.extension.identifier.id, "changelog" ]))}`
|
|
2410
|
-
))).toString()))
|
|
2411
|
-
: this.extension.repository
|
|
2412
|
-
? this.extension.repository
|
|
2413
|
-
: ( (( (URI.parse(
|
|
2414
|
-
`command:extension.open?${encodeURIComponent(JSON.stringify([this.extension.identifier.id]))}`
|
|
2415
|
-
))).toString()))
|
|
2416
|
-
)));
|
|
2417
|
-
this.updateStatus({ icon: warningIcon, message: markdown }, true);
|
|
2418
|
-
}
|
|
2419
|
-
}
|
|
2420
|
-
if (this.extension.gallery && this.extension.state === 3 && !(await this.extensionsWorkbenchService.canInstall(this.extension))) {
|
|
2421
|
-
if (this.extensionManagementServerService.localExtensionManagementServer || this.extensionManagementServerService.remoteExtensionManagementServer) {
|
|
2422
|
-
const targetPlatform = await (this.extensionManagementServerService.localExtensionManagementServer ? this.extensionManagementServerService.localExtensionManagementServer.extensionManagementService.getTargetPlatform() : this.extensionManagementServerService.remoteExtensionManagementServer.extensionManagementService.getTargetPlatform());
|
|
2423
|
-
const message = ( (new MarkdownString(`${( localize(
|
|
2424
|
-
7917,
|
|
2425
|
-
"The '{0}' extension is not available in {1} for {2}.",
|
|
2426
|
-
this.extension.displayName || this.extension.identifier.id,
|
|
2427
|
-
this.productService.nameLong,
|
|
2428
|
-
TargetPlatformToString(targetPlatform)
|
|
2429
|
-
))} [${( localize(7818, "Learn More"))}](https://aka.ms/vscode-platform-specific-extensions)`)));
|
|
2430
|
-
this.updateStatus({ icon: warningIcon, message }, true);
|
|
2431
|
-
return;
|
|
2432
|
-
}
|
|
2433
|
-
if (this.extensionManagementServerService.webExtensionManagementServer) {
|
|
2434
|
-
const productName = ( localize(7809, "{0} for the Web", this.productService.nameLong));
|
|
2435
|
-
const message = ( (new MarkdownString(`${( localize(
|
|
2436
|
-
7918,
|
|
2437
|
-
"The '{0}' extension is not available in {1}.",
|
|
2438
|
-
this.extension.displayName || this.extension.identifier.id,
|
|
2439
|
-
productName
|
|
2440
|
-
))} [${( localize(7919, "Learn Why"))}](https://aka.ms/vscode-web-extensions-guide)`)));
|
|
2441
|
-
this.updateStatus({ icon: warningIcon, message }, true);
|
|
2442
|
-
return;
|
|
2443
|
-
}
|
|
2444
|
-
}
|
|
2445
|
-
if (!this.extension.local ||
|
|
2446
|
-
!this.extension.server ||
|
|
2447
|
-
this.extension.state !== 1 ) {
|
|
2448
|
-
return;
|
|
2449
|
-
}
|
|
2450
|
-
if (this.extension.enablementState === 2 ) {
|
|
2451
|
-
this.updateStatus({ message: ( (new MarkdownString(( localize(7920, "This extension is disabled by the environment."))))) }, true);
|
|
2452
|
-
return;
|
|
2453
|
-
}
|
|
2454
|
-
if (this.extension.enablementState === 3 ) {
|
|
2455
|
-
this.updateStatus({ message: ( (new MarkdownString(( localize(
|
|
2456
|
-
7921,
|
|
2457
|
-
"This extension is enabled because it is required in the current environment."
|
|
2458
|
-
))))) }, true);
|
|
2459
|
-
return;
|
|
2460
|
-
}
|
|
2461
|
-
if (this.extension.enablementState === 4 ) {
|
|
2462
|
-
const details = getWorkspaceSupportTypeMessage(this.extension.local.manifest.capabilities?.virtualWorkspaces);
|
|
2463
|
-
this.updateStatus({ icon: infoIcon, message: ( (new MarkdownString(details ? escapeMarkdownSyntaxTokens(details) : ( localize(
|
|
2464
|
-
7922,
|
|
2465
|
-
"This extension has been disabled because it does not support virtual workspaces."
|
|
2466
|
-
))))) }, true);
|
|
2467
|
-
return;
|
|
2468
|
-
}
|
|
2469
|
-
if (isVirtualWorkspace(this.contextService.getWorkspace())) {
|
|
2470
|
-
const virtualSupportType = this.extensionManifestPropertiesService.getExtensionVirtualWorkspaceSupportType(this.extension.local.manifest);
|
|
2471
|
-
const details = getWorkspaceSupportTypeMessage(this.extension.local.manifest.capabilities?.virtualWorkspaces);
|
|
2472
|
-
if (virtualSupportType === 'limited' || details) {
|
|
2473
|
-
this.updateStatus({ icon: warningIcon, message: ( (new MarkdownString(details ? escapeMarkdownSyntaxTokens(details) : ( localize(
|
|
2474
|
-
7923,
|
|
2475
|
-
"This extension has limited features because the current workspace is virtual."
|
|
2476
|
-
))))) }, true);
|
|
2477
|
-
return;
|
|
2478
|
-
}
|
|
2479
|
-
}
|
|
2480
|
-
if (!this.workspaceTrustService.isWorkspaceTrusted() &&
|
|
2481
|
-
(this.extension.enablementState === 0 ||
|
|
2482
|
-
(this.extension.enablementState === 6 && this.workbenchExtensionEnablementService.getDependenciesEnablementStates(this.extension.local).every(([, enablementState]) => this.workbenchExtensionEnablementService.isEnabledEnablementState(enablementState) || enablementState === 0 )))) {
|
|
2483
|
-
this.enabled = true;
|
|
2484
|
-
const untrustedDetails = getWorkspaceSupportTypeMessage(this.extension.local.manifest.capabilities?.untrustedWorkspaces);
|
|
2485
|
-
this.updateStatus({ icon: trustIcon, message: ( (new MarkdownString(
|
|
2486
|
-
untrustedDetails ? escapeMarkdownSyntaxTokens(untrustedDetails) : ( localize(
|
|
2487
|
-
7924,
|
|
2488
|
-
"This extension has been disabled because the current workspace is not trusted."
|
|
2489
|
-
))
|
|
2490
|
-
))) }, true);
|
|
2491
|
-
return;
|
|
2492
|
-
}
|
|
2493
|
-
if (this.workspaceTrustEnablementService.isWorkspaceTrustEnabled() && !this.workspaceTrustService.isWorkspaceTrusted()) {
|
|
2494
|
-
const untrustedSupportType = this.extensionManifestPropertiesService.getExtensionUntrustedWorkspaceSupportType(this.extension.local.manifest);
|
|
2495
|
-
const untrustedDetails = getWorkspaceSupportTypeMessage(this.extension.local.manifest.capabilities?.untrustedWorkspaces);
|
|
2496
|
-
if (untrustedSupportType === 'limited' || untrustedDetails) {
|
|
2497
|
-
this.enabled = true;
|
|
2498
|
-
this.updateStatus({ icon: trustIcon, message: ( (new MarkdownString(
|
|
2499
|
-
untrustedDetails ? escapeMarkdownSyntaxTokens(untrustedDetails) : ( localize(
|
|
2500
|
-
7925,
|
|
2501
|
-
"This extension has limited features because the current workspace is not trusted."
|
|
2502
|
-
))
|
|
2503
|
-
))) }, true);
|
|
2504
|
-
return;
|
|
2505
|
-
}
|
|
2506
|
-
}
|
|
2507
|
-
if (this.extension.enablementState === 1 ) {
|
|
2508
|
-
if (!( (this.extensionsWorkbenchService.installed.some(
|
|
2509
|
-
e => areSameExtensions(e.identifier, this.extension.identifier) && e.server !== this.extension.server
|
|
2510
|
-
)))) {
|
|
2511
|
-
let message;
|
|
2512
|
-
if (this.extensionManagementServerService.localExtensionManagementServer === this.extension.server) {
|
|
2513
|
-
if (this.extensionManifestPropertiesService.prefersExecuteOnWorkspace(this.extension.local.manifest)) {
|
|
2514
|
-
if (this.extensionManagementServerService.remoteExtensionManagementServer) {
|
|
2515
|
-
message = ( (new MarkdownString(`${( localize(
|
|
2516
|
-
7926,
|
|
2517
|
-
"This extension is disabled in this workspace because it is defined to run in the Remote Extension Host. Please install the extension in '{0}' to enable.",
|
|
2518
|
-
this.extensionManagementServerService.remoteExtensionManagementServer.label
|
|
2519
|
-
))} [${( localize(7818, "Learn More"))}](https://code.visualstudio.com/api/advanced-topics/remote-extensions#architecture-and-extension-kinds)`)));
|
|
2520
|
-
}
|
|
2521
|
-
}
|
|
2522
|
-
}
|
|
2523
|
-
else if (this.extensionManagementServerService.remoteExtensionManagementServer === this.extension.server) {
|
|
2524
|
-
if (this.extensionManifestPropertiesService.prefersExecuteOnUI(this.extension.local.manifest)) {
|
|
2525
|
-
if (this.extensionManagementServerService.localExtensionManagementServer) {
|
|
2526
|
-
message = ( (new MarkdownString(`${( localize(
|
|
2527
|
-
7927,
|
|
2528
|
-
"This extension is disabled in this workspace because it is defined to run in the Local Extension Host. Please install the extension locally to enable.",
|
|
2529
|
-
this.extensionManagementServerService.remoteExtensionManagementServer.label
|
|
2530
|
-
))} [${( localize(7818, "Learn More"))}](https://code.visualstudio.com/api/advanced-topics/remote-extensions#architecture-and-extension-kinds)`)));
|
|
2531
|
-
}
|
|
2532
|
-
else if (isWeb) {
|
|
2533
|
-
message = ( (new MarkdownString(`${( localize(
|
|
2534
|
-
7928,
|
|
2535
|
-
"This extension is disabled because it is defined to run only in {0} for the Desktop.",
|
|
2536
|
-
this.productService.nameLong
|
|
2537
|
-
))} [${( localize(7818, "Learn More"))}](https://code.visualstudio.com/api/advanced-topics/remote-extensions#architecture-and-extension-kinds)`)));
|
|
2538
|
-
}
|
|
2539
|
-
}
|
|
2540
|
-
}
|
|
2541
|
-
else if (this.extensionManagementServerService.webExtensionManagementServer === this.extension.server) {
|
|
2542
|
-
message = ( (new MarkdownString(`${( localize(
|
|
2543
|
-
7929,
|
|
2544
|
-
"This extension is disabled because it is not supported in {0} for the Web.",
|
|
2545
|
-
this.productService.nameLong
|
|
2546
|
-
))} [${( localize(7818, "Learn More"))}](https://code.visualstudio.com/api/advanced-topics/remote-extensions#architecture-and-extension-kinds)`)));
|
|
2547
|
-
}
|
|
2548
|
-
if (message) {
|
|
2549
|
-
this.updateStatus({ icon: warningIcon, message }, true);
|
|
2550
|
-
}
|
|
2551
|
-
return;
|
|
2552
|
-
}
|
|
2553
|
-
}
|
|
2554
|
-
const extensionId = ( (new ExtensionIdentifier(this.extension.identifier.id)));
|
|
2555
|
-
const features = ( (Registry.as(Extensions.ExtensionFeaturesRegistry))).getExtensionFeatures();
|
|
2556
|
-
for (const feature of features) {
|
|
2557
|
-
const status = this.extensionFeaturesManagementService.getAccessData(extensionId, feature.id)?.current?.status;
|
|
2558
|
-
const manageAccessLink = `[${( localize(7930, 'Manage Access'))}](${( (URI.parse(
|
|
2559
|
-
`command:extension.open?${encodeURIComponent(JSON.stringify([this.extension.identifier.id, "features" , false, feature.id]))}`
|
|
2560
|
-
)))})`;
|
|
2561
|
-
if (status?.severity === Severity$1.Error) {
|
|
2562
|
-
this.updateStatus({ icon: errorIcon, message: ( (new MarkdownString())).appendText(status.message).appendMarkdown(` ${manageAccessLink}`) }, true);
|
|
2563
|
-
return;
|
|
2564
|
-
}
|
|
2565
|
-
if (status?.severity === Severity$1.Warning) {
|
|
2566
|
-
this.updateStatus({ icon: warningIcon, message: ( (new MarkdownString())).appendText(status.message).appendMarkdown(` ${manageAccessLink}`) }, true);
|
|
2567
|
-
return;
|
|
2568
|
-
}
|
|
2569
|
-
}
|
|
2570
|
-
if (this.extensionManagementServerService.remoteExtensionManagementServer) {
|
|
2571
|
-
if (isLanguagePackExtension(this.extension.local.manifest)) {
|
|
2572
|
-
if (!( (this.extensionsWorkbenchService.installed.some(
|
|
2573
|
-
e => areSameExtensions(e.identifier, this.extension.identifier) && e.server !== this.extension.server
|
|
2574
|
-
)))) {
|
|
2575
|
-
const message = this.extension.server === this.extensionManagementServerService.localExtensionManagementServer
|
|
2576
|
-
? ( (new MarkdownString(( localize(
|
|
2577
|
-
7931,
|
|
2578
|
-
"Install the language pack extension on '{0}' to enable it there also.",
|
|
2579
|
-
this.extensionManagementServerService.remoteExtensionManagementServer.label
|
|
2580
|
-
)))))
|
|
2581
|
-
: ( (new MarkdownString(( localize(
|
|
2582
|
-
7932,
|
|
2583
|
-
"Install the language pack extension locally to enable it there also."
|
|
2584
|
-
)))));
|
|
2585
|
-
this.updateStatus({ icon: infoIcon, message }, true);
|
|
2586
|
-
}
|
|
2587
|
-
return;
|
|
2588
|
-
}
|
|
2589
|
-
const runningExtension = this.extensionService.extensions.filter(e => areSameExtensions({ id: e.identifier.value, uuid: e.uuid }, this.extension.identifier))[0];
|
|
2590
|
-
const runningExtensionServer = runningExtension ? this.extensionManagementServerService.getExtensionManagementServer(toExtension(runningExtension)) : null;
|
|
2591
|
-
if (this.extension.server === this.extensionManagementServerService.localExtensionManagementServer && runningExtensionServer === this.extensionManagementServerService.remoteExtensionManagementServer) {
|
|
2592
|
-
if (this.extensionManifestPropertiesService.prefersExecuteOnWorkspace(this.extension.local.manifest)) {
|
|
2593
|
-
this.updateStatus({ icon: infoIcon, message: ( (new MarkdownString(`${( localize(
|
|
2594
|
-
7933,
|
|
2595
|
-
"This extension is enabled in the Remote Extension Host because it prefers to run there."
|
|
2596
|
-
))} [${( localize(7818, "Learn More"))}](https://code.visualstudio.com/api/advanced-topics/remote-extensions#architecture-and-extension-kinds)`))) }, true);
|
|
2597
|
-
}
|
|
2598
|
-
return;
|
|
2599
|
-
}
|
|
2600
|
-
if (this.extension.server === this.extensionManagementServerService.remoteExtensionManagementServer && runningExtensionServer === this.extensionManagementServerService.localExtensionManagementServer) {
|
|
2601
|
-
if (this.extensionManifestPropertiesService.prefersExecuteOnUI(this.extension.local.manifest)) {
|
|
2602
|
-
this.updateStatus({ icon: infoIcon, message: ( (new MarkdownString(`${( localize(
|
|
2603
|
-
7934,
|
|
2604
|
-
"This extension is enabled in the Local Extension Host because it prefers to run there."
|
|
2605
|
-
))} [${( localize(7818, "Learn More"))}](https://code.visualstudio.com/api/advanced-topics/remote-extensions#architecture-and-extension-kinds)`))) }, true);
|
|
2606
|
-
}
|
|
2607
|
-
return;
|
|
2608
|
-
}
|
|
2609
|
-
if (this.extension.server === this.extensionManagementServerService.remoteExtensionManagementServer && runningExtensionServer === this.extensionManagementServerService.webExtensionManagementServer) {
|
|
2610
|
-
if (this.extensionManifestPropertiesService.canExecuteOnWeb(this.extension.local.manifest)) {
|
|
2611
|
-
this.updateStatus({ icon: infoIcon, message: ( (new MarkdownString(`${( localize(
|
|
2612
|
-
7935,
|
|
2613
|
-
"This extension is enabled in the Web Worker Extension Host because it prefers to run there."
|
|
2614
|
-
))} [${( localize(7818, "Learn More"))}](https://code.visualstudio.com/api/advanced-topics/remote-extensions#architecture-and-extension-kinds)`))) }, true);
|
|
2615
|
-
}
|
|
2616
|
-
return;
|
|
2617
|
-
}
|
|
2618
|
-
}
|
|
2619
|
-
if (this.extension.enablementState === 6 ) {
|
|
2620
|
-
this.updateStatus({
|
|
2621
|
-
icon: warningIcon,
|
|
2622
|
-
message: ( (new MarkdownString(( localize(7936, "This extension depends on an extension that is disabled.")))))
|
|
2623
|
-
.appendMarkdown(` [${( localize(7937, "Show Dependencies"))}](${( (URI.parse(
|
|
2624
|
-
`command:extension.open?${encodeURIComponent(JSON.stringify([this.extension.identifier.id, "dependencies" ]))}`
|
|
2625
|
-
)))})`)
|
|
2626
|
-
}, true);
|
|
2627
|
-
return;
|
|
2628
|
-
}
|
|
2629
|
-
if (!this.extension.local.isValid) {
|
|
2630
|
-
const errors = ( (this.extension.local.validations.filter(([severity]) => severity === Severity$1.Error).map(([, message]) => message)));
|
|
2631
|
-
this.updateStatus({ icon: warningIcon, message: ( (new MarkdownString(errors.join(' ').trim()))) }, true);
|
|
2632
|
-
return;
|
|
2633
|
-
}
|
|
2634
|
-
const isEnabled = this.workbenchExtensionEnablementService.isEnabled(this.extension.local);
|
|
2635
|
-
const isRunning = ( (this.extensionService.extensions.some(
|
|
2636
|
-
e => areSameExtensions({ id: e.identifier.value, uuid: e.uuid }, this.extension.identifier)
|
|
2637
|
-
)));
|
|
2638
|
-
if (!this.extension.isWorkspaceScoped && isEnabled && isRunning) {
|
|
2639
|
-
if (this.extension.enablementState === 10 ) {
|
|
2640
|
-
this.updateStatus({ message: ( (new MarkdownString(( localize(7938, "This extension is enabled for this workspace by the user."))))) }, true);
|
|
2641
|
-
return;
|
|
2642
|
-
}
|
|
2643
|
-
if (this.extensionManagementServerService.localExtensionManagementServer && this.extensionManagementServerService.remoteExtensionManagementServer) {
|
|
2644
|
-
if (this.extension.server === this.extensionManagementServerService.remoteExtensionManagementServer) {
|
|
2645
|
-
this.updateStatus({ message: ( (new MarkdownString(( localize(7939, "Extension is enabled on '{0}'", this.extension.server.label))))) }, true);
|
|
2646
|
-
return;
|
|
2647
|
-
}
|
|
2648
|
-
}
|
|
2649
|
-
if (this.extension.enablementState === 9 ) {
|
|
2650
|
-
return;
|
|
2651
|
-
}
|
|
2652
|
-
}
|
|
2653
|
-
if (!isEnabled && !isRunning) {
|
|
2654
|
-
if (this.extension.enablementState === 7 ) {
|
|
2655
|
-
this.updateStatus({ message: ( (new MarkdownString(( localize(7940, "This extension is disabled globally by the user."))))) }, true);
|
|
2656
|
-
return;
|
|
2657
|
-
}
|
|
2658
|
-
if (this.extension.enablementState === 8 ) {
|
|
2659
|
-
this.updateStatus({ message: ( (new MarkdownString(( localize(7941, "This extension is disabled for this workspace by the user."))))) }, true);
|
|
2660
|
-
return;
|
|
2661
|
-
}
|
|
2662
|
-
}
|
|
2663
|
-
}
|
|
2664
|
-
updateStatus(status, updateClass) {
|
|
2665
|
-
if (status) {
|
|
2666
|
-
if (( (this._status.some(
|
|
2667
|
-
s => s.message.value === status.message.value && s.icon?.id === status.icon?.id
|
|
2668
|
-
)))) {
|
|
2669
|
-
return;
|
|
2670
|
-
}
|
|
2671
|
-
}
|
|
2672
|
-
else {
|
|
2673
|
-
if (this._status.length === 0) {
|
|
2674
|
-
return;
|
|
2675
|
-
}
|
|
2676
|
-
this._status = [];
|
|
2677
|
-
}
|
|
2678
|
-
if (status) {
|
|
2679
|
-
this._status.push(status);
|
|
2680
|
-
this._status.sort((a, b) => b.icon === trustIcon ? -1 :
|
|
2681
|
-
a.icon === trustIcon ? 1 :
|
|
2682
|
-
b.icon === errorIcon ? -1 :
|
|
2683
|
-
a.icon === errorIcon ? 1 :
|
|
2684
|
-
b.icon === warningIcon ? -1 :
|
|
2685
|
-
a.icon === warningIcon ? 1 :
|
|
2686
|
-
b.icon === infoIcon ? -1 :
|
|
2687
|
-
a.icon === infoIcon ? 1 :
|
|
2688
|
-
0);
|
|
2689
|
-
}
|
|
2690
|
-
if (updateClass) {
|
|
2691
|
-
if (status?.icon === errorIcon) {
|
|
2692
|
-
this.class = `${ExtensionStatusAction_1.CLASS} extension-status-error ${ThemeIcon.asClassName(errorIcon)}`;
|
|
2693
|
-
}
|
|
2694
|
-
else if (status?.icon === warningIcon) {
|
|
2695
|
-
this.class = `${ExtensionStatusAction_1.CLASS} extension-status-warning ${ThemeIcon.asClassName(warningIcon)}`;
|
|
2696
|
-
}
|
|
2697
|
-
else if (status?.icon === infoIcon) {
|
|
2698
|
-
this.class = `${ExtensionStatusAction_1.CLASS} extension-status-info ${ThemeIcon.asClassName(infoIcon)}`;
|
|
2699
|
-
}
|
|
2700
|
-
else if (status?.icon === trustIcon) {
|
|
2701
|
-
this.class = `${ExtensionStatusAction_1.CLASS} ${ThemeIcon.asClassName(trustIcon)}`;
|
|
2702
|
-
}
|
|
2703
|
-
else {
|
|
2704
|
-
this.class = `${ExtensionStatusAction_1.CLASS} hide`;
|
|
2705
|
-
}
|
|
2706
|
-
}
|
|
2707
|
-
this._onDidChangeStatus.fire();
|
|
2708
|
-
}
|
|
2709
|
-
async run() {
|
|
2710
|
-
if (this._status[0]?.icon === trustIcon) {
|
|
2711
|
-
return this.commandService.executeCommand('workbench.trust.manage');
|
|
2712
|
-
}
|
|
2713
|
-
}
|
|
2714
|
-
};
|
|
2715
|
-
ExtensionStatusAction = ExtensionStatusAction_1 = ( (__decorate([
|
|
2716
|
-
( (__param(0, IExtensionManagementServerService))),
|
|
2717
|
-
( (__param(1, ILabelService))),
|
|
2718
|
-
( (__param(2, ICommandService))),
|
|
2719
|
-
( (__param(3, IWorkspaceTrustEnablementService))),
|
|
2720
|
-
( (__param(4, IWorkspaceTrustManagementService))),
|
|
2721
|
-
( (__param(5, IExtensionsWorkbenchService))),
|
|
2722
|
-
( (__param(6, IExtensionService))),
|
|
2723
|
-
( (__param(7, IExtensionManifestPropertiesService))),
|
|
2724
|
-
( (__param(8, IWorkspaceContextService))),
|
|
2725
|
-
( (__param(9, IProductService))),
|
|
2726
|
-
( (__param(10, IWorkbenchExtensionEnablementService))),
|
|
2727
|
-
( (__param(11, IExtensionFeaturesManagementService)))
|
|
2728
|
-
], ExtensionStatusAction)));
|
|
2729
|
-
let ReinstallAction = class ReinstallAction extends Action {
|
|
2730
|
-
static { ReinstallAction_1 = this; }
|
|
2731
|
-
static { this.ID = 'workbench.extensions.action.reinstall'; }
|
|
2732
|
-
static { this.LABEL = ( localize(7942, "Reinstall Extension...")); }
|
|
2733
|
-
constructor(id = ReinstallAction_1.ID, label = ReinstallAction_1.LABEL, extensionsWorkbenchService, extensionManagementServerService, quickInputService, notificationService, hostService, extensionService) {
|
|
2734
|
-
super(id, label);
|
|
2735
|
-
this.extensionsWorkbenchService = extensionsWorkbenchService;
|
|
2736
|
-
this.extensionManagementServerService = extensionManagementServerService;
|
|
2737
|
-
this.quickInputService = quickInputService;
|
|
2738
|
-
this.notificationService = notificationService;
|
|
2739
|
-
this.hostService = hostService;
|
|
2740
|
-
this.extensionService = extensionService;
|
|
2741
|
-
}
|
|
2742
|
-
get enabled() {
|
|
2743
|
-
return this.extensionsWorkbenchService.local.filter(l => !l.isBuiltin && l.local).length > 0;
|
|
2744
|
-
}
|
|
2745
|
-
run() {
|
|
2746
|
-
return this.quickInputService.pick(this.getEntries(), { placeHolder: ( localize(7943, "Select Extension to Reinstall")) })
|
|
2747
|
-
.then(pick => pick && this.reinstallExtension(pick.extension));
|
|
2748
|
-
}
|
|
2749
|
-
getEntries() {
|
|
2750
|
-
return this.extensionsWorkbenchService.queryLocal()
|
|
2751
|
-
.then(local => {
|
|
2752
|
-
const entries = ( (local
|
|
2753
|
-
.filter(extension => !extension.isBuiltin && extension.server !== this.extensionManagementServerService.webExtensionManagementServer)
|
|
2754
|
-
.map(extension => {
|
|
2755
|
-
return {
|
|
2756
|
-
id: extension.identifier.id,
|
|
2757
|
-
label: extension.displayName,
|
|
2758
|
-
description: extension.identifier.id,
|
|
2759
|
-
extension,
|
|
2760
|
-
};
|
|
2761
|
-
})));
|
|
2762
|
-
return entries;
|
|
2763
|
-
});
|
|
2764
|
-
}
|
|
2765
|
-
reinstallExtension(extension) {
|
|
2766
|
-
return this.extensionsWorkbenchService.openSearch('@installed ')
|
|
2767
|
-
.then(() => {
|
|
2768
|
-
return this.extensionsWorkbenchService.reinstall(extension)
|
|
2769
|
-
.then(extension => {
|
|
2770
|
-
const requireReload = !(extension.local && this.extensionService.canAddExtension(toExtensionDescription(extension.local)));
|
|
2771
|
-
const message = requireReload ? ( localize(
|
|
2772
|
-
7944,
|
|
2773
|
-
"Please reload Visual Studio Code to complete reinstalling the extension {0}.",
|
|
2774
|
-
extension.identifier.id
|
|
2775
|
-
))
|
|
2776
|
-
: ( localize(
|
|
2777
|
-
7945,
|
|
2778
|
-
"Reinstalling the extension {0} is completed.",
|
|
2779
|
-
extension.identifier.id
|
|
2780
|
-
));
|
|
2781
|
-
const actions = requireReload ? [{
|
|
2782
|
-
label: ( localize(7946, "Reload Now")),
|
|
2783
|
-
run: () => this.hostService.reload()
|
|
2784
|
-
}] : [];
|
|
2785
|
-
this.notificationService.prompt(Severity$1.Info, message, actions, { sticky: true });
|
|
2786
|
-
}, error => this.notificationService.error(error));
|
|
2787
|
-
});
|
|
2788
|
-
}
|
|
2789
|
-
};
|
|
2790
|
-
ReinstallAction = ReinstallAction_1 = ( (__decorate([
|
|
2791
|
-
( (__param(2, IExtensionsWorkbenchService))),
|
|
2792
|
-
( (__param(3, IExtensionManagementServerService))),
|
|
2793
|
-
( (__param(4, IQuickInputService))),
|
|
2794
|
-
( (__param(5, INotificationService))),
|
|
2795
|
-
( (__param(6, IHostService))),
|
|
2796
|
-
( (__param(7, IExtensionService)))
|
|
2797
|
-
], ReinstallAction)));
|
|
2798
|
-
let InstallSpecificVersionOfExtensionAction = class InstallSpecificVersionOfExtensionAction extends Action {
|
|
2799
|
-
static { InstallSpecificVersionOfExtensionAction_1 = this; }
|
|
2800
|
-
static { this.ID = 'workbench.extensions.action.install.specificVersion'; }
|
|
2801
|
-
static { this.LABEL = ( localize(7947, "Install Specific Version of Extension...")); }
|
|
2802
|
-
constructor(id = InstallSpecificVersionOfExtensionAction_1.ID, label = InstallSpecificVersionOfExtensionAction_1.LABEL, extensionsWorkbenchService, quickInputService, instantiationService, extensionEnablementService) {
|
|
2803
|
-
super(id, label);
|
|
2804
|
-
this.extensionsWorkbenchService = extensionsWorkbenchService;
|
|
2805
|
-
this.quickInputService = quickInputService;
|
|
2806
|
-
this.instantiationService = instantiationService;
|
|
2807
|
-
this.extensionEnablementService = extensionEnablementService;
|
|
2808
|
-
}
|
|
2809
|
-
get enabled() {
|
|
2810
|
-
return (
|
|
2811
|
-
(this.extensionsWorkbenchService.local.some(l => this.isEnabled(l)))
|
|
2812
|
-
);
|
|
2813
|
-
}
|
|
2814
|
-
async run() {
|
|
2815
|
-
const extensionPick = await this.quickInputService.pick(this.getExtensionEntries(), { placeHolder: ( localize(7948, "Select Extension")), matchOnDetail: true });
|
|
2816
|
-
if (extensionPick && extensionPick.extension) {
|
|
2817
|
-
const action = this.instantiationService.createInstance(InstallAnotherVersionAction, extensionPick.extension, true);
|
|
2818
|
-
await action.run();
|
|
2819
|
-
await this.extensionsWorkbenchService.openSearch(extensionPick.extension.identifier.id);
|
|
2820
|
-
}
|
|
2821
|
-
}
|
|
2822
|
-
isEnabled(extension) {
|
|
2823
|
-
const action = this.instantiationService.createInstance(InstallAnotherVersionAction, extension, true);
|
|
2824
|
-
return action.enabled && !!extension.local && this.extensionEnablementService.isEnabled(extension.local);
|
|
2825
|
-
}
|
|
2826
|
-
async getExtensionEntries() {
|
|
2827
|
-
const installed = await this.extensionsWorkbenchService.queryLocal();
|
|
2828
|
-
const entries = [];
|
|
2829
|
-
for (const extension of installed) {
|
|
2830
|
-
if (this.isEnabled(extension)) {
|
|
2831
|
-
entries.push({
|
|
2832
|
-
id: extension.identifier.id,
|
|
2833
|
-
label: extension.displayName || extension.identifier.id,
|
|
2834
|
-
description: extension.identifier.id,
|
|
2835
|
-
extension,
|
|
2836
|
-
});
|
|
2837
|
-
}
|
|
2838
|
-
}
|
|
2839
|
-
return entries.sort((e1, e2) => e1.extension.displayName.localeCompare(e2.extension.displayName));
|
|
2840
|
-
}
|
|
2841
|
-
};
|
|
2842
|
-
InstallSpecificVersionOfExtensionAction = InstallSpecificVersionOfExtensionAction_1 = ( (__decorate([
|
|
2843
|
-
( (__param(2, IExtensionsWorkbenchService))),
|
|
2844
|
-
( (__param(3, IQuickInputService))),
|
|
2845
|
-
( (__param(4, IInstantiationService))),
|
|
2846
|
-
( (__param(5, IWorkbenchExtensionEnablementService)))
|
|
2847
|
-
], InstallSpecificVersionOfExtensionAction)));
|
|
2848
|
-
let AbstractInstallExtensionsInServerAction = class AbstractInstallExtensionsInServerAction extends Action {
|
|
2849
|
-
constructor(id, extensionsWorkbenchService, quickInputService, notificationService, progressService) {
|
|
2850
|
-
super(id);
|
|
2851
|
-
this.extensionsWorkbenchService = extensionsWorkbenchService;
|
|
2852
|
-
this.quickInputService = quickInputService;
|
|
2853
|
-
this.notificationService = notificationService;
|
|
2854
|
-
this.progressService = progressService;
|
|
2855
|
-
this.extensions = undefined;
|
|
2856
|
-
this.update();
|
|
2857
|
-
this.extensionsWorkbenchService.queryLocal().then(() => this.updateExtensions());
|
|
2858
|
-
this._register(this.extensionsWorkbenchService.onChange(() => {
|
|
2859
|
-
if (this.extensions) {
|
|
2860
|
-
this.updateExtensions();
|
|
2861
|
-
}
|
|
2862
|
-
}));
|
|
2863
|
-
}
|
|
2864
|
-
updateExtensions() {
|
|
2865
|
-
this.extensions = this.extensionsWorkbenchService.local;
|
|
2866
|
-
this.update();
|
|
2867
|
-
}
|
|
2868
|
-
update() {
|
|
2869
|
-
this.enabled = !!this.extensions && this.getExtensionsToInstall(this.extensions).length > 0;
|
|
2870
|
-
this.tooltip = this.label;
|
|
2871
|
-
}
|
|
2872
|
-
async run() {
|
|
2873
|
-
return this.selectAndInstallExtensions();
|
|
2874
|
-
}
|
|
2875
|
-
async queryExtensionsToInstall() {
|
|
2876
|
-
const local = await this.extensionsWorkbenchService.queryLocal();
|
|
2877
|
-
return this.getExtensionsToInstall(local);
|
|
2878
|
-
}
|
|
2879
|
-
async selectAndInstallExtensions() {
|
|
2880
|
-
const quickPick = this.quickInputService.createQuickPick();
|
|
2881
|
-
quickPick.busy = true;
|
|
2882
|
-
const disposable = quickPick.onDidAccept(() => {
|
|
2883
|
-
disposable.dispose();
|
|
2884
|
-
quickPick.hide();
|
|
2885
|
-
quickPick.dispose();
|
|
2886
|
-
this.onDidAccept(quickPick.selectedItems);
|
|
2887
|
-
});
|
|
2888
|
-
quickPick.show();
|
|
2889
|
-
const localExtensionsToInstall = await this.queryExtensionsToInstall();
|
|
2890
|
-
quickPick.busy = false;
|
|
2891
|
-
if (localExtensionsToInstall.length) {
|
|
2892
|
-
quickPick.title = this.getQuickPickTitle();
|
|
2893
|
-
quickPick.placeholder = ( localize(7949, "Select extensions to install"));
|
|
2894
|
-
quickPick.canSelectMany = true;
|
|
2895
|
-
localExtensionsToInstall.sort((e1, e2) => e1.displayName.localeCompare(e2.displayName));
|
|
2896
|
-
quickPick.items = ( (localExtensionsToInstall.map(
|
|
2897
|
-
extension => ({ extension, label: extension.displayName, description: extension.version })
|
|
2898
|
-
)));
|
|
2899
|
-
}
|
|
2900
|
-
else {
|
|
2901
|
-
quickPick.hide();
|
|
2902
|
-
quickPick.dispose();
|
|
2903
|
-
this.notificationService.notify({
|
|
2904
|
-
severity: Severity$1.Info,
|
|
2905
|
-
message: ( localize(7950, "There are no extensions to install."))
|
|
2906
|
-
});
|
|
2907
|
-
}
|
|
2908
|
-
}
|
|
2909
|
-
async onDidAccept(selectedItems) {
|
|
2910
|
-
if (selectedItems.length) {
|
|
2911
|
-
const localExtensionsToInstall = ( (selectedItems.filter(r => !!r.extension).map(r => r.extension)));
|
|
2912
|
-
if (localExtensionsToInstall.length) {
|
|
2913
|
-
await this.progressService.withProgress({
|
|
2914
|
-
location: 15 ,
|
|
2915
|
-
title: ( localize(7951, "Installing Extensions..."))
|
|
2916
|
-
}, () => this.installExtensions(localExtensionsToInstall));
|
|
2917
|
-
this.notificationService.info(( localize(7952, "Successfully installed extensions.")));
|
|
2918
|
-
}
|
|
2919
|
-
}
|
|
2920
|
-
}
|
|
2921
|
-
};
|
|
2922
|
-
AbstractInstallExtensionsInServerAction = ( (__decorate([
|
|
2923
|
-
( (__param(1, IExtensionsWorkbenchService))),
|
|
2924
|
-
( (__param(2, IQuickInputService))),
|
|
2925
|
-
( (__param(3, INotificationService))),
|
|
2926
|
-
( (__param(4, IProgressService)))
|
|
2927
|
-
], AbstractInstallExtensionsInServerAction)));
|
|
2928
|
-
let InstallLocalExtensionsInRemoteAction = class InstallLocalExtensionsInRemoteAction extends AbstractInstallExtensionsInServerAction {
|
|
2929
|
-
constructor(extensionsWorkbenchService, quickInputService, progressService, notificationService, extensionManagementServerService, extensionGalleryService, instantiationService, fileService, logService) {
|
|
2930
|
-
super('workbench.extensions.actions.installLocalExtensionsInRemote', extensionsWorkbenchService, quickInputService, notificationService, progressService);
|
|
2931
|
-
this.extensionManagementServerService = extensionManagementServerService;
|
|
2932
|
-
this.extensionGalleryService = extensionGalleryService;
|
|
2933
|
-
this.instantiationService = instantiationService;
|
|
2934
|
-
this.fileService = fileService;
|
|
2935
|
-
this.logService = logService;
|
|
2936
|
-
}
|
|
2937
|
-
get label() {
|
|
2938
|
-
if (this.extensionManagementServerService && this.extensionManagementServerService.remoteExtensionManagementServer) {
|
|
2939
|
-
return ( localize(
|
|
2940
|
-
7953,
|
|
2941
|
-
"Install Local Extensions in '{0}'...",
|
|
2942
|
-
this.extensionManagementServerService.remoteExtensionManagementServer.label
|
|
2943
|
-
));
|
|
2944
|
-
}
|
|
2945
|
-
return '';
|
|
2946
|
-
}
|
|
2947
|
-
getQuickPickTitle() {
|
|
2948
|
-
return ( localize(
|
|
2949
|
-
7954,
|
|
2950
|
-
"Install Local Extensions in '{0}'",
|
|
2951
|
-
this.extensionManagementServerService.remoteExtensionManagementServer.label
|
|
2952
|
-
));
|
|
2953
|
-
}
|
|
2954
|
-
getExtensionsToInstall(local) {
|
|
2955
|
-
return local.filter(extension => {
|
|
2956
|
-
const action = this.instantiationService.createInstance(RemoteInstallAction, true);
|
|
2957
|
-
action.extension = extension;
|
|
2958
|
-
return action.enabled;
|
|
2959
|
-
});
|
|
2960
|
-
}
|
|
2961
|
-
async installExtensions(localExtensionsToInstall) {
|
|
2962
|
-
const galleryExtensions = [];
|
|
2963
|
-
const vsixs = [];
|
|
2964
|
-
const targetPlatform = await this.extensionManagementServerService.remoteExtensionManagementServer.extensionManagementService.getTargetPlatform();
|
|
2965
|
-
await Promises.settled(( (localExtensionsToInstall.map(async (extension) => {
|
|
2966
|
-
if (this.extensionGalleryService.isEnabled()) {
|
|
2967
|
-
const gallery = (await this.extensionGalleryService.getExtensions([{ ...extension.identifier, preRelease: !!extension.local?.preRelease }], { targetPlatform, compatible: true }, CancellationToken.None))[0];
|
|
2968
|
-
if (gallery) {
|
|
2969
|
-
galleryExtensions.push(gallery);
|
|
2970
|
-
return;
|
|
2971
|
-
}
|
|
2972
|
-
}
|
|
2973
|
-
const vsix = await this.extensionManagementServerService.localExtensionManagementServer.extensionManagementService.zip(extension.local);
|
|
2974
|
-
vsixs.push(vsix);
|
|
2975
|
-
}))));
|
|
2976
|
-
await Promises.settled(( (galleryExtensions.map(
|
|
2977
|
-
gallery => this.extensionManagementServerService.remoteExtensionManagementServer.extensionManagementService.installFromGallery(gallery)
|
|
2978
|
-
))));
|
|
2979
|
-
try {
|
|
2980
|
-
await Promises.settled(( (vsixs.map(
|
|
2981
|
-
vsix => this.extensionManagementServerService.remoteExtensionManagementServer.extensionManagementService.install(vsix)
|
|
2982
|
-
))));
|
|
2983
|
-
}
|
|
2984
|
-
finally {
|
|
2985
|
-
try {
|
|
2986
|
-
await Promise.allSettled(( (vsixs.map(vsix => this.fileService.del(vsix)))));
|
|
2987
|
-
}
|
|
2988
|
-
catch (error) {
|
|
2989
|
-
this.logService.error(error);
|
|
2990
|
-
}
|
|
2991
|
-
}
|
|
2992
|
-
}
|
|
2993
|
-
};
|
|
2994
|
-
InstallLocalExtensionsInRemoteAction = ( (__decorate([
|
|
2995
|
-
( (__param(0, IExtensionsWorkbenchService))),
|
|
2996
|
-
( (__param(1, IQuickInputService))),
|
|
2997
|
-
( (__param(2, IProgressService))),
|
|
2998
|
-
( (__param(3, INotificationService))),
|
|
2999
|
-
( (__param(4, IExtensionManagementServerService))),
|
|
3000
|
-
( (__param(5, IExtensionGalleryService))),
|
|
3001
|
-
( (__param(6, IInstantiationService))),
|
|
3002
|
-
( (__param(7, IFileService))),
|
|
3003
|
-
( (__param(8, ILogService)))
|
|
3004
|
-
], InstallLocalExtensionsInRemoteAction)));
|
|
3005
|
-
let InstallRemoteExtensionsInLocalAction = class InstallRemoteExtensionsInLocalAction extends AbstractInstallExtensionsInServerAction {
|
|
3006
|
-
constructor(id, extensionsWorkbenchService, quickInputService, progressService, notificationService, extensionManagementServerService, extensionGalleryService, fileService, logService) {
|
|
3007
|
-
super(id, extensionsWorkbenchService, quickInputService, notificationService, progressService);
|
|
3008
|
-
this.extensionManagementServerService = extensionManagementServerService;
|
|
3009
|
-
this.extensionGalleryService = extensionGalleryService;
|
|
3010
|
-
this.fileService = fileService;
|
|
3011
|
-
this.logService = logService;
|
|
3012
|
-
}
|
|
3013
|
-
get label() {
|
|
3014
|
-
return ( localize(7955, "Install Remote Extensions Locally..."));
|
|
3015
|
-
}
|
|
3016
|
-
getQuickPickTitle() {
|
|
3017
|
-
return ( localize(7956, "Install Remote Extensions Locally"));
|
|
3018
|
-
}
|
|
3019
|
-
getExtensionsToInstall(local) {
|
|
3020
|
-
return local.filter(extension => extension.type === 1 && extension.server !== this.extensionManagementServerService.localExtensionManagementServer
|
|
3021
|
-
&& !( (this.extensionsWorkbenchService.installed.some(
|
|
3022
|
-
e => e.server === this.extensionManagementServerService.localExtensionManagementServer && areSameExtensions(e.identifier, extension.identifier)
|
|
3023
|
-
))));
|
|
3024
|
-
}
|
|
3025
|
-
async installExtensions(extensions) {
|
|
3026
|
-
const galleryExtensions = [];
|
|
3027
|
-
const vsixs = [];
|
|
3028
|
-
const targetPlatform = await this.extensionManagementServerService.localExtensionManagementServer.extensionManagementService.getTargetPlatform();
|
|
3029
|
-
await Promises.settled(( (extensions.map(async (extension) => {
|
|
3030
|
-
if (this.extensionGalleryService.isEnabled()) {
|
|
3031
|
-
const gallery = (await this.extensionGalleryService.getExtensions([{ ...extension.identifier, preRelease: !!extension.local?.preRelease }], { targetPlatform, compatible: true }, CancellationToken.None))[0];
|
|
3032
|
-
if (gallery) {
|
|
3033
|
-
galleryExtensions.push(gallery);
|
|
3034
|
-
return;
|
|
3035
|
-
}
|
|
3036
|
-
}
|
|
3037
|
-
const vsix = await this.extensionManagementServerService.remoteExtensionManagementServer.extensionManagementService.zip(extension.local);
|
|
3038
|
-
vsixs.push(vsix);
|
|
3039
|
-
}))));
|
|
3040
|
-
await Promises.settled(( (galleryExtensions.map(
|
|
3041
|
-
gallery => this.extensionManagementServerService.localExtensionManagementServer.extensionManagementService.installFromGallery(gallery)
|
|
3042
|
-
))));
|
|
3043
|
-
try {
|
|
3044
|
-
await Promises.settled(( (vsixs.map(
|
|
3045
|
-
vsix => this.extensionManagementServerService.localExtensionManagementServer.extensionManagementService.install(vsix)
|
|
3046
|
-
))));
|
|
3047
|
-
}
|
|
3048
|
-
finally {
|
|
3049
|
-
try {
|
|
3050
|
-
await Promise.allSettled(( (vsixs.map(vsix => this.fileService.del(vsix)))));
|
|
3051
|
-
}
|
|
3052
|
-
catch (error) {
|
|
3053
|
-
this.logService.error(error);
|
|
3054
|
-
}
|
|
3055
|
-
}
|
|
3056
|
-
}
|
|
3057
|
-
};
|
|
3058
|
-
InstallRemoteExtensionsInLocalAction = ( (__decorate([
|
|
3059
|
-
( (__param(1, IExtensionsWorkbenchService))),
|
|
3060
|
-
( (__param(2, IQuickInputService))),
|
|
3061
|
-
( (__param(3, IProgressService))),
|
|
3062
|
-
( (__param(4, INotificationService))),
|
|
3063
|
-
( (__param(5, IExtensionManagementServerService))),
|
|
3064
|
-
( (__param(6, IExtensionGalleryService))),
|
|
3065
|
-
( (__param(7, IFileService))),
|
|
3066
|
-
( (__param(8, ILogService)))
|
|
3067
|
-
], InstallRemoteExtensionsInLocalAction)));
|
|
3068
|
-
CommandsRegistry.registerCommand('workbench.extensions.action.showExtensionsForLanguage', function (accessor, fileExtension) {
|
|
3069
|
-
const extensionsWorkbenchService = accessor.get(IExtensionsWorkbenchService);
|
|
3070
|
-
return extensionsWorkbenchService.openSearch(`ext:${fileExtension.replace(/^\./, '')}`);
|
|
3071
|
-
});
|
|
3072
|
-
const showExtensionsWithIdsCommandId = 'workbench.extensions.action.showExtensionsWithIds';
|
|
3073
|
-
CommandsRegistry.registerCommand(showExtensionsWithIdsCommandId, function (accessor, extensionIds) {
|
|
3074
|
-
const extensionsWorkbenchService = accessor.get(IExtensionsWorkbenchService);
|
|
3075
|
-
return extensionsWorkbenchService.openSearch(( (extensionIds.map(id => `@id:${id}`))).join(' '));
|
|
3076
|
-
});
|
|
3077
|
-
registerColor('extensionButton.background', {
|
|
3078
|
-
dark: buttonBackground,
|
|
3079
|
-
light: buttonBackground,
|
|
3080
|
-
hcDark: null,
|
|
3081
|
-
hcLight: null
|
|
3082
|
-
}, ( localize(7957, "Button background color for extension actions.")));
|
|
3083
|
-
registerColor('extensionButton.foreground', {
|
|
3084
|
-
dark: buttonForeground,
|
|
3085
|
-
light: buttonForeground,
|
|
3086
|
-
hcDark: null,
|
|
3087
|
-
hcLight: null
|
|
3088
|
-
}, ( localize(7958, "Button foreground color for extension actions.")));
|
|
3089
|
-
registerColor('extensionButton.hoverBackground', {
|
|
3090
|
-
dark: buttonHoverBackground,
|
|
3091
|
-
light: buttonHoverBackground,
|
|
3092
|
-
hcDark: null,
|
|
3093
|
-
hcLight: null
|
|
3094
|
-
}, ( localize(7959, "Button background hover color for extension actions.")));
|
|
3095
|
-
registerColor('extensionButton.separator', buttonSeparator, ( localize(7960, "Button separator color for extension actions")));
|
|
3096
|
-
const extensionButtonProminentBackground = registerColor('extensionButton.prominentBackground', {
|
|
3097
|
-
dark: buttonBackground,
|
|
3098
|
-
light: buttonBackground,
|
|
3099
|
-
hcDark: null,
|
|
3100
|
-
hcLight: null
|
|
3101
|
-
}, ( localize(
|
|
3102
|
-
7961,
|
|
3103
|
-
"Button background color for extension actions that stand out (e.g. install button)."
|
|
3104
|
-
)));
|
|
3105
|
-
registerColor('extensionButton.prominentForeground', {
|
|
3106
|
-
dark: buttonForeground,
|
|
3107
|
-
light: buttonForeground,
|
|
3108
|
-
hcDark: null,
|
|
3109
|
-
hcLight: null
|
|
3110
|
-
}, ( localize(
|
|
3111
|
-
7962,
|
|
3112
|
-
"Button foreground color for extension actions that stand out (e.g. install button)."
|
|
3113
|
-
)));
|
|
3114
|
-
registerColor('extensionButton.prominentHoverBackground', {
|
|
3115
|
-
dark: buttonHoverBackground,
|
|
3116
|
-
light: buttonHoverBackground,
|
|
3117
|
-
hcDark: null,
|
|
3118
|
-
hcLight: null
|
|
3119
|
-
}, ( localize(
|
|
3120
|
-
7963,
|
|
3121
|
-
"Button background hover color for extension actions that stand out (e.g. install button)."
|
|
3122
|
-
)));
|
|
3123
|
-
registerThemingParticipant((theme, collector) => {
|
|
3124
|
-
const errorColor = theme.getColor(editorErrorForeground);
|
|
3125
|
-
if (errorColor) {
|
|
3126
|
-
collector.addRule(`.extension-editor .header .actions-status-container > .status ${ThemeIcon.asCSSSelector(errorIcon)} { color: ${errorColor}; }`);
|
|
3127
|
-
collector.addRule(`.extension-editor .body .subcontent .runtime-status ${ThemeIcon.asCSSSelector(errorIcon)} { color: ${errorColor}; }`);
|
|
3128
|
-
collector.addRule(`.monaco-hover.extension-hover .markdown-hover .hover-contents ${ThemeIcon.asCSSSelector(errorIcon)} { color: ${errorColor}; }`);
|
|
3129
|
-
}
|
|
3130
|
-
const warningColor = theme.getColor(editorWarningForeground);
|
|
3131
|
-
if (warningColor) {
|
|
3132
|
-
collector.addRule(`.extension-editor .header .actions-status-container > .status ${ThemeIcon.asCSSSelector(warningIcon)} { color: ${warningColor}; }`);
|
|
3133
|
-
collector.addRule(`.extension-editor .body .subcontent .runtime-status ${ThemeIcon.asCSSSelector(warningIcon)} { color: ${warningColor}; }`);
|
|
3134
|
-
collector.addRule(`.monaco-hover.extension-hover .markdown-hover .hover-contents ${ThemeIcon.asCSSSelector(warningIcon)} { color: ${warningColor}; }`);
|
|
3135
|
-
}
|
|
3136
|
-
const infoColor = theme.getColor(editorInfoForeground);
|
|
3137
|
-
if (infoColor) {
|
|
3138
|
-
collector.addRule(`.extension-editor .header .actions-status-container > .status ${ThemeIcon.asCSSSelector(infoIcon)} { color: ${infoColor}; }`);
|
|
3139
|
-
collector.addRule(`.extension-editor .body .subcontent .runtime-status ${ThemeIcon.asCSSSelector(infoIcon)} { color: ${infoColor}; }`);
|
|
3140
|
-
collector.addRule(`.monaco-hover.extension-hover .markdown-hover .hover-contents ${ThemeIcon.asCSSSelector(infoIcon)} { color: ${infoColor}; }`);
|
|
3141
|
-
}
|
|
3142
|
-
});
|
|
3143
|
-
|
|
3144
|
-
export { AbstractConfigureRecommendedExtensionsAction, AbstractInstallExtensionsInServerAction, ButtonWithDropDownExtensionAction, ButtonWithDropdownExtensionActionViewItem, ClearLanguageAction, ConfigureWorkspaceFolderRecommendedExtensionsAction, ConfigureWorkspaceRecommendedExtensionsAction, DisableDropDownAction, DisableForWorkspaceAction, DisableGloballyAction, DropDownExtensionAction, DropDownExtensionActionViewItem, EnableDropDownAction, EnableForWorkspaceAction, EnableGloballyAction, ExtensionAction, ExtensionEditorManageExtensionAction, ExtensionRuntimeStateAction, ExtensionStatusAction, ExtensionStatusLabelAction, IgnoreExtensionRecommendationAction, InstallAction, InstallAnotherVersionAction, InstallDropdownAction, InstallInOtherServerAction, InstallLocalExtensionsInRemoteAction, InstallRecommendedExtensionAction, InstallRemoteExtensionsInLocalAction, InstallSpecificVersionOfExtensionAction, InstallingLabelAction, LocalInstallAction, ManageExtensionAction, MenuItemExtensionAction, MigrateDeprecatedExtensionAction, PromptExtensionInstallFailureAction, ReinstallAction, RemoteInstallAction, SetColorThemeAction, SetFileIconThemeAction, SetLanguageAction, SetProductIconThemeAction, ShowRecommendedExtensionAction, ToggleAutoUpdateForExtensionAction, ToggleAutoUpdatesForPublisherAction, TogglePreReleaseExtensionAction, ToggleSyncExtensionAction, UndoIgnoreExtensionRecommendationAction, UninstallAction, UpdateAction, WebInstallAction, extensionButtonProminentBackground, getContextMenuActions, showExtensionsWithIdsCommandId };
|