@codingame/monaco-vscode-api 23.3.0 → 24.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/extensions.js +0 -1
- package/missing-services.js +127 -38
- package/package.json +9 -9
- package/service-override/tools/editor.d.ts +292 -0
- package/service-override/tools/editor.js +690 -0
- package/service-override/tools/url.d.ts +1 -0
- package/service-override/tools/url.js +12 -0
- package/service-override/tools/views.d.ts +105 -0
- package/service-override/tools/views.js +295 -0
- package/services.d.ts +9 -7
- package/services.js +10 -8
- package/vscode/product.json.js +1 -1
- package/vscode/src/vs/base/browser/broadcast.d.ts +14 -0
- package/vscode/src/vs/base/browser/broadcast.js +56 -0
- package/vscode/src/vs/base/browser/browser.d.ts +3 -2
- package/vscode/src/vs/base/browser/deviceAccess.d.ts +37 -0
- package/vscode/src/vs/base/browser/deviceAccess.js +63 -0
- package/vscode/src/vs/base/browser/dom.d.ts +4 -4
- package/vscode/src/vs/base/browser/dom.js +33 -38
- package/vscode/src/vs/base/browser/indexedDB.d.ts +19 -0
- package/vscode/src/vs/base/browser/indexedDB.js +149 -0
- package/vscode/src/vs/base/browser/keyboardEvent.js +3 -3
- package/vscode/src/vs/base/browser/markdownRenderer.d.ts +2 -0
- package/vscode/src/vs/base/browser/markdownRenderer.js +29 -13
- package/vscode/src/vs/base/browser/pixelRatio.js +5 -5
- package/vscode/src/vs/base/browser/ui/actionbar/actionViewItems.js +1 -1
- package/vscode/src/vs/base/browser/ui/actionbar/actionbar.js +1 -1
- package/vscode/src/vs/base/browser/ui/aria/aria.js +1 -1
- package/vscode/src/vs/base/browser/ui/breadcrumbs/breadcrumbsWidget.css +36 -0
- package/vscode/src/vs/base/browser/ui/breadcrumbs/breadcrumbsWidget.d.ts +70 -0
- package/vscode/src/vs/base/browser/ui/breadcrumbs/breadcrumbsWidget.js +302 -0
- package/vscode/src/vs/base/browser/ui/button/button.js +1 -1
- package/vscode/src/vs/base/browser/ui/centered/centeredViewLayout.d.ts +44 -0
- package/vscode/src/vs/base/browser/ui/centered/centeredViewLayout.js +180 -0
- package/vscode/src/vs/base/browser/ui/codicons/codicon/codicon.ttf +0 -0
- package/vscode/src/vs/base/browser/ui/codicons/codiconStyles.js +1 -1
- package/vscode/src/vs/base/browser/ui/contextview/contextview.js +1 -1
- package/vscode/src/vs/base/browser/ui/countBadge/countBadge.js +1 -1
- package/vscode/src/vs/base/browser/ui/dialog/dialog.css +246 -0
- package/vscode/src/vs/base/browser/ui/dialog/dialog.d.ts +91 -0
- package/vscode/src/vs/base/browser/ui/dialog/dialog.js +456 -0
- package/vscode/src/vs/base/browser/ui/dnd/dnd.js +1 -1
- package/vscode/src/vs/base/browser/ui/dropdown/dropdown.js +1 -1
- package/vscode/src/vs/base/browser/ui/dropdown/dropdownActionViewItem.js +2 -1
- package/vscode/src/vs/base/browser/ui/findinput/findInput.js +1 -1
- package/vscode/src/vs/base/browser/ui/findinput/replaceInput.js +1 -1
- package/vscode/src/vs/base/browser/ui/grid/grid.d.ts +395 -0
- package/vscode/src/vs/base/browser/ui/grid/grid.js +506 -0
- package/vscode/src/vs/base/browser/ui/grid/gridview.css +16 -0
- package/vscode/src/vs/base/browser/ui/grid/gridview.d.ts +593 -0
- package/vscode/src/vs/base/browser/ui/grid/gridview.js +1115 -0
- package/vscode/src/vs/base/browser/ui/hover/hoverWidget.css +0 -13
- package/vscode/src/vs/base/browser/ui/hover/hoverWidget.js +1 -1
- package/vscode/src/vs/base/browser/ui/iconLabel/iconLabel.js +1 -1
- package/vscode/src/vs/base/browser/ui/iconLabel/simpleIconLabel.d.ts +9 -0
- package/vscode/src/vs/base/browser/ui/iconLabel/simpleIconLabel.js +27 -0
- package/vscode/src/vs/base/browser/ui/icons/iconSelectBox.css +43 -0
- package/vscode/src/vs/base/browser/ui/icons/iconSelectBox.d.ts +42 -0
- package/vscode/src/vs/base/browser/ui/icons/iconSelectBox.js +244 -0
- package/vscode/src/vs/base/browser/ui/inputbox/inputBox.d.ts +1 -0
- package/vscode/src/vs/base/browser/ui/inputbox/inputBox.js +8 -1
- package/vscode/src/vs/base/browser/ui/keybindingLabel/keybindingLabel.css +4 -2
- package/vscode/src/vs/base/browser/ui/keybindingLabel/keybindingLabel.js +1 -1
- package/vscode/src/vs/base/browser/ui/list/listPaging.d.ts +1 -1
- package/vscode/src/vs/base/browser/ui/list/listPaging.js +1 -1
- package/vscode/src/vs/base/browser/ui/list/listView.js +7 -2
- package/vscode/src/vs/base/browser/ui/list/listWidget.js +1 -1
- package/vscode/src/vs/base/browser/ui/list/rowCache.js +1 -4
- package/vscode/src/vs/base/browser/ui/menu/menu.js +14 -12
- package/vscode/src/vs/base/browser/ui/menu/menubar.css +112 -0
- package/vscode/src/vs/base/browser/ui/menu/menubar.d.ts +79 -0
- package/vscode/src/vs/base/browser/ui/menu/menubar.js +850 -0
- package/vscode/src/vs/base/browser/ui/mouseCursor/mouseCursor.js +1 -1
- package/vscode/src/vs/base/browser/ui/progressbar/progressbar.js +1 -1
- package/vscode/src/vs/base/browser/ui/sash/sash.js +1 -1
- package/vscode/src/vs/base/browser/ui/scrollbar/scrollableElement.js +1 -1
- package/vscode/src/vs/base/browser/ui/selectBox/selectBox.d.ts +1 -0
- package/vscode/src/vs/base/browser/ui/selectBox/selectBox.js +6 -2
- package/vscode/src/vs/base/browser/ui/selectBox/selectBoxCustom.css +12 -32
- package/vscode/src/vs/base/browser/ui/selectBox/selectBoxCustom.js +9 -16
- package/vscode/src/vs/base/browser/ui/severityIcon/severityIcon.js +1 -1
- package/vscode/src/vs/base/browser/ui/splitview/paneview.css +153 -0
- package/vscode/src/vs/base/browser/ui/splitview/paneview.d.ts +127 -0
- package/vscode/src/vs/base/browser/ui/splitview/paneview.js +475 -0
- package/vscode/src/vs/base/browser/ui/splitview/splitview.js +1 -1
- package/vscode/src/vs/base/browser/ui/table/tableWidget.js +1 -1
- package/vscode/src/vs/base/browser/ui/toggle/toggle.js +1 -1
- package/vscode/src/vs/base/browser/ui/toolbar/toolbar.d.ts +9 -4
- package/vscode/src/vs/base/browser/ui/toolbar/toolbar.js +36 -14
- package/vscode/src/vs/base/browser/ui/tree/abstractTree.d.ts +12 -10
- package/vscode/src/vs/base/browser/ui/tree/abstractTree.js +11 -1
- package/vscode/src/vs/base/browser/ui/tree/asyncDataTree.d.ts +10 -10
- package/vscode/src/vs/base/browser/ui/tree/asyncDataTree.js +1 -0
- package/vscode/src/vs/base/browser/ui/tree/compressedObjectTreeModel.d.ts +5 -5
- package/vscode/src/vs/base/browser/ui/tree/dataTree.d.ts +1 -1
- package/vscode/src/vs/base/browser/ui/tree/indexTreeModel.d.ts +1 -1
- package/vscode/src/vs/base/browser/ui/tree/objectTree.d.ts +6 -6
- package/vscode/src/vs/base/browser/ui/tree/objectTreeModel.d.ts +2 -2
- package/vscode/src/vs/base/browser/ui/tree/tree.d.ts +2 -2
- package/vscode/src/vs/base/browser/ui/tree/treeDefaults.d.ts +7 -0
- package/vscode/src/vs/base/browser/ui/tree/treeDefaults.js +17 -0
- package/vscode/src/vs/base/common/arrays.d.ts +11 -1
- package/vscode/src/vs/base/common/assert.d.ts +1 -0
- package/vscode/src/vs/base/common/async.d.ts +4 -0
- package/vscode/src/vs/base/common/async.js +34 -0
- package/vscode/src/vs/base/common/buffer.js +1 -1
- package/vscode/src/vs/base/common/cancellation.d.ts +1 -1
- package/vscode/src/vs/base/common/codicons.d.ts +9 -0
- package/vscode/src/vs/base/common/codiconsLibrary.d.ts +9 -0
- package/vscode/src/vs/base/common/codiconsLibrary.js +9 -0
- package/vscode/src/vs/base/common/collections.d.ts +1 -1
- package/vscode/src/vs/base/common/controlFlow.d.ts +21 -0
- package/vscode/src/vs/base/common/controlFlow.js +51 -0
- package/vscode/src/vs/base/common/defaultAccount.d.ts +1 -0
- package/vscode/src/vs/base/common/equals.d.ts +5 -4
- package/vscode/src/vs/base/common/event.js +33 -16
- package/vscode/src/vs/base/common/filters.d.ts +1 -0
- package/vscode/src/vs/base/common/filters.js +22 -3
- package/vscode/src/vs/base/common/fuzzyScorer.d.ts +85 -0
- package/vscode/src/vs/base/common/fuzzyScorer.js +487 -0
- package/vscode/src/vs/base/common/hotReload.d.ts +1 -0
- package/vscode/src/vs/base/common/htmlContent.d.ts +2 -1
- package/vscode/src/vs/base/common/htmlContent.js +6 -3
- package/vscode/src/vs/base/common/iterator.d.ts +2 -2
- package/vscode/src/vs/base/common/iterator.js +1 -1
- package/vscode/src/vs/base/common/jsonEdit.d.ts +7 -0
- package/vscode/src/vs/base/common/jsonEdit.js +169 -0
- package/vscode/src/vs/base/common/jsonFormatter.d.ts +53 -0
- package/vscode/src/vs/base/common/jsonFormatter.js +197 -0
- package/vscode/src/vs/base/common/jsonc.d.ts +18 -0
- package/vscode/src/vs/base/common/jsonc.js +37 -0
- package/vscode/src/vs/base/common/keyCodes.d.ts +1 -0
- package/vscode/src/vs/base/common/keyCodes.js +8 -7
- package/vscode/src/vs/base/common/keybindingParser.d.ts +6 -0
- package/vscode/src/vs/base/common/keybindingParser.js +90 -0
- package/vscode/src/vs/base/common/lifecycle.d.ts +5 -1
- package/vscode/src/vs/base/common/lifecycle.js +10 -6
- package/vscode/src/vs/base/common/linkedList.d.ts +1 -0
- package/vscode/src/vs/base/common/linkedList.js +9 -0
- package/vscode/src/vs/base/common/map.d.ts +4 -4
- package/vscode/src/vs/base/common/map.js +8 -5
- package/vscode/src/vs/base/common/normalization.d.ts +10 -0
- package/vscode/src/vs/base/common/normalization.js +42 -0
- package/vscode/src/vs/base/common/oauth.d.ts +1 -1
- package/vscode/src/vs/base/common/oauth.js +39 -20
- package/vscode/src/vs/base/common/observableInternal/base.d.ts +0 -4
- package/vscode/src/vs/base/common/observableInternal/index.d.ts +1 -1
- package/vscode/src/vs/base/common/observableInternal/index.js +4 -4
- package/vscode/src/vs/base/common/observableInternal/logging/debugGetDependencyGraph.d.ts +5 -2
- package/vscode/src/vs/base/common/observableInternal/logging/debugGetDependencyGraph.js +43 -11
- package/vscode/src/vs/base/common/observableInternal/map.d.ts +1 -1
- package/vscode/src/vs/base/common/observableInternal/observables/baseObservable.d.ts +10 -4
- package/vscode/src/vs/base/common/observableInternal/observables/baseObservable.js +17 -6
- package/vscode/src/vs/base/common/observableInternal/observables/derivedImpl.js +1 -4
- package/vscode/src/vs/base/common/observableInternal/utils/utils.d.ts +5 -3
- package/vscode/src/vs/base/common/observableInternal/utils/utils.js +48 -7
- package/vscode/src/vs/base/common/paging.d.ts +102 -0
- package/vscode/src/vs/base/common/paging.js +187 -0
- package/vscode/src/vs/base/common/platform.d.ts +0 -1
- package/vscode/src/vs/base/common/processes.d.ts +93 -0
- package/vscode/src/vs/base/common/processes.js +40 -0
- package/vscode/src/vs/base/common/product.d.ts +2 -1
- package/vscode/src/vs/base/common/resourceTree.d.ts +43 -0
- package/vscode/src/vs/base/common/resourceTree.js +138 -0
- package/vscode/src/vs/base/common/strings.d.ts +2 -2
- package/vscode/src/vs/base/common/strings.js +27 -20
- package/vscode/src/vs/base/common/tfIdf.d.ts +54 -0
- package/vscode/src/vs/base/common/tfIdf.js +140 -0
- package/vscode/src/vs/base/common/types.d.ts +11 -3
- package/vscode/src/vs/base/common/worker/webWorker.js +14 -10
- package/vscode/src/vs/base/common/yaml.d.ts +74 -0
- package/vscode/src/vs/base/common/yaml.js +605 -0
- package/vscode/src/vs/base/parts/ipc/common/ipc.d.ts +257 -0
- package/vscode/src/vs/base/parts/ipc/common/ipc.js +710 -0
- package/vscode/src/vs/base/parts/ipc/common/ipc.net.d.ts +276 -0
- package/vscode/src/vs/base/parts/ipc/common/ipc.net.js +799 -0
- package/vscode/src/vs/base/parts/request/common/request.d.ts +41 -0
- package/vscode/src/vs/base/parts/request/common/request.js +17 -0
- package/vscode/src/vs/editor/browser/config/elementSizeObserver.js +5 -5
- package/vscode/src/vs/editor/browser/config/migrateOptions.js +5 -0
- package/vscode/src/vs/editor/browser/config/tabFocus.d.ts +2 -1
- package/vscode/src/vs/editor/browser/config/tabFocus.js +4 -2
- package/vscode/src/vs/editor/browser/controller/editContext/clipboardUtils.d.ts +9 -2
- package/vscode/src/vs/editor/browser/controller/editContext/clipboardUtils.js +37 -2
- package/vscode/src/vs/editor/browser/controller/editContext/native/nativeEditContext.d.ts +0 -1
- package/vscode/src/vs/editor/browser/controller/editContext/native/nativeEditContext.js +12 -31
- package/vscode/src/vs/editor/browser/controller/editContext/textArea/textAreaEditContext.d.ts +1 -2
- package/vscode/src/vs/editor/browser/controller/editContext/textArea/textAreaEditContext.js +7 -10
- package/vscode/src/vs/editor/browser/controller/editContext/textArea/textAreaEditContextInput.d.ts +3 -3
- package/vscode/src/vs/editor/browser/controller/editContext/textArea/textAreaEditContextInput.js +7 -26
- package/vscode/src/vs/editor/browser/controller/editContext/textArea/textAreaEditContextRegistry.d.ts +9 -0
- package/vscode/src/vs/editor/browser/controller/editContext/textArea/textAreaEditContextRegistry.js +21 -0
- package/vscode/src/vs/editor/browser/coreCommands.js +1 -2
- package/vscode/src/vs/editor/browser/editorBrowser.d.ts +6 -1
- package/vscode/src/vs/editor/browser/gpu/css/decorationCssRuleExtractor.js +1 -1
- package/vscode/src/vs/editor/browser/observableCodeEditor.d.ts +16 -1
- package/vscode/src/vs/editor/browser/observableCodeEditor.js +36 -0
- package/vscode/src/vs/editor/browser/services/codeEditorService.service.d.ts +1 -1
- package/vscode/src/vs/editor/browser/services/contribution.d.ts +1 -0
- package/vscode/src/vs/editor/browser/services/editorWorkerService.d.ts +7 -4
- package/vscode/src/vs/editor/browser/services/editorWorkerService.js +24 -14
- package/vscode/src/vs/editor/browser/services/openerService.js +4 -1
- package/vscode/src/vs/editor/browser/view/domLineBreaksComputer.js +1 -1
- package/vscode/src/vs/editor/browser/view/renderingContext.js +1 -1
- package/vscode/src/vs/editor/browser/view.d.ts +1 -0
- package/vscode/src/vs/editor/browser/view.js +11 -2
- package/vscode/src/vs/editor/browser/viewParts/blockDecorations/blockDecorations.js +1 -1
- package/vscode/src/vs/editor/browser/viewParts/contentWidgets/contentWidgets.js +5 -2
- package/vscode/src/vs/editor/browser/viewParts/currentLineHighlight/currentLineHighlight.js +9 -4
- package/vscode/src/vs/editor/browser/viewParts/decorations/decorations.js +1 -1
- package/vscode/src/vs/editor/browser/viewParts/glyphMargin/glyphMargin.js +4 -5
- package/vscode/src/vs/editor/browser/viewParts/gpuMark/gpuMark.js +1 -1
- package/vscode/src/vs/editor/browser/viewParts/indentGuides/indentGuides.js +1 -1
- package/vscode/src/vs/editor/browser/viewParts/lineNumbers/lineNumbers.js +1 -1
- package/vscode/src/vs/editor/browser/viewParts/linesDecorations/linesDecorations.js +1 -1
- package/vscode/src/vs/editor/browser/viewParts/margin/margin.js +1 -1
- package/vscode/src/vs/editor/browser/viewParts/marginDecorations/marginDecorations.js +1 -1
- package/vscode/src/vs/editor/browser/viewParts/minimap/minimap.js +2 -2
- package/vscode/src/vs/editor/browser/viewParts/overlayWidgets/overlayWidgets.js +2 -2
- package/vscode/src/vs/editor/browser/viewParts/overviewRuler/overviewRuler.js +3 -1
- package/vscode/src/vs/editor/browser/viewParts/rulers/rulers.js +2 -4
- package/vscode/src/vs/editor/browser/viewParts/scrollDecoration/scrollDecoration.js +3 -3
- package/vscode/src/vs/editor/browser/viewParts/selections/selections.js +1 -1
- package/vscode/src/vs/editor/browser/viewParts/viewCursors/viewCursors.js +1 -1
- package/vscode/src/vs/editor/browser/viewParts/viewLines/domReadingContext.js +2 -1
- package/vscode/src/vs/editor/browser/viewParts/viewLines/viewLines.js +7 -15
- package/vscode/src/vs/editor/browser/viewParts/whitespace/whitespace.js +1 -8
- package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorWidget.d.ts +2 -0
- package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorWidget.js +18 -3
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/accessibleDiffViewer.js +1 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorWidget.js +1 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/hideUnchangedRegionsFeature.d.ts +6 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/hideUnchangedRegionsFeature.js +2 -1
- package/vscode/src/vs/editor/browser/widget/markdownRenderer/browser/editorMarkdownCodeBlockRenderer.js +1 -1
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/colors.d.ts +3 -0
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/colors.js +17 -0
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/diffEditorItemTemplate.d.ts +51 -0
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/diffEditorItemTemplate.js +264 -0
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/model.d.ts +22 -0
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorViewModel.d.ts +54 -0
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorViewModel.js +120 -0
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidget.d.ts +46 -0
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidget.js +78 -0
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidgetImpl.d.ts +86 -0
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidgetImpl.js +476 -0
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/objectPool.d.ts +16 -0
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/objectPool.js +49 -0
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/style.css +189 -0
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/workbenchUIElementFactory.d.ts +17 -0
- package/vscode/src/vs/editor/common/commands/replaceCommand.js +2 -2
- package/vscode/src/vs/editor/common/config/editorOptions.d.ts +3 -2
- package/vscode/src/vs/editor/common/config/editorOptions.js +378 -360
- package/vscode/src/vs/editor/common/core/2d/rect.d.ts +7 -0
- package/vscode/src/vs/editor/common/core/2d/rect.js +25 -0
- package/vscode/src/vs/editor/common/core/2d/size.d.ts +18 -0
- package/vscode/src/vs/editor/common/core/2d/size.js +46 -0
- package/vscode/src/vs/editor/common/core/editorColorRegistry.d.ts +1 -0
- package/vscode/src/vs/editor/common/core/editorColorRegistry.js +76 -72
- package/vscode/src/vs/editor/common/core/edits/textEdit.d.ts +12 -1
- package/vscode/src/vs/editor/common/core/edits/textEdit.js +366 -0
- package/vscode/src/vs/editor/common/core/ranges/offsetRange.d.ts +2 -0
- package/vscode/src/vs/editor/common/core/ranges/offsetRange.js +6 -0
- package/vscode/src/vs/editor/common/core/text/positionToOffsetImpl.d.ts +5 -2
- package/vscode/src/vs/editor/common/core/text/positionToOffsetImpl.js +24 -10
- package/vscode/src/vs/editor/common/editorContextKeys.js +47 -47
- package/vscode/src/vs/editor/common/languages/modesRegistry.js +1 -1
- package/vscode/src/vs/editor/common/languages.d.ts +29 -3
- package/vscode/src/vs/editor/common/languages.js +56 -56
- package/vscode/src/vs/editor/common/model/editStack.js +1 -1
- package/vscode/src/vs/editor/common/services/languagesAssociations.js +6 -8
- package/vscode/src/vs/editor/common/standaloneStrings.d.ts +1 -0
- package/vscode/src/vs/editor/common/standaloneStrings.js +48 -47
- package/vscode/src/vs/editor/common/textModelEditSource.d.ts +9 -1
- package/vscode/src/vs/editor/common/textModelEditSource.js +3 -1
- package/vscode/src/vs/editor/common/viewLayout/lineDecorations.d.ts +1 -1
- package/vscode/src/vs/editor/common/viewLayout/viewLineRenderer.js +3 -3
- package/vscode/src/vs/editor/contrib/anchorSelect/browser/anchorSelect.js +7 -7
- package/vscode/src/vs/editor/contrib/bracketMatching/browser/bracketMatching.js +7 -7
- package/vscode/src/vs/editor/contrib/caretOperations/browser/caretOperations.js +2 -2
- package/vscode/src/vs/editor/contrib/caretOperations/browser/transpose.js +1 -1
- package/vscode/src/vs/editor/contrib/clipboard/browser/clipboard.js +37 -22
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeAction.js +1 -1
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionCommands.js +29 -29
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionContributions.js +3 -3
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionController.js +3 -3
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionMenu.js +8 -8
- package/vscode/src/vs/editor/contrib/codeAction/browser/lightBulbWidget.js +10 -10
- package/vscode/src/vs/editor/contrib/codelens/browser/codelensController.js +2 -2
- package/vscode/src/vs/editor/contrib/codelens/browser/codelensWidget.js +1 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerBody.js +1 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerCloseButton.js +2 -2
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerHeader.js +2 -2
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerInsertButton.js +1 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerSaturationBox.js +1 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerStrip.js +1 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerWidget.js +1 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/hoverColorPicker/hoverColorPickerParticipant.js +1 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerActions.js +7 -7
- package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerWidget.js +1 -1
- package/vscode/src/vs/editor/contrib/comment/browser/comment.js +6 -6
- package/vscode/src/vs/editor/contrib/contextmenu/browser/contextmenu.js +10 -10
- package/vscode/src/vs/editor/contrib/cursorUndo/browser/cursorUndo.js +2 -2
- package/vscode/src/vs/editor/contrib/diffEditorBreadcrumbs/browser/contribution.js +16 -0
- package/vscode/src/vs/editor/contrib/dnd/browser/dnd.js +1 -1
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution.js +4 -4
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.js +9 -9
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/defaultProviders.js +8 -8
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController.js +3 -3
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/postEditWidget.js +3 -3
- package/vscode/src/vs/editor/contrib/editorState/browser/keybindingCancellation.js +1 -1
- package/vscode/src/vs/editor/contrib/find/browser/findController.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/find/browser/findController.js +17 -17
- package/vscode/src/vs/editor/contrib/find/browser/findOptionsWidget.js +1 -1
- package/vscode/src/vs/editor/contrib/find/browser/findWidget.js +27 -27
- package/vscode/src/vs/editor/contrib/find/browser/findWidgetSearchHistory.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/find/browser/replaceWidgetHistory.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/floatingMenu/browser/floatingMenu.contribution.js +1 -1
- package/vscode/src/vs/editor/contrib/floatingMenu/browser/floatingMenu.css +2 -2
- package/vscode/src/vs/editor/contrib/folding/browser/folding.js +21 -21
- package/vscode/src/vs/editor/contrib/folding/browser/foldingDecorations.js +9 -9
- package/vscode/src/vs/editor/contrib/fontZoom/browser/fontZoom.js +3 -3
- package/vscode/src/vs/editor/contrib/format/browser/format.js +21 -3
- package/vscode/src/vs/editor/contrib/format/browser/formatActions.js +2 -2
- package/vscode/src/vs/editor/contrib/gotoError/browser/gotoError.js +8 -8
- package/vscode/src/vs/editor/contrib/gotoError/browser/gotoErrorWidget.js +15 -15
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/goToCommands.js +39 -39
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition.js +2 -2
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesController.js +3 -3
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesTree.js +3 -3
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.js +4 -4
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/referencesModel.js +8 -8
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/symbolNavigation.js +3 -3
- package/vscode/src/vs/editor/contrib/gpu/browser/gpuActions.js +4 -4
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverController.d.ts +0 -1
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverController.js +6 -12
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverRendered.js +3 -3
- package/vscode/src/vs/editor/contrib/hover/browser/glyphHoverController.js +9 -8
- package/vscode/src/vs/editor/contrib/hover/browser/hoverAccessibleViews.js +2 -2
- package/vscode/src/vs/editor/contrib/hover/browser/hoverActionIds.js +2 -2
- package/vscode/src/vs/editor/contrib/hover/browser/hoverActions.js +25 -25
- package/vscode/src/vs/editor/contrib/hover/browser/hoverContribution.js +1 -1
- package/vscode/src/vs/editor/contrib/hover/browser/hoverCopyButton.js +2 -2
- package/vscode/src/vs/editor/contrib/hover/browser/hoverUtils.d.ts +12 -0
- package/vscode/src/vs/editor/contrib/hover/browser/hoverUtils.js +15 -1
- package/vscode/src/vs/editor/contrib/hover/browser/markdownHoverParticipant.js +9 -9
- package/vscode/src/vs/editor/contrib/hover/browser/markerHoverParticipant.js +5 -5
- package/vscode/src/vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace.js +3 -3
- package/vscode/src/vs/editor/contrib/indentation/browser/indentation.js +20 -20
- package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsHover.js +8 -8
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/commandIds.d.ts +2 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/commandIds.js +3 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/commands.d.ts +4 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/commands.js +54 -22
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionContextKeys.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionContextKeys.js +16 -12
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.d.ts +2 -3
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.js +29 -24
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.js +2 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.js +6 -6
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletions.contribution.js +2 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/InlineSuggestAlternativeAction.d.ts +11 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/InlineSuggestAlternativeAction.js +11 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/editKind.d.ts +60 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/editKind.js +178 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionIsVisible.d.ts +5 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionIsVisible.js +38 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsModel.d.ts +11 -10
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsModel.js +136 -86
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsSource.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsSource.js +66 -11
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineSuggestionItem.d.ts +38 -18
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineSuggestionItem.js +164 -114
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/provideInlineCompletions.d.ts +42 -10
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/provideInlineCompletions.js +133 -64
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/renameSymbolProcessor.d.ts +40 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/renameSymbolProcessor.js +382 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/telemetry.d.ts +11 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/utils.d.ts +8 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/utils.js +21 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/ghostText/ghostTextView.d.ts +42 -32
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/ghostText/ghostTextView.js +107 -60
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorMenu.d.ts +4 -4
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorMenu.js +24 -14
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorView.d.ts +34 -7
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorView.js +106 -64
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditWithChanges.d.ts +4 -4
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditWithChanges.js +8 -11
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsModel.d.ts +12 -24
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsModel.js +15 -40
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsNewUsers.d.ts +2 -3
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsNewUsers.js +10 -11
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsView.d.ts +23 -17
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsView.js +184 -142
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViewInterface.d.ts +35 -32
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViewInterface.js +45 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViewProducer.d.ts +7 -9
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViewProducer.js +29 -49
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/debugVisualization.d.ts +12 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsCollapsedView.d.ts +2 -3
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsCollapsedView.js +3 -4
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsCustomView.d.ts +2 -3
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsCustomView.js +5 -6
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsDeletionView.d.ts +2 -3
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsDeletionView.js +2 -3
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsInsertionView.d.ts +2 -3
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsInsertionView.js +18 -9
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsLineReplacementView.d.ts +2 -3
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsLineReplacementView.js +3 -3
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsSideBySideView.d.ts +2 -3
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsSideBySideView.js +8 -6
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsWordReplacementView.d.ts +20 -9
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsWordReplacementView.js +199 -37
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/jumpToView.d.ts +27 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/jumpToView.js +181 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/longDistanceHint/inlineEditsLongDistanceHint.d.ts +58 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/longDistanceHint/inlineEditsLongDistanceHint.js +404 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/longDistanceHint/longDistancePreviewEditor.d.ts +45 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/longDistanceHint/longDistancePreviewEditor.js +313 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/originalEditorInlineDiffView.d.ts +2 -3
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/originalEditorInlineDiffView.js +2 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/theme.d.ts +3 -3
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/theme.js +21 -21
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/utils/flexBoxLayout.d.ts +19 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/utils/flexBoxLayout.js +80 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/utils/towersLayout.d.ts +7 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/utils/towersLayout.js +23 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/utils/utils.d.ts +11 -5
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/utils/utils.js +52 -12
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/view.css +35 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/{inlineCompletionsView.d.ts → inlineSuggestionsView.d.ts} +9 -3
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineSuggestionsView.js +184 -0
- package/vscode/src/vs/editor/contrib/inlineProgress/browser/inlineProgress.js +1 -1
- package/vscode/src/vs/editor/contrib/insertFinalNewLine/browser/insertFinalNewLine.js +1 -1
- package/vscode/src/vs/editor/contrib/lineSelection/browser/lineSelection.js +1 -1
- package/vscode/src/vs/editor/contrib/linesOperations/browser/linesOperations.js +32 -31
- package/vscode/src/vs/editor/contrib/linkedEditing/browser/linkedEditing.js +3 -3
- package/vscode/src/vs/editor/contrib/links/browser/links.js +11 -11
- package/vscode/src/vs/editor/contrib/message/browser/messageController.js +2 -2
- package/vscode/src/vs/editor/contrib/middleScroll/browser/middleScrollController.js +1 -1
- package/vscode/src/vs/editor/contrib/multicursor/browser/multicursor.js +22 -22
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHints.js +1 -1
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.js +5 -5
- package/vscode/src/vs/editor/contrib/peekView/browser/peekView.js +19 -19
- package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderText.contribution.js +2 -2
- package/vscode/src/vs/editor/contrib/quickAccess/browser/editorNavigationQuickAccess.d.ts +69 -0
- package/vscode/src/vs/editor/contrib/quickAccess/browser/editorNavigationQuickAccess.js +120 -0
- package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess.d.ts +30 -0
- package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess.js +188 -0
- package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess.d.ts +57 -0
- package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess.js +344 -0
- package/vscode/src/vs/editor/contrib/readOnlyMessage/browser/contribution.js +2 -2
- package/vscode/src/vs/editor/contrib/rename/browser/rename.d.ts +5 -1
- package/vscode/src/vs/editor/contrib/rename/browser/rename.js +21 -13
- package/vscode/src/vs/editor/contrib/rename/browser/renameWidget.js +7 -7
- package/vscode/src/vs/editor/contrib/smartSelect/browser/smartSelect.js +4 -4
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetController2.js +4 -4
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetSession.js +1 -1
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetVariables.js +4 -4
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollActions.js +11 -11
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollWidget.js +2 -2
- package/vscode/src/vs/editor/contrib/suggest/browser/suggest.js +8 -8
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestController.js +10 -10
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestInlineCompletions.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestInlineCompletions.js +1 -0
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidget.js +18 -18
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetDetails.js +2 -2
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.js +2 -2
- package/vscode/src/vs/editor/contrib/suggest/browser/wordContextKey.js +1 -1
- package/vscode/src/vs/editor/contrib/symbolIcons/browser/symbolIcons.js +34 -34
- package/vscode/src/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.js +4 -4
- package/vscode/src/vs/editor/contrib/tokenization/browser/tokenization.js +1 -1
- package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/bannerController.js +2 -2
- package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.d.ts +5 -5
- package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js +30 -30
- package/vscode/src/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.js +5 -5
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.js +10 -10
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.js +4 -4
- package/vscode/src/vs/editor/contrib/wordOperations/browser/wordOperations.js +1 -1
- package/vscode/src/vs/editor/contrib/zoneWidget/browser/zoneWidget.js +1 -1
- package/vscode/src/vs/editor/standalone/browser/iPadShowKeyboard/iPadShowKeyboard.js +1 -1
- package/vscode/src/vs/editor/standalone/browser/quickInput/standaloneQuickInputService.js +1 -1
- package/vscode/src/vs/editor/standalone/browser/services/standaloneWebWorkerService.d.ts +7 -0
- package/vscode/src/vs/editor/standalone/browser/services/standaloneWebWorkerService.js +44 -0
- package/vscode/src/vs/editor/standalone/browser/standaloneServices.js +16 -22
- package/vscode/src/vs/platform/accessibility/browser/accessibleView.d.ts +3 -2
- package/vscode/src/vs/platform/accessibility/browser/accessibleView.js +10 -1
- package/vscode/src/vs/platform/accessibility/common/accessibility.d.ts +1 -1
- package/vscode/src/vs/platform/accessibility/common/accessibility.js +6 -3
- package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +62 -62
- package/vscode/src/vs/platform/accessibilitySignal/browser/progressAccessibilitySignalScheduler.d.ts +12 -0
- package/vscode/src/vs/platform/accessibilitySignal/browser/progressAccessibilitySignalScheduler.js +28 -0
- package/vscode/src/vs/platform/action/common/actionCommonCategories.js +6 -6
- package/vscode/src/vs/platform/actionWidget/browser/actionList.js +5 -5
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.css +7 -0
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.js +8 -8
- package/vscode/src/vs/platform/actions/browser/dropdownWithPrimaryActionViewItem.d.ts +40 -0
- package/vscode/src/vs/platform/actions/browser/dropdownWithPrimaryActionViewItem.js +154 -0
- package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.js +10 -10
- package/vscode/src/vs/platform/actions/browser/toolbar.js +2 -2
- package/vscode/src/vs/platform/actions/common/actions.d.ts +16 -3
- package/vscode/src/vs/platform/actions/common/actions.js +13 -3
- package/vscode/src/vs/platform/actions/common/menuResetAction.js +1 -1
- package/vscode/src/vs/platform/actions/common/menuService.js +2 -2
- package/vscode/src/vs/platform/assignment/common/assignment.d.ts +14 -4
- package/vscode/src/vs/platform/backup/common/backup.d.ts +13 -0
- package/vscode/src/vs/platform/backup/common/backup.js +10 -0
- package/vscode/src/vs/platform/configuration/common/configuration.d.ts +11 -13
- package/vscode/src/vs/platform/configuration/common/configuration.js +9 -6
- package/vscode/src/vs/platform/configuration/common/configuration.service.d.ts +4 -4
- package/vscode/src/vs/platform/configuration/common/configurationModels.d.ts +13 -11
- package/vscode/src/vs/platform/configuration/common/configurationModels.js +21 -10
- package/vscode/src/vs/platform/configuration/common/configurationRegistry.d.ts +4 -4
- package/vscode/src/vs/platform/configuration/common/configurationRegistry.js +10 -10
- package/vscode/src/vs/platform/configuration/common/configurations.d.ts +1 -1
- package/vscode/src/vs/platform/configuration/common/configurations.js +1 -1
- package/vscode/src/vs/platform/contextkey/browser/contextKeyService.js +3 -3
- package/vscode/src/vs/platform/contextkey/common/contextkey.js +11 -11
- package/vscode/src/vs/platform/contextkey/common/contextkeys.js +9 -9
- package/vscode/src/vs/platform/contextkey/common/scanner.js +5 -5
- package/vscode/src/vs/platform/contextview/browser/contextViewService.d.ts +1 -1
- package/vscode/src/vs/platform/defaultAccount/common/defaultAccount.service.d.ts +9 -0
- package/vscode/src/vs/{workbench/services/accounts → platform/defaultAccount}/common/defaultAccount.service.js +1 -1
- package/vscode/src/vs/platform/diagnostics/common/diagnostics.d.ts +1 -1
- package/vscode/src/vs/platform/dialogs/browser/dialog.d.ts +10 -0
- package/vscode/src/vs/platform/dialogs/browser/dialog.js +56 -0
- package/vscode/src/vs/platform/dialogs/common/dialogs.d.ts +285 -0
- package/vscode/src/vs/platform/dialogs/common/dialogs.js +138 -0
- package/vscode/src/vs/platform/dialogs/common/dialogs.service.d.ts +1 -1
- package/vscode/src/vs/platform/dnd/browser/dnd.js +1 -1
- package/vscode/src/vs/platform/environment/common/environmentService.d.ts +80 -0
- package/vscode/src/vs/platform/environment/common/environmentService.js +17 -0
- package/vscode/src/vs/platform/extensionManagement/common/extensionEnablementService.d.ts +38 -0
- package/vscode/src/vs/platform/extensionManagement/common/extensionEnablementService.js +145 -0
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.d.ts +5 -5
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +22 -21
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.service.d.ts +1 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagementUtil.d.ts +14 -2
- package/vscode/src/vs/platform/extensionManagement/common/extensionNls.js +1 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionStorage.d.ts +39 -0
- package/vscode/src/vs/platform/extensionManagement/common/extensionStorage.js +175 -0
- package/vscode/src/vs/platform/extensionManagement/common/extensionStorage.service.d.ts +3 -3
- package/vscode/src/vs/platform/extensionManagement/common/extensionsProfileScannerService.js +10 -7
- package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.js +7 -7
- package/vscode/src/vs/platform/extensionManagement/common/unsupportedExtensionsMigration.d.ts +13 -0
- package/vscode/src/vs/platform/extensionManagement/common/unsupportedExtensionsMigration.js +82 -0
- package/vscode/src/vs/platform/extensionRecommendations/common/extensionRecommendations.d.ts +19 -0
- package/vscode/src/vs/platform/extensionRecommendations/common/extensionRecommendations.js +25 -0
- package/vscode/src/vs/platform/extensionRecommendations/common/extensionRecommendations.service.d.ts +1 -1
- package/vscode/src/vs/platform/extensions/common/extensionValidator.js +21 -21
- package/vscode/src/vs/platform/externalServices/common/serviceMachineId.d.ts +4 -0
- package/vscode/src/vs/platform/externalServices/common/serviceMachineId.js +31 -0
- package/vscode/src/vs/platform/files/browser/htmlFileSystemProvider.d.ts +1 -1
- package/vscode/src/vs/platform/files/browser/htmlFileSystemProvider.js +2 -2
- package/vscode/src/vs/platform/files/common/files.js +6 -6
- package/vscode/src/vs/platform/files/common/inMemoryFilesystemProvider.d.ts +60 -0
- package/vscode/src/vs/platform/files/common/inMemoryFilesystemProvider.js +222 -0
- package/vscode/src/vs/platform/files/common/watcher.d.ts +1 -1
- package/vscode/src/vs/platform/history/browser/contextScopedHistoryWidget.js +1 -1
- package/vscode/src/vs/platform/hover/browser/hoverService.js +18 -9
- package/vscode/src/vs/platform/hover/browser/hoverWidget.js +2 -2
- package/vscode/src/vs/platform/hover/browser/updatableHoverWidget.js +1 -1
- package/vscode/src/vs/platform/instantiation/common/instantiation.d.ts +0 -1
- package/vscode/src/vs/platform/instantiation/common/instantiationService.js +1 -8
- package/vscode/src/vs/platform/ipc/common/services.d.ts +1 -1
- package/vscode/src/vs/platform/keybinding/common/abstractKeybindingService.js +4 -4
- package/vscode/src/vs/platform/keyboardLayout/common/keyboardLayout.d.ts +65 -0
- package/vscode/src/vs/platform/keyboardLayout/common/keyboardLayout.js +74 -0
- package/vscode/src/vs/platform/keyboardLayout/common/keyboardLayout.service.d.ts +1 -1
- package/vscode/src/vs/platform/label/common/label.d.ts +24 -0
- package/vscode/src/vs/platform/label/common/label.js +10 -0
- package/vscode/src/vs/platform/label/common/label.service.d.ts +1 -1
- package/vscode/src/vs/platform/languagePacks/common/languagePacks.d.ts +20 -0
- package/vscode/src/vs/platform/languagePacks/common/languagePacks.js +80 -0
- package/vscode/src/vs/platform/languagePacks/common/languagePacks.service.d.ts +1 -1
- package/vscode/src/vs/platform/languagePacks/common/localizedStrings.d.ts +6 -0
- package/vscode/src/vs/platform/languagePacks/common/localizedStrings.js +13 -0
- package/vscode/src/vs/platform/layout/browser/zIndexRegistry.d.ts +12 -0
- package/vscode/src/vs/platform/layout/browser/zIndexRegistry.js +64 -0
- package/vscode/src/vs/platform/list/browser/listService.d.ts +12 -12
- package/vscode/src/vs/platform/list/browser/listService.js +27 -27
- package/vscode/src/vs/platform/log/browser/log.d.ts +27 -0
- package/vscode/src/vs/platform/log/browser/log.js +28 -0
- package/vscode/src/vs/platform/log/common/bufferLog.d.ts +12 -0
- package/vscode/src/vs/platform/log/common/bufferLog.js +39 -0
- package/vscode/src/vs/platform/log/common/log.js +7 -7
- package/vscode/src/vs/platform/markers/common/markerService.js +2 -2
- package/vscode/src/vs/platform/markers/common/markers.js +6 -6
- package/vscode/src/vs/platform/mcp/common/mcpManagement.d.ts +195 -0
- package/vscode/src/vs/platform/mcp/common/mcpManagement.js +40 -0
- package/vscode/src/vs/platform/mcp/common/mcpManagement.service.d.ts +2 -2
- package/vscode/src/vs/platform/mcp/common/mcpPlatformTypes.d.ts +54 -0
- package/vscode/src/vs/platform/mcp/common/mcpPlatformTypes.js +14 -0
- package/vscode/src/vs/platform/mcp/common/mcpResourceScannerService.service.d.ts +1 -1
- package/vscode/src/vs/platform/native/common/native.d.ts +195 -0
- package/vscode/src/vs/platform/native/common/native.js +10 -0
- package/vscode/src/vs/platform/notification/common/notification.js +3 -3
- package/vscode/src/vs/platform/observable/common/observableMemento.d.ts +33 -0
- package/vscode/src/vs/platform/observable/common/observableMemento.js +67 -0
- package/vscode/src/vs/platform/opener/browser/link.js +1 -1
- package/vscode/src/vs/platform/product/common/product.js +3 -3
- package/vscode/src/vs/platform/quickinput/browser/media/quickInput.css +10 -4
- package/vscode/src/vs/platform/quickinput/browser/pickerQuickAccess.d.ts +120 -0
- package/vscode/src/vs/platform/quickinput/browser/pickerQuickAccess.js +228 -0
- package/vscode/src/vs/platform/quickinput/browser/quickInput.js +11 -12
- package/vscode/src/vs/platform/quickinput/browser/quickInputActions.js +5 -5
- package/vscode/src/vs/platform/quickinput/browser/quickInputBox.js +1 -1
- package/vscode/src/vs/platform/quickinput/browser/quickInputController.d.ts +1 -1
- package/vscode/src/vs/platform/quickinput/browser/quickInputController.js +33 -19
- package/vscode/src/vs/platform/quickinput/browser/quickInputList.js +2 -1
- package/vscode/src/vs/platform/quickinput/browser/quickInputService.d.ts +2 -2
- package/vscode/src/vs/platform/quickinput/browser/quickInputService.js +2 -2
- package/vscode/src/vs/platform/quickinput/browser/quickInputUtils.js +2 -2
- package/vscode/src/vs/platform/quickinput/browser/quickPickPin.d.ts +12 -0
- package/vscode/src/vs/platform/quickinput/browser/quickPickPin.js +108 -0
- package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeAccessibilityProvider.js +1 -1
- package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeController.d.ts +4 -1
- package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeController.js +80 -36
- package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeRenderer.d.ts +11 -2
- package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeRenderer.js +22 -9
- package/vscode/src/vs/platform/quickinput/browser/tree/quickTree.js +1 -1
- package/vscode/src/vs/platform/quickinput/common/quickInput.d.ts +1 -1
- package/vscode/src/vs/platform/quickinput/common/quickInput.service.d.ts +2 -2
- package/vscode/src/vs/platform/remote/common/remoteAgentConnection.d.ts +171 -0
- package/vscode/src/vs/platform/remote/common/remoteAgentConnection.js +659 -0
- package/vscode/src/vs/platform/remote/common/remoteAgentEnvironment.d.ts +1 -0
- package/vscode/src/vs/platform/remote/common/remoteSocketFactoryService.service.d.ts +1 -1
- package/vscode/src/vs/platform/request/common/request.d.ts +1 -1
- package/vscode/src/vs/platform/request/common/request.js +20 -20
- package/vscode/src/vs/platform/request/common/request.service.d.ts +1 -1
- package/vscode/src/vs/platform/telemetry/common/gdprTypings.d.ts +1 -1
- package/vscode/src/vs/platform/telemetry/common/telemetry.d.ts +1 -1
- package/vscode/src/vs/platform/telemetry/common/telemetryUtils.d.ts +3 -3
- package/vscode/src/vs/platform/telemetry/common/telemetryUtils.js +9 -5
- package/vscode/src/vs/platform/terminal/common/capabilities/bufferMarkCapability.d.ts +19 -0
- package/vscode/src/vs/platform/terminal/common/capabilities/bufferMarkCapability.js +45 -0
- package/vscode/src/vs/platform/terminal/common/capabilities/capabilities.d.ts +315 -0
- package/vscode/src/vs/platform/terminal/common/capabilities/capabilities.js +19 -0
- package/vscode/src/vs/platform/terminal/common/capabilities/commandDetection/promptInputModel.d.ts +126 -0
- package/vscode/src/vs/platform/terminal/common/capabilities/commandDetection/promptInputModel.js +498 -0
- package/vscode/src/vs/platform/terminal/common/capabilities/commandDetection/terminalCommand.d.ts +124 -0
- package/vscode/src/vs/platform/terminal/common/capabilities/commandDetection/terminalCommand.js +310 -0
- package/vscode/src/vs/platform/terminal/common/capabilities/commandDetectionCapability.d.ts +80 -0
- package/vscode/src/vs/platform/terminal/common/capabilities/commandDetectionCapability.js +770 -0
- package/vscode/src/vs/platform/terminal/common/capabilities/cwdDetectionCapability.d.ts +15 -0
- package/vscode/src/vs/platform/terminal/common/capabilities/cwdDetectionCapability.js +33 -0
- package/vscode/src/vs/platform/terminal/common/capabilities/partialCommandDetectionCapability.d.ts +21 -0
- package/vscode/src/vs/platform/terminal/common/capabilities/partialCommandDetectionCapability.js +60 -0
- package/vscode/src/vs/platform/terminal/common/capabilities/promptTypeDetectionCapability.d.ts +10 -0
- package/vscode/src/vs/platform/terminal/common/capabilities/promptTypeDetectionCapability.js +20 -0
- package/vscode/src/vs/platform/terminal/common/capabilities/shellEnvDetectionCapability.d.ts +23 -0
- package/vscode/src/vs/platform/terminal/common/capabilities/shellEnvDetectionCapability.js +87 -0
- package/vscode/src/vs/platform/terminal/common/capabilities/terminalCapabilityStore.d.ts +41 -0
- package/vscode/src/vs/platform/terminal/common/capabilities/terminalCapabilityStore.js +214 -0
- package/vscode/src/vs/platform/terminal/common/environmentVariableShared.d.ts +1 -1
- package/vscode/src/vs/platform/terminal/common/terminal.d.ts +5 -9
- package/vscode/src/vs/platform/terminal/common/terminal.service.d.ts +2 -2
- package/vscode/src/vs/platform/terminal/common/terminalDataBuffering.js +2 -1
- package/vscode/src/vs/platform/terminal/common/terminalEnvironment.d.ts +23 -0
- package/vscode/src/vs/platform/terminal/common/terminalEnvironment.js +86 -0
- package/vscode/src/vs/platform/terminal/common/terminalPlatformConfiguration.d.ts +14 -0
- package/vscode/src/vs/platform/terminal/common/terminalPlatformConfiguration.js +440 -0
- package/vscode/src/vs/platform/terminal/common/terminalProcess.d.ts +1 -1
- package/vscode/src/vs/platform/terminal/common/terminalProfiles.d.ts +8 -0
- package/vscode/src/vs/platform/terminal/common/terminalProfiles.js +104 -0
- package/vscode/src/vs/platform/terminal/common/terminalStrings.d.ts +15 -0
- package/vscode/src/vs/platform/terminal/common/terminalStrings.js +19 -0
- package/vscode/src/vs/platform/terminal/common/xterm/shellIntegrationAddon.d.ts +104 -0
- package/vscode/src/vs/platform/terminal/common/xterm/shellIntegrationAddon.js +497 -0
- package/vscode/src/vs/platform/theme/browser/defaultStyles.d.ts +2 -2
- package/vscode/src/vs/platform/theme/common/colorUtils.js +2 -2
- package/vscode/src/vs/platform/theme/common/colors/baseColors.js +18 -18
- package/vscode/src/vs/platform/theme/common/colors/chartsColors.js +8 -8
- package/vscode/src/vs/platform/theme/common/colors/editorColors.js +95 -95
- package/vscode/src/vs/platform/theme/common/colors/inputColors.js +47 -47
- package/vscode/src/vs/platform/theme/common/colors/listColors.js +36 -36
- package/vscode/src/vs/platform/theme/common/colors/menuColors.js +7 -7
- package/vscode/src/vs/platform/theme/common/colors/minimapColors.js +11 -11
- package/vscode/src/vs/platform/theme/common/colors/miscColors.js +16 -16
- package/vscode/src/vs/platform/theme/common/colors/quickpickColors.js +9 -9
- package/vscode/src/vs/platform/theme/common/colors/searchColors.js +3 -3
- package/vscode/src/vs/platform/theme/common/iconRegistry.js +6 -6
- package/vscode/src/vs/platform/theme/common/tokenClassificationRegistry.d.ts +147 -0
- package/vscode/src/vs/platform/theme/common/tokenClassificationRegistry.js +472 -0
- package/vscode/src/vs/platform/tunnel/common/tunnel.d.ts +1 -1
- package/vscode/src/vs/platform/tunnel/common/tunnel.service.d.ts +1 -1
- package/vscode/src/vs/platform/undoRedo/common/undoRedoService.js +20 -20
- package/vscode/src/vs/platform/uriIdentity/common/uriIdentityService.js +27 -17
- package/vscode/src/vs/platform/userDataProfile/common/userDataProfile.js +1 -1
- package/vscode/src/vs/platform/userDataSync/common/abstractJsonSynchronizer.d.ts +43 -0
- package/vscode/src/vs/platform/userDataSync/common/abstractJsonSynchronizer.js +200 -0
- package/vscode/src/vs/platform/userDataSync/common/abstractSynchronizer.d.ts +177 -0
- package/vscode/src/vs/platform/userDataSync/common/abstractSynchronizer.js +759 -0
- package/vscode/src/vs/platform/userDataSync/common/content.d.ts +5 -0
- package/vscode/src/vs/platform/userDataSync/common/content.js +12 -0
- package/vscode/src/vs/platform/userDataSync/common/extensionsMerge.d.ts +16 -0
- package/vscode/src/vs/platform/userDataSync/common/extensionsMerge.js +332 -0
- package/vscode/src/vs/platform/userDataSync/common/extensionsSync.d.ts +100 -0
- package/vscode/src/vs/platform/userDataSync/common/extensionsSync.js +549 -0
- package/vscode/src/vs/platform/userDataSync/common/globalStateMerge.d.ts +20 -0
- package/vscode/src/vs/platform/userDataSync/common/globalStateMerge.js +103 -0
- package/vscode/src/vs/platform/userDataSync/common/globalStateSync.d.ts +109 -0
- package/vscode/src/vs/platform/userDataSync/common/globalStateSync.js +446 -0
- package/vscode/src/vs/platform/userDataSync/common/ignoredExtensions.service.d.ts +1 -1
- package/vscode/src/vs/platform/userDataSync/common/keybindingsMerge.d.ts +7 -0
- package/vscode/src/vs/platform/userDataSync/common/keybindingsMerge.js +278 -0
- package/vscode/src/vs/platform/userDataSync/common/keybindingsSync.d.ts +54 -0
- package/vscode/src/vs/platform/userDataSync/common/keybindingsSync.js +327 -0
- package/vscode/src/vs/platform/userDataSync/common/settingsMerge.d.ts +18 -0
- package/vscode/src/vs/platform/userDataSync/common/settingsMerge.js +517 -0
- package/vscode/src/vs/platform/userDataSync/common/settingsSync.d.ts +65 -0
- package/vscode/src/vs/platform/userDataSync/common/settingsSync.js +342 -0
- package/vscode/src/vs/platform/userDataSync/common/snippetsMerge.d.ts +16 -0
- package/vscode/src/vs/platform/userDataSync/common/snippetsMerge.js +128 -0
- package/vscode/src/vs/platform/userDataSync/common/snippetsSync.d.ts +49 -0
- package/vscode/src/vs/platform/userDataSync/common/snippetsSync.js +479 -0
- package/vscode/src/vs/platform/userDataSync/common/tasksSync.d.ts +32 -0
- package/vscode/src/vs/platform/userDataSync/common/tasksSync.js +81 -0
- package/vscode/src/vs/platform/userDataSync/common/userDataSync.d.ts +1 -1
- package/vscode/src/vs/platform/userDataSync/common/userDataSync.js +5 -5
- package/vscode/src/vs/platform/userDataSync/common/userDataSync.service.d.ts +7 -7
- package/vscode/src/vs/platform/userDataSync/common/userDataSyncMachines.d.ts +50 -0
- package/vscode/src/vs/platform/userDataSync/common/userDataSyncMachines.js +186 -0
- package/vscode/src/vs/platform/userDataSync/common/userDataSyncMachines.service.d.ts +2 -2
- package/vscode/src/vs/platform/userDataSync/common/userDataSyncStoreService.d.ts +102 -0
- package/vscode/src/vs/platform/userDataSync/common/userDataSyncStoreService.js +743 -0
- package/vscode/src/vs/platform/webContentExtractor/common/webContentExtractor.d.ts +4 -0
- package/vscode/src/vs/platform/webWorker/browser/webWorkerDescriptor.d.ts +13 -0
- package/vscode/src/vs/platform/webWorker/browser/webWorkerDescriptor.js +11 -0
- package/vscode/src/vs/platform/webWorker/browser/webWorkerService.service.d.ts +9 -0
- package/vscode/src/vs/platform/webWorker/browser/webWorkerService.service.js +6 -0
- package/vscode/src/vs/platform/webWorker/browser/webWorkerServiceImpl.d.ts +24 -0
- package/vscode/src/vs/{base/browser/webWorkerFactory.js → platform/webWorker/browser/webWorkerServiceImpl.js} +58 -71
- package/vscode/src/vs/platform/workspace/common/workspace.js +1 -1
- package/vscode/src/vs/platform/workspaces/common/workspaces.d.ts +65 -0
- package/vscode/src/vs/platform/workspaces/common/workspaces.js +217 -0
- package/vscode/src/vs/platform/workspaces/common/workspaces.service.d.ts +2 -2
- package/vscode/src/vs/workbench/api/common/extHost.api.impl.js +10 -4
- package/vscode/src/vs/workbench/api/common/extHost.protocol.d.ts +69 -32
- package/vscode/src/vs/workbench/api/common/extHostAuthentication.js +22 -8
- package/vscode/src/vs/workbench/api/common/extHostChatAgents2.d.ts +11 -7
- package/vscode/src/vs/workbench/api/common/extHostChatAgents2.js +49 -27
- package/vscode/src/vs/workbench/api/common/extHostChatContext.d.ts +9 -3
- package/vscode/src/vs/workbench/api/common/extHostChatContext.js +70 -25
- package/vscode/src/vs/workbench/api/common/extHostChatSessions.d.ts +3 -3
- package/vscode/src/vs/workbench/api/common/extHostChatSessions.js +65 -11
- package/vscode/src/vs/workbench/api/common/extHostCodeInsets.js +1 -2
- package/vscode/src/vs/workbench/api/common/extHostCodeMapper.js +2 -1
- package/vscode/src/vs/workbench/api/common/extHostConfiguration.js +8 -5
- package/vscode/src/vs/workbench/api/common/extHostCustomEditors.d.ts +1 -1
- package/vscode/src/vs/workbench/api/common/extHostDiagnostics.d.ts +1 -1
- package/vscode/src/vs/workbench/api/common/extHostDiagnostics.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostExtensionService.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostFileSystemEventService.d.ts +2 -1
- package/vscode/src/vs/workbench/api/common/extHostFileSystemEventService.js +9 -4
- package/vscode/src/vs/workbench/api/common/extHostLabelService.d.ts +1 -1
- package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.d.ts +1 -0
- package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +39 -8
- package/vscode/src/vs/workbench/api/common/extHostLanguageModelTools.d.ts +1 -1
- package/vscode/src/vs/workbench/api/common/extHostLanguageModelTools.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostLanguageModels.js +5 -4
- package/vscode/src/vs/workbench/api/common/extHostLogService.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostMcp.d.ts +65 -2
- package/vscode/src/vs/workbench/api/common/extHostMcp.js +165 -95
- package/vscode/src/vs/workbench/api/common/extHostNotebook.d.ts +1 -1
- package/vscode/src/vs/workbench/api/common/extHostNotebook.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostProfileContentHandler.d.ts +1 -1
- package/vscode/src/vs/workbench/api/common/extHostSCM.js +20 -8
- package/vscode/src/vs/workbench/api/common/extHostStatusBar.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostStorage.d.ts +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTelemetry.d.ts +6 -1
- package/vscode/src/vs/workbench/api/common/extHostTelemetry.js +11 -8
- package/vscode/src/vs/workbench/api/common/extHostTerminalService.d.ts +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTerminalService.js +11 -14
- package/vscode/src/vs/workbench/api/common/extHostTesting.js +1 -2
- package/vscode/src/vs/workbench/api/common/extHostTreeViews.js +21 -1
- package/vscode/src/vs/workbench/api/common/extHostTunnelService.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostTypeConverters.d.ts +8 -8
- package/vscode/src/vs/workbench/api/common/extHostTypeConverters.js +16 -5
- package/vscode/src/vs/workbench/api/common/extHostTypes.d.ts +25 -6
- package/vscode/src/vs/workbench/api/common/extHostTypes.js +17 -5
- package/vscode/src/vs/workbench/api/common/extHostWebviewPanels.d.ts +1 -1
- package/vscode/src/vs/workbench/api/common/extHostWorkspace.js +4 -4
- package/vscode/src/vs/workbench/api/common/extensionHostMain.d.ts +1 -1
- package/vscode/src/vs/workbench/api/common/jsonValidationExtensionPoint.js +12 -12
- package/vscode/src/vs/workbench/browser/actions/developerActions.js +53 -45
- package/vscode/src/vs/workbench/browser/actions/layoutActions.d.ts +87 -0
- package/vscode/src/vs/workbench/browser/actions/layoutActions.js +1333 -0
- package/vscode/src/vs/workbench/browser/actions/media/actions.css +4 -3
- package/vscode/src/vs/workbench/browser/actions/textInputActions.d.ts +19 -0
- package/vscode/src/vs/workbench/browser/actions/textInputActions.js +95 -0
- package/vscode/src/vs/workbench/browser/actions/widgetNavigationCommands.d.ts +26 -0
- package/vscode/src/vs/workbench/browser/actions/widgetNavigationCommands.js +122 -0
- package/vscode/src/vs/workbench/browser/actions/windowActions.d.ts +26 -0
- package/vscode/src/vs/workbench/browser/actions/windowActions.js +453 -0
- package/vscode/src/vs/workbench/browser/actions/workspaceActions.d.ts +35 -0
- package/vscode/src/vs/workbench/browser/actions/workspaceActions.js +356 -0
- package/vscode/src/vs/workbench/browser/actions/workspaceCommands.d.ts +5 -0
- package/vscode/src/vs/workbench/browser/actions/workspaceCommands.js +241 -0
- package/vscode/src/vs/workbench/browser/composite.d.ts +156 -0
- package/vscode/src/vs/workbench/browser/composite.js +146 -0
- package/vscode/src/vs/workbench/browser/dnd.d.ts +138 -0
- package/vscode/src/vs/workbench/browser/dnd.js +545 -0
- package/vscode/src/vs/workbench/browser/editor.d.ts +56 -0
- package/vscode/src/vs/workbench/browser/editor.js +167 -0
- package/vscode/src/vs/workbench/browser/labels.d.ts +116 -0
- package/vscode/src/vs/workbench/browser/labels.js +525 -0
- package/vscode/src/vs/workbench/browser/media/part.css +97 -0
- package/vscode/src/vs/workbench/browser/media/style.css +309 -0
- package/vscode/src/vs/workbench/browser/panecomposite.d.ts +76 -0
- package/vscode/src/vs/workbench/browser/panecomposite.js +163 -0
- package/vscode/src/vs/workbench/browser/part.d.ts +92 -0
- package/vscode/src/vs/workbench/browser/part.js +189 -0
- package/vscode/src/vs/workbench/browser/parts/activitybar/activitybarPart.d.ts +60 -0
- package/vscode/src/vs/workbench/browser/parts/activitybar/activitybarPart.js +560 -0
- package/vscode/src/vs/workbench/browser/parts/activitybar/media/activityaction.css +210 -0
- package/vscode/src/vs/workbench/browser/parts/activitybar/media/activitybarpart.css +65 -0
- package/vscode/src/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarActions.d.ts +8 -0
- package/vscode/src/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarActions.js +252 -0
- package/vscode/src/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarPart.d.ts +42 -0
- package/vscode/src/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarPart.js +209 -0
- package/vscode/src/vs/workbench/browser/parts/auxiliarybar/media/auxiliaryBarPart.css +102 -0
- package/vscode/src/vs/workbench/browser/parts/compositeBar.d.ts +102 -0
- package/vscode/src/vs/workbench/browser/parts/compositeBar.js +637 -0
- package/vscode/src/vs/workbench/browser/parts/compositeBarActions.d.ts +176 -0
- package/vscode/src/vs/workbench/browser/parts/compositeBarActions.js +576 -0
- package/vscode/src/vs/workbench/browser/parts/compositePart.d.ts +93 -0
- package/vscode/src/vs/workbench/browser/parts/compositePart.js +344 -0
- package/vscode/src/vs/workbench/browser/parts/editor/auxiliaryEditorPart.d.ts +62 -0
- package/vscode/src/vs/workbench/browser/parts/editor/auxiliaryEditorPart.js +374 -0
- package/vscode/src/vs/workbench/browser/parts/editor/binaryDiffEditor.d.ts +18 -0
- package/vscode/src/vs/workbench/browser/parts/editor/binaryDiffEditor.js +41 -0
- package/vscode/src/vs/workbench/browser/parts/editor/binaryEditor.d.ts +23 -0
- package/vscode/src/vs/workbench/browser/parts/editor/binaryEditor.js +58 -0
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbs.d.ts +49 -0
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbs.js +295 -0
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbs.service.d.ts +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsControl.d.ts +91 -0
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsControl.js +833 -0
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsModel.d.ts +39 -0
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsModel.js +146 -0
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsPicker.d.ts +72 -0
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsPicker.js +427 -0
- package/vscode/src/vs/workbench/browser/parts/editor/diffEditorCommands.d.ts +10 -0
- package/vscode/src/vs/workbench/browser/parts/editor/diffEditorCommands.js +244 -0
- package/vscode/src/vs/workbench/browser/parts/editor/editor.contribution._autosave.d.ts +1 -0
- package/vscode/src/vs/workbench/browser/parts/editor/editor.contribution._autosave.js +5 -0
- package/vscode/src/vs/workbench/browser/parts/editor/editor.d.ts +2 -2
- package/vscode/src/vs/workbench/browser/parts/editor/editor.js +2 -0
- package/vscode/src/vs/workbench/browser/parts/editor/editorActions.d.ts +499 -0
- package/vscode/src/vs/workbench/browser/parts/editor/editorActions.js +2168 -0
- package/vscode/src/vs/workbench/browser/parts/editor/editorAutoSave.d.ts +42 -0
- package/vscode/src/vs/workbench/browser/parts/editor/editorAutoSave.js +222 -0
- package/vscode/src/vs/workbench/browser/parts/editor/editorCommands.d.ts +62 -0
- package/vscode/src/vs/workbench/browser/parts/editor/editorCommands.js +1174 -0
- package/vscode/src/vs/workbench/browser/parts/editor/editorCommandsContext.d.ts +13 -0
- package/vscode/src/vs/workbench/browser/parts/editor/editorCommandsContext.js +137 -0
- package/vscode/src/vs/workbench/browser/parts/editor/editorDropTarget.d.ts +27 -0
- package/vscode/src/vs/workbench/browser/parts/editor/editorDropTarget.js +519 -0
- package/vscode/src/vs/workbench/browser/parts/editor/editorGroupView.d.ts +215 -0
- package/vscode/src/vs/workbench/browser/parts/editor/editorGroupView.js +1448 -0
- package/vscode/src/vs/workbench/browser/parts/editor/editorGroupWatermark.d.ts +26 -0
- package/vscode/src/vs/workbench/browser/parts/editor/editorGroupWatermark.js +167 -0
- package/vscode/src/vs/workbench/browser/parts/editor/editorPane.d.ts +139 -0
- package/vscode/src/vs/workbench/browser/parts/editor/editorPane.js +247 -0
- package/vscode/src/vs/workbench/browser/parts/editor/editorPanes.d.ts +95 -0
- package/vscode/src/vs/workbench/browser/parts/editor/editorPanes.js +336 -0
- package/vscode/src/vs/workbench/browser/parts/editor/editorPart.d.ts +198 -0
- package/vscode/src/vs/workbench/browser/parts/editor/editorPart.js +1082 -0
- package/vscode/src/vs/workbench/browser/parts/editor/editorParts.d.ts +137 -0
- package/vscode/src/vs/workbench/browser/parts/editor/editorParts.js +584 -0
- package/vscode/src/vs/workbench/browser/parts/editor/editorPlaceholder.d.ts +63 -0
- package/vscode/src/vs/workbench/browser/parts/editor/editorPlaceholder.js +246 -0
- package/vscode/src/vs/workbench/browser/parts/editor/editorQuickAccess.d.ts +42 -0
- package/vscode/src/vs/workbench/browser/parts/editor/editorQuickAccess.js +223 -0
- package/vscode/src/vs/workbench/browser/parts/editor/editorStatus.d.ts +35 -0
- package/vscode/src/vs/workbench/browser/parts/editor/editorStatus.js +1286 -0
- package/vscode/src/vs/workbench/browser/parts/editor/editorTabsControl.d.ts +122 -0
- package/vscode/src/vs/workbench/browser/parts/editor/editorTabsControl.js +345 -0
- package/vscode/src/vs/workbench/browser/parts/editor/editorTitleControl.d.ts +53 -0
- package/vscode/src/vs/workbench/browser/parts/editor/editorTitleControl.js +161 -0
- package/vscode/src/vs/workbench/browser/parts/editor/editorWithViewState.d.ts +67 -0
- package/vscode/src/vs/workbench/browser/parts/editor/editorWithViewState.js +139 -0
- package/vscode/src/vs/workbench/browser/parts/editor/editorsObserver.d.ts +50 -0
- package/vscode/src/vs/workbench/browser/parts/editor/editorsObserver.js +358 -0
- package/vscode/src/vs/workbench/browser/parts/editor/media/breadcrumbscontrol.css +65 -0
- package/vscode/src/vs/workbench/browser/parts/editor/media/editordroptarget.css +55 -0
- package/vscode/src/vs/workbench/browser/parts/editor/media/editorgroupview.css +187 -0
- package/vscode/src/vs/workbench/browser/parts/editor/media/editorplaceholder.css +64 -0
- package/vscode/src/vs/workbench/browser/parts/editor/media/editorquickaccess.css +10 -0
- package/vscode/src/vs/workbench/browser/parts/editor/media/editorstatus.css +51 -0
- package/vscode/src/vs/workbench/browser/parts/editor/media/editortabscontrol.css +47 -0
- package/vscode/src/vs/workbench/browser/parts/editor/media/editortitlecontrol.css +47 -0
- package/vscode/src/vs/workbench/browser/parts/editor/media/letterpress-dark.svg +3 -0
- package/vscode/src/vs/workbench/browser/parts/editor/media/letterpress-hcDark.svg +3 -0
- package/vscode/src/vs/workbench/browser/parts/editor/media/letterpress-hcLight.svg +3 -0
- package/vscode/src/vs/workbench/browser/parts/editor/media/letterpress-light.svg +3 -0
- package/vscode/src/vs/workbench/browser/parts/editor/media/multieditortabscontrol.css +560 -0
- package/vscode/src/vs/workbench/browser/parts/editor/media/sidebysideeditor.css +9 -0
- package/vscode/src/vs/workbench/browser/parts/editor/media/singleeditortabscontrol.css +119 -0
- package/vscode/src/vs/workbench/browser/parts/editor/multiEditorTabsControl.d.ts +133 -0
- package/vscode/src/vs/workbench/browser/parts/editor/multiEditorTabsControl.js +1789 -0
- package/vscode/src/vs/workbench/browser/parts/editor/multiRowEditorTabsControl.d.ts +43 -0
- package/vscode/src/vs/workbench/browser/parts/editor/multiRowEditorTabsControl.js +165 -0
- package/vscode/src/vs/workbench/browser/parts/editor/noEditorTabsControl.d.ts +27 -0
- package/vscode/src/vs/workbench/browser/parts/editor/noEditorTabsControl.js +65 -0
- package/vscode/src/vs/workbench/browser/parts/editor/sideBySideEditor.d.ts +109 -0
- package/vscode/src/vs/workbench/browser/parts/editor/sideBySideEditor.js +391 -0
- package/vscode/src/vs/workbench/browser/parts/editor/singleEditorTabsControl.d.ts +43 -0
- package/vscode/src/vs/workbench/browser/parts/editor/singleEditorTabsControl.js +261 -0
- package/vscode/src/vs/workbench/browser/parts/editor/textCodeEditor.d.ts +29 -0
- package/vscode/src/vs/workbench/browser/parts/editor/textCodeEditor.js +84 -0
- package/vscode/src/vs/workbench/browser/parts/editor/textDiffEditor.d.ts +61 -0
- package/vscode/src/vs/workbench/browser/parts/editor/textDiffEditor.js +319 -0
- package/vscode/src/vs/workbench/browser/parts/editor/textEditor.d.ts +104 -0
- package/vscode/src/vs/workbench/browser/parts/editor/textEditor.js +254 -0
- package/vscode/src/vs/workbench/browser/parts/editor/textResourceEditor.d.ts +41 -0
- package/vscode/src/vs/workbench/browser/parts/editor/textResourceEditor.js +157 -0
- package/vscode/src/vs/workbench/browser/parts/globalCompositeBar.d.ts +115 -0
- package/vscode/src/vs/workbench/browser/parts/globalCompositeBar.js +645 -0
- package/vscode/src/vs/workbench/browser/parts/media/compositepart.css +18 -0
- package/vscode/src/vs/workbench/browser/parts/media/paneCompositePart.css +340 -0
- package/vscode/src/vs/workbench/browser/parts/notifications/media/notificationsActions.css +14 -0
- package/vscode/src/vs/workbench/browser/parts/notifications/media/notificationsCenter.css +67 -0
- package/vscode/src/vs/workbench/browser/parts/notifications/media/notificationsList.css +145 -0
- package/vscode/src/vs/workbench/browser/parts/notifications/media/notificationsToasts.css +70 -0
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsActions.d.ts +71 -0
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsActions.js +150 -0
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsAlerts.d.ts +10 -0
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsAlerts.js +63 -0
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCenter.d.ts +50 -0
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCenter.js +295 -0
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCommands.d.ts +37 -0
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCommands.js +269 -0
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsList.d.ts +41 -0
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsList.js +208 -0
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsStatus.d.ts +22 -0
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsStatus.js +172 -0
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsToasts.d.ts +60 -0
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsToasts.js +445 -0
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsViewer.d.ts +72 -0
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsViewer.js +413 -0
- package/vscode/src/vs/workbench/browser/parts/paneCompositeBar.d.ts +109 -0
- package/vscode/src/vs/workbench/browser/parts/paneCompositeBar.js +690 -0
- package/vscode/src/vs/workbench/browser/parts/paneCompositePart.d.ts +139 -0
- package/vscode/src/vs/workbench/browser/parts/paneCompositePart.js +508 -0
- package/vscode/src/vs/workbench/browser/parts/panel/media/panelpart.css +100 -0
- package/vscode/src/vs/workbench/browser/parts/panel/panelActions.d.ts +25 -0
- package/vscode/src/vs/workbench/browser/parts/panel/panelActions.js +356 -0
- package/vscode/src/vs/workbench/browser/parts/panel/panelPart.d.ts +35 -0
- package/vscode/src/vs/workbench/browser/parts/panel/panelPart.js +188 -0
- package/vscode/src/vs/workbench/browser/parts/sidebar/media/sidebarpart.css +121 -0
- package/vscode/src/vs/workbench/browser/parts/sidebar/sidebarActions.d.ts +6 -0
- package/vscode/src/vs/workbench/browser/parts/sidebar/sidebarActions.js +56 -0
- package/vscode/src/vs/workbench/browser/parts/sidebar/sidebarPart.d.ts +48 -0
- package/vscode/src/vs/workbench/browser/parts/sidebar/sidebarPart.js +253 -0
- package/vscode/src/vs/workbench/browser/parts/titlebar/media/menubarControl.css +63 -0
- package/vscode/src/vs/workbench/browser/parts/titlebar/menubarControl.d.ts +112 -0
- package/vscode/src/vs/workbench/browser/parts/titlebar/menubarControl.js +692 -0
- package/vscode/src/vs/workbench/browser/parts/titlebar/titlebarActions.d.ts +12 -0
- package/vscode/src/vs/workbench/browser/parts/titlebar/titlebarActions.js +227 -0
- package/vscode/src/vs/workbench/browser/parts/titlebar/windowTitle.d.ts +80 -0
- package/vscode/src/vs/workbench/browser/parts/titlebar/windowTitle.js +324 -0
- package/vscode/src/vs/workbench/browser/parts/views/checkbox.d.ts +28 -0
- package/vscode/src/vs/workbench/browser/parts/views/checkbox.js +96 -0
- package/vscode/src/vs/workbench/browser/parts/views/media/paneviewlet.css +87 -0
- package/vscode/src/vs/workbench/browser/parts/views/media/views.css +340 -0
- package/vscode/src/vs/workbench/browser/parts/views/treeView.d.ts +223 -0
- package/vscode/src/vs/workbench/browser/parts/views/treeView.js +1891 -0
- package/vscode/src/vs/workbench/browser/parts/views/viewFilter.d.ts +54 -0
- package/vscode/src/vs/workbench/browser/parts/views/viewFilter.js +218 -0
- package/vscode/src/vs/workbench/browser/parts/views/viewMenuActions.d.ts +27 -0
- package/vscode/src/vs/workbench/browser/parts/views/viewMenuActions.js +68 -0
- package/vscode/src/vs/workbench/browser/parts/views/viewPane.d.ts +156 -0
- package/vscode/src/vs/workbench/browser/parts/views/viewPane.js +693 -0
- package/vscode/src/vs/workbench/browser/parts/views/viewPaneContainer.d.ts +127 -0
- package/vscode/src/vs/workbench/browser/parts/views/viewPaneContainer.js +1070 -0
- package/vscode/src/vs/workbench/browser/parts/views/viewsViewlet.d.ts +35 -0
- package/vscode/src/vs/workbench/browser/parts/views/viewsViewlet.js +118 -0
- package/vscode/src/vs/workbench/browser/quickaccess.d.ts +48 -0
- package/vscode/src/vs/workbench/browser/quickaccess.js +88 -0
- package/vscode/src/vs/workbench/browser/style.d.ts +1 -0
- package/vscode/src/vs/workbench/browser/style.js +57 -0
- package/vscode/src/vs/workbench/browser/window.d.ts +52 -0
- package/vscode/src/vs/workbench/browser/window.js +357 -0
- package/vscode/src/vs/workbench/browser/workbench.contribution.d.ts +1 -0
- package/vscode/src/vs/workbench/browser/workbench.contribution.js +1483 -0
- package/vscode/src/vs/workbench/common/activity.d.ts +2 -0
- package/vscode/src/vs/workbench/common/activity.js +6 -0
- package/vscode/src/vs/workbench/common/component.d.ts +16 -0
- package/vscode/src/vs/workbench/common/component.js +31 -0
- package/vscode/src/vs/workbench/common/configuration.js +9 -9
- package/vscode/src/vs/workbench/common/contextkeys.js +73 -73
- package/vscode/src/vs/workbench/common/editor/binaryEditorModel.d.ts +32 -0
- package/vscode/src/vs/workbench/common/editor/binaryEditorModel.js +42 -0
- package/vscode/src/vs/workbench/common/editor/diffEditorInput.js +1 -1
- package/vscode/src/vs/workbench/common/editor/editorGroupModel.d.ts +202 -0
- package/vscode/src/vs/workbench/common/editor/editorGroupModel.js +804 -0
- package/vscode/src/vs/workbench/common/editor/editorInput.d.ts +1 -1
- package/vscode/src/vs/workbench/common/editor/filteredEditorGroupModel.d.ts +59 -0
- package/vscode/src/vs/workbench/common/editor/filteredEditorGroupModel.js +114 -0
- package/vscode/src/vs/workbench/common/editor/resourceEditorInput.d.ts +47 -0
- package/vscode/src/vs/workbench/common/editor/resourceEditorInput.js +167 -0
- package/vscode/src/vs/workbench/common/editor/sideBySideEditorInput.js +1 -1
- package/vscode/src/vs/workbench/common/editor/textEditorModel.js +1 -1
- package/vscode/src/vs/workbench/common/editor/textResourceEditorInput.d.ts +53 -0
- package/vscode/src/vs/workbench/common/editor/textResourceEditorInput.js +160 -0
- package/vscode/src/vs/workbench/common/editor/textResourceEditorModel.d.ts +14 -0
- package/vscode/src/vs/workbench/common/editor/textResourceEditorModel.js +27 -0
- package/vscode/src/vs/workbench/common/editor.d.ts +2 -1
- package/vscode/src/vs/workbench/common/editor.js +4 -4
- package/vscode/src/vs/workbench/common/memento.d.ts +18 -0
- package/vscode/src/vs/workbench/common/memento.js +116 -0
- package/vscode/src/vs/workbench/common/notifications.d.ts +238 -0
- package/vscode/src/vs/workbench/common/notifications.js +496 -0
- package/vscode/src/vs/workbench/common/resources.d.ts +23 -0
- package/vscode/src/vs/workbench/common/resources.js +168 -0
- package/vscode/src/vs/workbench/common/theme.js +160 -160
- package/vscode/src/vs/workbench/common/views.js +4 -4
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.d.ts +2 -1
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +168 -160
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleViewActions.js +12 -12
- package/vscode/src/vs/workbench/contrib/bulkEdit/browser/bulkCellEdits.d.ts +27 -0
- package/vscode/src/vs/workbench/contrib/bulkEdit/browser/bulkCellEdits.js +89 -0
- package/vscode/src/vs/workbench/contrib/callHierarchy/common/callHierarchy.d.ts +54 -0
- package/vscode/src/vs/workbench/contrib/callHierarchy/common/callHierarchy.js +134 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatActions.d.ts +141 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatActions.js +1573 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatClear.d.ts +3 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatClear.js +25 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatCloseNotification.d.ts +8 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatCloseNotification.js +38 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatConstants.d.ts +7 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatConstants.js +11 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessions.d.ts +25 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessions.js +75 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsModel.d.ts +93 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsModel.js +362 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsService.service.d.ts +8 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsService.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.d.ts +181 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.js +14 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.service.d.ts +27 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/chatAttachmentResolveService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatContentParts.d.ts +9 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatMarkdownAnchorService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContextPickService.d.ts +69 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContextPickService.js +56 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContextPickService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorContextKeys.js +8 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditorInput.d.ts +78 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditorInput.js +377 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatElicitationRequestPart.d.ts +36 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatElicitationRequestPart.js +59 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatStatusItemService.service.d.ts → chatStatus/chatStatusItemService.service.d.ts} +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/chatStatus/chatStatusItemService.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/contrib/chatDynamicVariables.d.ts +42 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/contrib/chatDynamicVariables.js +201 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/contrib/chatDynamicVariablesConstant.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/contrib/chatDynamicVariablesConstant.js +5 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/contrib/screenshot.d.ts +4 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/contrib/screenshot.js +14 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/imageUtils.d.ts +15 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/imageUtils.js +128 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/promptFileRewriter.d.ts +18 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/promptFileRewriter.js +75 -0
- package/vscode/src/vs/workbench/contrib/chat/common/annotations.d.ts +21 -0
- package/vscode/src/vs/workbench/contrib/chat/common/annotations.js +140 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chat.d.ts +10 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chat.js +51 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.d.ts +281 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.js +429 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.service.d.ts +1 -1
- package/vscode/src/vs/workbench/{services → contrib}/chat/common/chatContext.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.d.ts +13 -6
- package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.js +96 -57
- package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.d.ts +43 -13
- package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.js +49 -6
- package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.service.d.ts +4 -4
- package/vscode/src/vs/workbench/contrib/chat/common/chatModel.d.ts +742 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatModel.js +1449 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatModes.d.ts +147 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatModes.js +357 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatModes.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatParserTypes.d.ts +151 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatParserTypes.js +235 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatParticipantContribTypes.d.ts +42 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatParticipantContribTypes.js +5 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatRequestParser.d.ts +27 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatRequestParser.js +262 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatService.d.ts +107 -27
- package/vscode/src/vs/workbench/contrib/chat/common/chatService.js +22 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatService.service.d.ts +34 -11
- package/vscode/src/vs/workbench/contrib/chat/common/chatSessionsService.d.ts +28 -11
- package/vscode/src/vs/workbench/contrib/chat/common/chatSessionsService.js +1 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatSessionsService.service.d.ts +17 -10
- package/vscode/src/vs/workbench/contrib/chat/common/chatSlashCommands.service.d.ts +2 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatUri.d.ts +9 -13
- package/vscode/src/vs/workbench/contrib/chat/common/chatUri.js +14 -10
- package/vscode/src/vs/workbench/contrib/chat/common/chatVariableEntries.d.ts +17 -4
- package/vscode/src/vs/workbench/contrib/chat/common/chatVariableEntries.js +11 -11
- package/vscode/src/vs/workbench/contrib/chat/common/chatVariables.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatViewModel.d.ts +281 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatViewModel.js +366 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatWidgetHistoryService.service.d.ts +5 -4
- package/vscode/src/vs/workbench/contrib/chat/common/chatWordCounter.d.ts +8 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatWordCounter.js +44 -0
- package/vscode/src/vs/workbench/contrib/chat/common/constants.d.ts +18 -4
- package/vscode/src/vs/workbench/contrib/chat/common/constants.js +18 -5
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelStats.d.ts +12 -0
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelStats.js +42 -0
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsConfirmationService.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsConfirmationService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsService.d.ts +30 -23
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsService.js +18 -14
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsService.service.d.ts +14 -10
- package/vscode/src/vs/workbench/contrib/chat/common/languageModels.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/chat/common/languageModels.js +22 -9
- package/vscode/src/vs/workbench/contrib/chat/common/model/chatStreamStats.d.ts +42 -0
- package/vscode/src/vs/workbench/contrib/chat/common/model/chatStreamStats.js +101 -0
- package/vscode/src/vs/workbench/contrib/chat/common/modelPicker/modelPickerWidget.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/config/config.d.ts +99 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/config/config.js +114 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/config/promptFileLocations.d.ts +52 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/config/promptFileLocations.js +83 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/promptFileParser.d.ts +132 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/promptFileParser.js +336 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/promptTypes.d.ts +37 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/promptTypes.js +41 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsService.d.ts +159 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsService.js +16 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsService.service.d.ts +26 -22
- package/vscode/src/vs/workbench/contrib/chat/common/tools/editFileTool.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/tools/manageTodoListTool.js +13 -12
- package/vscode/src/vs/workbench/contrib/chat/common/tools/runSubagentTool.d.ts +3 -0
- package/vscode/src/vs/workbench/contrib/chat/common/tools/runSubagentTool.js +34 -32
- package/vscode/src/vs/workbench/contrib/chat/common/tools/tools.js +26 -2
- package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +13 -13
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.js +5 -5
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorAccessibilityHelp.js +5 -5
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/find/simpleFindWidget.css +113 -0
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/find/simpleFindWidget.d.ts +76 -0
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/find/simpleFindWidget.js +358 -0
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/inspectEditorTokens/inspectEditorTokens.css +79 -0
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/inspectEditorTokens/inspectEditorTokens.d.ts +26 -0
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/inspectEditorTokens/inspectEditorTokens.js +568 -0
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/largeFileOptimizations.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoSymbolQuickAccess.d.ts +39 -0
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoSymbolQuickAccess.js +236 -0
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/simpleEditorOptions.d.ts +11 -0
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/simpleEditorOptions.js +94 -0
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/suggestEnabledInput/suggestEnabledInput.css +30 -0
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/suggestEnabledInput/suggestEnabledInput.d.ts +132 -0
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/suggestEnabledInput/suggestEnabledInput.js +334 -0
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMinimap.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMultiCursorModifier.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderControlCharacter.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderWhitespace.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +5 -5
- package/vscode/src/vs/workbench/contrib/comments/browser/commentColors.d.ts +10 -0
- package/vscode/src/vs/workbench/contrib/comments/browser/commentColors.js +49 -0
- package/vscode/src/vs/workbench/contrib/comments/browser/commentFormActions.d.ts +22 -0
- package/vscode/src/vs/workbench/contrib/comments/browser/commentFormActions.js +79 -0
- package/vscode/src/vs/workbench/contrib/comments/browser/commentGlyphWidget.d.ts +21 -0
- package/vscode/src/vs/workbench/contrib/comments/browser/commentGlyphWidget.js +124 -0
- package/vscode/src/vs/workbench/contrib/comments/browser/commentNode.d.ts +104 -0
- package/vscode/src/vs/workbench/contrib/comments/browser/commentNode.js +671 -0
- package/vscode/src/vs/workbench/contrib/comments/browser/commentReply.d.ts +75 -0
- package/vscode/src/vs/workbench/contrib/comments/browser/commentReply.js +331 -0
- package/vscode/src/vs/workbench/contrib/comments/browser/commentService.service.d.ts +3 -3
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadAdditionalActions.d.ts +24 -0
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadAdditionalActions.js +81 -0
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadBody.d.ts +56 -0
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadBody.js +267 -0
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadHeader.d.ts +29 -0
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadHeader.js +128 -0
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadRangeDecorator.d.ts +18 -0
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadRangeDecorator.js +110 -0
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadWidget.d.ts +80 -0
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadWidget.js +284 -0
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadZoneWidget.d.ts +92 -0
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadZoneWidget.js +474 -0
- package/vscode/src/vs/workbench/contrib/comments/browser/comments.d.ts +14 -0
- package/vscode/src/vs/workbench/contrib/comments/browser/comments.js +6 -0
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsAccessibility.js +12 -12
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsController.d.ts +116 -0
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsController.js +1373 -0
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsFilterOptions.d.ts +13 -0
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsFilterOptions.js +20 -0
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsModel.d.ts +31 -0
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsModel.js +129 -0
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsTreeViewer.d.ts +146 -0
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsTreeViewer.js +459 -0
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsView.d.ts +81 -0
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsView.js +537 -0
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsViewActions.d.ts +33 -0
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsViewActions.js +219 -0
- package/vscode/src/vs/workbench/contrib/comments/browser/media/panel.css +177 -0
- package/vscode/src/vs/workbench/contrib/comments/browser/media/review.css +634 -0
- package/vscode/src/vs/workbench/contrib/comments/browser/reactionsAction.d.ts +24 -0
- package/vscode/src/vs/workbench/contrib/comments/browser/reactionsAction.js +108 -0
- package/vscode/src/vs/workbench/contrib/comments/browser/timestamp.d.ts +16 -0
- package/vscode/src/vs/workbench/contrib/comments/browser/timestamp.js +58 -0
- package/vscode/src/vs/workbench/contrib/comments/common/commentContextKeys.js +11 -11
- package/vscode/src/vs/workbench/contrib/comments/common/commentModel.d.ts +40 -0
- package/vscode/src/vs/workbench/contrib/comments/common/commentModel.js +75 -0
- package/vscode/src/vs/workbench/contrib/comments/common/commentsConfiguration.d.ts +8 -0
- package/vscode/src/vs/workbench/contrib/comments/common/commentsConfiguration.js +5 -0
- package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditorInput.d.ts +102 -0
- package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditorInput.js +360 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/baseDebugView.d.ts +88 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/baseDebugView.js +184 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointEditorContribution.d.ts +51 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointEditorContribution.js +799 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointWidget.d.ts +69 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointWidget.js +530 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointWidget.service.d.ts +5 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointWidget.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointsView.d.ts +68 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointsView.js +1742 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/callStackEditorContribution.d.ts +24 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/callStackEditorContribution.js +193 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/debugANSIHandling.d.ts +30 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/debugANSIHandling.js +380 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/debugActionViewItems.d.ts +49 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/debugActionViewItems.js +349 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/debugColors.d.ts +4 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/debugColors.js +323 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/debugCommands.d.ts +82 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/debugCommands.js +1054 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/debugEditorContribution.d.ts +74 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/debugEditorContribution.js +854 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/debugExpressionRenderer.d.ts +46 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/debugExpressionRenderer.js +176 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/debugHover.d.ts +69 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/debugHover.js +419 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/debugIcons.d.ts +72 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/debugIcons.js +75 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/debugSessionPicker.d.ts +2 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/debugSessionPicker.js +103 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/exceptionWidget.d.ts +22 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/exceptionWidget.js +132 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/linkDetector.d.ts +71 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/linkDetector.js +315 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/media/all.png.js +12 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/media/breakpointWidget.css +70 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/media/callStackEditorContribution.css +12 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/media/continue-tb.png +0 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/media/exceptionWidget.css +52 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/media/pause-tb.png +0 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/media/repl.css +146 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/media/restart-tb.png +0 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/media/run-with-debugging-tb.png +0 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/media/stepinto-tb.png +0 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/media/stepout-tb.png +0 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/media/stepover-tb.png +0 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/media/stop-tb.png +0 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/repl.d.ts +105 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/repl.js +1079 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/replFilter.d.ts +9 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/replFilter.js +53 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/replViewer.d.ts +134 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/replViewer.js +361 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/variablesView.d.ts +80 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/variablesView.js +713 -0
- package/vscode/src/vs/workbench/contrib/debug/common/abstractDebugAdapter.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/debug.d.ts +3 -2
- package/vscode/src/vs/workbench/contrib/debug/common/debug.js +65 -65
- package/vscode/src/vs/workbench/contrib/debug/common/debug.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/debugContext.d.ts +9 -0
- package/vscode/src/vs/workbench/contrib/debug/common/debugContext.js +18 -0
- package/vscode/src/vs/workbench/contrib/debug/common/debugModel.d.ts +476 -0
- package/vscode/src/vs/workbench/contrib/debug/common/debugModel.js +1693 -0
- package/vscode/src/vs/workbench/contrib/debug/common/debugSource.d.ts +38 -0
- package/vscode/src/vs/workbench/contrib/debug/common/debugSource.js +125 -0
- package/vscode/src/vs/workbench/contrib/debug/common/debugUtils.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/debugUtils.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/common/debugVisualizers.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/disassemblyViewInput.d.ts +12 -0
- package/vscode/src/vs/workbench/contrib/debug/common/disassemblyViewInput.js +34 -0
- package/vscode/src/vs/workbench/contrib/debug/common/loadedScriptsPicker.d.ts +10 -0
- package/vscode/src/vs/workbench/contrib/debug/common/loadedScriptsPicker.js +84 -0
- package/vscode/src/vs/workbench/contrib/debug/common/replModel.d.ts +117 -0
- package/vscode/src/vs/workbench/contrib/debug/common/replModel.js +393 -0
- package/vscode/src/vs/workbench/contrib/dropOrPasteInto/browser/commands.js +2 -2
- package/vscode/src/vs/workbench/contrib/dropOrPasteInto/browser/configurationSchema.js +4 -4
- package/vscode/src/vs/workbench/contrib/extensions/browser/abstractRuntimeExtensionsEditor.d.ts +76 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/abstractRuntimeExtensionsEditor.js +448 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/configBasedRecommendations.d.ts +25 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/configBasedRecommendations.js +79 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/exeBasedRecommendations.d.ts +20 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/exeBasedRecommendations.js +61 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionEditor.d.ts +83 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionEditor.js +1127 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionEnablementWorkspaceTrustTransitionParticipant.d.ts +11 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionEnablementWorkspaceTrustTransitionParticipant.js +49 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionFeaturesTab.d.ts +22 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionFeaturesTab.js +671 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionRecommendationNotificationService.d.ts +63 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionRecommendationNotificationService.js +412 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionRecommendations.d.ts +19 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionRecommendations.js +18 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionRecommendationsService.d.ts +71 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionRecommendationsService.js +230 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensions.contribution.d.ts +5 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensions.contribution.js +2060 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActions.d.ts +608 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActions.js +3155 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActivationProgress.d.ts +9 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActivationProgress.js +44 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsCompletionItemsProvider.d.ts +9 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsCompletionItemsProvider.js +63 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsDependencyChecker.d.ts +16 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsDependencyChecker.js +84 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsIcons.d.ts +24 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsIcons.js +61 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsList.d.ts +50 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsList.js +192 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsQuickAccess.d.ts +27 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsQuickAccess.js +94 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsViewer.d.ts +60 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsViewer.js +406 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsViewlet.d.ts +149 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsViewlet.js +969 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsViews.d.ts +233 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsViews.js +1432 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsWidgets.d.ts +209 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsWidgets.js +1009 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsWorkbenchService.d.ts +311 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsWorkbenchService.js +2976 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/fileBasedRecommendations.d.ts +44 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/fileBasedRecommendations.js +337 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/keymapRecommendations.d.ts +9 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/keymapRecommendations.js +30 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/languageRecommendations.d.ts +9 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/languageRecommendations.js +30 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/media/extension.css +281 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/media/extensionActions.css +147 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/media/extensionEditor.css +908 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/media/extensionManagement.css +12 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/media/extensionsViewlet.css +204 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/media/extensionsWidgets.css +89 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/media/loading-dark.svg +31 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/media/loading-hc.svg +31 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/media/loading.svg +31 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/media/runtimeExtensionsEditor.css +86 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/remoteRecommendations.d.ts +9 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/remoteRecommendations.js +31 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/unsupportedExtensionsMigrationContribution.d.ts +9 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/unsupportedExtensionsMigrationContribution.js +27 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/webRecommendations.d.ts +11 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/webRecommendations.js +39 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/workspaceRecommendations.d.ts +33 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/workspaceRecommendations.js +153 -0
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionQuery.d.ts +11 -0
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionQuery.js +76 -0
- package/vscode/src/vs/workbench/contrib/extensions/common/extensions.js +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/common/extensions.service.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsFileTemplate.d.ts +4 -0
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsFileTemplate.js +56 -0
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsInput.d.ts +24 -0
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsInput.js +46 -0
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsUtils.d.ts +23 -0
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsUtils.js +108 -0
- package/vscode/src/vs/workbench/contrib/extensions/common/runtimeExtensionsInput.d.ts +15 -0
- package/vscode/src/vs/workbench/contrib/extensions/common/runtimeExtensionsInput.js +45 -0
- package/vscode/src/vs/workbench/contrib/extensions/common/searchExtensionsTool.js +5 -8
- package/vscode/src/vs/workbench/contrib/externalUriOpener/common/configuration.d.ts +8 -0
- package/vscode/src/vs/workbench/contrib/externalUriOpener/common/configuration.js +68 -0
- package/vscode/src/vs/workbench/contrib/externalUriOpener/common/externalUriOpenerService.d.ts +44 -0
- package/vscode/src/vs/workbench/contrib/externalUriOpener/common/externalUriOpenerService.js +167 -0
- package/vscode/src/vs/workbench/contrib/externalUriOpener/common/externalUriOpenerService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/files/browser/editors/binaryFileEditor.d.ts +16 -0
- package/vscode/src/vs/workbench/contrib/files/browser/editors/binaryFileEditor.js +74 -0
- package/vscode/src/vs/workbench/contrib/files/browser/editors/fileEditorHandler.d.ts +26 -0
- package/vscode/src/vs/workbench/contrib/files/browser/editors/fileEditorHandler.js +76 -0
- package/vscode/src/vs/workbench/contrib/files/browser/editors/fileEditorInput.d.ts +74 -0
- package/vscode/src/vs/workbench/contrib/files/browser/editors/fileEditorInput.js +338 -0
- package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileEditor.d.ts +57 -0
- package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileEditor.js +241 -0
- package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileEditorTracker.d.ts +26 -0
- package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileEditorTracker.js +102 -0
- package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileSaveErrorHandler.d.ts +31 -0
- package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileSaveErrorHandler.js +401 -0
- package/vscode/src/vs/workbench/contrib/files/browser/explorerFileContrib.d.ts +39 -0
- package/vscode/src/vs/workbench/contrib/files/browser/explorerFileContrib.js +32 -0
- package/vscode/src/vs/workbench/contrib/files/browser/explorerViewlet.d.ts +44 -0
- package/vscode/src/vs/workbench/contrib/files/browser/explorerViewlet.js +303 -0
- package/vscode/src/vs/workbench/contrib/files/browser/fileActions.contribution.d.ts +8 -0
- package/vscode/src/vs/workbench/contrib/files/browser/fileActions.contribution.js +700 -0
- package/vscode/src/vs/workbench/contrib/files/browser/fileActions.d.ts +141 -0
- package/vscode/src/vs/workbench/contrib/files/browser/fileActions.js +1243 -0
- package/vscode/src/vs/workbench/contrib/files/browser/fileCommands._save.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/files/browser/fileCommands._save.js +194 -0
- package/vscode/src/vs/workbench/contrib/files/browser/fileCommands.d.ts +4 -0
- package/vscode/src/vs/workbench/contrib/files/browser/fileCommands.js +474 -0
- package/vscode/src/vs/workbench/contrib/files/browser/fileConstants.js +6 -6
- package/vscode/src/vs/workbench/contrib/files/browser/fileImportExport.d.ts +70 -0
- package/vscode/src/vs/workbench/contrib/files/browser/fileImportExport.js +692 -0
- package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._configuration.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._configuration.js +427 -0
- package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._editorPane.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._editorPane.js +61 -0
- package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._fileEditorFactory.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._fileEditorFactory.js +15 -0
- package/vscode/src/vs/workbench/contrib/files/browser/files.d.ts +27 -0
- package/vscode/src/vs/workbench/contrib/files/browser/files.js +112 -0
- package/vscode/src/vs/workbench/contrib/files/browser/files.service.d.ts +3 -3
- package/vscode/src/vs/workbench/contrib/files/browser/media/explorerviewlet.css +108 -0
- package/vscode/src/vs/workbench/contrib/files/browser/views/emptyView.d.ts +26 -0
- package/vscode/src/vs/workbench/contrib/files/browser/views/emptyView.js +104 -0
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerDecorationsProvider.d.ts +17 -0
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerDecorationsProvider.js +86 -0
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerView.d.ts +130 -0
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerView.js +888 -0
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerViewer.d.ts +262 -0
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerViewer.js +1728 -0
- package/vscode/src/vs/workbench/contrib/files/browser/views/media/openeditors.css +108 -0
- package/vscode/src/vs/workbench/contrib/files/browser/views/openEditorsView.d.ts +61 -0
- package/vscode/src/vs/workbench/contrib/files/browser/views/openEditorsView.js +815 -0
- package/vscode/src/vs/workbench/contrib/files/browser/workspaceWatcher.d.ts +32 -0
- package/vscode/src/vs/workbench/contrib/files/browser/workspaceWatcher.js +162 -0
- package/vscode/src/vs/workbench/contrib/files/common/dirtyFilesIndicator.d.ts +17 -0
- package/vscode/src/vs/workbench/contrib/files/common/dirtyFilesIndicator.js +54 -0
- package/vscode/src/vs/workbench/contrib/files/common/explorerFileNestingTrie.d.ts +51 -0
- package/vscode/src/vs/workbench/contrib/files/common/explorerFileNestingTrie.js +222 -0
- package/vscode/src/vs/workbench/contrib/files/common/explorerModel.d.ts +119 -0
- package/vscode/src/vs/workbench/contrib/files/common/explorerModel.js +397 -0
- package/vscode/src/vs/workbench/contrib/files/common/files.d.ts +155 -0
- package/vscode/src/vs/workbench/contrib/files/common/files.js +237 -0
- package/vscode/src/vs/workbench/contrib/folding/browser/folding.contribution.js +3 -3
- package/vscode/src/vs/workbench/contrib/format/browser/formatActionsMultiple.js +43 -20
- package/vscode/src/vs/workbench/contrib/format/browser/formatActionsNone.js +4 -4
- package/vscode/src/vs/workbench/contrib/format/browser/formatModified.js +1 -1
- package/vscode/src/vs/workbench/contrib/inlayHints/browser/inlayHintsAccessibilty.js +4 -4
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionService.service.d.ts +3 -3
- package/vscode/src/vs/workbench/contrib/interactive/browser/interactiveCommon.d.ts +7 -0
- package/vscode/src/vs/workbench/contrib/interactive/browser/interactiveCommon.js +11 -0
- package/vscode/src/vs/workbench/contrib/interactive/browser/interactiveEditorInput.d.ts +55 -0
- package/vscode/src/vs/workbench/contrib/interactive/browser/interactiveEditorInput.js +200 -0
- package/vscode/src/vs/workbench/contrib/interactive/browser/replInputHintContentWidget.d.ts +20 -0
- package/vscode/src/vs/workbench/contrib/interactive/browser/replInputHintContentWidget.js +150 -0
- package/vscode/src/vs/workbench/contrib/list/browser/listResizeColumnAction.js +2 -2
- package/vscode/src/vs/workbench/contrib/list/browser/tableColumnResizeQuickPick.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/list/browser/tableColumnResizeQuickPick.js +5 -5
- package/vscode/src/vs/workbench/contrib/localHistory/browser/localHistory.d.ts +9 -0
- package/vscode/src/vs/workbench/contrib/localHistory/browser/localHistory.js +25 -0
- package/vscode/src/vs/workbench/contrib/markdown/browser/markdownDocumentRenderer.d.ts +33 -0
- package/vscode/src/vs/workbench/contrib/markdown/browser/markdownDocumentRenderer.js +276 -0
- package/vscode/src/vs/workbench/contrib/markdown/browser/markedGfmHeadingIdPlugin.d.ts +5 -0
- package/vscode/src/vs/workbench/contrib/markdown/browser/markedGfmHeadingIdPlugin.js +42 -0
- package/vscode/src/vs/workbench/contrib/markdown/common/markedKatexExtension.d.ts +11 -0
- package/vscode/src/vs/workbench/contrib/markdown/common/markedKatexExtension.js +97 -0
- package/vscode/src/vs/workbench/contrib/markers/common/markers.d.ts +35 -0
- package/vscode/src/vs/workbench/contrib/markers/common/markers.js +42 -0
- package/vscode/src/vs/workbench/contrib/mcp/browser/mcpCommandsAddConfiguration.d.ts +83 -0
- package/vscode/src/vs/workbench/contrib/mcp/browser/mcpCommandsAddConfiguration.js +496 -0
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpCommandIds.d.ts +30 -0
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpCommandIds.js +32 -0
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpConfiguration.d.ts +35 -0
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpConfiguration.js +279 -0
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpRegistryTypes.d.ts +3 -0
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.d.ts +35 -4
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.js +12 -6
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.service.d.ts +7 -7
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypesUtils.d.ts +26 -0
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypesUtils.js +87 -0
- package/vscode/src/vs/workbench/contrib/mcp/common/modelContextProtocol.d.ts +1120 -268
- package/vscode/src/vs/workbench/contrib/mcp/common/modelContextProtocol.js +2 -1
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInput.d.ts +57 -0
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInput.js +178 -0
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInputModel.d.ts +58 -0
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInputModel.js +418 -0
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeMarkers/mergeMarkersController.d.ts +16 -0
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeMarkers/mergeMarkersController.js +12 -0
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/diffComputer.d.ts +23 -0
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/diffComputer.js +66 -0
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/editing.d.ts +25 -0
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/editing.js +57 -0
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/lineRange.d.ts +18 -0
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/lineRange.js +51 -0
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/mapping.d.ts +107 -0
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/mapping.js +263 -0
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/mergeEditorModel.d.ts +98 -0
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/mergeEditorModel.js +624 -0
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/modifiedBaseRange.d.ts +133 -0
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/modifiedBaseRange.js +314 -0
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/rangeUtils.d.ts +8 -0
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/rangeUtils.js +47 -0
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/textModelDiffs.d.ts +50 -0
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/textModelDiffs.js +189 -0
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/telemetry.d.ts +45 -0
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/telemetry.js +81 -0
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/utils.d.ts +33 -0
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/utils.js +106 -0
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/conflictActions.d.ts +30 -0
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/conflictActions.js +270 -0
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/fixedZoneWidget.d.ts +11 -0
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/fixedZoneWidget.js +43 -0
- package/vscode/src/vs/workbench/contrib/mergeEditor/common/mergeEditor.d.ts +19 -0
- package/vscode/src/vs/workbench/contrib/mergeEditor/common/mergeEditor.js +35 -0
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/icons.contribution.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/icons.contribution.js +8 -0
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffEditorInput.d.ts +77 -0
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffEditorInput.js +361 -0
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffSourceResolverService.d.ts +28 -0
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffSourceResolverService.js +41 -0
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffSourceResolverService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/scmMultiDiffSourceResolver.d.ts +51 -0
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/scmMultiDiffSourceResolver.js +182 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/executionStatusBarItemController.d.ts +22 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/executionStatusBarItemController.js +322 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/notebookVisibleCellObserver.d.ts +18 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/notebookVisibleCellObserver.js +59 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/findFilters.d.ts +36 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/findFilters.js +86 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/findMatchDecorationModel.d.ts +26 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/findMatchDecorationModel.js +131 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/findModel.d.ts +62 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/findModel.js +420 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindReplaceWidget.css +160 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindReplaceWidget.d.ts +138 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindReplaceWidget.js +758 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindWidget.d.ts +75 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindWidget.js +340 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOutputActions.d.ts +6 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOutputActions.js +273 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/coreActions.d.ts +91 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/coreActions.js +343 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/foldingController.d.ts +17 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/foldingController.js +261 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebook.css +657 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookCellChat.css +347 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookCellEditorHint.css +8 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookCellInsertToolbar.css +92 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookCellOutput.css +119 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookCellStatusBar.css +79 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookCellTitleToolbar.css +61 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookChatEditController.css +55 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookChatEditorOverlay.css +63 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookDnd.css +79 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookEditorStickyScroll.css +63 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookFocusIndicator.css +92 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookFolding.css +79 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookKernelActionViewItem.css +24 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookOutline.css +61 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookToolbar.css +102 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibilityProvider.d.ts +27 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibilityProvider.js +135 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookBrowser.d.ts +805 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookBrowser.js +149 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookCellLayoutManager.d.ts +18 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookCellLayoutManager.js +93 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditor.d.ts +92 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditor.js +527 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditorExtensions.d.ts +9 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditorExtensions.js +30 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditorWidget.d.ts +355 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditorWidget.js +2727 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookIcons.d.ts +29 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookIcons.js +36 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookLogger.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookLogger.js +20 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookOptions.d.ts +201 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookOptions.js +663 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookViewEvents.d.ts +56 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookViewEvents.js +30 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookEditorService.service.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellPart.d.ts +99 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellPart.js +132 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellActionView.d.ts +30 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellActionView.js +102 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellComments.d.ts +28 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellComments.js +133 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellContextKeys.d.ts +40 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellContextKeys.js +188 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellDecorations.d.ts +10 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellDecorations.js +66 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellDnd.d.ts +52 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellDnd.js +380 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellDragRenderer.d.ts +6 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellDragRenderer.js +102 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellEditorOptions.d.ts +36 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellEditorOptions.js +223 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellExecution.d.ts +17 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellExecution.js +153 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellFocus.d.ts +5 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellFocus.js +23 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellFocusIndicator.d.ts +18 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellFocusIndicator.js +88 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellOutput.d.ts +92 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellOutput.js +670 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellProgressBar.d.ts +15 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellProgressBar.js +62 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellStatusPart.d.ts +36 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellStatusPart.js +327 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellToolbarStickyScroll.d.ts +6 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellToolbarStickyScroll.js +29 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellToolbars.d.ts +47 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellToolbars.js +240 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellWidgets.d.ts +9 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellWidgets.js +10 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/chat/cellChatPart.d.ts +10 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/chat/cellChatPart.js +24 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCell.d.ts +164 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCell.js +672 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCellExecutionIcon.d.ts +13 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCellExecutionIcon.js +83 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCellRunToolbar.d.ts +30 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCellRunToolbar.js +109 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/collapsedCellInput.d.ts +6 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/collapsedCellInput.js +32 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/collapsedCellOutput.d.ts +8 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/collapsedCellOutput.js +48 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/foldedCellHint.d.ts +18 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/foldedCellHint.js +115 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/markupCell.d.ts +57 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/markupCell.js +432 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/notebookCellAnchor.d.ts +20 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/notebookCellAnchor.js +56 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/notebookCellEditorPool.d.ts +24 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/notebookCellEditorPool.js +119 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/notebookCellList.d.ts +152 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/notebookCellList.js +1220 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/notebookCellListView.d.ts +59 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/notebookCellListView.js +244 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/notebookRenderingCommon.d.ts +117 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/notebookRenderingCommon.js +6 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/backLayerWebView.d.ts +220 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/backLayerWebView.js +1699 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/cellRenderer.d.ts +63 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/cellRenderer.js +359 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/webviewMessages.d.ts +432 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/webviewPreloads.d.ts +18 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/webviewPreloads.js +2361 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/webviewThemeMapping.d.ts +8 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/webviewThemeMapping.js +69 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/baseCellViewModel.d.ts +137 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/baseCellViewModel.js +585 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/cellEditorOptions.d.ts +21 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/cellEditorOptions.js +90 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/cellOutputTextHelper.d.ts +13 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/cellOutputTextHelper.js +114 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/cellOutputViewModel.d.ts +30 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/cellOutputViewModel.js +63 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/cellSelectionCollection.d.ts +13 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/cellSelectionCollection.js +35 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/codeCellViewModel.d.ts +89 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/codeCellViewModel.js +460 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/eventDispatcher.d.ts +11 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/eventDispatcher.js +34 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/foldingModel.d.ts +33 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/foldingModel.js +261 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/markupCellViewModel.d.ts +69 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/markupCellViewModel.js +265 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookOutlineDataSourceFactory.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookOutlineEntryFactory.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookViewModelImpl.d.ts +125 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookViewModelImpl.js +845 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/viewContext.d.ts +9 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/viewContext.js +11 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookCellOverlays.d.ts +20 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookCellOverlays.js +101 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookEditorStickyScroll.d.ts +65 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookEditorStickyScroll.js +411 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookEditorToolbar.d.ts +80 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookEditorToolbar.js +601 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookEditorWidgetContextKeys.d.ts +37 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookEditorWidgetContextKeys.js +172 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookHorizontalTracker.d.ts +7 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookHorizontalTracker.js +62 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelQuickPickStrategy.d.ts +108 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelQuickPickStrategy.js +619 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelView.d.ts +23 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelView.js +173 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookOverviewRuler.d.ts +11 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookOverviewRuler.js +132 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookTopCellToolbar.d.ts +20 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookTopCellToolbar.js +127 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookViewZones.d.ts +27 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookViewZones.js +212 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/model/notebookCellOutputTextModel.d.ts +27 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/model/notebookCellOutputTextModel.js +105 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/model/notebookCellTextModel.d.ts +115 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/model/notebookCellTextModel.js +450 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookCommon.d.ts +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookContextKeys.d.ts +49 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookContextKeys.js +56 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorInput.d.ts +69 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorInput.js +339 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorModel.d.ts +87 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorModel.js +322 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookExecutionService.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookExecutionService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookExecutionStateService.d.ts +81 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookExecutionStateService.js +9 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookExecutionStateService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookPerformance.d.ts +10 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookPerformance.js +19 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookRange.d.ts +28 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookRange.js +73 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookService.d.ts +36 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookService.js +11 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookService.service.d.ts +3 -3
- package/vscode/src/vs/workbench/contrib/outline/browser/outline.d.ts +25 -0
- package/vscode/src/vs/workbench/contrib/outline/browser/outline.js +20 -0
- package/vscode/src/vs/workbench/contrib/preferences/browser/keybindingWidgets.d.ts +73 -0
- package/vscode/src/vs/workbench/contrib/preferences/browser/keybindingWidgets.js +280 -0
- package/vscode/src/vs/workbench/contrib/preferences/browser/media/keybindings.css +52 -0
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesIcons.d.ts +13 -0
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesIcons.js +23 -0
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesWidgets.d.ts +130 -0
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesWidgets.js +492 -0
- package/vscode/src/vs/workbench/contrib/preferences/browser/settingsLayout.d.ts +21 -0
- package/vscode/src/vs/workbench/contrib/preferences/browser/settingsLayout.js +304 -0
- package/vscode/src/vs/workbench/contrib/preferences/browser/settingsTreeModels.d.ts +192 -0
- package/vscode/src/vs/workbench/contrib/preferences/browser/settingsTreeModels.js +937 -0
- package/vscode/src/vs/workbench/contrib/preferences/common/preferences.d.ts +112 -0
- package/vscode/src/vs/workbench/contrib/preferences/common/preferences.js +177 -0
- package/vscode/src/vs/workbench/contrib/preferences/common/preferences.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/preferences/common/settingsEditorColorRegistry.d.ts +21 -0
- package/vscode/src/vs/workbench/contrib/preferences/common/settingsEditorColorRegistry.js +60 -0
- package/vscode/src/vs/workbench/contrib/remote/browser/media/tunnelView.css +112 -0
- package/vscode/src/vs/workbench/contrib/remote/browser/remoteExplorer.d.ts +67 -0
- package/vscode/src/vs/workbench/contrib/remote/browser/remoteExplorer.js +863 -0
- package/vscode/src/vs/workbench/contrib/remote/browser/remoteIcons.d.ts +17 -0
- package/vscode/src/vs/workbench/contrib/remote/browser/remoteIcons.js +24 -0
- package/vscode/src/vs/workbench/contrib/remote/browser/tunnelView.d.ts +192 -0
- package/vscode/src/vs/workbench/contrib/remote/browser/tunnelView.js +1745 -0
- package/vscode/src/vs/workbench/contrib/remote/browser/urlFinder.d.ts +31 -0
- package/vscode/src/vs/workbench/contrib/remote/browser/urlFinder.js +110 -0
- package/vscode/src/vs/workbench/contrib/replNotebook/browser/interactiveEditor.css +21 -0
- package/vscode/src/vs/workbench/contrib/replNotebook/browser/media/interactive.css +36 -0
- package/vscode/src/vs/workbench/contrib/replNotebook/browser/replEditor.d.ts +110 -0
- package/vscode/src/vs/workbench/contrib/replNotebook/browser/replEditor.js +627 -0
- package/vscode/src/vs/workbench/contrib/replNotebook/browser/replEditorInput.d.ts +40 -0
- package/vscode/src/vs/workbench/contrib/replNotebook/browser/replEditorInput.js +139 -0
- package/vscode/src/vs/workbench/contrib/scm/browser/scmHistory.d.ts +34 -0
- package/vscode/src/vs/workbench/contrib/scm/browser/scmHistory.js +421 -0
- package/vscode/src/vs/workbench/contrib/scm/browser/scmHistoryChatContext.d.ts +34 -0
- package/vscode/src/vs/workbench/contrib/scm/browser/scmHistoryChatContext.js +285 -0
- package/vscode/src/vs/workbench/contrib/scm/browser/util.d.ts +45 -0
- package/vscode/src/vs/workbench/contrib/scm/browser/util.js +161 -0
- package/vscode/src/vs/workbench/contrib/scm/common/artifact.d.ts +5 -0
- package/vscode/src/vs/workbench/contrib/scm/common/history.d.ts +102 -0
- package/vscode/src/vs/workbench/contrib/scm/common/history.js +6 -0
- package/vscode/src/vs/workbench/contrib/scm/common/quickDiff.d.ts +52 -0
- package/vscode/src/vs/workbench/contrib/scm/common/quickDiff.js +113 -0
- package/vscode/src/vs/workbench/contrib/scm/common/quickDiff.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/scm/common/quickDiffService.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/scm/common/scm.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/scm/common/scm.service.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/search/browser/AISearch/aiSearchModel.d.ts +77 -0
- package/vscode/src/vs/workbench/contrib/search/browser/AISearch/aiSearchModel.js +325 -0
- package/vscode/src/vs/workbench/contrib/search/browser/AISearch/aiSearchModelBase.d.ts +7 -0
- package/vscode/src/vs/workbench/contrib/search/browser/AISearch/aiSearchModelBase.js +8 -0
- package/vscode/src/vs/workbench/contrib/search/browser/anythingQuickAccess.d.ts +97 -0
- package/vscode/src/vs/workbench/contrib/search/browser/anythingQuickAccess.js +792 -0
- package/vscode/src/vs/workbench/contrib/search/browser/media/anythingQuickAccess.css +10 -0
- package/vscode/src/vs/workbench/contrib/search/browser/media/searchview.css +442 -0
- package/vscode/src/vs/workbench/contrib/search/browser/notebookSearch/notebookSearchModel.d.ts +84 -0
- package/vscode/src/vs/workbench/contrib/search/browser/notebookSearch/notebookSearchModel.js +429 -0
- package/vscode/src/vs/workbench/contrib/search/browser/notebookSearch/notebookSearchModelBase.d.ts +43 -0
- package/vscode/src/vs/workbench/contrib/search/browser/notebookSearch/notebookSearchModelBase.js +23 -0
- package/vscode/src/vs/workbench/contrib/search/browser/notebookSearch/notebookSearchService.d.ts +33 -0
- package/vscode/src/vs/workbench/contrib/search/browser/notebookSearch/notebookSearchService.js +238 -0
- package/vscode/src/vs/workbench/contrib/search/browser/notebookSearch/searchNotebookHelpers.d.ts +18 -0
- package/vscode/src/vs/workbench/contrib/search/browser/notebookSearch/searchNotebookHelpers.js +34 -0
- package/vscode/src/vs/workbench/contrib/search/browser/patternInputWidget.d.ts +74 -0
- package/vscode/src/vs/workbench/contrib/search/browser/patternInputWidget.js +222 -0
- package/vscode/src/vs/workbench/contrib/search/browser/replace.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsBase.d.ts +19 -0
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsBase.js +49 -0
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsFind.d.ts +16 -0
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsFind.js +457 -0
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsTopBar.d.ts +7 -0
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsTopBar.js +355 -0
- package/vscode/src/vs/workbench/contrib/search/browser/searchChatContext.d.ts +18 -0
- package/vscode/src/vs/workbench/contrib/search/browser/searchChatContext.js +293 -0
- package/vscode/src/vs/workbench/contrib/search/browser/searchCompare.d.ts +8 -0
- package/vscode/src/vs/workbench/contrib/search/browser/searchCompare.js +119 -0
- package/vscode/src/vs/workbench/contrib/search/browser/searchFindInput.d.ts +21 -0
- package/vscode/src/vs/workbench/contrib/search/browser/searchFindInput.js +53 -0
- package/vscode/src/vs/workbench/contrib/search/browser/searchIcons.d.ts +20 -0
- package/vscode/src/vs/workbench/contrib/search/browser/searchIcons.js +30 -0
- package/vscode/src/vs/workbench/contrib/search/browser/searchMessage.d.ts +7 -0
- package/vscode/src/vs/workbench/contrib/search/browser/searchMessage.js +57 -0
- package/vscode/src/vs/workbench/contrib/search/browser/searchResultsView.d.ts +127 -0
- package/vscode/src/vs/workbench/contrib/search/browser/searchResultsView.js +462 -0
- package/vscode/src/vs/workbench/contrib/search/browser/searchTreeModel/fileMatch.d.ts +81 -0
- package/vscode/src/vs/workbench/contrib/search/browser/searchTreeModel/fileMatch.js +303 -0
- package/vscode/src/vs/workbench/contrib/search/browser/searchTreeModel/folderMatch.d.ts +104 -0
- package/vscode/src/vs/workbench/contrib/search/browser/searchTreeModel/folderMatch.js +455 -0
- package/vscode/src/vs/workbench/contrib/search/browser/searchTreeModel/match.d.ts +37 -0
- package/vscode/src/vs/workbench/contrib/search/browser/searchTreeModel/match.js +132 -0
- package/vscode/src/vs/workbench/contrib/search/browser/searchTreeModel/rangeDecorations.d.ts +23 -0
- package/vscode/src/vs/workbench/contrib/search/browser/searchTreeModel/rangeDecorations.js +83 -0
- package/vscode/src/vs/workbench/contrib/search/browser/searchTreeModel/searchTreeCommon.d.ts +231 -0
- package/vscode/src/vs/workbench/contrib/search/browser/searchTreeModel/searchTreeCommon.js +117 -0
- package/vscode/src/vs/workbench/contrib/search/browser/searchTreeModel/searchViewModelWorkbenchService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/search/browser/searchTreeModel/textSearchHeading.d.ts +75 -0
- package/vscode/src/vs/workbench/contrib/search/browser/searchTreeModel/textSearchHeading.js +279 -0
- package/vscode/src/vs/workbench/contrib/search/browser/searchView.d.ts +250 -0
- package/vscode/src/vs/workbench/contrib/search/browser/searchView.js +2292 -0
- package/vscode/src/vs/workbench/contrib/search/browser/searchWidget.d.ts +148 -0
- package/vscode/src/vs/workbench/contrib/search/browser/searchWidget.js +678 -0
- package/vscode/src/vs/workbench/contrib/search/browser/symbolsQuickAccess.d.ts +37 -0
- package/vscode/src/vs/workbench/contrib/search/browser/symbolsQuickAccess.js +223 -0
- package/vscode/src/vs/workbench/contrib/search/common/cacheState.d.ts +17 -0
- package/vscode/src/vs/workbench/contrib/search/common/cacheState.js +88 -0
- package/vscode/src/vs/workbench/contrib/search/common/constants.d.ts +82 -0
- package/vscode/src/vs/workbench/contrib/search/common/constants.js +87 -0
- package/vscode/src/vs/workbench/contrib/search/common/search.d.ts +60 -0
- package/vscode/src/vs/workbench/contrib/search/common/search.js +159 -0
- package/vscode/src/vs/workbench/contrib/search/common/searchHistoryService.d.ts +20 -0
- package/vscode/src/vs/workbench/contrib/search/common/searchHistoryService.js +46 -0
- package/vscode/src/vs/workbench/contrib/search/common/searchHistoryService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/searchEditor/browser/constants.d.ts +28 -0
- package/vscode/src/vs/workbench/contrib/searchEditor/browser/constants.js +14 -0
- package/vscode/src/vs/workbench/contrib/searchEditor/browser/media/searchEditor.css +188 -0
- package/vscode/src/vs/workbench/contrib/searchEditor/browser/searchEditorActions.d.ts +12 -0
- package/vscode/src/vs/workbench/contrib/searchEditor/browser/searchEditorActions.js +194 -0
- package/vscode/src/vs/workbench/contrib/searchEditor/browser/searchEditorInput.d.ts +85 -0
- package/vscode/src/vs/workbench/contrib/searchEditor/browser/searchEditorInput.js +328 -0
- package/vscode/src/vs/workbench/contrib/searchEditor/browser/searchEditorModel.d.ts +33 -0
- package/vscode/src/vs/workbench/contrib/searchEditor/browser/searchEditorModel.js +139 -0
- package/vscode/src/vs/workbench/contrib/searchEditor/browser/searchEditorSerialization.d.ts +24 -0
- package/vscode/src/vs/workbench/contrib/searchEditor/browser/searchEditorSerialization.js +274 -0
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCompletionProvider.js +3 -3
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsFile.js +3 -3
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsService.js +9 -9
- package/vscode/src/vs/workbench/contrib/speech/common/speechService.js +29 -29
- package/vscode/src/vs/workbench/contrib/tasks/common/constants.js +1 -1
- package/vscode/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.js +5 -5
- package/vscode/src/vs/workbench/contrib/tasks/common/taskService.d.ts +50 -0
- package/vscode/src/vs/workbench/contrib/tasks/common/taskService.js +22 -0
- package/vscode/src/vs/workbench/contrib/tasks/common/taskService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/tasks/common/tasks.js +4 -4
- package/vscode/src/vs/workbench/contrib/terminal/browser/detachedTerminal.d.ts +52 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/detachedTerminal.js +108 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.d.ts +28 -8
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.js +2 -1
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.service.d.ts +50 -8
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalEditorInput.d.ts +68 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalEditorInput.js +205 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalExtensions.d.ts +55 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalExtensions.js +32 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalIcon.d.ts +15 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalIcon.js +110 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalIcons.d.ts +13 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalIcons.js +20 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalMenus.d.ts +27 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalMenus.js +819 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalProcessExtHostProxy.d.ts +65 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalProcessExtHostProxy.js +137 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/widgets/widgetManager.d.ts +9 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/widgets/widgetManager.js +42 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/widgets/widgets.d.ts +8 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/decorationStyles.d.ts +40 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/decorationStyles.js +258 -0
- package/vscode/src/vs/workbench/contrib/terminal/common/environmentVariable.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/terminal/common/environmentVariable.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/terminal/common/terminal.d.ts +422 -0
- package/vscode/src/vs/workbench/contrib/terminal/common/terminal.js +354 -0
- package/vscode/src/vs/workbench/contrib/terminal/common/terminal.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalColorRegistry.d.ts +35 -0
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalColorRegistry.js +290 -0
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalContextKey.d.ts +104 -0
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalContextKey.js +107 -0
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalStrings.d.ts +41 -0
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalStrings.js +36 -0
- package/vscode/src/vs/workbench/contrib/terminal/terminalContribExports.d.ts +22 -0
- package/vscode/src/vs/workbench/contrib/terminal/terminalContribExports.js +55 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/accessibility/common/terminal.accessibility.d.ts +8 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/accessibility/common/terminal.accessibility.js +15 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/accessibility/common/terminalAccessibilityConfiguration.d.ts +11 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/accessibility/common/terminalAccessibilityConfiguration.js +25 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/autoReplies/common/terminalAutoRepliesConfiguration.d.ts +11 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/autoReplies/common/terminalAutoRepliesConfiguration.js +28 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/chat/common/terminalInitialHintConfiguration.d.ts +6 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/chat/common/terminalInitialHintConfiguration.js +20 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/common/terminalChatAgentToolsConfiguration.d.ts +29 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/common/terminalChatAgentToolsConfiguration.js +419 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/commandGuide/common/terminalCommandGuideConfiguration.d.ts +10 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/commandGuide/common/terminalCommandGuideConfiguration.js +21 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/find/common/terminal.find.d.ts +11 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/find/common/terminal.find.js +25 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/history/common/terminal.history.d.ts +12 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/history/common/terminal.history.js +30 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/quickFix/browser/quickFix.d.ts +68 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/quickFix/browser/quickFix.js +11 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/quickFix/browser/quickFix.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/stickyScroll/common/terminalStickyScrollConfiguration.d.ts +11 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/stickyScroll/common/terminalStickyScrollConfiguration.js +33 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/suggest/browser/terminalCompletionService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/suggest/common/terminal.suggest.d.ts +18 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/suggest/common/terminal.suggest.js +34 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/suggest/common/terminalSuggestConfiguration.d.ts +44 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/suggest/common/terminalSuggestConfiguration.js +279 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/typeAhead/common/terminalTypeAheadConfiguration.d.ts +16 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/typeAhead/common/terminalTypeAheadConfiguration.js +71 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/zoom/common/terminal.zoom.d.ts +11 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/zoom/common/terminal.zoom.js +31 -0
- package/vscode/src/vs/workbench/contrib/testing/common/constants.js +11 -11
- package/vscode/src/vs/workbench/contrib/testing/common/getComputedState.d.ts +21 -0
- package/vscode/src/vs/workbench/contrib/testing/common/getComputedState.js +105 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testCoverage.d.ts +98 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testCoverage.js +203 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testCoverageService.service.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/testing/common/testResult.d.ts +277 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testResult.js +413 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testResultService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/testing/common/testResultStorage.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/testing/common/testService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/testing/common/testTypes.js +3 -3
- package/vscode/src/vs/workbench/contrib/testing/common/testingPeekOpener.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/testing/common/testingStates.d.ts +37 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testingStates.js +51 -0
- package/vscode/src/vs/workbench/contrib/typeHierarchy/common/typeHierarchy.d.ts +46 -0
- package/vscode/src/vs/workbench/contrib/typeHierarchy/common/typeHierarchy.js +143 -0
- package/vscode/src/vs/workbench/contrib/update/common/update.d.ts +2 -0
- package/vscode/src/vs/workbench/contrib/update/common/update.js +6 -0
- package/vscode/src/vs/workbench/contrib/url/browser/trustedDomainService.d.ts +16 -0
- package/vscode/src/vs/workbench/contrib/url/browser/trustedDomainService.js +47 -0
- package/vscode/src/vs/workbench/contrib/url/browser/trustedDomains.d.ts +23 -0
- package/vscode/src/vs/workbench/contrib/url/browser/trustedDomains.js +121 -0
- package/vscode/src/vs/workbench/contrib/url/common/trustedDomains.d.ts +15 -0
- package/vscode/src/vs/workbench/contrib/url/common/trustedDomains.js +42 -0
- package/vscode/src/vs/workbench/contrib/url/common/urlGlob.d.ts +9 -0
- package/vscode/src/vs/workbench/contrib/url/common/urlGlob.js +84 -0
- package/vscode/src/vs/workbench/contrib/webview/browser/webview.contribution.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/webview/browser/webview.contribution.js +72 -0
- package/vscode/src/vs/workbench/contrib/webview/browser/webview.d.ts +257 -0
- package/vscode/src/vs/workbench/contrib/webview/browser/webview.js +73 -0
- package/vscode/src/vs/workbench/contrib/webview/browser/webview.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/webview/browser/webviewWindowDragMonitor.d.ts +12 -0
- package/vscode/src/vs/workbench/contrib/webview/browser/webviewWindowDragMonitor.js +42 -0
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditor.d.ts +51 -0
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditor.js +171 -0
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditorInput.d.ts +50 -0
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditorInput.js +115 -0
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewWorkbenchService.d.ts +68 -0
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewWorkbenchService.js +233 -0
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewWorkbenchService.service.d.ts +3 -3
- package/vscode/src/vs/workbench/contrib/workspace/common/workspace.d.ts +9 -0
- package/vscode/src/vs/workbench/contrib/workspace/common/workspace.js +11 -0
- package/vscode/src/vs/workbench/services/accounts/common/defaultAccount.d.ts +10 -10
- package/vscode/src/vs/workbench/services/accounts/common/defaultAccount.js +89 -30
- package/vscode/src/vs/workbench/services/activity/browser/activityService.d.ts +25 -0
- package/vscode/src/vs/workbench/services/activity/browser/activityService.js +137 -0
- package/vscode/src/vs/workbench/services/activity/common/activity.d.ts +41 -0
- package/vscode/src/vs/workbench/services/activity/common/activity.js +48 -0
- package/vscode/src/vs/workbench/services/activity/common/activity.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/authentication/browser/authenticationService.d.ts +65 -0
- package/vscode/src/vs/workbench/services/authentication/browser/authenticationService.js +405 -0
- package/vscode/src/vs/workbench/services/authentication/common/authentication.d.ts +6 -0
- package/vscode/src/vs/workbench/services/authentication/common/authentication.service.d.ts +2 -1
- package/vscode/src/vs/workbench/services/auxiliaryWindow/browser/auxiliaryWindowService.d.ts +107 -0
- package/vscode/src/vs/workbench/services/auxiliaryWindow/browser/auxiliaryWindowService.js +413 -0
- package/vscode/src/vs/workbench/services/auxiliaryWindow/browser/auxiliaryWindowService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/chat/common/chatEntitlementService.js +10 -17
- package/vscode/src/vs/workbench/services/configuration/common/configuration.d.ts +47 -0
- package/vscode/src/vs/workbench/services/configuration/common/configuration.js +36 -0
- package/vscode/src/vs/workbench/services/configuration/common/configuration.service.d.ts +30 -0
- package/vscode/src/vs/workbench/services/configuration/common/configuration.service.js +7 -0
- package/vscode/src/vs/workbench/services/configuration/common/jsonEditing.d.ts +15 -0
- package/vscode/src/vs/workbench/services/configuration/common/jsonEditing.js +14 -0
- package/vscode/src/vs/workbench/services/configuration/common/jsonEditing.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverSchema.d.ts +2 -0
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverSchema.js +156 -0
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverUtils.d.ts +2 -0
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverUtils.js +13 -0
- package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.d.ts +2 -2
- package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +16 -16
- package/vscode/src/vs/workbench/services/driver/browser/driver.d.ts +41 -0
- package/vscode/src/vs/workbench/services/driver/browser/driver.js +226 -0
- package/vscode/src/vs/workbench/services/driver/common/driver.d.ts +44 -0
- package/vscode/src/vs/workbench/services/editor/browser/editorService.d.ts +111 -0
- package/vscode/src/vs/workbench/services/editor/browser/editorService.js +787 -0
- package/vscode/src/vs/workbench/services/editor/common/customEditorLabelService.d.ts +33 -0
- package/vscode/src/vs/workbench/services/editor/common/customEditorLabelService.js +194 -0
- package/vscode/src/vs/workbench/services/editor/common/editorGroupColumn.d.ts +13 -0
- package/vscode/src/vs/workbench/services/editor/common/editorGroupColumn.js +26 -0
- package/vscode/src/vs/workbench/services/editor/common/editorGroupFinder.d.ts +41 -0
- package/vscode/src/vs/workbench/services/editor/common/editorGroupFinder.js +133 -0
- package/vscode/src/vs/workbench/services/editor/common/editorGroupsService.d.ts +1 -1
- package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +1 -1
- package/vscode/src/vs/workbench/services/editor/common/editorService.d.ts +1 -1
- package/vscode/src/vs/workbench/services/editor/common/editorService.service.d.ts +8 -8
- package/vscode/src/vs/workbench/services/environment/browser/environmentService.d.ts +72 -0
- package/vscode/src/vs/workbench/services/environment/browser/environmentService.js +379 -0
- package/vscode/src/vs/workbench/services/environment/browser/environmentService.service.d.ts +17 -0
- package/vscode/src/vs/workbench/services/environment/browser/environmentService.service.js +7 -0
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionsIcons.d.ts +3 -0
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionsIcons.js +27 -0
- package/vscode/src/vs/workbench/services/extensionRecommendations/common/extensionRecommendations.d.ts +17 -0
- package/vscode/src/vs/workbench/services/extensionRecommendations/common/extensionRecommendations.js +14 -0
- package/vscode/src/vs/workbench/services/extensionRecommendations/common/extensionRecommendations.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/extensionRecommendations/common/workspaceExtensionsConfig.d.ts +39 -0
- package/vscode/src/vs/workbench/services/extensionRecommendations/common/workspaceExtensionsConfig.js +282 -0
- package/vscode/src/vs/workbench/services/extensionRecommendations/common/workspaceExtensionsConfig.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/extensions/browser/extensionUrlHandler.d.ts +60 -0
- package/vscode/src/vs/workbench/services/extensions/browser/extensionUrlHandler.js +322 -0
- package/vscode/src/vs/workbench/services/extensions/browser/extensionUrlHandler.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/extensions/common/extensionHostProtocol.d.ts +3 -3
- package/vscode/src/vs/workbench/services/extensions/common/extensionHostProxy.d.ts +1 -1
- package/vscode/src/vs/workbench/services/extensions/common/extensionManifestPropertiesService.d.ts +42 -0
- package/vscode/src/vs/workbench/services/extensions/common/extensionManifestPropertiesService.js +269 -0
- package/vscode/src/vs/workbench/services/extensions/common/extensionRunningLocation.d.ts +22 -0
- package/vscode/src/vs/workbench/services/extensions/common/extensionRunningLocation.js +47 -0
- package/vscode/src/vs/workbench/services/extensions/common/extensions.d.ts +2 -2
- package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +86 -94
- package/vscode/src/vs/workbench/services/extensions/common/proxyIdentifier.d.ts +1 -1
- package/vscode/src/vs/workbench/services/extensions/common/rpcProtocol.d.ts +1 -1
- package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.d.ts +98 -0
- package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.js +371 -0
- package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/host/browser/host.service.d.ts +11 -2
- package/vscode/src/vs/workbench/services/keybinding/browser/unboundCommands.d.ts +1 -0
- package/vscode/src/vs/workbench/services/keybinding/browser/unboundCommands.js +44 -0
- package/vscode/src/vs/workbench/services/language/common/languageService.js +28 -28
- package/vscode/src/vs/workbench/services/layout/browser/layoutService.service.d.ts +3 -3
- package/vscode/src/vs/workbench/services/localization/common/locale.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/log/common/logConstants.js +1 -1
- package/vscode/src/vs/workbench/services/mcp/common/mcpWorkbenchManagementService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/outline/browser/outline.d.ts +72 -0
- package/vscode/src/vs/workbench/services/outline/browser/outline.js +23 -0
- package/vscode/src/vs/workbench/services/outline/browser/outline.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/panecomposite/browser/panecomposite.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorInput.d.ts +23 -0
- package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorInput.js +46 -0
- package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorModel.d.ts +28 -0
- package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorModel.js +600 -0
- package/vscode/src/vs/workbench/services/preferences/common/preferences.d.ts +265 -0
- package/vscode/src/vs/workbench/services/preferences/common/preferences.js +56 -0
- package/vscode/src/vs/workbench/services/preferences/common/preferences.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/preferences/common/preferencesEditorInput.d.ts +27 -0
- package/vscode/src/vs/workbench/services/preferences/common/preferencesEditorInput.js +74 -0
- package/vscode/src/vs/workbench/services/progress/browser/progressIndicator.d.ts +49 -0
- package/vscode/src/vs/workbench/services/progress/browser/progressIndicator.js +250 -0
- package/vscode/src/vs/workbench/services/remote/common/remoteExplorerService.js +8 -8
- package/vscode/src/vs/workbench/services/remote/common/tunnelModel.js +8 -11
- package/vscode/src/vs/workbench/services/search/common/ignoreFile.d.ts +29 -0
- package/vscode/src/vs/workbench/services/search/common/ignoreFile.js +107 -0
- package/vscode/src/vs/workbench/services/search/common/queryBuilder.js +1 -1
- package/vscode/src/vs/workbench/services/search/common/searchHelpers.d.ts +7 -0
- package/vscode/src/vs/workbench/services/search/common/searchHelpers.js +75 -0
- package/vscode/src/vs/workbench/services/storage/browser/storageService.d.ts +84 -0
- package/vscode/src/vs/workbench/services/storage/browser/storageService.js +293 -0
- package/vscode/src/vs/workbench/services/textMate/common/TMGrammars.d.ts +18 -0
- package/vscode/src/vs/workbench/services/textMate/common/TMGrammars.js +78 -0
- package/vscode/src/vs/workbench/services/textMate/common/TMHelper.d.ts +26 -0
- package/vscode/src/vs/workbench/services/textMate/common/TMHelper.js +110 -0
- package/vscode/src/vs/workbench/services/textfile/common/textEditorService.d.ts +32 -0
- package/vscode/src/vs/workbench/services/textfile/common/textEditorService.js +194 -0
- package/vscode/src/vs/workbench/services/textfile/common/textFileEditorModel.d.ts +126 -0
- package/vscode/src/vs/workbench/services/textfile/common/textFileEditorModel.js +757 -0
- package/vscode/src/vs/workbench/services/textfile/common/textfiles.d.ts +1 -1
- package/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.js +22 -22
- package/vscode/src/vs/workbench/services/themes/common/colorThemeData.d.ts +97 -0
- package/vscode/src/vs/workbench/services/themes/common/colorThemeData.js +910 -0
- package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +13 -13
- package/vscode/src/vs/workbench/services/themes/common/plistParser.d.ts +4 -0
- package/vscode/src/vs/workbench/services/themes/common/plistParser.js +421 -0
- package/vscode/src/vs/workbench/services/themes/common/textMateScopeMatcher.d.ts +8 -0
- package/vscode/src/vs/workbench/services/themes/common/textMateScopeMatcher.js +123 -0
- package/vscode/src/vs/workbench/services/themes/common/themeCompatibility.d.ts +5 -0
- package/vscode/src/vs/workbench/services/themes/common/themeCompatibility.js +79 -0
- package/vscode/src/vs/workbench/services/themes/common/workbenchThemeService.d.ts +435 -0
- package/vscode/src/vs/workbench/services/themes/common/workbenchThemeService.js +346 -0
- package/vscode/src/vs/workbench/services/themes/common/workbenchThemeService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/untitled/common/untitledTextEditorInput.d.ts +48 -0
- package/vscode/src/vs/workbench/services/untitled/common/untitledTextEditorInput.js +159 -0
- package/vscode/src/vs/workbench/services/untitled/common/untitledTextEditorModel.d.ts +111 -0
- package/vscode/src/vs/workbench/services/untitled/common/untitledTextEditorModel.js +261 -0
- package/vscode/src/vs/workbench/services/untitled/common/untitledTextEditorService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/userAttention/common/userAttentionService.service.d.ts +41 -0
- package/vscode/src/vs/workbench/services/userAttention/common/userAttentionService.service.js +6 -0
- package/vscode/src/vs/workbench/services/userData/browser/userDataInit.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/userDataProfile/browser/iconSelectBox.d.ts +15 -0
- package/vscode/src/vs/workbench/services/userDataProfile/browser/iconSelectBox.js +101 -0
- package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfile.d.ts +82 -0
- package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfile.js +30 -0
- package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfile.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfileIcons.d.ts +2 -0
- package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfileIcons.js +94 -0
- package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfileService.d.ts +1 -1
- package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +13 -13
- package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/views/browser/viewsService.d.ts +77 -0
- package/vscode/src/vs/workbench/services/views/browser/viewsService.js +632 -0
- package/vscode/src/vs/workbench/services/workingCopy/common/fileWorkingCopy.d.ts +113 -0
- package/vscode/src/vs/workbench/services/workingCopy/common/fileWorkingCopy.js +9 -0
- package/vscode/src/vs/workbench/services/workingCopy/common/resourceWorkingCopy.d.ts +55 -0
- package/vscode/src/vs/workbench/services/workingCopy/common/resourceWorkingCopy.js +81 -0
- package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopy.d.ts +320 -0
- package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopy.js +718 -0
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopy.d.ts +172 -0
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopy.js +11 -0
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyBackup.d.ts +1 -1
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyBackup.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyEditorService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyFileService.service.d.ts +2 -2
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/workspaces/common/workspaceEditing.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/workspaces/common/workspaceTrust.d.ts +124 -0
- package/vscode/src/vs/workbench/services/workspaces/common/workspaceTrust.js +655 -0
- package/vscode-dts/vscode.d.ts +176 -151
- package/vscode-dts/vscode.proposed.chatContextProvider.d.ts +44 -10
- package/vscode-dts/vscode.proposed.chatParticipantAdditions.d.ts +5 -3
- package/vscode-dts/vscode.proposed.chatParticipantPrivate.d.ts +74 -1
- package/vscode-dts/vscode.proposed.chatReferenceDiagnostic.d.ts +1 -1
- package/vscode-dts/vscode.proposed.chatSessionsProvider.d.ts +81 -8
- package/vscode-dts/vscode.proposed.defaultChatParticipant.d.ts +0 -10
- package/vscode-dts/vscode.proposed.fileSearchProvider2.d.ts +6 -1
- package/vscode-dts/vscode.proposed.inlineCompletionsAdditions.d.ts +21 -2
- package/vscode-dts/vscode.proposed.mcpToolDefinitions.d.ts +10 -1
- package/vscode-dts/vscode.proposed.quickInputButtonLocation.d.ts +16 -9
- package/vscode-dts/vscode.proposed.quickPickItemResource.d.ts +6 -5
- package/vscode-dts/vscode.proposed.quickPickItemTooltip.d.ts +4 -1
- package/vscode-dts/vscode.proposed.quickPickPrompt.d.ts +6 -4
- package/vscode-dts/vscode.proposed.quickPickSortByLabel.d.ts +6 -1
- package/vscode-dts/vscode.proposed.scmArtifactProvider.d.ts +3 -0
- package/vscode-dts/vscode.proposed.scmHistoryProvider.d.ts +1 -1
- package/vscode/src/vs/base/browser/webWorkerFactory.d.ts +0 -14
- package/vscode/src/vs/base/common/skipList.d.ts +0 -35
- package/vscode/src/vs/base/common/skipList.js +0 -164
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineEdit.d.ts +0 -12
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineEdit.js +0 -21
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineCompletionsView.js +0 -76
- package/vscode/src/vs/workbench/contrib/chat/browser/chatStatusItemService.service.js +0 -6
- package/vscode/src/vs/workbench/services/accounts/common/defaultAccount.service.d.ts +0 -9
|
@@ -0,0 +1,3155 @@
|
|
|
1
|
+
|
|
2
|
+
import { registerCss } from '../../../../../../../css.js';
|
|
3
|
+
import { __decorate, __param } from '../../../../../../../external/tslib/tslib.es6.js';
|
|
4
|
+
import * as extensionActions from './media/extensionActions.css';
|
|
5
|
+
import { localize, localize2 } from '../../../../nls.js';
|
|
6
|
+
import { Action, Separator, SubmenuAction } from '../../../../base/common/actions.js';
|
|
7
|
+
import { Throttler, Delayer, Promises } from '../../../../base/common/async.js';
|
|
8
|
+
import { getDomNodePagePosition } from '../../../../base/browser/dom.js';
|
|
9
|
+
import { Emitter, Event } from '../../../../base/common/event.js';
|
|
10
|
+
import { parse, parseTree, findNodeAtLocation } from '../../../../base/common/json.js';
|
|
11
|
+
import { IContextMenuService } from '../../../../platform/contextview/browser/contextView.service.js';
|
|
12
|
+
import { disposeIfDisposable } from '../../../../base/common/lifecycle.js';
|
|
13
|
+
import { SELECT_INSTALL_VSIX_EXTENSION_COMMAND_ID, ExtensionState, ExtensionEditorTab, AutoUpdateConfigurationKey, INSTALL_ACTIONS_GROUP, UPDATE_ACTIONS_GROUP, THEME_ACTIONS_GROUP, TOGGLE_IGNORE_EXTENSION_ACTION_ID, ExtensionRuntimeActionType } from '../common/extensions.js';
|
|
14
|
+
import { IExtensionsWorkbenchService } from '../common/extensions.service.js';
|
|
15
|
+
import { ExtensionsConfigurationInitialContent } from '../common/extensionsFileTemplate.js';
|
|
16
|
+
import { ExtensionManagementErrorCode, InstallOperation, shouldRequireRepositorySignatureFor } from '../../../../platform/extensionManagement/common/extensionManagement.js';
|
|
17
|
+
import { IExtensionGalleryService, IAllowedExtensionsService } from '../../../../platform/extensionManagement/common/extensionManagement.service.js';
|
|
18
|
+
import { EnablementState } from '../../../services/extensionManagement/common/extensionManagement.js';
|
|
19
|
+
import { IExtensionManagementServerService, IWorkbenchExtensionManagementService, IWorkbenchExtensionEnablementService } from '../../../services/extensionManagement/common/extensionManagement.service.js';
|
|
20
|
+
import { ExtensionRecommendationReason } from '../../../services/extensionRecommendations/common/extensionRecommendations.js';
|
|
21
|
+
import { IExtensionRecommendationsService, IExtensionIgnoredRecommendationsService } from '../../../services/extensionRecommendations/common/extensionRecommendations.service.js';
|
|
22
|
+
import { areSameExtensions, getExtensionId } from '../../../../platform/extensionManagement/common/extensionManagementUtil.js';
|
|
23
|
+
import { TargetPlatform, ExtensionType, isLanguagePackExtension, isApplicationScopedExtension, ExtensionIdentifier, getWorkspaceSupportTypeMessage } from '../../../../platform/extensions/common/extensions.js';
|
|
24
|
+
import { IInstantiationService } from '../../../../platform/instantiation/common/instantiation.js';
|
|
25
|
+
import { IFileService } from '../../../../platform/files/common/files.service.js';
|
|
26
|
+
import { WorkbenchState } from '../../../../platform/workspace/common/workspace.js';
|
|
27
|
+
import { IWorkspaceContextService } from '../../../../platform/workspace/common/workspace.service.js';
|
|
28
|
+
import { IHostService } from '../../../services/host/browser/host.service.js';
|
|
29
|
+
import { toExtensionDescription, toExtension } from '../../../services/extensions/common/extensions.js';
|
|
30
|
+
import { IExtensionService } from '../../../services/extensions/common/extensions.service.js';
|
|
31
|
+
import { URI } from '../../../../base/common/uri.js';
|
|
32
|
+
import { CommandsRegistry } from '../../../../platform/commands/common/commands.js';
|
|
33
|
+
import { ICommandService } from '../../../../platform/commands/common/commands.service.js';
|
|
34
|
+
import { IConfigurationService } from '../../../../platform/configuration/common/configuration.service.js';
|
|
35
|
+
import { registerThemingParticipant } from '../../../../platform/theme/common/themeService.js';
|
|
36
|
+
import { ThemeIcon } from '../../../../base/common/themables.js';
|
|
37
|
+
import { registerColor } from '../../../../platform/theme/common/colorUtils.js';
|
|
38
|
+
import '../../../../platform/theme/common/colors/baseColors.js';
|
|
39
|
+
import '../../../../platform/theme/common/colors/chartsColors.js';
|
|
40
|
+
import { editorErrorForeground, editorWarningForeground, editorInfoForeground } from '../../../../platform/theme/common/colors/editorColors.js';
|
|
41
|
+
import { buttonBackground, buttonForeground, buttonHoverBackground, buttonSeparator } from '../../../../platform/theme/common/colors/inputColors.js';
|
|
42
|
+
import '../../../../platform/theme/common/colors/listColors.js';
|
|
43
|
+
import '../../../../platform/theme/common/colors/menuColors.js';
|
|
44
|
+
import '../../../../platform/theme/common/colors/minimapColors.js';
|
|
45
|
+
import '../../../../platform/theme/common/colors/miscColors.js';
|
|
46
|
+
import '../../../../platform/theme/common/colors/quickpickColors.js';
|
|
47
|
+
import '../../../../platform/theme/common/colors/searchColors.js';
|
|
48
|
+
import { IJSONEditingService } from '../../../services/configuration/common/jsonEditing.service.js';
|
|
49
|
+
import { ITextModelService } from '../../../../editor/common/services/resolverService.service.js';
|
|
50
|
+
import { IContextKeyService } from '../../../../platform/contextkey/common/contextkey.service.js';
|
|
51
|
+
import { MenuId } from '../../../../platform/actions/common/actions.js';
|
|
52
|
+
import { IMenuService } from '../../../../platform/actions/common/actions.service.js';
|
|
53
|
+
import { PICK_WORKSPACE_FOLDER_COMMAND_ID } from '../../../browser/actions/workspaceCommands.js';
|
|
54
|
+
import '../../../../platform/notification/common/notification.js';
|
|
55
|
+
import { INotificationService } from '../../../../platform/notification/common/notification.service.js';
|
|
56
|
+
import { IOpenerService } from '../../../../platform/opener/common/opener.service.js';
|
|
57
|
+
import { IEditorService } from '../../../services/editor/common/editorService.service.js';
|
|
58
|
+
import { IQuickInputService } from '../../../../platform/quickinput/common/quickInput.service.js';
|
|
59
|
+
import { CancellationToken } from '../../../../base/common/cancellation.js';
|
|
60
|
+
import { alert } from '../../../../base/browser/ui/aria/aria.js';
|
|
61
|
+
import { IWorkbenchThemeService } from '../../../services/themes/common/workbenchThemeService.service.js';
|
|
62
|
+
import { ILabelService } from '../../../../platform/label/common/label.service.js';
|
|
63
|
+
import { ITextFileService } from '../../../services/textfile/common/textfiles.service.js';
|
|
64
|
+
import { IProductService } from '../../../../platform/product/common/productService.service.js';
|
|
65
|
+
import { IDialogService } from '../../../../platform/dialogs/common/dialogs.service.js';
|
|
66
|
+
import { ProgressLocation } from '../../../../platform/progress/common/progress.js';
|
|
67
|
+
import { IProgressService } from '../../../../platform/progress/common/progress.service.js';
|
|
68
|
+
import { ActionViewItem } from '../../../../base/browser/ui/actionbar/actionViewItems.js';
|
|
69
|
+
import { EXTENSIONS_CONFIG } from '../../../services/extensionRecommendations/common/workspaceExtensionsConfig.js';
|
|
70
|
+
import { isCancellationError, getErrorMessage } from '../../../../base/common/errors.js';
|
|
71
|
+
import { IUserDataSyncEnablementService } from '../../../../platform/userDataSync/common/userDataSync.service.js';
|
|
72
|
+
import { ILogService } from '../../../../platform/log/common/log.service.js';
|
|
73
|
+
import { manageExtensionIcon, syncIgnoredIcon, syncEnabledIcon, warningIcon, infoIcon, trustIcon, errorIcon } from './extensionsIcons.js';
|
|
74
|
+
import { isWeb, isIOS, language } from '../../../../base/common/platform.js';
|
|
75
|
+
import { IExtensionManifestPropertiesService } from '../../../services/extensions/common/extensionManifestPropertiesService.service.js';
|
|
76
|
+
import { IWorkspaceTrustEnablementService, IWorkspaceTrustManagementService } from '../../../../platform/workspace/common/workspaceTrust.service.js';
|
|
77
|
+
import { isVirtualWorkspace } from '../../../../platform/workspace/common/virtualWorkspace.js';
|
|
78
|
+
import { createCommandUri, MarkdownString, escapeMarkdownSyntaxTokens } from '../../../../base/common/htmlContent.js';
|
|
79
|
+
import { fromNow } from '../../../../base/common/date.js';
|
|
80
|
+
import { IPreferencesService } from '../../../services/preferences/common/preferences.service.js';
|
|
81
|
+
import { getLocale } from '../../../../platform/languagePacks/common/languagePacks.js';
|
|
82
|
+
import { ILocaleService } from '../../../services/localization/common/locale.service.js';
|
|
83
|
+
import { isString } from '../../../../base/common/types.js';
|
|
84
|
+
import { showWindowLogActionId } from '../../../services/log/common/logConstants.js';
|
|
85
|
+
import { ITelemetryService } from '../../../../platform/telemetry/common/telemetry.service.js';
|
|
86
|
+
import { Extensions } from '../../../services/extensionManagement/common/extensionFeatures.js';
|
|
87
|
+
import { IExtensionFeaturesManagementService } from '../../../services/extensionManagement/common/extensionFeatures.service.js';
|
|
88
|
+
import { Registry } from '../../../../platform/registry/common/platform.js';
|
|
89
|
+
import { IUpdateService } from '../../../../platform/update/common/update.service.js';
|
|
90
|
+
import { ActionWithDropdownActionViewItem } from '../../../../base/browser/ui/dropdown/dropdownActionViewItem.js';
|
|
91
|
+
import { IAuthenticationUsageService } from '../../../services/authentication/browser/authenticationUsageService.service.js';
|
|
92
|
+
import { IExtensionGalleryManifestService } from '../../../../platform/extensionManagement/common/extensionGalleryManifest.service.js';
|
|
93
|
+
import { IWorkbenchIssueService } from '../../issue/common/issue.service.js';
|
|
94
|
+
import { IUserDataProfilesService } from '../../../../platform/userDataProfile/common/userDataProfile.service.js';
|
|
95
|
+
import Severity$1 from '../../../../base/common/severity.js';
|
|
96
|
+
|
|
97
|
+
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, InstallSpecificVersionOfExtensionAction_1;
|
|
98
|
+
registerCss(extensionActions);
|
|
99
|
+
let PromptExtensionInstallFailureAction = class PromptExtensionInstallFailureAction extends Action {
|
|
100
|
+
constructor(extension, options, version, installOperation, error, productService, openerService, notificationService, dialogService, commandService, logService, extensionManagementServerService, instantiationService, galleryService, extensionManifestPropertiesService, workbenchIssueService) {
|
|
101
|
+
super('extension.promptExtensionInstallFailure');
|
|
102
|
+
this.extension = extension;
|
|
103
|
+
this.options = options;
|
|
104
|
+
this.version = version;
|
|
105
|
+
this.installOperation = installOperation;
|
|
106
|
+
this.error = error;
|
|
107
|
+
this.productService = productService;
|
|
108
|
+
this.openerService = openerService;
|
|
109
|
+
this.notificationService = notificationService;
|
|
110
|
+
this.dialogService = dialogService;
|
|
111
|
+
this.commandService = commandService;
|
|
112
|
+
this.logService = logService;
|
|
113
|
+
this.extensionManagementServerService = extensionManagementServerService;
|
|
114
|
+
this.instantiationService = instantiationService;
|
|
115
|
+
this.galleryService = galleryService;
|
|
116
|
+
this.extensionManifestPropertiesService = extensionManifestPropertiesService;
|
|
117
|
+
this.workbenchIssueService = workbenchIssueService;
|
|
118
|
+
}
|
|
119
|
+
async run() {
|
|
120
|
+
if (isCancellationError(this.error)) {
|
|
121
|
+
return;
|
|
122
|
+
}
|
|
123
|
+
this.logService.error(this.error);
|
|
124
|
+
if (this.error.name === ExtensionManagementErrorCode.Unsupported) {
|
|
125
|
+
const productName = isWeb ? ( localize(7479, "{0} for the Web", this.productService.nameLong)) : this.productService.nameLong;
|
|
126
|
+
const message = ( localize(
|
|
127
|
+
7480,
|
|
128
|
+
"The '{0}' extension is not available in {1}. Click 'More Information' to learn more.",
|
|
129
|
+
this.extension.displayName || this.extension.identifier.id,
|
|
130
|
+
productName
|
|
131
|
+
));
|
|
132
|
+
const { confirmed } = await this.dialogService.confirm({
|
|
133
|
+
type: Severity$1.Info,
|
|
134
|
+
message,
|
|
135
|
+
primaryButton: ( localize(7481, "&&More Information")),
|
|
136
|
+
cancelButton: ( localize(7482, "Close"))
|
|
137
|
+
});
|
|
138
|
+
if (confirmed) {
|
|
139
|
+
this.openerService.open(isWeb ? ( URI.parse('https://aka.ms/vscode-web-extensions-guide')) : ( URI.parse('https://aka.ms/vscode-remote')));
|
|
140
|
+
}
|
|
141
|
+
return;
|
|
142
|
+
}
|
|
143
|
+
if (ExtensionManagementErrorCode.ReleaseVersionNotFound === this.error.name) {
|
|
144
|
+
await this.dialogService.prompt({
|
|
145
|
+
type: 'error',
|
|
146
|
+
message: getErrorMessage(this.error),
|
|
147
|
+
buttons: [{
|
|
148
|
+
label: ( localize(7483, "Install Pre-Release")),
|
|
149
|
+
run: () => {
|
|
150
|
+
const installAction = this.instantiationService.createInstance(InstallAction, { installPreReleaseVersion: true });
|
|
151
|
+
installAction.extension = this.extension;
|
|
152
|
+
return installAction.run();
|
|
153
|
+
}
|
|
154
|
+
}],
|
|
155
|
+
cancelButton: ( localize(7484, "Cancel"))
|
|
156
|
+
});
|
|
157
|
+
return;
|
|
158
|
+
}
|
|
159
|
+
if ([ExtensionManagementErrorCode.Incompatible, ExtensionManagementErrorCode.IncompatibleApi, ExtensionManagementErrorCode.IncompatibleTargetPlatform, ExtensionManagementErrorCode.Malicious, ExtensionManagementErrorCode.Deprecated].includes(this.error.name)) {
|
|
160
|
+
await this.dialogService.info(getErrorMessage(this.error));
|
|
161
|
+
return;
|
|
162
|
+
}
|
|
163
|
+
if (ExtensionManagementErrorCode.PackageNotSigned === this.error.name) {
|
|
164
|
+
await this.dialogService.prompt({
|
|
165
|
+
type: 'error',
|
|
166
|
+
message: ( localize(
|
|
167
|
+
7485,
|
|
168
|
+
"'{0}' is an extension from an unknown source. Are you sure you want to install?",
|
|
169
|
+
this.extension.displayName
|
|
170
|
+
)),
|
|
171
|
+
detail: getErrorMessage(this.error),
|
|
172
|
+
buttons: [{
|
|
173
|
+
label: ( localize(7486, "Install Anyway")),
|
|
174
|
+
run: () => {
|
|
175
|
+
const installAction = this.instantiationService.createInstance(InstallAction, { ...this.options, donotVerifySignature: true, });
|
|
176
|
+
installAction.extension = this.extension;
|
|
177
|
+
return installAction.run();
|
|
178
|
+
}
|
|
179
|
+
}],
|
|
180
|
+
cancelButton: true
|
|
181
|
+
});
|
|
182
|
+
return;
|
|
183
|
+
}
|
|
184
|
+
if (ExtensionManagementErrorCode.SignatureVerificationFailed === this.error.name) {
|
|
185
|
+
await this.dialogService.prompt({
|
|
186
|
+
type: 'error',
|
|
187
|
+
message: ( localize(
|
|
188
|
+
7487,
|
|
189
|
+
"Cannot install '{0}' extension because {1} cannot verify the extension signature",
|
|
190
|
+
this.extension.displayName,
|
|
191
|
+
this.productService.nameLong
|
|
192
|
+
)),
|
|
193
|
+
detail: getErrorMessage(this.error),
|
|
194
|
+
buttons: [{
|
|
195
|
+
label: ( localize(7488, "Learn More")),
|
|
196
|
+
run: () => this.openerService.open('https://code.visualstudio.com/docs/editor/extension-marketplace#_the-extension-signature-cannot-be-verified-by-vs-code')
|
|
197
|
+
}, {
|
|
198
|
+
label: ( localize(7489, "Install Anyway (Don't Verify Signature)")),
|
|
199
|
+
run: () => {
|
|
200
|
+
const installAction = this.instantiationService.createInstance(InstallAction, { ...this.options, donotVerifySignature: true, });
|
|
201
|
+
installAction.extension = this.extension;
|
|
202
|
+
return installAction.run();
|
|
203
|
+
}
|
|
204
|
+
}],
|
|
205
|
+
cancelButton: true
|
|
206
|
+
});
|
|
207
|
+
return;
|
|
208
|
+
}
|
|
209
|
+
if (ExtensionManagementErrorCode.SignatureVerificationInternal === this.error.name) {
|
|
210
|
+
await this.dialogService.prompt({
|
|
211
|
+
type: 'error',
|
|
212
|
+
message: ( localize(
|
|
213
|
+
7487,
|
|
214
|
+
"Cannot install '{0}' extension because {1} cannot verify the extension signature",
|
|
215
|
+
this.extension.displayName,
|
|
216
|
+
this.productService.nameLong
|
|
217
|
+
)),
|
|
218
|
+
detail: getErrorMessage(this.error),
|
|
219
|
+
buttons: [{
|
|
220
|
+
label: ( localize(7488, "Learn More")),
|
|
221
|
+
run: () => this.openerService.open('https://code.visualstudio.com/docs/editor/extension-marketplace#_the-extension-signature-cannot-be-verified-by-vs-code')
|
|
222
|
+
}, {
|
|
223
|
+
label: ( localize(7490, "Report Issue")),
|
|
224
|
+
run: () => this.workbenchIssueService.openReporter({
|
|
225
|
+
issueTitle: ( localize(
|
|
226
|
+
7491,
|
|
227
|
+
"Extension Signature Verification Failed: {0}",
|
|
228
|
+
this.extension.displayName
|
|
229
|
+
)),
|
|
230
|
+
issueBody: ( localize(
|
|
231
|
+
7492,
|
|
232
|
+
"Please include following log `F1 > Open View... > Shared` below.\n\n"
|
|
233
|
+
))
|
|
234
|
+
})
|
|
235
|
+
}, {
|
|
236
|
+
label: ( localize(7489, "Install Anyway (Don't Verify Signature)")),
|
|
237
|
+
run: () => {
|
|
238
|
+
const installAction = this.instantiationService.createInstance(InstallAction, { ...this.options, donotVerifySignature: true, });
|
|
239
|
+
installAction.extension = this.extension;
|
|
240
|
+
return installAction.run();
|
|
241
|
+
}
|
|
242
|
+
}],
|
|
243
|
+
cancelButton: true
|
|
244
|
+
});
|
|
245
|
+
return;
|
|
246
|
+
}
|
|
247
|
+
const operationMessage = this.installOperation === InstallOperation.Update ? ( localize(
|
|
248
|
+
7493,
|
|
249
|
+
"Error while updating '{0}' extension.",
|
|
250
|
+
this.extension.displayName || this.extension.identifier.id
|
|
251
|
+
))
|
|
252
|
+
: ( localize(
|
|
253
|
+
7494,
|
|
254
|
+
"Error while installing '{0}' extension.",
|
|
255
|
+
this.extension.displayName || this.extension.identifier.id
|
|
256
|
+
));
|
|
257
|
+
let additionalMessage;
|
|
258
|
+
const promptChoices = [];
|
|
259
|
+
const downloadUrl = await this.getDownloadUrl();
|
|
260
|
+
if (downloadUrl) {
|
|
261
|
+
additionalMessage = ( localize(
|
|
262
|
+
7495,
|
|
263
|
+
"Please check the [log]({0}) for more details.",
|
|
264
|
+
(createCommandUri(showWindowLogActionId).toString())
|
|
265
|
+
));
|
|
266
|
+
promptChoices.push({
|
|
267
|
+
label: ( localize(7496, "Try Downloading Manually...")),
|
|
268
|
+
run: () => this.openerService.open(downloadUrl).then(() => {
|
|
269
|
+
this.notificationService.prompt(Severity$1.Info, ( localize(
|
|
270
|
+
7497,
|
|
271
|
+
'Once downloaded, please manually install the downloaded VSIX of \'{0}\'.',
|
|
272
|
+
this.extension.identifier.id
|
|
273
|
+
)), [{
|
|
274
|
+
label: ( localize(7498, "Install from VSIX...")),
|
|
275
|
+
run: () => this.commandService.executeCommand(SELECT_INSTALL_VSIX_EXTENSION_COMMAND_ID)
|
|
276
|
+
}]);
|
|
277
|
+
})
|
|
278
|
+
});
|
|
279
|
+
}
|
|
280
|
+
const message = `${operationMessage}${additionalMessage ? ` ${additionalMessage}` : ''}`;
|
|
281
|
+
this.notificationService.prompt(Severity$1.Error, message, promptChoices);
|
|
282
|
+
}
|
|
283
|
+
async getDownloadUrl() {
|
|
284
|
+
if (isIOS) {
|
|
285
|
+
return undefined;
|
|
286
|
+
}
|
|
287
|
+
if (!this.extension.gallery) {
|
|
288
|
+
return undefined;
|
|
289
|
+
}
|
|
290
|
+
if (!this.extensionManagementServerService.localExtensionManagementServer && !this.extensionManagementServerService.remoteExtensionManagementServer) {
|
|
291
|
+
return undefined;
|
|
292
|
+
}
|
|
293
|
+
let targetPlatform = this.extension.gallery.properties.targetPlatform;
|
|
294
|
+
if (targetPlatform !== TargetPlatform.UNIVERSAL && targetPlatform !== TargetPlatform.UNDEFINED && this.extensionManagementServerService.remoteExtensionManagementServer) {
|
|
295
|
+
try {
|
|
296
|
+
const manifest = await this.galleryService.getManifest(this.extension.gallery, CancellationToken.None);
|
|
297
|
+
if (manifest && this.extensionManifestPropertiesService.prefersExecuteOnWorkspace(manifest)) {
|
|
298
|
+
targetPlatform = await this.extensionManagementServerService.remoteExtensionManagementServer.extensionManagementService.getTargetPlatform();
|
|
299
|
+
}
|
|
300
|
+
}
|
|
301
|
+
catch (error) {
|
|
302
|
+
this.logService.error(error);
|
|
303
|
+
return undefined;
|
|
304
|
+
}
|
|
305
|
+
}
|
|
306
|
+
if (targetPlatform === TargetPlatform.UNKNOWN) {
|
|
307
|
+
return undefined;
|
|
308
|
+
}
|
|
309
|
+
const [extension] = await this.galleryService.getExtensions([{
|
|
310
|
+
...this.extension.identifier,
|
|
311
|
+
version: this.version
|
|
312
|
+
}], {
|
|
313
|
+
targetPlatform
|
|
314
|
+
}, CancellationToken.None);
|
|
315
|
+
if (!extension) {
|
|
316
|
+
return undefined;
|
|
317
|
+
}
|
|
318
|
+
return ( URI.parse(extension.assets.download.uri));
|
|
319
|
+
}
|
|
320
|
+
};
|
|
321
|
+
PromptExtensionInstallFailureAction = ( __decorate([
|
|
322
|
+
( __param(5, IProductService)),
|
|
323
|
+
( __param(6, IOpenerService)),
|
|
324
|
+
( __param(7, INotificationService)),
|
|
325
|
+
( __param(8, IDialogService)),
|
|
326
|
+
( __param(9, ICommandService)),
|
|
327
|
+
( __param(10, ILogService)),
|
|
328
|
+
( __param(11, IExtensionManagementServerService)),
|
|
329
|
+
( __param(12, IInstantiationService)),
|
|
330
|
+
( __param(13, IExtensionGalleryService)),
|
|
331
|
+
( __param(14, IExtensionManifestPropertiesService)),
|
|
332
|
+
( __param(15, IWorkbenchIssueService))
|
|
333
|
+
], PromptExtensionInstallFailureAction));
|
|
334
|
+
class ExtensionAction extends Action {
|
|
335
|
+
constructor() {
|
|
336
|
+
super(...arguments);
|
|
337
|
+
this._onDidChange = this._register(( new Emitter()));
|
|
338
|
+
this._extension = null;
|
|
339
|
+
this._hidden = false;
|
|
340
|
+
this.hideOnDisabled = true;
|
|
341
|
+
}
|
|
342
|
+
get onDidChange() { return this._onDidChange.event; }
|
|
343
|
+
static { this.EXTENSION_ACTION_CLASS = 'extension-action'; }
|
|
344
|
+
static { this.TEXT_ACTION_CLASS = `${ExtensionAction.EXTENSION_ACTION_CLASS} text`; }
|
|
345
|
+
static { this.LABEL_ACTION_CLASS = `${ExtensionAction.EXTENSION_ACTION_CLASS} label`; }
|
|
346
|
+
static { this.PROMINENT_LABEL_ACTION_CLASS = `${ExtensionAction.LABEL_ACTION_CLASS} prominent`; }
|
|
347
|
+
static { this.ICON_ACTION_CLASS = `${ExtensionAction.EXTENSION_ACTION_CLASS} icon`; }
|
|
348
|
+
get extension() { return this._extension; }
|
|
349
|
+
set extension(extension) { this._extension = extension; this.update(); }
|
|
350
|
+
get hidden() { return this._hidden; }
|
|
351
|
+
set hidden(hidden) {
|
|
352
|
+
if (this._hidden !== hidden) {
|
|
353
|
+
this._hidden = hidden;
|
|
354
|
+
this._onDidChange.fire({ hidden });
|
|
355
|
+
}
|
|
356
|
+
}
|
|
357
|
+
_setEnabled(value) {
|
|
358
|
+
super._setEnabled(value);
|
|
359
|
+
if (this.hideOnDisabled) {
|
|
360
|
+
this.hidden = !value;
|
|
361
|
+
}
|
|
362
|
+
}
|
|
363
|
+
}
|
|
364
|
+
class ButtonWithDropDownExtensionAction extends ExtensionAction {
|
|
365
|
+
get menuActions() { return [...this._menuActions]; }
|
|
366
|
+
get extension() {
|
|
367
|
+
return super.extension;
|
|
368
|
+
}
|
|
369
|
+
set extension(extension) {
|
|
370
|
+
this.extensionActions.forEach(a => a.extension = extension);
|
|
371
|
+
super.extension = extension;
|
|
372
|
+
}
|
|
373
|
+
constructor(id, clazz, actionsGroups) {
|
|
374
|
+
clazz = `${clazz} action-dropdown`;
|
|
375
|
+
super(id, undefined, clazz);
|
|
376
|
+
this.actionsGroups = actionsGroups;
|
|
377
|
+
this.menuActionClassNames = [];
|
|
378
|
+
this._menuActions = [];
|
|
379
|
+
this.menuActionClassNames = clazz.split(' ');
|
|
380
|
+
this.hideOnDisabled = false;
|
|
381
|
+
this.extensionActions = actionsGroups.flat();
|
|
382
|
+
this.update();
|
|
383
|
+
this._register(Event.any(...( this.extensionActions.map(a => a.onDidChange)))(() => this.update(true)));
|
|
384
|
+
this.extensionActions.forEach(a => this._register(a));
|
|
385
|
+
}
|
|
386
|
+
update(donotUpdateActions) {
|
|
387
|
+
if (!donotUpdateActions) {
|
|
388
|
+
this.extensionActions.forEach(a => a.update());
|
|
389
|
+
}
|
|
390
|
+
const actionsGroups = ( this.actionsGroups.map(actionsGroup => actionsGroup.filter(a => !a.hidden)));
|
|
391
|
+
let actions = [];
|
|
392
|
+
for (const visibleActions of actionsGroups) {
|
|
393
|
+
if (visibleActions.length) {
|
|
394
|
+
actions = [...actions, ...visibleActions, ( new Separator())];
|
|
395
|
+
}
|
|
396
|
+
}
|
|
397
|
+
actions = actions.length ? actions.slice(0, actions.length - 1) : actions;
|
|
398
|
+
this.primaryAction = actions[0];
|
|
399
|
+
this._menuActions = actions.length > 1 ? actions : [];
|
|
400
|
+
this._onDidChange.fire({ menuActions: this._menuActions });
|
|
401
|
+
if (this.primaryAction) {
|
|
402
|
+
this.hidden = false;
|
|
403
|
+
this.enabled = this.primaryAction.enabled;
|
|
404
|
+
this.label = this.getLabel(this.primaryAction);
|
|
405
|
+
this.tooltip = this.primaryAction.tooltip;
|
|
406
|
+
}
|
|
407
|
+
else {
|
|
408
|
+
this.hidden = true;
|
|
409
|
+
this.enabled = false;
|
|
410
|
+
}
|
|
411
|
+
}
|
|
412
|
+
async run() {
|
|
413
|
+
if (this.enabled) {
|
|
414
|
+
await this.primaryAction?.run();
|
|
415
|
+
}
|
|
416
|
+
}
|
|
417
|
+
getLabel(action) {
|
|
418
|
+
return action.label;
|
|
419
|
+
}
|
|
420
|
+
}
|
|
421
|
+
class ButtonWithDropdownExtensionActionViewItem extends ActionWithDropdownActionViewItem {
|
|
422
|
+
constructor(action, options, contextMenuProvider) {
|
|
423
|
+
super(null, action, options, contextMenuProvider);
|
|
424
|
+
this._register(action.onDidChange(e => {
|
|
425
|
+
if (e.hidden !== undefined || e.menuActions !== undefined) {
|
|
426
|
+
this.updateClass();
|
|
427
|
+
}
|
|
428
|
+
}));
|
|
429
|
+
}
|
|
430
|
+
render(container) {
|
|
431
|
+
super.render(container);
|
|
432
|
+
this.updateClass();
|
|
433
|
+
}
|
|
434
|
+
updateClass() {
|
|
435
|
+
super.updateClass();
|
|
436
|
+
if (this.element && this.dropdownMenuActionViewItem?.element) {
|
|
437
|
+
this.element.classList.toggle('hide', this._action.hidden);
|
|
438
|
+
const isMenuEmpty = this._action.menuActions.length === 0;
|
|
439
|
+
this.element.classList.toggle('empty', isMenuEmpty);
|
|
440
|
+
this.dropdownMenuActionViewItem.element.classList.toggle('hide', isMenuEmpty);
|
|
441
|
+
}
|
|
442
|
+
}
|
|
443
|
+
}
|
|
444
|
+
let InstallAction = class InstallAction extends ExtensionAction {
|
|
445
|
+
static { InstallAction_1 = this; }
|
|
446
|
+
static { this.CLASS = `${this.LABEL_ACTION_CLASS} prominent install`; }
|
|
447
|
+
static { this.HIDE = `${this.CLASS} hide`; }
|
|
448
|
+
set manifest(manifest) {
|
|
449
|
+
this._manifest = manifest;
|
|
450
|
+
this.updateLabel();
|
|
451
|
+
}
|
|
452
|
+
constructor(options, extensionsWorkbenchService, instantiationService, runtimeExtensionService, workbenchThemeService, labelService, dialogService, preferencesService, telemetryService, contextService, allowedExtensionsService, extensionGalleryManifestService) {
|
|
453
|
+
super('extensions.install', ( localize(7499, "Install")), InstallAction_1.CLASS, false);
|
|
454
|
+
this.extensionsWorkbenchService = extensionsWorkbenchService;
|
|
455
|
+
this.instantiationService = instantiationService;
|
|
456
|
+
this.runtimeExtensionService = runtimeExtensionService;
|
|
457
|
+
this.workbenchThemeService = workbenchThemeService;
|
|
458
|
+
this.labelService = labelService;
|
|
459
|
+
this.dialogService = dialogService;
|
|
460
|
+
this.preferencesService = preferencesService;
|
|
461
|
+
this.telemetryService = telemetryService;
|
|
462
|
+
this.contextService = contextService;
|
|
463
|
+
this.allowedExtensionsService = allowedExtensionsService;
|
|
464
|
+
this.extensionGalleryManifestService = extensionGalleryManifestService;
|
|
465
|
+
this._manifest = null;
|
|
466
|
+
this.updateThrottler = ( new Throttler());
|
|
467
|
+
this.hideOnDisabled = false;
|
|
468
|
+
this.options = { isMachineScoped: false, ...options };
|
|
469
|
+
this.update();
|
|
470
|
+
this._register(allowedExtensionsService.onDidChangeAllowedExtensionsConfigValue(() => this.update()));
|
|
471
|
+
this._register(this.labelService.onDidChangeFormatters(() => this.updateLabel(), this));
|
|
472
|
+
}
|
|
473
|
+
update() {
|
|
474
|
+
this.updateThrottler.queue(() => this.computeAndUpdateEnablement());
|
|
475
|
+
}
|
|
476
|
+
async computeAndUpdateEnablement() {
|
|
477
|
+
this.enabled = false;
|
|
478
|
+
this.class = InstallAction_1.HIDE;
|
|
479
|
+
this.hidden = true;
|
|
480
|
+
if (!this.extension) {
|
|
481
|
+
return;
|
|
482
|
+
}
|
|
483
|
+
if (this.extension.isBuiltin) {
|
|
484
|
+
return;
|
|
485
|
+
}
|
|
486
|
+
if (this.extensionsWorkbenchService.canSetLanguage(this.extension)) {
|
|
487
|
+
return;
|
|
488
|
+
}
|
|
489
|
+
if (this.extension.state !== ExtensionState.Uninstalled) {
|
|
490
|
+
return;
|
|
491
|
+
}
|
|
492
|
+
if (this.options.installPreReleaseVersion && (!this.extension.hasPreReleaseVersion || this.allowedExtensionsService.isAllowed({ id: this.extension.identifier.id, publisherDisplayName: this.extension.publisherDisplayName, prerelease: true }) !== true)) {
|
|
493
|
+
return;
|
|
494
|
+
}
|
|
495
|
+
if (!this.options.installPreReleaseVersion && !this.extension.hasReleaseVersion) {
|
|
496
|
+
return;
|
|
497
|
+
}
|
|
498
|
+
this.hidden = false;
|
|
499
|
+
this.class = InstallAction_1.CLASS;
|
|
500
|
+
if ((await this.extensionsWorkbenchService.canInstall(this.extension)) === true) {
|
|
501
|
+
this.enabled = true;
|
|
502
|
+
this.updateLabel();
|
|
503
|
+
}
|
|
504
|
+
}
|
|
505
|
+
async run() {
|
|
506
|
+
if (!this.extension) {
|
|
507
|
+
return;
|
|
508
|
+
}
|
|
509
|
+
if (this.extension.gallery && !this.extension.gallery.isSigned && shouldRequireRepositorySignatureFor(this.extension.private, await this.extensionGalleryManifestService.getExtensionGalleryManifest())) {
|
|
510
|
+
const { result } = await this.dialogService.prompt({
|
|
511
|
+
type: Severity$1.Warning,
|
|
512
|
+
message: ( localize(
|
|
513
|
+
7485,
|
|
514
|
+
"'{0}' is an extension from an unknown source. Are you sure you want to install?",
|
|
515
|
+
this.extension.displayName
|
|
516
|
+
)),
|
|
517
|
+
detail: ( localize(7500, "Extension is not signed.")),
|
|
518
|
+
buttons: [
|
|
519
|
+
{
|
|
520
|
+
label: ( localize(7486, "Install Anyway")),
|
|
521
|
+
run: () => {
|
|
522
|
+
this.options.donotVerifySignature = true;
|
|
523
|
+
return true;
|
|
524
|
+
}
|
|
525
|
+
}
|
|
526
|
+
],
|
|
527
|
+
cancelButton: {
|
|
528
|
+
run: () => false
|
|
529
|
+
}
|
|
530
|
+
});
|
|
531
|
+
if (!result) {
|
|
532
|
+
return;
|
|
533
|
+
}
|
|
534
|
+
}
|
|
535
|
+
if (this.extension.deprecationInfo) {
|
|
536
|
+
let detail = ( localize(7501, "This extension is deprecated as it is no longer being maintained."));
|
|
537
|
+
let DeprecationChoice;
|
|
538
|
+
(function (DeprecationChoice) {
|
|
539
|
+
DeprecationChoice[DeprecationChoice["InstallAnyway"] = 0] = "InstallAnyway";
|
|
540
|
+
DeprecationChoice[DeprecationChoice["ShowAlternateExtension"] = 1] = "ShowAlternateExtension";
|
|
541
|
+
DeprecationChoice[DeprecationChoice["ConfigureSettings"] = 2] = "ConfigureSettings";
|
|
542
|
+
DeprecationChoice[DeprecationChoice["Cancel"] = 3] = "Cancel";
|
|
543
|
+
})(DeprecationChoice || (DeprecationChoice = {}));
|
|
544
|
+
const buttons = [
|
|
545
|
+
{
|
|
546
|
+
label: ( localize(7486, "Install Anyway")),
|
|
547
|
+
run: () => DeprecationChoice.InstallAnyway
|
|
548
|
+
}
|
|
549
|
+
];
|
|
550
|
+
if (this.extension.deprecationInfo.extension) {
|
|
551
|
+
detail = ( localize(
|
|
552
|
+
7502,
|
|
553
|
+
"This extension is deprecated. Use the {0} extension instead.",
|
|
554
|
+
this.extension.deprecationInfo.extension.displayName
|
|
555
|
+
));
|
|
556
|
+
const alternateExtension = this.extension.deprecationInfo.extension;
|
|
557
|
+
buttons.push({
|
|
558
|
+
label: ( localize(7503, "&&Open {0}", this.extension.deprecationInfo.extension.displayName)),
|
|
559
|
+
run: async () => {
|
|
560
|
+
const [extension] = await this.extensionsWorkbenchService.getExtensions([{ id: alternateExtension.id, preRelease: alternateExtension.preRelease }], CancellationToken.None);
|
|
561
|
+
await this.extensionsWorkbenchService.open(extension);
|
|
562
|
+
return DeprecationChoice.ShowAlternateExtension;
|
|
563
|
+
}
|
|
564
|
+
});
|
|
565
|
+
}
|
|
566
|
+
else if (this.extension.deprecationInfo.settings) {
|
|
567
|
+
detail = ( localize(
|
|
568
|
+
7504,
|
|
569
|
+
"This extension is deprecated as this functionality is now built-in to VS Code."
|
|
570
|
+
));
|
|
571
|
+
const settings = this.extension.deprecationInfo.settings;
|
|
572
|
+
buttons.push({
|
|
573
|
+
label: ( localize(7505, "&&Configure Settings")),
|
|
574
|
+
run: async () => {
|
|
575
|
+
await this.preferencesService.openSettings({ query: ( settings.map(setting => `@id:${setting}`)).join(' ') });
|
|
576
|
+
return DeprecationChoice.ConfigureSettings;
|
|
577
|
+
}
|
|
578
|
+
});
|
|
579
|
+
}
|
|
580
|
+
else if (this.extension.deprecationInfo.additionalInfo) {
|
|
581
|
+
detail = ( new MarkdownString(`${detail} ${this.extension.deprecationInfo.additionalInfo}`));
|
|
582
|
+
}
|
|
583
|
+
const { result } = await this.dialogService.prompt({
|
|
584
|
+
type: Severity$1.Warning,
|
|
585
|
+
message: ( localize(
|
|
586
|
+
7506,
|
|
587
|
+
"Are you sure you want to install '{0}'?",
|
|
588
|
+
this.extension.displayName
|
|
589
|
+
)),
|
|
590
|
+
detail: isString(detail) ? detail : undefined,
|
|
591
|
+
custom: isString(detail) ? undefined : {
|
|
592
|
+
markdownDetails: [{
|
|
593
|
+
markdown: detail
|
|
594
|
+
}]
|
|
595
|
+
},
|
|
596
|
+
buttons,
|
|
597
|
+
cancelButton: {
|
|
598
|
+
run: () => DeprecationChoice.Cancel
|
|
599
|
+
}
|
|
600
|
+
});
|
|
601
|
+
if (result !== DeprecationChoice.InstallAnyway) {
|
|
602
|
+
return;
|
|
603
|
+
}
|
|
604
|
+
}
|
|
605
|
+
this.extensionsWorkbenchService.open(this.extension, { showPreReleaseVersion: this.options.installPreReleaseVersion });
|
|
606
|
+
alert(( localize(
|
|
607
|
+
7507,
|
|
608
|
+
"Installing extension {0} started. An editor is now open with more details on this extension",
|
|
609
|
+
this.extension.displayName
|
|
610
|
+
)));
|
|
611
|
+
this.telemetryService.publicLog('extensions:action:install', { ...this.extension.telemetryData, actionId: this.id });
|
|
612
|
+
const extension = await this.install(this.extension);
|
|
613
|
+
if (extension?.local) {
|
|
614
|
+
alert(( localize(7508, "Installing extension {0} is completed.", this.extension.displayName)));
|
|
615
|
+
const runningExtension = await this.getRunningExtension(extension.local);
|
|
616
|
+
if (runningExtension && !(runningExtension.activationEvents && ( runningExtension.activationEvents.some(activationEent => activationEent.startsWith('onLanguage'))))) {
|
|
617
|
+
const action = await this.getThemeAction(extension);
|
|
618
|
+
if (action) {
|
|
619
|
+
action.extension = extension;
|
|
620
|
+
try {
|
|
621
|
+
return action.run({ showCurrentTheme: true, ignoreFocusLost: true });
|
|
622
|
+
}
|
|
623
|
+
finally {
|
|
624
|
+
action.dispose();
|
|
625
|
+
}
|
|
626
|
+
}
|
|
627
|
+
}
|
|
628
|
+
}
|
|
629
|
+
}
|
|
630
|
+
async getThemeAction(extension) {
|
|
631
|
+
const colorThemes = await this.workbenchThemeService.getColorThemes();
|
|
632
|
+
if (( colorThemes.some(theme => isThemeFromExtension(theme, extension)))) {
|
|
633
|
+
return this.instantiationService.createInstance(SetColorThemeAction);
|
|
634
|
+
}
|
|
635
|
+
const fileIconThemes = await this.workbenchThemeService.getFileIconThemes();
|
|
636
|
+
if (( fileIconThemes.some(theme => isThemeFromExtension(theme, extension)))) {
|
|
637
|
+
return this.instantiationService.createInstance(SetFileIconThemeAction);
|
|
638
|
+
}
|
|
639
|
+
const productIconThemes = await this.workbenchThemeService.getProductIconThemes();
|
|
640
|
+
if (( productIconThemes.some(theme => isThemeFromExtension(theme, extension)))) {
|
|
641
|
+
return this.instantiationService.createInstance(SetProductIconThemeAction);
|
|
642
|
+
}
|
|
643
|
+
return undefined;
|
|
644
|
+
}
|
|
645
|
+
async install(extension) {
|
|
646
|
+
try {
|
|
647
|
+
return await this.extensionsWorkbenchService.install(extension, this.options);
|
|
648
|
+
}
|
|
649
|
+
catch (error) {
|
|
650
|
+
await this.instantiationService.createInstance(PromptExtensionInstallFailureAction, extension, this.options, extension.latestVersion, InstallOperation.Install, error).run();
|
|
651
|
+
return undefined;
|
|
652
|
+
}
|
|
653
|
+
}
|
|
654
|
+
async getRunningExtension(extension) {
|
|
655
|
+
const runningExtension = await this.runtimeExtensionService.getExtension(extension.identifier.id);
|
|
656
|
+
if (runningExtension) {
|
|
657
|
+
return runningExtension;
|
|
658
|
+
}
|
|
659
|
+
if (this.runtimeExtensionService.canAddExtension(toExtensionDescription(extension))) {
|
|
660
|
+
return ( new Promise((c, e) => {
|
|
661
|
+
const disposable = this.runtimeExtensionService.onDidChangeExtensions(async () => {
|
|
662
|
+
const runningExtension = await this.runtimeExtensionService.getExtension(extension.identifier.id);
|
|
663
|
+
if (runningExtension) {
|
|
664
|
+
disposable.dispose();
|
|
665
|
+
c(runningExtension);
|
|
666
|
+
}
|
|
667
|
+
});
|
|
668
|
+
}));
|
|
669
|
+
}
|
|
670
|
+
return null;
|
|
671
|
+
}
|
|
672
|
+
updateLabel() {
|
|
673
|
+
this.label = this.getLabel();
|
|
674
|
+
}
|
|
675
|
+
getLabel(primary) {
|
|
676
|
+
if (this.extension?.isWorkspaceScoped && this.extension.resourceExtension && this.contextService.isInsideWorkspace(this.extension.resourceExtension.location)) {
|
|
677
|
+
return localize(7509, "Install Workspace Extension");
|
|
678
|
+
}
|
|
679
|
+
if (this.options.installPreReleaseVersion && this.extension?.hasPreReleaseVersion) {
|
|
680
|
+
return primary ? ( localize(7510, "Install Pre-Release")) : ( localize(7511, "Install Pre-Release Version"));
|
|
681
|
+
}
|
|
682
|
+
if (this.extension?.hasPreReleaseVersion) {
|
|
683
|
+
return primary ? ( localize(7499, "Install")) : ( localize(7512, "Install Release Version"));
|
|
684
|
+
}
|
|
685
|
+
return localize(7499, "Install");
|
|
686
|
+
}
|
|
687
|
+
};
|
|
688
|
+
InstallAction = InstallAction_1 = ( __decorate([
|
|
689
|
+
( __param(1, IExtensionsWorkbenchService)),
|
|
690
|
+
( __param(2, IInstantiationService)),
|
|
691
|
+
( __param(3, IExtensionService)),
|
|
692
|
+
( __param(4, IWorkbenchThemeService)),
|
|
693
|
+
( __param(5, ILabelService)),
|
|
694
|
+
( __param(6, IDialogService)),
|
|
695
|
+
( __param(7, IPreferencesService)),
|
|
696
|
+
( __param(8, ITelemetryService)),
|
|
697
|
+
( __param(9, IWorkspaceContextService)),
|
|
698
|
+
( __param(10, IAllowedExtensionsService)),
|
|
699
|
+
( __param(11, IExtensionGalleryManifestService))
|
|
700
|
+
], InstallAction));
|
|
701
|
+
let InstallDropdownAction = class InstallDropdownAction extends ButtonWithDropDownExtensionAction {
|
|
702
|
+
set manifest(manifest) {
|
|
703
|
+
this.extensionActions.forEach(a => a.manifest = manifest);
|
|
704
|
+
this.update();
|
|
705
|
+
}
|
|
706
|
+
constructor(instantiationService, extensionManagementService) {
|
|
707
|
+
super(`extensions.installActions`, InstallAction.CLASS, [
|
|
708
|
+
[
|
|
709
|
+
instantiationService.createInstance(InstallAction, { installPreReleaseVersion: extensionManagementService.preferPreReleases }),
|
|
710
|
+
instantiationService.createInstance(InstallAction, { installPreReleaseVersion: !extensionManagementService.preferPreReleases }),
|
|
711
|
+
]
|
|
712
|
+
]);
|
|
713
|
+
}
|
|
714
|
+
getLabel(action) {
|
|
715
|
+
return action.getLabel(true);
|
|
716
|
+
}
|
|
717
|
+
};
|
|
718
|
+
InstallDropdownAction = ( __decorate([
|
|
719
|
+
( __param(0, IInstantiationService)),
|
|
720
|
+
( __param(1, IWorkbenchExtensionManagementService))
|
|
721
|
+
], InstallDropdownAction));
|
|
722
|
+
class InstallingLabelAction extends ExtensionAction {
|
|
723
|
+
static { this.LABEL = ( localize(7513, "Installing")); }
|
|
724
|
+
static { this.CLASS = `${ExtensionAction.LABEL_ACTION_CLASS} install installing`; }
|
|
725
|
+
constructor() {
|
|
726
|
+
super('extension.installing', InstallingLabelAction.LABEL, InstallingLabelAction.CLASS, false);
|
|
727
|
+
}
|
|
728
|
+
update() {
|
|
729
|
+
this.class = `${InstallingLabelAction.CLASS}${this.extension && this.extension.state === ExtensionState.Installing ? '' : ' hide'}`;
|
|
730
|
+
}
|
|
731
|
+
}
|
|
732
|
+
let InstallInOtherServerAction = class InstallInOtherServerAction extends ExtensionAction {
|
|
733
|
+
static { InstallInOtherServerAction_1 = this; }
|
|
734
|
+
static { this.INSTALL_LABEL = ( localize(7499, "Install")); }
|
|
735
|
+
static { this.INSTALLING_LABEL = ( localize(7513, "Installing")); }
|
|
736
|
+
static { this.Class = `${ExtensionAction.LABEL_ACTION_CLASS} prominent install-other-server`; }
|
|
737
|
+
static { this.InstallingClass = `${ExtensionAction.LABEL_ACTION_CLASS} install-other-server installing`; }
|
|
738
|
+
constructor(id, server, canInstallAnyWhere, extensionsWorkbenchService, extensionManagementServerService, extensionManifestPropertiesService) {
|
|
739
|
+
super(id, InstallInOtherServerAction_1.INSTALL_LABEL, InstallInOtherServerAction_1.Class, false);
|
|
740
|
+
this.server = server;
|
|
741
|
+
this.canInstallAnyWhere = canInstallAnyWhere;
|
|
742
|
+
this.extensionsWorkbenchService = extensionsWorkbenchService;
|
|
743
|
+
this.extensionManagementServerService = extensionManagementServerService;
|
|
744
|
+
this.extensionManifestPropertiesService = extensionManifestPropertiesService;
|
|
745
|
+
this.updateWhenCounterExtensionChanges = true;
|
|
746
|
+
this.update();
|
|
747
|
+
}
|
|
748
|
+
update() {
|
|
749
|
+
this.enabled = false;
|
|
750
|
+
this.class = InstallInOtherServerAction_1.Class;
|
|
751
|
+
if (this.canInstall()) {
|
|
752
|
+
const extensionInOtherServer = this.extensionsWorkbenchService.installed.filter(e => areSameExtensions(e.identifier, this.extension.identifier) && e.server === this.server)[0];
|
|
753
|
+
if (extensionInOtherServer) {
|
|
754
|
+
if (extensionInOtherServer.state === ExtensionState.Installing && !extensionInOtherServer.local) {
|
|
755
|
+
this.enabled = true;
|
|
756
|
+
this.label = InstallInOtherServerAction_1.INSTALLING_LABEL;
|
|
757
|
+
this.class = InstallInOtherServerAction_1.InstallingClass;
|
|
758
|
+
}
|
|
759
|
+
}
|
|
760
|
+
else {
|
|
761
|
+
this.enabled = true;
|
|
762
|
+
this.label = this.getInstallLabel();
|
|
763
|
+
}
|
|
764
|
+
}
|
|
765
|
+
}
|
|
766
|
+
canInstall() {
|
|
767
|
+
if (!this.extension
|
|
768
|
+
|| !this.server
|
|
769
|
+
|| !this.extension.local
|
|
770
|
+
|| this.extension.state !== ExtensionState.Installed
|
|
771
|
+
|| this.extension.type !== ExtensionType.User
|
|
772
|
+
|| this.extension.enablementState === EnablementState.DisabledByEnvironment || this.extension.enablementState === EnablementState.DisabledByTrustRequirement || this.extension.enablementState === EnablementState.DisabledByVirtualWorkspace) {
|
|
773
|
+
return false;
|
|
774
|
+
}
|
|
775
|
+
if (isLanguagePackExtension(this.extension.local.manifest)) {
|
|
776
|
+
return true;
|
|
777
|
+
}
|
|
778
|
+
if (this.server === this.extensionManagementServerService.localExtensionManagementServer && this.extensionManifestPropertiesService.prefersExecuteOnUI(this.extension.local.manifest)) {
|
|
779
|
+
return true;
|
|
780
|
+
}
|
|
781
|
+
if (this.server === this.extensionManagementServerService.remoteExtensionManagementServer && this.extensionManifestPropertiesService.prefersExecuteOnWorkspace(this.extension.local.manifest)) {
|
|
782
|
+
return true;
|
|
783
|
+
}
|
|
784
|
+
if (this.server === this.extensionManagementServerService.webExtensionManagementServer && this.extensionManifestPropertiesService.prefersExecuteOnWeb(this.extension.local.manifest)) {
|
|
785
|
+
return true;
|
|
786
|
+
}
|
|
787
|
+
if (this.canInstallAnyWhere) {
|
|
788
|
+
if (this.server === this.extensionManagementServerService.localExtensionManagementServer && this.extensionManifestPropertiesService.canExecuteOnUI(this.extension.local.manifest)) {
|
|
789
|
+
return true;
|
|
790
|
+
}
|
|
791
|
+
if (this.server === this.extensionManagementServerService.remoteExtensionManagementServer && this.extensionManifestPropertiesService.canExecuteOnWorkspace(this.extension.local.manifest)) {
|
|
792
|
+
return true;
|
|
793
|
+
}
|
|
794
|
+
}
|
|
795
|
+
return false;
|
|
796
|
+
}
|
|
797
|
+
async run() {
|
|
798
|
+
if (!this.extension?.local) {
|
|
799
|
+
return;
|
|
800
|
+
}
|
|
801
|
+
if (!this.extension?.server) {
|
|
802
|
+
return;
|
|
803
|
+
}
|
|
804
|
+
if (!this.server) {
|
|
805
|
+
return;
|
|
806
|
+
}
|
|
807
|
+
this.extensionsWorkbenchService.open(this.extension);
|
|
808
|
+
alert(( localize(
|
|
809
|
+
7507,
|
|
810
|
+
"Installing extension {0} started. An editor is now open with more details on this extension",
|
|
811
|
+
this.extension.displayName
|
|
812
|
+
)));
|
|
813
|
+
return this.extensionsWorkbenchService.installInServer(this.extension, this.server);
|
|
814
|
+
}
|
|
815
|
+
};
|
|
816
|
+
InstallInOtherServerAction = InstallInOtherServerAction_1 = ( __decorate([
|
|
817
|
+
( __param(3, IExtensionsWorkbenchService)),
|
|
818
|
+
( __param(4, IExtensionManagementServerService)),
|
|
819
|
+
( __param(5, IExtensionManifestPropertiesService))
|
|
820
|
+
], InstallInOtherServerAction));
|
|
821
|
+
let RemoteInstallAction = class RemoteInstallAction extends InstallInOtherServerAction {
|
|
822
|
+
constructor(canInstallAnyWhere, extensionsWorkbenchService, extensionManagementServerService, extensionManifestPropertiesService) {
|
|
823
|
+
super(`extensions.remoteinstall`, extensionManagementServerService.remoteExtensionManagementServer, canInstallAnyWhere, extensionsWorkbenchService, extensionManagementServerService, extensionManifestPropertiesService);
|
|
824
|
+
}
|
|
825
|
+
getInstallLabel() {
|
|
826
|
+
return this.extensionManagementServerService.remoteExtensionManagementServer
|
|
827
|
+
? ( localize(
|
|
828
|
+
7514,
|
|
829
|
+
"Install in {0}",
|
|
830
|
+
this.extensionManagementServerService.remoteExtensionManagementServer.label
|
|
831
|
+
))
|
|
832
|
+
: InstallInOtherServerAction.INSTALL_LABEL;
|
|
833
|
+
}
|
|
834
|
+
};
|
|
835
|
+
RemoteInstallAction = ( __decorate([
|
|
836
|
+
( __param(1, IExtensionsWorkbenchService)),
|
|
837
|
+
( __param(2, IExtensionManagementServerService)),
|
|
838
|
+
( __param(3, IExtensionManifestPropertiesService))
|
|
839
|
+
], RemoteInstallAction));
|
|
840
|
+
let LocalInstallAction = class LocalInstallAction extends InstallInOtherServerAction {
|
|
841
|
+
constructor(extensionsWorkbenchService, extensionManagementServerService, extensionManifestPropertiesService) {
|
|
842
|
+
super(`extensions.localinstall`, extensionManagementServerService.localExtensionManagementServer, false, extensionsWorkbenchService, extensionManagementServerService, extensionManifestPropertiesService);
|
|
843
|
+
}
|
|
844
|
+
getInstallLabel() {
|
|
845
|
+
return localize(7515, "Install Locally");
|
|
846
|
+
}
|
|
847
|
+
};
|
|
848
|
+
LocalInstallAction = ( __decorate([
|
|
849
|
+
( __param(0, IExtensionsWorkbenchService)),
|
|
850
|
+
( __param(1, IExtensionManagementServerService)),
|
|
851
|
+
( __param(2, IExtensionManifestPropertiesService))
|
|
852
|
+
], LocalInstallAction));
|
|
853
|
+
let WebInstallAction = class WebInstallAction extends InstallInOtherServerAction {
|
|
854
|
+
constructor(extensionsWorkbenchService, extensionManagementServerService, extensionManifestPropertiesService) {
|
|
855
|
+
super(`extensions.webInstall`, extensionManagementServerService.webExtensionManagementServer, false, extensionsWorkbenchService, extensionManagementServerService, extensionManifestPropertiesService);
|
|
856
|
+
}
|
|
857
|
+
getInstallLabel() {
|
|
858
|
+
return localize(7516, "Install in Browser");
|
|
859
|
+
}
|
|
860
|
+
};
|
|
861
|
+
WebInstallAction = ( __decorate([
|
|
862
|
+
( __param(0, IExtensionsWorkbenchService)),
|
|
863
|
+
( __param(1, IExtensionManagementServerService)),
|
|
864
|
+
( __param(2, IExtensionManifestPropertiesService))
|
|
865
|
+
], WebInstallAction));
|
|
866
|
+
let UninstallAction = class UninstallAction extends ExtensionAction {
|
|
867
|
+
static { UninstallAction_1 = this; }
|
|
868
|
+
static { this.UninstallLabel = ( localize(7517, "Uninstall")); }
|
|
869
|
+
static { this.UninstallingLabel = ( localize(7518, "Uninstalling")); }
|
|
870
|
+
static { this.UninstallClass = `${ExtensionAction.LABEL_ACTION_CLASS} uninstall`; }
|
|
871
|
+
static { this.UnInstallingClass = `${ExtensionAction.LABEL_ACTION_CLASS} uninstall uninstalling`; }
|
|
872
|
+
constructor(extensionsWorkbenchService, userDataProfilesService, dialogService) {
|
|
873
|
+
super('extensions.uninstall', UninstallAction_1.UninstallLabel, UninstallAction_1.UninstallClass, false);
|
|
874
|
+
this.extensionsWorkbenchService = extensionsWorkbenchService;
|
|
875
|
+
this.userDataProfilesService = userDataProfilesService;
|
|
876
|
+
this.dialogService = dialogService;
|
|
877
|
+
this.update();
|
|
878
|
+
}
|
|
879
|
+
update() {
|
|
880
|
+
if (!this.extension) {
|
|
881
|
+
this.enabled = false;
|
|
882
|
+
return;
|
|
883
|
+
}
|
|
884
|
+
const state = this.extension.state;
|
|
885
|
+
if (state === ExtensionState.Uninstalling) {
|
|
886
|
+
this.label = UninstallAction_1.UninstallingLabel;
|
|
887
|
+
this.class = UninstallAction_1.UnInstallingClass;
|
|
888
|
+
this.enabled = false;
|
|
889
|
+
return;
|
|
890
|
+
}
|
|
891
|
+
this.label = this.extension.local?.isApplicationScoped && this.userDataProfilesService.profiles.length > 1 ? ( localize(7519, "Uninstall (All Profiles)")) : UninstallAction_1.UninstallLabel;
|
|
892
|
+
this.class = UninstallAction_1.UninstallClass;
|
|
893
|
+
this.tooltip = UninstallAction_1.UninstallLabel;
|
|
894
|
+
if (state !== ExtensionState.Installed) {
|
|
895
|
+
this.enabled = false;
|
|
896
|
+
return;
|
|
897
|
+
}
|
|
898
|
+
if (this.extension.isBuiltin) {
|
|
899
|
+
this.enabled = false;
|
|
900
|
+
return;
|
|
901
|
+
}
|
|
902
|
+
this.enabled = true;
|
|
903
|
+
}
|
|
904
|
+
async run() {
|
|
905
|
+
if (!this.extension) {
|
|
906
|
+
return;
|
|
907
|
+
}
|
|
908
|
+
alert(( localize(7520, "Uninstalling extension {0} started.", this.extension.displayName)));
|
|
909
|
+
try {
|
|
910
|
+
await this.extensionsWorkbenchService.uninstall(this.extension);
|
|
911
|
+
alert(( localize(
|
|
912
|
+
7521,
|
|
913
|
+
"Please reload Visual Studio Code to complete the uninstallation of the extension {0}.",
|
|
914
|
+
this.extension.displayName
|
|
915
|
+
)));
|
|
916
|
+
}
|
|
917
|
+
catch (error) {
|
|
918
|
+
if (!isCancellationError(error)) {
|
|
919
|
+
this.dialogService.error(getErrorMessage(error));
|
|
920
|
+
}
|
|
921
|
+
}
|
|
922
|
+
}
|
|
923
|
+
};
|
|
924
|
+
UninstallAction = UninstallAction_1 = ( __decorate([
|
|
925
|
+
( __param(0, IExtensionsWorkbenchService)),
|
|
926
|
+
( __param(1, IUserDataProfilesService)),
|
|
927
|
+
( __param(2, IDialogService))
|
|
928
|
+
], UninstallAction));
|
|
929
|
+
let UpdateAction = class UpdateAction extends ExtensionAction {
|
|
930
|
+
static { UpdateAction_1 = this; }
|
|
931
|
+
static { this.EnabledClass = `${this.LABEL_ACTION_CLASS} prominent update`; }
|
|
932
|
+
static { this.DisabledClass = `${this.EnabledClass} disabled`; }
|
|
933
|
+
constructor(verbose, extensionsWorkbenchService, dialogService, openerService, instantiationService) {
|
|
934
|
+
super(`extensions.update`, ( localize(7522, "Update")), UpdateAction_1.DisabledClass, false);
|
|
935
|
+
this.verbose = verbose;
|
|
936
|
+
this.extensionsWorkbenchService = extensionsWorkbenchService;
|
|
937
|
+
this.dialogService = dialogService;
|
|
938
|
+
this.openerService = openerService;
|
|
939
|
+
this.instantiationService = instantiationService;
|
|
940
|
+
this.updateThrottler = ( new Throttler());
|
|
941
|
+
this.update();
|
|
942
|
+
}
|
|
943
|
+
update() {
|
|
944
|
+
this.updateThrottler.queue(() => this.computeAndUpdateEnablement());
|
|
945
|
+
if (this.extension) {
|
|
946
|
+
this.label = this.verbose ? ( localize(7523, "Update to v{0}", this.extension.latestVersion)) : ( localize(7522, "Update"));
|
|
947
|
+
}
|
|
948
|
+
}
|
|
949
|
+
async computeAndUpdateEnablement() {
|
|
950
|
+
this.enabled = false;
|
|
951
|
+
this.class = UpdateAction_1.DisabledClass;
|
|
952
|
+
if (!this.extension) {
|
|
953
|
+
return;
|
|
954
|
+
}
|
|
955
|
+
if (this.extension.deprecationInfo) {
|
|
956
|
+
return;
|
|
957
|
+
}
|
|
958
|
+
const canInstall = await this.extensionsWorkbenchService.canInstall(this.extension);
|
|
959
|
+
const isInstalled = this.extension.state === ExtensionState.Installed;
|
|
960
|
+
this.enabled = canInstall === true && isInstalled && this.extension.outdated;
|
|
961
|
+
this.class = this.enabled ? UpdateAction_1.EnabledClass : UpdateAction_1.DisabledClass;
|
|
962
|
+
}
|
|
963
|
+
async run() {
|
|
964
|
+
if (!this.extension) {
|
|
965
|
+
return;
|
|
966
|
+
}
|
|
967
|
+
const consent = await this.extensionsWorkbenchService.shouldRequireConsentToUpdate(this.extension);
|
|
968
|
+
if (consent) {
|
|
969
|
+
const { result } = await this.dialogService.prompt({
|
|
970
|
+
type: 'warning',
|
|
971
|
+
title: ( localize(7524, "Update {0} Extension", this.extension.displayName)),
|
|
972
|
+
message: ( localize(7525, "{0}\n\nWould you like to update the extension?", consent)),
|
|
973
|
+
buttons: [{
|
|
974
|
+
label: ( localize(7522, "Update")),
|
|
975
|
+
run: () => 'update'
|
|
976
|
+
}, {
|
|
977
|
+
label: ( localize(7526, "Review")),
|
|
978
|
+
run: () => 'review'
|
|
979
|
+
}, {
|
|
980
|
+
label: ( localize(7484, "Cancel")),
|
|
981
|
+
run: () => 'cancel'
|
|
982
|
+
}]
|
|
983
|
+
});
|
|
984
|
+
if (result === 'cancel') {
|
|
985
|
+
return;
|
|
986
|
+
}
|
|
987
|
+
if (result === 'review') {
|
|
988
|
+
if (this.extension.hasChangelog()) {
|
|
989
|
+
return this.extensionsWorkbenchService.open(this.extension, { tab: ExtensionEditorTab.Changelog });
|
|
990
|
+
}
|
|
991
|
+
if (this.extension.repository) {
|
|
992
|
+
return this.openerService.open(this.extension.repository);
|
|
993
|
+
}
|
|
994
|
+
return this.extensionsWorkbenchService.open(this.extension);
|
|
995
|
+
}
|
|
996
|
+
}
|
|
997
|
+
const installOptions = {};
|
|
998
|
+
if (this.extension.local?.source === 'vsix' && this.extension.local.pinned) {
|
|
999
|
+
installOptions.pinned = false;
|
|
1000
|
+
}
|
|
1001
|
+
if (this.extension.local?.preRelease) {
|
|
1002
|
+
installOptions.installPreReleaseVersion = true;
|
|
1003
|
+
}
|
|
1004
|
+
try {
|
|
1005
|
+
alert(( localize(
|
|
1006
|
+
7527,
|
|
1007
|
+
"Updating extension {0} to version {1} started.",
|
|
1008
|
+
this.extension.displayName,
|
|
1009
|
+
this.extension.latestVersion
|
|
1010
|
+
)));
|
|
1011
|
+
await this.extensionsWorkbenchService.install(this.extension, installOptions);
|
|
1012
|
+
alert(( localize(
|
|
1013
|
+
7528,
|
|
1014
|
+
"Updating extension {0} to version {1} completed.",
|
|
1015
|
+
this.extension.displayName,
|
|
1016
|
+
this.extension.latestVersion
|
|
1017
|
+
)));
|
|
1018
|
+
}
|
|
1019
|
+
catch (err) {
|
|
1020
|
+
this.instantiationService.createInstance(PromptExtensionInstallFailureAction, this.extension, installOptions, this.extension.latestVersion, InstallOperation.Update, err).run();
|
|
1021
|
+
}
|
|
1022
|
+
}
|
|
1023
|
+
};
|
|
1024
|
+
UpdateAction = UpdateAction_1 = ( __decorate([
|
|
1025
|
+
( __param(1, IExtensionsWorkbenchService)),
|
|
1026
|
+
( __param(2, IDialogService)),
|
|
1027
|
+
( __param(3, IOpenerService)),
|
|
1028
|
+
( __param(4, IInstantiationService))
|
|
1029
|
+
], UpdateAction));
|
|
1030
|
+
let ToggleAutoUpdateForExtensionAction = class ToggleAutoUpdateForExtensionAction extends ExtensionAction {
|
|
1031
|
+
static { ToggleAutoUpdateForExtensionAction_1 = this; }
|
|
1032
|
+
static { this.ID = 'workbench.extensions.action.toggleAutoUpdateForExtension'; }
|
|
1033
|
+
static { this.LABEL = ( localize2(7529, "Auto Update")); }
|
|
1034
|
+
static { this.EnabledClass = `${ExtensionAction.EXTENSION_ACTION_CLASS} auto-update`; }
|
|
1035
|
+
static { this.DisabledClass = `${this.EnabledClass} hide`; }
|
|
1036
|
+
constructor(extensionsWorkbenchService, extensionEnablementService, allowedExtensionsService, configurationService) {
|
|
1037
|
+
super(ToggleAutoUpdateForExtensionAction_1.ID, ToggleAutoUpdateForExtensionAction_1.LABEL.value, ToggleAutoUpdateForExtensionAction_1.DisabledClass);
|
|
1038
|
+
this.extensionsWorkbenchService = extensionsWorkbenchService;
|
|
1039
|
+
this.extensionEnablementService = extensionEnablementService;
|
|
1040
|
+
this.allowedExtensionsService = allowedExtensionsService;
|
|
1041
|
+
this._register(configurationService.onDidChangeConfiguration(e => {
|
|
1042
|
+
if (e.affectsConfiguration(AutoUpdateConfigurationKey)) {
|
|
1043
|
+
this.update();
|
|
1044
|
+
}
|
|
1045
|
+
}));
|
|
1046
|
+
this._register(allowedExtensionsService.onDidChangeAllowedExtensionsConfigValue(e => this.update()));
|
|
1047
|
+
this.update();
|
|
1048
|
+
}
|
|
1049
|
+
update() {
|
|
1050
|
+
this.enabled = false;
|
|
1051
|
+
this.class = ToggleAutoUpdateForExtensionAction_1.DisabledClass;
|
|
1052
|
+
if (!this.extension) {
|
|
1053
|
+
return;
|
|
1054
|
+
}
|
|
1055
|
+
if (this.extension.isBuiltin) {
|
|
1056
|
+
return;
|
|
1057
|
+
}
|
|
1058
|
+
if (this.extension.deprecationInfo?.disallowInstall) {
|
|
1059
|
+
return;
|
|
1060
|
+
}
|
|
1061
|
+
const extension = this.extension.local ?? this.extension.gallery;
|
|
1062
|
+
if (extension && this.allowedExtensionsService.isAllowed(extension) !== true) {
|
|
1063
|
+
return;
|
|
1064
|
+
}
|
|
1065
|
+
if (this.extensionsWorkbenchService.getAutoUpdateValue() === 'onlyEnabledExtensions' && !this.extensionEnablementService.isEnabledEnablementState(this.extension.enablementState)) {
|
|
1066
|
+
return;
|
|
1067
|
+
}
|
|
1068
|
+
this.enabled = true;
|
|
1069
|
+
this.class = ToggleAutoUpdateForExtensionAction_1.EnabledClass;
|
|
1070
|
+
this.checked = this.extensionsWorkbenchService.isAutoUpdateEnabledFor(this.extension);
|
|
1071
|
+
}
|
|
1072
|
+
async run() {
|
|
1073
|
+
if (!this.extension) {
|
|
1074
|
+
return;
|
|
1075
|
+
}
|
|
1076
|
+
const enableAutoUpdate = !this.extensionsWorkbenchService.isAutoUpdateEnabledFor(this.extension);
|
|
1077
|
+
await this.extensionsWorkbenchService.updateAutoUpdateEnablementFor(this.extension, enableAutoUpdate);
|
|
1078
|
+
if (enableAutoUpdate) {
|
|
1079
|
+
alert(( localize(7530, "Enabled auto updates for", this.extension.displayName)));
|
|
1080
|
+
}
|
|
1081
|
+
else {
|
|
1082
|
+
alert(( localize(7531, "Disabled auto updates for", this.extension.displayName)));
|
|
1083
|
+
}
|
|
1084
|
+
}
|
|
1085
|
+
};
|
|
1086
|
+
ToggleAutoUpdateForExtensionAction = ToggleAutoUpdateForExtensionAction_1 = ( __decorate([
|
|
1087
|
+
( __param(0, IExtensionsWorkbenchService)),
|
|
1088
|
+
( __param(1, IWorkbenchExtensionEnablementService)),
|
|
1089
|
+
( __param(2, IAllowedExtensionsService)),
|
|
1090
|
+
( __param(3, IConfigurationService))
|
|
1091
|
+
], ToggleAutoUpdateForExtensionAction));
|
|
1092
|
+
let ToggleAutoUpdatesForPublisherAction = class ToggleAutoUpdatesForPublisherAction extends ExtensionAction {
|
|
1093
|
+
static { ToggleAutoUpdatesForPublisherAction_1 = this; }
|
|
1094
|
+
static { this.ID = 'workbench.extensions.action.toggleAutoUpdatesForPublisher'; }
|
|
1095
|
+
static { this.LABEL = ( localize(7532, "Auto Update All (From Publisher)")); }
|
|
1096
|
+
constructor(extensionsWorkbenchService) {
|
|
1097
|
+
super(ToggleAutoUpdatesForPublisherAction_1.ID, ToggleAutoUpdatesForPublisherAction_1.LABEL);
|
|
1098
|
+
this.extensionsWorkbenchService = extensionsWorkbenchService;
|
|
1099
|
+
}
|
|
1100
|
+
update() { }
|
|
1101
|
+
async run() {
|
|
1102
|
+
if (!this.extension) {
|
|
1103
|
+
return;
|
|
1104
|
+
}
|
|
1105
|
+
alert(( localize(
|
|
1106
|
+
7533,
|
|
1107
|
+
"Ignoring updates published by {0}.",
|
|
1108
|
+
this.extension.publisherDisplayName
|
|
1109
|
+
)));
|
|
1110
|
+
const enableAutoUpdate = !this.extensionsWorkbenchService.isAutoUpdateEnabledFor(this.extension.publisher);
|
|
1111
|
+
await this.extensionsWorkbenchService.updateAutoUpdateEnablementFor(this.extension.publisher, enableAutoUpdate);
|
|
1112
|
+
if (enableAutoUpdate) {
|
|
1113
|
+
alert(( localize(7530, "Enabled auto updates for", this.extension.displayName)));
|
|
1114
|
+
}
|
|
1115
|
+
else {
|
|
1116
|
+
alert(( localize(7531, "Disabled auto updates for", this.extension.displayName)));
|
|
1117
|
+
}
|
|
1118
|
+
}
|
|
1119
|
+
};
|
|
1120
|
+
ToggleAutoUpdatesForPublisherAction = ToggleAutoUpdatesForPublisherAction_1 = ( __decorate([
|
|
1121
|
+
( __param(0, IExtensionsWorkbenchService))
|
|
1122
|
+
], ToggleAutoUpdatesForPublisherAction));
|
|
1123
|
+
let MigrateDeprecatedExtensionAction = class MigrateDeprecatedExtensionAction extends ExtensionAction {
|
|
1124
|
+
static { MigrateDeprecatedExtensionAction_1 = this; }
|
|
1125
|
+
static { this.EnabledClass = `${ExtensionAction.LABEL_ACTION_CLASS} migrate`; }
|
|
1126
|
+
static { this.DisabledClass = `${this.EnabledClass} disabled`; }
|
|
1127
|
+
constructor(small, extensionsWorkbenchService) {
|
|
1128
|
+
super('extensionsAction.migrateDeprecatedExtension', ( localize(7534, "Migrate")), MigrateDeprecatedExtensionAction_1.DisabledClass, false);
|
|
1129
|
+
this.small = small;
|
|
1130
|
+
this.extensionsWorkbenchService = extensionsWorkbenchService;
|
|
1131
|
+
this.update();
|
|
1132
|
+
}
|
|
1133
|
+
update() {
|
|
1134
|
+
this.enabled = false;
|
|
1135
|
+
this.class = MigrateDeprecatedExtensionAction_1.DisabledClass;
|
|
1136
|
+
if (!this.extension?.local) {
|
|
1137
|
+
return;
|
|
1138
|
+
}
|
|
1139
|
+
if (this.extension.state !== ExtensionState.Installed) {
|
|
1140
|
+
return;
|
|
1141
|
+
}
|
|
1142
|
+
if (!this.extension.deprecationInfo?.extension) {
|
|
1143
|
+
return;
|
|
1144
|
+
}
|
|
1145
|
+
const id = this.extension.deprecationInfo.extension.id;
|
|
1146
|
+
if (( this.extensionsWorkbenchService.local.some(e => areSameExtensions(e.identifier, { id })))) {
|
|
1147
|
+
return;
|
|
1148
|
+
}
|
|
1149
|
+
this.enabled = true;
|
|
1150
|
+
this.class = MigrateDeprecatedExtensionAction_1.EnabledClass;
|
|
1151
|
+
this.tooltip = ( localize(
|
|
1152
|
+
7535,
|
|
1153
|
+
"Migrate to {0}",
|
|
1154
|
+
this.extension.deprecationInfo.extension.displayName
|
|
1155
|
+
));
|
|
1156
|
+
this.label = this.small ? ( localize(7536, "Migrate")) : this.tooltip;
|
|
1157
|
+
}
|
|
1158
|
+
async run() {
|
|
1159
|
+
if (!this.extension?.deprecationInfo?.extension) {
|
|
1160
|
+
return;
|
|
1161
|
+
}
|
|
1162
|
+
const local = this.extension.local;
|
|
1163
|
+
await this.extensionsWorkbenchService.uninstall(this.extension);
|
|
1164
|
+
const [extension] = await this.extensionsWorkbenchService.getExtensions([{ id: this.extension.deprecationInfo.extension.id, preRelease: this.extension.deprecationInfo?.extension?.preRelease }], CancellationToken.None);
|
|
1165
|
+
await this.extensionsWorkbenchService.install(extension, { isMachineScoped: local?.isMachineScoped });
|
|
1166
|
+
}
|
|
1167
|
+
};
|
|
1168
|
+
MigrateDeprecatedExtensionAction = MigrateDeprecatedExtensionAction_1 = ( __decorate([
|
|
1169
|
+
( __param(1, IExtensionsWorkbenchService))
|
|
1170
|
+
], MigrateDeprecatedExtensionAction));
|
|
1171
|
+
let DropDownExtensionAction = class DropDownExtensionAction extends ExtensionAction {
|
|
1172
|
+
constructor(id, label, cssClass, enabled, instantiationService) {
|
|
1173
|
+
super(id, label, cssClass, enabled);
|
|
1174
|
+
this.instantiationService = instantiationService;
|
|
1175
|
+
this._actionViewItem = null;
|
|
1176
|
+
}
|
|
1177
|
+
createActionViewItem(options) {
|
|
1178
|
+
this._actionViewItem = this.instantiationService.createInstance(DropDownExtensionActionViewItem, this, options);
|
|
1179
|
+
return this._actionViewItem;
|
|
1180
|
+
}
|
|
1181
|
+
run(actionGroups) {
|
|
1182
|
+
this._actionViewItem?.showMenu(actionGroups);
|
|
1183
|
+
return Promise.resolve();
|
|
1184
|
+
}
|
|
1185
|
+
};
|
|
1186
|
+
DropDownExtensionAction = ( __decorate([
|
|
1187
|
+
( __param(4, IInstantiationService))
|
|
1188
|
+
], DropDownExtensionAction));
|
|
1189
|
+
let DropDownExtensionActionViewItem = class DropDownExtensionActionViewItem extends ActionViewItem {
|
|
1190
|
+
constructor(action, options, contextMenuService) {
|
|
1191
|
+
super(null, action, { ...options, icon: true, label: true });
|
|
1192
|
+
this.contextMenuService = contextMenuService;
|
|
1193
|
+
}
|
|
1194
|
+
showMenu(menuActionGroups) {
|
|
1195
|
+
if (this.element) {
|
|
1196
|
+
const actions = this.getActions(menuActionGroups);
|
|
1197
|
+
const elementPosition = getDomNodePagePosition(this.element);
|
|
1198
|
+
const anchor = { x: elementPosition.left, y: elementPosition.top + elementPosition.height + 10 };
|
|
1199
|
+
this.contextMenuService.showContextMenu({
|
|
1200
|
+
getAnchor: () => anchor,
|
|
1201
|
+
getActions: () => actions,
|
|
1202
|
+
actionRunner: this.actionRunner,
|
|
1203
|
+
onHide: () => disposeIfDisposable(actions)
|
|
1204
|
+
});
|
|
1205
|
+
}
|
|
1206
|
+
}
|
|
1207
|
+
getActions(menuActionGroups) {
|
|
1208
|
+
let actions = [];
|
|
1209
|
+
for (const menuActions of menuActionGroups) {
|
|
1210
|
+
actions = [...actions, ...menuActions, ( new Separator())];
|
|
1211
|
+
}
|
|
1212
|
+
return actions.length ? actions.slice(0, actions.length - 1) : actions;
|
|
1213
|
+
}
|
|
1214
|
+
};
|
|
1215
|
+
DropDownExtensionActionViewItem = ( __decorate([
|
|
1216
|
+
( __param(2, IContextMenuService))
|
|
1217
|
+
], DropDownExtensionActionViewItem));
|
|
1218
|
+
async function getContextMenuActionsGroups(extension, contextKeyService, instantiationService) {
|
|
1219
|
+
return instantiationService.invokeFunction(async (accessor) => {
|
|
1220
|
+
const extensionsWorkbenchService = accessor.get(IExtensionsWorkbenchService);
|
|
1221
|
+
const extensionEnablementService = accessor.get(IWorkbenchExtensionEnablementService);
|
|
1222
|
+
const menuService = accessor.get(IMenuService);
|
|
1223
|
+
const extensionRecommendationsService = accessor.get(IExtensionRecommendationsService);
|
|
1224
|
+
const extensionIgnoredRecommendationsService = accessor.get(IExtensionIgnoredRecommendationsService);
|
|
1225
|
+
const workbenchThemeService = accessor.get(IWorkbenchThemeService);
|
|
1226
|
+
const authenticationUsageService = accessor.get(IAuthenticationUsageService);
|
|
1227
|
+
const allowedExtensionsService = accessor.get(IAllowedExtensionsService);
|
|
1228
|
+
const cksOverlay = [];
|
|
1229
|
+
if (extension) {
|
|
1230
|
+
cksOverlay.push(['extension', extension.identifier.id]);
|
|
1231
|
+
cksOverlay.push(['isBuiltinExtension', extension.isBuiltin]);
|
|
1232
|
+
cksOverlay.push(['isDefaultApplicationScopedExtension', extension.local && isApplicationScopedExtension(extension.local.manifest)]);
|
|
1233
|
+
cksOverlay.push(['isApplicationScopedExtension', extension.local && extension.local.isApplicationScoped]);
|
|
1234
|
+
cksOverlay.push(['isWorkspaceScopedExtension', extension.isWorkspaceScoped]);
|
|
1235
|
+
cksOverlay.push(['isGalleryExtension', !!extension.identifier.uuid]);
|
|
1236
|
+
if (extension.local) {
|
|
1237
|
+
cksOverlay.push(['extensionSource', extension.local.source]);
|
|
1238
|
+
}
|
|
1239
|
+
cksOverlay.push(['extensionHasConfiguration', extension.local && !!extension.local.manifest.contributes && !!extension.local.manifest.contributes.configuration]);
|
|
1240
|
+
cksOverlay.push(['extensionHasKeybindings', extension.local && !!extension.local.manifest.contributes && !!extension.local.manifest.contributes.keybindings]);
|
|
1241
|
+
cksOverlay.push(['extensionHasCommands', extension.local && !!extension.local.manifest.contributes && !!extension.local.manifest.contributes?.commands]);
|
|
1242
|
+
cksOverlay.push(['isExtensionRecommended', !!extensionRecommendationsService.getAllRecommendationsWithReason()[extension.identifier.id.toLowerCase()]]);
|
|
1243
|
+
cksOverlay.push(['isExtensionWorkspaceRecommended', extensionRecommendationsService.getAllRecommendationsWithReason()[extension.identifier.id.toLowerCase()]?.reasonId === ExtensionRecommendationReason.Workspace]);
|
|
1244
|
+
cksOverlay.push(['isUserIgnoredRecommendation', ( extensionIgnoredRecommendationsService.globalIgnoredRecommendations.some(e => e === extension.identifier.id.toLowerCase()))]);
|
|
1245
|
+
cksOverlay.push(['isExtensionPinned', extension.pinned]);
|
|
1246
|
+
cksOverlay.push(['isExtensionEnabled', extensionEnablementService.isEnabledEnablementState(extension.enablementState)]);
|
|
1247
|
+
switch (extension.state) {
|
|
1248
|
+
case ExtensionState.Installing:
|
|
1249
|
+
cksOverlay.push(['extensionStatus', 'installing']);
|
|
1250
|
+
break;
|
|
1251
|
+
case ExtensionState.Installed:
|
|
1252
|
+
cksOverlay.push(['extensionStatus', 'installed']);
|
|
1253
|
+
break;
|
|
1254
|
+
case ExtensionState.Uninstalling:
|
|
1255
|
+
cksOverlay.push(['extensionStatus', 'uninstalling']);
|
|
1256
|
+
break;
|
|
1257
|
+
case ExtensionState.Uninstalled:
|
|
1258
|
+
cksOverlay.push(['extensionStatus', 'uninstalled']);
|
|
1259
|
+
break;
|
|
1260
|
+
}
|
|
1261
|
+
cksOverlay.push(['installedExtensionIsPreReleaseVersion', !!extension.local?.isPreReleaseVersion]);
|
|
1262
|
+
cksOverlay.push(['installedExtensionIsOptedToPreRelease', !!extension.local?.preRelease]);
|
|
1263
|
+
cksOverlay.push(['galleryExtensionIsPreReleaseVersion', !!extension.gallery?.properties.isPreReleaseVersion]);
|
|
1264
|
+
cksOverlay.push(['galleryExtensionHasPreReleaseVersion', extension.gallery?.hasPreReleaseVersion]);
|
|
1265
|
+
cksOverlay.push(['extensionHasPreReleaseVersion', extension.hasPreReleaseVersion]);
|
|
1266
|
+
cksOverlay.push(['extensionHasReleaseVersion', extension.hasReleaseVersion]);
|
|
1267
|
+
cksOverlay.push(['extensionDisallowInstall', extension.isMalicious || extension.deprecationInfo?.disallowInstall]);
|
|
1268
|
+
cksOverlay.push(['isExtensionAllowed', allowedExtensionsService.isAllowed({ id: extension.identifier.id, publisherDisplayName: extension.publisherDisplayName }) === true]);
|
|
1269
|
+
cksOverlay.push(['isPreReleaseExtensionAllowed', allowedExtensionsService.isAllowed({ id: extension.identifier.id, publisherDisplayName: extension.publisherDisplayName, prerelease: true }) === true]);
|
|
1270
|
+
cksOverlay.push(['extensionIsUnsigned', extension.gallery && !extension.gallery.isSigned]);
|
|
1271
|
+
cksOverlay.push(['extensionIsPrivate', extension.gallery?.private]);
|
|
1272
|
+
const [colorThemes, fileIconThemes, productIconThemes, extensionUsesAuth] = await Promise.all([workbenchThemeService.getColorThemes(), workbenchThemeService.getFileIconThemes(), workbenchThemeService.getProductIconThemes(), authenticationUsageService.extensionUsesAuth(extension.identifier.id.toLowerCase())]);
|
|
1273
|
+
cksOverlay.push(['extensionHasColorThemes', ( colorThemes.some(theme => isThemeFromExtension(theme, extension)))]);
|
|
1274
|
+
cksOverlay.push(['extensionHasFileIconThemes', ( fileIconThemes.some(theme => isThemeFromExtension(theme, extension)))]);
|
|
1275
|
+
cksOverlay.push(['extensionHasProductIconThemes', ( productIconThemes.some(theme => isThemeFromExtension(theme, extension)))]);
|
|
1276
|
+
cksOverlay.push(['extensionHasAccountPreferences', extensionUsesAuth]);
|
|
1277
|
+
cksOverlay.push(['canSetLanguage', extensionsWorkbenchService.canSetLanguage(extension)]);
|
|
1278
|
+
cksOverlay.push(['isActiveLanguagePackExtension', extension.gallery && language === getLocale(extension.gallery)]);
|
|
1279
|
+
}
|
|
1280
|
+
const actionsGroups = menuService.getMenuActions(MenuId.ExtensionContext, contextKeyService.createOverlay(cksOverlay), { shouldForwardArgs: true });
|
|
1281
|
+
return actionsGroups;
|
|
1282
|
+
});
|
|
1283
|
+
}
|
|
1284
|
+
function toActions(actionsGroups, instantiationService) {
|
|
1285
|
+
const result = [];
|
|
1286
|
+
for (const [, actions] of actionsGroups) {
|
|
1287
|
+
result.push(( actions.map(action => {
|
|
1288
|
+
if (action instanceof SubmenuAction) {
|
|
1289
|
+
return action;
|
|
1290
|
+
}
|
|
1291
|
+
return instantiationService.createInstance(MenuItemExtensionAction, action);
|
|
1292
|
+
})));
|
|
1293
|
+
}
|
|
1294
|
+
return result;
|
|
1295
|
+
}
|
|
1296
|
+
async function getContextMenuActions(extension, contextKeyService, instantiationService) {
|
|
1297
|
+
const actionsGroups = await getContextMenuActionsGroups(extension, contextKeyService, instantiationService);
|
|
1298
|
+
return toActions(actionsGroups, instantiationService);
|
|
1299
|
+
}
|
|
1300
|
+
let ManageExtensionAction = class ManageExtensionAction extends DropDownExtensionAction {
|
|
1301
|
+
static { ManageExtensionAction_1 = this; }
|
|
1302
|
+
static { this.ID = 'extensions.manage'; }
|
|
1303
|
+
static { this.Class = `${ExtensionAction.ICON_ACTION_CLASS} manage ` + ThemeIcon.asClassName(manageExtensionIcon); }
|
|
1304
|
+
static { this.HideManageExtensionClass = `${this.Class} hide`; }
|
|
1305
|
+
constructor(instantiationService, extensionService, contextKeyService) {
|
|
1306
|
+
super(ManageExtensionAction_1.ID, '', '', true, instantiationService);
|
|
1307
|
+
this.extensionService = extensionService;
|
|
1308
|
+
this.contextKeyService = contextKeyService;
|
|
1309
|
+
this.tooltip = ( localize(7537, "Manage"));
|
|
1310
|
+
this.update();
|
|
1311
|
+
}
|
|
1312
|
+
async getActionGroups() {
|
|
1313
|
+
const groups = [];
|
|
1314
|
+
const contextMenuActionsGroups = await getContextMenuActionsGroups(this.extension, this.contextKeyService, this.instantiationService);
|
|
1315
|
+
const themeActions = [], installActions = [], updateActions = [], otherActionGroups = [];
|
|
1316
|
+
for (const [group, actions] of contextMenuActionsGroups) {
|
|
1317
|
+
if (group === INSTALL_ACTIONS_GROUP) {
|
|
1318
|
+
installActions.push(...toActions([[group, actions]], this.instantiationService)[0]);
|
|
1319
|
+
}
|
|
1320
|
+
else if (group === UPDATE_ACTIONS_GROUP) {
|
|
1321
|
+
updateActions.push(...toActions([[group, actions]], this.instantiationService)[0]);
|
|
1322
|
+
}
|
|
1323
|
+
else if (group === THEME_ACTIONS_GROUP) {
|
|
1324
|
+
themeActions.push(...toActions([[group, actions]], this.instantiationService)[0]);
|
|
1325
|
+
}
|
|
1326
|
+
else {
|
|
1327
|
+
otherActionGroups.push(...toActions([[group, actions]], this.instantiationService));
|
|
1328
|
+
}
|
|
1329
|
+
}
|
|
1330
|
+
if (themeActions.length) {
|
|
1331
|
+
groups.push(themeActions);
|
|
1332
|
+
}
|
|
1333
|
+
groups.push([
|
|
1334
|
+
this.instantiationService.createInstance(EnableGloballyAction),
|
|
1335
|
+
this.instantiationService.createInstance(EnableForWorkspaceAction)
|
|
1336
|
+
]);
|
|
1337
|
+
groups.push([
|
|
1338
|
+
this.instantiationService.createInstance(DisableGloballyAction),
|
|
1339
|
+
this.instantiationService.createInstance(DisableForWorkspaceAction)
|
|
1340
|
+
]);
|
|
1341
|
+
if (updateActions.length) {
|
|
1342
|
+
groups.push(updateActions);
|
|
1343
|
+
}
|
|
1344
|
+
groups.push([
|
|
1345
|
+
...(installActions.length ? installActions : []),
|
|
1346
|
+
this.instantiationService.createInstance(InstallAnotherVersionAction, this.extension, false),
|
|
1347
|
+
this.instantiationService.createInstance(UninstallAction),
|
|
1348
|
+
]);
|
|
1349
|
+
otherActionGroups.forEach(actions => groups.push(actions));
|
|
1350
|
+
groups.forEach(group => group.forEach(extensionAction => {
|
|
1351
|
+
if (extensionAction instanceof ExtensionAction) {
|
|
1352
|
+
extensionAction.extension = this.extension;
|
|
1353
|
+
}
|
|
1354
|
+
}));
|
|
1355
|
+
return groups;
|
|
1356
|
+
}
|
|
1357
|
+
async run() {
|
|
1358
|
+
await this.extensionService.whenInstalledExtensionsRegistered();
|
|
1359
|
+
return super.run(await this.getActionGroups());
|
|
1360
|
+
}
|
|
1361
|
+
update() {
|
|
1362
|
+
this.class = ManageExtensionAction_1.HideManageExtensionClass;
|
|
1363
|
+
this.enabled = false;
|
|
1364
|
+
if (this.extension) {
|
|
1365
|
+
const state = this.extension.state;
|
|
1366
|
+
this.enabled = state === ExtensionState.Installed;
|
|
1367
|
+
this.class = this.enabled || state === ExtensionState.Uninstalling ? ManageExtensionAction_1.Class : ManageExtensionAction_1.HideManageExtensionClass;
|
|
1368
|
+
}
|
|
1369
|
+
}
|
|
1370
|
+
};
|
|
1371
|
+
ManageExtensionAction = ManageExtensionAction_1 = ( __decorate([
|
|
1372
|
+
( __param(0, IInstantiationService)),
|
|
1373
|
+
( __param(1, IExtensionService)),
|
|
1374
|
+
( __param(2, IContextKeyService))
|
|
1375
|
+
], ManageExtensionAction));
|
|
1376
|
+
class ExtensionEditorManageExtensionAction extends DropDownExtensionAction {
|
|
1377
|
+
constructor(contextKeyService, instantiationService) {
|
|
1378
|
+
super('extensionEditor.manageExtension', '', `${ExtensionAction.ICON_ACTION_CLASS} manage ${ThemeIcon.asClassName(manageExtensionIcon)}`, true, instantiationService);
|
|
1379
|
+
this.contextKeyService = contextKeyService;
|
|
1380
|
+
this.tooltip = ( localize(7537, "Manage"));
|
|
1381
|
+
}
|
|
1382
|
+
update() { }
|
|
1383
|
+
async run() {
|
|
1384
|
+
const actionGroups = [];
|
|
1385
|
+
(await getContextMenuActions(this.extension, this.contextKeyService, this.instantiationService)).forEach(actions => actionGroups.push(actions));
|
|
1386
|
+
actionGroups.forEach(group => group.forEach(extensionAction => {
|
|
1387
|
+
if (extensionAction instanceof ExtensionAction) {
|
|
1388
|
+
extensionAction.extension = this.extension;
|
|
1389
|
+
}
|
|
1390
|
+
}));
|
|
1391
|
+
return super.run(actionGroups);
|
|
1392
|
+
}
|
|
1393
|
+
}
|
|
1394
|
+
let MenuItemExtensionAction = class MenuItemExtensionAction extends ExtensionAction {
|
|
1395
|
+
constructor(action, extensionsWorkbenchService) {
|
|
1396
|
+
super(action.id, action.label);
|
|
1397
|
+
this.action = action;
|
|
1398
|
+
this.extensionsWorkbenchService = extensionsWorkbenchService;
|
|
1399
|
+
}
|
|
1400
|
+
get enabled() {
|
|
1401
|
+
return this.action.enabled;
|
|
1402
|
+
}
|
|
1403
|
+
set enabled(value) {
|
|
1404
|
+
this.action.enabled = value;
|
|
1405
|
+
}
|
|
1406
|
+
update() {
|
|
1407
|
+
if (!this.extension) {
|
|
1408
|
+
return;
|
|
1409
|
+
}
|
|
1410
|
+
if (this.action.id === TOGGLE_IGNORE_EXTENSION_ACTION_ID) {
|
|
1411
|
+
this.checked = !this.extensionsWorkbenchService.isExtensionIgnoredToSync(this.extension);
|
|
1412
|
+
}
|
|
1413
|
+
else if (this.action.id === ToggleAutoUpdateForExtensionAction.ID) {
|
|
1414
|
+
this.checked = this.extensionsWorkbenchService.isAutoUpdateEnabledFor(this.extension);
|
|
1415
|
+
}
|
|
1416
|
+
else if (this.action.id === ToggleAutoUpdatesForPublisherAction.ID) {
|
|
1417
|
+
this.checked = this.extensionsWorkbenchService.isAutoUpdateEnabledFor(this.extension.publisher);
|
|
1418
|
+
}
|
|
1419
|
+
else {
|
|
1420
|
+
this.checked = this.action.checked;
|
|
1421
|
+
}
|
|
1422
|
+
}
|
|
1423
|
+
async run() {
|
|
1424
|
+
if (this.extension) {
|
|
1425
|
+
const id = this.extension.local ? getExtensionId(this.extension.local.manifest.publisher, this.extension.local.manifest.name)
|
|
1426
|
+
: this.extension.gallery ? getExtensionId(this.extension.gallery.publisher, this.extension.gallery.name)
|
|
1427
|
+
: this.extension.identifier.id;
|
|
1428
|
+
const extensionArg = {
|
|
1429
|
+
id: this.extension.identifier.id,
|
|
1430
|
+
version: this.extension.version,
|
|
1431
|
+
location: this.extension.local?.location,
|
|
1432
|
+
galleryLink: this.extension.url
|
|
1433
|
+
};
|
|
1434
|
+
await this.action.run(id, extensionArg);
|
|
1435
|
+
}
|
|
1436
|
+
}
|
|
1437
|
+
};
|
|
1438
|
+
MenuItemExtensionAction = ( __decorate([
|
|
1439
|
+
( __param(1, IExtensionsWorkbenchService))
|
|
1440
|
+
], MenuItemExtensionAction));
|
|
1441
|
+
let TogglePreReleaseExtensionAction = class TogglePreReleaseExtensionAction extends ExtensionAction {
|
|
1442
|
+
static { TogglePreReleaseExtensionAction_1 = this; }
|
|
1443
|
+
static { this.ID = 'workbench.extensions.action.togglePreRlease'; }
|
|
1444
|
+
static { this.LABEL = ( localize(7538, "Pre-Release")); }
|
|
1445
|
+
static { this.EnabledClass = `${ExtensionAction.LABEL_ACTION_CLASS} pre-release`; }
|
|
1446
|
+
static { this.DisabledClass = `${this.EnabledClass} hide`; }
|
|
1447
|
+
constructor(extensionsWorkbenchService, allowedExtensionsService) {
|
|
1448
|
+
super(TogglePreReleaseExtensionAction_1.ID, TogglePreReleaseExtensionAction_1.LABEL, TogglePreReleaseExtensionAction_1.DisabledClass);
|
|
1449
|
+
this.extensionsWorkbenchService = extensionsWorkbenchService;
|
|
1450
|
+
this.allowedExtensionsService = allowedExtensionsService;
|
|
1451
|
+
this._register(allowedExtensionsService.onDidChangeAllowedExtensionsConfigValue(() => this.update()));
|
|
1452
|
+
this.update();
|
|
1453
|
+
}
|
|
1454
|
+
update() {
|
|
1455
|
+
this.enabled = false;
|
|
1456
|
+
this.class = TogglePreReleaseExtensionAction_1.DisabledClass;
|
|
1457
|
+
if (!this.extension) {
|
|
1458
|
+
return;
|
|
1459
|
+
}
|
|
1460
|
+
if (this.extension.isBuiltin) {
|
|
1461
|
+
return;
|
|
1462
|
+
}
|
|
1463
|
+
if (this.extension.state !== ExtensionState.Installed) {
|
|
1464
|
+
return;
|
|
1465
|
+
}
|
|
1466
|
+
if (!this.extension.hasPreReleaseVersion) {
|
|
1467
|
+
return;
|
|
1468
|
+
}
|
|
1469
|
+
if (!this.extension.gallery) {
|
|
1470
|
+
return;
|
|
1471
|
+
}
|
|
1472
|
+
if (this.extension.preRelease) {
|
|
1473
|
+
if (!this.extension.isPreReleaseVersion) {
|
|
1474
|
+
return;
|
|
1475
|
+
}
|
|
1476
|
+
if (this.allowedExtensionsService.isAllowed({ id: this.extension.identifier.id, publisherDisplayName: this.extension.publisherDisplayName }) !== true) {
|
|
1477
|
+
return;
|
|
1478
|
+
}
|
|
1479
|
+
}
|
|
1480
|
+
if (!this.extension.preRelease) {
|
|
1481
|
+
if (!this.extension.gallery.hasPreReleaseVersion) {
|
|
1482
|
+
return;
|
|
1483
|
+
}
|
|
1484
|
+
if (this.allowedExtensionsService.isAllowed(this.extension.gallery) !== true) {
|
|
1485
|
+
return;
|
|
1486
|
+
}
|
|
1487
|
+
}
|
|
1488
|
+
this.enabled = true;
|
|
1489
|
+
this.class = TogglePreReleaseExtensionAction_1.EnabledClass;
|
|
1490
|
+
if (this.extension.preRelease) {
|
|
1491
|
+
this.label = ( localize(7539, "Switch to Release Version"));
|
|
1492
|
+
this.tooltip = ( localize(7540, "This will switch and enable updates to release versions"));
|
|
1493
|
+
}
|
|
1494
|
+
else {
|
|
1495
|
+
this.label = ( localize(7541, "Switch to Pre-Release Version"));
|
|
1496
|
+
this.tooltip = ( localize(
|
|
1497
|
+
7542,
|
|
1498
|
+
"This will switch to pre-release version and enable updates to latest version always"
|
|
1499
|
+
));
|
|
1500
|
+
}
|
|
1501
|
+
}
|
|
1502
|
+
async run() {
|
|
1503
|
+
if (!this.extension) {
|
|
1504
|
+
return;
|
|
1505
|
+
}
|
|
1506
|
+
this.extensionsWorkbenchService.open(this.extension, { showPreReleaseVersion: !this.extension.preRelease });
|
|
1507
|
+
await this.extensionsWorkbenchService.togglePreRelease(this.extension);
|
|
1508
|
+
}
|
|
1509
|
+
};
|
|
1510
|
+
TogglePreReleaseExtensionAction = TogglePreReleaseExtensionAction_1 = ( __decorate([
|
|
1511
|
+
( __param(0, IExtensionsWorkbenchService)),
|
|
1512
|
+
( __param(1, IAllowedExtensionsService))
|
|
1513
|
+
], TogglePreReleaseExtensionAction));
|
|
1514
|
+
let InstallAnotherVersionAction = class InstallAnotherVersionAction extends ExtensionAction {
|
|
1515
|
+
static { InstallAnotherVersionAction_1 = this; }
|
|
1516
|
+
static { this.ID = 'workbench.extensions.action.install.anotherVersion'; }
|
|
1517
|
+
static { this.LABEL = ( localize(7543, "Install Specific Version...")); }
|
|
1518
|
+
constructor(extension, whenInstalled, extensionsWorkbenchService, extensionManagementService, extensionGalleryService, quickInputService, instantiationService, dialogService, allowedExtensionsService) {
|
|
1519
|
+
super(InstallAnotherVersionAction_1.ID, InstallAnotherVersionAction_1.LABEL, ExtensionAction.LABEL_ACTION_CLASS);
|
|
1520
|
+
this.whenInstalled = whenInstalled;
|
|
1521
|
+
this.extensionsWorkbenchService = extensionsWorkbenchService;
|
|
1522
|
+
this.extensionManagementService = extensionManagementService;
|
|
1523
|
+
this.extensionGalleryService = extensionGalleryService;
|
|
1524
|
+
this.quickInputService = quickInputService;
|
|
1525
|
+
this.instantiationService = instantiationService;
|
|
1526
|
+
this.dialogService = dialogService;
|
|
1527
|
+
this.allowedExtensionsService = allowedExtensionsService;
|
|
1528
|
+
this._register(allowedExtensionsService.onDidChangeAllowedExtensionsConfigValue(() => this.update()));
|
|
1529
|
+
this.extension = extension;
|
|
1530
|
+
this.update();
|
|
1531
|
+
}
|
|
1532
|
+
update() {
|
|
1533
|
+
this.enabled = !!this.extension && !this.extension.isBuiltin && !!this.extension.identifier.uuid && !this.extension.deprecationInfo
|
|
1534
|
+
&& this.allowedExtensionsService.isAllowed({ id: this.extension.identifier.id, publisherDisplayName: this.extension.publisherDisplayName }) === true;
|
|
1535
|
+
if (this.enabled && this.whenInstalled) {
|
|
1536
|
+
this.enabled = !!this.extension?.local && !!this.extension.server && this.extension.state === ExtensionState.Installed;
|
|
1537
|
+
}
|
|
1538
|
+
}
|
|
1539
|
+
async run() {
|
|
1540
|
+
if (!this.enabled) {
|
|
1541
|
+
return;
|
|
1542
|
+
}
|
|
1543
|
+
if (!this.extension) {
|
|
1544
|
+
return;
|
|
1545
|
+
}
|
|
1546
|
+
const targetPlatform = this.extension.server ? await this.extension.server.extensionManagementService.getTargetPlatform() : await this.extensionManagementService.getTargetPlatform();
|
|
1547
|
+
const allVersions = await this.extensionGalleryService.getAllCompatibleVersions(this.extension.identifier, this.extension.local?.preRelease ?? this.extension.gallery?.properties.isPreReleaseVersion ?? false, targetPlatform);
|
|
1548
|
+
if (!allVersions.length) {
|
|
1549
|
+
await this.dialogService.info(( localize(7544, "This extension has no other versions.")));
|
|
1550
|
+
return;
|
|
1551
|
+
}
|
|
1552
|
+
const picks = ( allVersions.map((v, i) => {
|
|
1553
|
+
return {
|
|
1554
|
+
id: v.version,
|
|
1555
|
+
label: v.version,
|
|
1556
|
+
description: `${fromNow(( new Date(Date.parse(v.date))), true)}${v.isPreReleaseVersion ? ` (${( localize(7545, "pre-release"))})` : ''}${v.version === this.extension?.local?.manifest.version ? ` (${( localize(7546, "current"))})` : ''}`,
|
|
1557
|
+
ariaLabel: `${v.isPreReleaseVersion ? 'Pre-Release version' : 'Release version'} ${v.version}`,
|
|
1558
|
+
isPreReleaseVersion: v.isPreReleaseVersion
|
|
1559
|
+
};
|
|
1560
|
+
}));
|
|
1561
|
+
const pick = await this.quickInputService.pick(picks, {
|
|
1562
|
+
placeHolder: ( localize(7547, "Select Version to Install")),
|
|
1563
|
+
matchOnDetail: true
|
|
1564
|
+
});
|
|
1565
|
+
if (pick) {
|
|
1566
|
+
if (this.extension.local?.manifest.version === pick.id) {
|
|
1567
|
+
return;
|
|
1568
|
+
}
|
|
1569
|
+
const options = { installPreReleaseVersion: pick.isPreReleaseVersion, version: pick.id };
|
|
1570
|
+
try {
|
|
1571
|
+
await this.extensionsWorkbenchService.install(this.extension, options);
|
|
1572
|
+
}
|
|
1573
|
+
catch (error) {
|
|
1574
|
+
this.instantiationService.createInstance(PromptExtensionInstallFailureAction, this.extension, options, pick.id, InstallOperation.Install, error).run();
|
|
1575
|
+
}
|
|
1576
|
+
}
|
|
1577
|
+
return null;
|
|
1578
|
+
}
|
|
1579
|
+
};
|
|
1580
|
+
InstallAnotherVersionAction = InstallAnotherVersionAction_1 = ( __decorate([
|
|
1581
|
+
( __param(2, IExtensionsWorkbenchService)),
|
|
1582
|
+
( __param(3, IWorkbenchExtensionManagementService)),
|
|
1583
|
+
( __param(4, IExtensionGalleryService)),
|
|
1584
|
+
( __param(5, IQuickInputService)),
|
|
1585
|
+
( __param(6, IInstantiationService)),
|
|
1586
|
+
( __param(7, IDialogService)),
|
|
1587
|
+
( __param(8, IAllowedExtensionsService))
|
|
1588
|
+
], InstallAnotherVersionAction));
|
|
1589
|
+
let EnableForWorkspaceAction = class EnableForWorkspaceAction extends ExtensionAction {
|
|
1590
|
+
static { EnableForWorkspaceAction_1 = this; }
|
|
1591
|
+
static { this.ID = 'extensions.enableForWorkspace'; }
|
|
1592
|
+
static { this.LABEL = ( localize(7548, "Enable (Workspace)")); }
|
|
1593
|
+
constructor(extensionsWorkbenchService, extensionEnablementService) {
|
|
1594
|
+
super(EnableForWorkspaceAction_1.ID, EnableForWorkspaceAction_1.LABEL, ExtensionAction.LABEL_ACTION_CLASS);
|
|
1595
|
+
this.extensionsWorkbenchService = extensionsWorkbenchService;
|
|
1596
|
+
this.extensionEnablementService = extensionEnablementService;
|
|
1597
|
+
this.tooltip = ( localize(7549, "Enable this extension only in this workspace"));
|
|
1598
|
+
this.update();
|
|
1599
|
+
}
|
|
1600
|
+
update() {
|
|
1601
|
+
this.enabled = false;
|
|
1602
|
+
if (this.extension && this.extension.local && !this.extension.isWorkspaceScoped) {
|
|
1603
|
+
this.enabled = this.extension.state === ExtensionState.Installed
|
|
1604
|
+
&& !this.extensionEnablementService.isEnabled(this.extension.local)
|
|
1605
|
+
&& this.extensionEnablementService.canChangeWorkspaceEnablement(this.extension.local);
|
|
1606
|
+
}
|
|
1607
|
+
}
|
|
1608
|
+
async run() {
|
|
1609
|
+
if (!this.extension) {
|
|
1610
|
+
return;
|
|
1611
|
+
}
|
|
1612
|
+
return this.extensionsWorkbenchService.setEnablement(this.extension, EnablementState.EnabledWorkspace);
|
|
1613
|
+
}
|
|
1614
|
+
};
|
|
1615
|
+
EnableForWorkspaceAction = EnableForWorkspaceAction_1 = ( __decorate([
|
|
1616
|
+
( __param(0, IExtensionsWorkbenchService)),
|
|
1617
|
+
( __param(1, IWorkbenchExtensionEnablementService))
|
|
1618
|
+
], EnableForWorkspaceAction));
|
|
1619
|
+
let EnableGloballyAction = class EnableGloballyAction extends ExtensionAction {
|
|
1620
|
+
static { EnableGloballyAction_1 = this; }
|
|
1621
|
+
static { this.ID = 'extensions.enableGlobally'; }
|
|
1622
|
+
static { this.LABEL = ( localize(7550, "Enable")); }
|
|
1623
|
+
constructor(extensionsWorkbenchService, extensionEnablementService) {
|
|
1624
|
+
super(EnableGloballyAction_1.ID, EnableGloballyAction_1.LABEL, ExtensionAction.LABEL_ACTION_CLASS);
|
|
1625
|
+
this.extensionsWorkbenchService = extensionsWorkbenchService;
|
|
1626
|
+
this.extensionEnablementService = extensionEnablementService;
|
|
1627
|
+
this.tooltip = ( localize(7551, "Enable this extension"));
|
|
1628
|
+
this.update();
|
|
1629
|
+
}
|
|
1630
|
+
update() {
|
|
1631
|
+
this.enabled = false;
|
|
1632
|
+
if (this.extension && this.extension.local && !this.extension.isWorkspaceScoped) {
|
|
1633
|
+
this.enabled = this.extension.state === ExtensionState.Installed
|
|
1634
|
+
&& this.extensionEnablementService.isDisabledGlobally(this.extension.local)
|
|
1635
|
+
&& this.extensionEnablementService.canChangeEnablement(this.extension.local);
|
|
1636
|
+
}
|
|
1637
|
+
}
|
|
1638
|
+
async run() {
|
|
1639
|
+
if (!this.extension) {
|
|
1640
|
+
return;
|
|
1641
|
+
}
|
|
1642
|
+
return this.extensionsWorkbenchService.setEnablement(this.extension, EnablementState.EnabledGlobally);
|
|
1643
|
+
}
|
|
1644
|
+
};
|
|
1645
|
+
EnableGloballyAction = EnableGloballyAction_1 = ( __decorate([
|
|
1646
|
+
( __param(0, IExtensionsWorkbenchService)),
|
|
1647
|
+
( __param(1, IWorkbenchExtensionEnablementService))
|
|
1648
|
+
], EnableGloballyAction));
|
|
1649
|
+
let DisableForWorkspaceAction = class DisableForWorkspaceAction extends ExtensionAction {
|
|
1650
|
+
static { DisableForWorkspaceAction_1 = this; }
|
|
1651
|
+
static { this.ID = 'extensions.disableForWorkspace'; }
|
|
1652
|
+
static { this.LABEL = ( localize(7552, "Disable (Workspace)")); }
|
|
1653
|
+
constructor(workspaceContextService, extensionsWorkbenchService, extensionEnablementService, extensionService) {
|
|
1654
|
+
super(DisableForWorkspaceAction_1.ID, DisableForWorkspaceAction_1.LABEL, ExtensionAction.LABEL_ACTION_CLASS);
|
|
1655
|
+
this.workspaceContextService = workspaceContextService;
|
|
1656
|
+
this.extensionsWorkbenchService = extensionsWorkbenchService;
|
|
1657
|
+
this.extensionEnablementService = extensionEnablementService;
|
|
1658
|
+
this.extensionService = extensionService;
|
|
1659
|
+
this.tooltip = ( localize(7553, "Disable this extension only in this workspace"));
|
|
1660
|
+
this.update();
|
|
1661
|
+
this._register(this.extensionService.onDidChangeExtensions(() => this.update()));
|
|
1662
|
+
}
|
|
1663
|
+
update() {
|
|
1664
|
+
this.enabled = false;
|
|
1665
|
+
if (this.extension && this.extension.local && !this.extension.isWorkspaceScoped && ( this.extensionService.extensions.some(
|
|
1666
|
+
e => areSameExtensions({ id: e.identifier.value, uuid: e.uuid }, this.extension.identifier) && this.workspaceContextService.getWorkbenchState() !== WorkbenchState.EMPTY
|
|
1667
|
+
))) {
|
|
1668
|
+
this.enabled = this.extension.state === ExtensionState.Installed
|
|
1669
|
+
&& (this.extension.enablementState === EnablementState.EnabledGlobally || this.extension.enablementState === EnablementState.EnabledWorkspace)
|
|
1670
|
+
&& this.extensionEnablementService.canChangeWorkspaceEnablement(this.extension.local);
|
|
1671
|
+
}
|
|
1672
|
+
}
|
|
1673
|
+
async run() {
|
|
1674
|
+
if (!this.extension) {
|
|
1675
|
+
return;
|
|
1676
|
+
}
|
|
1677
|
+
return this.extensionsWorkbenchService.setEnablement(this.extension, EnablementState.DisabledWorkspace);
|
|
1678
|
+
}
|
|
1679
|
+
};
|
|
1680
|
+
DisableForWorkspaceAction = DisableForWorkspaceAction_1 = ( __decorate([
|
|
1681
|
+
( __param(0, IWorkspaceContextService)),
|
|
1682
|
+
( __param(1, IExtensionsWorkbenchService)),
|
|
1683
|
+
( __param(2, IWorkbenchExtensionEnablementService)),
|
|
1684
|
+
( __param(3, IExtensionService))
|
|
1685
|
+
], DisableForWorkspaceAction));
|
|
1686
|
+
let DisableGloballyAction = class DisableGloballyAction extends ExtensionAction {
|
|
1687
|
+
static { DisableGloballyAction_1 = this; }
|
|
1688
|
+
static { this.ID = 'extensions.disableGlobally'; }
|
|
1689
|
+
static { this.LABEL = ( localize(7554, "Disable")); }
|
|
1690
|
+
constructor(extensionsWorkbenchService, extensionEnablementService, extensionService) {
|
|
1691
|
+
super(DisableGloballyAction_1.ID, DisableGloballyAction_1.LABEL, ExtensionAction.LABEL_ACTION_CLASS);
|
|
1692
|
+
this.extensionsWorkbenchService = extensionsWorkbenchService;
|
|
1693
|
+
this.extensionEnablementService = extensionEnablementService;
|
|
1694
|
+
this.extensionService = extensionService;
|
|
1695
|
+
this.tooltip = ( localize(7555, "Disable this extension"));
|
|
1696
|
+
this.update();
|
|
1697
|
+
this._register(this.extensionService.onDidChangeExtensions(() => this.update()));
|
|
1698
|
+
}
|
|
1699
|
+
update() {
|
|
1700
|
+
this.enabled = false;
|
|
1701
|
+
if (this.extension && this.extension.local && !this.extension.isWorkspaceScoped && ( this.extensionService.extensions.some(
|
|
1702
|
+
e => areSameExtensions({ id: e.identifier.value, uuid: e.uuid }, this.extension.identifier)
|
|
1703
|
+
))) {
|
|
1704
|
+
this.enabled = this.extension.state === ExtensionState.Installed
|
|
1705
|
+
&& (this.extension.enablementState === EnablementState.EnabledGlobally || this.extension.enablementState === EnablementState.EnabledWorkspace)
|
|
1706
|
+
&& this.extensionEnablementService.canChangeEnablement(this.extension.local);
|
|
1707
|
+
}
|
|
1708
|
+
}
|
|
1709
|
+
async run() {
|
|
1710
|
+
if (!this.extension) {
|
|
1711
|
+
return;
|
|
1712
|
+
}
|
|
1713
|
+
return this.extensionsWorkbenchService.setEnablement(this.extension, EnablementState.DisabledGlobally);
|
|
1714
|
+
}
|
|
1715
|
+
};
|
|
1716
|
+
DisableGloballyAction = DisableGloballyAction_1 = ( __decorate([
|
|
1717
|
+
( __param(0, IExtensionsWorkbenchService)),
|
|
1718
|
+
( __param(1, IWorkbenchExtensionEnablementService)),
|
|
1719
|
+
( __param(2, IExtensionService))
|
|
1720
|
+
], DisableGloballyAction));
|
|
1721
|
+
let EnableDropDownAction = class EnableDropDownAction extends ButtonWithDropDownExtensionAction {
|
|
1722
|
+
constructor(instantiationService) {
|
|
1723
|
+
super('extensions.enable', ExtensionAction.LABEL_ACTION_CLASS, [
|
|
1724
|
+
[
|
|
1725
|
+
instantiationService.createInstance(EnableGloballyAction),
|
|
1726
|
+
instantiationService.createInstance(EnableForWorkspaceAction)
|
|
1727
|
+
]
|
|
1728
|
+
]);
|
|
1729
|
+
}
|
|
1730
|
+
};
|
|
1731
|
+
EnableDropDownAction = ( __decorate([
|
|
1732
|
+
( __param(0, IInstantiationService))
|
|
1733
|
+
], EnableDropDownAction));
|
|
1734
|
+
let DisableDropDownAction = class DisableDropDownAction extends ButtonWithDropDownExtensionAction {
|
|
1735
|
+
constructor(instantiationService) {
|
|
1736
|
+
super('extensions.disable', ExtensionAction.LABEL_ACTION_CLASS, [[
|
|
1737
|
+
instantiationService.createInstance(DisableGloballyAction),
|
|
1738
|
+
instantiationService.createInstance(DisableForWorkspaceAction)
|
|
1739
|
+
]]);
|
|
1740
|
+
}
|
|
1741
|
+
};
|
|
1742
|
+
DisableDropDownAction = ( __decorate([
|
|
1743
|
+
( __param(0, IInstantiationService))
|
|
1744
|
+
], DisableDropDownAction));
|
|
1745
|
+
let ExtensionRuntimeStateAction = class ExtensionRuntimeStateAction extends ExtensionAction {
|
|
1746
|
+
static { ExtensionRuntimeStateAction_1 = this; }
|
|
1747
|
+
static { this.EnabledClass = `${ExtensionAction.LABEL_ACTION_CLASS} reload`; }
|
|
1748
|
+
static { this.DisabledClass = `${this.EnabledClass} disabled`; }
|
|
1749
|
+
constructor(hostService, extensionsWorkbenchService, updateService, extensionService, productService, telemetryService) {
|
|
1750
|
+
super('extensions.runtimeState', '', ExtensionRuntimeStateAction_1.DisabledClass, false);
|
|
1751
|
+
this.hostService = hostService;
|
|
1752
|
+
this.extensionsWorkbenchService = extensionsWorkbenchService;
|
|
1753
|
+
this.updateService = updateService;
|
|
1754
|
+
this.extensionService = extensionService;
|
|
1755
|
+
this.productService = productService;
|
|
1756
|
+
this.telemetryService = telemetryService;
|
|
1757
|
+
this.updateWhenCounterExtensionChanges = true;
|
|
1758
|
+
this._register(this.extensionService.onDidChangeExtensions(() => this.update()));
|
|
1759
|
+
this.update();
|
|
1760
|
+
}
|
|
1761
|
+
update() {
|
|
1762
|
+
this.enabled = false;
|
|
1763
|
+
this.tooltip = '';
|
|
1764
|
+
this.class = ExtensionRuntimeStateAction_1.DisabledClass;
|
|
1765
|
+
if (!this.extension) {
|
|
1766
|
+
return;
|
|
1767
|
+
}
|
|
1768
|
+
const state = this.extension.state;
|
|
1769
|
+
if (state === ExtensionState.Installing || state === ExtensionState.Uninstalling) {
|
|
1770
|
+
return;
|
|
1771
|
+
}
|
|
1772
|
+
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) {
|
|
1773
|
+
return;
|
|
1774
|
+
}
|
|
1775
|
+
const runtimeState = this.extension.runtimeState;
|
|
1776
|
+
if (!runtimeState) {
|
|
1777
|
+
return;
|
|
1778
|
+
}
|
|
1779
|
+
this.enabled = true;
|
|
1780
|
+
this.class = ExtensionRuntimeStateAction_1.EnabledClass;
|
|
1781
|
+
this.tooltip = runtimeState.reason;
|
|
1782
|
+
this.label = runtimeState.action === ExtensionRuntimeActionType.ReloadWindow ? ( localize(7556, 'Reload Window'))
|
|
1783
|
+
: runtimeState.action === ExtensionRuntimeActionType.RestartExtensions ? ( localize(7557, 'Restart Extensions'))
|
|
1784
|
+
: runtimeState.action === ExtensionRuntimeActionType.QuitAndInstall ? ( localize(7558, 'Restart to Update'))
|
|
1785
|
+
: runtimeState.action === ExtensionRuntimeActionType.ApplyUpdate || runtimeState.action === ExtensionRuntimeActionType.DownloadUpdate ? ( localize(7559, 'Update {0}', this.productService.nameShort)) : '';
|
|
1786
|
+
}
|
|
1787
|
+
async run() {
|
|
1788
|
+
const runtimeState = this.extension?.runtimeState;
|
|
1789
|
+
if (!runtimeState?.action) {
|
|
1790
|
+
return;
|
|
1791
|
+
}
|
|
1792
|
+
this.telemetryService.publicLog2('extensions:runtimestate:action', {
|
|
1793
|
+
action: runtimeState.action
|
|
1794
|
+
});
|
|
1795
|
+
if (runtimeState?.action === ExtensionRuntimeActionType.ReloadWindow) {
|
|
1796
|
+
return this.hostService.reload();
|
|
1797
|
+
}
|
|
1798
|
+
else if (runtimeState?.action === ExtensionRuntimeActionType.RestartExtensions) {
|
|
1799
|
+
return this.extensionsWorkbenchService.updateRunningExtensions();
|
|
1800
|
+
}
|
|
1801
|
+
else if (runtimeState?.action === ExtensionRuntimeActionType.DownloadUpdate) {
|
|
1802
|
+
return this.updateService.downloadUpdate();
|
|
1803
|
+
}
|
|
1804
|
+
else if (runtimeState?.action === ExtensionRuntimeActionType.ApplyUpdate) {
|
|
1805
|
+
return this.updateService.applyUpdate();
|
|
1806
|
+
}
|
|
1807
|
+
else if (runtimeState?.action === ExtensionRuntimeActionType.QuitAndInstall) {
|
|
1808
|
+
return this.updateService.quitAndInstall();
|
|
1809
|
+
}
|
|
1810
|
+
}
|
|
1811
|
+
};
|
|
1812
|
+
ExtensionRuntimeStateAction = ExtensionRuntimeStateAction_1 = ( __decorate([
|
|
1813
|
+
( __param(0, IHostService)),
|
|
1814
|
+
( __param(1, IExtensionsWorkbenchService)),
|
|
1815
|
+
( __param(2, IUpdateService)),
|
|
1816
|
+
( __param(3, IExtensionService)),
|
|
1817
|
+
( __param(4, IProductService)),
|
|
1818
|
+
( __param(5, ITelemetryService))
|
|
1819
|
+
], ExtensionRuntimeStateAction));
|
|
1820
|
+
function isThemeFromExtension(theme, extension) {
|
|
1821
|
+
return !!(extension && theme.extensionData && ExtensionIdentifier.equals(theme.extensionData.extensionId, extension.identifier.id));
|
|
1822
|
+
}
|
|
1823
|
+
function getQuickPickEntries(themes, currentTheme, extension, showCurrentTheme) {
|
|
1824
|
+
const picks = [];
|
|
1825
|
+
for (const theme of themes) {
|
|
1826
|
+
if (isThemeFromExtension(theme, extension) && !(showCurrentTheme && theme === currentTheme)) {
|
|
1827
|
+
picks.push({ label: theme.label, id: theme.id });
|
|
1828
|
+
}
|
|
1829
|
+
}
|
|
1830
|
+
if (showCurrentTheme) {
|
|
1831
|
+
picks.push({ type: 'separator', label: ( localize(7546, "current")) });
|
|
1832
|
+
picks.push({ label: currentTheme.label, id: currentTheme.id });
|
|
1833
|
+
}
|
|
1834
|
+
return picks;
|
|
1835
|
+
}
|
|
1836
|
+
let SetColorThemeAction = class SetColorThemeAction extends ExtensionAction {
|
|
1837
|
+
static { SetColorThemeAction_1 = this; }
|
|
1838
|
+
static { this.ID = 'workbench.extensions.action.setColorTheme'; }
|
|
1839
|
+
static { this.TITLE = ( localize2(7560, 'Set Color Theme')); }
|
|
1840
|
+
static { this.EnabledClass = `${ExtensionAction.LABEL_ACTION_CLASS} theme`; }
|
|
1841
|
+
static { this.DisabledClass = `${this.EnabledClass} disabled`; }
|
|
1842
|
+
constructor(extensionService, workbenchThemeService, quickInputService, extensionEnablementService) {
|
|
1843
|
+
super(SetColorThemeAction_1.ID, SetColorThemeAction_1.TITLE.value, SetColorThemeAction_1.DisabledClass, false);
|
|
1844
|
+
this.workbenchThemeService = workbenchThemeService;
|
|
1845
|
+
this.quickInputService = quickInputService;
|
|
1846
|
+
this.extensionEnablementService = extensionEnablementService;
|
|
1847
|
+
this._register(Event.any(extensionService.onDidChangeExtensions, workbenchThemeService.onDidColorThemeChange)(() => this.update(), this));
|
|
1848
|
+
this.update();
|
|
1849
|
+
}
|
|
1850
|
+
update() {
|
|
1851
|
+
this.workbenchThemeService.getColorThemes().then(colorThemes => {
|
|
1852
|
+
this.enabled = this.computeEnablement(colorThemes);
|
|
1853
|
+
this.class = this.enabled ? SetColorThemeAction_1.EnabledClass : SetColorThemeAction_1.DisabledClass;
|
|
1854
|
+
});
|
|
1855
|
+
}
|
|
1856
|
+
computeEnablement(colorThemes) {
|
|
1857
|
+
return !!this.extension && this.extension.state === ExtensionState.Installed && this.extensionEnablementService.isEnabledEnablementState(this.extension.enablementState) && ( colorThemes.some(th => isThemeFromExtension(th, this.extension)));
|
|
1858
|
+
}
|
|
1859
|
+
async run({ showCurrentTheme, ignoreFocusLost } = { showCurrentTheme: false, ignoreFocusLost: false }) {
|
|
1860
|
+
const colorThemes = await this.workbenchThemeService.getColorThemes();
|
|
1861
|
+
if (!this.computeEnablement(colorThemes)) {
|
|
1862
|
+
return;
|
|
1863
|
+
}
|
|
1864
|
+
const currentTheme = this.workbenchThemeService.getColorTheme();
|
|
1865
|
+
const delayer = ( new Delayer(100));
|
|
1866
|
+
const picks = getQuickPickEntries(colorThemes, currentTheme, this.extension, showCurrentTheme);
|
|
1867
|
+
const pickedTheme = await this.quickInputService.pick(picks, {
|
|
1868
|
+
placeHolder: ( localize(7561, "Select Color Theme")),
|
|
1869
|
+
onDidFocus: item => delayer.trigger(() => this.workbenchThemeService.setColorTheme(item.id, undefined)),
|
|
1870
|
+
ignoreFocusLost
|
|
1871
|
+
});
|
|
1872
|
+
return this.workbenchThemeService.setColorTheme(pickedTheme ? pickedTheme.id : currentTheme.id, 'auto');
|
|
1873
|
+
}
|
|
1874
|
+
};
|
|
1875
|
+
SetColorThemeAction = SetColorThemeAction_1 = ( __decorate([
|
|
1876
|
+
( __param(0, IExtensionService)),
|
|
1877
|
+
( __param(1, IWorkbenchThemeService)),
|
|
1878
|
+
( __param(2, IQuickInputService)),
|
|
1879
|
+
( __param(3, IWorkbenchExtensionEnablementService))
|
|
1880
|
+
], SetColorThemeAction));
|
|
1881
|
+
let SetFileIconThemeAction = class SetFileIconThemeAction extends ExtensionAction {
|
|
1882
|
+
static { SetFileIconThemeAction_1 = this; }
|
|
1883
|
+
static { this.ID = 'workbench.extensions.action.setFileIconTheme'; }
|
|
1884
|
+
static { this.TITLE = ( localize2(7562, 'Set File Icon Theme')); }
|
|
1885
|
+
static { this.EnabledClass = `${ExtensionAction.LABEL_ACTION_CLASS} theme`; }
|
|
1886
|
+
static { this.DisabledClass = `${this.EnabledClass} disabled`; }
|
|
1887
|
+
constructor(extensionService, workbenchThemeService, quickInputService, extensionEnablementService) {
|
|
1888
|
+
super(SetFileIconThemeAction_1.ID, SetFileIconThemeAction_1.TITLE.value, SetFileIconThemeAction_1.DisabledClass, false);
|
|
1889
|
+
this.workbenchThemeService = workbenchThemeService;
|
|
1890
|
+
this.quickInputService = quickInputService;
|
|
1891
|
+
this.extensionEnablementService = extensionEnablementService;
|
|
1892
|
+
this._register(Event.any(extensionService.onDidChangeExtensions, workbenchThemeService.onDidFileIconThemeChange)(() => this.update(), this));
|
|
1893
|
+
this.update();
|
|
1894
|
+
}
|
|
1895
|
+
update() {
|
|
1896
|
+
this.workbenchThemeService.getFileIconThemes().then(fileIconThemes => {
|
|
1897
|
+
this.enabled = this.computeEnablement(fileIconThemes);
|
|
1898
|
+
this.class = this.enabled ? SetFileIconThemeAction_1.EnabledClass : SetFileIconThemeAction_1.DisabledClass;
|
|
1899
|
+
});
|
|
1900
|
+
}
|
|
1901
|
+
computeEnablement(colorThemfileIconThemess) {
|
|
1902
|
+
return !!this.extension && this.extension.state === ExtensionState.Installed && this.extensionEnablementService.isEnabledEnablementState(this.extension.enablementState) && ( colorThemfileIconThemess.some(th => isThemeFromExtension(th, this.extension)));
|
|
1903
|
+
}
|
|
1904
|
+
async run({ showCurrentTheme, ignoreFocusLost } = { showCurrentTheme: false, ignoreFocusLost: false }) {
|
|
1905
|
+
const fileIconThemes = await this.workbenchThemeService.getFileIconThemes();
|
|
1906
|
+
if (!this.computeEnablement(fileIconThemes)) {
|
|
1907
|
+
return;
|
|
1908
|
+
}
|
|
1909
|
+
const currentTheme = this.workbenchThemeService.getFileIconTheme();
|
|
1910
|
+
const delayer = ( new Delayer(100));
|
|
1911
|
+
const picks = getQuickPickEntries(fileIconThemes, currentTheme, this.extension, showCurrentTheme);
|
|
1912
|
+
const pickedTheme = await this.quickInputService.pick(picks, {
|
|
1913
|
+
placeHolder: ( localize(7563, "Select File Icon Theme")),
|
|
1914
|
+
onDidFocus: item => delayer.trigger(() => this.workbenchThemeService.setFileIconTheme(item.id, undefined)),
|
|
1915
|
+
ignoreFocusLost
|
|
1916
|
+
});
|
|
1917
|
+
return this.workbenchThemeService.setFileIconTheme(pickedTheme ? pickedTheme.id : currentTheme.id, 'auto');
|
|
1918
|
+
}
|
|
1919
|
+
};
|
|
1920
|
+
SetFileIconThemeAction = SetFileIconThemeAction_1 = ( __decorate([
|
|
1921
|
+
( __param(0, IExtensionService)),
|
|
1922
|
+
( __param(1, IWorkbenchThemeService)),
|
|
1923
|
+
( __param(2, IQuickInputService)),
|
|
1924
|
+
( __param(3, IWorkbenchExtensionEnablementService))
|
|
1925
|
+
], SetFileIconThemeAction));
|
|
1926
|
+
let SetProductIconThemeAction = class SetProductIconThemeAction extends ExtensionAction {
|
|
1927
|
+
static { SetProductIconThemeAction_1 = this; }
|
|
1928
|
+
static { this.ID = 'workbench.extensions.action.setProductIconTheme'; }
|
|
1929
|
+
static { this.TITLE = ( localize2(7564, 'Set Product Icon Theme')); }
|
|
1930
|
+
static { this.EnabledClass = `${ExtensionAction.LABEL_ACTION_CLASS} theme`; }
|
|
1931
|
+
static { this.DisabledClass = `${this.EnabledClass} disabled`; }
|
|
1932
|
+
constructor(extensionService, workbenchThemeService, quickInputService, extensionEnablementService) {
|
|
1933
|
+
super(SetProductIconThemeAction_1.ID, SetProductIconThemeAction_1.TITLE.value, SetProductIconThemeAction_1.DisabledClass, false);
|
|
1934
|
+
this.workbenchThemeService = workbenchThemeService;
|
|
1935
|
+
this.quickInputService = quickInputService;
|
|
1936
|
+
this.extensionEnablementService = extensionEnablementService;
|
|
1937
|
+
this._register(Event.any(extensionService.onDidChangeExtensions, workbenchThemeService.onDidProductIconThemeChange)(() => this.update(), this));
|
|
1938
|
+
this.update();
|
|
1939
|
+
}
|
|
1940
|
+
update() {
|
|
1941
|
+
this.workbenchThemeService.getProductIconThemes().then(productIconThemes => {
|
|
1942
|
+
this.enabled = this.computeEnablement(productIconThemes);
|
|
1943
|
+
this.class = this.enabled ? SetProductIconThemeAction_1.EnabledClass : SetProductIconThemeAction_1.DisabledClass;
|
|
1944
|
+
});
|
|
1945
|
+
}
|
|
1946
|
+
computeEnablement(productIconThemes) {
|
|
1947
|
+
return !!this.extension && this.extension.state === ExtensionState.Installed && this.extensionEnablementService.isEnabledEnablementState(this.extension.enablementState) && ( productIconThemes.some(th => isThemeFromExtension(th, this.extension)));
|
|
1948
|
+
}
|
|
1949
|
+
async run({ showCurrentTheme, ignoreFocusLost } = { showCurrentTheme: false, ignoreFocusLost: false }) {
|
|
1950
|
+
const productIconThemes = await this.workbenchThemeService.getProductIconThemes();
|
|
1951
|
+
if (!this.computeEnablement(productIconThemes)) {
|
|
1952
|
+
return;
|
|
1953
|
+
}
|
|
1954
|
+
const currentTheme = this.workbenchThemeService.getProductIconTheme();
|
|
1955
|
+
const delayer = ( new Delayer(100));
|
|
1956
|
+
const picks = getQuickPickEntries(productIconThemes, currentTheme, this.extension, showCurrentTheme);
|
|
1957
|
+
const pickedTheme = await this.quickInputService.pick(picks, {
|
|
1958
|
+
placeHolder: ( localize(7565, "Select Product Icon Theme")),
|
|
1959
|
+
onDidFocus: item => delayer.trigger(() => this.workbenchThemeService.setProductIconTheme(item.id, undefined)),
|
|
1960
|
+
ignoreFocusLost
|
|
1961
|
+
});
|
|
1962
|
+
return this.workbenchThemeService.setProductIconTheme(pickedTheme ? pickedTheme.id : currentTheme.id, 'auto');
|
|
1963
|
+
}
|
|
1964
|
+
};
|
|
1965
|
+
SetProductIconThemeAction = SetProductIconThemeAction_1 = ( __decorate([
|
|
1966
|
+
( __param(0, IExtensionService)),
|
|
1967
|
+
( __param(1, IWorkbenchThemeService)),
|
|
1968
|
+
( __param(2, IQuickInputService)),
|
|
1969
|
+
( __param(3, IWorkbenchExtensionEnablementService))
|
|
1970
|
+
], SetProductIconThemeAction));
|
|
1971
|
+
let SetLanguageAction = class SetLanguageAction extends ExtensionAction {
|
|
1972
|
+
static { SetLanguageAction_1 = this; }
|
|
1973
|
+
static { this.ID = 'workbench.extensions.action.setDisplayLanguage'; }
|
|
1974
|
+
static { this.TITLE = ( localize2(7566, 'Set Display Language')); }
|
|
1975
|
+
static { this.EnabledClass = `${ExtensionAction.LABEL_ACTION_CLASS} language`; }
|
|
1976
|
+
static { this.DisabledClass = `${this.EnabledClass} disabled`; }
|
|
1977
|
+
constructor(extensionsWorkbenchService) {
|
|
1978
|
+
super(SetLanguageAction_1.ID, SetLanguageAction_1.TITLE.value, SetLanguageAction_1.DisabledClass, false);
|
|
1979
|
+
this.extensionsWorkbenchService = extensionsWorkbenchService;
|
|
1980
|
+
this.update();
|
|
1981
|
+
}
|
|
1982
|
+
update() {
|
|
1983
|
+
this.enabled = false;
|
|
1984
|
+
this.class = SetLanguageAction_1.DisabledClass;
|
|
1985
|
+
if (!this.extension) {
|
|
1986
|
+
return;
|
|
1987
|
+
}
|
|
1988
|
+
if (!this.extensionsWorkbenchService.canSetLanguage(this.extension)) {
|
|
1989
|
+
return;
|
|
1990
|
+
}
|
|
1991
|
+
if (this.extension.gallery && language === getLocale(this.extension.gallery)) {
|
|
1992
|
+
return;
|
|
1993
|
+
}
|
|
1994
|
+
this.enabled = true;
|
|
1995
|
+
this.class = SetLanguageAction_1.EnabledClass;
|
|
1996
|
+
}
|
|
1997
|
+
async run() {
|
|
1998
|
+
return this.extension && this.extensionsWorkbenchService.setLanguage(this.extension);
|
|
1999
|
+
}
|
|
2000
|
+
};
|
|
2001
|
+
SetLanguageAction = SetLanguageAction_1 = ( __decorate([
|
|
2002
|
+
( __param(0, IExtensionsWorkbenchService))
|
|
2003
|
+
], SetLanguageAction));
|
|
2004
|
+
let ClearLanguageAction = class ClearLanguageAction extends ExtensionAction {
|
|
2005
|
+
static { ClearLanguageAction_1 = this; }
|
|
2006
|
+
static { this.ID = 'workbench.extensions.action.clearLanguage'; }
|
|
2007
|
+
static { this.TITLE = ( localize2(7567, 'Clear Display Language')); }
|
|
2008
|
+
static { this.EnabledClass = `${ExtensionAction.LABEL_ACTION_CLASS} language`; }
|
|
2009
|
+
static { this.DisabledClass = `${this.EnabledClass} disabled`; }
|
|
2010
|
+
constructor(extensionsWorkbenchService, localeService) {
|
|
2011
|
+
super(ClearLanguageAction_1.ID, ClearLanguageAction_1.TITLE.value, ClearLanguageAction_1.DisabledClass, false);
|
|
2012
|
+
this.extensionsWorkbenchService = extensionsWorkbenchService;
|
|
2013
|
+
this.localeService = localeService;
|
|
2014
|
+
this.update();
|
|
2015
|
+
}
|
|
2016
|
+
update() {
|
|
2017
|
+
this.enabled = false;
|
|
2018
|
+
this.class = ClearLanguageAction_1.DisabledClass;
|
|
2019
|
+
if (!this.extension) {
|
|
2020
|
+
return;
|
|
2021
|
+
}
|
|
2022
|
+
if (!this.extensionsWorkbenchService.canSetLanguage(this.extension)) {
|
|
2023
|
+
return;
|
|
2024
|
+
}
|
|
2025
|
+
if (this.extension.gallery && language !== getLocale(this.extension.gallery)) {
|
|
2026
|
+
return;
|
|
2027
|
+
}
|
|
2028
|
+
this.enabled = true;
|
|
2029
|
+
this.class = ClearLanguageAction_1.EnabledClass;
|
|
2030
|
+
}
|
|
2031
|
+
async run() {
|
|
2032
|
+
return this.extension && this.localeService.clearLocalePreference();
|
|
2033
|
+
}
|
|
2034
|
+
};
|
|
2035
|
+
ClearLanguageAction = ClearLanguageAction_1 = ( __decorate([
|
|
2036
|
+
( __param(0, IExtensionsWorkbenchService)),
|
|
2037
|
+
( __param(1, ILocaleService))
|
|
2038
|
+
], ClearLanguageAction));
|
|
2039
|
+
let ShowRecommendedExtensionAction = class ShowRecommendedExtensionAction extends Action {
|
|
2040
|
+
static { ShowRecommendedExtensionAction_1 = this; }
|
|
2041
|
+
static { this.ID = 'workbench.extensions.action.showRecommendedExtension'; }
|
|
2042
|
+
static { this.LABEL = ( localize(7568, "Show Recommended Extension")); }
|
|
2043
|
+
constructor(extensionId, extensionWorkbenchService) {
|
|
2044
|
+
super(ShowRecommendedExtensionAction_1.ID, ShowRecommendedExtensionAction_1.LABEL, undefined, false);
|
|
2045
|
+
this.extensionWorkbenchService = extensionWorkbenchService;
|
|
2046
|
+
this.extensionId = extensionId;
|
|
2047
|
+
}
|
|
2048
|
+
async run() {
|
|
2049
|
+
await this.extensionWorkbenchService.openSearch(`@id:${this.extensionId}`);
|
|
2050
|
+
const [extension] = await this.extensionWorkbenchService.getExtensions([{ id: this.extensionId }], { source: 'install-recommendation' }, CancellationToken.None);
|
|
2051
|
+
if (extension) {
|
|
2052
|
+
return this.extensionWorkbenchService.open(extension);
|
|
2053
|
+
}
|
|
2054
|
+
return null;
|
|
2055
|
+
}
|
|
2056
|
+
};
|
|
2057
|
+
ShowRecommendedExtensionAction = ShowRecommendedExtensionAction_1 = ( __decorate([
|
|
2058
|
+
( __param(1, IExtensionsWorkbenchService))
|
|
2059
|
+
], ShowRecommendedExtensionAction));
|
|
2060
|
+
let InstallRecommendedExtensionAction = class InstallRecommendedExtensionAction extends Action {
|
|
2061
|
+
static { InstallRecommendedExtensionAction_1 = this; }
|
|
2062
|
+
static { this.ID = 'workbench.extensions.action.installRecommendedExtension'; }
|
|
2063
|
+
static { this.LABEL = ( localize(7569, "Install Recommended Extension")); }
|
|
2064
|
+
constructor(extensionId, instantiationService, extensionWorkbenchService) {
|
|
2065
|
+
super(InstallRecommendedExtensionAction_1.ID, InstallRecommendedExtensionAction_1.LABEL, undefined, false);
|
|
2066
|
+
this.instantiationService = instantiationService;
|
|
2067
|
+
this.extensionWorkbenchService = extensionWorkbenchService;
|
|
2068
|
+
this.extensionId = extensionId;
|
|
2069
|
+
}
|
|
2070
|
+
async run() {
|
|
2071
|
+
await this.extensionWorkbenchService.openSearch(`@id:${this.extensionId}`);
|
|
2072
|
+
const [extension] = await this.extensionWorkbenchService.getExtensions([{ id: this.extensionId }], { source: 'install-recommendation' }, CancellationToken.None);
|
|
2073
|
+
if (extension) {
|
|
2074
|
+
await this.extensionWorkbenchService.open(extension);
|
|
2075
|
+
try {
|
|
2076
|
+
await this.extensionWorkbenchService.install(extension);
|
|
2077
|
+
}
|
|
2078
|
+
catch (err) {
|
|
2079
|
+
this.instantiationService.createInstance(PromptExtensionInstallFailureAction, extension, undefined, extension.latestVersion, InstallOperation.Install, err).run();
|
|
2080
|
+
}
|
|
2081
|
+
}
|
|
2082
|
+
}
|
|
2083
|
+
};
|
|
2084
|
+
InstallRecommendedExtensionAction = InstallRecommendedExtensionAction_1 = ( __decorate([
|
|
2085
|
+
( __param(1, IInstantiationService)),
|
|
2086
|
+
( __param(2, IExtensionsWorkbenchService))
|
|
2087
|
+
], InstallRecommendedExtensionAction));
|
|
2088
|
+
let IgnoreExtensionRecommendationAction = class IgnoreExtensionRecommendationAction extends Action {
|
|
2089
|
+
static { IgnoreExtensionRecommendationAction_1 = this; }
|
|
2090
|
+
static { this.ID = 'extensions.ignore'; }
|
|
2091
|
+
static { this.Class = `${ExtensionAction.LABEL_ACTION_CLASS} ignore`; }
|
|
2092
|
+
constructor(extension, extensionRecommendationsManagementService) {
|
|
2093
|
+
super(IgnoreExtensionRecommendationAction_1.ID, 'Ignore Recommendation');
|
|
2094
|
+
this.extension = extension;
|
|
2095
|
+
this.extensionRecommendationsManagementService = extensionRecommendationsManagementService;
|
|
2096
|
+
this.class = IgnoreExtensionRecommendationAction_1.Class;
|
|
2097
|
+
this.tooltip = ( localize(7570, "Do not recommend this extension again"));
|
|
2098
|
+
this.enabled = true;
|
|
2099
|
+
}
|
|
2100
|
+
run() {
|
|
2101
|
+
this.extensionRecommendationsManagementService.toggleGlobalIgnoredRecommendation(this.extension.identifier.id, true);
|
|
2102
|
+
return Promise.resolve();
|
|
2103
|
+
}
|
|
2104
|
+
};
|
|
2105
|
+
IgnoreExtensionRecommendationAction = IgnoreExtensionRecommendationAction_1 = ( __decorate([
|
|
2106
|
+
( __param(1, IExtensionIgnoredRecommendationsService))
|
|
2107
|
+
], IgnoreExtensionRecommendationAction));
|
|
2108
|
+
let UndoIgnoreExtensionRecommendationAction = class UndoIgnoreExtensionRecommendationAction extends Action {
|
|
2109
|
+
static { UndoIgnoreExtensionRecommendationAction_1 = this; }
|
|
2110
|
+
static { this.ID = 'extensions.ignore'; }
|
|
2111
|
+
static { this.Class = `${ExtensionAction.LABEL_ACTION_CLASS} undo-ignore`; }
|
|
2112
|
+
constructor(extension, extensionRecommendationsManagementService) {
|
|
2113
|
+
super(UndoIgnoreExtensionRecommendationAction_1.ID, 'Undo');
|
|
2114
|
+
this.extension = extension;
|
|
2115
|
+
this.extensionRecommendationsManagementService = extensionRecommendationsManagementService;
|
|
2116
|
+
this.class = UndoIgnoreExtensionRecommendationAction_1.Class;
|
|
2117
|
+
this.tooltip = ( localize(7571, "Undo"));
|
|
2118
|
+
this.enabled = true;
|
|
2119
|
+
}
|
|
2120
|
+
run() {
|
|
2121
|
+
this.extensionRecommendationsManagementService.toggleGlobalIgnoredRecommendation(this.extension.identifier.id, false);
|
|
2122
|
+
return Promise.resolve();
|
|
2123
|
+
}
|
|
2124
|
+
};
|
|
2125
|
+
UndoIgnoreExtensionRecommendationAction = UndoIgnoreExtensionRecommendationAction_1 = ( __decorate([
|
|
2126
|
+
( __param(1, IExtensionIgnoredRecommendationsService))
|
|
2127
|
+
], UndoIgnoreExtensionRecommendationAction));
|
|
2128
|
+
let AbstractConfigureRecommendedExtensionsAction = class AbstractConfigureRecommendedExtensionsAction extends Action {
|
|
2129
|
+
constructor(id, label, contextService, fileService, textFileService, editorService, jsonEditingService, textModelResolverService) {
|
|
2130
|
+
super(id, label);
|
|
2131
|
+
this.contextService = contextService;
|
|
2132
|
+
this.fileService = fileService;
|
|
2133
|
+
this.textFileService = textFileService;
|
|
2134
|
+
this.editorService = editorService;
|
|
2135
|
+
this.jsonEditingService = jsonEditingService;
|
|
2136
|
+
this.textModelResolverService = textModelResolverService;
|
|
2137
|
+
}
|
|
2138
|
+
openExtensionsFile(extensionsFileResource) {
|
|
2139
|
+
return this.getOrCreateExtensionsFile(extensionsFileResource)
|
|
2140
|
+
.then(({ created, content }) => this.getSelectionPosition(content, extensionsFileResource, ['recommendations'])
|
|
2141
|
+
.then(selection => this.editorService.openEditor({
|
|
2142
|
+
resource: extensionsFileResource,
|
|
2143
|
+
options: {
|
|
2144
|
+
pinned: created,
|
|
2145
|
+
selection
|
|
2146
|
+
}
|
|
2147
|
+
})), error => Promise.reject(( new Error(( localize(
|
|
2148
|
+
7572,
|
|
2149
|
+
"Unable to create 'extensions.json' file inside the '.vscode' folder ({0}).",
|
|
2150
|
+
error
|
|
2151
|
+
))))));
|
|
2152
|
+
}
|
|
2153
|
+
openWorkspaceConfigurationFile(workspaceConfigurationFile) {
|
|
2154
|
+
return this.getOrUpdateWorkspaceConfigurationFile(workspaceConfigurationFile)
|
|
2155
|
+
.then(content => this.getSelectionPosition(( content.value.toString()), content.resource, ['extensions', 'recommendations']))
|
|
2156
|
+
.then(selection => this.editorService.openEditor({
|
|
2157
|
+
resource: workspaceConfigurationFile,
|
|
2158
|
+
options: {
|
|
2159
|
+
selection,
|
|
2160
|
+
forceReload: true
|
|
2161
|
+
}
|
|
2162
|
+
}));
|
|
2163
|
+
}
|
|
2164
|
+
getOrUpdateWorkspaceConfigurationFile(workspaceConfigurationFile) {
|
|
2165
|
+
return Promise.resolve(this.fileService.readFile(workspaceConfigurationFile))
|
|
2166
|
+
.then(content => {
|
|
2167
|
+
const workspaceRecommendations = parse(( content.value.toString()))['extensions'];
|
|
2168
|
+
if (!workspaceRecommendations || !workspaceRecommendations.recommendations) {
|
|
2169
|
+
return this.jsonEditingService.write(workspaceConfigurationFile, [{ path: ['extensions'], value: { recommendations: [] } }], true)
|
|
2170
|
+
.then(() => this.fileService.readFile(workspaceConfigurationFile));
|
|
2171
|
+
}
|
|
2172
|
+
return content;
|
|
2173
|
+
});
|
|
2174
|
+
}
|
|
2175
|
+
getSelectionPosition(content, resource, path) {
|
|
2176
|
+
const tree = parseTree(content);
|
|
2177
|
+
const node = findNodeAtLocation(tree, path);
|
|
2178
|
+
if (node && node.parent && node.parent.children) {
|
|
2179
|
+
const recommendationsValueNode = node.parent.children[1];
|
|
2180
|
+
const lastExtensionNode = recommendationsValueNode.children && recommendationsValueNode.children.length ? recommendationsValueNode.children[recommendationsValueNode.children.length - 1] : null;
|
|
2181
|
+
const offset = lastExtensionNode ? lastExtensionNode.offset + lastExtensionNode.length : recommendationsValueNode.offset + 1;
|
|
2182
|
+
return Promise.resolve(this.textModelResolverService.createModelReference(resource))
|
|
2183
|
+
.then(reference => {
|
|
2184
|
+
const position = reference.object.textEditorModel.getPositionAt(offset);
|
|
2185
|
+
reference.dispose();
|
|
2186
|
+
return {
|
|
2187
|
+
startLineNumber: position.lineNumber,
|
|
2188
|
+
startColumn: position.column,
|
|
2189
|
+
endLineNumber: position.lineNumber,
|
|
2190
|
+
endColumn: position.column,
|
|
2191
|
+
};
|
|
2192
|
+
});
|
|
2193
|
+
}
|
|
2194
|
+
return Promise.resolve(undefined);
|
|
2195
|
+
}
|
|
2196
|
+
getOrCreateExtensionsFile(extensionsFileResource) {
|
|
2197
|
+
return Promise.resolve(this.fileService.readFile(extensionsFileResource)).then(content => {
|
|
2198
|
+
return { created: false, extensionsFileResource, content: ( content.value.toString()) };
|
|
2199
|
+
}, err => {
|
|
2200
|
+
return this.textFileService.write(extensionsFileResource, ExtensionsConfigurationInitialContent).then(() => {
|
|
2201
|
+
return { created: true, extensionsFileResource, content: ExtensionsConfigurationInitialContent };
|
|
2202
|
+
});
|
|
2203
|
+
});
|
|
2204
|
+
}
|
|
2205
|
+
};
|
|
2206
|
+
AbstractConfigureRecommendedExtensionsAction = ( __decorate([
|
|
2207
|
+
( __param(2, IWorkspaceContextService)),
|
|
2208
|
+
( __param(3, IFileService)),
|
|
2209
|
+
( __param(4, ITextFileService)),
|
|
2210
|
+
( __param(5, IEditorService)),
|
|
2211
|
+
( __param(6, IJSONEditingService)),
|
|
2212
|
+
( __param(7, ITextModelService))
|
|
2213
|
+
], AbstractConfigureRecommendedExtensionsAction));
|
|
2214
|
+
let ConfigureWorkspaceRecommendedExtensionsAction = class ConfigureWorkspaceRecommendedExtensionsAction extends AbstractConfigureRecommendedExtensionsAction {
|
|
2215
|
+
static { this.ID = 'workbench.extensions.action.configureWorkspaceRecommendedExtensions'; }
|
|
2216
|
+
static { this.LABEL = ( localize(7573, "Configure Recommended Extensions (Workspace)")); }
|
|
2217
|
+
constructor(id, label, fileService, textFileService, contextService, editorService, jsonEditingService, textModelResolverService) {
|
|
2218
|
+
super(id, label, contextService, fileService, textFileService, editorService, jsonEditingService, textModelResolverService);
|
|
2219
|
+
this._register(this.contextService.onDidChangeWorkbenchState(() => this.update(), this));
|
|
2220
|
+
this.update();
|
|
2221
|
+
}
|
|
2222
|
+
update() {
|
|
2223
|
+
this.enabled = this.contextService.getWorkbenchState() !== WorkbenchState.EMPTY;
|
|
2224
|
+
}
|
|
2225
|
+
run() {
|
|
2226
|
+
switch (this.contextService.getWorkbenchState()) {
|
|
2227
|
+
case WorkbenchState.FOLDER:
|
|
2228
|
+
return this.openExtensionsFile(this.contextService.getWorkspace().folders[0].toResource(EXTENSIONS_CONFIG));
|
|
2229
|
+
case WorkbenchState.WORKSPACE:
|
|
2230
|
+
return this.openWorkspaceConfigurationFile(this.contextService.getWorkspace().configuration);
|
|
2231
|
+
}
|
|
2232
|
+
return Promise.resolve();
|
|
2233
|
+
}
|
|
2234
|
+
};
|
|
2235
|
+
ConfigureWorkspaceRecommendedExtensionsAction = ( __decorate([
|
|
2236
|
+
( __param(2, IFileService)),
|
|
2237
|
+
( __param(3, ITextFileService)),
|
|
2238
|
+
( __param(4, IWorkspaceContextService)),
|
|
2239
|
+
( __param(5, IEditorService)),
|
|
2240
|
+
( __param(6, IJSONEditingService)),
|
|
2241
|
+
( __param(7, ITextModelService))
|
|
2242
|
+
], ConfigureWorkspaceRecommendedExtensionsAction));
|
|
2243
|
+
let ConfigureWorkspaceFolderRecommendedExtensionsAction = class ConfigureWorkspaceFolderRecommendedExtensionsAction extends AbstractConfigureRecommendedExtensionsAction {
|
|
2244
|
+
static { this.ID = 'workbench.extensions.action.configureWorkspaceFolderRecommendedExtensions'; }
|
|
2245
|
+
static { this.LABEL = ( localize(7574, "Configure Recommended Extensions (Workspace Folder)")); }
|
|
2246
|
+
constructor(id, label, fileService, textFileService, contextService, editorService, jsonEditingService, textModelResolverService, commandService) {
|
|
2247
|
+
super(id, label, contextService, fileService, textFileService, editorService, jsonEditingService, textModelResolverService);
|
|
2248
|
+
this.commandService = commandService;
|
|
2249
|
+
}
|
|
2250
|
+
run() {
|
|
2251
|
+
const folderCount = this.contextService.getWorkspace().folders.length;
|
|
2252
|
+
const pickFolderPromise = folderCount === 1 ? Promise.resolve(this.contextService.getWorkspace().folders[0]) : this.commandService.executeCommand(PICK_WORKSPACE_FOLDER_COMMAND_ID);
|
|
2253
|
+
return Promise.resolve(pickFolderPromise)
|
|
2254
|
+
.then(workspaceFolder => {
|
|
2255
|
+
if (workspaceFolder) {
|
|
2256
|
+
return this.openExtensionsFile(workspaceFolder.toResource(EXTENSIONS_CONFIG));
|
|
2257
|
+
}
|
|
2258
|
+
return null;
|
|
2259
|
+
});
|
|
2260
|
+
}
|
|
2261
|
+
};
|
|
2262
|
+
ConfigureWorkspaceFolderRecommendedExtensionsAction = ( __decorate([
|
|
2263
|
+
( __param(2, IFileService)),
|
|
2264
|
+
( __param(3, ITextFileService)),
|
|
2265
|
+
( __param(4, IWorkspaceContextService)),
|
|
2266
|
+
( __param(5, IEditorService)),
|
|
2267
|
+
( __param(6, IJSONEditingService)),
|
|
2268
|
+
( __param(7, ITextModelService)),
|
|
2269
|
+
( __param(8, ICommandService))
|
|
2270
|
+
], ConfigureWorkspaceFolderRecommendedExtensionsAction));
|
|
2271
|
+
let ExtensionStatusLabelAction = class ExtensionStatusLabelAction extends Action {
|
|
2272
|
+
static { ExtensionStatusLabelAction_1 = this; }
|
|
2273
|
+
static { this.ENABLED_CLASS = `${ExtensionAction.TEXT_ACTION_CLASS} extension-status-label`; }
|
|
2274
|
+
static { this.DISABLED_CLASS = `${this.ENABLED_CLASS} hide`; }
|
|
2275
|
+
get extension() { return this._extension; }
|
|
2276
|
+
set extension(extension) {
|
|
2277
|
+
if (!(this._extension && extension && areSameExtensions(this._extension.identifier, extension.identifier))) {
|
|
2278
|
+
this.initialStatus = null;
|
|
2279
|
+
this.status = null;
|
|
2280
|
+
this.enablementState = null;
|
|
2281
|
+
}
|
|
2282
|
+
this._extension = extension;
|
|
2283
|
+
this.update();
|
|
2284
|
+
}
|
|
2285
|
+
constructor(extensionService, extensionManagementServerService, extensionEnablementService) {
|
|
2286
|
+
super('extensions.action.statusLabel', '', ExtensionStatusLabelAction_1.DISABLED_CLASS, false);
|
|
2287
|
+
this.extensionService = extensionService;
|
|
2288
|
+
this.extensionManagementServerService = extensionManagementServerService;
|
|
2289
|
+
this.extensionEnablementService = extensionEnablementService;
|
|
2290
|
+
this.initialStatus = null;
|
|
2291
|
+
this.status = null;
|
|
2292
|
+
this.version = null;
|
|
2293
|
+
this.enablementState = null;
|
|
2294
|
+
this._extension = null;
|
|
2295
|
+
}
|
|
2296
|
+
update() {
|
|
2297
|
+
const label = this.computeLabel();
|
|
2298
|
+
this.label = label || '';
|
|
2299
|
+
this.class = label ? ExtensionStatusLabelAction_1.ENABLED_CLASS : ExtensionStatusLabelAction_1.DISABLED_CLASS;
|
|
2300
|
+
}
|
|
2301
|
+
computeLabel() {
|
|
2302
|
+
if (!this.extension) {
|
|
2303
|
+
return null;
|
|
2304
|
+
}
|
|
2305
|
+
const currentStatus = this.status;
|
|
2306
|
+
const currentVersion = this.version;
|
|
2307
|
+
const currentEnablementState = this.enablementState;
|
|
2308
|
+
this.status = this.extension.state;
|
|
2309
|
+
this.version = this.extension.version;
|
|
2310
|
+
if (this.initialStatus === null) {
|
|
2311
|
+
this.initialStatus = this.status;
|
|
2312
|
+
}
|
|
2313
|
+
this.enablementState = this.extension.enablementState;
|
|
2314
|
+
const canAddExtension = () => {
|
|
2315
|
+
const runningExtension = this.extensionService.extensions.filter(e => areSameExtensions({ id: e.identifier.value, uuid: e.uuid }, this.extension.identifier))[0];
|
|
2316
|
+
if (this.extension.local) {
|
|
2317
|
+
if (runningExtension && this.extension.version === runningExtension.version) {
|
|
2318
|
+
return true;
|
|
2319
|
+
}
|
|
2320
|
+
return this.extensionService.canAddExtension(toExtensionDescription(this.extension.local));
|
|
2321
|
+
}
|
|
2322
|
+
return false;
|
|
2323
|
+
};
|
|
2324
|
+
const canRemoveExtension = () => {
|
|
2325
|
+
if (this.extension.local) {
|
|
2326
|
+
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))))) {
|
|
2327
|
+
return true;
|
|
2328
|
+
}
|
|
2329
|
+
return this.extensionService.canRemoveExtension(toExtensionDescription(this.extension.local));
|
|
2330
|
+
}
|
|
2331
|
+
return false;
|
|
2332
|
+
};
|
|
2333
|
+
if (currentStatus !== null) {
|
|
2334
|
+
if (currentStatus === ExtensionState.Installing && this.status === ExtensionState.Installed) {
|
|
2335
|
+
if (this.initialStatus === ExtensionState.Uninstalled && canAddExtension()) {
|
|
2336
|
+
return localize(7575, "Installed");
|
|
2337
|
+
}
|
|
2338
|
+
if (this.initialStatus === ExtensionState.Installed && this.version !== currentVersion && canAddExtension()) {
|
|
2339
|
+
return localize(7576, "Updated");
|
|
2340
|
+
}
|
|
2341
|
+
return null;
|
|
2342
|
+
}
|
|
2343
|
+
if (currentStatus === ExtensionState.Uninstalling && this.status === ExtensionState.Uninstalled) {
|
|
2344
|
+
this.initialStatus = this.status;
|
|
2345
|
+
return canRemoveExtension() ? ( localize(7577, "Uninstalled")) : null;
|
|
2346
|
+
}
|
|
2347
|
+
}
|
|
2348
|
+
if (currentEnablementState !== null) {
|
|
2349
|
+
const currentlyEnabled = this.extensionEnablementService.isEnabledEnablementState(currentEnablementState);
|
|
2350
|
+
const enabled = this.extensionEnablementService.isEnabledEnablementState(this.enablementState);
|
|
2351
|
+
if (!currentlyEnabled && enabled) {
|
|
2352
|
+
return canAddExtension() ? ( localize(7578, "Enabled")) : null;
|
|
2353
|
+
}
|
|
2354
|
+
if (currentlyEnabled && !enabled) {
|
|
2355
|
+
return canRemoveExtension() ? ( localize(7579, "Disabled")) : null;
|
|
2356
|
+
}
|
|
2357
|
+
}
|
|
2358
|
+
return null;
|
|
2359
|
+
}
|
|
2360
|
+
run() {
|
|
2361
|
+
return Promise.resolve();
|
|
2362
|
+
}
|
|
2363
|
+
};
|
|
2364
|
+
ExtensionStatusLabelAction = ExtensionStatusLabelAction_1 = ( __decorate([
|
|
2365
|
+
( __param(0, IExtensionService)),
|
|
2366
|
+
( __param(1, IExtensionManagementServerService)),
|
|
2367
|
+
( __param(2, IWorkbenchExtensionEnablementService))
|
|
2368
|
+
], ExtensionStatusLabelAction));
|
|
2369
|
+
let ToggleSyncExtensionAction = class ToggleSyncExtensionAction extends DropDownExtensionAction {
|
|
2370
|
+
static { ToggleSyncExtensionAction_1 = this; }
|
|
2371
|
+
static { this.IGNORED_SYNC_CLASS = `${ExtensionAction.ICON_ACTION_CLASS} extension-sync ${ThemeIcon.asClassName(syncIgnoredIcon)}`; }
|
|
2372
|
+
static { this.SYNC_CLASS = `${this.ICON_ACTION_CLASS} extension-sync ${ThemeIcon.asClassName(syncEnabledIcon)}`; }
|
|
2373
|
+
constructor(configurationService, extensionsWorkbenchService, userDataSyncEnablementService, instantiationService) {
|
|
2374
|
+
super('extensions.sync', '', ToggleSyncExtensionAction_1.SYNC_CLASS, false, instantiationService);
|
|
2375
|
+
this.configurationService = configurationService;
|
|
2376
|
+
this.extensionsWorkbenchService = extensionsWorkbenchService;
|
|
2377
|
+
this.userDataSyncEnablementService = userDataSyncEnablementService;
|
|
2378
|
+
this._register(Event.filter(this.configurationService.onDidChangeConfiguration, e => e.affectsConfiguration('settingsSync.ignoredExtensions'))(() => this.update()));
|
|
2379
|
+
this._register(userDataSyncEnablementService.onDidChangeEnablement(() => this.update()));
|
|
2380
|
+
this.update();
|
|
2381
|
+
}
|
|
2382
|
+
update() {
|
|
2383
|
+
this.enabled = !!this.extension && this.userDataSyncEnablementService.isEnabled() && this.extension.state === ExtensionState.Installed;
|
|
2384
|
+
if (this.extension) {
|
|
2385
|
+
const isIgnored = this.extensionsWorkbenchService.isExtensionIgnoredToSync(this.extension);
|
|
2386
|
+
this.class = isIgnored ? ToggleSyncExtensionAction_1.IGNORED_SYNC_CLASS : ToggleSyncExtensionAction_1.SYNC_CLASS;
|
|
2387
|
+
this.tooltip = isIgnored ? ( localize(7580, "This extension is ignored during sync")) : ( localize(7581, "This extension is synced"));
|
|
2388
|
+
}
|
|
2389
|
+
}
|
|
2390
|
+
async run() {
|
|
2391
|
+
return super.run([
|
|
2392
|
+
[
|
|
2393
|
+
( new Action(
|
|
2394
|
+
'extensions.syncignore',
|
|
2395
|
+
this.extensionsWorkbenchService.isExtensionIgnoredToSync(this.extension) ? ( localize(7582, "Sync this extension")) : ( localize(7583, "Do not sync this extension")),
|
|
2396
|
+
undefined,
|
|
2397
|
+
true,
|
|
2398
|
+
() => this.extensionsWorkbenchService.toggleExtensionIgnoredToSync(this.extension)
|
|
2399
|
+
))
|
|
2400
|
+
]
|
|
2401
|
+
]);
|
|
2402
|
+
}
|
|
2403
|
+
};
|
|
2404
|
+
ToggleSyncExtensionAction = ToggleSyncExtensionAction_1 = ( __decorate([
|
|
2405
|
+
( __param(0, IConfigurationService)),
|
|
2406
|
+
( __param(1, IExtensionsWorkbenchService)),
|
|
2407
|
+
( __param(2, IUserDataSyncEnablementService)),
|
|
2408
|
+
( __param(3, IInstantiationService))
|
|
2409
|
+
], ToggleSyncExtensionAction));
|
|
2410
|
+
let ExtensionStatusAction = class ExtensionStatusAction extends ExtensionAction {
|
|
2411
|
+
static { ExtensionStatusAction_1 = this; }
|
|
2412
|
+
static { this.CLASS = `${ExtensionAction.ICON_ACTION_CLASS} extension-status`; }
|
|
2413
|
+
get status() { return this._status; }
|
|
2414
|
+
constructor(extensionManagementServerService, labelService, commandService, workspaceTrustEnablementService, workspaceTrustService, extensionsWorkbenchService, extensionService, extensionManifestPropertiesService, contextService, productService, allowedExtensionsService, workbenchExtensionEnablementService, extensionFeaturesManagementService, extensionGalleryManifestService) {
|
|
2415
|
+
super('extensions.status', '', `${ExtensionStatusAction_1.CLASS} hide`, false);
|
|
2416
|
+
this.extensionManagementServerService = extensionManagementServerService;
|
|
2417
|
+
this.labelService = labelService;
|
|
2418
|
+
this.commandService = commandService;
|
|
2419
|
+
this.workspaceTrustEnablementService = workspaceTrustEnablementService;
|
|
2420
|
+
this.workspaceTrustService = workspaceTrustService;
|
|
2421
|
+
this.extensionsWorkbenchService = extensionsWorkbenchService;
|
|
2422
|
+
this.extensionService = extensionService;
|
|
2423
|
+
this.extensionManifestPropertiesService = extensionManifestPropertiesService;
|
|
2424
|
+
this.contextService = contextService;
|
|
2425
|
+
this.productService = productService;
|
|
2426
|
+
this.allowedExtensionsService = allowedExtensionsService;
|
|
2427
|
+
this.workbenchExtensionEnablementService = workbenchExtensionEnablementService;
|
|
2428
|
+
this.extensionFeaturesManagementService = extensionFeaturesManagementService;
|
|
2429
|
+
this.extensionGalleryManifestService = extensionGalleryManifestService;
|
|
2430
|
+
this.updateWhenCounterExtensionChanges = true;
|
|
2431
|
+
this._status = [];
|
|
2432
|
+
this._onDidChangeStatus = this._register(( new Emitter()));
|
|
2433
|
+
this.onDidChangeStatus = this._onDidChangeStatus.event;
|
|
2434
|
+
this.updateThrottler = ( new Throttler());
|
|
2435
|
+
this._register(this.labelService.onDidChangeFormatters(() => this.update(), this));
|
|
2436
|
+
this._register(this.extensionService.onDidChangeExtensions(() => this.update()));
|
|
2437
|
+
this._register(this.extensionFeaturesManagementService.onDidChangeAccessData(() => this.update()));
|
|
2438
|
+
this._register(allowedExtensionsService.onDidChangeAllowedExtensionsConfigValue(() => this.update()));
|
|
2439
|
+
this.update();
|
|
2440
|
+
}
|
|
2441
|
+
update() {
|
|
2442
|
+
this.updateThrottler.queue(() => this.computeAndUpdateStatus());
|
|
2443
|
+
}
|
|
2444
|
+
async computeAndUpdateStatus() {
|
|
2445
|
+
this.updateStatus(undefined, true);
|
|
2446
|
+
this.enabled = false;
|
|
2447
|
+
if (!this.extension) {
|
|
2448
|
+
return;
|
|
2449
|
+
}
|
|
2450
|
+
if (this.extension.isMalicious) {
|
|
2451
|
+
this.updateStatus({ icon: warningIcon, message: ( new MarkdownString(( localize(7584, "This extension was reported to be problematic.")))) }, true);
|
|
2452
|
+
return;
|
|
2453
|
+
}
|
|
2454
|
+
if (this.extension.state === ExtensionState.Uninstalled && this.extension.gallery && !this.extension.gallery.isSigned && shouldRequireRepositorySignatureFor(this.extension.private, await this.extensionGalleryManifestService.getExtensionGalleryManifest())) {
|
|
2455
|
+
this.updateStatus({ icon: warningIcon, message: ( new MarkdownString(( localize(7585, "This extension is not signed by the Extension Marketplace.")))) }, true);
|
|
2456
|
+
return;
|
|
2457
|
+
}
|
|
2458
|
+
if (this.extension.deprecationInfo) {
|
|
2459
|
+
if (this.extension.deprecationInfo.extension) {
|
|
2460
|
+
const link = `[${this.extension.deprecationInfo.extension.displayName}](${createCommandUri('extension.open', this.extension.deprecationInfo.extension.id)})`;
|
|
2461
|
+
this.updateStatus({ icon: warningIcon, message: ( new MarkdownString(( localize(7586, "This extension is deprecated. Use the {0} extension instead.", link)))) }, true);
|
|
2462
|
+
}
|
|
2463
|
+
else if (this.extension.deprecationInfo.settings) {
|
|
2464
|
+
const link = `[${( localize(7587, "settings"))}](${createCommandUri('workbench.action.openSettings', ( this.extension.deprecationInfo.settings.map(setting => `@id:${setting}`)).join(' '))}})`;
|
|
2465
|
+
this.updateStatus({ icon: warningIcon, message: ( new MarkdownString(( localize(
|
|
2466
|
+
7588,
|
|
2467
|
+
"This extension is deprecated as this functionality is now built-in to VS Code. Configure these {0} to use this functionality.",
|
|
2468
|
+
link
|
|
2469
|
+
)))) }, true);
|
|
2470
|
+
}
|
|
2471
|
+
else {
|
|
2472
|
+
const message = ( new MarkdownString(( localize(7589, "This extension is deprecated as it is no longer being maintained."))));
|
|
2473
|
+
if (this.extension.deprecationInfo.additionalInfo) {
|
|
2474
|
+
message.appendMarkdown(` ${this.extension.deprecationInfo.additionalInfo}`);
|
|
2475
|
+
}
|
|
2476
|
+
this.updateStatus({ icon: warningIcon, message }, true);
|
|
2477
|
+
}
|
|
2478
|
+
return;
|
|
2479
|
+
}
|
|
2480
|
+
if (this.extension.missingFromGallery) {
|
|
2481
|
+
this.updateStatus({ icon: warningIcon, message: ( new MarkdownString(( localize(
|
|
2482
|
+
7590,
|
|
2483
|
+
"This extension is no longer available on the Extension Marketplace."
|
|
2484
|
+
)))) }, true);
|
|
2485
|
+
return;
|
|
2486
|
+
}
|
|
2487
|
+
if (this.extensionsWorkbenchService.canSetLanguage(this.extension)) {
|
|
2488
|
+
return;
|
|
2489
|
+
}
|
|
2490
|
+
if (this.extension.outdated) {
|
|
2491
|
+
const message = await this.extensionsWorkbenchService.shouldRequireConsentToUpdate(this.extension);
|
|
2492
|
+
if (message) {
|
|
2493
|
+
const markdown = ( new MarkdownString());
|
|
2494
|
+
markdown.appendMarkdown(`${message} `);
|
|
2495
|
+
markdown.appendMarkdown(( localize(
|
|
2496
|
+
7591,
|
|
2497
|
+
"Please [review the extension]({0}) and update it manually.",
|
|
2498
|
+
this.extension.hasChangelog()
|
|
2499
|
+
? ( createCommandUri('extension.open', this.extension.identifier.id, ExtensionEditorTab.Changelog).toString())
|
|
2500
|
+
: this.extension.repository
|
|
2501
|
+
? this.extension.repository
|
|
2502
|
+
: ( createCommandUri('extension.open', this.extension.identifier.id).toString())
|
|
2503
|
+
)));
|
|
2504
|
+
this.updateStatus({ icon: warningIcon, message: markdown }, true);
|
|
2505
|
+
}
|
|
2506
|
+
}
|
|
2507
|
+
if (this.extension.gallery && this.extension.state === ExtensionState.Uninstalled) {
|
|
2508
|
+
const result = await this.extensionsWorkbenchService.canInstall(this.extension);
|
|
2509
|
+
if (result !== true) {
|
|
2510
|
+
this.updateStatus({ icon: warningIcon, message: result }, true);
|
|
2511
|
+
return;
|
|
2512
|
+
}
|
|
2513
|
+
}
|
|
2514
|
+
if (!this.extension.local ||
|
|
2515
|
+
!this.extension.server ||
|
|
2516
|
+
this.extension.state !== ExtensionState.Installed) {
|
|
2517
|
+
return;
|
|
2518
|
+
}
|
|
2519
|
+
if (this.extension.enablementState === EnablementState.DisabledByAllowlist) {
|
|
2520
|
+
const result = this.allowedExtensionsService.isAllowed(this.extension.local);
|
|
2521
|
+
if (result !== true) {
|
|
2522
|
+
this.updateStatus({ icon: warningIcon, message: ( new MarkdownString(( localize(7592, "This extension is disabled because {0}", result.value)))) }, true);
|
|
2523
|
+
return;
|
|
2524
|
+
}
|
|
2525
|
+
}
|
|
2526
|
+
if (this.extension.enablementState === EnablementState.DisabledByEnvironment) {
|
|
2527
|
+
this.updateStatus({ message: ( new MarkdownString(( localize(7593, "This extension is disabled by the environment.")))) }, true);
|
|
2528
|
+
return;
|
|
2529
|
+
}
|
|
2530
|
+
if (this.extension.enablementState === EnablementState.EnabledByEnvironment) {
|
|
2531
|
+
this.updateStatus({ message: ( new MarkdownString(( localize(
|
|
2532
|
+
7594,
|
|
2533
|
+
"This extension is enabled because it is required in the current environment."
|
|
2534
|
+
)))) }, true);
|
|
2535
|
+
return;
|
|
2536
|
+
}
|
|
2537
|
+
if (this.extension.enablementState === EnablementState.DisabledByVirtualWorkspace) {
|
|
2538
|
+
const details = getWorkspaceSupportTypeMessage(this.extension.local.manifest.capabilities?.virtualWorkspaces);
|
|
2539
|
+
this.updateStatus({ icon: infoIcon, message: ( new MarkdownString(details ? escapeMarkdownSyntaxTokens(details) : ( localize(
|
|
2540
|
+
7595,
|
|
2541
|
+
"This extension has been disabled because it does not support virtual workspaces."
|
|
2542
|
+
)))) }, true);
|
|
2543
|
+
return;
|
|
2544
|
+
}
|
|
2545
|
+
if (isVirtualWorkspace(this.contextService.getWorkspace())) {
|
|
2546
|
+
const virtualSupportType = this.extensionManifestPropertiesService.getExtensionVirtualWorkspaceSupportType(this.extension.local.manifest);
|
|
2547
|
+
const details = getWorkspaceSupportTypeMessage(this.extension.local.manifest.capabilities?.virtualWorkspaces);
|
|
2548
|
+
if (virtualSupportType === 'limited' || details) {
|
|
2549
|
+
this.updateStatus({ icon: warningIcon, message: ( new MarkdownString(details ? escapeMarkdownSyntaxTokens(details) : ( localize(
|
|
2550
|
+
7596,
|
|
2551
|
+
"This extension has limited features because the current workspace is virtual."
|
|
2552
|
+
)))) }, true);
|
|
2553
|
+
return;
|
|
2554
|
+
}
|
|
2555
|
+
}
|
|
2556
|
+
if (this.extension.enablementState === EnablementState.DisabledByUnification) {
|
|
2557
|
+
this.updateStatus({ icon: infoIcon, message: ( new MarkdownString(( localize(
|
|
2558
|
+
7597,
|
|
2559
|
+
"All GitHub Copilot functionality is now being served from the GitHub Copilot Chat extension. To temporarily opt out of this extension unification, toggle the {0} setting.",
|
|
2560
|
+
'`chat.extensionUnification.enabled`'
|
|
2561
|
+
)))) }, true);
|
|
2562
|
+
return;
|
|
2563
|
+
}
|
|
2564
|
+
if (!this.workspaceTrustService.isWorkspaceTrusted() &&
|
|
2565
|
+
(this.extension.enablementState === EnablementState.DisabledByTrustRequirement ||
|
|
2566
|
+
(this.extension.enablementState === EnablementState.DisabledByExtensionDependency && this.workbenchExtensionEnablementService.getDependenciesEnablementStates(this.extension.local).every(([, enablementState]) => this.workbenchExtensionEnablementService.isEnabledEnablementState(enablementState) || enablementState === EnablementState.DisabledByTrustRequirement)))) {
|
|
2567
|
+
this.enabled = true;
|
|
2568
|
+
const untrustedDetails = getWorkspaceSupportTypeMessage(this.extension.local.manifest.capabilities?.untrustedWorkspaces);
|
|
2569
|
+
this.updateStatus({ icon: trustIcon, message: ( new MarkdownString(
|
|
2570
|
+
untrustedDetails ? escapeMarkdownSyntaxTokens(untrustedDetails) : ( localize(
|
|
2571
|
+
7598,
|
|
2572
|
+
"This extension has been disabled because the current workspace is not trusted."
|
|
2573
|
+
))
|
|
2574
|
+
)) }, true);
|
|
2575
|
+
return;
|
|
2576
|
+
}
|
|
2577
|
+
if (this.workspaceTrustEnablementService.isWorkspaceTrustEnabled() && !this.workspaceTrustService.isWorkspaceTrusted()) {
|
|
2578
|
+
const untrustedSupportType = this.extensionManifestPropertiesService.getExtensionUntrustedWorkspaceSupportType(this.extension.local.manifest);
|
|
2579
|
+
const untrustedDetails = getWorkspaceSupportTypeMessage(this.extension.local.manifest.capabilities?.untrustedWorkspaces);
|
|
2580
|
+
if (untrustedSupportType === 'limited' || untrustedDetails) {
|
|
2581
|
+
this.enabled = true;
|
|
2582
|
+
this.updateStatus({ icon: trustIcon, message: ( new MarkdownString(
|
|
2583
|
+
untrustedDetails ? escapeMarkdownSyntaxTokens(untrustedDetails) : ( localize(
|
|
2584
|
+
7599,
|
|
2585
|
+
"This extension has limited features because the current workspace is not trusted."
|
|
2586
|
+
))
|
|
2587
|
+
)) }, true);
|
|
2588
|
+
return;
|
|
2589
|
+
}
|
|
2590
|
+
}
|
|
2591
|
+
if (this.extension.enablementState === EnablementState.DisabledByExtensionKind) {
|
|
2592
|
+
if (!( this.extensionsWorkbenchService.installed.some(
|
|
2593
|
+
e => areSameExtensions(e.identifier, this.extension.identifier) && e.server !== this.extension.server
|
|
2594
|
+
))) {
|
|
2595
|
+
let message;
|
|
2596
|
+
if (this.extensionManagementServerService.localExtensionManagementServer === this.extension.server) {
|
|
2597
|
+
if (this.extensionManifestPropertiesService.prefersExecuteOnWorkspace(this.extension.local.manifest)) {
|
|
2598
|
+
if (this.extensionManagementServerService.remoteExtensionManagementServer) {
|
|
2599
|
+
message = ( new MarkdownString(`${( localize(
|
|
2600
|
+
7600,
|
|
2601
|
+
"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.",
|
|
2602
|
+
this.extensionManagementServerService.remoteExtensionManagementServer.label
|
|
2603
|
+
))} [${( localize(7488, "Learn More"))}](https://code.visualstudio.com/api/advanced-topics/remote-extensions#architecture-and-extension-kinds)`));
|
|
2604
|
+
}
|
|
2605
|
+
}
|
|
2606
|
+
}
|
|
2607
|
+
else if (this.extensionManagementServerService.remoteExtensionManagementServer === this.extension.server) {
|
|
2608
|
+
if (this.extensionManifestPropertiesService.prefersExecuteOnUI(this.extension.local.manifest)) {
|
|
2609
|
+
if (this.extensionManagementServerService.localExtensionManagementServer) {
|
|
2610
|
+
message = ( new MarkdownString(`${( localize(
|
|
2611
|
+
7601,
|
|
2612
|
+
"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.",
|
|
2613
|
+
this.extensionManagementServerService.remoteExtensionManagementServer.label
|
|
2614
|
+
))} [${( localize(7488, "Learn More"))}](https://code.visualstudio.com/api/advanced-topics/remote-extensions#architecture-and-extension-kinds)`));
|
|
2615
|
+
}
|
|
2616
|
+
else if (isWeb) {
|
|
2617
|
+
message = ( new MarkdownString(`${( localize(
|
|
2618
|
+
7602,
|
|
2619
|
+
"This extension is disabled because it is defined to run only in {0} for the Desktop.",
|
|
2620
|
+
this.productService.nameLong
|
|
2621
|
+
))} [${( localize(7488, "Learn More"))}](https://code.visualstudio.com/api/advanced-topics/remote-extensions#architecture-and-extension-kinds)`));
|
|
2622
|
+
}
|
|
2623
|
+
}
|
|
2624
|
+
}
|
|
2625
|
+
else if (this.extensionManagementServerService.webExtensionManagementServer === this.extension.server) {
|
|
2626
|
+
message = ( new MarkdownString(`${( localize(
|
|
2627
|
+
7603,
|
|
2628
|
+
"This extension is disabled because it is not supported in {0} for the Web.",
|
|
2629
|
+
this.productService.nameLong
|
|
2630
|
+
))} [${( localize(7488, "Learn More"))}](https://code.visualstudio.com/api/advanced-topics/remote-extensions#architecture-and-extension-kinds)`));
|
|
2631
|
+
}
|
|
2632
|
+
if (message) {
|
|
2633
|
+
this.updateStatus({ icon: warningIcon, message }, true);
|
|
2634
|
+
}
|
|
2635
|
+
return;
|
|
2636
|
+
}
|
|
2637
|
+
}
|
|
2638
|
+
const extensionId = ( new ExtensionIdentifier(this.extension.identifier.id));
|
|
2639
|
+
const features = ( Registry.as(Extensions.ExtensionFeaturesRegistry)).getExtensionFeatures();
|
|
2640
|
+
for (const feature of features) {
|
|
2641
|
+
const status = this.extensionFeaturesManagementService.getAccessData(extensionId, feature.id)?.current?.status;
|
|
2642
|
+
const manageAccessLink = `[${( localize(7604, 'Manage Access'))}](${createCommandUri('extension.open', this.extension.identifier.id, ExtensionEditorTab.Features, false, feature.id)})`;
|
|
2643
|
+
if (status?.severity === Severity$1.Error) {
|
|
2644
|
+
this.updateStatus({ icon: errorIcon, message: ( new MarkdownString()).appendText(status.message).appendMarkdown(` ${manageAccessLink}`) }, true);
|
|
2645
|
+
return;
|
|
2646
|
+
}
|
|
2647
|
+
if (status?.severity === Severity$1.Warning) {
|
|
2648
|
+
this.updateStatus({ icon: warningIcon, message: ( new MarkdownString()).appendText(status.message).appendMarkdown(` ${manageAccessLink}`) }, true);
|
|
2649
|
+
return;
|
|
2650
|
+
}
|
|
2651
|
+
}
|
|
2652
|
+
if (this.extensionManagementServerService.remoteExtensionManagementServer) {
|
|
2653
|
+
if (isLanguagePackExtension(this.extension.local.manifest)) {
|
|
2654
|
+
if (!( this.extensionsWorkbenchService.installed.some(
|
|
2655
|
+
e => areSameExtensions(e.identifier, this.extension.identifier) && e.server !== this.extension.server
|
|
2656
|
+
))) {
|
|
2657
|
+
const message = this.extension.server === this.extensionManagementServerService.localExtensionManagementServer
|
|
2658
|
+
? ( new MarkdownString(( localize(
|
|
2659
|
+
7605,
|
|
2660
|
+
"Install the language pack extension on '{0}' to enable it there also.",
|
|
2661
|
+
this.extensionManagementServerService.remoteExtensionManagementServer.label
|
|
2662
|
+
))))
|
|
2663
|
+
: ( new MarkdownString(( localize(
|
|
2664
|
+
7606,
|
|
2665
|
+
"Install the language pack extension locally to enable it there also."
|
|
2666
|
+
))));
|
|
2667
|
+
this.updateStatus({ icon: infoIcon, message }, true);
|
|
2668
|
+
}
|
|
2669
|
+
return;
|
|
2670
|
+
}
|
|
2671
|
+
const runningExtension = this.extensionService.extensions.filter(e => areSameExtensions({ id: e.identifier.value, uuid: e.uuid }, this.extension.identifier))[0];
|
|
2672
|
+
const runningExtensionServer = runningExtension ? this.extensionManagementServerService.getExtensionManagementServer(toExtension(runningExtension)) : null;
|
|
2673
|
+
if (this.extension.server === this.extensionManagementServerService.localExtensionManagementServer && runningExtensionServer === this.extensionManagementServerService.remoteExtensionManagementServer) {
|
|
2674
|
+
if (this.extensionManifestPropertiesService.prefersExecuteOnWorkspace(this.extension.local.manifest)) {
|
|
2675
|
+
this.updateStatus({ icon: infoIcon, message: ( new MarkdownString(`${( localize(
|
|
2676
|
+
7607,
|
|
2677
|
+
"This extension is enabled in the Remote Extension Host because it prefers to run there."
|
|
2678
|
+
))} [${( localize(7488, "Learn More"))}](https://code.visualstudio.com/api/advanced-topics/remote-extensions#architecture-and-extension-kinds)`)) }, true);
|
|
2679
|
+
}
|
|
2680
|
+
return;
|
|
2681
|
+
}
|
|
2682
|
+
if (this.extension.server === this.extensionManagementServerService.remoteExtensionManagementServer && runningExtensionServer === this.extensionManagementServerService.localExtensionManagementServer) {
|
|
2683
|
+
if (this.extensionManifestPropertiesService.prefersExecuteOnUI(this.extension.local.manifest)) {
|
|
2684
|
+
this.updateStatus({ icon: infoIcon, message: ( new MarkdownString(`${( localize(
|
|
2685
|
+
7608,
|
|
2686
|
+
"This extension is enabled in the Local Extension Host because it prefers to run there."
|
|
2687
|
+
))} [${( localize(7488, "Learn More"))}](https://code.visualstudio.com/api/advanced-topics/remote-extensions#architecture-and-extension-kinds)`)) }, true);
|
|
2688
|
+
}
|
|
2689
|
+
return;
|
|
2690
|
+
}
|
|
2691
|
+
if (this.extension.server === this.extensionManagementServerService.remoteExtensionManagementServer && runningExtensionServer === this.extensionManagementServerService.webExtensionManagementServer) {
|
|
2692
|
+
if (this.extensionManifestPropertiesService.canExecuteOnWeb(this.extension.local.manifest)) {
|
|
2693
|
+
this.updateStatus({ icon: infoIcon, message: ( new MarkdownString(`${( localize(
|
|
2694
|
+
7609,
|
|
2695
|
+
"This extension is enabled in the Web Worker Extension Host because it prefers to run there."
|
|
2696
|
+
))} [${( localize(7488, "Learn More"))}](https://code.visualstudio.com/api/advanced-topics/remote-extensions#architecture-and-extension-kinds)`)) }, true);
|
|
2697
|
+
}
|
|
2698
|
+
return;
|
|
2699
|
+
}
|
|
2700
|
+
}
|
|
2701
|
+
if (this.extension.enablementState === EnablementState.DisabledByExtensionDependency) {
|
|
2702
|
+
this.updateStatus({
|
|
2703
|
+
icon: warningIcon,
|
|
2704
|
+
message: ( new MarkdownString(( localize(7610, "This extension depends on an extension that is disabled."))))
|
|
2705
|
+
.appendMarkdown(` [${( localize(7611, "Show Dependencies"))}](${createCommandUri('extension.open', this.extension.identifier.id, ExtensionEditorTab.Dependencies)})`)
|
|
2706
|
+
}, true);
|
|
2707
|
+
return;
|
|
2708
|
+
}
|
|
2709
|
+
if (!this.extension.local.isValid) {
|
|
2710
|
+
const errors = ( this.extension.local.validations.filter(([severity]) => severity === Severity$1.Error).map(([, message]) => message));
|
|
2711
|
+
this.updateStatus({ icon: warningIcon, message: ( new MarkdownString(errors.join(' ').trim())) }, true);
|
|
2712
|
+
return;
|
|
2713
|
+
}
|
|
2714
|
+
const isEnabled = this.workbenchExtensionEnablementService.isEnabled(this.extension.local);
|
|
2715
|
+
const isRunning = ( this.extensionService.extensions.some(
|
|
2716
|
+
e => areSameExtensions({ id: e.identifier.value, uuid: e.uuid }, this.extension.identifier)
|
|
2717
|
+
));
|
|
2718
|
+
if (!this.extension.isWorkspaceScoped && isEnabled && isRunning) {
|
|
2719
|
+
if (this.extension.enablementState === EnablementState.EnabledWorkspace) {
|
|
2720
|
+
this.updateStatus({ message: ( new MarkdownString(( localize(7612, "This extension is enabled for this workspace by the user.")))) }, true);
|
|
2721
|
+
return;
|
|
2722
|
+
}
|
|
2723
|
+
if (this.extensionManagementServerService.localExtensionManagementServer && this.extensionManagementServerService.remoteExtensionManagementServer) {
|
|
2724
|
+
if (this.extension.server === this.extensionManagementServerService.remoteExtensionManagementServer) {
|
|
2725
|
+
this.updateStatus({ message: ( new MarkdownString(( localize(7613, "Extension is enabled on '{0}'", this.extension.server.label)))) }, true);
|
|
2726
|
+
return;
|
|
2727
|
+
}
|
|
2728
|
+
}
|
|
2729
|
+
if (this.extension.enablementState === EnablementState.EnabledGlobally) {
|
|
2730
|
+
return;
|
|
2731
|
+
}
|
|
2732
|
+
}
|
|
2733
|
+
if (!isEnabled && !isRunning) {
|
|
2734
|
+
if (this.extension.enablementState === EnablementState.DisabledGlobally) {
|
|
2735
|
+
this.updateStatus({ message: ( new MarkdownString(( localize(7614, "This extension is disabled globally by the user.")))) }, true);
|
|
2736
|
+
return;
|
|
2737
|
+
}
|
|
2738
|
+
if (this.extension.enablementState === EnablementState.DisabledWorkspace) {
|
|
2739
|
+
this.updateStatus({ message: ( new MarkdownString(( localize(7615, "This extension is disabled for this workspace by the user.")))) }, true);
|
|
2740
|
+
return;
|
|
2741
|
+
}
|
|
2742
|
+
}
|
|
2743
|
+
}
|
|
2744
|
+
updateStatus(status, updateClass) {
|
|
2745
|
+
if (status) {
|
|
2746
|
+
if (( this._status.some(
|
|
2747
|
+
s => s.message.value === status.message.value && s.icon?.id === status.icon?.id
|
|
2748
|
+
))) {
|
|
2749
|
+
return;
|
|
2750
|
+
}
|
|
2751
|
+
}
|
|
2752
|
+
else {
|
|
2753
|
+
if (this._status.length === 0) {
|
|
2754
|
+
return;
|
|
2755
|
+
}
|
|
2756
|
+
this._status = [];
|
|
2757
|
+
}
|
|
2758
|
+
if (status) {
|
|
2759
|
+
this._status.push(status);
|
|
2760
|
+
this._status.sort((a, b) => b.icon === trustIcon ? -1 :
|
|
2761
|
+
a.icon === trustIcon ? 1 :
|
|
2762
|
+
b.icon === errorIcon ? -1 :
|
|
2763
|
+
a.icon === errorIcon ? 1 :
|
|
2764
|
+
b.icon === warningIcon ? -1 :
|
|
2765
|
+
a.icon === warningIcon ? 1 :
|
|
2766
|
+
b.icon === infoIcon ? -1 :
|
|
2767
|
+
a.icon === infoIcon ? 1 :
|
|
2768
|
+
0);
|
|
2769
|
+
}
|
|
2770
|
+
if (updateClass) {
|
|
2771
|
+
if (status?.icon === errorIcon) {
|
|
2772
|
+
this.class = `${ExtensionStatusAction_1.CLASS} extension-status-error ${ThemeIcon.asClassName(errorIcon)}`;
|
|
2773
|
+
}
|
|
2774
|
+
else if (status?.icon === warningIcon) {
|
|
2775
|
+
this.class = `${ExtensionStatusAction_1.CLASS} extension-status-warning ${ThemeIcon.asClassName(warningIcon)}`;
|
|
2776
|
+
}
|
|
2777
|
+
else if (status?.icon === infoIcon) {
|
|
2778
|
+
this.class = `${ExtensionStatusAction_1.CLASS} extension-status-info ${ThemeIcon.asClassName(infoIcon)}`;
|
|
2779
|
+
}
|
|
2780
|
+
else if (status?.icon === trustIcon) {
|
|
2781
|
+
this.class = `${ExtensionStatusAction_1.CLASS} ${ThemeIcon.asClassName(trustIcon)}`;
|
|
2782
|
+
}
|
|
2783
|
+
else {
|
|
2784
|
+
this.class = `${ExtensionStatusAction_1.CLASS} hide`;
|
|
2785
|
+
}
|
|
2786
|
+
}
|
|
2787
|
+
this._onDidChangeStatus.fire();
|
|
2788
|
+
}
|
|
2789
|
+
async run() {
|
|
2790
|
+
if (this._status[0]?.icon === trustIcon) {
|
|
2791
|
+
return this.commandService.executeCommand('workbench.trust.manage');
|
|
2792
|
+
}
|
|
2793
|
+
}
|
|
2794
|
+
};
|
|
2795
|
+
ExtensionStatusAction = ExtensionStatusAction_1 = ( __decorate([
|
|
2796
|
+
( __param(0, IExtensionManagementServerService)),
|
|
2797
|
+
( __param(1, ILabelService)),
|
|
2798
|
+
( __param(2, ICommandService)),
|
|
2799
|
+
( __param(3, IWorkspaceTrustEnablementService)),
|
|
2800
|
+
( __param(4, IWorkspaceTrustManagementService)),
|
|
2801
|
+
( __param(5, IExtensionsWorkbenchService)),
|
|
2802
|
+
( __param(6, IExtensionService)),
|
|
2803
|
+
( __param(7, IExtensionManifestPropertiesService)),
|
|
2804
|
+
( __param(8, IWorkspaceContextService)),
|
|
2805
|
+
( __param(9, IProductService)),
|
|
2806
|
+
( __param(10, IAllowedExtensionsService)),
|
|
2807
|
+
( __param(11, IWorkbenchExtensionEnablementService)),
|
|
2808
|
+
( __param(12, IExtensionFeaturesManagementService)),
|
|
2809
|
+
( __param(13, IExtensionGalleryManifestService))
|
|
2810
|
+
], ExtensionStatusAction));
|
|
2811
|
+
let InstallSpecificVersionOfExtensionAction = class InstallSpecificVersionOfExtensionAction extends Action {
|
|
2812
|
+
static { InstallSpecificVersionOfExtensionAction_1 = this; }
|
|
2813
|
+
static { this.ID = 'workbench.extensions.action.install.specificVersion'; }
|
|
2814
|
+
static { this.LABEL = ( localize(7616, "Install Specific Version of Extension...")); }
|
|
2815
|
+
constructor(id = InstallSpecificVersionOfExtensionAction_1.ID, label = InstallSpecificVersionOfExtensionAction_1.LABEL, extensionsWorkbenchService, quickInputService, instantiationService, extensionEnablementService) {
|
|
2816
|
+
super(id, label);
|
|
2817
|
+
this.extensionsWorkbenchService = extensionsWorkbenchService;
|
|
2818
|
+
this.quickInputService = quickInputService;
|
|
2819
|
+
this.instantiationService = instantiationService;
|
|
2820
|
+
this.extensionEnablementService = extensionEnablementService;
|
|
2821
|
+
}
|
|
2822
|
+
get enabled() {
|
|
2823
|
+
return ( this.extensionsWorkbenchService.local.some(l => this.isEnabled(l)));
|
|
2824
|
+
}
|
|
2825
|
+
async run() {
|
|
2826
|
+
const extensionPick = await this.quickInputService.pick(this.getExtensionEntries(), { placeHolder: ( localize(7617, "Select Extension")), matchOnDetail: true });
|
|
2827
|
+
if (extensionPick && extensionPick.extension) {
|
|
2828
|
+
const action = this.instantiationService.createInstance(InstallAnotherVersionAction, extensionPick.extension, true);
|
|
2829
|
+
await action.run();
|
|
2830
|
+
await this.extensionsWorkbenchService.openSearch(extensionPick.extension.identifier.id);
|
|
2831
|
+
}
|
|
2832
|
+
}
|
|
2833
|
+
isEnabled(extension) {
|
|
2834
|
+
const action = this.instantiationService.createInstance(InstallAnotherVersionAction, extension, true);
|
|
2835
|
+
return action.enabled && !!extension.local && this.extensionEnablementService.isEnabled(extension.local);
|
|
2836
|
+
}
|
|
2837
|
+
async getExtensionEntries() {
|
|
2838
|
+
const installed = await this.extensionsWorkbenchService.queryLocal();
|
|
2839
|
+
const entries = [];
|
|
2840
|
+
for (const extension of installed) {
|
|
2841
|
+
if (this.isEnabled(extension)) {
|
|
2842
|
+
entries.push({
|
|
2843
|
+
id: extension.identifier.id,
|
|
2844
|
+
label: extension.displayName || extension.identifier.id,
|
|
2845
|
+
description: extension.identifier.id,
|
|
2846
|
+
extension,
|
|
2847
|
+
});
|
|
2848
|
+
}
|
|
2849
|
+
}
|
|
2850
|
+
return entries.sort((e1, e2) => e1.extension.displayName.localeCompare(e2.extension.displayName));
|
|
2851
|
+
}
|
|
2852
|
+
};
|
|
2853
|
+
InstallSpecificVersionOfExtensionAction = InstallSpecificVersionOfExtensionAction_1 = ( __decorate([
|
|
2854
|
+
( __param(2, IExtensionsWorkbenchService)),
|
|
2855
|
+
( __param(3, IQuickInputService)),
|
|
2856
|
+
( __param(4, IInstantiationService)),
|
|
2857
|
+
( __param(5, IWorkbenchExtensionEnablementService))
|
|
2858
|
+
], InstallSpecificVersionOfExtensionAction));
|
|
2859
|
+
let AbstractInstallExtensionsInServerAction = class AbstractInstallExtensionsInServerAction extends Action {
|
|
2860
|
+
constructor(id, extensionsWorkbenchService, quickInputService, notificationService, progressService) {
|
|
2861
|
+
super(id);
|
|
2862
|
+
this.extensionsWorkbenchService = extensionsWorkbenchService;
|
|
2863
|
+
this.quickInputService = quickInputService;
|
|
2864
|
+
this.notificationService = notificationService;
|
|
2865
|
+
this.progressService = progressService;
|
|
2866
|
+
this.extensions = undefined;
|
|
2867
|
+
this.update();
|
|
2868
|
+
this.extensionsWorkbenchService.queryLocal().then(() => this.updateExtensions());
|
|
2869
|
+
this._register(this.extensionsWorkbenchService.onChange(() => {
|
|
2870
|
+
if (this.extensions) {
|
|
2871
|
+
this.updateExtensions();
|
|
2872
|
+
}
|
|
2873
|
+
}));
|
|
2874
|
+
}
|
|
2875
|
+
updateExtensions() {
|
|
2876
|
+
this.extensions = this.extensionsWorkbenchService.local;
|
|
2877
|
+
this.update();
|
|
2878
|
+
}
|
|
2879
|
+
update() {
|
|
2880
|
+
this.enabled = !!this.extensions && this.getExtensionsToInstall(this.extensions).length > 0;
|
|
2881
|
+
this.tooltip = this.label;
|
|
2882
|
+
}
|
|
2883
|
+
async run() {
|
|
2884
|
+
return this.selectAndInstallExtensions();
|
|
2885
|
+
}
|
|
2886
|
+
async queryExtensionsToInstall() {
|
|
2887
|
+
const local = await this.extensionsWorkbenchService.queryLocal();
|
|
2888
|
+
return this.getExtensionsToInstall(local);
|
|
2889
|
+
}
|
|
2890
|
+
async selectAndInstallExtensions() {
|
|
2891
|
+
const quickPick = this.quickInputService.createQuickPick();
|
|
2892
|
+
quickPick.busy = true;
|
|
2893
|
+
const disposable = quickPick.onDidAccept(() => {
|
|
2894
|
+
disposable.dispose();
|
|
2895
|
+
quickPick.hide();
|
|
2896
|
+
quickPick.dispose();
|
|
2897
|
+
this.onDidAccept(quickPick.selectedItems);
|
|
2898
|
+
});
|
|
2899
|
+
quickPick.show();
|
|
2900
|
+
const localExtensionsToInstall = await this.queryExtensionsToInstall();
|
|
2901
|
+
quickPick.busy = false;
|
|
2902
|
+
if (localExtensionsToInstall.length) {
|
|
2903
|
+
quickPick.title = this.getQuickPickTitle();
|
|
2904
|
+
quickPick.placeholder = ( localize(7618, "Select extensions to install"));
|
|
2905
|
+
quickPick.canSelectMany = true;
|
|
2906
|
+
localExtensionsToInstall.sort((e1, e2) => e1.displayName.localeCompare(e2.displayName));
|
|
2907
|
+
quickPick.items = ( localExtensionsToInstall.map(
|
|
2908
|
+
extension => ({ extension, label: extension.displayName, description: extension.version })
|
|
2909
|
+
));
|
|
2910
|
+
}
|
|
2911
|
+
else {
|
|
2912
|
+
quickPick.hide();
|
|
2913
|
+
quickPick.dispose();
|
|
2914
|
+
this.notificationService.notify({
|
|
2915
|
+
severity: Severity$1.Info,
|
|
2916
|
+
message: ( localize(7619, "There are no extensions to install."))
|
|
2917
|
+
});
|
|
2918
|
+
}
|
|
2919
|
+
}
|
|
2920
|
+
async onDidAccept(selectedItems) {
|
|
2921
|
+
if (selectedItems.length) {
|
|
2922
|
+
const localExtensionsToInstall = ( selectedItems.filter(r => !!r.extension).map(r => r.extension));
|
|
2923
|
+
if (localExtensionsToInstall.length) {
|
|
2924
|
+
await this.progressService.withProgress({
|
|
2925
|
+
location: ProgressLocation.Notification,
|
|
2926
|
+
title: ( localize(7620, "Installing Extensions..."))
|
|
2927
|
+
}, () => this.installExtensions(localExtensionsToInstall));
|
|
2928
|
+
this.notificationService.info(( localize(7621, "Successfully installed extensions.")));
|
|
2929
|
+
}
|
|
2930
|
+
}
|
|
2931
|
+
}
|
|
2932
|
+
};
|
|
2933
|
+
AbstractInstallExtensionsInServerAction = ( __decorate([
|
|
2934
|
+
( __param(1, IExtensionsWorkbenchService)),
|
|
2935
|
+
( __param(2, IQuickInputService)),
|
|
2936
|
+
( __param(3, INotificationService)),
|
|
2937
|
+
( __param(4, IProgressService))
|
|
2938
|
+
], AbstractInstallExtensionsInServerAction));
|
|
2939
|
+
let InstallLocalExtensionsInRemoteAction = class InstallLocalExtensionsInRemoteAction extends AbstractInstallExtensionsInServerAction {
|
|
2940
|
+
constructor(extensionsWorkbenchService, quickInputService, progressService, notificationService, extensionManagementServerService, extensionGalleryService, instantiationService, fileService, logService) {
|
|
2941
|
+
super('workbench.extensions.actions.installLocalExtensionsInRemote', extensionsWorkbenchService, quickInputService, notificationService, progressService);
|
|
2942
|
+
this.extensionManagementServerService = extensionManagementServerService;
|
|
2943
|
+
this.extensionGalleryService = extensionGalleryService;
|
|
2944
|
+
this.instantiationService = instantiationService;
|
|
2945
|
+
this.fileService = fileService;
|
|
2946
|
+
this.logService = logService;
|
|
2947
|
+
}
|
|
2948
|
+
get label() {
|
|
2949
|
+
if (this.extensionManagementServerService && this.extensionManagementServerService.remoteExtensionManagementServer) {
|
|
2950
|
+
return localize(
|
|
2951
|
+
7622,
|
|
2952
|
+
"Install Local Extensions in '{0}'...",
|
|
2953
|
+
this.extensionManagementServerService.remoteExtensionManagementServer.label
|
|
2954
|
+
);
|
|
2955
|
+
}
|
|
2956
|
+
return '';
|
|
2957
|
+
}
|
|
2958
|
+
getQuickPickTitle() {
|
|
2959
|
+
return localize(
|
|
2960
|
+
7623,
|
|
2961
|
+
"Install Local Extensions in '{0}'",
|
|
2962
|
+
this.extensionManagementServerService.remoteExtensionManagementServer.label
|
|
2963
|
+
);
|
|
2964
|
+
}
|
|
2965
|
+
getExtensionsToInstall(local) {
|
|
2966
|
+
return local.filter(extension => {
|
|
2967
|
+
const action = this.instantiationService.createInstance(RemoteInstallAction, true);
|
|
2968
|
+
action.extension = extension;
|
|
2969
|
+
return action.enabled;
|
|
2970
|
+
});
|
|
2971
|
+
}
|
|
2972
|
+
async installExtensions(localExtensionsToInstall) {
|
|
2973
|
+
const galleryExtensions = [];
|
|
2974
|
+
const vsixs = [];
|
|
2975
|
+
const targetPlatform = await this.extensionManagementServerService.remoteExtensionManagementServer.extensionManagementService.getTargetPlatform();
|
|
2976
|
+
await Promises.settled(( localExtensionsToInstall.map(async (extension) => {
|
|
2977
|
+
if (this.extensionGalleryService.isEnabled()) {
|
|
2978
|
+
const gallery = (await this.extensionGalleryService.getExtensions([{ ...extension.identifier, preRelease: !!extension.local?.preRelease }], { targetPlatform, compatible: true }, CancellationToken.None))[0];
|
|
2979
|
+
if (gallery) {
|
|
2980
|
+
galleryExtensions.push(gallery);
|
|
2981
|
+
return;
|
|
2982
|
+
}
|
|
2983
|
+
}
|
|
2984
|
+
const vsix = await this.extensionManagementServerService.localExtensionManagementServer.extensionManagementService.zip(extension.local);
|
|
2985
|
+
vsixs.push(vsix);
|
|
2986
|
+
})));
|
|
2987
|
+
await Promises.settled(( galleryExtensions.map(
|
|
2988
|
+
gallery => this.extensionManagementServerService.remoteExtensionManagementServer.extensionManagementService.installFromGallery(gallery)
|
|
2989
|
+
)));
|
|
2990
|
+
try {
|
|
2991
|
+
await Promises.settled(( vsixs.map(
|
|
2992
|
+
vsix => this.extensionManagementServerService.remoteExtensionManagementServer.extensionManagementService.install(vsix)
|
|
2993
|
+
)));
|
|
2994
|
+
}
|
|
2995
|
+
finally {
|
|
2996
|
+
try {
|
|
2997
|
+
await Promise.allSettled(( vsixs.map(vsix => this.fileService.del(vsix))));
|
|
2998
|
+
}
|
|
2999
|
+
catch (error) {
|
|
3000
|
+
this.logService.error(error);
|
|
3001
|
+
}
|
|
3002
|
+
}
|
|
3003
|
+
}
|
|
3004
|
+
};
|
|
3005
|
+
InstallLocalExtensionsInRemoteAction = ( __decorate([
|
|
3006
|
+
( __param(0, IExtensionsWorkbenchService)),
|
|
3007
|
+
( __param(1, IQuickInputService)),
|
|
3008
|
+
( __param(2, IProgressService)),
|
|
3009
|
+
( __param(3, INotificationService)),
|
|
3010
|
+
( __param(4, IExtensionManagementServerService)),
|
|
3011
|
+
( __param(5, IExtensionGalleryService)),
|
|
3012
|
+
( __param(6, IInstantiationService)),
|
|
3013
|
+
( __param(7, IFileService)),
|
|
3014
|
+
( __param(8, ILogService))
|
|
3015
|
+
], InstallLocalExtensionsInRemoteAction));
|
|
3016
|
+
let InstallRemoteExtensionsInLocalAction = class InstallRemoteExtensionsInLocalAction extends AbstractInstallExtensionsInServerAction {
|
|
3017
|
+
constructor(id, extensionsWorkbenchService, quickInputService, progressService, notificationService, extensionManagementServerService, extensionGalleryService, fileService, logService) {
|
|
3018
|
+
super(id, extensionsWorkbenchService, quickInputService, notificationService, progressService);
|
|
3019
|
+
this.extensionManagementServerService = extensionManagementServerService;
|
|
3020
|
+
this.extensionGalleryService = extensionGalleryService;
|
|
3021
|
+
this.fileService = fileService;
|
|
3022
|
+
this.logService = logService;
|
|
3023
|
+
}
|
|
3024
|
+
get label() {
|
|
3025
|
+
return localize(7624, "Install Remote Extensions Locally...");
|
|
3026
|
+
}
|
|
3027
|
+
getQuickPickTitle() {
|
|
3028
|
+
return localize(7625, "Install Remote Extensions Locally");
|
|
3029
|
+
}
|
|
3030
|
+
getExtensionsToInstall(local) {
|
|
3031
|
+
return local.filter(extension => extension.type === ExtensionType.User && extension.server !== this.extensionManagementServerService.localExtensionManagementServer
|
|
3032
|
+
&& !( this.extensionsWorkbenchService.installed.some(
|
|
3033
|
+
e => e.server === this.extensionManagementServerService.localExtensionManagementServer && areSameExtensions(e.identifier, extension.identifier)
|
|
3034
|
+
)));
|
|
3035
|
+
}
|
|
3036
|
+
async installExtensions(extensions) {
|
|
3037
|
+
const galleryExtensions = [];
|
|
3038
|
+
const vsixs = [];
|
|
3039
|
+
const targetPlatform = await this.extensionManagementServerService.localExtensionManagementServer.extensionManagementService.getTargetPlatform();
|
|
3040
|
+
await Promises.settled(( extensions.map(async (extension) => {
|
|
3041
|
+
if (this.extensionGalleryService.isEnabled()) {
|
|
3042
|
+
const gallery = (await this.extensionGalleryService.getExtensions([{ ...extension.identifier, preRelease: !!extension.local?.preRelease }], { targetPlatform, compatible: true }, CancellationToken.None))[0];
|
|
3043
|
+
if (gallery) {
|
|
3044
|
+
galleryExtensions.push(gallery);
|
|
3045
|
+
return;
|
|
3046
|
+
}
|
|
3047
|
+
}
|
|
3048
|
+
const vsix = await this.extensionManagementServerService.remoteExtensionManagementServer.extensionManagementService.zip(extension.local);
|
|
3049
|
+
vsixs.push(vsix);
|
|
3050
|
+
})));
|
|
3051
|
+
await Promises.settled(( galleryExtensions.map(
|
|
3052
|
+
gallery => this.extensionManagementServerService.localExtensionManagementServer.extensionManagementService.installFromGallery(gallery)
|
|
3053
|
+
)));
|
|
3054
|
+
try {
|
|
3055
|
+
await Promises.settled(( vsixs.map(
|
|
3056
|
+
vsix => this.extensionManagementServerService.localExtensionManagementServer.extensionManagementService.install(vsix)
|
|
3057
|
+
)));
|
|
3058
|
+
}
|
|
3059
|
+
finally {
|
|
3060
|
+
try {
|
|
3061
|
+
await Promise.allSettled(( vsixs.map(vsix => this.fileService.del(vsix))));
|
|
3062
|
+
}
|
|
3063
|
+
catch (error) {
|
|
3064
|
+
this.logService.error(error);
|
|
3065
|
+
}
|
|
3066
|
+
}
|
|
3067
|
+
}
|
|
3068
|
+
};
|
|
3069
|
+
InstallRemoteExtensionsInLocalAction = ( __decorate([
|
|
3070
|
+
( __param(1, IExtensionsWorkbenchService)),
|
|
3071
|
+
( __param(2, IQuickInputService)),
|
|
3072
|
+
( __param(3, IProgressService)),
|
|
3073
|
+
( __param(4, INotificationService)),
|
|
3074
|
+
( __param(5, IExtensionManagementServerService)),
|
|
3075
|
+
( __param(6, IExtensionGalleryService)),
|
|
3076
|
+
( __param(7, IFileService)),
|
|
3077
|
+
( __param(8, ILogService))
|
|
3078
|
+
], InstallRemoteExtensionsInLocalAction));
|
|
3079
|
+
CommandsRegistry.registerCommand('workbench.extensions.action.showExtensionsForLanguage', function (accessor, fileExtension) {
|
|
3080
|
+
const extensionsWorkbenchService = accessor.get(IExtensionsWorkbenchService);
|
|
3081
|
+
return extensionsWorkbenchService.openSearch(`ext:${fileExtension.replace(/^\./, '')}`);
|
|
3082
|
+
});
|
|
3083
|
+
const showExtensionsWithIdsCommandId = 'workbench.extensions.action.showExtensionsWithIds';
|
|
3084
|
+
CommandsRegistry.registerCommand(showExtensionsWithIdsCommandId, function (accessor, extensionIds) {
|
|
3085
|
+
const extensionsWorkbenchService = accessor.get(IExtensionsWorkbenchService);
|
|
3086
|
+
return extensionsWorkbenchService.openSearch(( extensionIds.map(id => `@id:${id}`)).join(' '));
|
|
3087
|
+
});
|
|
3088
|
+
registerColor('extensionButton.background', {
|
|
3089
|
+
dark: buttonBackground,
|
|
3090
|
+
light: buttonBackground,
|
|
3091
|
+
hcDark: null,
|
|
3092
|
+
hcLight: null
|
|
3093
|
+
}, ( localize(7626, "Button background color for extension actions.")));
|
|
3094
|
+
registerColor('extensionButton.foreground', {
|
|
3095
|
+
dark: buttonForeground,
|
|
3096
|
+
light: buttonForeground,
|
|
3097
|
+
hcDark: null,
|
|
3098
|
+
hcLight: null
|
|
3099
|
+
}, ( localize(7627, "Button foreground color for extension actions.")));
|
|
3100
|
+
registerColor('extensionButton.hoverBackground', {
|
|
3101
|
+
dark: buttonHoverBackground,
|
|
3102
|
+
light: buttonHoverBackground,
|
|
3103
|
+
hcDark: null,
|
|
3104
|
+
hcLight: null
|
|
3105
|
+
}, ( localize(7628, "Button background hover color for extension actions.")));
|
|
3106
|
+
registerColor('extensionButton.separator', buttonSeparator, ( localize(7629, "Button separator color for extension actions")));
|
|
3107
|
+
const extensionButtonProminentBackground = registerColor('extensionButton.prominentBackground', {
|
|
3108
|
+
dark: buttonBackground,
|
|
3109
|
+
light: buttonBackground,
|
|
3110
|
+
hcDark: null,
|
|
3111
|
+
hcLight: null
|
|
3112
|
+
}, ( localize(
|
|
3113
|
+
7630,
|
|
3114
|
+
"Button background color for extension actions that stand out (e.g. install button)."
|
|
3115
|
+
)));
|
|
3116
|
+
registerColor('extensionButton.prominentForeground', {
|
|
3117
|
+
dark: buttonForeground,
|
|
3118
|
+
light: buttonForeground,
|
|
3119
|
+
hcDark: null,
|
|
3120
|
+
hcLight: null
|
|
3121
|
+
}, ( localize(
|
|
3122
|
+
7631,
|
|
3123
|
+
"Button foreground color for extension actions that stand out (e.g. install button)."
|
|
3124
|
+
)));
|
|
3125
|
+
registerColor('extensionButton.prominentHoverBackground', {
|
|
3126
|
+
dark: buttonHoverBackground,
|
|
3127
|
+
light: buttonHoverBackground,
|
|
3128
|
+
hcDark: null,
|
|
3129
|
+
hcLight: null
|
|
3130
|
+
}, ( localize(
|
|
3131
|
+
7632,
|
|
3132
|
+
"Button background hover color for extension actions that stand out (e.g. install button)."
|
|
3133
|
+
)));
|
|
3134
|
+
registerThemingParticipant((theme, collector) => {
|
|
3135
|
+
const errorColor = theme.getColor(editorErrorForeground);
|
|
3136
|
+
if (errorColor) {
|
|
3137
|
+
collector.addRule(`.extension-editor .header .actions-status-container > .status ${ThemeIcon.asCSSSelector(errorIcon)} { color: ${errorColor}; }`);
|
|
3138
|
+
collector.addRule(`.extension-editor .body .subcontent .runtime-status ${ThemeIcon.asCSSSelector(errorIcon)} { color: ${errorColor}; }`);
|
|
3139
|
+
collector.addRule(`.monaco-hover.extension-hover .markdown-hover .hover-contents ${ThemeIcon.asCSSSelector(errorIcon)} { color: ${errorColor}; }`);
|
|
3140
|
+
}
|
|
3141
|
+
const warningColor = theme.getColor(editorWarningForeground);
|
|
3142
|
+
if (warningColor) {
|
|
3143
|
+
collector.addRule(`.extension-editor .header .actions-status-container > .status ${ThemeIcon.asCSSSelector(warningIcon)} { color: ${warningColor}; }`);
|
|
3144
|
+
collector.addRule(`.extension-editor .body .subcontent .runtime-status ${ThemeIcon.asCSSSelector(warningIcon)} { color: ${warningColor}; }`);
|
|
3145
|
+
collector.addRule(`.monaco-hover.extension-hover .markdown-hover .hover-contents ${ThemeIcon.asCSSSelector(warningIcon)} { color: ${warningColor}; }`);
|
|
3146
|
+
}
|
|
3147
|
+
const infoColor = theme.getColor(editorInfoForeground);
|
|
3148
|
+
if (infoColor) {
|
|
3149
|
+
collector.addRule(`.extension-editor .header .actions-status-container > .status ${ThemeIcon.asCSSSelector(infoIcon)} { color: ${infoColor}; }`);
|
|
3150
|
+
collector.addRule(`.extension-editor .body .subcontent .runtime-status ${ThemeIcon.asCSSSelector(infoIcon)} { color: ${infoColor}; }`);
|
|
3151
|
+
collector.addRule(`.monaco-hover.extension-hover .markdown-hover .hover-contents ${ThemeIcon.asCSSSelector(infoIcon)} { color: ${infoColor}; }`);
|
|
3152
|
+
}
|
|
3153
|
+
});
|
|
3154
|
+
|
|
3155
|
+
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, RemoteInstallAction, SetColorThemeAction, SetFileIconThemeAction, SetLanguageAction, SetProductIconThemeAction, ShowRecommendedExtensionAction, ToggleAutoUpdateForExtensionAction, ToggleAutoUpdatesForPublisherAction, TogglePreReleaseExtensionAction, ToggleSyncExtensionAction, UndoIgnoreExtensionRecommendationAction, UninstallAction, UpdateAction, WebInstallAction, extensionButtonProminentBackground, getContextMenuActions, showExtensionsWithIdsCommandId };
|