@codingame/monaco-vscode-api 1.82.4 → 1.82.5-next.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.d.ts +3 -3
- package/external/xterm/typings/xterm.d.ts +1729 -0
- package/external/xterm-addon-canvas/typings/xterm-addon-canvas.d.ts +38 -0
- package/external/xterm-addon-image/typings/xterm-addon-image.d.ts +115 -0
- package/external/xterm-addon-search/typings/xterm-addon-search.d.ts +141 -0
- package/external/xterm-addon-serialize/typings/xterm-addon-serialize.d.ts +83 -0
- package/external/xterm-addon-unicode11/typings/xterm-addon-unicode11.d.ts +9 -0
- package/external/xterm-addon-webgl/typings/xterm-addon-webgl.d.ts +43 -0
- package/external/xterm-headless/typings/xterm-headless.d.ts +49 -0
- package/missing-services.js +0 -1
- package/monaco-editor-treemending.patch +1026 -1026
- package/package.json +21 -1
- package/service-override/bulkEdit.js +0 -1
- package/service-override/environment.js +0 -1
- package/service-override/extensions.js +1 -1
- package/service-override/files.js +0 -1
- package/service-override/keybindings.js +1 -6
- package/service-override/layout.js +0 -1
- package/service-override/output.js +0 -1
- package/service-override/quickaccess.js +0 -1
- package/services.js +10 -0
- package/vscode/src/vs/platform/terminal/common/capabilities/commandDetectionCapability.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/xtermTerminal.d.ts +7 -7
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm-private.d.ts +1 -1
- package/README.md +0 -392
- package/override/vs/workbench/contrib/notebook/browser/notebookEditor.js +0 -2
- package/service-override/accessibility.d.ts +0 -5
- package/service-override/accessibility.js +0 -11
- package/service-override/audioCue.d.ts +0 -5
- package/service-override/audioCue.js +0 -13
- package/service-override/bulkEdit.d.ts +0 -5
- package/service-override/configuration.d.ts +0 -17
- package/service-override/configuration.js +0 -117
- package/service-override/debug.d.ts +0 -5
- package/service-override/debug.js +0 -23
- package/service-override/dialogs.d.ts +0 -5
- package/service-override/dialogs.js +0 -57
- package/service-override/editor.d.ts +0 -10
- package/service-override/editor.js +0 -37
- package/service-override/environment.d.ts +0 -6
- package/service-override/extensions.d.ts +0 -50
- package/service-override/files.d.ts +0 -103
- package/service-override/keybindings.d.ts +0 -10
- package/service-override/languageDetectionWorker.d.ts +0 -5
- package/service-override/languageDetectionWorker.js +0 -15
- package/service-override/languages.d.ts +0 -11
- package/service-override/languages.js +0 -27
- package/service-override/layout.d.ts +0 -71
- package/service-override/lifecycle.d.ts +0 -5
- package/service-override/lifecycle.js +0 -10
- package/service-override/markers.d.ts +0 -5
- package/service-override/markers.js +0 -6
- package/service-override/model.d.ts +0 -5
- package/service-override/model.js +0 -10
- package/service-override/notifications.d.ts +0 -5
- package/service-override/notifications.js +0 -34
- package/service-override/output.d.ts +0 -6
- package/service-override/preferences.d.ts +0 -5
- package/service-override/preferences.js +0 -16
- package/service-override/quickaccess.d.ts +0 -10
- package/service-override/remoteAgent.d.ts +0 -6
- package/service-override/remoteAgent.js +0 -42
- package/service-override/search.d.ts +0 -5
- package/service-override/search.js +0 -19
- package/service-override/snippets.d.ts +0 -9
- package/service-override/snippets.js +0 -21
- package/service-override/storage.d.ts +0 -40
- package/service-override/storage.js +0 -116
- package/service-override/terminal.d.ts +0 -69
- package/service-override/terminal.js +0 -117
- package/service-override/textmate.d.ts +0 -6
- package/service-override/textmate.js +0 -41
- package/service-override/theme.d.ts +0 -7
- package/service-override/theme.js +0 -26
- package/service-override/viewBanner.d.ts +0 -6
- package/service-override/viewBanner.js +0 -10
- package/service-override/viewStatusBar.d.ts +0 -6
- package/service-override/viewStatusBar.js +0 -10
- package/service-override/viewTitleBar.d.ts +0 -6
- package/service-override/viewTitleBar.js +0 -10
- package/service-override/views.d.ts +0 -74
- package/service-override/views.js +0 -511
- package/service-override/workspaceTrust.d.ts +0 -5
- package/service-override/workspaceTrust.js +0 -13
- package/vscode/src/vs/base/browser/broadcast.js +0 -52
- package/vscode/src/vs/base/browser/indexedDB.d.ts +0 -17
- package/vscode/src/vs/base/browser/ui/centered/centeredViewLayout.js +0 -178
- package/vscode/src/vs/base/browser/ui/grid/grid.js +0 -465
- package/vscode/src/vs/base/browser/ui/grid/gridview.css.js +0 -4
- package/vscode/src/vs/base/browser/ui/grid/gridview.js +0 -977
- package/vscode/src/vs/base/browser/ui/toolbar/toolbar.d.ts +0 -60
- package/vscode/src/vs/base/browser/ui/tree/treeDefaults.js +0 -14
- package/vscode/src/vs/base/common/codicons.d.ts +0 -556
- package/vscode/src/vs/base/common/processes.js +0 -24
- package/vscode/src/vs/editor/common/services/languageFeaturesService.js +0 -42
- package/vscode/src/vs/editor/common/services/modelUndoRedoParticipant.js +0 -56
- package/vscode/src/vs/editor/common/services/textResourceConfigurationService.js +0 -116
- package/vscode/src/vs/platform/actions/browser/toolbar.d.ts +0 -67
- package/vscode/src/vs/platform/audioCues/browser/media/all.mp3.js +0 -20
- package/vscode/src/vs/platform/configuration/common/configurationRegistry.js +0 -10
- package/vscode/src/vs/platform/download/common/downloadIpc.js +0 -16
- package/vscode/src/vs/platform/files/browser/htmlFileSystemProvider.d.ts +0 -43
- package/vscode/src/vs/platform/files/common/diskFileSystemProviderClient.js +0 -136
- package/vscode/src/vs/platform/files/common/inMemoryFilesystemProvider.d.ts +0 -50
- package/vscode/src/vs/platform/log/common/logIpc.js +0 -24
- package/vscode/src/vs/platform/quickinput/browser/quickPickPin.js +0 -94
- package/vscode/src/vs/platform/remote/browser/browserSocketFactory.js +0 -193
- package/vscode/src/vs/platform/remote/browser/remoteAuthorityResolverService.js +0 -107
- package/vscode/src/vs/platform/terminal/common/capabilities/bufferMarkCapability.js +0 -41
- package/vscode/src/vs/platform/terminal/common/capabilities/commandDetectionCapability.js +0 -566
- package/vscode/src/vs/platform/terminal/common/capabilities/cwdDetectionCapability.js +0 -29
- package/vscode/src/vs/platform/terminal/common/capabilities/naiveCwdDetectionCapability.js +0 -22
- package/vscode/src/vs/platform/terminal/common/capabilities/partialCommandDetectionCapability.js +0 -46
- package/vscode/src/vs/platform/terminal/common/capabilities/terminalCapabilityStore.js +0 -94
- package/vscode/src/vs/platform/terminal/common/environmentVariable.js +0 -7
- package/vscode/src/vs/platform/terminal/common/environmentVariableCollection.js +0 -196
- package/vscode/src/vs/platform/terminal/common/terminalEnvironment.js +0 -37
- package/vscode/src/vs/platform/terminal/common/terminalLogService.js +0 -42
- package/vscode/src/vs/platform/terminal/common/terminalPlatformConfiguration.js +0 -467
- package/vscode/src/vs/platform/terminal/common/terminalProfiles.js +0 -107
- package/vscode/src/vs/platform/terminal/common/terminalRecorder.js +0 -66
- package/vscode/src/vs/platform/terminal/common/terminalStrings.js +0 -16
- package/vscode/src/vs/platform/terminal/common/xterm/shellIntegrationAddon.js +0 -319
- package/vscode/src/vs/platform/userDataSync/common/settingsMerge.js +0 -40
- package/vscode/src/vs/platform/webview/common/mimeTypes.js +0 -22
- package/vscode/src/vs/platform/webview/common/webviewPortMapping.js +0 -62
- package/vscode/src/vs/workbench/api/browser/viewsExtensionPoint.js +0 -699
- package/vscode/src/vs/workbench/api/common/configurationExtensionPoint.js +0 -450
- package/vscode/src/vs/workbench/api/common/extHost.api.impl.d.ts +0 -14
- package/vscode/src/vs/workbench/api/common/extHost.protocol.d.ts +0 -236
- package/vscode/src/vs/workbench/api/common/extHostConfiguration.d.ts +0 -43
- package/vscode/src/vs/workbench/api/common/extHostExtensionActivator.d.ts +0 -33
- package/vscode/src/vs/workbench/api/common/extHostExtensionService.d.ts +0 -138
- package/vscode/src/vs/workbench/api/common/extHostFileSystemInfo.d.ts +0 -21
- package/vscode/src/vs/workbench/api/common/extHostInitDataService.d.ts +0 -9
- package/vscode/src/vs/workbench/api/common/extHostLocalizationService.d.ts +0 -29
- package/vscode/src/vs/workbench/api/common/extHostManagedSockets.d.ts +0 -11
- package/vscode/src/vs/workbench/api/common/extHostRpcService.d.ts +0 -9
- package/vscode/src/vs/workbench/api/common/extHostStoragePaths.d.ts +0 -14
- package/vscode/src/vs/workbench/api/common/extHostTerminalService.d.ts +0 -53
- package/vscode/src/vs/workbench/api/common/extHostTunnelService.d.ts +0 -19
- package/vscode/src/vs/workbench/api/common/extHostTypes.d.ts +0 -12
- package/vscode/src/vs/workbench/api/common/extHostUriTransformerService.d.ts +0 -9
- package/vscode/src/vs/workbench/api/common/extHostWorkspace.d.ts +0 -91
- package/vscode/src/vs/workbench/api/worker/extHostExtensionService.d.ts +0 -21
- package/vscode/src/vs/workbench/browser/actions/listCommands.js +0 -605
- package/vscode/src/vs/workbench/browser/parts/activitybar/activitybarActions.js +0 -597
- package/vscode/src/vs/workbench/browser/parts/activitybar/activitybarPart.d.ts +0 -116
- package/vscode/src/vs/workbench/browser/parts/activitybar/activitybarPart.js +0 -783
- package/vscode/src/vs/workbench/browser/parts/activitybar/media/activityaction.css.js +0 -4
- package/vscode/src/vs/workbench/browser/parts/activitybar/media/activitybarpart.css.js +0 -4
- package/vscode/src/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarPart.js +0 -88
- package/vscode/src/vs/workbench/browser/parts/auxiliarybar/media/auxiliaryBarPart.css.js +0 -4
- package/vscode/src/vs/workbench/browser/parts/banner/bannerPart.js +0 -228
- package/vscode/src/vs/workbench/browser/parts/banner/media/bannerpart.css.js +0 -4
- package/vscode/src/vs/workbench/browser/parts/compositeBar.js +0 -691
- package/vscode/src/vs/workbench/browser/parts/compositeBarActions.d.ts +0 -7
- package/vscode/src/vs/workbench/browser/parts/compositePart.d.ts +0 -84
- package/vscode/src/vs/workbench/browser/parts/compositePart.js +0 -318
- package/vscode/src/vs/workbench/browser/parts/dialogs/dialog.web.contribution.js +0 -69
- package/vscode/src/vs/workbench/browser/parts/dialogs/dialogHandler.js +0 -127
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsControl.js +0 -692
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsModel.js +0 -141
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsPicker.js +0 -414
- package/vscode/src/vs/workbench/browser/parts/editor/editorDropTarget.js +0 -507
- package/vscode/src/vs/workbench/browser/parts/editor/editorGroupView.js +0 -1233
- package/vscode/src/vs/workbench/browser/parts/editor/editorGroupWatermark.js +0 -133
- package/vscode/src/vs/workbench/browser/parts/editor/editorPanes.js +0 -306
- package/vscode/src/vs/workbench/browser/parts/editor/editorPart.js +0 -850
- package/vscode/src/vs/workbench/browser/parts/editor/media/breadcrumbscontrol.css.js +0 -4
- package/vscode/src/vs/workbench/browser/parts/editor/media/editordroptarget.css.js +0 -4
- package/vscode/src/vs/workbench/browser/parts/editor/media/editorgroupview.css.js +0 -4
- package/vscode/src/vs/workbench/browser/parts/editor/media/notabstitlecontrol.css.js +0 -4
- package/vscode/src/vs/workbench/browser/parts/editor/media/tabstitlecontrol.css.js +0 -4
- package/vscode/src/vs/workbench/browser/parts/editor/media/titlecontrol.css.js +0 -4
- package/vscode/src/vs/workbench/browser/parts/editor/noTabsTitleControl.js +0 -247
- package/vscode/src/vs/workbench/browser/parts/editor/tabsTitleControl.js +0 -1569
- package/vscode/src/vs/workbench/browser/parts/editor/titleControl.js +0 -292
- package/vscode/src/vs/workbench/browser/parts/media/compositepart.css.js +0 -4
- package/vscode/src/vs/workbench/browser/parts/notifications/media/notificationsActions.css.js +0 -4
- package/vscode/src/vs/workbench/browser/parts/notifications/media/notificationsCenter.css.js +0 -4
- package/vscode/src/vs/workbench/browser/parts/notifications/media/notificationsList.css.js +0 -4
- package/vscode/src/vs/workbench/browser/parts/notifications/media/notificationsToasts.css.js +0 -4
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsActions.js +0 -124
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsAlerts.js +0 -58
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCenter.js +0 -227
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsList.js +0 -212
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsToasts.js +0 -419
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsViewer.js +0 -398
- package/vscode/src/vs/workbench/browser/parts/paneCompositePart.js +0 -78
- package/vscode/src/vs/workbench/browser/parts/panel/media/basepanelpart.css.js +0 -4
- package/vscode/src/vs/workbench/browser/parts/panel/panelPart.d.ts +0 -134
- package/vscode/src/vs/workbench/browser/parts/panel/panelPart.js +0 -756
- package/vscode/src/vs/workbench/browser/parts/sidebar/media/sidebarpart.css.js +0 -4
- package/vscode/src/vs/workbench/browser/parts/sidebar/sidebarPart.d.ts +0 -59
- package/vscode/src/vs/workbench/browser/parts/sidebar/sidebarPart.js +0 -217
- package/vscode/src/vs/workbench/browser/parts/statusbar/media/statusbarpart.css.js +0 -4
- package/vscode/src/vs/workbench/browser/parts/statusbar/statusbarActions.js +0 -109
- package/vscode/src/vs/workbench/browser/parts/statusbar/statusbarItem.js +0 -234
- package/vscode/src/vs/workbench/browser/parts/statusbar/statusbarModel.js +0 -249
- package/vscode/src/vs/workbench/browser/parts/statusbar/statusbarPart.js +0 -439
- package/vscode/src/vs/workbench/browser/parts/titlebar/commandCenterControl.js +0 -134
- package/vscode/src/vs/workbench/browser/parts/titlebar/media/titlebarpart.css.js +0 -4
- package/vscode/src/vs/workbench/browser/parts/titlebar/menubarControl.d.ts +0 -115
- package/vscode/src/vs/workbench/browser/parts/titlebar/titlebarPart.d.ts +0 -77
- package/vscode/src/vs/workbench/browser/parts/titlebar/titlebarPart.js +0 -365
- package/vscode/src/vs/workbench/browser/parts/titlebar/windowTitle.js +0 -216
- package/vscode/src/vs/workbench/browser/parts/views/checkbox.js +0 -104
- package/vscode/src/vs/workbench/browser/parts/views/media/views.css.js +0 -4
- package/vscode/src/vs/workbench/browser/parts/views/treeView.js +0 -1589
- package/vscode/src/vs/workbench/common/activity.js +0 -3
- package/vscode/src/vs/workbench/common/dialogs.js +0 -31
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibility.contribution.js +0 -13
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityContributions.js +0 -312
- package/vscode/src/vs/workbench/contrib/accessibility/browser/unfocusedViewDimmingContribution.js +0 -63
- package/vscode/src/vs/workbench/contrib/audioCues/browser/audioCueDebuggerContribution.js +0 -45
- package/vscode/src/vs/workbench/contrib/audioCues/browser/audioCueLineFeatureContribution.js +0 -170
- package/vscode/src/vs/workbench/contrib/audioCues/browser/audioCues.contribution.js +0 -181
- package/vscode/src/vs/workbench/contrib/audioCues/browser/commands.js +0 -49
- package/vscode/src/vs/workbench/contrib/callHierarchy/browser/callHierarchy.contribution.js +0 -262
- package/vscode/src/vs/workbench/contrib/callHierarchy/browser/callHierarchyPeek.js +0 -339
- package/vscode/src/vs/workbench/contrib/callHierarchy/browser/callHierarchyTree.js +0 -119
- package/vscode/src/vs/workbench/contrib/callHierarchy/browser/media/callHierarchy.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/accessibility/accessibility.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/accessibility/accessibility.js +0 -35
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/find/simpleFindWidget.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/find/simpleFindWidget.js +0 -345
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/outline/documentSymbolsOutline.js +0 -362
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/outline/documentSymbolsTree.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/outline/documentSymbolsTree.js +0 -255
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/suggestEnabledInput/suggestEnabledInput.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/suggestEnabledInput/suggestEnabledInput.js +0 -249
- package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditor.contribution.js +0 -14
- package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditorInputFactory.js +0 -137
- package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditors.js +0 -212
- package/vscode/src/vs/workbench/contrib/customEditor/browser/media/customEditor.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/customEditor/common/contributedCustomEditors.js +0 -72
- package/vscode/src/vs/workbench/contrib/customEditor/common/customEditorModelManager.js +0 -61
- package/vscode/src/vs/workbench/contrib/customEditor/common/extensionPoint.js +0 -106
- package/vscode/src/vs/workbench/contrib/debug/browser/baseDebugView.js +0 -198
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointEditorContribution.js +0 -783
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointWidget.js +0 -397
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointsView.js +0 -1296
- package/vscode/src/vs/workbench/contrib/debug/browser/callStackEditorContribution.js +0 -176
- package/vscode/src/vs/workbench/contrib/debug/browser/callStackView.js +0 -958
- package/vscode/src/vs/workbench/contrib/debug/browser/debug.contribution.js +0 -496
- package/vscode/src/vs/workbench/contrib/debug/browser/debugANSIHandling.js +0 -345
- package/vscode/src/vs/workbench/contrib/debug/browser/debugActionViewItems.js +0 -297
- package/vscode/src/vs/workbench/contrib/debug/browser/debugAdapterManager.js +0 -398
- package/vscode/src/vs/workbench/contrib/debug/browser/debugCommands.js +0 -825
- package/vscode/src/vs/workbench/contrib/debug/browser/debugConfigurationManager.js +0 -619
- package/vscode/src/vs/workbench/contrib/debug/browser/debugConsoleQuickAccess.js +0 -58
- package/vscode/src/vs/workbench/contrib/debug/browser/debugEditorActions.js +0 -525
- package/vscode/src/vs/workbench/contrib/debug/browser/debugEditorContribution.js +0 -679
- package/vscode/src/vs/workbench/contrib/debug/browser/debugHover.js +0 -354
- package/vscode/src/vs/workbench/contrib/debug/browser/debugMemory.js +0 -204
- package/vscode/src/vs/workbench/contrib/debug/browser/debugProgress.js +0 -80
- package/vscode/src/vs/workbench/contrib/debug/browser/debugQuickAccess.js +0 -141
- package/vscode/src/vs/workbench/contrib/debug/browser/debugService.js +0 -1172
- package/vscode/src/vs/workbench/contrib/debug/browser/debugSession.js +0 -1142
- package/vscode/src/vs/workbench/contrib/debug/browser/debugSessionPicker.js +0 -104
- package/vscode/src/vs/workbench/contrib/debug/browser/debugStatus.js +0 -66
- package/vscode/src/vs/workbench/contrib/debug/browser/debugTaskRunner.js +0 -273
- package/vscode/src/vs/workbench/contrib/debug/browser/debugToolBar.js +0 -312
- package/vscode/src/vs/workbench/contrib/debug/browser/debugViewlet.js +0 -166
- package/vscode/src/vs/workbench/contrib/debug/browser/disassemblyView.js +0 -661
- package/vscode/src/vs/workbench/contrib/debug/browser/exceptionWidget.js +0 -103
- package/vscode/src/vs/workbench/contrib/debug/browser/linkDetector.js +0 -229
- package/vscode/src/vs/workbench/contrib/debug/browser/loadedScriptsView.js +0 -629
- package/vscode/src/vs/workbench/contrib/debug/browser/media/breakpointWidget.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/debug/browser/media/callStackEditorContribution.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/debug/browser/media/debug.contribution.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/debug/browser/media/debugHover.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/debug/browser/media/debugToolBar.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/debug/browser/media/debugViewlet.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/debug/browser/media/exceptionWidget.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/debug/browser/media/repl.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/debug/browser/rawDebugSession.js +0 -693
- package/vscode/src/vs/workbench/contrib/debug/browser/repl.js +0 -951
- package/vscode/src/vs/workbench/contrib/debug/browser/replFilter.js +0 -46
- package/vscode/src/vs/workbench/contrib/debug/browser/replViewer.js +0 -334
- package/vscode/src/vs/workbench/contrib/debug/browser/statusbarColorProvider.js +0 -96
- package/vscode/src/vs/workbench/contrib/debug/browser/variablesView.js +0 -573
- package/vscode/src/vs/workbench/contrib/debug/browser/watchExpressionsView.js +0 -413
- package/vscode/src/vs/workbench/contrib/debug/browser/welcomeView.js +0 -100
- package/vscode/src/vs/workbench/contrib/debug/common/breakpoints.js +0 -19
- package/vscode/src/vs/workbench/contrib/debug/common/debugCompoundRoot.js +0 -15
- package/vscode/src/vs/workbench/contrib/debug/common/debugContentProvider.js +0 -98
- package/vscode/src/vs/workbench/contrib/debug/common/debugLifecycle.js +0 -57
- package/vscode/src/vs/workbench/contrib/debug/common/debugModel.js +0 -1480
- package/vscode/src/vs/workbench/contrib/debug/common/debugSchemas.js +0 -344
- package/vscode/src/vs/workbench/contrib/debug/common/debugSource.js +0 -121
- package/vscode/src/vs/workbench/contrib/debug/common/debugStorage.js +0 -173
- package/vscode/src/vs/workbench/contrib/debug/common/debugTelemetry.js +0 -34
- package/vscode/src/vs/workbench/contrib/debug/common/debugViewModel.js +0 -115
- package/vscode/src/vs/workbench/contrib/debug/common/debugger.js +0 -258
- package/vscode/src/vs/workbench/contrib/debug/common/disassemblyViewInput.js +0 -25
- package/vscode/src/vs/workbench/contrib/debug/common/loadedScriptsPicker.js +0 -81
- package/vscode/src/vs/workbench/contrib/debug/common/replModel.js +0 -281
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActions.js +0 -2414
- package/vscode/src/vs/workbench/contrib/extensions/browser/media/extensionActions.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsFileTemplate.js +0 -16
- package/vscode/src/vs/workbench/contrib/externalUriOpener/common/externalUriOpener.contribution.js +0 -5
- package/vscode/src/vs/workbench/contrib/files/browser/editors/binaryFileEditor.js +0 -73
- package/vscode/src/vs/workbench/contrib/files/browser/editors/fileEditorHandler.js +0 -36
- package/vscode/src/vs/workbench/contrib/files/browser/editors/fileEditorInput.js +0 -325
- package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileEditor.js +0 -230
- package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileEditorTracker.js +0 -97
- package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileSaveErrorHandler.js +0 -352
- package/vscode/src/vs/workbench/contrib/files/browser/explorerService.js +0 -426
- package/vscode/src/vs/workbench/contrib/files/browser/fileActions.contribution.js +0 -508
- package/vscode/src/vs/workbench/contrib/files/browser/fileCommands.js +0 -615
- package/vscode/src/vs/workbench/contrib/files/browser/files.contribution2.js +0 -94
- package/vscode/src/vs/workbench/contrib/files/browser/workspaceWatcher.js +0 -144
- package/vscode/src/vs/workbench/contrib/files/common/dirtyFilesIndicator.js +0 -53
- package/vscode/src/vs/workbench/contrib/languageDetection/browser/languageDetection.contribution.js +0 -134
- package/vscode/src/vs/workbench/contrib/languageStatus/browser/languageStatus.contribution.js +0 -353
- package/vscode/src/vs/workbench/contrib/languageStatus/browser/media/languageStatus.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/markers/browser/markers.contribution.js +0 -586
- package/vscode/src/vs/workbench/contrib/markers/browser/markersFilterOptions.js +0 -75
- package/vscode/src/vs/workbench/contrib/markers/browser/markersModel.js +0 -200
- package/vscode/src/vs/workbench/contrib/markers/browser/markersTable.js +0 -455
- package/vscode/src/vs/workbench/contrib/markers/browser/markersTreeViewer.js +0 -670
- package/vscode/src/vs/workbench/contrib/markers/browser/markersView.js +0 -873
- package/vscode/src/vs/workbench/contrib/markers/browser/markersViewActions.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/markers/browser/markersViewActions.js +0 -132
- package/vscode/src/vs/workbench/contrib/markers/browser/media/markers.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/markers/browser/messages.js +0 -170
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/findFilters.js +0 -70
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindReplaceWidget.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindReplaceWidget.js +0 -158
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookContextKeys.js +0 -3
- package/vscode/src/vs/workbench/contrib/outline/browser/outline.contribution.js +0 -261
- package/vscode/src/vs/workbench/contrib/outline/browser/outline.js +0 -10
- package/vscode/src/vs/workbench/contrib/outline/browser/outlinePane.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/outline/browser/outlinePane.js +0 -290
- package/vscode/src/vs/workbench/contrib/outline/browser/outlineViewState.js +0 -66
- package/vscode/src/vs/workbench/contrib/output/common/outputLinkComputer.js +0 -129
- package/vscode/src/vs/workbench/contrib/preferences/browser/keybindingWidgets.js +0 -272
- package/vscode/src/vs/workbench/contrib/preferences/browser/keybindingsEditor.js +0 -1102
- package/vscode/src/vs/workbench/contrib/preferences/browser/media/keybindings.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/preferences/browser/media/keybindingsEditor.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/preferences/browser/media/preferences.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/preferences/browser/media/settingsEditor2.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/preferences/browser/media/settingsWidgets.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferences.contribution.js +0 -1213
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesActions.js +0 -94
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesEditor.js +0 -47
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesIcons.js +0 -37
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesRenderers.js +0 -747
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesSearch.js +0 -349
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesWidgets.js +0 -468
- package/vscode/src/vs/workbench/contrib/preferences/browser/settingsEditor2.js +0 -1477
- package/vscode/src/vs/workbench/contrib/preferences/browser/settingsEditorSettingIndicators.js +0 -504
- package/vscode/src/vs/workbench/contrib/preferences/browser/settingsLayout.js +0 -296
- package/vscode/src/vs/workbench/contrib/preferences/browser/settingsSearchMenu.js +0 -79
- package/vscode/src/vs/workbench/contrib/preferences/browser/settingsTree.js +0 -2041
- package/vscode/src/vs/workbench/contrib/preferences/browser/settingsTreeModels.js +0 -771
- package/vscode/src/vs/workbench/contrib/preferences/browser/settingsWidgets.js +0 -1004
- package/vscode/src/vs/workbench/contrib/preferences/browser/tocTree.js +0 -196
- package/vscode/src/vs/workbench/contrib/preferences/common/preferencesContribution.js +0 -151
- package/vscode/src/vs/workbench/contrib/preferences/common/settingsEditorColorRegistry.js +0 -67
- package/vscode/src/vs/workbench/contrib/remote/browser/media/tunnelView.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/remote/browser/remoteExplorer.js +0 -207
- package/vscode/src/vs/workbench/contrib/remote/browser/remoteIcons.js +0 -27
- package/vscode/src/vs/workbench/contrib/remote/browser/tunnelView.js +0 -1666
- package/vscode/src/vs/workbench/contrib/remote/common/remote.contribution.js +0 -481
- package/vscode/src/vs/workbench/contrib/search/browser/anythingQuickAccess.js +0 -759
- package/vscode/src/vs/workbench/contrib/search/browser/media/anythingQuickAccess.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/search/browser/media/searchview.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/search/browser/notebookSearchContributions.js +0 -7
- package/vscode/src/vs/workbench/contrib/search/browser/patternInputWidget.js +0 -220
- package/vscode/src/vs/workbench/contrib/search/browser/quickTextSearch/textSearchQuickAccess.js +0 -232
- package/vscode/src/vs/workbench/contrib/search/browser/replaceContributions.js +0 -7
- package/vscode/src/vs/workbench/contrib/search/browser/replaceService.js +0 -224
- package/vscode/src/vs/workbench/contrib/search/browser/search.contribution.js +0 -513
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsBase.js +0 -46
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsCopy.js +0 -204
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsFind.js +0 -354
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsNav.js +0 -459
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsRemoveReplace.js +0 -365
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsSymbol.js +0 -35
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsTextQuickAccess.js +0 -23
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsTopBar.js +0 -308
- package/vscode/src/vs/workbench/contrib/search/browser/searchFindInput.js +0 -41
- package/vscode/src/vs/workbench/contrib/search/browser/searchIcons.js +0 -39
- package/vscode/src/vs/workbench/contrib/search/browser/searchMessage.js +0 -58
- package/vscode/src/vs/workbench/contrib/search/browser/searchResultsView.js +0 -383
- package/vscode/src/vs/workbench/contrib/search/browser/searchView.js +0 -1916
- package/vscode/src/vs/workbench/contrib/search/browser/searchWidget.js +0 -636
- package/vscode/src/vs/workbench/contrib/search/browser/symbolsQuickAccess.js +0 -220
- package/vscode/src/vs/workbench/contrib/search/common/cacheState.js +0 -85
- package/vscode/src/vs/workbench/contrib/search/common/constants.js +0 -66
- package/vscode/src/vs/workbench/contrib/searchEditor/browser/constants.js +0 -11
- package/vscode/src/vs/workbench/contrib/searchEditor/browser/media/searchEditor.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/searchEditor/browser/searchEditor.contribution.js +0 -477
- package/vscode/src/vs/workbench/contrib/searchEditor/browser/searchEditor.js +0 -700
- package/vscode/src/vs/workbench/contrib/searchEditor/browser/searchEditorActions.js +0 -187
- package/vscode/src/vs/workbench/contrib/searchEditor/browser/searchEditorInput.js +0 -298
- package/vscode/src/vs/workbench/contrib/searchEditor/browser/searchEditorModel.js +0 -135
- package/vscode/src/vs/workbench/contrib/searchEditor/browser/searchEditorSerialization.js +0 -268
- package/vscode/src/vs/workbench/contrib/snippets/browser/commands/abstractSnippetsActions.js +0 -20
- package/vscode/src/vs/workbench/contrib/snippets/browser/commands/configureSnippets.js +0 -264
- package/vscode/src/vs/workbench/contrib/snippets/browser/commands/fileTemplateSnippets.js +0 -87
- package/vscode/src/vs/workbench/contrib/snippets/browser/commands/insertSnippet.js +0 -126
- package/vscode/src/vs/workbench/contrib/snippets/browser/commands/surroundWithSnippet.js +0 -56
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCodeActionProvider.js +0 -136
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetPicker.js +0 -83
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippets.contribution.js +0 -113
- package/vscode/src/vs/workbench/contrib/terminal/browser/baseTerminalBackend.js +0 -101
- package/vscode/src/vs/workbench/contrib/terminal/browser/detachedTerminal.js +0 -54
- package/vscode/src/vs/workbench/contrib/terminal/browser/environmentVariableInfo.js +0 -119
- package/vscode/src/vs/workbench/contrib/terminal/browser/media/scrollbar.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/terminal/browser/media/terminal.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/terminal/browser/media/widgets.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/terminal/browser/media/xterm.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/terminal/browser/remotePty.js +0 -175
- package/vscode/src/vs/workbench/contrib/terminal/browser/remoteTerminalBackend.js +0 -311
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.contribution.js +0 -240
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalActions.js +0 -1964
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalCommands.js +0 -22
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalConfigHelper.js +0 -215
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalContextMenu.js +0 -16
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalEditor.js +0 -186
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalEditorService.js +0 -239
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalEvents.js +0 -47
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalExtensions.js +0 -25
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalGroup.js +0 -482
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalGroupService.js +0 -367
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalIcons.js +0 -37
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalInstance.js +0 -2101
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalInstanceService.js +0 -82
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalMainContribution.js +0 -82
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalMenus.js +0 -762
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalProcessManager.js +0 -617
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalProfileQuickpick.js +0 -278
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalProfileResolverService.js +0 -316
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalProfileService.js +0 -218
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalQuickAccess.js +0 -146
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalRunRecentQuickPick.js +0 -269
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalService.js +0 -1134
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalStatusList.js +0 -108
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalTabbedView.js +0 -420
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalTabsList.js +0 -676
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalTooltip.js +0 -72
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalUri.js +0 -39
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalView.js +0 -598
- package/vscode/src/vs/workbench/contrib/terminal/browser/widgets/widgetManager.js +0 -36
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/decorationAddon.js +0 -469
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/decorationStyles.js +0 -97
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/lineDataEventAddon.js +0 -56
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/markNavigationAddon.js +0 -416
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/suggestAddon.js +0 -390
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/xtermTerminal.js +0 -793
- package/vscode/src/vs/workbench/contrib/terminal/common/environmentVariableService.js +0 -96
- package/vscode/src/vs/workbench/contrib/terminal/common/history.js +0 -356
- package/vscode/src/vs/workbench/contrib/terminal/common/remote/remoteTerminalChannel.js +0 -253
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalConfiguration.js +0 -1016
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalEnvironment.js +0 -272
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalStrings.js +0 -93
- package/vscode/src/vs/workbench/contrib/terminal/electron-sandbox/terminalProfileResolverService.js +0 -42
- package/vscode/src/vs/workbench/contrib/terminalContrib/accessibility/browser/bufferContentTracker.js +0 -110
- package/vscode/src/vs/workbench/contrib/terminalContrib/accessibility/browser/terminal.accessibility.contribution.js +0 -232
- package/vscode/src/vs/workbench/contrib/terminalContrib/accessibility/browser/terminalAccessibilityHelp.js +0 -138
- package/vscode/src/vs/workbench/contrib/terminalContrib/accessibility/browser/terminalAccessibleBuffer.js +0 -226
- package/vscode/src/vs/workbench/contrib/terminalContrib/accessibility/browser/terminalAccessibleWidget.js +0 -142
- package/vscode/src/vs/workbench/contrib/terminalContrib/accessibility/browser/textAreaSyncAddon.js +0 -98
- package/vscode/src/vs/workbench/contrib/terminalContrib/links/browser/terminalLinkProviderService.js +0 -26
- package/vscode/src/vs/workbench/contrib/terminalContrib/quickFix/browser/terminalQuickFixService.js +0 -155
- package/vscode/src/vs/workbench/contrib/typeHierarchy/browser/media/typeHierarchy.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/typeHierarchy/browser/typeHierarchy.contribution.js +0 -247
- package/vscode/src/vs/workbench/contrib/typeHierarchy/browser/typeHierarchyPeek.js +0 -334
- package/vscode/src/vs/workbench/contrib/typeHierarchy/browser/typeHierarchyTree.js +0 -117
- package/vscode/src/vs/workbench/contrib/webview/browser/overlayWebview.js +0 -288
- package/vscode/src/vs/workbench/contrib/webview/browser/resourceLoading.js +0 -94
- package/vscode/src/vs/workbench/contrib/webview/browser/themeing.js +0 -86
- package/vscode/src/vs/workbench/contrib/webview/browser/webviewElement.js +0 -640
- package/vscode/src/vs/workbench/contrib/webview/browser/webviewFindWidget.js +0 -63
- package/vscode/src/vs/workbench/contrib/webview/browser/webviewService.js +0 -57
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewCommands.js +0 -120
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditorInputSerializer.js +0 -119
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewPanel.contribution.js +0 -61
- package/vscode/src/vs/workbench/contrib/webviewView/browser/webviewViewPane.js +0 -232
- package/vscode/src/vs/workbench/contrib/workspace/browser/media/workspaceTrustEditor.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/workspace/browser/workspace.contribution.js +0 -842
- package/vscode/src/vs/workbench/contrib/workspace/browser/workspaceTrustEditor.js +0 -1047
- package/vscode/src/vs/workbench/contrib/workspace/common/workspace.js +0 -14
- package/vscode/src/vs/workbench/services/activity/browser/activityService.js +0 -94
- package/vscode/src/vs/workbench/services/configuration/browser/configuration.js +0 -878
- package/vscode/src/vs/workbench/services/configuration/browser/configurationService.js +0 -1170
- package/vscode/src/vs/workbench/services/configuration/common/configurationCache.js +0 -80
- package/vscode/src/vs/workbench/services/configuration/common/configurationEditing.js +0 -589
- package/vscode/src/vs/workbench/services/configuration/common/configurationModels.js +0 -119
- package/vscode/src/vs/workbench/services/configurationResolver/browser/baseConfigurationResolverService.js +0 -303
- package/vscode/src/vs/workbench/services/configurationResolver/browser/configurationResolverService.js +0 -26
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverSchema.js +0 -174
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverUtils.js +0 -10
- package/vscode/src/vs/workbench/services/dialogs/browser/abstractFileDialogService.js +0 -320
- package/vscode/src/vs/workbench/services/dialogs/browser/simpleFileDialog.js +0 -989
- package/vscode/src/vs/workbench/services/dialogs/common/dialogService.js +0 -66
- package/vscode/src/vs/workbench/services/editor/browser/editorResolverService.js +0 -622
- package/vscode/src/vs/workbench/services/extensionRecommendations/common/extensionRecommendations.js +0 -4
- package/vscode/src/vs/workbench/services/extensionRecommendations/common/workspaceExtensionsConfig.js +0 -2
- package/vscode/src/vs/workbench/services/history/browser/historyService.js +0 -1454
- package/vscode/src/vs/workbench/services/hover/browser/hoverService.js +0 -162
- package/vscode/src/vs/workbench/services/hover/browser/hoverWidget.js +0 -523
- package/vscode/src/vs/workbench/services/hover/browser/media/hover.css.js +0 -4
- package/vscode/src/vs/workbench/services/label/common/labelService.js +0 -412
- package/vscode/src/vs/workbench/services/languageDetection/browser/languageDetectionSimpleWorker.js +0 -173
- package/vscode/src/vs/workbench/services/languageDetection/browser/languageDetectionWorkerServiceImpl.js +0 -259
- package/vscode/src/vs/workbench/services/lifecycle/browser/lifecycleService.js +0 -121
- package/vscode/src/vs/workbench/services/localization/common/locale.js +0 -3
- package/vscode/src/vs/workbench/services/notification/common/notificationService.js +0 -188
- package/vscode/src/vs/workbench/services/outline/browser/outlineService.js +0 -35
- package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorInput.js +0 -37
- package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorModel.js +0 -556
- package/vscode/src/vs/workbench/services/preferences/browser/preferencesService.js +0 -547
- package/vscode/src/vs/workbench/services/preferences/common/preferencesEditorInput.js +0 -39
- package/vscode/src/vs/workbench/services/preferences/common/preferencesModels.js +0 -1039
- package/vscode/src/vs/workbench/services/preferences/common/preferencesValidation.js +0 -393
- package/vscode/src/vs/workbench/services/remote/browser/remoteAgentService.js +0 -71
- package/vscode/src/vs/workbench/services/remote/common/abstractRemoteAgentService.js +0 -177
- package/vscode/src/vs/workbench/services/remote/common/remoteAgentEnvironmentChannel.js +0 -51
- package/vscode/src/vs/workbench/services/remote/common/remoteFileSystemProviderClient.js +0 -38
- package/vscode/src/vs/workbench/services/search/common/queryBuilder.d.ts +0 -35
- package/vscode/src/vs/workbench/services/search/common/searchService.js +0 -370
- package/vscode/src/vs/workbench/services/storage/browser/storageService.d.ts +0 -40
- package/vscode/src/vs/workbench/services/storage/browser/storageService.js +0 -280
- package/vscode/src/vs/workbench/services/suggest/browser/media/suggest.css.js +0 -4
- package/vscode/src/vs/workbench/services/suggest/browser/simpleCompletionItem.js +0 -10
- package/vscode/src/vs/workbench/services/suggest/browser/simpleCompletionModel.js +0 -98
- package/vscode/src/vs/workbench/services/suggest/browser/simpleSuggestWidget.js +0 -399
- package/vscode/src/vs/workbench/services/suggest/browser/simpleSuggestWidgetRenderer.js +0 -83
- package/vscode/src/vs/workbench/services/textMate/browser/arrayOperation.js +0 -62
- package/vscode/src/vs/workbench/services/textMate/browser/backgroundTokenization/textMateWorkerTokenizerController.js +0 -157
- package/vscode/src/vs/workbench/services/textMate/browser/backgroundTokenization/threadedBackgroundTokenizerFactory.js +0 -200
- package/vscode/src/vs/workbench/services/textMate/browser/backgroundTokenization/worker/textMateTokenizationWorker.worker.js +0 -87
- package/vscode/src/vs/workbench/services/textMate/browser/backgroundTokenization/worker/textMateWorkerTokenizer.js +0 -140
- package/vscode/src/vs/workbench/services/textMate/browser/textMateTokenizationFeature.d.ts +0 -11
- package/vscode/src/vs/workbench/services/textMate/browser/textMateTokenizationFeatureImpl.js +0 -459
- package/vscode/src/vs/workbench/services/textMate/browser/tokenizationSupport/textMateTokenizationSupport.js +0 -72
- package/vscode/src/vs/workbench/services/textMate/browser/tokenizationSupport/tokenizationSupportWithLineLimit.js +0 -36
- package/vscode/src/vs/workbench/services/textMate/common/TMGrammarFactory.js +0 -118
- package/vscode/src/vs/workbench/services/textMate/common/TMGrammars.js +0 -93
- package/vscode/src/vs/workbench/services/textMate/common/TMScopeRegistry.js +0 -24
- package/vscode/src/vs/workbench/services/textmodelResolver/common/textModelResolverService.js +0 -187
- package/vscode/src/vs/workbench/services/themes/browser/fileIconThemeData.js +0 -353
- package/vscode/src/vs/workbench/services/themes/browser/productIconThemeData.js +0 -290
- package/vscode/src/vs/workbench/services/themes/browser/workbenchThemeService.js +0 -742
- package/vscode/src/vs/workbench/services/themes/common/colorThemeData.js +0 -864
- package/vscode/src/vs/workbench/services/themes/common/colorThemeSchema.js +0 -265
- package/vscode/src/vs/workbench/services/themes/common/fileIconThemeSchema.js +0 -303
- package/vscode/src/vs/workbench/services/themes/common/plistParser.js +0 -439
- package/vscode/src/vs/workbench/services/themes/common/productIconThemeSchema.js +0 -94
- package/vscode/src/vs/workbench/services/themes/common/textMateScopeMatcher.js +0 -120
- package/vscode/src/vs/workbench/services/themes/common/themeCompatibility.js +0 -66
- package/vscode/src/vs/workbench/services/themes/common/themeConfiguration.js +0 -372
- package/vscode/src/vs/workbench/services/themes/common/themeExtensionPoints.js +0 -254
- package/vscode/src/vs/workbench/services/views/browser/viewDescriptorService.js +0 -689
- package/vscode/src/vs/workbench/services/views/common/viewContainerModel.js +0 -612
- package/vscode/src/vs/workbench/services/workspaces/browser/abstractWorkspaceEditingService.js +0 -322
- package/vscode/src/vs/workbench/services/workspaces/browser/workspaceTrustEditorInput.js +0 -27
- package/vscode/src/vs/workbench/services/workspaces/browser/workspacesService.js +0 -151
- package/workers/languageDetection.worker.js +0 -8
- package/workers/outputLinkComputer.worker.js +0 -3
- package/workers/textmate.worker.js +0 -3
|
@@ -1,612 +0,0 @@
|
|
|
1
|
-
import { __decorate, __param } from '../../../../../../../external/tslib/tslib.es6.js';
|
|
2
|
-
import { defaultViewIcon, Extensions } from '../../../common/views.js';
|
|
3
|
-
import { IContextKeyService } from 'monaco-editor/esm/vs/platform/contextkey/common/contextkey.js';
|
|
4
|
-
import { IStorageService } from 'monaco-editor/esm/vs/platform/storage/common/storage.js';
|
|
5
|
-
import { Registry } from 'monaco-editor/esm/vs/platform/registry/common/platform.js';
|
|
6
|
-
import { Disposable, DisposableStore } from 'monaco-editor/esm/vs/base/common/lifecycle.js';
|
|
7
|
-
import { Emitter, Event } from 'monaco-editor/esm/vs/base/common/event.js';
|
|
8
|
-
import { IInstantiationService } from 'monaco-editor/esm/vs/platform/instantiation/common/instantiation.js';
|
|
9
|
-
import { URI } from 'monaco-editor/esm/vs/base/common/uri.js';
|
|
10
|
-
import { coalesce, move } from 'monaco-editor/esm/vs/base/common/arrays.js';
|
|
11
|
-
import { isUndefinedOrNull, isUndefined } from 'monaco-editor/esm/vs/base/common/types.js';
|
|
12
|
-
import { joinPath, isEqual } from 'monaco-editor/esm/vs/base/common/resources.js';
|
|
13
|
-
import { ThemeIcon } from 'monaco-editor/esm/vs/base/common/themables.js';
|
|
14
|
-
import { localize } from 'monaco-editor/esm/vs/nls.js';
|
|
15
|
-
import { ILoggerService } from 'monaco-editor/esm/vs/platform/log/common/log.js';
|
|
16
|
-
import { IWorkbenchEnvironmentService } from '../../environment/common/environmentService.js';
|
|
17
|
-
import { registerAction2, Action2 } from 'monaco-editor/esm/vs/platform/actions/common/actions.js';
|
|
18
|
-
import { Categories } from 'monaco-editor/esm/vs/platform/action/common/actionCommonCategories.js';
|
|
19
|
-
import { IOutputService } from '../../output/common/output.js';
|
|
20
|
-
import { CounterSet } from 'monaco-editor/esm/vs/base/common/map.js';
|
|
21
|
-
const VIEWS_LOG_ID = 'viewsLog';
|
|
22
|
-
const VIEWS_LOG_NAME = ( (localize('views log', "Views")));
|
|
23
|
-
function getViewsLogFile(environmentService) { return joinPath(environmentService.windowLogsPath, 'views.log'); }
|
|
24
|
-
registerAction2(class extends Action2 {
|
|
25
|
-
constructor() {
|
|
26
|
-
super({
|
|
27
|
-
id: '_workbench.output.showViewsLog',
|
|
28
|
-
title: { value: 'Show Views Log', original: 'Show Views Log' },
|
|
29
|
-
category: Categories.Developer,
|
|
30
|
-
f1: true
|
|
31
|
-
});
|
|
32
|
-
}
|
|
33
|
-
async run(servicesAccessor) {
|
|
34
|
-
const loggerService = servicesAccessor.get(ILoggerService);
|
|
35
|
-
const outputService = servicesAccessor.get(IOutputService);
|
|
36
|
-
const environmentService = servicesAccessor.get(IWorkbenchEnvironmentService);
|
|
37
|
-
loggerService.setVisibility(getViewsLogFile(environmentService), true);
|
|
38
|
-
outputService.showChannel(VIEWS_LOG_ID);
|
|
39
|
-
}
|
|
40
|
-
});
|
|
41
|
-
function getViewsStateStorageId(viewContainerStorageId) { return `${viewContainerStorageId}.hidden`; }
|
|
42
|
-
let ViewDescriptorsState = class ViewDescriptorsState extends Disposable {
|
|
43
|
-
constructor(viewContainerStorageId, viewContainerName, storageService, loggerService, workbenchEnvironmentService) {
|
|
44
|
-
super();
|
|
45
|
-
this.viewContainerName = viewContainerName;
|
|
46
|
-
this.storageService = storageService;
|
|
47
|
-
this._onDidChangeStoredState = this._register(( (new Emitter())));
|
|
48
|
-
this.onDidChangeStoredState = this._onDidChangeStoredState.event;
|
|
49
|
-
this.logger = loggerService.createLogger(getViewsLogFile(workbenchEnvironmentService), { id: VIEWS_LOG_ID, name: VIEWS_LOG_NAME, hidden: true });
|
|
50
|
-
this.globalViewsStateStorageId = getViewsStateStorageId(viewContainerStorageId);
|
|
51
|
-
this.workspaceViewsStateStorageId = viewContainerStorageId;
|
|
52
|
-
this._register(this.storageService.onDidChangeValue(0 , this.globalViewsStateStorageId, this._register(( (new DisposableStore()))))(() => this.onDidStorageChange()));
|
|
53
|
-
this.state = this.initialize();
|
|
54
|
-
}
|
|
55
|
-
set(id, state) {
|
|
56
|
-
this.state.set(id, state);
|
|
57
|
-
}
|
|
58
|
-
get(id) {
|
|
59
|
-
return this.state.get(id);
|
|
60
|
-
}
|
|
61
|
-
updateState(viewDescriptors) {
|
|
62
|
-
this.updateWorkspaceState(viewDescriptors);
|
|
63
|
-
this.updateGlobalState(viewDescriptors);
|
|
64
|
-
}
|
|
65
|
-
updateWorkspaceState(viewDescriptors) {
|
|
66
|
-
const storedViewsStates = this.getStoredWorkspaceState();
|
|
67
|
-
for (const viewDescriptor of viewDescriptors) {
|
|
68
|
-
const viewState = this.get(viewDescriptor.id);
|
|
69
|
-
if (viewState) {
|
|
70
|
-
storedViewsStates[viewDescriptor.id] = {
|
|
71
|
-
collapsed: !!viewState.collapsed,
|
|
72
|
-
isHidden: !viewState.visibleWorkspace,
|
|
73
|
-
size: viewState.size,
|
|
74
|
-
order: viewDescriptor.workspace && viewState ? viewState.order : undefined
|
|
75
|
-
};
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
if (( (Object.keys(storedViewsStates))).length > 0) {
|
|
79
|
-
this.storageService.store(this.workspaceViewsStateStorageId, JSON.stringify(storedViewsStates), 1 , 1 );
|
|
80
|
-
}
|
|
81
|
-
else {
|
|
82
|
-
this.storageService.remove(this.workspaceViewsStateStorageId, 1 );
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
updateGlobalState(viewDescriptors) {
|
|
86
|
-
const storedGlobalState = this.getStoredGlobalState();
|
|
87
|
-
for (const viewDescriptor of viewDescriptors) {
|
|
88
|
-
const state = this.get(viewDescriptor.id);
|
|
89
|
-
storedGlobalState.set(viewDescriptor.id, {
|
|
90
|
-
id: viewDescriptor.id,
|
|
91
|
-
isHidden: state && viewDescriptor.canToggleVisibility ? !state.visibleGlobal : false,
|
|
92
|
-
order: !viewDescriptor.workspace && state ? state.order : undefined
|
|
93
|
-
});
|
|
94
|
-
}
|
|
95
|
-
this.setStoredGlobalState(storedGlobalState);
|
|
96
|
-
}
|
|
97
|
-
onDidStorageChange() {
|
|
98
|
-
if (this.globalViewsStatesValue !== this.getStoredGlobalViewsStatesValue() ) {
|
|
99
|
-
this._globalViewsStatesValue = undefined;
|
|
100
|
-
const storedViewsVisibilityStates = this.getStoredGlobalState();
|
|
101
|
-
const storedWorkspaceViewsStates = this.getStoredWorkspaceState();
|
|
102
|
-
const changedStates = [];
|
|
103
|
-
for (const [id, storedState] of storedViewsVisibilityStates) {
|
|
104
|
-
const state = this.get(id);
|
|
105
|
-
if (state) {
|
|
106
|
-
if (state.visibleGlobal !== !storedState.isHidden) {
|
|
107
|
-
if (!storedState.isHidden) {
|
|
108
|
-
this.logger.info(`View visibility state changed: ${id} is now visible`, this.viewContainerName);
|
|
109
|
-
}
|
|
110
|
-
changedStates.push({ id, visible: !storedState.isHidden });
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
else {
|
|
114
|
-
const workspaceViewState = storedWorkspaceViewsStates[id];
|
|
115
|
-
this.set(id, {
|
|
116
|
-
active: false,
|
|
117
|
-
visibleGlobal: !storedState.isHidden,
|
|
118
|
-
visibleWorkspace: isUndefined(workspaceViewState?.isHidden) ? undefined : !workspaceViewState?.isHidden,
|
|
119
|
-
collapsed: workspaceViewState?.collapsed,
|
|
120
|
-
order: workspaceViewState?.order,
|
|
121
|
-
size: workspaceViewState?.size,
|
|
122
|
-
});
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
if (changedStates.length) {
|
|
126
|
-
this._onDidChangeStoredState.fire(changedStates);
|
|
127
|
-
for (const changedState of changedStates) {
|
|
128
|
-
const state = this.get(changedState.id);
|
|
129
|
-
if (state) {
|
|
130
|
-
state.visibleGlobal = changedState.visible;
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
initialize() {
|
|
137
|
-
const viewStates = ( (new Map()));
|
|
138
|
-
const workspaceViewsStates = this.getStoredWorkspaceState();
|
|
139
|
-
for (const id of ( (Object.keys(workspaceViewsStates)))) {
|
|
140
|
-
const workspaceViewState = workspaceViewsStates[id];
|
|
141
|
-
viewStates.set(id, {
|
|
142
|
-
active: false,
|
|
143
|
-
visibleGlobal: undefined,
|
|
144
|
-
visibleWorkspace: isUndefined(workspaceViewState.isHidden) ? undefined : !workspaceViewState.isHidden,
|
|
145
|
-
collapsed: workspaceViewState.collapsed,
|
|
146
|
-
order: workspaceViewState.order,
|
|
147
|
-
size: workspaceViewState.size,
|
|
148
|
-
});
|
|
149
|
-
}
|
|
150
|
-
const value = this.storageService.get(this.globalViewsStateStorageId, 1 , '[]');
|
|
151
|
-
const { state: workspaceVisibilityStates } = this.parseStoredGlobalState(value);
|
|
152
|
-
if (workspaceVisibilityStates.size > 0) {
|
|
153
|
-
for (const { id, isHidden } of ( (workspaceVisibilityStates.values()))) {
|
|
154
|
-
const viewState = viewStates.get(id);
|
|
155
|
-
if (viewState) {
|
|
156
|
-
if (isUndefined(viewState.visibleWorkspace)) {
|
|
157
|
-
viewState.visibleWorkspace = !isHidden;
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
else {
|
|
161
|
-
viewStates.set(id, {
|
|
162
|
-
active: false,
|
|
163
|
-
collapsed: undefined,
|
|
164
|
-
visibleGlobal: undefined,
|
|
165
|
-
visibleWorkspace: !isHidden,
|
|
166
|
-
});
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
this.storageService.remove(this.globalViewsStateStorageId, 1 );
|
|
170
|
-
}
|
|
171
|
-
const { state, hasDuplicates } = this.parseStoredGlobalState(this.globalViewsStatesValue);
|
|
172
|
-
if (hasDuplicates) {
|
|
173
|
-
this.setStoredGlobalState(state);
|
|
174
|
-
}
|
|
175
|
-
for (const { id, isHidden, order } of ( (state.values()))) {
|
|
176
|
-
const viewState = viewStates.get(id);
|
|
177
|
-
if (viewState) {
|
|
178
|
-
viewState.visibleGlobal = !isHidden;
|
|
179
|
-
if (!isUndefined(order)) {
|
|
180
|
-
viewState.order = order;
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
|
-
else {
|
|
184
|
-
viewStates.set(id, {
|
|
185
|
-
active: false,
|
|
186
|
-
visibleGlobal: !isHidden,
|
|
187
|
-
order,
|
|
188
|
-
collapsed: undefined,
|
|
189
|
-
visibleWorkspace: undefined,
|
|
190
|
-
});
|
|
191
|
-
}
|
|
192
|
-
}
|
|
193
|
-
return viewStates;
|
|
194
|
-
}
|
|
195
|
-
getStoredWorkspaceState() {
|
|
196
|
-
return JSON.parse(this.storageService.get(this.workspaceViewsStateStorageId, 1 , '{}'));
|
|
197
|
-
}
|
|
198
|
-
getStoredGlobalState() {
|
|
199
|
-
return this.parseStoredGlobalState(this.globalViewsStatesValue).state;
|
|
200
|
-
}
|
|
201
|
-
setStoredGlobalState(storedGlobalState) {
|
|
202
|
-
this.globalViewsStatesValue = JSON.stringify([...( (storedGlobalState.values()))]);
|
|
203
|
-
}
|
|
204
|
-
parseStoredGlobalState(value) {
|
|
205
|
-
const storedValue = JSON.parse(value);
|
|
206
|
-
let hasDuplicates = false;
|
|
207
|
-
const state = storedValue.reduce((result, storedState) => {
|
|
208
|
-
if (typeof storedState === 'string' ) {
|
|
209
|
-
hasDuplicates = hasDuplicates || ( (result.has(storedState)));
|
|
210
|
-
result.set(storedState, { id: storedState, isHidden: true });
|
|
211
|
-
}
|
|
212
|
-
else {
|
|
213
|
-
hasDuplicates = hasDuplicates || ( (result.has(storedState.id)));
|
|
214
|
-
result.set(storedState.id, storedState);
|
|
215
|
-
}
|
|
216
|
-
return result;
|
|
217
|
-
}, ( (new Map())));
|
|
218
|
-
return { state, hasDuplicates };
|
|
219
|
-
}
|
|
220
|
-
get globalViewsStatesValue() {
|
|
221
|
-
if (!this._globalViewsStatesValue) {
|
|
222
|
-
this._globalViewsStatesValue = this.getStoredGlobalViewsStatesValue();
|
|
223
|
-
}
|
|
224
|
-
return this._globalViewsStatesValue;
|
|
225
|
-
}
|
|
226
|
-
set globalViewsStatesValue(globalViewsStatesValue) {
|
|
227
|
-
if (this.globalViewsStatesValue !== globalViewsStatesValue) {
|
|
228
|
-
this._globalViewsStatesValue = globalViewsStatesValue;
|
|
229
|
-
this.setStoredGlobalViewsStatesValue(globalViewsStatesValue);
|
|
230
|
-
}
|
|
231
|
-
}
|
|
232
|
-
getStoredGlobalViewsStatesValue() {
|
|
233
|
-
return this.storageService.get(this.globalViewsStateStorageId, 0 , '[]');
|
|
234
|
-
}
|
|
235
|
-
setStoredGlobalViewsStatesValue(value) {
|
|
236
|
-
this.storageService.store(this.globalViewsStateStorageId, value, 0 , 0 );
|
|
237
|
-
}
|
|
238
|
-
};
|
|
239
|
-
ViewDescriptorsState = ( (__decorate([
|
|
240
|
-
( (__param(2, IStorageService))),
|
|
241
|
-
( (__param(3, ILoggerService))),
|
|
242
|
-
( (__param(4, IWorkbenchEnvironmentService)))
|
|
243
|
-
], ViewDescriptorsState)));
|
|
244
|
-
let ViewContainerModel = class ViewContainerModel extends Disposable {
|
|
245
|
-
get title() { return this._title; }
|
|
246
|
-
get icon() { return this._icon; }
|
|
247
|
-
get keybindingId() { return this._keybindingId; }
|
|
248
|
-
get allViewDescriptors() { return (
|
|
249
|
-
(this.viewDescriptorItems.map(item => item.viewDescriptor))
|
|
250
|
-
); }
|
|
251
|
-
get activeViewDescriptors() { return (
|
|
252
|
-
(this.viewDescriptorItems.filter(item => item.state.active).map(item => item.viewDescriptor))
|
|
253
|
-
); }
|
|
254
|
-
get visibleViewDescriptors() { return (
|
|
255
|
-
(this.viewDescriptorItems.filter(item => this.isViewDescriptorVisible(item)).map(item => item.viewDescriptor))
|
|
256
|
-
); }
|
|
257
|
-
constructor(viewContainer, instantiationService, contextKeyService, loggerService, workbenchEnvironmentService) {
|
|
258
|
-
super();
|
|
259
|
-
this.viewContainer = viewContainer;
|
|
260
|
-
this.contextKeyService = contextKeyService;
|
|
261
|
-
this.contextKeys = ( (new CounterSet()));
|
|
262
|
-
this.viewDescriptorItems = [];
|
|
263
|
-
this._onDidChangeContainerInfo = this._register(( (new Emitter())));
|
|
264
|
-
this.onDidChangeContainerInfo = this._onDidChangeContainerInfo.event;
|
|
265
|
-
this._onDidChangeAllViewDescriptors = this._register(( (new Emitter())));
|
|
266
|
-
this.onDidChangeAllViewDescriptors = this._onDidChangeAllViewDescriptors.event;
|
|
267
|
-
this._onDidChangeActiveViewDescriptors = this._register(( (new Emitter())));
|
|
268
|
-
this.onDidChangeActiveViewDescriptors = this._onDidChangeActiveViewDescriptors.event;
|
|
269
|
-
this._onDidAddVisibleViewDescriptors = this._register(( (new Emitter())));
|
|
270
|
-
this.onDidAddVisibleViewDescriptors = this._onDidAddVisibleViewDescriptors.event;
|
|
271
|
-
this._onDidRemoveVisibleViewDescriptors = this._register(( (new Emitter())));
|
|
272
|
-
this.onDidRemoveVisibleViewDescriptors = this._onDidRemoveVisibleViewDescriptors.event;
|
|
273
|
-
this._onDidMoveVisibleViewDescriptors = this._register(( (new Emitter())));
|
|
274
|
-
this.onDidMoveVisibleViewDescriptors = this._onDidMoveVisibleViewDescriptors.event;
|
|
275
|
-
this.logger = loggerService.createLogger(getViewsLogFile(workbenchEnvironmentService), { id: VIEWS_LOG_ID, name: VIEWS_LOG_NAME, hidden: true });
|
|
276
|
-
this._register(Event.filter(contextKeyService.onDidChangeContext, e => e.affectsSome(this.contextKeys))(() => this.onDidChangeContext()));
|
|
277
|
-
this.viewDescriptorsState = this._register(instantiationService.createInstance(ViewDescriptorsState, viewContainer.storageId || `${viewContainer.id}.state`, typeof viewContainer.title === 'string' ? viewContainer.title : viewContainer.title.original));
|
|
278
|
-
this._register(this.viewDescriptorsState.onDidChangeStoredState(items => this.updateVisibility(items)));
|
|
279
|
-
this.updateContainerInfo();
|
|
280
|
-
}
|
|
281
|
-
updateContainerInfo() {
|
|
282
|
-
const useDefaultContainerInfo = this.viewContainer.alwaysUseContainerInfo || this.visibleViewDescriptors.length === 0 || ( (this.visibleViewDescriptors.some(
|
|
283
|
-
v => ( (Registry.as(Extensions.ViewsRegistry))).getViewContainer(v.id) === this.viewContainer
|
|
284
|
-
)));
|
|
285
|
-
const title = useDefaultContainerInfo ? (typeof this.viewContainer.title === 'string' ? this.viewContainer.title : this.viewContainer.title.value) : this.visibleViewDescriptors[0]?.containerTitle || this.visibleViewDescriptors[0]?.name || '';
|
|
286
|
-
let titleChanged = false;
|
|
287
|
-
if (this._title !== title) {
|
|
288
|
-
this._title = title;
|
|
289
|
-
titleChanged = true;
|
|
290
|
-
}
|
|
291
|
-
const icon = useDefaultContainerInfo ? this.viewContainer.icon : this.visibleViewDescriptors[0]?.containerIcon || defaultViewIcon;
|
|
292
|
-
let iconChanged = false;
|
|
293
|
-
if (!this.isEqualIcon(icon)) {
|
|
294
|
-
this._icon = icon;
|
|
295
|
-
iconChanged = true;
|
|
296
|
-
}
|
|
297
|
-
const keybindingId = this.viewContainer.openCommandActionDescriptor?.id ?? this.activeViewDescriptors.find(v => v.openCommandActionDescriptor)?.openCommandActionDescriptor?.id;
|
|
298
|
-
let keybindingIdChanged = false;
|
|
299
|
-
if (this._keybindingId !== keybindingId) {
|
|
300
|
-
this._keybindingId = keybindingId;
|
|
301
|
-
keybindingIdChanged = true;
|
|
302
|
-
}
|
|
303
|
-
if (titleChanged || iconChanged || keybindingIdChanged) {
|
|
304
|
-
this._onDidChangeContainerInfo.fire({ title: titleChanged, icon: iconChanged, keybindingId: keybindingIdChanged });
|
|
305
|
-
}
|
|
306
|
-
}
|
|
307
|
-
isEqualIcon(icon) {
|
|
308
|
-
if (URI.isUri(icon)) {
|
|
309
|
-
return URI.isUri(this._icon) && isEqual(icon, this._icon);
|
|
310
|
-
}
|
|
311
|
-
else if (ThemeIcon.isThemeIcon(icon)) {
|
|
312
|
-
return ThemeIcon.isThemeIcon(this._icon) && ThemeIcon.isEqual(icon, this._icon);
|
|
313
|
-
}
|
|
314
|
-
return icon === this._icon;
|
|
315
|
-
}
|
|
316
|
-
isVisible(id) {
|
|
317
|
-
const viewDescriptorItem = this.viewDescriptorItems.find(v => v.viewDescriptor.id === id);
|
|
318
|
-
if (!viewDescriptorItem) {
|
|
319
|
-
throw new Error(`Unknown view ${id}`);
|
|
320
|
-
}
|
|
321
|
-
return this.isViewDescriptorVisible(viewDescriptorItem);
|
|
322
|
-
}
|
|
323
|
-
setVisible(id, visible) {
|
|
324
|
-
this.updateVisibility([{ id, visible }]);
|
|
325
|
-
}
|
|
326
|
-
updateVisibility(viewDescriptors) {
|
|
327
|
-
const viewDescriptorItemsToHide = coalesce(( (viewDescriptors.filter(({ visible }) => !visible)
|
|
328
|
-
.map(({ id }) => this.findAndIgnoreIfNotFound(id)))));
|
|
329
|
-
const removed = [];
|
|
330
|
-
for (const { viewDescriptorItem, visibleIndex } of viewDescriptorItemsToHide) {
|
|
331
|
-
if (this.updateViewDescriptorItemVisibility(viewDescriptorItem, false)) {
|
|
332
|
-
removed.push({ viewDescriptor: viewDescriptorItem.viewDescriptor, index: visibleIndex });
|
|
333
|
-
}
|
|
334
|
-
}
|
|
335
|
-
if (removed.length) {
|
|
336
|
-
this.broadCastRemovedVisibleViewDescriptors(removed);
|
|
337
|
-
}
|
|
338
|
-
const added = [];
|
|
339
|
-
for (const { id, visible } of viewDescriptors) {
|
|
340
|
-
if (!visible) {
|
|
341
|
-
continue;
|
|
342
|
-
}
|
|
343
|
-
const foundViewDescriptor = this.findAndIgnoreIfNotFound(id);
|
|
344
|
-
if (!foundViewDescriptor) {
|
|
345
|
-
continue;
|
|
346
|
-
}
|
|
347
|
-
const { viewDescriptorItem, visibleIndex } = foundViewDescriptor;
|
|
348
|
-
if (this.updateViewDescriptorItemVisibility(viewDescriptorItem, true)) {
|
|
349
|
-
added.push({ index: visibleIndex, viewDescriptor: viewDescriptorItem.viewDescriptor, size: viewDescriptorItem.state.size, collapsed: !!viewDescriptorItem.state.collapsed });
|
|
350
|
-
}
|
|
351
|
-
}
|
|
352
|
-
if (added.length) {
|
|
353
|
-
this.broadCastAddedVisibleViewDescriptors(added);
|
|
354
|
-
}
|
|
355
|
-
}
|
|
356
|
-
updateViewDescriptorItemVisibility(viewDescriptorItem, visible) {
|
|
357
|
-
if (!viewDescriptorItem.viewDescriptor.canToggleVisibility) {
|
|
358
|
-
return false;
|
|
359
|
-
}
|
|
360
|
-
if (this.isViewDescriptorVisibleWhenActive(viewDescriptorItem) === visible) {
|
|
361
|
-
return false;
|
|
362
|
-
}
|
|
363
|
-
if (viewDescriptorItem.viewDescriptor.workspace) {
|
|
364
|
-
viewDescriptorItem.state.visibleWorkspace = visible;
|
|
365
|
-
}
|
|
366
|
-
else {
|
|
367
|
-
viewDescriptorItem.state.visibleGlobal = visible;
|
|
368
|
-
if (visible) {
|
|
369
|
-
this.logger.info(`Showing view ${viewDescriptorItem.viewDescriptor.id} in the container ${this.viewContainer.id}`);
|
|
370
|
-
}
|
|
371
|
-
}
|
|
372
|
-
return this.isViewDescriptorVisible(viewDescriptorItem) === visible;
|
|
373
|
-
}
|
|
374
|
-
isCollapsed(id) {
|
|
375
|
-
return !!this.find(id).viewDescriptorItem.state.collapsed;
|
|
376
|
-
}
|
|
377
|
-
setCollapsed(id, collapsed) {
|
|
378
|
-
const { viewDescriptorItem } = this.find(id);
|
|
379
|
-
if (viewDescriptorItem.state.collapsed !== collapsed) {
|
|
380
|
-
viewDescriptorItem.state.collapsed = collapsed;
|
|
381
|
-
}
|
|
382
|
-
this.viewDescriptorsState.updateState(this.allViewDescriptors);
|
|
383
|
-
}
|
|
384
|
-
getSize(id) {
|
|
385
|
-
return this.find(id).viewDescriptorItem.state.size;
|
|
386
|
-
}
|
|
387
|
-
setSizes(newSizes) {
|
|
388
|
-
for (const { id, size } of newSizes) {
|
|
389
|
-
const { viewDescriptorItem } = this.find(id);
|
|
390
|
-
if (viewDescriptorItem.state.size !== size) {
|
|
391
|
-
viewDescriptorItem.state.size = size;
|
|
392
|
-
}
|
|
393
|
-
}
|
|
394
|
-
this.viewDescriptorsState.updateState(this.allViewDescriptors);
|
|
395
|
-
}
|
|
396
|
-
move(from, to) {
|
|
397
|
-
const fromIndex = this.viewDescriptorItems.findIndex(v => v.viewDescriptor.id === from);
|
|
398
|
-
const toIndex = this.viewDescriptorItems.findIndex(v => v.viewDescriptor.id === to);
|
|
399
|
-
const fromViewDescriptor = this.viewDescriptorItems[fromIndex];
|
|
400
|
-
const toViewDescriptor = this.viewDescriptorItems[toIndex];
|
|
401
|
-
move(this.viewDescriptorItems, fromIndex, toIndex);
|
|
402
|
-
for (let index = 0; index < this.viewDescriptorItems.length; index++) {
|
|
403
|
-
this.viewDescriptorItems[index].state.order = index;
|
|
404
|
-
}
|
|
405
|
-
this.broadCastMovedViewDescriptors({ index: fromIndex, viewDescriptor: fromViewDescriptor.viewDescriptor }, { index: toIndex, viewDescriptor: toViewDescriptor.viewDescriptor });
|
|
406
|
-
}
|
|
407
|
-
add(addedViewDescriptorStates) {
|
|
408
|
-
const addedItems = [];
|
|
409
|
-
for (const addedViewDescriptorState of addedViewDescriptorStates) {
|
|
410
|
-
const viewDescriptor = addedViewDescriptorState.viewDescriptor;
|
|
411
|
-
if (viewDescriptor.when) {
|
|
412
|
-
for (const key of ( (viewDescriptor.when.keys()))) {
|
|
413
|
-
this.contextKeys.add(key);
|
|
414
|
-
}
|
|
415
|
-
}
|
|
416
|
-
let state = this.viewDescriptorsState.get(viewDescriptor.id);
|
|
417
|
-
if (state) {
|
|
418
|
-
if (viewDescriptor.workspace) {
|
|
419
|
-
state.visibleWorkspace = isUndefinedOrNull(addedViewDescriptorState.visible) ? (isUndefinedOrNull(state.visibleWorkspace) ? !viewDescriptor.hideByDefault : state.visibleWorkspace) : addedViewDescriptorState.visible;
|
|
420
|
-
}
|
|
421
|
-
else {
|
|
422
|
-
const isVisible = state.visibleGlobal;
|
|
423
|
-
state.visibleGlobal = isUndefinedOrNull(addedViewDescriptorState.visible) ? (isUndefinedOrNull(state.visibleGlobal) ? !viewDescriptor.hideByDefault : state.visibleGlobal) : addedViewDescriptorState.visible;
|
|
424
|
-
if (state.visibleGlobal && !isVisible) {
|
|
425
|
-
this.logger.info(`Added view ${viewDescriptor.id} in the container ${this.viewContainer.id} and showing it.`, `${isVisible}`, `${viewDescriptor.hideByDefault}`, `${addedViewDescriptorState.visible}`);
|
|
426
|
-
}
|
|
427
|
-
}
|
|
428
|
-
state.collapsed = isUndefinedOrNull(addedViewDescriptorState.collapsed) ? (isUndefinedOrNull(state.collapsed) ? !!viewDescriptor.collapsed : state.collapsed) : addedViewDescriptorState.collapsed;
|
|
429
|
-
}
|
|
430
|
-
else {
|
|
431
|
-
state = {
|
|
432
|
-
active: false,
|
|
433
|
-
visibleGlobal: isUndefinedOrNull(addedViewDescriptorState.visible) ? !viewDescriptor.hideByDefault : addedViewDescriptorState.visible,
|
|
434
|
-
visibleWorkspace: isUndefinedOrNull(addedViewDescriptorState.visible) ? !viewDescriptor.hideByDefault : addedViewDescriptorState.visible,
|
|
435
|
-
collapsed: isUndefinedOrNull(addedViewDescriptorState.collapsed) ? !!viewDescriptor.collapsed : addedViewDescriptorState.collapsed,
|
|
436
|
-
};
|
|
437
|
-
}
|
|
438
|
-
this.viewDescriptorsState.set(viewDescriptor.id, state);
|
|
439
|
-
state.active = this.contextKeyService.contextMatchesRules(viewDescriptor.when);
|
|
440
|
-
addedItems.push({ viewDescriptor, state });
|
|
441
|
-
}
|
|
442
|
-
this.viewDescriptorItems.push(...addedItems);
|
|
443
|
-
this.viewDescriptorItems.sort(this.compareViewDescriptors.bind(this));
|
|
444
|
-
this._onDidChangeAllViewDescriptors.fire({ added: ( (addedItems.map(({ viewDescriptor }) => viewDescriptor))), removed: [] });
|
|
445
|
-
const addedActiveItems = [];
|
|
446
|
-
for (const viewDescriptorItem of addedItems) {
|
|
447
|
-
if (viewDescriptorItem.state.active) {
|
|
448
|
-
addedActiveItems.push({ viewDescriptorItem, visible: this.isViewDescriptorVisible(viewDescriptorItem) });
|
|
449
|
-
}
|
|
450
|
-
}
|
|
451
|
-
if (addedActiveItems.length) {
|
|
452
|
-
this._onDidChangeActiveViewDescriptors.fire(({ added: ( (addedActiveItems.map(({ viewDescriptorItem }) => viewDescriptorItem.viewDescriptor))), removed: [] }));
|
|
453
|
-
}
|
|
454
|
-
const addedVisibleDescriptors = [];
|
|
455
|
-
for (const { viewDescriptorItem, visible } of addedActiveItems) {
|
|
456
|
-
if (visible && this.isViewDescriptorVisible(viewDescriptorItem)) {
|
|
457
|
-
const { visibleIndex } = this.find(viewDescriptorItem.viewDescriptor.id);
|
|
458
|
-
addedVisibleDescriptors.push({ index: visibleIndex, viewDescriptor: viewDescriptorItem.viewDescriptor, size: viewDescriptorItem.state.size, collapsed: !!viewDescriptorItem.state.collapsed });
|
|
459
|
-
}
|
|
460
|
-
}
|
|
461
|
-
this.broadCastAddedVisibleViewDescriptors(addedVisibleDescriptors);
|
|
462
|
-
}
|
|
463
|
-
remove(viewDescriptors) {
|
|
464
|
-
const removed = [];
|
|
465
|
-
const removedItems = [];
|
|
466
|
-
const removedActiveDescriptors = [];
|
|
467
|
-
const removedVisibleDescriptors = [];
|
|
468
|
-
for (const viewDescriptor of viewDescriptors) {
|
|
469
|
-
if (viewDescriptor.when) {
|
|
470
|
-
for (const key of ( (viewDescriptor.when.keys()))) {
|
|
471
|
-
this.contextKeys.delete(key);
|
|
472
|
-
}
|
|
473
|
-
}
|
|
474
|
-
const index = this.viewDescriptorItems.findIndex(i => i.viewDescriptor.id === viewDescriptor.id);
|
|
475
|
-
if (index !== -1) {
|
|
476
|
-
removed.push(viewDescriptor);
|
|
477
|
-
const viewDescriptorItem = this.viewDescriptorItems[index];
|
|
478
|
-
if (viewDescriptorItem.state.active) {
|
|
479
|
-
removedActiveDescriptors.push(viewDescriptorItem.viewDescriptor);
|
|
480
|
-
}
|
|
481
|
-
if (this.isViewDescriptorVisible(viewDescriptorItem)) {
|
|
482
|
-
const { visibleIndex } = this.find(viewDescriptorItem.viewDescriptor.id);
|
|
483
|
-
removedVisibleDescriptors.push({ index: visibleIndex, viewDescriptor: viewDescriptorItem.viewDescriptor });
|
|
484
|
-
}
|
|
485
|
-
removedItems.push(viewDescriptorItem);
|
|
486
|
-
}
|
|
487
|
-
}
|
|
488
|
-
removedItems.forEach(item => this.viewDescriptorItems.splice(this.viewDescriptorItems.indexOf(item), 1));
|
|
489
|
-
this.broadCastRemovedVisibleViewDescriptors(removedVisibleDescriptors);
|
|
490
|
-
if (removedActiveDescriptors.length) {
|
|
491
|
-
this._onDidChangeActiveViewDescriptors.fire(({ added: [], removed: removedActiveDescriptors }));
|
|
492
|
-
}
|
|
493
|
-
if (removed.length) {
|
|
494
|
-
this._onDidChangeAllViewDescriptors.fire({ added: [], removed });
|
|
495
|
-
}
|
|
496
|
-
}
|
|
497
|
-
onDidChangeContext() {
|
|
498
|
-
const addedActiveItems = [];
|
|
499
|
-
const removedActiveItems = [];
|
|
500
|
-
for (const item of this.viewDescriptorItems) {
|
|
501
|
-
const wasActive = item.state.active;
|
|
502
|
-
const isActive = this.contextKeyService.contextMatchesRules(item.viewDescriptor.when);
|
|
503
|
-
if (wasActive !== isActive) {
|
|
504
|
-
if (isActive) {
|
|
505
|
-
addedActiveItems.push({ item, visibleWhenActive: this.isViewDescriptorVisibleWhenActive(item) });
|
|
506
|
-
}
|
|
507
|
-
else {
|
|
508
|
-
removedActiveItems.push(item);
|
|
509
|
-
}
|
|
510
|
-
}
|
|
511
|
-
}
|
|
512
|
-
const removedVisibleDescriptors = [];
|
|
513
|
-
for (const item of removedActiveItems) {
|
|
514
|
-
if (this.isViewDescriptorVisible(item)) {
|
|
515
|
-
const { visibleIndex } = this.find(item.viewDescriptor.id);
|
|
516
|
-
removedVisibleDescriptors.push({ index: visibleIndex, viewDescriptor: item.viewDescriptor });
|
|
517
|
-
}
|
|
518
|
-
}
|
|
519
|
-
removedActiveItems.forEach(item => item.state.active = false);
|
|
520
|
-
addedActiveItems.forEach(({ item }) => item.state.active = true);
|
|
521
|
-
this.broadCastRemovedVisibleViewDescriptors(removedVisibleDescriptors);
|
|
522
|
-
if (addedActiveItems.length || removedActiveItems.length) {
|
|
523
|
-
this._onDidChangeActiveViewDescriptors.fire(({ added: ( (addedActiveItems.map(({ item }) => item.viewDescriptor))), removed: ( (removedActiveItems.map(item => item.viewDescriptor))) }));
|
|
524
|
-
}
|
|
525
|
-
const addedVisibleDescriptors = [];
|
|
526
|
-
for (const { item, visibleWhenActive } of addedActiveItems) {
|
|
527
|
-
if (visibleWhenActive && this.isViewDescriptorVisible(item)) {
|
|
528
|
-
const { visibleIndex } = this.find(item.viewDescriptor.id);
|
|
529
|
-
addedVisibleDescriptors.push({ index: visibleIndex, viewDescriptor: item.viewDescriptor, size: item.state.size, collapsed: !!item.state.collapsed });
|
|
530
|
-
}
|
|
531
|
-
}
|
|
532
|
-
this.broadCastAddedVisibleViewDescriptors(addedVisibleDescriptors);
|
|
533
|
-
}
|
|
534
|
-
broadCastAddedVisibleViewDescriptors(added) {
|
|
535
|
-
if (added.length) {
|
|
536
|
-
this._onDidAddVisibleViewDescriptors.fire(added.sort((a, b) => a.index - b.index));
|
|
537
|
-
this.updateState(`Added views:${( ( added.map(v => v.viewDescriptor.id))).join(',')} in ${this.viewContainer.id}`);
|
|
538
|
-
}
|
|
539
|
-
}
|
|
540
|
-
broadCastRemovedVisibleViewDescriptors(removed) {
|
|
541
|
-
if (removed.length) {
|
|
542
|
-
this._onDidRemoveVisibleViewDescriptors.fire(removed.sort((a, b) => b.index - a.index));
|
|
543
|
-
this.updateState(`Removed views:${( ( removed.map(v => v.viewDescriptor.id))).join(',')} from ${this.viewContainer.id}`);
|
|
544
|
-
}
|
|
545
|
-
}
|
|
546
|
-
broadCastMovedViewDescriptors(from, to) {
|
|
547
|
-
this._onDidMoveVisibleViewDescriptors.fire({ from, to });
|
|
548
|
-
this.updateState(`Moved view ${from.viewDescriptor.id} to ${to.viewDescriptor.id} in ${this.viewContainer.id}`);
|
|
549
|
-
}
|
|
550
|
-
updateState(reason) {
|
|
551
|
-
this.logger.info(reason);
|
|
552
|
-
this.viewDescriptorsState.updateState(this.allViewDescriptors);
|
|
553
|
-
this.updateContainerInfo();
|
|
554
|
-
}
|
|
555
|
-
isViewDescriptorVisible(viewDescriptorItem) {
|
|
556
|
-
if (!viewDescriptorItem.state.active) {
|
|
557
|
-
return false;
|
|
558
|
-
}
|
|
559
|
-
return this.isViewDescriptorVisibleWhenActive(viewDescriptorItem);
|
|
560
|
-
}
|
|
561
|
-
isViewDescriptorVisibleWhenActive(viewDescriptorItem) {
|
|
562
|
-
if (viewDescriptorItem.viewDescriptor.workspace) {
|
|
563
|
-
return !!viewDescriptorItem.state.visibleWorkspace;
|
|
564
|
-
}
|
|
565
|
-
return !!viewDescriptorItem.state.visibleGlobal;
|
|
566
|
-
}
|
|
567
|
-
find(id) {
|
|
568
|
-
const result = this.findAndIgnoreIfNotFound(id);
|
|
569
|
-
if (result) {
|
|
570
|
-
return result;
|
|
571
|
-
}
|
|
572
|
-
throw new Error(`view descriptor ${id} not found`);
|
|
573
|
-
}
|
|
574
|
-
findAndIgnoreIfNotFound(id) {
|
|
575
|
-
for (let i = 0, visibleIndex = 0; i < this.viewDescriptorItems.length; i++) {
|
|
576
|
-
const viewDescriptorItem = this.viewDescriptorItems[i];
|
|
577
|
-
if (viewDescriptorItem.viewDescriptor.id === id) {
|
|
578
|
-
return { index: i, visibleIndex, viewDescriptorItem: viewDescriptorItem };
|
|
579
|
-
}
|
|
580
|
-
if (this.isViewDescriptorVisible(viewDescriptorItem)) {
|
|
581
|
-
visibleIndex++;
|
|
582
|
-
}
|
|
583
|
-
}
|
|
584
|
-
return undefined;
|
|
585
|
-
}
|
|
586
|
-
compareViewDescriptors(a, b) {
|
|
587
|
-
if (a.viewDescriptor.id === b.viewDescriptor.id) {
|
|
588
|
-
return 0;
|
|
589
|
-
}
|
|
590
|
-
return (this.getViewOrder(a) - this.getViewOrder(b)) || this.getGroupOrderResult(a.viewDescriptor, b.viewDescriptor);
|
|
591
|
-
}
|
|
592
|
-
getViewOrder(viewDescriptorItem) {
|
|
593
|
-
const viewOrder = typeof viewDescriptorItem.state.order === 'number' ? viewDescriptorItem.state.order : viewDescriptorItem.viewDescriptor.order;
|
|
594
|
-
return typeof viewOrder === 'number' ? viewOrder : Number.MAX_VALUE;
|
|
595
|
-
}
|
|
596
|
-
getGroupOrderResult(a, b) {
|
|
597
|
-
if (!a.group || !b.group) {
|
|
598
|
-
return 0;
|
|
599
|
-
}
|
|
600
|
-
if (a.group === b.group) {
|
|
601
|
-
return 0;
|
|
602
|
-
}
|
|
603
|
-
return a.group < b.group ? -1 : 1;
|
|
604
|
-
}
|
|
605
|
-
};
|
|
606
|
-
ViewContainerModel = ( (__decorate([
|
|
607
|
-
( (__param(1, IInstantiationService))),
|
|
608
|
-
( (__param(2, IContextKeyService))),
|
|
609
|
-
( (__param(3, ILoggerService))),
|
|
610
|
-
( (__param(4, IWorkbenchEnvironmentService)))
|
|
611
|
-
], ViewContainerModel)));
|
|
612
|
-
export { ViewContainerModel, getViewsStateStorageId };
|