@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,617 +0,0 @@
|
|
|
1
|
-
import { __decorate, __param } from '../../../../../../../external/tslib/tslib.es6.js';
|
|
2
|
-
import { Emitter } from 'monaco-editor/esm/vs/base/common/event.js';
|
|
3
|
-
import { Disposable, dispose, toDisposable } from 'monaco-editor/esm/vs/base/common/lifecycle.js';
|
|
4
|
-
import { Schemas } from 'monaco-editor/esm/vs/base/common/network.js';
|
|
5
|
-
import { OS, isWindows, isMacintosh } from 'monaco-editor/esm/vs/base/common/platform.js';
|
|
6
|
-
import { localize } from 'monaco-editor/esm/vs/nls.js';
|
|
7
|
-
import { formatMessageForTerminal } from '../../../../platform/terminal/common/terminalStrings.js';
|
|
8
|
-
import { IConfigurationService } from 'monaco-editor/esm/vs/platform/configuration/common/configuration.js';
|
|
9
|
-
import { IInstantiationService } from 'monaco-editor/esm/vs/platform/instantiation/common/instantiation.js';
|
|
10
|
-
import { IProductService } from 'monaco-editor/esm/vs/platform/product/common/productService.js';
|
|
11
|
-
import { getRemoteAuthority } from 'monaco-editor/esm/vs/platform/remote/common/remoteHosts.js';
|
|
12
|
-
import { ITelemetryService } from 'monaco-editor/esm/vs/platform/telemetry/common/telemetry.js';
|
|
13
|
-
import { NaiveCwdDetectionCapability } from '../../../../platform/terminal/common/capabilities/naiveCwdDetectionCapability.js';
|
|
14
|
-
import { TerminalCapabilityStore } from '../../../../platform/terminal/common/capabilities/terminalCapabilityStore.js';
|
|
15
|
-
import { ITerminalLogService } from '../../../../platform/terminal/common/terminal.js';
|
|
16
|
-
import { TerminalRecorder } from '../../../../platform/terminal/common/terminalRecorder.js';
|
|
17
|
-
import { IWorkspaceContextService } from 'monaco-editor/esm/vs/platform/workspace/common/workspace.js';
|
|
18
|
-
import { EnvironmentVariableInfoChangesActive, EnvironmentVariableInfoStale } from './environmentVariableInfo.js';
|
|
19
|
-
import { ITerminalInstanceService } from './terminal.js';
|
|
20
|
-
import { IEnvironmentVariableService } from '../common/environmentVariable.js';
|
|
21
|
-
import { MergedEnvironmentVariableCollection } from '../../../../platform/terminal/common/environmentVariableCollection.js';
|
|
22
|
-
import { serializeEnvironmentVariableCollections } from '../../../../platform/terminal/common/environmentVariableShared.js';
|
|
23
|
-
import { ITerminalProfileResolverService } from '../common/terminal.js';
|
|
24
|
-
import { getWorkspaceForTerminal, createVariableResolver, createTerminalEnvironment, getCwd } from '../common/terminalEnvironment.js';
|
|
25
|
-
import { IConfigurationResolverService } from '../../../services/configurationResolver/common/configurationResolver.js';
|
|
26
|
-
import { IWorkbenchEnvironmentService } from '../../../services/environment/common/environmentService.js';
|
|
27
|
-
import { IHistoryService } from '../../../services/history/common/history.js';
|
|
28
|
-
import { IPathService } from '../../../services/path/common/pathService.js';
|
|
29
|
-
import { IRemoteAgentService } from '../../../services/remote/common/remoteAgentService.js';
|
|
30
|
-
import Severity from 'monaco-editor/esm/vs/base/common/severity.js';
|
|
31
|
-
import { INotificationService } from 'monaco-editor/esm/vs/platform/notification/common/notification.js';
|
|
32
|
-
import { generateUuid } from 'monaco-editor/esm/vs/base/common/uuid.js';
|
|
33
|
-
import { runWhenIdle } from 'monaco-editor/esm/vs/base/common/async.js';
|
|
34
|
-
let TerminalProcessManager = class TerminalProcessManager extends Disposable {
|
|
35
|
-
get persistentProcessId() { return this._process?.id; }
|
|
36
|
-
get shouldPersist() { return !!this.reconnectionProperties || (this._process ? this._process.shouldPersist : false); }
|
|
37
|
-
get hasWrittenData() { return this._hasWrittenData; }
|
|
38
|
-
get hasChildProcesses() { return this._hasChildProcesses; }
|
|
39
|
-
get reconnectionProperties() { return this._shellLaunchConfig?.attachPersistentProcess?.reconnectionProperties || this._shellLaunchConfig?.reconnectionProperties || undefined; }
|
|
40
|
-
get extEnvironmentVariableCollection() { return this._extEnvironmentVariableCollection; }
|
|
41
|
-
constructor(_instanceId, _configHelper, cwd, environmentVariableCollections, shellIntegrationNonce, _historyService, _instantiationService, _logService, _workspaceContextService, _configurationResolverService, _workbenchEnvironmentService, _productService, _remoteAgentService, _pathService, _environmentVariableService, _terminalProfileResolverService, _configurationService, _terminalInstanceService, _telemetryService, _notificationService) {
|
|
42
|
-
super();
|
|
43
|
-
this._instanceId = _instanceId;
|
|
44
|
-
this._configHelper = _configHelper;
|
|
45
|
-
this._historyService = _historyService;
|
|
46
|
-
this._instantiationService = _instantiationService;
|
|
47
|
-
this._logService = _logService;
|
|
48
|
-
this._workspaceContextService = _workspaceContextService;
|
|
49
|
-
this._configurationResolverService = _configurationResolverService;
|
|
50
|
-
this._workbenchEnvironmentService = _workbenchEnvironmentService;
|
|
51
|
-
this._productService = _productService;
|
|
52
|
-
this._remoteAgentService = _remoteAgentService;
|
|
53
|
-
this._pathService = _pathService;
|
|
54
|
-
this._environmentVariableService = _environmentVariableService;
|
|
55
|
-
this._terminalProfileResolverService = _terminalProfileResolverService;
|
|
56
|
-
this._configurationService = _configurationService;
|
|
57
|
-
this._terminalInstanceService = _terminalInstanceService;
|
|
58
|
-
this._telemetryService = _telemetryService;
|
|
59
|
-
this._notificationService = _notificationService;
|
|
60
|
-
this.processState = 1 ;
|
|
61
|
-
this.capabilities = ( (new TerminalCapabilityStore()));
|
|
62
|
-
this._isDisposed = false;
|
|
63
|
-
this._process = null;
|
|
64
|
-
this._processType = 0 ;
|
|
65
|
-
this._preLaunchInputQueue = [];
|
|
66
|
-
this._hasWrittenData = false;
|
|
67
|
-
this._hasChildProcesses = false;
|
|
68
|
-
this._ptyListenersAttached = false;
|
|
69
|
-
this._isDisconnected = false;
|
|
70
|
-
this._dimensions = { cols: 0, rows: 0 };
|
|
71
|
-
this._onPtyDisconnect = this._register(( (new Emitter())));
|
|
72
|
-
this.onPtyDisconnect = this._onPtyDisconnect.event;
|
|
73
|
-
this._onPtyReconnect = this._register(( (new Emitter())));
|
|
74
|
-
this.onPtyReconnect = this._onPtyReconnect.event;
|
|
75
|
-
this._onProcessReady = this._register(( (new Emitter())));
|
|
76
|
-
this.onProcessReady = this._onProcessReady.event;
|
|
77
|
-
this._onProcessStateChange = this._register(( (new Emitter())));
|
|
78
|
-
this.onProcessStateChange = this._onProcessStateChange.event;
|
|
79
|
-
this._onBeforeProcessData = this._register(( (new Emitter())));
|
|
80
|
-
this.onBeforeProcessData = this._onBeforeProcessData.event;
|
|
81
|
-
this._onProcessData = this._register(( (new Emitter())));
|
|
82
|
-
this.onProcessData = this._onProcessData.event;
|
|
83
|
-
this._onProcessReplayComplete = this._register(( (new Emitter())));
|
|
84
|
-
this.onProcessReplayComplete = this._onProcessReplayComplete.event;
|
|
85
|
-
this._onDidChangeProperty = this._register(( (new Emitter())));
|
|
86
|
-
this.onDidChangeProperty = this._onDidChangeProperty.event;
|
|
87
|
-
this._onEnvironmentVariableInfoChange = this._register(( (new Emitter())));
|
|
88
|
-
this.onEnvironmentVariableInfoChanged = this._onEnvironmentVariableInfoChange.event;
|
|
89
|
-
this._onProcessExit = this._register(( (new Emitter())));
|
|
90
|
-
this.onProcessExit = this._onProcessExit.event;
|
|
91
|
-
this._onRestoreCommands = this._register(( (new Emitter())));
|
|
92
|
-
this.onRestoreCommands = this._onRestoreCommands.event;
|
|
93
|
-
this._cwdWorkspaceFolder = getWorkspaceForTerminal(cwd, this._workspaceContextService, this._historyService);
|
|
94
|
-
this.ptyProcessReady = this._createPtyProcessReadyPromise();
|
|
95
|
-
this._ackDataBufferer = ( (new AckDataBufferer(e => this._process?.acknowledgeDataEvent(e))));
|
|
96
|
-
this._dataFilter = this._instantiationService.createInstance(SeamlessRelaunchDataFilter);
|
|
97
|
-
this._dataFilter.onProcessData(ev => {
|
|
98
|
-
const data = (typeof ev === 'string' ? ev : ev.data);
|
|
99
|
-
const beforeProcessDataEvent = { data };
|
|
100
|
-
this._onBeforeProcessData.fire(beforeProcessDataEvent);
|
|
101
|
-
if (beforeProcessDataEvent.data && beforeProcessDataEvent.data.length > 0) {
|
|
102
|
-
if (typeof ev !== 'string') {
|
|
103
|
-
ev.data = beforeProcessDataEvent.data;
|
|
104
|
-
}
|
|
105
|
-
this._onProcessData.fire(typeof ev !== 'string' ? ev : { data: beforeProcessDataEvent.data, trackCommit: false });
|
|
106
|
-
}
|
|
107
|
-
});
|
|
108
|
-
if (cwd && typeof cwd === 'object') {
|
|
109
|
-
this.remoteAuthority = getRemoteAuthority(cwd);
|
|
110
|
-
}
|
|
111
|
-
else {
|
|
112
|
-
this.remoteAuthority = this._workbenchEnvironmentService.remoteAuthority;
|
|
113
|
-
}
|
|
114
|
-
if (environmentVariableCollections) {
|
|
115
|
-
this._extEnvironmentVariableCollection = ( (new MergedEnvironmentVariableCollection(environmentVariableCollections)));
|
|
116
|
-
this._register(this._environmentVariableService.onDidChangeCollections(newCollection => this._onEnvironmentVariableCollectionChange(newCollection)));
|
|
117
|
-
this.environmentVariableInfo = this._instantiationService.createInstance(EnvironmentVariableInfoChangesActive, this._extEnvironmentVariableCollection);
|
|
118
|
-
this._onEnvironmentVariableInfoChange.fire(this.environmentVariableInfo);
|
|
119
|
-
}
|
|
120
|
-
this.shellIntegrationNonce = shellIntegrationNonce ?? generateUuid();
|
|
121
|
-
}
|
|
122
|
-
async freePortKillProcess(port) {
|
|
123
|
-
try {
|
|
124
|
-
if (this._process?.freePortKillProcess) {
|
|
125
|
-
await this._process?.freePortKillProcess(port);
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
catch (e) {
|
|
129
|
-
this._notificationService.notify({ message: ( (localize(
|
|
130
|
-
'killportfailure',
|
|
131
|
-
'Could not kill process listening on port {0}, command exited with error {1}',
|
|
132
|
-
port,
|
|
133
|
-
e
|
|
134
|
-
))), severity: Severity.Warning });
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
dispose(immediate = false) {
|
|
138
|
-
this._isDisposed = true;
|
|
139
|
-
if (this._process) {
|
|
140
|
-
this._setProcessState(5 );
|
|
141
|
-
this._process.shutdown(immediate);
|
|
142
|
-
this._process = null;
|
|
143
|
-
}
|
|
144
|
-
super.dispose();
|
|
145
|
-
}
|
|
146
|
-
_createPtyProcessReadyPromise() {
|
|
147
|
-
return (
|
|
148
|
-
(new Promise(c => {
|
|
149
|
-
const listener = this.onProcessReady(() => {
|
|
150
|
-
this._logService.debug(`Terminal process ready (shellProcessId: ${this.shellProcessId})`);
|
|
151
|
-
listener.dispose();
|
|
152
|
-
c(undefined);
|
|
153
|
-
});
|
|
154
|
-
}))
|
|
155
|
-
);
|
|
156
|
-
}
|
|
157
|
-
async detachFromProcess(forcePersist) {
|
|
158
|
-
await this._process?.detach?.(forcePersist);
|
|
159
|
-
this._process = null;
|
|
160
|
-
}
|
|
161
|
-
async createProcess(shellLaunchConfig, cols, rows, reset = true) {
|
|
162
|
-
this._shellLaunchConfig = shellLaunchConfig;
|
|
163
|
-
this._dimensions.cols = cols;
|
|
164
|
-
this._dimensions.rows = rows;
|
|
165
|
-
let newProcess;
|
|
166
|
-
if (shellLaunchConfig.customPtyImplementation) {
|
|
167
|
-
this._processType = 1 ;
|
|
168
|
-
newProcess = shellLaunchConfig.customPtyImplementation(this._instanceId, cols, rows);
|
|
169
|
-
}
|
|
170
|
-
else {
|
|
171
|
-
const backend = await this._terminalInstanceService.getBackend(this.remoteAuthority);
|
|
172
|
-
if (!backend) {
|
|
173
|
-
throw new Error(`No terminal backend registered for remote authority '${this.remoteAuthority}'`);
|
|
174
|
-
}
|
|
175
|
-
this.backend = backend;
|
|
176
|
-
const variableResolver = createVariableResolver(this._cwdWorkspaceFolder, await this._terminalProfileResolverService.getEnvironment(this.remoteAuthority), this._configurationResolverService);
|
|
177
|
-
this.userHome = this._pathService.resolvedUserHome?.fsPath;
|
|
178
|
-
this.os = OS;
|
|
179
|
-
if (!!this.remoteAuthority) {
|
|
180
|
-
const userHomeUri = await this._pathService.userHome();
|
|
181
|
-
this.userHome = userHomeUri.path;
|
|
182
|
-
const remoteEnv = await this._remoteAgentService.getEnvironment();
|
|
183
|
-
if (!remoteEnv) {
|
|
184
|
-
throw new Error(`Failed to get remote environment for remote authority "${this.remoteAuthority}"`);
|
|
185
|
-
}
|
|
186
|
-
this.userHome = remoteEnv.userHome.path;
|
|
187
|
-
this.os = remoteEnv.os;
|
|
188
|
-
const env = await this._resolveEnvironment(backend, variableResolver, shellLaunchConfig);
|
|
189
|
-
const shouldPersist = ((this._configurationService.getValue("task.reconnection" ) && shellLaunchConfig.reconnectionProperties) || !shellLaunchConfig.isFeatureTerminal) && this._configHelper.config.enablePersistentSessions && !shellLaunchConfig.isTransient;
|
|
190
|
-
if (shellLaunchConfig.attachPersistentProcess) {
|
|
191
|
-
const result = await backend.attachToProcess(shellLaunchConfig.attachPersistentProcess.id);
|
|
192
|
-
if (result) {
|
|
193
|
-
newProcess = result;
|
|
194
|
-
}
|
|
195
|
-
else {
|
|
196
|
-
this._logService.warn(`Attach to process failed for terminal`, shellLaunchConfig.attachPersistentProcess);
|
|
197
|
-
shellLaunchConfig.attachPersistentProcess = undefined;
|
|
198
|
-
}
|
|
199
|
-
}
|
|
200
|
-
if (!newProcess) {
|
|
201
|
-
await this._terminalProfileResolverService.resolveShellLaunchConfig(shellLaunchConfig, {
|
|
202
|
-
remoteAuthority: this.remoteAuthority,
|
|
203
|
-
os: this.os
|
|
204
|
-
});
|
|
205
|
-
const options = {
|
|
206
|
-
shellIntegration: {
|
|
207
|
-
enabled: this._configurationService.getValue("terminal.integrated.shellIntegration.enabled" ),
|
|
208
|
-
suggestEnabled: this._configurationService.getValue("terminal.integrated.shellIntegration.suggestEnabled" ),
|
|
209
|
-
nonce: this.shellIntegrationNonce
|
|
210
|
-
},
|
|
211
|
-
windowsEnableConpty: this._configHelper.config.windowsEnableConpty,
|
|
212
|
-
environmentVariableCollections: this._extEnvironmentVariableCollection?.collections ? serializeEnvironmentVariableCollections(this._extEnvironmentVariableCollection.collections) : undefined,
|
|
213
|
-
workspaceFolder: this._cwdWorkspaceFolder,
|
|
214
|
-
};
|
|
215
|
-
try {
|
|
216
|
-
newProcess = await backend.createProcess(shellLaunchConfig, '',
|
|
217
|
-
cols, rows, this._configHelper.config.unicodeVersion, env,
|
|
218
|
-
options, shouldPersist);
|
|
219
|
-
}
|
|
220
|
-
catch (e) {
|
|
221
|
-
if (e?.message === 'Could not fetch remote environment') {
|
|
222
|
-
this._logService.trace(`Could not fetch remote environment, silently failing`);
|
|
223
|
-
return undefined;
|
|
224
|
-
}
|
|
225
|
-
throw e;
|
|
226
|
-
}
|
|
227
|
-
}
|
|
228
|
-
if (!this._isDisposed) {
|
|
229
|
-
this._setupPtyHostListeners(backend);
|
|
230
|
-
}
|
|
231
|
-
}
|
|
232
|
-
else {
|
|
233
|
-
if (shellLaunchConfig.attachPersistentProcess) {
|
|
234
|
-
const result = shellLaunchConfig.attachPersistentProcess.findRevivedId ? await backend.attachToRevivedProcess(shellLaunchConfig.attachPersistentProcess.id) : await backend.attachToProcess(shellLaunchConfig.attachPersistentProcess.id);
|
|
235
|
-
if (result) {
|
|
236
|
-
newProcess = result;
|
|
237
|
-
}
|
|
238
|
-
else {
|
|
239
|
-
this._logService.warn(`Attach to process failed for terminal`, shellLaunchConfig.attachPersistentProcess);
|
|
240
|
-
shellLaunchConfig.attachPersistentProcess = undefined;
|
|
241
|
-
}
|
|
242
|
-
}
|
|
243
|
-
if (!newProcess) {
|
|
244
|
-
newProcess = await this._launchLocalProcess(backend, shellLaunchConfig, cols, rows, this.userHome, variableResolver);
|
|
245
|
-
}
|
|
246
|
-
if (!this._isDisposed) {
|
|
247
|
-
this._setupPtyHostListeners(backend);
|
|
248
|
-
}
|
|
249
|
-
}
|
|
250
|
-
}
|
|
251
|
-
if (this._isDisposed) {
|
|
252
|
-
newProcess.shutdown(false);
|
|
253
|
-
return undefined;
|
|
254
|
-
}
|
|
255
|
-
this._process = newProcess;
|
|
256
|
-
this._setProcessState(2 );
|
|
257
|
-
if (this.os === 3 || this.os === 2 ) {
|
|
258
|
-
this.capabilities.add(1 , ( (new NaiveCwdDetectionCapability(this._process))));
|
|
259
|
-
}
|
|
260
|
-
this._dataFilter.newProcess(this._process, reset);
|
|
261
|
-
if (this._processListeners) {
|
|
262
|
-
dispose(this._processListeners);
|
|
263
|
-
}
|
|
264
|
-
this._processListeners = [
|
|
265
|
-
newProcess.onProcessReady((e) => {
|
|
266
|
-
this.shellProcessId = e.pid;
|
|
267
|
-
this._initialCwd = e.cwd;
|
|
268
|
-
this._onDidChangeProperty.fire({ type: "initialCwd" , value: this._initialCwd });
|
|
269
|
-
this._onProcessReady.fire(e);
|
|
270
|
-
if (this._preLaunchInputQueue.length > 0 && this._process) {
|
|
271
|
-
newProcess.input(this._preLaunchInputQueue.join(''));
|
|
272
|
-
this._preLaunchInputQueue.length = 0;
|
|
273
|
-
}
|
|
274
|
-
}),
|
|
275
|
-
newProcess.onProcessExit(exitCode => this._onExit(exitCode)),
|
|
276
|
-
newProcess.onDidChangeProperty(({ type, value }) => {
|
|
277
|
-
switch (type) {
|
|
278
|
-
case "hasChildProcesses" :
|
|
279
|
-
this._hasChildProcesses = value;
|
|
280
|
-
break;
|
|
281
|
-
case "failedShellIntegrationActivation" :
|
|
282
|
-
this._telemetryService?.publicLog2('terminal/shellIntegrationActivationFailureCustomArgs');
|
|
283
|
-
break;
|
|
284
|
-
}
|
|
285
|
-
this._onDidChangeProperty.fire({ type, value });
|
|
286
|
-
})
|
|
287
|
-
];
|
|
288
|
-
if (newProcess.onProcessReplayComplete) {
|
|
289
|
-
this._processListeners.push(newProcess.onProcessReplayComplete(() => this._onProcessReplayComplete.fire()));
|
|
290
|
-
}
|
|
291
|
-
if (newProcess.onRestoreCommands) {
|
|
292
|
-
this._processListeners.push(newProcess.onRestoreCommands(e => this._onRestoreCommands.fire(e)));
|
|
293
|
-
}
|
|
294
|
-
setTimeout(() => {
|
|
295
|
-
if (this.processState === 2 ) {
|
|
296
|
-
this._setProcessState(3 );
|
|
297
|
-
}
|
|
298
|
-
}, 500 );
|
|
299
|
-
const result = await newProcess.start();
|
|
300
|
-
if (result) {
|
|
301
|
-
return result;
|
|
302
|
-
}
|
|
303
|
-
runWhenIdle(() => {
|
|
304
|
-
this.backend?.getLatency().then(measurements => {
|
|
305
|
-
this._logService.info(`Latency measurements for ${this.remoteAuthority ?? 'local'} backend\n${( ( measurements.map(e => `${e.label}: ${e.latency.toFixed(2)}ms`))).join('\n')}`);
|
|
306
|
-
});
|
|
307
|
-
});
|
|
308
|
-
return undefined;
|
|
309
|
-
}
|
|
310
|
-
async relaunch(shellLaunchConfig, cols, rows, reset) {
|
|
311
|
-
this.ptyProcessReady = this._createPtyProcessReadyPromise();
|
|
312
|
-
this._logService.trace(`Relaunching terminal instance ${this._instanceId}`);
|
|
313
|
-
if (this._isDisconnected) {
|
|
314
|
-
this._isDisconnected = false;
|
|
315
|
-
this._onPtyReconnect.fire();
|
|
316
|
-
}
|
|
317
|
-
this._hasWrittenData = false;
|
|
318
|
-
return this.createProcess(shellLaunchConfig, cols, rows, reset);
|
|
319
|
-
}
|
|
320
|
-
async _resolveEnvironment(backend, variableResolver, shellLaunchConfig) {
|
|
321
|
-
const workspaceFolder = getWorkspaceForTerminal(shellLaunchConfig.cwd, this._workspaceContextService, this._historyService);
|
|
322
|
-
const platformKey = isWindows ? 'windows' : (isMacintosh ? 'osx' : 'linux');
|
|
323
|
-
const envFromConfigValue = this._configurationService.getValue(`terminal.integrated.env.${platformKey}`);
|
|
324
|
-
this._configHelper.showRecommendations(shellLaunchConfig);
|
|
325
|
-
let baseEnv;
|
|
326
|
-
if (shellLaunchConfig.useShellEnvironment) {
|
|
327
|
-
baseEnv = await backend.getShellEnvironment();
|
|
328
|
-
}
|
|
329
|
-
else {
|
|
330
|
-
baseEnv = await this._terminalProfileResolverService.getEnvironment(this.remoteAuthority);
|
|
331
|
-
}
|
|
332
|
-
const env = await createTerminalEnvironment(shellLaunchConfig, envFromConfigValue, variableResolver, this._productService.version, this._configHelper.config.detectLocale, baseEnv);
|
|
333
|
-
if (!this._isDisposed && !shellLaunchConfig.strictEnv && !shellLaunchConfig.hideFromUser) {
|
|
334
|
-
this._extEnvironmentVariableCollection = this._environmentVariableService.mergedCollection;
|
|
335
|
-
this._register(this._environmentVariableService.onDidChangeCollections(newCollection => this._onEnvironmentVariableCollectionChange(newCollection)));
|
|
336
|
-
await this._extEnvironmentVariableCollection.applyToProcessEnvironment(env, { workspaceFolder }, variableResolver);
|
|
337
|
-
if (this._extEnvironmentVariableCollection.getVariableMap({ workspaceFolder }).size) {
|
|
338
|
-
this.environmentVariableInfo = this._instantiationService.createInstance(EnvironmentVariableInfoChangesActive, this._extEnvironmentVariableCollection);
|
|
339
|
-
this._onEnvironmentVariableInfoChange.fire(this.environmentVariableInfo);
|
|
340
|
-
}
|
|
341
|
-
}
|
|
342
|
-
return env;
|
|
343
|
-
}
|
|
344
|
-
async _launchLocalProcess(backend, shellLaunchConfig, cols, rows, userHome, variableResolver) {
|
|
345
|
-
await this._terminalProfileResolverService.resolveShellLaunchConfig(shellLaunchConfig, {
|
|
346
|
-
remoteAuthority: undefined,
|
|
347
|
-
os: OS
|
|
348
|
-
});
|
|
349
|
-
const activeWorkspaceRootUri = this._historyService.getLastActiveWorkspaceRoot(Schemas.file);
|
|
350
|
-
const initialCwd = await getCwd(shellLaunchConfig, userHome, variableResolver, activeWorkspaceRootUri, this._configHelper.config.cwd, this._logService);
|
|
351
|
-
const env = await this._resolveEnvironment(backend, variableResolver, shellLaunchConfig);
|
|
352
|
-
const options = {
|
|
353
|
-
shellIntegration: {
|
|
354
|
-
enabled: this._configurationService.getValue("terminal.integrated.shellIntegration.enabled" ),
|
|
355
|
-
suggestEnabled: this._configurationService.getValue("terminal.integrated.shellIntegration.suggestEnabled" ),
|
|
356
|
-
nonce: this.shellIntegrationNonce
|
|
357
|
-
},
|
|
358
|
-
windowsEnableConpty: this._configHelper.config.windowsEnableConpty,
|
|
359
|
-
environmentVariableCollections: this._extEnvironmentVariableCollection ? serializeEnvironmentVariableCollections(this._extEnvironmentVariableCollection.collections) : undefined,
|
|
360
|
-
workspaceFolder: this._cwdWorkspaceFolder,
|
|
361
|
-
};
|
|
362
|
-
const shouldPersist = ((this._configurationService.getValue("task.reconnection" ) && shellLaunchConfig.reconnectionProperties) || !shellLaunchConfig.isFeatureTerminal) && this._configHelper.config.enablePersistentSessions && !shellLaunchConfig.isTransient;
|
|
363
|
-
return await backend.createProcess(shellLaunchConfig, initialCwd, cols, rows, this._configHelper.config.unicodeVersion, env, options, shouldPersist);
|
|
364
|
-
}
|
|
365
|
-
_setupPtyHostListeners(backend) {
|
|
366
|
-
if (this._ptyListenersAttached) {
|
|
367
|
-
return;
|
|
368
|
-
}
|
|
369
|
-
this._ptyListenersAttached = true;
|
|
370
|
-
this._register(backend.onPtyHostUnresponsive(() => {
|
|
371
|
-
this._isDisconnected = true;
|
|
372
|
-
this._onPtyDisconnect.fire();
|
|
373
|
-
}));
|
|
374
|
-
this._ptyResponsiveListener = backend.onPtyHostResponsive(() => {
|
|
375
|
-
this._isDisconnected = false;
|
|
376
|
-
this._onPtyReconnect.fire();
|
|
377
|
-
});
|
|
378
|
-
this._register(toDisposable(() => this._ptyResponsiveListener?.dispose()));
|
|
379
|
-
this._register(backend.onPtyHostRestart(async () => {
|
|
380
|
-
if (!this._isDisconnected) {
|
|
381
|
-
this._isDisconnected = true;
|
|
382
|
-
this._onPtyDisconnect.fire();
|
|
383
|
-
}
|
|
384
|
-
this._ptyResponsiveListener?.dispose();
|
|
385
|
-
this._ptyResponsiveListener = undefined;
|
|
386
|
-
if (this._shellLaunchConfig) {
|
|
387
|
-
if (this._shellLaunchConfig.isFeatureTerminal && !this.reconnectionProperties) {
|
|
388
|
-
this._onExit(-1);
|
|
389
|
-
}
|
|
390
|
-
else {
|
|
391
|
-
const message = ( (localize(
|
|
392
|
-
'ptyHostRelaunch',
|
|
393
|
-
"Restarting the terminal because the connection to the shell process was lost..."
|
|
394
|
-
)));
|
|
395
|
-
this._onProcessData.fire({ data: formatMessageForTerminal(message, { loudFormatting: true }), trackCommit: false });
|
|
396
|
-
await this.relaunch(this._shellLaunchConfig, this._dimensions.cols, this._dimensions.rows, false);
|
|
397
|
-
}
|
|
398
|
-
}
|
|
399
|
-
}));
|
|
400
|
-
}
|
|
401
|
-
async getBackendOS() {
|
|
402
|
-
let os = OS;
|
|
403
|
-
if (!!this.remoteAuthority) {
|
|
404
|
-
const remoteEnv = await this._remoteAgentService.getEnvironment();
|
|
405
|
-
if (!remoteEnv) {
|
|
406
|
-
throw new Error(`Failed to get remote environment for remote authority "${this.remoteAuthority}"`);
|
|
407
|
-
}
|
|
408
|
-
os = remoteEnv.os;
|
|
409
|
-
}
|
|
410
|
-
return os;
|
|
411
|
-
}
|
|
412
|
-
setDimensions(cols, rows, sync) {
|
|
413
|
-
if (sync) {
|
|
414
|
-
this._resize(cols, rows);
|
|
415
|
-
return;
|
|
416
|
-
}
|
|
417
|
-
return this.ptyProcessReady.then(() => this._resize(cols, rows));
|
|
418
|
-
}
|
|
419
|
-
async setUnicodeVersion(version) {
|
|
420
|
-
return this._process?.setUnicodeVersion(version);
|
|
421
|
-
}
|
|
422
|
-
_resize(cols, rows) {
|
|
423
|
-
if (!this._process) {
|
|
424
|
-
return;
|
|
425
|
-
}
|
|
426
|
-
try {
|
|
427
|
-
this._process.resize(cols, rows);
|
|
428
|
-
}
|
|
429
|
-
catch (error) {
|
|
430
|
-
if (error.code !== 'EPIPE' && error.code !== 'ERR_IPC_CHANNEL_CLOSED') {
|
|
431
|
-
throw (error);
|
|
432
|
-
}
|
|
433
|
-
}
|
|
434
|
-
this._dimensions.cols = cols;
|
|
435
|
-
this._dimensions.rows = rows;
|
|
436
|
-
}
|
|
437
|
-
async write(data) {
|
|
438
|
-
await this.ptyProcessReady;
|
|
439
|
-
this._dataFilter.disableSeamlessRelaunch();
|
|
440
|
-
this._hasWrittenData = true;
|
|
441
|
-
if (this.shellProcessId || this._processType === 1 ) {
|
|
442
|
-
if (this._process) {
|
|
443
|
-
this._process.input(data);
|
|
444
|
-
}
|
|
445
|
-
}
|
|
446
|
-
else {
|
|
447
|
-
this._preLaunchInputQueue.push(data);
|
|
448
|
-
}
|
|
449
|
-
}
|
|
450
|
-
async processBinary(data) {
|
|
451
|
-
await this.ptyProcessReady;
|
|
452
|
-
this._dataFilter.disableSeamlessRelaunch();
|
|
453
|
-
this._hasWrittenData = true;
|
|
454
|
-
this._process?.processBinary(data);
|
|
455
|
-
}
|
|
456
|
-
get initialCwd() {
|
|
457
|
-
return this._initialCwd ?? '';
|
|
458
|
-
}
|
|
459
|
-
async refreshProperty(type) {
|
|
460
|
-
if (!this._process) {
|
|
461
|
-
throw new Error('Cannot refresh property when process is not set');
|
|
462
|
-
}
|
|
463
|
-
return this._process.refreshProperty(type);
|
|
464
|
-
}
|
|
465
|
-
async updateProperty(type, value) {
|
|
466
|
-
return this._process?.updateProperty(type, value);
|
|
467
|
-
}
|
|
468
|
-
acknowledgeDataEvent(charCount) {
|
|
469
|
-
this._ackDataBufferer.ack(charCount);
|
|
470
|
-
}
|
|
471
|
-
_onExit(exitCode) {
|
|
472
|
-
this._process = null;
|
|
473
|
-
if (this.processState === 2 ) {
|
|
474
|
-
this._setProcessState(4 );
|
|
475
|
-
}
|
|
476
|
-
if (this.processState === 3 ) {
|
|
477
|
-
this._setProcessState(6 );
|
|
478
|
-
}
|
|
479
|
-
this._onProcessExit.fire(exitCode);
|
|
480
|
-
}
|
|
481
|
-
_setProcessState(state) {
|
|
482
|
-
this.processState = state;
|
|
483
|
-
this._onProcessStateChange.fire();
|
|
484
|
-
}
|
|
485
|
-
_onEnvironmentVariableCollectionChange(newCollection) {
|
|
486
|
-
const diff = this._extEnvironmentVariableCollection.diff(newCollection, { workspaceFolder: this._cwdWorkspaceFolder });
|
|
487
|
-
if (diff === undefined) {
|
|
488
|
-
if (this.environmentVariableInfo instanceof EnvironmentVariableInfoStale) {
|
|
489
|
-
this.environmentVariableInfo = this._instantiationService.createInstance(EnvironmentVariableInfoChangesActive, this._extEnvironmentVariableCollection);
|
|
490
|
-
this._onEnvironmentVariableInfoChange.fire(this.environmentVariableInfo);
|
|
491
|
-
}
|
|
492
|
-
return;
|
|
493
|
-
}
|
|
494
|
-
this.environmentVariableInfo = this._instantiationService.createInstance(EnvironmentVariableInfoStale, diff, this._instanceId, newCollection);
|
|
495
|
-
this._onEnvironmentVariableInfoChange.fire(this.environmentVariableInfo);
|
|
496
|
-
}
|
|
497
|
-
async clearBuffer() {
|
|
498
|
-
this._process?.clearBuffer?.();
|
|
499
|
-
}
|
|
500
|
-
};
|
|
501
|
-
TerminalProcessManager = ( (__decorate([
|
|
502
|
-
( (__param(5, IHistoryService))),
|
|
503
|
-
( (__param(6, IInstantiationService))),
|
|
504
|
-
( (__param(7, ITerminalLogService))),
|
|
505
|
-
( (__param(8, IWorkspaceContextService))),
|
|
506
|
-
( (__param(9, IConfigurationResolverService))),
|
|
507
|
-
( (__param(10, IWorkbenchEnvironmentService))),
|
|
508
|
-
( (__param(11, IProductService))),
|
|
509
|
-
( (__param(12, IRemoteAgentService))),
|
|
510
|
-
( (__param(13, IPathService))),
|
|
511
|
-
( (__param(14, IEnvironmentVariableService))),
|
|
512
|
-
( (__param(15, ITerminalProfileResolverService))),
|
|
513
|
-
( (__param(16, IConfigurationService))),
|
|
514
|
-
( (__param(17, ITerminalInstanceService))),
|
|
515
|
-
( (__param(18, ITelemetryService))),
|
|
516
|
-
( (__param(19, INotificationService)))
|
|
517
|
-
], TerminalProcessManager)));
|
|
518
|
-
class AckDataBufferer {
|
|
519
|
-
constructor(_callback) {
|
|
520
|
-
this._callback = _callback;
|
|
521
|
-
this._unsentCharCount = 0;
|
|
522
|
-
}
|
|
523
|
-
ack(charCount) {
|
|
524
|
-
this._unsentCharCount += charCount;
|
|
525
|
-
while (this._unsentCharCount > 5000 ) {
|
|
526
|
-
this._unsentCharCount -= 5000 ;
|
|
527
|
-
this._callback(5000 );
|
|
528
|
-
}
|
|
529
|
-
}
|
|
530
|
-
}
|
|
531
|
-
let SeamlessRelaunchDataFilter = class SeamlessRelaunchDataFilter extends Disposable {
|
|
532
|
-
get onProcessData() { return this._onProcessData.event; }
|
|
533
|
-
constructor(_logService) {
|
|
534
|
-
super();
|
|
535
|
-
this._logService = _logService;
|
|
536
|
-
this._disableSeamlessRelaunch = false;
|
|
537
|
-
this._onProcessData = this._register(( (new Emitter())));
|
|
538
|
-
}
|
|
539
|
-
newProcess(process, reset) {
|
|
540
|
-
this._dataListener?.dispose();
|
|
541
|
-
this._activeProcess?.shutdown(false);
|
|
542
|
-
this._activeProcess = process;
|
|
543
|
-
if (!this._firstRecorder || !reset || this._disableSeamlessRelaunch) {
|
|
544
|
-
this._firstDisposable?.dispose();
|
|
545
|
-
[this._firstRecorder, this._firstDisposable] = this._createRecorder(process);
|
|
546
|
-
if (this._disableSeamlessRelaunch && reset) {
|
|
547
|
-
this._onProcessData.fire('\x1bc');
|
|
548
|
-
}
|
|
549
|
-
this._dataListener = process.onProcessData(e => this._onProcessData.fire(e));
|
|
550
|
-
this._disableSeamlessRelaunch = false;
|
|
551
|
-
return;
|
|
552
|
-
}
|
|
553
|
-
if (this._secondRecorder) {
|
|
554
|
-
this.triggerSwap();
|
|
555
|
-
}
|
|
556
|
-
this._swapTimeout = window.setTimeout(() => this.triggerSwap(), 3000 );
|
|
557
|
-
this._dataListener?.dispose();
|
|
558
|
-
this._firstDisposable?.dispose();
|
|
559
|
-
const recorder = this._createRecorder(process);
|
|
560
|
-
[this._secondRecorder, this._secondDisposable] = recorder;
|
|
561
|
-
}
|
|
562
|
-
disableSeamlessRelaunch() {
|
|
563
|
-
this._disableSeamlessRelaunch = true;
|
|
564
|
-
this._stopRecording();
|
|
565
|
-
this.triggerSwap();
|
|
566
|
-
}
|
|
567
|
-
triggerSwap() {
|
|
568
|
-
if (this._swapTimeout) {
|
|
569
|
-
window.clearTimeout(this._swapTimeout);
|
|
570
|
-
this._swapTimeout = undefined;
|
|
571
|
-
}
|
|
572
|
-
if (!this._firstRecorder) {
|
|
573
|
-
return;
|
|
574
|
-
}
|
|
575
|
-
if (!this._secondRecorder) {
|
|
576
|
-
this._firstRecorder = undefined;
|
|
577
|
-
this._firstDisposable?.dispose();
|
|
578
|
-
return;
|
|
579
|
-
}
|
|
580
|
-
const firstData = this._getDataFromRecorder(this._firstRecorder);
|
|
581
|
-
const secondData = this._getDataFromRecorder(this._secondRecorder);
|
|
582
|
-
if (firstData === secondData) {
|
|
583
|
-
this._logService.trace(`Seamless terminal relaunch - identical content`);
|
|
584
|
-
}
|
|
585
|
-
else {
|
|
586
|
-
this._logService.trace(`Seamless terminal relaunch - resetting content`);
|
|
587
|
-
this._onProcessData.fire({ data: `\x1bc${secondData}`, trackCommit: false });
|
|
588
|
-
}
|
|
589
|
-
this._dataListener?.dispose();
|
|
590
|
-
this._dataListener = this._activeProcess.onProcessData(e => this._onProcessData.fire(e));
|
|
591
|
-
this._firstRecorder = this._secondRecorder;
|
|
592
|
-
this._firstDisposable?.dispose();
|
|
593
|
-
this._firstDisposable = this._secondDisposable;
|
|
594
|
-
this._secondRecorder = undefined;
|
|
595
|
-
}
|
|
596
|
-
_stopRecording() {
|
|
597
|
-
if (this._swapTimeout) {
|
|
598
|
-
return;
|
|
599
|
-
}
|
|
600
|
-
this._firstRecorder = undefined;
|
|
601
|
-
this._firstDisposable?.dispose();
|
|
602
|
-
this._secondRecorder = undefined;
|
|
603
|
-
this._secondDisposable?.dispose();
|
|
604
|
-
}
|
|
605
|
-
_createRecorder(process) {
|
|
606
|
-
const recorder = ( (new TerminalRecorder(0, 0)));
|
|
607
|
-
const disposable = process.onProcessData(e => recorder.handleData(typeof e === 'string' ? e : e.data));
|
|
608
|
-
return [recorder, disposable];
|
|
609
|
-
}
|
|
610
|
-
_getDataFromRecorder(recorder) {
|
|
611
|
-
return ( (recorder.generateReplayEventSync().events.filter(e => !!e.data).map(e => e.data))).join('');
|
|
612
|
-
}
|
|
613
|
-
};
|
|
614
|
-
SeamlessRelaunchDataFilter = ( (__decorate([
|
|
615
|
-
( (__param(0, ITerminalLogService)))
|
|
616
|
-
], SeamlessRelaunchDataFilter)));
|
|
617
|
-
export { TerminalProcessManager };
|