@codingame/monaco-vscode-api 1.82.4 → 1.82.5-next.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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,178 +0,0 @@
|
|
|
1
|
-
import { $ } from 'monaco-editor/esm/vs/base/browser/dom.js';
|
|
2
|
-
import { SplitView } from 'monaco-editor/esm/vs/base/browser/ui/splitview/splitview.js';
|
|
3
|
-
import { Event } from 'monaco-editor/esm/vs/base/common/event.js';
|
|
4
|
-
import { DisposableStore } from 'monaco-editor/esm/vs/base/common/lifecycle.js';
|
|
5
|
-
const defaultState = {
|
|
6
|
-
targetWidth: 900,
|
|
7
|
-
leftMarginRatio: 0.1909,
|
|
8
|
-
rightMarginRatio: 0.1909,
|
|
9
|
-
};
|
|
10
|
-
const distributeSizing = { type: 'distribute' };
|
|
11
|
-
function createEmptyView(background) {
|
|
12
|
-
const element = $('.centered-layout-margin');
|
|
13
|
-
element.style.height = '100%';
|
|
14
|
-
if (background) {
|
|
15
|
-
element.style.backgroundColor = ( background.toString());
|
|
16
|
-
}
|
|
17
|
-
return {
|
|
18
|
-
element,
|
|
19
|
-
layout: () => undefined,
|
|
20
|
-
minimumSize: 60,
|
|
21
|
-
maximumSize: Number.POSITIVE_INFINITY,
|
|
22
|
-
onDidChange: Event.None
|
|
23
|
-
};
|
|
24
|
-
}
|
|
25
|
-
function toSplitViewView(view, getHeight) {
|
|
26
|
-
return {
|
|
27
|
-
element: view.element,
|
|
28
|
-
get maximumSize() { return view.maximumWidth; },
|
|
29
|
-
get minimumSize() { return view.minimumWidth; },
|
|
30
|
-
onDidChange: ( Event.map(view.onDidChange, e => e && e.width)),
|
|
31
|
-
layout: (size, offset, ctx) => view.layout(size, getHeight(), ctx?.top ?? 0, (ctx?.left ?? 0) + offset)
|
|
32
|
-
};
|
|
33
|
-
}
|
|
34
|
-
class CenteredViewLayout {
|
|
35
|
-
constructor(container, view, state = { ...defaultState }) {
|
|
36
|
-
this.container = container;
|
|
37
|
-
this.view = view;
|
|
38
|
-
this.state = state;
|
|
39
|
-
this.lastLayoutPosition = { width: 0, height: 0, left: 0, top: 0 };
|
|
40
|
-
this.didLayout = false;
|
|
41
|
-
this.splitViewDisposables = ( new DisposableStore());
|
|
42
|
-
this.centeredLayoutFixedWidth = true;
|
|
43
|
-
this._boundarySashes = {};
|
|
44
|
-
this.container.appendChild(this.view.element);
|
|
45
|
-
this.container.style.overflow = 'hidden';
|
|
46
|
-
}
|
|
47
|
-
get minimumWidth() { return this.splitView ? this.splitView.minimumSize : this.view.minimumWidth; }
|
|
48
|
-
get maximumWidth() { return this.splitView ? this.splitView.maximumSize : this.view.maximumWidth; }
|
|
49
|
-
get minimumHeight() { return this.view.minimumHeight; }
|
|
50
|
-
get maximumHeight() { return this.view.maximumHeight; }
|
|
51
|
-
get onDidChange() { return this.view.onDidChange; }
|
|
52
|
-
get boundarySashes() { return this._boundarySashes; }
|
|
53
|
-
set boundarySashes(boundarySashes) {
|
|
54
|
-
this._boundarySashes = boundarySashes;
|
|
55
|
-
if (!this.splitView) {
|
|
56
|
-
return;
|
|
57
|
-
}
|
|
58
|
-
this.splitView.orthogonalStartSash = boundarySashes.top;
|
|
59
|
-
this.splitView.orthogonalEndSash = boundarySashes.bottom;
|
|
60
|
-
}
|
|
61
|
-
layout(width, height, top, left) {
|
|
62
|
-
this.lastLayoutPosition = { width, height, top, left };
|
|
63
|
-
if (this.splitView) {
|
|
64
|
-
this.splitView.layout(width, this.lastLayoutPosition);
|
|
65
|
-
if (!this.didLayout || this.centeredLayoutFixedWidth) {
|
|
66
|
-
this.resizeSplitViews();
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
else {
|
|
70
|
-
this.view.layout(width, height, top, left);
|
|
71
|
-
}
|
|
72
|
-
this.didLayout = true;
|
|
73
|
-
}
|
|
74
|
-
resizeSplitViews() {
|
|
75
|
-
if (!this.splitView) {
|
|
76
|
-
return;
|
|
77
|
-
}
|
|
78
|
-
if (this.centeredLayoutFixedWidth) {
|
|
79
|
-
const centerViewWidth = Math.min(this.lastLayoutPosition.width, this.state.targetWidth);
|
|
80
|
-
const marginWidthFloat = (this.lastLayoutPosition.width - centerViewWidth) / 2;
|
|
81
|
-
this.splitView.resizeView(0, Math.floor(marginWidthFloat));
|
|
82
|
-
this.splitView.resizeView(1, centerViewWidth);
|
|
83
|
-
this.splitView.resizeView(2, Math.ceil(marginWidthFloat));
|
|
84
|
-
}
|
|
85
|
-
else {
|
|
86
|
-
const leftMargin = this.state.leftMarginRatio * this.lastLayoutPosition.width;
|
|
87
|
-
const rightMargin = this.state.rightMarginRatio * this.lastLayoutPosition.width;
|
|
88
|
-
const center = this.lastLayoutPosition.width - leftMargin - rightMargin;
|
|
89
|
-
this.splitView.resizeView(0, leftMargin);
|
|
90
|
-
this.splitView.resizeView(1, center);
|
|
91
|
-
this.splitView.resizeView(2, rightMargin);
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
setFixedWidth(option) {
|
|
95
|
-
this.centeredLayoutFixedWidth = option;
|
|
96
|
-
if (!!this.splitView) {
|
|
97
|
-
this.updateState();
|
|
98
|
-
this.resizeSplitViews();
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
updateState() {
|
|
102
|
-
if (!!this.splitView) {
|
|
103
|
-
this.state.targetWidth = this.splitView.getViewSize(1);
|
|
104
|
-
this.state.leftMarginRatio = this.splitView.getViewSize(0) / this.lastLayoutPosition.width;
|
|
105
|
-
this.state.rightMarginRatio = this.splitView.getViewSize(2) / this.lastLayoutPosition.width;
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
isActive() {
|
|
109
|
-
return !!this.splitView;
|
|
110
|
-
}
|
|
111
|
-
styles(style) {
|
|
112
|
-
this.style = style;
|
|
113
|
-
if (this.splitView && this.emptyViews) {
|
|
114
|
-
this.splitView.style(this.style);
|
|
115
|
-
this.emptyViews[0].element.style.backgroundColor = ( this.style.background.toString());
|
|
116
|
-
this.emptyViews[1].element.style.backgroundColor = ( this.style.background.toString());
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
activate(active) {
|
|
120
|
-
if (active === this.isActive()) {
|
|
121
|
-
return;
|
|
122
|
-
}
|
|
123
|
-
if (active) {
|
|
124
|
-
this.container.removeChild(this.view.element);
|
|
125
|
-
this.splitView = ( new SplitView(this.container, {
|
|
126
|
-
inverseAltBehavior: true,
|
|
127
|
-
orientation: 1 ,
|
|
128
|
-
styles: this.style
|
|
129
|
-
}));
|
|
130
|
-
this.splitView.orthogonalStartSash = this.boundarySashes.top;
|
|
131
|
-
this.splitView.orthogonalEndSash = this.boundarySashes.bottom;
|
|
132
|
-
this.splitViewDisposables.add(this.splitView.onDidSashChange(() => {
|
|
133
|
-
if (!!this.splitView) {
|
|
134
|
-
this.updateState();
|
|
135
|
-
}
|
|
136
|
-
}));
|
|
137
|
-
this.splitViewDisposables.add(this.splitView.onDidSashReset(() => {
|
|
138
|
-
this.state = { ...defaultState };
|
|
139
|
-
this.resizeSplitViews();
|
|
140
|
-
}));
|
|
141
|
-
this.splitView.layout(this.lastLayoutPosition.width, this.lastLayoutPosition);
|
|
142
|
-
const backgroundColor = this.style ? this.style.background : undefined;
|
|
143
|
-
this.emptyViews = [createEmptyView(backgroundColor), createEmptyView(backgroundColor)];
|
|
144
|
-
this.splitView.addView(this.emptyViews[0], distributeSizing, 0);
|
|
145
|
-
this.splitView.addView(toSplitViewView(this.view, () => this.lastLayoutPosition.height), distributeSizing, 1);
|
|
146
|
-
this.splitView.addView(this.emptyViews[1], distributeSizing, 2);
|
|
147
|
-
this.resizeSplitViews();
|
|
148
|
-
}
|
|
149
|
-
else {
|
|
150
|
-
if (this.splitView) {
|
|
151
|
-
this.container.removeChild(this.splitView.el);
|
|
152
|
-
}
|
|
153
|
-
this.splitViewDisposables.clear();
|
|
154
|
-
this.splitView?.dispose();
|
|
155
|
-
this.splitView = undefined;
|
|
156
|
-
this.emptyViews = undefined;
|
|
157
|
-
this.container.appendChild(this.view.element);
|
|
158
|
-
this.view.layout(this.lastLayoutPosition.width, this.lastLayoutPosition.height, this.lastLayoutPosition.top, this.lastLayoutPosition.left);
|
|
159
|
-
}
|
|
160
|
-
}
|
|
161
|
-
isDefault(state) {
|
|
162
|
-
if (this.centeredLayoutFixedWidth) {
|
|
163
|
-
return state.targetWidth === defaultState.targetWidth;
|
|
164
|
-
}
|
|
165
|
-
else {
|
|
166
|
-
return state.leftMarginRatio === defaultState.leftMarginRatio
|
|
167
|
-
&& state.rightMarginRatio === defaultState.rightMarginRatio;
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
|
-
dispose() {
|
|
171
|
-
this.splitViewDisposables.dispose();
|
|
172
|
-
if (this.splitView) {
|
|
173
|
-
this.splitView.dispose();
|
|
174
|
-
this.splitView = undefined;
|
|
175
|
-
}
|
|
176
|
-
}
|
|
177
|
-
}
|
|
178
|
-
export { CenteredViewLayout };
|
|
@@ -1,465 +0,0 @@
|
|
|
1
|
-
import { tail2, equals } from 'monaco-editor/esm/vs/base/common/arrays.js';
|
|
2
|
-
import { Disposable } from 'monaco-editor/esm/vs/base/common/lifecycle.js';
|
|
3
|
-
import './gridview.css.js';
|
|
4
|
-
import { orthogonal, GridView } from './gridview.js';
|
|
5
|
-
import { Sizing as Sizing$1 } from 'monaco-editor/esm/vs/base/browser/ui/splitview/splitview.js';
|
|
6
|
-
function oppositeDirection(direction) {
|
|
7
|
-
switch (direction) {
|
|
8
|
-
case 0 : return 1 ;
|
|
9
|
-
case 1 : return 0 ;
|
|
10
|
-
case 2 : return 3 ;
|
|
11
|
-
case 3 : return 2 ;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
function isGridBranchNode(node) {
|
|
15
|
-
return !!node.children;
|
|
16
|
-
}
|
|
17
|
-
function getGridNode(node, location) {
|
|
18
|
-
if (location.length === 0) {
|
|
19
|
-
return node;
|
|
20
|
-
}
|
|
21
|
-
if (!isGridBranchNode(node)) {
|
|
22
|
-
throw new Error('Invalid location');
|
|
23
|
-
}
|
|
24
|
-
const [index, ...rest] = location;
|
|
25
|
-
return getGridNode(node.children[index], rest);
|
|
26
|
-
}
|
|
27
|
-
function intersects(one, other) {
|
|
28
|
-
return !(one.start >= other.end || other.start >= one.end);
|
|
29
|
-
}
|
|
30
|
-
function getBoxBoundary(box, direction) {
|
|
31
|
-
const orientation = getDirectionOrientation(direction);
|
|
32
|
-
const offset = direction === 0 ? box.top :
|
|
33
|
-
direction === 3 ? box.left + box.width :
|
|
34
|
-
direction === 1 ? box.top + box.height :
|
|
35
|
-
box.left;
|
|
36
|
-
const range = {
|
|
37
|
-
start: orientation === 1 ? box.top : box.left,
|
|
38
|
-
end: orientation === 1 ? box.top + box.height : box.left + box.width
|
|
39
|
-
};
|
|
40
|
-
return { offset, range };
|
|
41
|
-
}
|
|
42
|
-
function findAdjacentBoxLeafNodes(boxNode, direction, boundary) {
|
|
43
|
-
const result = [];
|
|
44
|
-
function _(boxNode, direction, boundary) {
|
|
45
|
-
if (isGridBranchNode(boxNode)) {
|
|
46
|
-
for (const child of boxNode.children) {
|
|
47
|
-
_(child, direction, boundary);
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
else {
|
|
51
|
-
const { offset, range } = getBoxBoundary(boxNode.box, direction);
|
|
52
|
-
if (offset === boundary.offset && intersects(range, boundary.range)) {
|
|
53
|
-
result.push(boxNode);
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
_(boxNode, direction, boundary);
|
|
58
|
-
return result;
|
|
59
|
-
}
|
|
60
|
-
function getLocationOrientation(rootOrientation, location) {
|
|
61
|
-
return location.length % 2 === 0 ? orthogonal(rootOrientation) : rootOrientation;
|
|
62
|
-
}
|
|
63
|
-
function getDirectionOrientation(direction) {
|
|
64
|
-
return direction === 0 || direction === 1 ? 0 : 1 ;
|
|
65
|
-
}
|
|
66
|
-
function getRelativeLocation(rootOrientation, location, direction) {
|
|
67
|
-
const orientation = getLocationOrientation(rootOrientation, location);
|
|
68
|
-
const directionOrientation = getDirectionOrientation(direction);
|
|
69
|
-
if (orientation === directionOrientation) {
|
|
70
|
-
let [rest, index] = tail2(location);
|
|
71
|
-
if (direction === 3 || direction === 1 ) {
|
|
72
|
-
index += 1;
|
|
73
|
-
}
|
|
74
|
-
return [...rest, index];
|
|
75
|
-
}
|
|
76
|
-
else {
|
|
77
|
-
const index = ((direction === 3 || direction === 1) ) ? 1 : 0;
|
|
78
|
-
return [...location, index];
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
function indexInParent(element) {
|
|
82
|
-
const parentElement = element.parentElement;
|
|
83
|
-
if (!parentElement) {
|
|
84
|
-
throw new Error('Invalid grid element');
|
|
85
|
-
}
|
|
86
|
-
let el = parentElement.firstElementChild;
|
|
87
|
-
let index = 0;
|
|
88
|
-
while (el !== element && el !== parentElement.lastElementChild && el) {
|
|
89
|
-
el = el.nextElementSibling;
|
|
90
|
-
index++;
|
|
91
|
-
}
|
|
92
|
-
return index;
|
|
93
|
-
}
|
|
94
|
-
function getGridLocation(element) {
|
|
95
|
-
const parentElement = element.parentElement;
|
|
96
|
-
if (!parentElement) {
|
|
97
|
-
throw new Error('Invalid grid element');
|
|
98
|
-
}
|
|
99
|
-
if (/\bmonaco-grid-view\b/.test(parentElement.className)) {
|
|
100
|
-
return [];
|
|
101
|
-
}
|
|
102
|
-
const index = indexInParent(parentElement);
|
|
103
|
-
const ancestor = parentElement.parentElement.parentElement.parentElement.parentElement;
|
|
104
|
-
return [...getGridLocation(ancestor), index];
|
|
105
|
-
}
|
|
106
|
-
var Sizing;
|
|
107
|
-
( (function(Sizing) {
|
|
108
|
-
Sizing.Distribute = { type: 'distribute' };
|
|
109
|
-
Sizing.Split = { type: 'split' };
|
|
110
|
-
Sizing.Auto = { type: 'auto' };
|
|
111
|
-
function Invisible(cachedVisibleSize) { return { type: 'invisible', cachedVisibleSize }; }
|
|
112
|
-
Sizing.Invisible = Invisible;
|
|
113
|
-
})(Sizing || (Sizing = {})));
|
|
114
|
-
class Grid extends Disposable {
|
|
115
|
-
get orientation() { return this.gridview.orientation; }
|
|
116
|
-
set orientation(orientation) { this.gridview.orientation = orientation; }
|
|
117
|
-
get width() { return this.gridview.width; }
|
|
118
|
-
get height() { return this.gridview.height; }
|
|
119
|
-
get minimumWidth() { return this.gridview.minimumWidth; }
|
|
120
|
-
get minimumHeight() { return this.gridview.minimumHeight; }
|
|
121
|
-
get maximumWidth() { return this.gridview.maximumWidth; }
|
|
122
|
-
get maximumHeight() { return this.gridview.maximumHeight; }
|
|
123
|
-
get boundarySashes() { return this.gridview.boundarySashes; }
|
|
124
|
-
set boundarySashes(boundarySashes) { this.gridview.boundarySashes = boundarySashes; }
|
|
125
|
-
set edgeSnapping(edgeSnapping) { this.gridview.edgeSnapping = edgeSnapping; }
|
|
126
|
-
get element() { return this.gridview.element; }
|
|
127
|
-
constructor(view, options = {}) {
|
|
128
|
-
super();
|
|
129
|
-
this.views = ( new Map());
|
|
130
|
-
this.didLayout = false;
|
|
131
|
-
if (view instanceof GridView) {
|
|
132
|
-
this.gridview = view;
|
|
133
|
-
this.gridview.getViewMap(this.views);
|
|
134
|
-
}
|
|
135
|
-
else {
|
|
136
|
-
this.gridview = ( new GridView(options));
|
|
137
|
-
}
|
|
138
|
-
this._register(this.gridview);
|
|
139
|
-
this._register(this.gridview.onDidSashReset(this.onDidSashReset, this));
|
|
140
|
-
if (!(view instanceof GridView)) {
|
|
141
|
-
this._addView(view, 0, [0]);
|
|
142
|
-
}
|
|
143
|
-
this.onDidChange = this.gridview.onDidChange;
|
|
144
|
-
this.onDidScroll = this.gridview.onDidScroll;
|
|
145
|
-
}
|
|
146
|
-
style(styles) {
|
|
147
|
-
this.gridview.style(styles);
|
|
148
|
-
}
|
|
149
|
-
layout(width, height, top = 0, left = 0) {
|
|
150
|
-
this.gridview.layout(width, height, top, left);
|
|
151
|
-
this.didLayout = true;
|
|
152
|
-
}
|
|
153
|
-
addView(newView, size, referenceView, direction) {
|
|
154
|
-
if (( this.views.has(newView))) {
|
|
155
|
-
throw new Error('Can\'t add same view twice');
|
|
156
|
-
}
|
|
157
|
-
const orientation = getDirectionOrientation(direction);
|
|
158
|
-
if (this.views.size === 1 && this.orientation !== orientation) {
|
|
159
|
-
this.orientation = orientation;
|
|
160
|
-
}
|
|
161
|
-
const referenceLocation = this.getViewLocation(referenceView);
|
|
162
|
-
const location = getRelativeLocation(this.gridview.orientation, referenceLocation, direction);
|
|
163
|
-
let viewSize;
|
|
164
|
-
if (typeof size === 'number') {
|
|
165
|
-
viewSize = size;
|
|
166
|
-
}
|
|
167
|
-
else if (size.type === 'split') {
|
|
168
|
-
const [, index] = tail2(referenceLocation);
|
|
169
|
-
viewSize = Sizing$1.Split(index);
|
|
170
|
-
}
|
|
171
|
-
else if (size.type === 'distribute') {
|
|
172
|
-
viewSize = Sizing$1.Distribute;
|
|
173
|
-
}
|
|
174
|
-
else if (size.type === 'auto') {
|
|
175
|
-
const [, index] = tail2(referenceLocation);
|
|
176
|
-
viewSize = Sizing$1.Auto(index);
|
|
177
|
-
}
|
|
178
|
-
else {
|
|
179
|
-
viewSize = size;
|
|
180
|
-
}
|
|
181
|
-
this._addView(newView, viewSize, location);
|
|
182
|
-
}
|
|
183
|
-
addViewAt(newView, size, location) {
|
|
184
|
-
if (( this.views.has(newView))) {
|
|
185
|
-
throw new Error('Can\'t add same view twice');
|
|
186
|
-
}
|
|
187
|
-
let viewSize;
|
|
188
|
-
if (typeof size === 'number') {
|
|
189
|
-
viewSize = size;
|
|
190
|
-
}
|
|
191
|
-
else if (size.type === 'distribute') {
|
|
192
|
-
viewSize = Sizing$1.Distribute;
|
|
193
|
-
}
|
|
194
|
-
else {
|
|
195
|
-
viewSize = size;
|
|
196
|
-
}
|
|
197
|
-
this._addView(newView, viewSize, location);
|
|
198
|
-
}
|
|
199
|
-
_addView(newView, size, location) {
|
|
200
|
-
this.views.set(newView, newView.element);
|
|
201
|
-
this.gridview.addView(newView, size, location);
|
|
202
|
-
}
|
|
203
|
-
removeView(view, sizing) {
|
|
204
|
-
if (this.views.size === 1) {
|
|
205
|
-
throw new Error('Can\'t remove last view');
|
|
206
|
-
}
|
|
207
|
-
const location = this.getViewLocation(view);
|
|
208
|
-
let gridViewSizing;
|
|
209
|
-
if (sizing?.type === 'distribute') {
|
|
210
|
-
gridViewSizing = Sizing$1.Distribute;
|
|
211
|
-
}
|
|
212
|
-
else if (sizing?.type === 'auto') {
|
|
213
|
-
const index = location[location.length - 1];
|
|
214
|
-
gridViewSizing = Sizing$1.Auto(index === 0 ? 1 : index - 1);
|
|
215
|
-
}
|
|
216
|
-
this.gridview.removeView(location, gridViewSizing);
|
|
217
|
-
this.views.delete(view);
|
|
218
|
-
}
|
|
219
|
-
moveView(view, sizing, referenceView, direction) {
|
|
220
|
-
const sourceLocation = this.getViewLocation(view);
|
|
221
|
-
const [sourceParentLocation, from] = tail2(sourceLocation);
|
|
222
|
-
const referenceLocation = this.getViewLocation(referenceView);
|
|
223
|
-
const targetLocation = getRelativeLocation(this.gridview.orientation, referenceLocation, direction);
|
|
224
|
-
const [targetParentLocation, to] = tail2(targetLocation);
|
|
225
|
-
if (equals(sourceParentLocation, targetParentLocation)) {
|
|
226
|
-
this.gridview.moveView(sourceParentLocation, from, to);
|
|
227
|
-
}
|
|
228
|
-
else {
|
|
229
|
-
this.removeView(view, typeof sizing === 'number' ? undefined : sizing);
|
|
230
|
-
this.addView(view, sizing, referenceView, direction);
|
|
231
|
-
}
|
|
232
|
-
}
|
|
233
|
-
moveViewTo(view, location) {
|
|
234
|
-
const sourceLocation = this.getViewLocation(view);
|
|
235
|
-
const [sourceParentLocation, from] = tail2(sourceLocation);
|
|
236
|
-
const [targetParentLocation, to] = tail2(location);
|
|
237
|
-
if (equals(sourceParentLocation, targetParentLocation)) {
|
|
238
|
-
this.gridview.moveView(sourceParentLocation, from, to);
|
|
239
|
-
}
|
|
240
|
-
else {
|
|
241
|
-
const size = this.getViewSize(view);
|
|
242
|
-
const orientation = getLocationOrientation(this.gridview.orientation, sourceLocation);
|
|
243
|
-
const cachedViewSize = this.getViewCachedVisibleSize(view);
|
|
244
|
-
const sizing = typeof cachedViewSize === 'undefined'
|
|
245
|
-
? (orientation === 1 ? size.width : size.height)
|
|
246
|
-
: Sizing.Invisible(cachedViewSize);
|
|
247
|
-
this.removeView(view);
|
|
248
|
-
this.addViewAt(view, sizing, location);
|
|
249
|
-
}
|
|
250
|
-
}
|
|
251
|
-
swapViews(from, to) {
|
|
252
|
-
const fromLocation = this.getViewLocation(from);
|
|
253
|
-
const toLocation = this.getViewLocation(to);
|
|
254
|
-
return this.gridview.swapViews(fromLocation, toLocation);
|
|
255
|
-
}
|
|
256
|
-
resizeView(view, size) {
|
|
257
|
-
const location = this.getViewLocation(view);
|
|
258
|
-
return this.gridview.resizeView(location, size);
|
|
259
|
-
}
|
|
260
|
-
isViewSizeMaximized(view) {
|
|
261
|
-
const location = this.getViewLocation(view);
|
|
262
|
-
return this.gridview.isViewSizeMaximized(location);
|
|
263
|
-
}
|
|
264
|
-
getViewSize(view) {
|
|
265
|
-
if (!view) {
|
|
266
|
-
return this.gridview.getViewSize();
|
|
267
|
-
}
|
|
268
|
-
const location = this.getViewLocation(view);
|
|
269
|
-
return this.gridview.getViewSize(location);
|
|
270
|
-
}
|
|
271
|
-
getViewCachedVisibleSize(view) {
|
|
272
|
-
const location = this.getViewLocation(view);
|
|
273
|
-
return this.gridview.getViewCachedVisibleSize(location);
|
|
274
|
-
}
|
|
275
|
-
maximizeViewSize(view) {
|
|
276
|
-
const location = this.getViewLocation(view);
|
|
277
|
-
this.gridview.maximizeViewSize(location);
|
|
278
|
-
}
|
|
279
|
-
distributeViewSizes() {
|
|
280
|
-
this.gridview.distributeViewSizes();
|
|
281
|
-
}
|
|
282
|
-
isViewVisible(view) {
|
|
283
|
-
const location = this.getViewLocation(view);
|
|
284
|
-
return this.gridview.isViewVisible(location);
|
|
285
|
-
}
|
|
286
|
-
setViewVisible(view, visible) {
|
|
287
|
-
const location = this.getViewLocation(view);
|
|
288
|
-
this.gridview.setViewVisible(location, visible);
|
|
289
|
-
}
|
|
290
|
-
getViews() {
|
|
291
|
-
return this.gridview.getView();
|
|
292
|
-
}
|
|
293
|
-
getNeighborViews(view, direction, wrap = false) {
|
|
294
|
-
if (!this.didLayout) {
|
|
295
|
-
throw new Error('Can\'t call getNeighborViews before first layout');
|
|
296
|
-
}
|
|
297
|
-
const location = this.getViewLocation(view);
|
|
298
|
-
const root = this.getViews();
|
|
299
|
-
const node = getGridNode(root, location);
|
|
300
|
-
let boundary = getBoxBoundary(node.box, direction);
|
|
301
|
-
if (wrap) {
|
|
302
|
-
if (direction === 0 && node.box.top === 0) {
|
|
303
|
-
boundary = { offset: root.box.top + root.box.height, range: boundary.range };
|
|
304
|
-
}
|
|
305
|
-
else if (direction === 3 && node.box.left + node.box.width === root.box.width) {
|
|
306
|
-
boundary = { offset: 0, range: boundary.range };
|
|
307
|
-
}
|
|
308
|
-
else if (direction === 1 && node.box.top + node.box.height === root.box.height) {
|
|
309
|
-
boundary = { offset: 0, range: boundary.range };
|
|
310
|
-
}
|
|
311
|
-
else if (direction === 2 && node.box.left === 0) {
|
|
312
|
-
boundary = { offset: root.box.left + root.box.width, range: boundary.range };
|
|
313
|
-
}
|
|
314
|
-
}
|
|
315
|
-
return ( findAdjacentBoxLeafNodes(root, oppositeDirection(direction), boundary)
|
|
316
|
-
.map(node => node.view));
|
|
317
|
-
}
|
|
318
|
-
getViewLocation(view) {
|
|
319
|
-
const element = this.views.get(view);
|
|
320
|
-
if (!element) {
|
|
321
|
-
throw new Error('View not found');
|
|
322
|
-
}
|
|
323
|
-
return getGridLocation(element);
|
|
324
|
-
}
|
|
325
|
-
onDidSashReset(location) {
|
|
326
|
-
const resizeToPreferredSize = (location) => {
|
|
327
|
-
const node = this.gridview.getView(location);
|
|
328
|
-
if (isGridBranchNode(node)) {
|
|
329
|
-
return false;
|
|
330
|
-
}
|
|
331
|
-
const direction = getLocationOrientation(this.orientation, location);
|
|
332
|
-
const size = direction === 1 ? node.view.preferredWidth : node.view.preferredHeight;
|
|
333
|
-
if (typeof size !== 'number') {
|
|
334
|
-
return false;
|
|
335
|
-
}
|
|
336
|
-
const viewSize = direction === 1 ? { width: Math.round(size) } : { height: Math.round(size) };
|
|
337
|
-
this.gridview.resizeView(location, viewSize);
|
|
338
|
-
return true;
|
|
339
|
-
};
|
|
340
|
-
if (resizeToPreferredSize(location)) {
|
|
341
|
-
return;
|
|
342
|
-
}
|
|
343
|
-
const [parentLocation, index] = tail2(location);
|
|
344
|
-
if (resizeToPreferredSize([...parentLocation, index + 1])) {
|
|
345
|
-
return;
|
|
346
|
-
}
|
|
347
|
-
this.gridview.distributeViewSizes(parentLocation);
|
|
348
|
-
}
|
|
349
|
-
}
|
|
350
|
-
class SerializableGrid extends Grid {
|
|
351
|
-
constructor() {
|
|
352
|
-
super(...arguments);
|
|
353
|
-
this.initialLayoutContext = true;
|
|
354
|
-
}
|
|
355
|
-
static serializeNode(node, orientation) {
|
|
356
|
-
const size = orientation === 0 ? node.box.width : node.box.height;
|
|
357
|
-
if (!isGridBranchNode(node)) {
|
|
358
|
-
if (typeof node.cachedVisibleSize === 'number') {
|
|
359
|
-
return { type: 'leaf', data: node.view.toJSON(), size: node.cachedVisibleSize, visible: false };
|
|
360
|
-
}
|
|
361
|
-
return { type: 'leaf', data: node.view.toJSON(), size };
|
|
362
|
-
}
|
|
363
|
-
return { type: 'branch', data: ( node.children.map(c => SerializableGrid.serializeNode(c, orthogonal(orientation)))), size };
|
|
364
|
-
}
|
|
365
|
-
static deserialize(json, deserializer, options = {}) {
|
|
366
|
-
if (typeof json.orientation !== 'number') {
|
|
367
|
-
throw new Error('Invalid JSON: \'orientation\' property must be a number.');
|
|
368
|
-
}
|
|
369
|
-
else if (typeof json.width !== 'number') {
|
|
370
|
-
throw new Error('Invalid JSON: \'width\' property must be a number.');
|
|
371
|
-
}
|
|
372
|
-
else if (typeof json.height !== 'number') {
|
|
373
|
-
throw new Error('Invalid JSON: \'height\' property must be a number.');
|
|
374
|
-
}
|
|
375
|
-
const gridview = GridView.deserialize(json, deserializer, options);
|
|
376
|
-
const result = ( new SerializableGrid(gridview, options));
|
|
377
|
-
return result;
|
|
378
|
-
}
|
|
379
|
-
static from(gridDescriptor, options = {}) {
|
|
380
|
-
return SerializableGrid.deserialize(createSerializedGrid(gridDescriptor), { fromJSON: view => view }, options);
|
|
381
|
-
}
|
|
382
|
-
serialize() {
|
|
383
|
-
return {
|
|
384
|
-
root: SerializableGrid.serializeNode(this.getViews(), this.orientation),
|
|
385
|
-
orientation: this.orientation,
|
|
386
|
-
width: this.width,
|
|
387
|
-
height: this.height
|
|
388
|
-
};
|
|
389
|
-
}
|
|
390
|
-
layout(width, height, top = 0, left = 0) {
|
|
391
|
-
super.layout(width, height, top, left);
|
|
392
|
-
if (this.initialLayoutContext) {
|
|
393
|
-
this.initialLayoutContext = false;
|
|
394
|
-
this.gridview.trySet2x2();
|
|
395
|
-
}
|
|
396
|
-
}
|
|
397
|
-
}
|
|
398
|
-
function isGridBranchNodeDescriptor(nodeDescriptor) {
|
|
399
|
-
return !!nodeDescriptor.groups;
|
|
400
|
-
}
|
|
401
|
-
function sanitizeGridNodeDescriptor(nodeDescriptor, rootNode) {
|
|
402
|
-
if (!rootNode && nodeDescriptor.groups && nodeDescriptor.groups.length <= 1) {
|
|
403
|
-
nodeDescriptor.groups = undefined;
|
|
404
|
-
}
|
|
405
|
-
if (!isGridBranchNodeDescriptor(nodeDescriptor)) {
|
|
406
|
-
return;
|
|
407
|
-
}
|
|
408
|
-
let totalDefinedSize = 0;
|
|
409
|
-
let totalDefinedSizeCount = 0;
|
|
410
|
-
for (const child of nodeDescriptor.groups) {
|
|
411
|
-
sanitizeGridNodeDescriptor(child, false);
|
|
412
|
-
if (child.size) {
|
|
413
|
-
totalDefinedSize += child.size;
|
|
414
|
-
totalDefinedSizeCount++;
|
|
415
|
-
}
|
|
416
|
-
}
|
|
417
|
-
const totalUndefinedSize = totalDefinedSizeCount > 0 ? totalDefinedSize : 1;
|
|
418
|
-
const totalUndefinedSizeCount = nodeDescriptor.groups.length - totalDefinedSizeCount;
|
|
419
|
-
const eachUndefinedSize = totalUndefinedSize / totalUndefinedSizeCount;
|
|
420
|
-
for (const child of nodeDescriptor.groups) {
|
|
421
|
-
if (!child.size) {
|
|
422
|
-
child.size = eachUndefinedSize;
|
|
423
|
-
}
|
|
424
|
-
}
|
|
425
|
-
}
|
|
426
|
-
function createSerializedNode(nodeDescriptor) {
|
|
427
|
-
if (isGridBranchNodeDescriptor(nodeDescriptor)) {
|
|
428
|
-
return { type: 'branch', data: ( nodeDescriptor.groups.map(c => createSerializedNode(c))), size: nodeDescriptor.size };
|
|
429
|
-
}
|
|
430
|
-
else {
|
|
431
|
-
return { type: 'leaf', data: nodeDescriptor.data, size: nodeDescriptor.size };
|
|
432
|
-
}
|
|
433
|
-
}
|
|
434
|
-
function getDimensions(node, orientation) {
|
|
435
|
-
if (node.type === 'branch') {
|
|
436
|
-
const childrenDimensions = ( node.data.map(c => getDimensions(c, orthogonal(orientation))));
|
|
437
|
-
if (orientation === 0 ) {
|
|
438
|
-
const width = node.size || (childrenDimensions.length === 0 ? undefined : Math.max(...( childrenDimensions.map(d => d.width || 0))));
|
|
439
|
-
const height = childrenDimensions.length === 0 ? undefined : childrenDimensions.reduce((r, d) => r + (d.height || 0), 0);
|
|
440
|
-
return { width, height };
|
|
441
|
-
}
|
|
442
|
-
else {
|
|
443
|
-
const width = childrenDimensions.length === 0 ? undefined : childrenDimensions.reduce((r, d) => r + (d.width || 0), 0);
|
|
444
|
-
const height = node.size || (childrenDimensions.length === 0 ? undefined : Math.max(...( childrenDimensions.map(d => d.height || 0))));
|
|
445
|
-
return { width, height };
|
|
446
|
-
}
|
|
447
|
-
}
|
|
448
|
-
else {
|
|
449
|
-
const width = orientation === 0 ? node.size : undefined;
|
|
450
|
-
const height = orientation === 0 ? undefined : node.size;
|
|
451
|
-
return { width, height };
|
|
452
|
-
}
|
|
453
|
-
}
|
|
454
|
-
function createSerializedGrid(gridDescriptor) {
|
|
455
|
-
sanitizeGridNodeDescriptor(gridDescriptor, true);
|
|
456
|
-
const root = createSerializedNode(gridDescriptor);
|
|
457
|
-
const { width, height } = getDimensions(root, gridDescriptor.orientation);
|
|
458
|
-
return {
|
|
459
|
-
root,
|
|
460
|
-
orientation: gridDescriptor.orientation,
|
|
461
|
-
width: width || 1,
|
|
462
|
-
height: height || 1
|
|
463
|
-
};
|
|
464
|
-
}
|
|
465
|
-
export { Grid, SerializableGrid, Sizing, createSerializedGrid, getRelativeLocation, isGridBranchNode, orthogonal, sanitizeGridNodeDescriptor };
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import n from '../../../../../../../external/rollup-plugin-styles/dist/runtime/inject-css.js';
|
|
2
|
-
var css = ".monaco-grid-view{overflow:hidden;position:relative}.monaco-grid-branch-node,.monaco-grid-view{height:100%;width:100%}";
|
|
3
|
-
n(css,{});
|
|
4
|
-
export { css, css as default };
|