@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,247 +0,0 @@
|
|
|
1
|
-
import { __decorate, __param } from '../../../../../../../external/tslib/tslib.es6.js';
|
|
2
|
-
import { CancellationTokenSource } from 'monaco-editor/esm/vs/base/common/cancellation.js';
|
|
3
|
-
import { Codicon } from 'monaco-editor/esm/vs/base/common/codicons.js';
|
|
4
|
-
import { isCancellationError } from 'monaco-editor/esm/vs/base/common/errors.js';
|
|
5
|
-
import { Event } from 'monaco-editor/esm/vs/base/common/event.js';
|
|
6
|
-
import { DisposableStore } from 'monaco-editor/esm/vs/base/common/lifecycle.js';
|
|
7
|
-
import { registerEditorContribution, EditorAction2 } from 'monaco-editor/esm/vs/editor/browser/editorExtensions.js';
|
|
8
|
-
import { ICodeEditorService } from 'monaco-editor/esm/vs/editor/browser/services/codeEditorService.js';
|
|
9
|
-
import { Range } from 'monaco-editor/esm/vs/editor/common/core/range.js';
|
|
10
|
-
import { PeekContext } from 'monaco-editor/esm/vs/editor/contrib/peekView/browser/peekView.js';
|
|
11
|
-
import { localize } from 'monaco-editor/esm/vs/nls.js';
|
|
12
|
-
import { registerAction2, MenuId } from 'monaco-editor/esm/vs/platform/actions/common/actions.js';
|
|
13
|
-
import { ContextKeyExpr, RawContextKey, IContextKeyService } from 'monaco-editor/esm/vs/platform/contextkey/common/contextkey.js';
|
|
14
|
-
import { IInstantiationService } from 'monaco-editor/esm/vs/platform/instantiation/common/instantiation.js';
|
|
15
|
-
import { IStorageService } from 'monaco-editor/esm/vs/platform/storage/common/storage.js';
|
|
16
|
-
import { TypeHierarchyTreePeekWidget } from './typeHierarchyPeek.js';
|
|
17
|
-
import { TypeHierarchyProviderRegistry, TypeHierarchyModel } from '../common/typeHierarchy.js';
|
|
18
|
-
var TypeHierarchyController_1;
|
|
19
|
-
const _ctxHasTypeHierarchyProvider = ( new RawContextKey('editorHasTypeHierarchyProvider', false, ( localize(
|
|
20
|
-
'editorHasTypeHierarchyProvider',
|
|
21
|
-
'Whether a type hierarchy provider is available'
|
|
22
|
-
))));
|
|
23
|
-
const _ctxTypeHierarchyVisible = ( new RawContextKey('typeHierarchyVisible', false, ( localize('typeHierarchyVisible', 'Whether type hierarchy peek is currently showing'))));
|
|
24
|
-
const _ctxTypeHierarchyDirection = ( new RawContextKey(
|
|
25
|
-
'typeHierarchyDirection',
|
|
26
|
-
undefined,
|
|
27
|
-
{ type: 'string', description: ( localize(
|
|
28
|
-
'typeHierarchyDirection',
|
|
29
|
-
'whether type hierarchy shows super types or subtypes'
|
|
30
|
-
)) }
|
|
31
|
-
));
|
|
32
|
-
function sanitizedDirection(candidate) {
|
|
33
|
-
return candidate === "subtypes" || candidate === "supertypes"
|
|
34
|
-
? candidate
|
|
35
|
-
: "subtypes" ;
|
|
36
|
-
}
|
|
37
|
-
let TypeHierarchyController = class TypeHierarchyController {
|
|
38
|
-
static { TypeHierarchyController_1 = this; }
|
|
39
|
-
static { this.Id = 'typeHierarchy'; }
|
|
40
|
-
static get(editor) {
|
|
41
|
-
return editor.getContribution(TypeHierarchyController_1.Id);
|
|
42
|
-
}
|
|
43
|
-
static { this._storageDirectionKey = 'typeHierarchy/defaultDirection'; }
|
|
44
|
-
constructor(_editor, _contextKeyService, _storageService, _editorService, _instantiationService) {
|
|
45
|
-
this._editor = _editor;
|
|
46
|
-
this._contextKeyService = _contextKeyService;
|
|
47
|
-
this._storageService = _storageService;
|
|
48
|
-
this._editorService = _editorService;
|
|
49
|
-
this._instantiationService = _instantiationService;
|
|
50
|
-
this._disposables = ( new DisposableStore());
|
|
51
|
-
this._sessionDisposables = ( new DisposableStore());
|
|
52
|
-
this._ctxHasProvider = _ctxHasTypeHierarchyProvider.bindTo(this._contextKeyService);
|
|
53
|
-
this._ctxIsVisible = _ctxTypeHierarchyVisible.bindTo(this._contextKeyService);
|
|
54
|
-
this._ctxDirection = _ctxTypeHierarchyDirection.bindTo(this._contextKeyService);
|
|
55
|
-
this._disposables.add(Event.any(_editor.onDidChangeModel, _editor.onDidChangeModelLanguage, TypeHierarchyProviderRegistry.onDidChange)(() => {
|
|
56
|
-
this._ctxHasProvider.set(_editor.hasModel() && ( TypeHierarchyProviderRegistry.has(_editor.getModel())));
|
|
57
|
-
}));
|
|
58
|
-
this._disposables.add(this._sessionDisposables);
|
|
59
|
-
}
|
|
60
|
-
dispose() {
|
|
61
|
-
this._disposables.dispose();
|
|
62
|
-
}
|
|
63
|
-
async startTypeHierarchyFromEditor() {
|
|
64
|
-
this._sessionDisposables.clear();
|
|
65
|
-
if (!this._editor.hasModel()) {
|
|
66
|
-
return;
|
|
67
|
-
}
|
|
68
|
-
const document = this._editor.getModel();
|
|
69
|
-
const position = this._editor.getPosition();
|
|
70
|
-
if (!( TypeHierarchyProviderRegistry.has(document))) {
|
|
71
|
-
return;
|
|
72
|
-
}
|
|
73
|
-
const cts = ( new CancellationTokenSource());
|
|
74
|
-
const model = TypeHierarchyModel.create(document, position, cts.token);
|
|
75
|
-
const direction = sanitizedDirection(this._storageService.get(TypeHierarchyController_1._storageDirectionKey, 0 , "subtypes" ));
|
|
76
|
-
this._showTypeHierarchyWidget(position, direction, model, cts);
|
|
77
|
-
}
|
|
78
|
-
_showTypeHierarchyWidget(position, direction, model, cts) {
|
|
79
|
-
this._ctxIsVisible.set(true);
|
|
80
|
-
this._ctxDirection.set(direction);
|
|
81
|
-
Event.any(this._editor.onDidChangeModel, this._editor.onDidChangeModelLanguage)(this.endTypeHierarchy, this, this._sessionDisposables);
|
|
82
|
-
this._widget = this._instantiationService.createInstance(TypeHierarchyTreePeekWidget, this._editor, position, direction);
|
|
83
|
-
this._widget.showLoading();
|
|
84
|
-
this._sessionDisposables.add(this._widget.onDidClose(() => {
|
|
85
|
-
this.endTypeHierarchy();
|
|
86
|
-
this._storageService.store(TypeHierarchyController_1._storageDirectionKey, this._widget.direction, 0 , 0 );
|
|
87
|
-
}));
|
|
88
|
-
this._sessionDisposables.add({ dispose() { cts.dispose(true); } });
|
|
89
|
-
this._sessionDisposables.add(this._widget);
|
|
90
|
-
model.then(model => {
|
|
91
|
-
if (cts.token.isCancellationRequested) {
|
|
92
|
-
return;
|
|
93
|
-
}
|
|
94
|
-
if (model) {
|
|
95
|
-
this._sessionDisposables.add(model);
|
|
96
|
-
this._widget.showModel(model);
|
|
97
|
-
}
|
|
98
|
-
else {
|
|
99
|
-
this._widget.showMessage(( localize('no.item', "No results")));
|
|
100
|
-
}
|
|
101
|
-
}).catch(err => {
|
|
102
|
-
if (isCancellationError(err)) {
|
|
103
|
-
this.endTypeHierarchy();
|
|
104
|
-
return;
|
|
105
|
-
}
|
|
106
|
-
this._widget.showMessage(( localize('error', "Failed to show type hierarchy")));
|
|
107
|
-
});
|
|
108
|
-
}
|
|
109
|
-
async startTypeHierarchyFromTypeHierarchy() {
|
|
110
|
-
if (!this._widget) {
|
|
111
|
-
return;
|
|
112
|
-
}
|
|
113
|
-
const model = this._widget.getModel();
|
|
114
|
-
const typeItem = this._widget.getFocused();
|
|
115
|
-
if (!typeItem || !model) {
|
|
116
|
-
return;
|
|
117
|
-
}
|
|
118
|
-
const newEditor = await this._editorService.openCodeEditor({ resource: typeItem.item.uri }, this._editor);
|
|
119
|
-
if (!newEditor) {
|
|
120
|
-
return;
|
|
121
|
-
}
|
|
122
|
-
const newModel = model.fork(typeItem.item);
|
|
123
|
-
this._sessionDisposables.clear();
|
|
124
|
-
TypeHierarchyController_1.get(newEditor)?._showTypeHierarchyWidget(Range.lift(newModel.root.selectionRange).getStartPosition(), this._widget.direction, Promise.resolve(newModel), ( new CancellationTokenSource()));
|
|
125
|
-
}
|
|
126
|
-
showSupertypes() {
|
|
127
|
-
this._widget?.updateDirection("supertypes" );
|
|
128
|
-
this._ctxDirection.set("supertypes" );
|
|
129
|
-
}
|
|
130
|
-
showSubtypes() {
|
|
131
|
-
this._widget?.updateDirection("subtypes" );
|
|
132
|
-
this._ctxDirection.set("subtypes" );
|
|
133
|
-
}
|
|
134
|
-
endTypeHierarchy() {
|
|
135
|
-
this._sessionDisposables.clear();
|
|
136
|
-
this._ctxIsVisible.set(false);
|
|
137
|
-
this._editor.focus();
|
|
138
|
-
}
|
|
139
|
-
};
|
|
140
|
-
TypeHierarchyController = TypeHierarchyController_1 = ( __decorate([
|
|
141
|
-
( __param(1, IContextKeyService)),
|
|
142
|
-
( __param(2, IStorageService)),
|
|
143
|
-
( __param(3, ICodeEditorService)),
|
|
144
|
-
( __param(4, IInstantiationService))
|
|
145
|
-
], TypeHierarchyController));
|
|
146
|
-
registerEditorContribution(TypeHierarchyController.Id, TypeHierarchyController, 0 );
|
|
147
|
-
registerAction2(class PeekTypeHierarchyAction extends EditorAction2 {
|
|
148
|
-
constructor() {
|
|
149
|
-
super({
|
|
150
|
-
id: 'editor.showTypeHierarchy',
|
|
151
|
-
title: { value: ( localize('title', "Peek Type Hierarchy")), original: 'Peek Type Hierarchy' },
|
|
152
|
-
menu: {
|
|
153
|
-
id: MenuId.EditorContextPeek,
|
|
154
|
-
group: 'navigation',
|
|
155
|
-
order: 1000,
|
|
156
|
-
when: ( ContextKeyExpr.and(_ctxHasTypeHierarchyProvider, PeekContext.notInPeekEditor)),
|
|
157
|
-
},
|
|
158
|
-
precondition: ( ContextKeyExpr.and(_ctxHasTypeHierarchyProvider, PeekContext.notInPeekEditor)),
|
|
159
|
-
f1: true
|
|
160
|
-
});
|
|
161
|
-
}
|
|
162
|
-
async runEditorCommand(_accessor, editor) {
|
|
163
|
-
return TypeHierarchyController.get(editor)?.startTypeHierarchyFromEditor();
|
|
164
|
-
}
|
|
165
|
-
});
|
|
166
|
-
registerAction2(class extends EditorAction2 {
|
|
167
|
-
constructor() {
|
|
168
|
-
super({
|
|
169
|
-
id: 'editor.showSupertypes',
|
|
170
|
-
title: { value: ( localize('title.supertypes', "Show Supertypes")), original: 'Show Supertypes' },
|
|
171
|
-
icon: Codicon.typeHierarchySuper,
|
|
172
|
-
precondition: ( ContextKeyExpr.and(_ctxTypeHierarchyVisible, ( _ctxTypeHierarchyDirection.isEqualTo("subtypes" )))),
|
|
173
|
-
keybinding: {
|
|
174
|
-
weight: 200 ,
|
|
175
|
-
primary: 1024 + 512 + 38 ,
|
|
176
|
-
},
|
|
177
|
-
menu: {
|
|
178
|
-
id: TypeHierarchyTreePeekWidget.TitleMenu,
|
|
179
|
-
when: ( _ctxTypeHierarchyDirection.isEqualTo("subtypes" )),
|
|
180
|
-
order: 1,
|
|
181
|
-
}
|
|
182
|
-
});
|
|
183
|
-
}
|
|
184
|
-
runEditorCommand(_accessor, editor) {
|
|
185
|
-
return TypeHierarchyController.get(editor)?.showSupertypes();
|
|
186
|
-
}
|
|
187
|
-
});
|
|
188
|
-
registerAction2(class extends EditorAction2 {
|
|
189
|
-
constructor() {
|
|
190
|
-
super({
|
|
191
|
-
id: 'editor.showSubtypes',
|
|
192
|
-
title: { value: ( localize('title.subtypes', "Show Subtypes")), original: 'Show Subtypes' },
|
|
193
|
-
icon: Codicon.typeHierarchySub,
|
|
194
|
-
precondition: ( ContextKeyExpr.and(_ctxTypeHierarchyVisible, ( _ctxTypeHierarchyDirection.isEqualTo("supertypes" )))),
|
|
195
|
-
keybinding: {
|
|
196
|
-
weight: 200 ,
|
|
197
|
-
primary: 1024 + 512 + 38 ,
|
|
198
|
-
},
|
|
199
|
-
menu: {
|
|
200
|
-
id: TypeHierarchyTreePeekWidget.TitleMenu,
|
|
201
|
-
when: ( _ctxTypeHierarchyDirection.isEqualTo("supertypes" )),
|
|
202
|
-
order: 1,
|
|
203
|
-
}
|
|
204
|
-
});
|
|
205
|
-
}
|
|
206
|
-
runEditorCommand(_accessor, editor) {
|
|
207
|
-
return TypeHierarchyController.get(editor)?.showSubtypes();
|
|
208
|
-
}
|
|
209
|
-
});
|
|
210
|
-
registerAction2(class extends EditorAction2 {
|
|
211
|
-
constructor() {
|
|
212
|
-
super({
|
|
213
|
-
id: 'editor.refocusTypeHierarchy',
|
|
214
|
-
title: { value: ( localize('title.refocusTypeHierarchy', "Refocus Type Hierarchy")), original: 'Refocus Type Hierarchy' },
|
|
215
|
-
precondition: _ctxTypeHierarchyVisible,
|
|
216
|
-
keybinding: {
|
|
217
|
-
weight: 200 ,
|
|
218
|
-
primary: 1024 + 3
|
|
219
|
-
}
|
|
220
|
-
});
|
|
221
|
-
}
|
|
222
|
-
async runEditorCommand(_accessor, editor) {
|
|
223
|
-
return TypeHierarchyController.get(editor)?.startTypeHierarchyFromTypeHierarchy();
|
|
224
|
-
}
|
|
225
|
-
});
|
|
226
|
-
registerAction2(class extends EditorAction2 {
|
|
227
|
-
constructor() {
|
|
228
|
-
super({
|
|
229
|
-
id: 'editor.closeTypeHierarchy',
|
|
230
|
-
title: ( localize('close', 'Close')),
|
|
231
|
-
icon: Codicon.close,
|
|
232
|
-
precondition: _ctxTypeHierarchyVisible,
|
|
233
|
-
keybinding: {
|
|
234
|
-
weight: 200 + 10,
|
|
235
|
-
primary: 9 ,
|
|
236
|
-
when: ContextKeyExpr.not('config.editor.stablePeek')
|
|
237
|
-
},
|
|
238
|
-
menu: {
|
|
239
|
-
id: TypeHierarchyTreePeekWidget.TitleMenu,
|
|
240
|
-
order: 1000
|
|
241
|
-
}
|
|
242
|
-
});
|
|
243
|
-
}
|
|
244
|
-
runEditorCommand(_accessor, editor) {
|
|
245
|
-
return TypeHierarchyController.get(editor)?.endTypeHierarchy();
|
|
246
|
-
}
|
|
247
|
-
});
|
|
@@ -1,334 +0,0 @@
|
|
|
1
|
-
import { __decorate, __param } from '../../../../../../../external/tslib/tslib.es6.js';
|
|
2
|
-
import './media/typeHierarchy.css.js';
|
|
3
|
-
import { Dimension } from 'monaco-editor/esm/vs/base/browser/dom.js';
|
|
4
|
-
import { SplitView, Sizing } from 'monaco-editor/esm/vs/base/browser/ui/splitview/splitview.js';
|
|
5
|
-
import { TreeMouseEventTarget } from 'monaco-editor/esm/vs/base/browser/ui/tree/tree.js';
|
|
6
|
-
import { Color } from 'monaco-editor/esm/vs/base/common/color.js';
|
|
7
|
-
import { Event } from 'monaco-editor/esm/vs/base/common/event.js';
|
|
8
|
-
import { DisposableStore, toDisposable } from 'monaco-editor/esm/vs/base/common/lifecycle.js';
|
|
9
|
-
import { EmbeddedCodeEditorWidget } from 'monaco-editor/esm/vs/editor/browser/widget/embeddedCodeEditorWidget.js';
|
|
10
|
-
import { Range } from 'monaco-editor/esm/vs/editor/common/core/range.js';
|
|
11
|
-
import { OverviewRulerLane } from 'monaco-editor/esm/vs/editor/common/model.js';
|
|
12
|
-
import { ITextModelService } from 'monaco-editor/esm/vs/editor/common/services/resolverService.js';
|
|
13
|
-
import * as peekView from 'monaco-editor/esm/vs/editor/contrib/peekView/browser/peekView.js';
|
|
14
|
-
import { localize } from 'monaco-editor/esm/vs/nls.js';
|
|
15
|
-
import { createAndFillInActionBarActions } from 'monaco-editor/esm/vs/platform/actions/browser/menuEntryActionViewItem.js';
|
|
16
|
-
import { MenuId, IMenuService } from 'monaco-editor/esm/vs/platform/actions/common/actions.js';
|
|
17
|
-
import { IContextKeyService } from 'monaco-editor/esm/vs/platform/contextkey/common/contextkey.js';
|
|
18
|
-
import { IInstantiationService } from 'monaco-editor/esm/vs/platform/instantiation/common/instantiation.js';
|
|
19
|
-
import { WorkbenchAsyncDataTree } from 'monaco-editor/esm/vs/platform/list/browser/listService.js';
|
|
20
|
-
import { IStorageService } from 'monaco-editor/esm/vs/platform/storage/common/storage.js';
|
|
21
|
-
import { themeColorFromId, IThemeService } from 'monaco-editor/esm/vs/platform/theme/common/themeService.js';
|
|
22
|
-
import { VirtualDelegate, TypeRenderer, DataSource, Sorter, AccessibilityProvider, IdentityProvider } from './typeHierarchyTree.js';
|
|
23
|
-
import { IEditorService } from '../../../services/editor/common/editorService.js';
|
|
24
|
-
var TypeHierarchyTreePeekWidget_1;
|
|
25
|
-
class LayoutInfo {
|
|
26
|
-
static store(info, storageService) {
|
|
27
|
-
storageService.store('typeHierarchyPeekLayout', JSON.stringify(info), 0 , 1 );
|
|
28
|
-
}
|
|
29
|
-
static retrieve(storageService) {
|
|
30
|
-
const value = storageService.get('typeHierarchyPeekLayout', 0 , '{}');
|
|
31
|
-
const defaultInfo = { ratio: 0.7, height: 17 };
|
|
32
|
-
try {
|
|
33
|
-
return { ...defaultInfo, ...JSON.parse(value) };
|
|
34
|
-
}
|
|
35
|
-
catch {
|
|
36
|
-
return defaultInfo;
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
constructor(ratio, height) {
|
|
40
|
-
this.ratio = ratio;
|
|
41
|
-
this.height = height;
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
class TypeHierarchyTree extends WorkbenchAsyncDataTree {
|
|
45
|
-
}
|
|
46
|
-
let TypeHierarchyTreePeekWidget = class TypeHierarchyTreePeekWidget extends peekView.PeekViewWidget {
|
|
47
|
-
static { TypeHierarchyTreePeekWidget_1 = this; }
|
|
48
|
-
static { this.TitleMenu = ( new MenuId('typehierarchy/title')); }
|
|
49
|
-
constructor(editor, _where, _direction, themeService, _peekViewService, _editorService, _textModelService, _storageService, _menuService, _contextKeyService, _instantiationService) {
|
|
50
|
-
super(editor, { showFrame: true, showArrow: true, isResizeable: true, isAccessible: true }, _instantiationService);
|
|
51
|
-
this._where = _where;
|
|
52
|
-
this._direction = _direction;
|
|
53
|
-
this._peekViewService = _peekViewService;
|
|
54
|
-
this._editorService = _editorService;
|
|
55
|
-
this._textModelService = _textModelService;
|
|
56
|
-
this._storageService = _storageService;
|
|
57
|
-
this._menuService = _menuService;
|
|
58
|
-
this._contextKeyService = _contextKeyService;
|
|
59
|
-
this._instantiationService = _instantiationService;
|
|
60
|
-
this._treeViewStates = ( new Map());
|
|
61
|
-
this._previewDisposable = ( new DisposableStore());
|
|
62
|
-
this.create();
|
|
63
|
-
this._peekViewService.addExclusiveWidget(editor, this);
|
|
64
|
-
this._applyTheme(themeService.getColorTheme());
|
|
65
|
-
this._disposables.add(themeService.onDidColorThemeChange(this._applyTheme, this));
|
|
66
|
-
this._disposables.add(this._previewDisposable);
|
|
67
|
-
}
|
|
68
|
-
dispose() {
|
|
69
|
-
LayoutInfo.store(this._layoutInfo, this._storageService);
|
|
70
|
-
this._splitView.dispose();
|
|
71
|
-
this._tree.dispose();
|
|
72
|
-
this._editor.dispose();
|
|
73
|
-
super.dispose();
|
|
74
|
-
}
|
|
75
|
-
get direction() {
|
|
76
|
-
return this._direction;
|
|
77
|
-
}
|
|
78
|
-
_applyTheme(theme) {
|
|
79
|
-
const borderColor = theme.getColor(peekView.peekViewBorder) || Color.transparent;
|
|
80
|
-
this.style({
|
|
81
|
-
arrowColor: borderColor,
|
|
82
|
-
frameColor: borderColor,
|
|
83
|
-
headerBackgroundColor: theme.getColor(peekView.peekViewTitleBackground) || Color.transparent,
|
|
84
|
-
primaryHeadingColor: theme.getColor(peekView.peekViewTitleForeground),
|
|
85
|
-
secondaryHeadingColor: theme.getColor(peekView.peekViewTitleInfoForeground)
|
|
86
|
-
});
|
|
87
|
-
}
|
|
88
|
-
_fillHead(container) {
|
|
89
|
-
super._fillHead(container, true);
|
|
90
|
-
const menu = this._menuService.createMenu(TypeHierarchyTreePeekWidget_1.TitleMenu, this._contextKeyService);
|
|
91
|
-
const updateToolbar = () => {
|
|
92
|
-
const actions = [];
|
|
93
|
-
createAndFillInActionBarActions(menu, undefined, actions);
|
|
94
|
-
this._actionbarWidget.clear();
|
|
95
|
-
this._actionbarWidget.push(actions, { label: false, icon: true });
|
|
96
|
-
};
|
|
97
|
-
this._disposables.add(menu);
|
|
98
|
-
this._disposables.add(menu.onDidChange(updateToolbar));
|
|
99
|
-
updateToolbar();
|
|
100
|
-
}
|
|
101
|
-
_fillBody(parent) {
|
|
102
|
-
this._layoutInfo = LayoutInfo.retrieve(this._storageService);
|
|
103
|
-
this._dim = ( new Dimension(0, 0));
|
|
104
|
-
this._parent = parent;
|
|
105
|
-
parent.classList.add('type-hierarchy');
|
|
106
|
-
const message = document.createElement('div');
|
|
107
|
-
message.classList.add('message');
|
|
108
|
-
parent.appendChild(message);
|
|
109
|
-
this._message = message;
|
|
110
|
-
this._message.tabIndex = 0;
|
|
111
|
-
const container = document.createElement('div');
|
|
112
|
-
container.classList.add('results');
|
|
113
|
-
parent.appendChild(container);
|
|
114
|
-
this._splitView = ( new SplitView(container, { orientation: 1 }));
|
|
115
|
-
const editorContainer = document.createElement('div');
|
|
116
|
-
editorContainer.classList.add('editor');
|
|
117
|
-
container.appendChild(editorContainer);
|
|
118
|
-
const editorOptions = {
|
|
119
|
-
scrollBeyondLastLine: false,
|
|
120
|
-
scrollbar: {
|
|
121
|
-
verticalScrollbarSize: 14,
|
|
122
|
-
horizontal: 'auto',
|
|
123
|
-
useShadows: true,
|
|
124
|
-
verticalHasArrows: false,
|
|
125
|
-
horizontalHasArrows: false,
|
|
126
|
-
alwaysConsumeMouseWheel: false
|
|
127
|
-
},
|
|
128
|
-
overviewRulerLanes: 2,
|
|
129
|
-
fixedOverflowWidgets: true,
|
|
130
|
-
minimap: {
|
|
131
|
-
enabled: false
|
|
132
|
-
}
|
|
133
|
-
};
|
|
134
|
-
this._editor = this._instantiationService.createInstance(EmbeddedCodeEditorWidget, editorContainer, editorOptions, {}, this.editor);
|
|
135
|
-
const treeContainer = document.createElement('div');
|
|
136
|
-
treeContainer.classList.add('tree');
|
|
137
|
-
container.appendChild(treeContainer);
|
|
138
|
-
const options = {
|
|
139
|
-
sorter: new Sorter(),
|
|
140
|
-
accessibilityProvider: new AccessibilityProvider(() => this._direction),
|
|
141
|
-
identityProvider: new IdentityProvider(() => this._direction),
|
|
142
|
-
expandOnlyOnTwistieClick: true,
|
|
143
|
-
overrideStyles: {
|
|
144
|
-
listBackground: peekView.peekViewResultsBackground
|
|
145
|
-
}
|
|
146
|
-
};
|
|
147
|
-
this._tree = this._instantiationService.createInstance(TypeHierarchyTree, 'TypeHierarchyPeek', treeContainer, new VirtualDelegate(), [this._instantiationService.createInstance(TypeRenderer)], this._instantiationService.createInstance(DataSource, () => this._direction), options);
|
|
148
|
-
this._splitView.addView({
|
|
149
|
-
onDidChange: Event.None,
|
|
150
|
-
element: editorContainer,
|
|
151
|
-
minimumSize: 200,
|
|
152
|
-
maximumSize: Number.MAX_VALUE,
|
|
153
|
-
layout: (width) => {
|
|
154
|
-
if (this._dim.height) {
|
|
155
|
-
this._editor.layout({ height: this._dim.height, width });
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
}, Sizing.Distribute);
|
|
159
|
-
this._splitView.addView({
|
|
160
|
-
onDidChange: Event.None,
|
|
161
|
-
element: treeContainer,
|
|
162
|
-
minimumSize: 100,
|
|
163
|
-
maximumSize: Number.MAX_VALUE,
|
|
164
|
-
layout: (width) => {
|
|
165
|
-
if (this._dim.height) {
|
|
166
|
-
this._tree.layout(this._dim.height, width);
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
}, Sizing.Distribute);
|
|
170
|
-
this._disposables.add(this._splitView.onDidSashChange(() => {
|
|
171
|
-
if (this._dim.width) {
|
|
172
|
-
this._layoutInfo.ratio = this._splitView.getViewSize(0) / this._dim.width;
|
|
173
|
-
}
|
|
174
|
-
}));
|
|
175
|
-
this._disposables.add(this._tree.onDidChangeFocus(this._updatePreview, this));
|
|
176
|
-
this._disposables.add(this._editor.onMouseDown(e => {
|
|
177
|
-
const { event, target } = e;
|
|
178
|
-
if (event.detail !== 2) {
|
|
179
|
-
return;
|
|
180
|
-
}
|
|
181
|
-
const [focus] = this._tree.getFocus();
|
|
182
|
-
if (!focus) {
|
|
183
|
-
return;
|
|
184
|
-
}
|
|
185
|
-
this.dispose();
|
|
186
|
-
this._editorService.openEditor({
|
|
187
|
-
resource: focus.item.uri,
|
|
188
|
-
options: { selection: target.range }
|
|
189
|
-
});
|
|
190
|
-
}));
|
|
191
|
-
this._disposables.add(this._tree.onMouseDblClick(e => {
|
|
192
|
-
if (e.target === TreeMouseEventTarget.Twistie) {
|
|
193
|
-
return;
|
|
194
|
-
}
|
|
195
|
-
if (e.element) {
|
|
196
|
-
this.dispose();
|
|
197
|
-
this._editorService.openEditor({
|
|
198
|
-
resource: e.element.item.uri,
|
|
199
|
-
options: { selection: e.element.item.selectionRange, pinned: true }
|
|
200
|
-
});
|
|
201
|
-
}
|
|
202
|
-
}));
|
|
203
|
-
this._disposables.add(this._tree.onDidChangeSelection(e => {
|
|
204
|
-
const [element] = e.elements;
|
|
205
|
-
if (element && e.browserEvent instanceof KeyboardEvent) {
|
|
206
|
-
this.dispose();
|
|
207
|
-
this._editorService.openEditor({
|
|
208
|
-
resource: element.item.uri,
|
|
209
|
-
options: { selection: element.item.selectionRange, pinned: true }
|
|
210
|
-
});
|
|
211
|
-
}
|
|
212
|
-
}));
|
|
213
|
-
}
|
|
214
|
-
async _updatePreview() {
|
|
215
|
-
const [element] = this._tree.getFocus();
|
|
216
|
-
if (!element) {
|
|
217
|
-
return;
|
|
218
|
-
}
|
|
219
|
-
this._previewDisposable.clear();
|
|
220
|
-
const options = {
|
|
221
|
-
description: 'type-hierarchy-decoration',
|
|
222
|
-
stickiness: 1 ,
|
|
223
|
-
className: 'type-decoration',
|
|
224
|
-
overviewRuler: {
|
|
225
|
-
color: themeColorFromId(peekView.peekViewEditorMatchHighlight),
|
|
226
|
-
position: OverviewRulerLane.Center
|
|
227
|
-
},
|
|
228
|
-
};
|
|
229
|
-
let previewUri;
|
|
230
|
-
if (this._direction === "supertypes" ) {
|
|
231
|
-
previewUri = element.parent ? element.parent.item.uri : element.model.root.uri;
|
|
232
|
-
}
|
|
233
|
-
else {
|
|
234
|
-
previewUri = element.item.uri;
|
|
235
|
-
}
|
|
236
|
-
const value = await this._textModelService.createModelReference(previewUri);
|
|
237
|
-
this._editor.setModel(value.object.textEditorModel);
|
|
238
|
-
const decorations = [];
|
|
239
|
-
let fullRange;
|
|
240
|
-
const loc = { uri: element.item.uri, range: element.item.selectionRange };
|
|
241
|
-
if (( loc.uri.toString()) === ( previewUri.toString())) {
|
|
242
|
-
decorations.push({ range: loc.range, options });
|
|
243
|
-
fullRange = !fullRange ? loc.range : Range.plusRange(loc.range, fullRange);
|
|
244
|
-
}
|
|
245
|
-
if (fullRange) {
|
|
246
|
-
this._editor.revealRangeInCenter(fullRange, 1 );
|
|
247
|
-
const decorationsCollection = this._editor.createDecorationsCollection(decorations);
|
|
248
|
-
this._previewDisposable.add(toDisposable(() => decorationsCollection.clear()));
|
|
249
|
-
}
|
|
250
|
-
this._previewDisposable.add(value);
|
|
251
|
-
const title = this._direction === "supertypes"
|
|
252
|
-
? ( localize('supertypes', "Supertypes of '{0}'", element.model.root.name))
|
|
253
|
-
: ( localize('subtypes', "Subtypes of '{0}'", element.model.root.name));
|
|
254
|
-
this.setTitle(title);
|
|
255
|
-
}
|
|
256
|
-
showLoading() {
|
|
257
|
-
this._parent.dataset['state'] = "loading" ;
|
|
258
|
-
this.setTitle(( localize('title.loading', "Loading...")));
|
|
259
|
-
this._show();
|
|
260
|
-
}
|
|
261
|
-
showMessage(message) {
|
|
262
|
-
this._parent.dataset['state'] = "message" ;
|
|
263
|
-
this.setTitle('');
|
|
264
|
-
this.setMetaTitle('');
|
|
265
|
-
this._message.innerText = message;
|
|
266
|
-
this._show();
|
|
267
|
-
this._message.focus();
|
|
268
|
-
}
|
|
269
|
-
async showModel(model) {
|
|
270
|
-
this._show();
|
|
271
|
-
const viewState = this._treeViewStates.get(this._direction);
|
|
272
|
-
await this._tree.setInput(model, viewState);
|
|
273
|
-
const root = this._tree.getNode(model).children[0];
|
|
274
|
-
await this._tree.expand(root.element);
|
|
275
|
-
if (root.children.length === 0) {
|
|
276
|
-
this.showMessage(this._direction === "supertypes"
|
|
277
|
-
? ( localize('empt.supertypes', "No supertypes of '{0}'", model.root.name))
|
|
278
|
-
: ( localize('empt.subtypes', "No subtypes of '{0}'", model.root.name)));
|
|
279
|
-
}
|
|
280
|
-
else {
|
|
281
|
-
this._parent.dataset['state'] = "data" ;
|
|
282
|
-
if (!viewState || this._tree.getFocus().length === 0) {
|
|
283
|
-
this._tree.setFocus([root.children[0].element]);
|
|
284
|
-
}
|
|
285
|
-
this._tree.domFocus();
|
|
286
|
-
this._updatePreview();
|
|
287
|
-
}
|
|
288
|
-
}
|
|
289
|
-
getModel() {
|
|
290
|
-
return this._tree.getInput();
|
|
291
|
-
}
|
|
292
|
-
getFocused() {
|
|
293
|
-
return this._tree.getFocus()[0];
|
|
294
|
-
}
|
|
295
|
-
async updateDirection(newDirection) {
|
|
296
|
-
const model = this._tree.getInput();
|
|
297
|
-
if (model && newDirection !== this._direction) {
|
|
298
|
-
this._treeViewStates.set(this._direction, this._tree.getViewState());
|
|
299
|
-
this._direction = newDirection;
|
|
300
|
-
await this.showModel(model);
|
|
301
|
-
}
|
|
302
|
-
}
|
|
303
|
-
_show() {
|
|
304
|
-
if (!this._isShowing) {
|
|
305
|
-
this.editor.revealLineInCenterIfOutsideViewport(this._where.lineNumber, 0 );
|
|
306
|
-
super.show(Range.fromPositions(this._where), this._layoutInfo.height);
|
|
307
|
-
}
|
|
308
|
-
}
|
|
309
|
-
_onWidth(width) {
|
|
310
|
-
if (this._dim) {
|
|
311
|
-
this._doLayoutBody(this._dim.height, width);
|
|
312
|
-
}
|
|
313
|
-
}
|
|
314
|
-
_doLayoutBody(height, width) {
|
|
315
|
-
if (this._dim.height !== height || this._dim.width !== width) {
|
|
316
|
-
super._doLayoutBody(height, width);
|
|
317
|
-
this._dim = ( new Dimension(width, height));
|
|
318
|
-
this._layoutInfo.height = this._viewZone ? this._viewZone.heightInLines : this._layoutInfo.height;
|
|
319
|
-
this._splitView.layout(width);
|
|
320
|
-
this._splitView.resizeView(0, width * this._layoutInfo.ratio);
|
|
321
|
-
}
|
|
322
|
-
}
|
|
323
|
-
};
|
|
324
|
-
TypeHierarchyTreePeekWidget = TypeHierarchyTreePeekWidget_1 = ( __decorate([
|
|
325
|
-
( __param(3, IThemeService)),
|
|
326
|
-
( __param(4, peekView.IPeekViewService)),
|
|
327
|
-
( __param(5, IEditorService)),
|
|
328
|
-
( __param(6, ITextModelService)),
|
|
329
|
-
( __param(7, IStorageService)),
|
|
330
|
-
( __param(8, IMenuService)),
|
|
331
|
-
( __param(9, IContextKeyService)),
|
|
332
|
-
( __param(10, IInstantiationService))
|
|
333
|
-
], TypeHierarchyTreePeekWidget));
|
|
334
|
-
export { TypeHierarchyTreePeekWidget };
|