@codingame/monaco-vscode-api 1.82.4-next.1 → 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 +551 -551
- 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,278 +0,0 @@
|
|
|
1
|
-
import { __decorate, __param } from '../../../../../../../external/tslib/tslib.es6.js';
|
|
2
|
-
import { Codicon } from 'monaco-editor/esm/vs/base/common/codicons.js';
|
|
3
|
-
import { IConfigurationService } from 'monaco-editor/esm/vs/platform/configuration/common/configuration.js';
|
|
4
|
-
import { IQuickInputService } from 'monaco-editor/esm/vs/platform/quickinput/common/quickInput.js';
|
|
5
|
-
import { getUriClasses, getColorClass, getColorStyleElement } from './terminalIcon.js';
|
|
6
|
-
import { configureTerminalProfileIcon } from './terminalIcons.js';
|
|
7
|
-
import * as nls from 'monaco-editor/esm/vs/nls.js';
|
|
8
|
-
import { IThemeService } from 'monaco-editor/esm/vs/platform/theme/common/themeService.js';
|
|
9
|
-
import { ThemeIcon } from 'monaco-editor/esm/vs/base/common/themables.js';
|
|
10
|
-
import { ITerminalProfileService, ITerminalProfileResolverService } from '../common/terminal.js';
|
|
11
|
-
import { getIconRegistry } from 'monaco-editor/esm/vs/platform/theme/common/iconRegistry.js';
|
|
12
|
-
import { basename } from 'monaco-editor/esm/vs/base/common/path.js';
|
|
13
|
-
import { Severity, INotificationService } from 'monaco-editor/esm/vs/platform/notification/common/notification.js';
|
|
14
|
-
let TerminalProfileQuickpick = class TerminalProfileQuickpick {
|
|
15
|
-
constructor(_terminalProfileService, _terminalProfileResolverService, _configurationService, _quickInputService, _themeService, _notificationService) {
|
|
16
|
-
this._terminalProfileService = _terminalProfileService;
|
|
17
|
-
this._terminalProfileResolverService = _terminalProfileResolverService;
|
|
18
|
-
this._configurationService = _configurationService;
|
|
19
|
-
this._quickInputService = _quickInputService;
|
|
20
|
-
this._themeService = _themeService;
|
|
21
|
-
this._notificationService = _notificationService;
|
|
22
|
-
}
|
|
23
|
-
async showAndGetResult(type) {
|
|
24
|
-
const platformKey = await this._terminalProfileService.getPlatformKey();
|
|
25
|
-
const profilesKey = "terminal.integrated.profiles." + platformKey;
|
|
26
|
-
const result = await this._createAndShow(type);
|
|
27
|
-
const defaultProfileKey = `${"terminal.integrated.defaultProfile." }${platformKey}`;
|
|
28
|
-
if (!result) {
|
|
29
|
-
return;
|
|
30
|
-
}
|
|
31
|
-
if (type === 'setDefault') {
|
|
32
|
-
if ('command' in result.profile) {
|
|
33
|
-
return;
|
|
34
|
-
}
|
|
35
|
-
else if ('id' in result.profile) {
|
|
36
|
-
await this._configurationService.updateValue(defaultProfileKey, result.profile.title, 2 );
|
|
37
|
-
return {
|
|
38
|
-
config: {
|
|
39
|
-
extensionIdentifier: result.profile.extensionIdentifier,
|
|
40
|
-
id: result.profile.id,
|
|
41
|
-
title: result.profile.title,
|
|
42
|
-
options: {
|
|
43
|
-
color: result.profile.color,
|
|
44
|
-
icon: result.profile.icon
|
|
45
|
-
}
|
|
46
|
-
},
|
|
47
|
-
keyMods: result.keyMods
|
|
48
|
-
};
|
|
49
|
-
}
|
|
50
|
-
if ('isAutoDetected' in result.profile) {
|
|
51
|
-
const profilesConfig = await this._configurationService.getValue(profilesKey);
|
|
52
|
-
if (typeof profilesConfig === 'object') {
|
|
53
|
-
const newProfile = {
|
|
54
|
-
path: result.profile.path
|
|
55
|
-
};
|
|
56
|
-
if (result.profile.args) {
|
|
57
|
-
newProfile.args = result.profile.args;
|
|
58
|
-
}
|
|
59
|
-
profilesConfig[result.profile.profileName] = newProfile;
|
|
60
|
-
}
|
|
61
|
-
await this._configurationService.updateValue(profilesKey, profilesConfig, 2 );
|
|
62
|
-
}
|
|
63
|
-
await this._configurationService.updateValue(defaultProfileKey, result.profileName, 2 );
|
|
64
|
-
}
|
|
65
|
-
else if (type === 'createInstance') {
|
|
66
|
-
if ('id' in result.profile) {
|
|
67
|
-
return {
|
|
68
|
-
config: {
|
|
69
|
-
extensionIdentifier: result.profile.extensionIdentifier,
|
|
70
|
-
id: result.profile.id,
|
|
71
|
-
title: result.profile.title,
|
|
72
|
-
options: {
|
|
73
|
-
icon: result.profile.icon,
|
|
74
|
-
color: result.profile.color,
|
|
75
|
-
}
|
|
76
|
-
},
|
|
77
|
-
keyMods: result.keyMods
|
|
78
|
-
};
|
|
79
|
-
}
|
|
80
|
-
else {
|
|
81
|
-
return { config: result.profile, keyMods: result.keyMods };
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
return 'profileName' in result.profile ? result.profile.profileName : result.profile.title;
|
|
85
|
-
}
|
|
86
|
-
async _createAndShow(type) {
|
|
87
|
-
const platformKey = await this._terminalProfileService.getPlatformKey();
|
|
88
|
-
const profiles = this._terminalProfileService.availableProfiles;
|
|
89
|
-
const profilesKey = "terminal.integrated.profiles." + platformKey;
|
|
90
|
-
const defaultProfileName = this._terminalProfileService.getDefaultProfileName();
|
|
91
|
-
let keyMods;
|
|
92
|
-
const options = {
|
|
93
|
-
placeHolder: type === 'createInstance' ? ( nls.localize(
|
|
94
|
-
'terminal.integrated.selectProfileToCreate',
|
|
95
|
-
"Select the terminal profile to create"
|
|
96
|
-
)) : ( nls.localize(
|
|
97
|
-
'terminal.integrated.chooseDefaultProfile',
|
|
98
|
-
"Select your default terminal profile"
|
|
99
|
-
)),
|
|
100
|
-
onDidTriggerItemButton: async (context) => {
|
|
101
|
-
if (!(await this._isProfileSafe(context.item.profile))) {
|
|
102
|
-
return;
|
|
103
|
-
}
|
|
104
|
-
if ('command' in context.item.profile) {
|
|
105
|
-
return;
|
|
106
|
-
}
|
|
107
|
-
if ('id' in context.item.profile) {
|
|
108
|
-
return;
|
|
109
|
-
}
|
|
110
|
-
const configProfiles = this._configurationService.getValue("terminal.integrated.profiles." + platformKey);
|
|
111
|
-
const existingProfiles = !!configProfiles ? ( Object.keys(configProfiles)) : [];
|
|
112
|
-
const name = await this._quickInputService.input({
|
|
113
|
-
prompt: ( nls.localize('enterTerminalProfileName', "Enter terminal profile name")),
|
|
114
|
-
value: context.item.profile.profileName,
|
|
115
|
-
validateInput: async (input) => {
|
|
116
|
-
if (existingProfiles.includes(input)) {
|
|
117
|
-
return ( nls.localize(
|
|
118
|
-
'terminalProfileAlreadyExists',
|
|
119
|
-
"A terminal profile already exists with that name"
|
|
120
|
-
));
|
|
121
|
-
}
|
|
122
|
-
return undefined;
|
|
123
|
-
}
|
|
124
|
-
});
|
|
125
|
-
if (!name) {
|
|
126
|
-
return;
|
|
127
|
-
}
|
|
128
|
-
const newConfigValue = { ...configProfiles };
|
|
129
|
-
newConfigValue[name] = {
|
|
130
|
-
path: context.item.profile.path,
|
|
131
|
-
args: context.item.profile.args
|
|
132
|
-
};
|
|
133
|
-
await this._configurationService.updateValue(profilesKey, newConfigValue, 2 );
|
|
134
|
-
},
|
|
135
|
-
onKeyMods: mods => keyMods = mods
|
|
136
|
-
};
|
|
137
|
-
const quickPickItems = [];
|
|
138
|
-
const configProfiles = profiles.filter(e => !e.isAutoDetected);
|
|
139
|
-
const autoDetectedProfiles = profiles.filter(e => e.isAutoDetected);
|
|
140
|
-
if (configProfiles.length > 0) {
|
|
141
|
-
quickPickItems.push({ type: 'separator', label: ( nls.localize('terminalProfiles', "profiles")) });
|
|
142
|
-
quickPickItems.push(...this._sortProfileQuickPickItems(( configProfiles.map(e => this._createProfileQuickPickItem(e))), defaultProfileName));
|
|
143
|
-
}
|
|
144
|
-
quickPickItems.push({ type: 'separator', label: ( nls.localize('ICreateContributedTerminalProfileOptions', "contributed")) });
|
|
145
|
-
const contributedProfiles = [];
|
|
146
|
-
for (const contributed of this._terminalProfileService.contributedProfiles) {
|
|
147
|
-
let icon;
|
|
148
|
-
if (typeof contributed.icon === 'string') {
|
|
149
|
-
if (contributed.icon.startsWith('$(')) {
|
|
150
|
-
icon = ThemeIcon.fromString(contributed.icon);
|
|
151
|
-
}
|
|
152
|
-
else {
|
|
153
|
-
icon = ThemeIcon.fromId(contributed.icon);
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
if (!icon || !getIconRegistry().getIcon(icon.id)) {
|
|
157
|
-
icon = this._terminalProfileResolverService.getDefaultIcon();
|
|
158
|
-
}
|
|
159
|
-
const uriClasses = getUriClasses(contributed, this._themeService.getColorTheme().type, true);
|
|
160
|
-
const colorClass = getColorClass(contributed);
|
|
161
|
-
const iconClasses = [];
|
|
162
|
-
if (uriClasses) {
|
|
163
|
-
iconClasses.push(...uriClasses);
|
|
164
|
-
}
|
|
165
|
-
if (colorClass) {
|
|
166
|
-
iconClasses.push(colorClass);
|
|
167
|
-
}
|
|
168
|
-
contributedProfiles.push({
|
|
169
|
-
label: `$(${icon.id}) ${contributed.title}`,
|
|
170
|
-
profile: {
|
|
171
|
-
extensionIdentifier: contributed.extensionIdentifier,
|
|
172
|
-
title: contributed.title,
|
|
173
|
-
icon: contributed.icon,
|
|
174
|
-
id: contributed.id,
|
|
175
|
-
color: contributed.color
|
|
176
|
-
},
|
|
177
|
-
profileName: contributed.title,
|
|
178
|
-
iconClasses
|
|
179
|
-
});
|
|
180
|
-
}
|
|
181
|
-
if (contributedProfiles.length > 0) {
|
|
182
|
-
quickPickItems.push(...this._sortProfileQuickPickItems(contributedProfiles, defaultProfileName));
|
|
183
|
-
}
|
|
184
|
-
if (autoDetectedProfiles.length > 0) {
|
|
185
|
-
quickPickItems.push({ type: 'separator', label: ( nls.localize('terminalProfiles.detected', "detected")) });
|
|
186
|
-
quickPickItems.push(...this._sortProfileQuickPickItems(( autoDetectedProfiles.map(e => this._createProfileQuickPickItem(e))), defaultProfileName));
|
|
187
|
-
}
|
|
188
|
-
const styleElement = getColorStyleElement(this._themeService.getColorTheme());
|
|
189
|
-
document.body.appendChild(styleElement);
|
|
190
|
-
const result = await this._quickInputService.pick(quickPickItems, options);
|
|
191
|
-
document.body.removeChild(styleElement);
|
|
192
|
-
if (!result) {
|
|
193
|
-
return undefined;
|
|
194
|
-
}
|
|
195
|
-
if (!(await this._isProfileSafe(result.profile))) {
|
|
196
|
-
return undefined;
|
|
197
|
-
}
|
|
198
|
-
if (keyMods) {
|
|
199
|
-
result.keyMods = keyMods;
|
|
200
|
-
}
|
|
201
|
-
return result;
|
|
202
|
-
}
|
|
203
|
-
async _isProfileSafe(profile) {
|
|
204
|
-
const isUnsafePath = 'isUnsafePath' in profile && profile.isUnsafePath;
|
|
205
|
-
const requiresUnsafePath = 'requiresUnsafePath' in profile && profile.requiresUnsafePath;
|
|
206
|
-
if (!isUnsafePath && !requiresUnsafePath) {
|
|
207
|
-
return true;
|
|
208
|
-
}
|
|
209
|
-
return await ( new Promise(r => {
|
|
210
|
-
const unsafePaths = [];
|
|
211
|
-
if (isUnsafePath) {
|
|
212
|
-
unsafePaths.push(profile.path);
|
|
213
|
-
}
|
|
214
|
-
if (requiresUnsafePath) {
|
|
215
|
-
unsafePaths.push(requiresUnsafePath);
|
|
216
|
-
}
|
|
217
|
-
const handle = this._notificationService.prompt(Severity.Warning, ( nls.localize(
|
|
218
|
-
'unsafePathWarning',
|
|
219
|
-
'This terminal profile uses a potentially unsafe path that can be modified by another user: {0}. Are you sure you want to use it?',
|
|
220
|
-
`"${unsafePaths.join(',')}"`
|
|
221
|
-
)), [{
|
|
222
|
-
label: ( nls.localize('yes', 'Yes')),
|
|
223
|
-
run: () => r(true)
|
|
224
|
-
}, {
|
|
225
|
-
label: ( nls.localize('cancel', 'Cancel')),
|
|
226
|
-
run: () => r(false)
|
|
227
|
-
}]);
|
|
228
|
-
handle.onDidClose(() => r(false));
|
|
229
|
-
}));
|
|
230
|
-
}
|
|
231
|
-
_createProfileQuickPickItem(profile) {
|
|
232
|
-
const buttons = [{
|
|
233
|
-
iconClass: ThemeIcon.asClassName(configureTerminalProfileIcon),
|
|
234
|
-
tooltip: ( nls.localize('createQuickLaunchProfile', "Configure Terminal Profile"))
|
|
235
|
-
}];
|
|
236
|
-
const icon = (profile.icon && ThemeIcon.isThemeIcon(profile.icon)) ? profile.icon : Codicon.terminal;
|
|
237
|
-
const label = `$(${icon.id}) ${profile.profileName}`;
|
|
238
|
-
const friendlyPath = profile.isFromPath ? basename(profile.path) : profile.path;
|
|
239
|
-
const colorClass = getColorClass(profile);
|
|
240
|
-
const iconClasses = [];
|
|
241
|
-
if (colorClass) {
|
|
242
|
-
iconClasses.push(colorClass);
|
|
243
|
-
}
|
|
244
|
-
if (profile.args) {
|
|
245
|
-
if (typeof profile.args === 'string') {
|
|
246
|
-
return { label, description: `${profile.path} ${profile.args}`, profile, profileName: profile.profileName, buttons, iconClasses };
|
|
247
|
-
}
|
|
248
|
-
const argsString = ( profile.args.map(e => {
|
|
249
|
-
if (e.includes(' ')) {
|
|
250
|
-
return `"${e.replace(/"/g, '\\"')}"`;
|
|
251
|
-
}
|
|
252
|
-
return e;
|
|
253
|
-
})).join(' ');
|
|
254
|
-
return { label, description: `${friendlyPath} ${argsString}`, profile, profileName: profile.profileName, buttons, iconClasses };
|
|
255
|
-
}
|
|
256
|
-
return { label, description: friendlyPath, profile, profileName: profile.profileName, buttons, iconClasses };
|
|
257
|
-
}
|
|
258
|
-
_sortProfileQuickPickItems(items, defaultProfileName) {
|
|
259
|
-
return items.sort((a, b) => {
|
|
260
|
-
if (b.profileName === defaultProfileName) {
|
|
261
|
-
return 1;
|
|
262
|
-
}
|
|
263
|
-
if (a.profileName === defaultProfileName) {
|
|
264
|
-
return -1;
|
|
265
|
-
}
|
|
266
|
-
return a.profileName.localeCompare(b.profileName);
|
|
267
|
-
});
|
|
268
|
-
}
|
|
269
|
-
};
|
|
270
|
-
TerminalProfileQuickpick = ( __decorate([
|
|
271
|
-
( __param(0, ITerminalProfileService)),
|
|
272
|
-
( __param(1, ITerminalProfileResolverService)),
|
|
273
|
-
( __param(2, IConfigurationService)),
|
|
274
|
-
( __param(3, IQuickInputService)),
|
|
275
|
-
( __param(4, IThemeService)),
|
|
276
|
-
( __param(5, INotificationService))
|
|
277
|
-
], TerminalProfileQuickpick));
|
|
278
|
-
export { TerminalProfileQuickpick };
|
|
@@ -1,316 +0,0 @@
|
|
|
1
|
-
import { __decorate } from '../../../../../../../external/tslib/tslib.es6.js';
|
|
2
|
-
import { Schemas } from 'monaco-editor/esm/vs/base/common/network.js';
|
|
3
|
-
import { OS } from 'monaco-editor/esm/vs/base/common/platform.js';
|
|
4
|
-
import * as path from 'monaco-editor/esm/vs/base/common/path.js';
|
|
5
|
-
import { Codicon } from 'monaco-editor/esm/vs/base/common/codicons.js';
|
|
6
|
-
import { getIconRegistry } from 'monaco-editor/esm/vs/platform/theme/common/iconRegistry.js';
|
|
7
|
-
import { debounce } from 'monaco-editor/esm/vs/base/common/decorators.js';
|
|
8
|
-
import { ThemeIcon } from 'monaco-editor/esm/vs/base/common/themables.js';
|
|
9
|
-
import { URI } from 'monaco-editor/esm/vs/base/common/uri.js';
|
|
10
|
-
import { equals } from 'monaco-editor/esm/vs/base/common/arrays.js';
|
|
11
|
-
import { deepClone } from 'monaco-editor/esm/vs/base/common/objects.js';
|
|
12
|
-
import { isUriComponents, terminalProfileArgsMatch } from '../../../../platform/terminal/common/terminalProfiles.js';
|
|
13
|
-
const generatedProfileName = 'Generated';
|
|
14
|
-
class BaseTerminalProfileResolverService {
|
|
15
|
-
get defaultProfileName() { return this._defaultProfileName; }
|
|
16
|
-
constructor(_context, _configurationService, _configurationResolverService, _historyService, _logService, _terminalProfileService, _workspaceContextService, _remoteAgentService) {
|
|
17
|
-
this._context = _context;
|
|
18
|
-
this._configurationService = _configurationService;
|
|
19
|
-
this._configurationResolverService = _configurationResolverService;
|
|
20
|
-
this._historyService = _historyService;
|
|
21
|
-
this._logService = _logService;
|
|
22
|
-
this._terminalProfileService = _terminalProfileService;
|
|
23
|
-
this._workspaceContextService = _workspaceContextService;
|
|
24
|
-
this._remoteAgentService = _remoteAgentService;
|
|
25
|
-
this._iconRegistry = getIconRegistry();
|
|
26
|
-
if (this._remoteAgentService.getConnection()) {
|
|
27
|
-
this._remoteAgentService.getEnvironment().then(env => this._primaryBackendOs = env?.os || OS);
|
|
28
|
-
}
|
|
29
|
-
else {
|
|
30
|
-
this._primaryBackendOs = OS;
|
|
31
|
-
}
|
|
32
|
-
this._configurationService.onDidChangeConfiguration(e => {
|
|
33
|
-
if (e.affectsConfiguration("terminal.integrated.defaultProfile.windows" ) ||
|
|
34
|
-
e.affectsConfiguration("terminal.integrated.defaultProfile.osx" ) ||
|
|
35
|
-
e.affectsConfiguration("terminal.integrated.defaultProfile.linux" )) {
|
|
36
|
-
this._refreshDefaultProfileName();
|
|
37
|
-
}
|
|
38
|
-
});
|
|
39
|
-
this._terminalProfileService.onDidChangeAvailableProfiles(() => this._refreshDefaultProfileName());
|
|
40
|
-
}
|
|
41
|
-
async _refreshDefaultProfileName() {
|
|
42
|
-
if (this._primaryBackendOs) {
|
|
43
|
-
this._defaultProfileName = (await this.getDefaultProfile({
|
|
44
|
-
remoteAuthority: this._remoteAgentService.getConnection()?.remoteAuthority,
|
|
45
|
-
os: this._primaryBackendOs
|
|
46
|
-
}))?.profileName;
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
resolveIcon(shellLaunchConfig, os) {
|
|
50
|
-
if (shellLaunchConfig.icon) {
|
|
51
|
-
shellLaunchConfig.icon = this._getCustomIcon(shellLaunchConfig.icon) || this.getDefaultIcon();
|
|
52
|
-
return;
|
|
53
|
-
}
|
|
54
|
-
if (shellLaunchConfig.customPtyImplementation) {
|
|
55
|
-
shellLaunchConfig.icon = this.getDefaultIcon();
|
|
56
|
-
return;
|
|
57
|
-
}
|
|
58
|
-
if (shellLaunchConfig.executable) {
|
|
59
|
-
return;
|
|
60
|
-
}
|
|
61
|
-
const defaultProfile = this._getUnresolvedRealDefaultProfile(os);
|
|
62
|
-
if (defaultProfile) {
|
|
63
|
-
shellLaunchConfig.icon = defaultProfile.icon;
|
|
64
|
-
}
|
|
65
|
-
if (!shellLaunchConfig.icon) {
|
|
66
|
-
shellLaunchConfig.icon = this.getDefaultIcon();
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
getDefaultIcon(resource) {
|
|
70
|
-
return this._iconRegistry.getIcon(this._configurationService.getValue("terminal.integrated.tabs.defaultIcon" , { resource })) || Codicon.terminal;
|
|
71
|
-
}
|
|
72
|
-
async resolveShellLaunchConfig(shellLaunchConfig, options) {
|
|
73
|
-
let resolvedProfile;
|
|
74
|
-
if (shellLaunchConfig.executable) {
|
|
75
|
-
resolvedProfile = await this._resolveProfile({
|
|
76
|
-
path: shellLaunchConfig.executable,
|
|
77
|
-
args: shellLaunchConfig.args,
|
|
78
|
-
profileName: generatedProfileName,
|
|
79
|
-
isDefault: false
|
|
80
|
-
}, options);
|
|
81
|
-
}
|
|
82
|
-
else {
|
|
83
|
-
resolvedProfile = await this.getDefaultProfile(options);
|
|
84
|
-
}
|
|
85
|
-
shellLaunchConfig.executable = resolvedProfile.path;
|
|
86
|
-
shellLaunchConfig.args = resolvedProfile.args;
|
|
87
|
-
if (resolvedProfile.env) {
|
|
88
|
-
if (shellLaunchConfig.env) {
|
|
89
|
-
shellLaunchConfig.env = { ...shellLaunchConfig.env, ...resolvedProfile.env };
|
|
90
|
-
}
|
|
91
|
-
else {
|
|
92
|
-
shellLaunchConfig.env = resolvedProfile.env;
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
const resource = shellLaunchConfig === undefined || typeof shellLaunchConfig.cwd === 'string' ? undefined : shellLaunchConfig.cwd;
|
|
96
|
-
shellLaunchConfig.icon = this._getCustomIcon(shellLaunchConfig.icon)
|
|
97
|
-
|| this._getCustomIcon(resolvedProfile.icon)
|
|
98
|
-
|| this.getDefaultIcon(resource);
|
|
99
|
-
if (resolvedProfile.overrideName) {
|
|
100
|
-
shellLaunchConfig.name = resolvedProfile.profileName;
|
|
101
|
-
}
|
|
102
|
-
shellLaunchConfig.color = shellLaunchConfig.color
|
|
103
|
-
|| resolvedProfile.color
|
|
104
|
-
|| this._configurationService.getValue("terminal.integrated.tabs.defaultColor" , { resource });
|
|
105
|
-
if (shellLaunchConfig.useShellEnvironment === undefined) {
|
|
106
|
-
shellLaunchConfig.useShellEnvironment = this._configurationService.getValue("terminal.integrated.inheritEnv" );
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
async getDefaultShell(options) {
|
|
110
|
-
return (await this.getDefaultProfile(options)).path;
|
|
111
|
-
}
|
|
112
|
-
async getDefaultShellArgs(options) {
|
|
113
|
-
return (await this.getDefaultProfile(options)).args || [];
|
|
114
|
-
}
|
|
115
|
-
async getDefaultProfile(options) {
|
|
116
|
-
return this._resolveProfile(await this._getUnresolvedDefaultProfile(options), options);
|
|
117
|
-
}
|
|
118
|
-
getEnvironment(remoteAuthority) {
|
|
119
|
-
return this._context.getEnvironment(remoteAuthority);
|
|
120
|
-
}
|
|
121
|
-
_getCustomIcon(icon) {
|
|
122
|
-
if (!icon) {
|
|
123
|
-
return undefined;
|
|
124
|
-
}
|
|
125
|
-
if (typeof icon === 'string') {
|
|
126
|
-
return ThemeIcon.fromId(icon);
|
|
127
|
-
}
|
|
128
|
-
if (ThemeIcon.isThemeIcon(icon)) {
|
|
129
|
-
return icon;
|
|
130
|
-
}
|
|
131
|
-
if (URI.isUri(icon) || isUriComponents(icon)) {
|
|
132
|
-
return URI.revive(icon);
|
|
133
|
-
}
|
|
134
|
-
if (typeof icon === 'object' && 'light' in icon && 'dark' in icon) {
|
|
135
|
-
const castedIcon = icon;
|
|
136
|
-
if ((URI.isUri(castedIcon.light) || isUriComponents(castedIcon.light)) && (URI.isUri(castedIcon.dark) || isUriComponents(castedIcon.dark))) {
|
|
137
|
-
return { light: URI.revive(castedIcon.light), dark: URI.revive(castedIcon.dark) };
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
return undefined;
|
|
141
|
-
}
|
|
142
|
-
async _getUnresolvedDefaultProfile(options) {
|
|
143
|
-
if (options.allowAutomationShell) {
|
|
144
|
-
const automationShellProfile = this._getUnresolvedAutomationShellProfile(options);
|
|
145
|
-
if (automationShellProfile) {
|
|
146
|
-
return automationShellProfile;
|
|
147
|
-
}
|
|
148
|
-
}
|
|
149
|
-
await this._terminalProfileService.profilesReady;
|
|
150
|
-
const defaultProfile = this._getUnresolvedRealDefaultProfile(options.os);
|
|
151
|
-
if (defaultProfile) {
|
|
152
|
-
return this._setIconForAutomation(options, defaultProfile);
|
|
153
|
-
}
|
|
154
|
-
return this._setIconForAutomation(options, await this._getUnresolvedFallbackDefaultProfile(options));
|
|
155
|
-
}
|
|
156
|
-
_setIconForAutomation(options, profile) {
|
|
157
|
-
if (options.allowAutomationShell) {
|
|
158
|
-
const profileClone = deepClone(profile);
|
|
159
|
-
profileClone.icon = Codicon.tools;
|
|
160
|
-
return profileClone;
|
|
161
|
-
}
|
|
162
|
-
return profile;
|
|
163
|
-
}
|
|
164
|
-
_getUnresolvedRealDefaultProfile(os) {
|
|
165
|
-
return this._terminalProfileService.getDefaultProfile(os);
|
|
166
|
-
}
|
|
167
|
-
async _getUnresolvedFallbackDefaultProfile(options) {
|
|
168
|
-
const executable = await this._context.getDefaultSystemShell(options.remoteAuthority, options.os);
|
|
169
|
-
if (options.os === OS) {
|
|
170
|
-
let existingProfile = this._terminalProfileService.availableProfiles.find(e => path.parse(e.path).name === path.parse(executable).name);
|
|
171
|
-
if (existingProfile) {
|
|
172
|
-
if (options.allowAutomationShell) {
|
|
173
|
-
existingProfile = deepClone(existingProfile);
|
|
174
|
-
existingProfile.icon = Codicon.tools;
|
|
175
|
-
}
|
|
176
|
-
return existingProfile;
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
let args;
|
|
180
|
-
if (options.os === 2 && path.parse(executable).name.match(/(zsh|bash)/)) {
|
|
181
|
-
args = ['--login'];
|
|
182
|
-
}
|
|
183
|
-
else {
|
|
184
|
-
args = [];
|
|
185
|
-
}
|
|
186
|
-
const icon = this._guessProfileIcon(executable);
|
|
187
|
-
return {
|
|
188
|
-
profileName: generatedProfileName,
|
|
189
|
-
path: executable,
|
|
190
|
-
args,
|
|
191
|
-
icon,
|
|
192
|
-
isDefault: false
|
|
193
|
-
};
|
|
194
|
-
}
|
|
195
|
-
_getUnresolvedAutomationShellProfile(options) {
|
|
196
|
-
const automationProfile = this._configurationService.getValue(`terminal.integrated.automationProfile.${this._getOsKey(options.os)}`);
|
|
197
|
-
if (this._isValidAutomationProfile(automationProfile, options.os)) {
|
|
198
|
-
automationProfile.icon = this._getCustomIcon(automationProfile.icon) || Codicon.tools;
|
|
199
|
-
return automationProfile;
|
|
200
|
-
}
|
|
201
|
-
return undefined;
|
|
202
|
-
}
|
|
203
|
-
async _resolveProfile(profile, options) {
|
|
204
|
-
const env = await this._context.getEnvironment(options.remoteAuthority);
|
|
205
|
-
if (options.os === 1 ) {
|
|
206
|
-
const isWoW64 = !!env.hasOwnProperty('PROCESSOR_ARCHITEW6432');
|
|
207
|
-
const windir = env.windir;
|
|
208
|
-
if (!isWoW64 && windir) {
|
|
209
|
-
const sysnativePath = path.join(windir, 'Sysnative').replace(/\//g, '\\').toLowerCase();
|
|
210
|
-
if (profile.path && profile.path.toLowerCase().indexOf(sysnativePath) === 0) {
|
|
211
|
-
profile.path = path.join(windir, 'System32', profile.path.substr(sysnativePath.length + 1));
|
|
212
|
-
}
|
|
213
|
-
}
|
|
214
|
-
if (profile.path) {
|
|
215
|
-
profile.path = profile.path.replace(/\//g, '\\');
|
|
216
|
-
}
|
|
217
|
-
}
|
|
218
|
-
const activeWorkspaceRootUri = this._historyService.getLastActiveWorkspaceRoot(options.remoteAuthority ? Schemas.vscodeRemote : Schemas.file);
|
|
219
|
-
const lastActiveWorkspace = activeWorkspaceRootUri ? this._workspaceContextService.getWorkspaceFolder(activeWorkspaceRootUri) ?? undefined : undefined;
|
|
220
|
-
profile.path = await this._resolveVariables(profile.path, env, lastActiveWorkspace);
|
|
221
|
-
if (profile.args) {
|
|
222
|
-
if (typeof profile.args === 'string') {
|
|
223
|
-
profile.args = await this._resolveVariables(profile.args, env, lastActiveWorkspace);
|
|
224
|
-
}
|
|
225
|
-
else {
|
|
226
|
-
profile.args = await Promise.all(( profile.args.map(arg => this._resolveVariables(arg, env, lastActiveWorkspace))));
|
|
227
|
-
}
|
|
228
|
-
}
|
|
229
|
-
return profile;
|
|
230
|
-
}
|
|
231
|
-
async _resolveVariables(value, env, lastActiveWorkspace) {
|
|
232
|
-
try {
|
|
233
|
-
value = await this._configurationResolverService.resolveWithEnvironment(env, lastActiveWorkspace, value);
|
|
234
|
-
}
|
|
235
|
-
catch (e) {
|
|
236
|
-
this._logService.error(`Could not resolve shell`, e);
|
|
237
|
-
}
|
|
238
|
-
return value;
|
|
239
|
-
}
|
|
240
|
-
_getOsKey(os) {
|
|
241
|
-
switch (os) {
|
|
242
|
-
case 3 : return 'linux';
|
|
243
|
-
case 2 : return 'osx';
|
|
244
|
-
case 1 : return 'windows';
|
|
245
|
-
}
|
|
246
|
-
}
|
|
247
|
-
_guessProfileIcon(shell) {
|
|
248
|
-
const file = path.parse(shell).name;
|
|
249
|
-
switch (file) {
|
|
250
|
-
case 'bash':
|
|
251
|
-
return Codicon.terminalBash;
|
|
252
|
-
case 'pwsh':
|
|
253
|
-
case 'powershell':
|
|
254
|
-
return Codicon.terminalPowershell;
|
|
255
|
-
case 'tmux':
|
|
256
|
-
return Codicon.terminalTmux;
|
|
257
|
-
case 'cmd':
|
|
258
|
-
return Codicon.terminalCmd;
|
|
259
|
-
default:
|
|
260
|
-
return undefined;
|
|
261
|
-
}
|
|
262
|
-
}
|
|
263
|
-
_isValidShellArgs(shellArgs, os) {
|
|
264
|
-
if (shellArgs === undefined) {
|
|
265
|
-
return true;
|
|
266
|
-
}
|
|
267
|
-
if (os === 1 && typeof shellArgs === 'string') {
|
|
268
|
-
return true;
|
|
269
|
-
}
|
|
270
|
-
if (Array.isArray(shellArgs) && shellArgs.every(e => typeof e === 'string')) {
|
|
271
|
-
return true;
|
|
272
|
-
}
|
|
273
|
-
return false;
|
|
274
|
-
}
|
|
275
|
-
async createProfileFromShellAndShellArgs(shell, shellArgs) {
|
|
276
|
-
const detectedProfile = this._terminalProfileService.availableProfiles?.find(p => {
|
|
277
|
-
if (p.path !== shell) {
|
|
278
|
-
return false;
|
|
279
|
-
}
|
|
280
|
-
if (p.args === undefined || typeof p.args === 'string') {
|
|
281
|
-
return p.args === shellArgs;
|
|
282
|
-
}
|
|
283
|
-
return p.path === shell && equals(p.args, (shellArgs || []));
|
|
284
|
-
});
|
|
285
|
-
const fallbackProfile = (await this.getDefaultProfile({
|
|
286
|
-
remoteAuthority: this._remoteAgentService.getConnection()?.remoteAuthority,
|
|
287
|
-
os: this._primaryBackendOs
|
|
288
|
-
}));
|
|
289
|
-
fallbackProfile.profileName = `${fallbackProfile.path} (migrated)`;
|
|
290
|
-
const profile = detectedProfile || fallbackProfile;
|
|
291
|
-
const args = this._isValidShellArgs(shellArgs, this._primaryBackendOs) ? shellArgs : profile.args;
|
|
292
|
-
const createdProfile = {
|
|
293
|
-
profileName: profile.profileName,
|
|
294
|
-
path: profile.path,
|
|
295
|
-
args,
|
|
296
|
-
isDefault: true
|
|
297
|
-
};
|
|
298
|
-
if (detectedProfile && detectedProfile.profileName === createdProfile.profileName && detectedProfile.path === createdProfile.path && terminalProfileArgsMatch(detectedProfile.args, createdProfile.args)) {
|
|
299
|
-
return detectedProfile.profileName;
|
|
300
|
-
}
|
|
301
|
-
return createdProfile;
|
|
302
|
-
}
|
|
303
|
-
_isValidAutomationProfile(profile, os) {
|
|
304
|
-
if (profile === null || profile === undefined || typeof profile !== 'object') {
|
|
305
|
-
return false;
|
|
306
|
-
}
|
|
307
|
-
if ('path' in profile && typeof profile.path === 'string') {
|
|
308
|
-
return true;
|
|
309
|
-
}
|
|
310
|
-
return false;
|
|
311
|
-
}
|
|
312
|
-
}
|
|
313
|
-
BaseTerminalProfileResolverService.__decorator = ( __decorate([
|
|
314
|
-
debounce(200)
|
|
315
|
-
], BaseTerminalProfileResolverService.prototype, "_refreshDefaultProfileName", null));
|
|
316
|
-
export { BaseTerminalProfileResolverService };
|