@codingame/monaco-vscode-api 1.82.4 → 1.82.5-next.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/extensions.d.ts +3 -3
- package/external/xterm/typings/xterm.d.ts +1729 -0
- package/external/xterm-addon-canvas/typings/xterm-addon-canvas.d.ts +38 -0
- package/external/xterm-addon-image/typings/xterm-addon-image.d.ts +115 -0
- package/external/xterm-addon-search/typings/xterm-addon-search.d.ts +141 -0
- package/external/xterm-addon-serialize/typings/xterm-addon-serialize.d.ts +83 -0
- package/external/xterm-addon-unicode11/typings/xterm-addon-unicode11.d.ts +9 -0
- package/external/xterm-addon-webgl/typings/xterm-addon-webgl.d.ts +43 -0
- package/external/xterm-headless/typings/xterm-headless.d.ts +49 -0
- package/missing-services.js +0 -1
- package/monaco-editor-treemending.patch +1026 -1026
- package/package.json +21 -1
- package/service-override/bulkEdit.js +0 -1
- package/service-override/environment.js +0 -1
- package/service-override/extensions.js +1 -1
- package/service-override/files.js +0 -1
- package/service-override/keybindings.js +1 -6
- package/service-override/layout.js +0 -1
- package/service-override/output.js +0 -1
- package/service-override/quickaccess.js +0 -1
- package/services.js +10 -0
- package/vscode/src/vs/platform/terminal/common/capabilities/commandDetectionCapability.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/xtermTerminal.d.ts +7 -7
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm-private.d.ts +1 -1
- package/README.md +0 -392
- package/override/vs/workbench/contrib/notebook/browser/notebookEditor.js +0 -2
- package/service-override/accessibility.d.ts +0 -5
- package/service-override/accessibility.js +0 -11
- package/service-override/audioCue.d.ts +0 -5
- package/service-override/audioCue.js +0 -13
- package/service-override/bulkEdit.d.ts +0 -5
- package/service-override/configuration.d.ts +0 -17
- package/service-override/configuration.js +0 -117
- package/service-override/debug.d.ts +0 -5
- package/service-override/debug.js +0 -23
- package/service-override/dialogs.d.ts +0 -5
- package/service-override/dialogs.js +0 -57
- package/service-override/editor.d.ts +0 -10
- package/service-override/editor.js +0 -37
- package/service-override/environment.d.ts +0 -6
- package/service-override/extensions.d.ts +0 -50
- package/service-override/files.d.ts +0 -103
- package/service-override/keybindings.d.ts +0 -10
- package/service-override/languageDetectionWorker.d.ts +0 -5
- package/service-override/languageDetectionWorker.js +0 -15
- package/service-override/languages.d.ts +0 -11
- package/service-override/languages.js +0 -27
- package/service-override/layout.d.ts +0 -71
- package/service-override/lifecycle.d.ts +0 -5
- package/service-override/lifecycle.js +0 -10
- package/service-override/markers.d.ts +0 -5
- package/service-override/markers.js +0 -6
- package/service-override/model.d.ts +0 -5
- package/service-override/model.js +0 -10
- package/service-override/notifications.d.ts +0 -5
- package/service-override/notifications.js +0 -34
- package/service-override/output.d.ts +0 -6
- package/service-override/preferences.d.ts +0 -5
- package/service-override/preferences.js +0 -16
- package/service-override/quickaccess.d.ts +0 -10
- package/service-override/remoteAgent.d.ts +0 -6
- package/service-override/remoteAgent.js +0 -42
- package/service-override/search.d.ts +0 -5
- package/service-override/search.js +0 -19
- package/service-override/snippets.d.ts +0 -9
- package/service-override/snippets.js +0 -21
- package/service-override/storage.d.ts +0 -40
- package/service-override/storage.js +0 -116
- package/service-override/terminal.d.ts +0 -69
- package/service-override/terminal.js +0 -117
- package/service-override/textmate.d.ts +0 -6
- package/service-override/textmate.js +0 -41
- package/service-override/theme.d.ts +0 -7
- package/service-override/theme.js +0 -26
- package/service-override/viewBanner.d.ts +0 -6
- package/service-override/viewBanner.js +0 -10
- package/service-override/viewStatusBar.d.ts +0 -6
- package/service-override/viewStatusBar.js +0 -10
- package/service-override/viewTitleBar.d.ts +0 -6
- package/service-override/viewTitleBar.js +0 -10
- package/service-override/views.d.ts +0 -74
- package/service-override/views.js +0 -511
- package/service-override/workspaceTrust.d.ts +0 -5
- package/service-override/workspaceTrust.js +0 -13
- package/vscode/src/vs/base/browser/broadcast.js +0 -52
- package/vscode/src/vs/base/browser/indexedDB.d.ts +0 -17
- package/vscode/src/vs/base/browser/ui/centered/centeredViewLayout.js +0 -178
- package/vscode/src/vs/base/browser/ui/grid/grid.js +0 -465
- package/vscode/src/vs/base/browser/ui/grid/gridview.css.js +0 -4
- package/vscode/src/vs/base/browser/ui/grid/gridview.js +0 -977
- package/vscode/src/vs/base/browser/ui/toolbar/toolbar.d.ts +0 -60
- package/vscode/src/vs/base/browser/ui/tree/treeDefaults.js +0 -14
- package/vscode/src/vs/base/common/codicons.d.ts +0 -556
- package/vscode/src/vs/base/common/processes.js +0 -24
- package/vscode/src/vs/editor/common/services/languageFeaturesService.js +0 -42
- package/vscode/src/vs/editor/common/services/modelUndoRedoParticipant.js +0 -56
- package/vscode/src/vs/editor/common/services/textResourceConfigurationService.js +0 -116
- package/vscode/src/vs/platform/actions/browser/toolbar.d.ts +0 -67
- package/vscode/src/vs/platform/audioCues/browser/media/all.mp3.js +0 -20
- package/vscode/src/vs/platform/configuration/common/configurationRegistry.js +0 -10
- package/vscode/src/vs/platform/download/common/downloadIpc.js +0 -16
- package/vscode/src/vs/platform/files/browser/htmlFileSystemProvider.d.ts +0 -43
- package/vscode/src/vs/platform/files/common/diskFileSystemProviderClient.js +0 -136
- package/vscode/src/vs/platform/files/common/inMemoryFilesystemProvider.d.ts +0 -50
- package/vscode/src/vs/platform/log/common/logIpc.js +0 -24
- package/vscode/src/vs/platform/quickinput/browser/quickPickPin.js +0 -94
- package/vscode/src/vs/platform/remote/browser/browserSocketFactory.js +0 -193
- package/vscode/src/vs/platform/remote/browser/remoteAuthorityResolverService.js +0 -107
- package/vscode/src/vs/platform/terminal/common/capabilities/bufferMarkCapability.js +0 -41
- package/vscode/src/vs/platform/terminal/common/capabilities/commandDetectionCapability.js +0 -566
- package/vscode/src/vs/platform/terminal/common/capabilities/cwdDetectionCapability.js +0 -29
- package/vscode/src/vs/platform/terminal/common/capabilities/naiveCwdDetectionCapability.js +0 -22
- package/vscode/src/vs/platform/terminal/common/capabilities/partialCommandDetectionCapability.js +0 -46
- package/vscode/src/vs/platform/terminal/common/capabilities/terminalCapabilityStore.js +0 -94
- package/vscode/src/vs/platform/terminal/common/environmentVariable.js +0 -7
- package/vscode/src/vs/platform/terminal/common/environmentVariableCollection.js +0 -196
- package/vscode/src/vs/platform/terminal/common/terminalEnvironment.js +0 -37
- package/vscode/src/vs/platform/terminal/common/terminalLogService.js +0 -42
- package/vscode/src/vs/platform/terminal/common/terminalPlatformConfiguration.js +0 -467
- package/vscode/src/vs/platform/terminal/common/terminalProfiles.js +0 -107
- package/vscode/src/vs/platform/terminal/common/terminalRecorder.js +0 -66
- package/vscode/src/vs/platform/terminal/common/terminalStrings.js +0 -16
- package/vscode/src/vs/platform/terminal/common/xterm/shellIntegrationAddon.js +0 -319
- package/vscode/src/vs/platform/userDataSync/common/settingsMerge.js +0 -40
- package/vscode/src/vs/platform/webview/common/mimeTypes.js +0 -22
- package/vscode/src/vs/platform/webview/common/webviewPortMapping.js +0 -62
- package/vscode/src/vs/workbench/api/browser/viewsExtensionPoint.js +0 -699
- package/vscode/src/vs/workbench/api/common/configurationExtensionPoint.js +0 -450
- package/vscode/src/vs/workbench/api/common/extHost.api.impl.d.ts +0 -14
- package/vscode/src/vs/workbench/api/common/extHost.protocol.d.ts +0 -236
- package/vscode/src/vs/workbench/api/common/extHostConfiguration.d.ts +0 -43
- package/vscode/src/vs/workbench/api/common/extHostExtensionActivator.d.ts +0 -33
- package/vscode/src/vs/workbench/api/common/extHostExtensionService.d.ts +0 -138
- package/vscode/src/vs/workbench/api/common/extHostFileSystemInfo.d.ts +0 -21
- package/vscode/src/vs/workbench/api/common/extHostInitDataService.d.ts +0 -9
- package/vscode/src/vs/workbench/api/common/extHostLocalizationService.d.ts +0 -29
- package/vscode/src/vs/workbench/api/common/extHostManagedSockets.d.ts +0 -11
- package/vscode/src/vs/workbench/api/common/extHostRpcService.d.ts +0 -9
- package/vscode/src/vs/workbench/api/common/extHostStoragePaths.d.ts +0 -14
- package/vscode/src/vs/workbench/api/common/extHostTerminalService.d.ts +0 -53
- package/vscode/src/vs/workbench/api/common/extHostTunnelService.d.ts +0 -19
- package/vscode/src/vs/workbench/api/common/extHostTypes.d.ts +0 -12
- package/vscode/src/vs/workbench/api/common/extHostUriTransformerService.d.ts +0 -9
- package/vscode/src/vs/workbench/api/common/extHostWorkspace.d.ts +0 -91
- package/vscode/src/vs/workbench/api/worker/extHostExtensionService.d.ts +0 -21
- package/vscode/src/vs/workbench/browser/actions/listCommands.js +0 -605
- package/vscode/src/vs/workbench/browser/parts/activitybar/activitybarActions.js +0 -597
- package/vscode/src/vs/workbench/browser/parts/activitybar/activitybarPart.d.ts +0 -116
- package/vscode/src/vs/workbench/browser/parts/activitybar/activitybarPart.js +0 -783
- package/vscode/src/vs/workbench/browser/parts/activitybar/media/activityaction.css.js +0 -4
- package/vscode/src/vs/workbench/browser/parts/activitybar/media/activitybarpart.css.js +0 -4
- package/vscode/src/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarPart.js +0 -88
- package/vscode/src/vs/workbench/browser/parts/auxiliarybar/media/auxiliaryBarPart.css.js +0 -4
- package/vscode/src/vs/workbench/browser/parts/banner/bannerPart.js +0 -228
- package/vscode/src/vs/workbench/browser/parts/banner/media/bannerpart.css.js +0 -4
- package/vscode/src/vs/workbench/browser/parts/compositeBar.js +0 -691
- package/vscode/src/vs/workbench/browser/parts/compositeBarActions.d.ts +0 -7
- package/vscode/src/vs/workbench/browser/parts/compositePart.d.ts +0 -84
- package/vscode/src/vs/workbench/browser/parts/compositePart.js +0 -318
- package/vscode/src/vs/workbench/browser/parts/dialogs/dialog.web.contribution.js +0 -69
- package/vscode/src/vs/workbench/browser/parts/dialogs/dialogHandler.js +0 -127
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsControl.js +0 -692
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsModel.js +0 -141
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsPicker.js +0 -414
- package/vscode/src/vs/workbench/browser/parts/editor/editorDropTarget.js +0 -507
- package/vscode/src/vs/workbench/browser/parts/editor/editorGroupView.js +0 -1233
- package/vscode/src/vs/workbench/browser/parts/editor/editorGroupWatermark.js +0 -133
- package/vscode/src/vs/workbench/browser/parts/editor/editorPanes.js +0 -306
- package/vscode/src/vs/workbench/browser/parts/editor/editorPart.js +0 -850
- package/vscode/src/vs/workbench/browser/parts/editor/media/breadcrumbscontrol.css.js +0 -4
- package/vscode/src/vs/workbench/browser/parts/editor/media/editordroptarget.css.js +0 -4
- package/vscode/src/vs/workbench/browser/parts/editor/media/editorgroupview.css.js +0 -4
- package/vscode/src/vs/workbench/browser/parts/editor/media/notabstitlecontrol.css.js +0 -4
- package/vscode/src/vs/workbench/browser/parts/editor/media/tabstitlecontrol.css.js +0 -4
- package/vscode/src/vs/workbench/browser/parts/editor/media/titlecontrol.css.js +0 -4
- package/vscode/src/vs/workbench/browser/parts/editor/noTabsTitleControl.js +0 -247
- package/vscode/src/vs/workbench/browser/parts/editor/tabsTitleControl.js +0 -1569
- package/vscode/src/vs/workbench/browser/parts/editor/titleControl.js +0 -292
- package/vscode/src/vs/workbench/browser/parts/media/compositepart.css.js +0 -4
- package/vscode/src/vs/workbench/browser/parts/notifications/media/notificationsActions.css.js +0 -4
- package/vscode/src/vs/workbench/browser/parts/notifications/media/notificationsCenter.css.js +0 -4
- package/vscode/src/vs/workbench/browser/parts/notifications/media/notificationsList.css.js +0 -4
- package/vscode/src/vs/workbench/browser/parts/notifications/media/notificationsToasts.css.js +0 -4
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsActions.js +0 -124
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsAlerts.js +0 -58
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCenter.js +0 -227
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsList.js +0 -212
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsToasts.js +0 -419
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsViewer.js +0 -398
- package/vscode/src/vs/workbench/browser/parts/paneCompositePart.js +0 -78
- package/vscode/src/vs/workbench/browser/parts/panel/media/basepanelpart.css.js +0 -4
- package/vscode/src/vs/workbench/browser/parts/panel/panelPart.d.ts +0 -134
- package/vscode/src/vs/workbench/browser/parts/panel/panelPart.js +0 -756
- package/vscode/src/vs/workbench/browser/parts/sidebar/media/sidebarpart.css.js +0 -4
- package/vscode/src/vs/workbench/browser/parts/sidebar/sidebarPart.d.ts +0 -59
- package/vscode/src/vs/workbench/browser/parts/sidebar/sidebarPart.js +0 -217
- package/vscode/src/vs/workbench/browser/parts/statusbar/media/statusbarpart.css.js +0 -4
- package/vscode/src/vs/workbench/browser/parts/statusbar/statusbarActions.js +0 -109
- package/vscode/src/vs/workbench/browser/parts/statusbar/statusbarItem.js +0 -234
- package/vscode/src/vs/workbench/browser/parts/statusbar/statusbarModel.js +0 -249
- package/vscode/src/vs/workbench/browser/parts/statusbar/statusbarPart.js +0 -439
- package/vscode/src/vs/workbench/browser/parts/titlebar/commandCenterControl.js +0 -134
- package/vscode/src/vs/workbench/browser/parts/titlebar/media/titlebarpart.css.js +0 -4
- package/vscode/src/vs/workbench/browser/parts/titlebar/menubarControl.d.ts +0 -115
- package/vscode/src/vs/workbench/browser/parts/titlebar/titlebarPart.d.ts +0 -77
- package/vscode/src/vs/workbench/browser/parts/titlebar/titlebarPart.js +0 -365
- package/vscode/src/vs/workbench/browser/parts/titlebar/windowTitle.js +0 -216
- package/vscode/src/vs/workbench/browser/parts/views/checkbox.js +0 -104
- package/vscode/src/vs/workbench/browser/parts/views/media/views.css.js +0 -4
- package/vscode/src/vs/workbench/browser/parts/views/treeView.js +0 -1589
- package/vscode/src/vs/workbench/common/activity.js +0 -3
- package/vscode/src/vs/workbench/common/dialogs.js +0 -31
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibility.contribution.js +0 -13
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityContributions.js +0 -312
- package/vscode/src/vs/workbench/contrib/accessibility/browser/unfocusedViewDimmingContribution.js +0 -63
- package/vscode/src/vs/workbench/contrib/audioCues/browser/audioCueDebuggerContribution.js +0 -45
- package/vscode/src/vs/workbench/contrib/audioCues/browser/audioCueLineFeatureContribution.js +0 -170
- package/vscode/src/vs/workbench/contrib/audioCues/browser/audioCues.contribution.js +0 -181
- package/vscode/src/vs/workbench/contrib/audioCues/browser/commands.js +0 -49
- package/vscode/src/vs/workbench/contrib/callHierarchy/browser/callHierarchy.contribution.js +0 -262
- package/vscode/src/vs/workbench/contrib/callHierarchy/browser/callHierarchyPeek.js +0 -339
- package/vscode/src/vs/workbench/contrib/callHierarchy/browser/callHierarchyTree.js +0 -119
- package/vscode/src/vs/workbench/contrib/callHierarchy/browser/media/callHierarchy.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/accessibility/accessibility.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/accessibility/accessibility.js +0 -35
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/find/simpleFindWidget.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/find/simpleFindWidget.js +0 -345
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/outline/documentSymbolsOutline.js +0 -362
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/outline/documentSymbolsTree.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/outline/documentSymbolsTree.js +0 -255
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/suggestEnabledInput/suggestEnabledInput.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/suggestEnabledInput/suggestEnabledInput.js +0 -249
- package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditor.contribution.js +0 -14
- package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditorInputFactory.js +0 -137
- package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditors.js +0 -212
- package/vscode/src/vs/workbench/contrib/customEditor/browser/media/customEditor.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/customEditor/common/contributedCustomEditors.js +0 -72
- package/vscode/src/vs/workbench/contrib/customEditor/common/customEditorModelManager.js +0 -61
- package/vscode/src/vs/workbench/contrib/customEditor/common/extensionPoint.js +0 -106
- package/vscode/src/vs/workbench/contrib/debug/browser/baseDebugView.js +0 -198
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointEditorContribution.js +0 -783
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointWidget.js +0 -397
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointsView.js +0 -1296
- package/vscode/src/vs/workbench/contrib/debug/browser/callStackEditorContribution.js +0 -176
- package/vscode/src/vs/workbench/contrib/debug/browser/callStackView.js +0 -958
- package/vscode/src/vs/workbench/contrib/debug/browser/debug.contribution.js +0 -496
- package/vscode/src/vs/workbench/contrib/debug/browser/debugANSIHandling.js +0 -345
- package/vscode/src/vs/workbench/contrib/debug/browser/debugActionViewItems.js +0 -297
- package/vscode/src/vs/workbench/contrib/debug/browser/debugAdapterManager.js +0 -398
- package/vscode/src/vs/workbench/contrib/debug/browser/debugCommands.js +0 -825
- package/vscode/src/vs/workbench/contrib/debug/browser/debugConfigurationManager.js +0 -619
- package/vscode/src/vs/workbench/contrib/debug/browser/debugConsoleQuickAccess.js +0 -58
- package/vscode/src/vs/workbench/contrib/debug/browser/debugEditorActions.js +0 -525
- package/vscode/src/vs/workbench/contrib/debug/browser/debugEditorContribution.js +0 -679
- package/vscode/src/vs/workbench/contrib/debug/browser/debugHover.js +0 -354
- package/vscode/src/vs/workbench/contrib/debug/browser/debugMemory.js +0 -204
- package/vscode/src/vs/workbench/contrib/debug/browser/debugProgress.js +0 -80
- package/vscode/src/vs/workbench/contrib/debug/browser/debugQuickAccess.js +0 -141
- package/vscode/src/vs/workbench/contrib/debug/browser/debugService.js +0 -1172
- package/vscode/src/vs/workbench/contrib/debug/browser/debugSession.js +0 -1142
- package/vscode/src/vs/workbench/contrib/debug/browser/debugSessionPicker.js +0 -104
- package/vscode/src/vs/workbench/contrib/debug/browser/debugStatus.js +0 -66
- package/vscode/src/vs/workbench/contrib/debug/browser/debugTaskRunner.js +0 -273
- package/vscode/src/vs/workbench/contrib/debug/browser/debugToolBar.js +0 -312
- package/vscode/src/vs/workbench/contrib/debug/browser/debugViewlet.js +0 -166
- package/vscode/src/vs/workbench/contrib/debug/browser/disassemblyView.js +0 -661
- package/vscode/src/vs/workbench/contrib/debug/browser/exceptionWidget.js +0 -103
- package/vscode/src/vs/workbench/contrib/debug/browser/linkDetector.js +0 -229
- package/vscode/src/vs/workbench/contrib/debug/browser/loadedScriptsView.js +0 -629
- package/vscode/src/vs/workbench/contrib/debug/browser/media/breakpointWidget.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/debug/browser/media/callStackEditorContribution.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/debug/browser/media/debug.contribution.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/debug/browser/media/debugHover.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/debug/browser/media/debugToolBar.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/debug/browser/media/debugViewlet.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/debug/browser/media/exceptionWidget.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/debug/browser/media/repl.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/debug/browser/rawDebugSession.js +0 -693
- package/vscode/src/vs/workbench/contrib/debug/browser/repl.js +0 -951
- package/vscode/src/vs/workbench/contrib/debug/browser/replFilter.js +0 -46
- package/vscode/src/vs/workbench/contrib/debug/browser/replViewer.js +0 -334
- package/vscode/src/vs/workbench/contrib/debug/browser/statusbarColorProvider.js +0 -96
- package/vscode/src/vs/workbench/contrib/debug/browser/variablesView.js +0 -573
- package/vscode/src/vs/workbench/contrib/debug/browser/watchExpressionsView.js +0 -413
- package/vscode/src/vs/workbench/contrib/debug/browser/welcomeView.js +0 -100
- package/vscode/src/vs/workbench/contrib/debug/common/breakpoints.js +0 -19
- package/vscode/src/vs/workbench/contrib/debug/common/debugCompoundRoot.js +0 -15
- package/vscode/src/vs/workbench/contrib/debug/common/debugContentProvider.js +0 -98
- package/vscode/src/vs/workbench/contrib/debug/common/debugLifecycle.js +0 -57
- package/vscode/src/vs/workbench/contrib/debug/common/debugModel.js +0 -1480
- package/vscode/src/vs/workbench/contrib/debug/common/debugSchemas.js +0 -344
- package/vscode/src/vs/workbench/contrib/debug/common/debugSource.js +0 -121
- package/vscode/src/vs/workbench/contrib/debug/common/debugStorage.js +0 -173
- package/vscode/src/vs/workbench/contrib/debug/common/debugTelemetry.js +0 -34
- package/vscode/src/vs/workbench/contrib/debug/common/debugViewModel.js +0 -115
- package/vscode/src/vs/workbench/contrib/debug/common/debugger.js +0 -258
- package/vscode/src/vs/workbench/contrib/debug/common/disassemblyViewInput.js +0 -25
- package/vscode/src/vs/workbench/contrib/debug/common/loadedScriptsPicker.js +0 -81
- package/vscode/src/vs/workbench/contrib/debug/common/replModel.js +0 -281
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActions.js +0 -2414
- package/vscode/src/vs/workbench/contrib/extensions/browser/media/extensionActions.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsFileTemplate.js +0 -16
- package/vscode/src/vs/workbench/contrib/externalUriOpener/common/externalUriOpener.contribution.js +0 -5
- package/vscode/src/vs/workbench/contrib/files/browser/editors/binaryFileEditor.js +0 -73
- package/vscode/src/vs/workbench/contrib/files/browser/editors/fileEditorHandler.js +0 -36
- package/vscode/src/vs/workbench/contrib/files/browser/editors/fileEditorInput.js +0 -325
- package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileEditor.js +0 -230
- package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileEditorTracker.js +0 -97
- package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileSaveErrorHandler.js +0 -352
- package/vscode/src/vs/workbench/contrib/files/browser/explorerService.js +0 -426
- package/vscode/src/vs/workbench/contrib/files/browser/fileActions.contribution.js +0 -508
- package/vscode/src/vs/workbench/contrib/files/browser/fileCommands.js +0 -615
- package/vscode/src/vs/workbench/contrib/files/browser/files.contribution2.js +0 -94
- package/vscode/src/vs/workbench/contrib/files/browser/workspaceWatcher.js +0 -144
- package/vscode/src/vs/workbench/contrib/files/common/dirtyFilesIndicator.js +0 -53
- package/vscode/src/vs/workbench/contrib/languageDetection/browser/languageDetection.contribution.js +0 -134
- package/vscode/src/vs/workbench/contrib/languageStatus/browser/languageStatus.contribution.js +0 -353
- package/vscode/src/vs/workbench/contrib/languageStatus/browser/media/languageStatus.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/markers/browser/markers.contribution.js +0 -586
- package/vscode/src/vs/workbench/contrib/markers/browser/markersFilterOptions.js +0 -75
- package/vscode/src/vs/workbench/contrib/markers/browser/markersModel.js +0 -200
- package/vscode/src/vs/workbench/contrib/markers/browser/markersTable.js +0 -455
- package/vscode/src/vs/workbench/contrib/markers/browser/markersTreeViewer.js +0 -670
- package/vscode/src/vs/workbench/contrib/markers/browser/markersView.js +0 -873
- package/vscode/src/vs/workbench/contrib/markers/browser/markersViewActions.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/markers/browser/markersViewActions.js +0 -132
- package/vscode/src/vs/workbench/contrib/markers/browser/media/markers.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/markers/browser/messages.js +0 -170
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/findFilters.js +0 -70
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindReplaceWidget.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindReplaceWidget.js +0 -158
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookContextKeys.js +0 -3
- package/vscode/src/vs/workbench/contrib/outline/browser/outline.contribution.js +0 -261
- package/vscode/src/vs/workbench/contrib/outline/browser/outline.js +0 -10
- package/vscode/src/vs/workbench/contrib/outline/browser/outlinePane.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/outline/browser/outlinePane.js +0 -290
- package/vscode/src/vs/workbench/contrib/outline/browser/outlineViewState.js +0 -66
- package/vscode/src/vs/workbench/contrib/output/common/outputLinkComputer.js +0 -129
- package/vscode/src/vs/workbench/contrib/preferences/browser/keybindingWidgets.js +0 -272
- package/vscode/src/vs/workbench/contrib/preferences/browser/keybindingsEditor.js +0 -1102
- package/vscode/src/vs/workbench/contrib/preferences/browser/media/keybindings.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/preferences/browser/media/keybindingsEditor.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/preferences/browser/media/preferences.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/preferences/browser/media/settingsEditor2.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/preferences/browser/media/settingsWidgets.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferences.contribution.js +0 -1213
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesActions.js +0 -94
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesEditor.js +0 -47
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesIcons.js +0 -37
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesRenderers.js +0 -747
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesSearch.js +0 -349
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesWidgets.js +0 -468
- package/vscode/src/vs/workbench/contrib/preferences/browser/settingsEditor2.js +0 -1477
- package/vscode/src/vs/workbench/contrib/preferences/browser/settingsEditorSettingIndicators.js +0 -504
- package/vscode/src/vs/workbench/contrib/preferences/browser/settingsLayout.js +0 -296
- package/vscode/src/vs/workbench/contrib/preferences/browser/settingsSearchMenu.js +0 -79
- package/vscode/src/vs/workbench/contrib/preferences/browser/settingsTree.js +0 -2041
- package/vscode/src/vs/workbench/contrib/preferences/browser/settingsTreeModels.js +0 -771
- package/vscode/src/vs/workbench/contrib/preferences/browser/settingsWidgets.js +0 -1004
- package/vscode/src/vs/workbench/contrib/preferences/browser/tocTree.js +0 -196
- package/vscode/src/vs/workbench/contrib/preferences/common/preferencesContribution.js +0 -151
- package/vscode/src/vs/workbench/contrib/preferences/common/settingsEditorColorRegistry.js +0 -67
- package/vscode/src/vs/workbench/contrib/remote/browser/media/tunnelView.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/remote/browser/remoteExplorer.js +0 -207
- package/vscode/src/vs/workbench/contrib/remote/browser/remoteIcons.js +0 -27
- package/vscode/src/vs/workbench/contrib/remote/browser/tunnelView.js +0 -1666
- package/vscode/src/vs/workbench/contrib/remote/common/remote.contribution.js +0 -481
- package/vscode/src/vs/workbench/contrib/search/browser/anythingQuickAccess.js +0 -759
- package/vscode/src/vs/workbench/contrib/search/browser/media/anythingQuickAccess.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/search/browser/media/searchview.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/search/browser/notebookSearchContributions.js +0 -7
- package/vscode/src/vs/workbench/contrib/search/browser/patternInputWidget.js +0 -220
- package/vscode/src/vs/workbench/contrib/search/browser/quickTextSearch/textSearchQuickAccess.js +0 -232
- package/vscode/src/vs/workbench/contrib/search/browser/replaceContributions.js +0 -7
- package/vscode/src/vs/workbench/contrib/search/browser/replaceService.js +0 -224
- package/vscode/src/vs/workbench/contrib/search/browser/search.contribution.js +0 -513
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsBase.js +0 -46
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsCopy.js +0 -204
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsFind.js +0 -354
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsNav.js +0 -459
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsRemoveReplace.js +0 -365
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsSymbol.js +0 -35
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsTextQuickAccess.js +0 -23
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsTopBar.js +0 -308
- package/vscode/src/vs/workbench/contrib/search/browser/searchFindInput.js +0 -41
- package/vscode/src/vs/workbench/contrib/search/browser/searchIcons.js +0 -39
- package/vscode/src/vs/workbench/contrib/search/browser/searchMessage.js +0 -58
- package/vscode/src/vs/workbench/contrib/search/browser/searchResultsView.js +0 -383
- package/vscode/src/vs/workbench/contrib/search/browser/searchView.js +0 -1916
- package/vscode/src/vs/workbench/contrib/search/browser/searchWidget.js +0 -636
- package/vscode/src/vs/workbench/contrib/search/browser/symbolsQuickAccess.js +0 -220
- package/vscode/src/vs/workbench/contrib/search/common/cacheState.js +0 -85
- package/vscode/src/vs/workbench/contrib/search/common/constants.js +0 -66
- package/vscode/src/vs/workbench/contrib/searchEditor/browser/constants.js +0 -11
- package/vscode/src/vs/workbench/contrib/searchEditor/browser/media/searchEditor.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/searchEditor/browser/searchEditor.contribution.js +0 -477
- package/vscode/src/vs/workbench/contrib/searchEditor/browser/searchEditor.js +0 -700
- package/vscode/src/vs/workbench/contrib/searchEditor/browser/searchEditorActions.js +0 -187
- package/vscode/src/vs/workbench/contrib/searchEditor/browser/searchEditorInput.js +0 -298
- package/vscode/src/vs/workbench/contrib/searchEditor/browser/searchEditorModel.js +0 -135
- package/vscode/src/vs/workbench/contrib/searchEditor/browser/searchEditorSerialization.js +0 -268
- package/vscode/src/vs/workbench/contrib/snippets/browser/commands/abstractSnippetsActions.js +0 -20
- package/vscode/src/vs/workbench/contrib/snippets/browser/commands/configureSnippets.js +0 -264
- package/vscode/src/vs/workbench/contrib/snippets/browser/commands/fileTemplateSnippets.js +0 -87
- package/vscode/src/vs/workbench/contrib/snippets/browser/commands/insertSnippet.js +0 -126
- package/vscode/src/vs/workbench/contrib/snippets/browser/commands/surroundWithSnippet.js +0 -56
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCodeActionProvider.js +0 -136
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetPicker.js +0 -83
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippets.contribution.js +0 -113
- package/vscode/src/vs/workbench/contrib/terminal/browser/baseTerminalBackend.js +0 -101
- package/vscode/src/vs/workbench/contrib/terminal/browser/detachedTerminal.js +0 -54
- package/vscode/src/vs/workbench/contrib/terminal/browser/environmentVariableInfo.js +0 -119
- package/vscode/src/vs/workbench/contrib/terminal/browser/media/scrollbar.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/terminal/browser/media/terminal.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/terminal/browser/media/widgets.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/terminal/browser/media/xterm.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/terminal/browser/remotePty.js +0 -175
- package/vscode/src/vs/workbench/contrib/terminal/browser/remoteTerminalBackend.js +0 -311
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.contribution.js +0 -240
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalActions.js +0 -1964
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalCommands.js +0 -22
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalConfigHelper.js +0 -215
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalContextMenu.js +0 -16
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalEditor.js +0 -186
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalEditorService.js +0 -239
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalEvents.js +0 -47
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalExtensions.js +0 -25
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalGroup.js +0 -482
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalGroupService.js +0 -367
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalIcons.js +0 -37
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalInstance.js +0 -2101
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalInstanceService.js +0 -82
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalMainContribution.js +0 -82
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalMenus.js +0 -762
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalProcessManager.js +0 -617
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalProfileQuickpick.js +0 -278
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalProfileResolverService.js +0 -316
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalProfileService.js +0 -218
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalQuickAccess.js +0 -146
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalRunRecentQuickPick.js +0 -269
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalService.js +0 -1134
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalStatusList.js +0 -108
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalTabbedView.js +0 -420
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalTabsList.js +0 -676
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalTooltip.js +0 -72
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalUri.js +0 -39
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalView.js +0 -598
- package/vscode/src/vs/workbench/contrib/terminal/browser/widgets/widgetManager.js +0 -36
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/decorationAddon.js +0 -469
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/decorationStyles.js +0 -97
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/lineDataEventAddon.js +0 -56
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/markNavigationAddon.js +0 -416
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/suggestAddon.js +0 -390
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/xtermTerminal.js +0 -793
- package/vscode/src/vs/workbench/contrib/terminal/common/environmentVariableService.js +0 -96
- package/vscode/src/vs/workbench/contrib/terminal/common/history.js +0 -356
- package/vscode/src/vs/workbench/contrib/terminal/common/remote/remoteTerminalChannel.js +0 -253
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalConfiguration.js +0 -1016
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalEnvironment.js +0 -272
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalStrings.js +0 -93
- package/vscode/src/vs/workbench/contrib/terminal/electron-sandbox/terminalProfileResolverService.js +0 -42
- package/vscode/src/vs/workbench/contrib/terminalContrib/accessibility/browser/bufferContentTracker.js +0 -110
- package/vscode/src/vs/workbench/contrib/terminalContrib/accessibility/browser/terminal.accessibility.contribution.js +0 -232
- package/vscode/src/vs/workbench/contrib/terminalContrib/accessibility/browser/terminalAccessibilityHelp.js +0 -138
- package/vscode/src/vs/workbench/contrib/terminalContrib/accessibility/browser/terminalAccessibleBuffer.js +0 -226
- package/vscode/src/vs/workbench/contrib/terminalContrib/accessibility/browser/terminalAccessibleWidget.js +0 -142
- package/vscode/src/vs/workbench/contrib/terminalContrib/accessibility/browser/textAreaSyncAddon.js +0 -98
- package/vscode/src/vs/workbench/contrib/terminalContrib/links/browser/terminalLinkProviderService.js +0 -26
- package/vscode/src/vs/workbench/contrib/terminalContrib/quickFix/browser/terminalQuickFixService.js +0 -155
- package/vscode/src/vs/workbench/contrib/typeHierarchy/browser/media/typeHierarchy.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/typeHierarchy/browser/typeHierarchy.contribution.js +0 -247
- package/vscode/src/vs/workbench/contrib/typeHierarchy/browser/typeHierarchyPeek.js +0 -334
- package/vscode/src/vs/workbench/contrib/typeHierarchy/browser/typeHierarchyTree.js +0 -117
- package/vscode/src/vs/workbench/contrib/webview/browser/overlayWebview.js +0 -288
- package/vscode/src/vs/workbench/contrib/webview/browser/resourceLoading.js +0 -94
- package/vscode/src/vs/workbench/contrib/webview/browser/themeing.js +0 -86
- package/vscode/src/vs/workbench/contrib/webview/browser/webviewElement.js +0 -640
- package/vscode/src/vs/workbench/contrib/webview/browser/webviewFindWidget.js +0 -63
- package/vscode/src/vs/workbench/contrib/webview/browser/webviewService.js +0 -57
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewCommands.js +0 -120
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditorInputSerializer.js +0 -119
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewPanel.contribution.js +0 -61
- package/vscode/src/vs/workbench/contrib/webviewView/browser/webviewViewPane.js +0 -232
- package/vscode/src/vs/workbench/contrib/workspace/browser/media/workspaceTrustEditor.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/workspace/browser/workspace.contribution.js +0 -842
- package/vscode/src/vs/workbench/contrib/workspace/browser/workspaceTrustEditor.js +0 -1047
- package/vscode/src/vs/workbench/contrib/workspace/common/workspace.js +0 -14
- package/vscode/src/vs/workbench/services/activity/browser/activityService.js +0 -94
- package/vscode/src/vs/workbench/services/configuration/browser/configuration.js +0 -878
- package/vscode/src/vs/workbench/services/configuration/browser/configurationService.js +0 -1170
- package/vscode/src/vs/workbench/services/configuration/common/configurationCache.js +0 -80
- package/vscode/src/vs/workbench/services/configuration/common/configurationEditing.js +0 -589
- package/vscode/src/vs/workbench/services/configuration/common/configurationModels.js +0 -119
- package/vscode/src/vs/workbench/services/configurationResolver/browser/baseConfigurationResolverService.js +0 -303
- package/vscode/src/vs/workbench/services/configurationResolver/browser/configurationResolverService.js +0 -26
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverSchema.js +0 -174
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverUtils.js +0 -10
- package/vscode/src/vs/workbench/services/dialogs/browser/abstractFileDialogService.js +0 -320
- package/vscode/src/vs/workbench/services/dialogs/browser/simpleFileDialog.js +0 -989
- package/vscode/src/vs/workbench/services/dialogs/common/dialogService.js +0 -66
- package/vscode/src/vs/workbench/services/editor/browser/editorResolverService.js +0 -622
- package/vscode/src/vs/workbench/services/extensionRecommendations/common/extensionRecommendations.js +0 -4
- package/vscode/src/vs/workbench/services/extensionRecommendations/common/workspaceExtensionsConfig.js +0 -2
- package/vscode/src/vs/workbench/services/history/browser/historyService.js +0 -1454
- package/vscode/src/vs/workbench/services/hover/browser/hoverService.js +0 -162
- package/vscode/src/vs/workbench/services/hover/browser/hoverWidget.js +0 -523
- package/vscode/src/vs/workbench/services/hover/browser/media/hover.css.js +0 -4
- package/vscode/src/vs/workbench/services/label/common/labelService.js +0 -412
- package/vscode/src/vs/workbench/services/languageDetection/browser/languageDetectionSimpleWorker.js +0 -173
- package/vscode/src/vs/workbench/services/languageDetection/browser/languageDetectionWorkerServiceImpl.js +0 -259
- package/vscode/src/vs/workbench/services/lifecycle/browser/lifecycleService.js +0 -121
- package/vscode/src/vs/workbench/services/localization/common/locale.js +0 -3
- package/vscode/src/vs/workbench/services/notification/common/notificationService.js +0 -188
- package/vscode/src/vs/workbench/services/outline/browser/outlineService.js +0 -35
- package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorInput.js +0 -37
- package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorModel.js +0 -556
- package/vscode/src/vs/workbench/services/preferences/browser/preferencesService.js +0 -547
- package/vscode/src/vs/workbench/services/preferences/common/preferencesEditorInput.js +0 -39
- package/vscode/src/vs/workbench/services/preferences/common/preferencesModels.js +0 -1039
- package/vscode/src/vs/workbench/services/preferences/common/preferencesValidation.js +0 -393
- package/vscode/src/vs/workbench/services/remote/browser/remoteAgentService.js +0 -71
- package/vscode/src/vs/workbench/services/remote/common/abstractRemoteAgentService.js +0 -177
- package/vscode/src/vs/workbench/services/remote/common/remoteAgentEnvironmentChannel.js +0 -51
- package/vscode/src/vs/workbench/services/remote/common/remoteFileSystemProviderClient.js +0 -38
- package/vscode/src/vs/workbench/services/search/common/queryBuilder.d.ts +0 -35
- package/vscode/src/vs/workbench/services/search/common/searchService.js +0 -370
- package/vscode/src/vs/workbench/services/storage/browser/storageService.d.ts +0 -40
- package/vscode/src/vs/workbench/services/storage/browser/storageService.js +0 -280
- package/vscode/src/vs/workbench/services/suggest/browser/media/suggest.css.js +0 -4
- package/vscode/src/vs/workbench/services/suggest/browser/simpleCompletionItem.js +0 -10
- package/vscode/src/vs/workbench/services/suggest/browser/simpleCompletionModel.js +0 -98
- package/vscode/src/vs/workbench/services/suggest/browser/simpleSuggestWidget.js +0 -399
- package/vscode/src/vs/workbench/services/suggest/browser/simpleSuggestWidgetRenderer.js +0 -83
- package/vscode/src/vs/workbench/services/textMate/browser/arrayOperation.js +0 -62
- package/vscode/src/vs/workbench/services/textMate/browser/backgroundTokenization/textMateWorkerTokenizerController.js +0 -157
- package/vscode/src/vs/workbench/services/textMate/browser/backgroundTokenization/threadedBackgroundTokenizerFactory.js +0 -200
- package/vscode/src/vs/workbench/services/textMate/browser/backgroundTokenization/worker/textMateTokenizationWorker.worker.js +0 -87
- package/vscode/src/vs/workbench/services/textMate/browser/backgroundTokenization/worker/textMateWorkerTokenizer.js +0 -140
- package/vscode/src/vs/workbench/services/textMate/browser/textMateTokenizationFeature.d.ts +0 -11
- package/vscode/src/vs/workbench/services/textMate/browser/textMateTokenizationFeatureImpl.js +0 -459
- package/vscode/src/vs/workbench/services/textMate/browser/tokenizationSupport/textMateTokenizationSupport.js +0 -72
- package/vscode/src/vs/workbench/services/textMate/browser/tokenizationSupport/tokenizationSupportWithLineLimit.js +0 -36
- package/vscode/src/vs/workbench/services/textMate/common/TMGrammarFactory.js +0 -118
- package/vscode/src/vs/workbench/services/textMate/common/TMGrammars.js +0 -93
- package/vscode/src/vs/workbench/services/textMate/common/TMScopeRegistry.js +0 -24
- package/vscode/src/vs/workbench/services/textmodelResolver/common/textModelResolverService.js +0 -187
- package/vscode/src/vs/workbench/services/themes/browser/fileIconThemeData.js +0 -353
- package/vscode/src/vs/workbench/services/themes/browser/productIconThemeData.js +0 -290
- package/vscode/src/vs/workbench/services/themes/browser/workbenchThemeService.js +0 -742
- package/vscode/src/vs/workbench/services/themes/common/colorThemeData.js +0 -864
- package/vscode/src/vs/workbench/services/themes/common/colorThemeSchema.js +0 -265
- package/vscode/src/vs/workbench/services/themes/common/fileIconThemeSchema.js +0 -303
- package/vscode/src/vs/workbench/services/themes/common/plistParser.js +0 -439
- package/vscode/src/vs/workbench/services/themes/common/productIconThemeSchema.js +0 -94
- package/vscode/src/vs/workbench/services/themes/common/textMateScopeMatcher.js +0 -120
- package/vscode/src/vs/workbench/services/themes/common/themeCompatibility.js +0 -66
- package/vscode/src/vs/workbench/services/themes/common/themeConfiguration.js +0 -372
- package/vscode/src/vs/workbench/services/themes/common/themeExtensionPoints.js +0 -254
- package/vscode/src/vs/workbench/services/views/browser/viewDescriptorService.js +0 -689
- package/vscode/src/vs/workbench/services/views/common/viewContainerModel.js +0 -612
- package/vscode/src/vs/workbench/services/workspaces/browser/abstractWorkspaceEditingService.js +0 -322
- package/vscode/src/vs/workbench/services/workspaces/browser/workspaceTrustEditorInput.js +0 -27
- package/vscode/src/vs/workbench/services/workspaces/browser/workspacesService.js +0 -151
- package/workers/languageDetection.worker.js +0 -8
- package/workers/outputLinkComputer.worker.js +0 -3
- package/workers/textmate.worker.js +0 -3
|
@@ -1,700 +0,0 @@
|
|
|
1
|
-
import { __decorate, __param } from '../../../../../../../external/tslib/tslib.es6.js';
|
|
2
|
-
import * as dom from 'monaco-editor/esm/vs/base/browser/dom.js';
|
|
3
|
-
import { StandardKeyboardEvent } from 'monaco-editor/esm/vs/base/browser/keyboardEvent.js';
|
|
4
|
-
import { alert } from 'monaco-editor/esm/vs/base/browser/ui/aria/aria.js';
|
|
5
|
-
import { Delayer } from 'monaco-editor/esm/vs/base/common/async.js';
|
|
6
|
-
import { DisposableStore } from 'monaco-editor/esm/vs/base/common/lifecycle.js';
|
|
7
|
-
import { assertIsDefined } from 'monaco-editor/esm/vs/base/common/types.js';
|
|
8
|
-
import './media/searchEditor.css.js';
|
|
9
|
-
import { Position } from 'monaco-editor/esm/vs/editor/common/core/position.js';
|
|
10
|
-
import { Range } from 'monaco-editor/esm/vs/editor/common/core/range.js';
|
|
11
|
-
import { Selection } from 'monaco-editor/esm/vs/editor/common/core/selection.js';
|
|
12
|
-
import { IModelService } from 'monaco-editor/esm/vs/editor/common/services/model.js';
|
|
13
|
-
import { ITextResourceConfigurationService } from 'monaco-editor/esm/vs/editor/common/services/textResourceConfiguration.js';
|
|
14
|
-
import { ReferencesController } from 'monaco-editor/esm/vs/editor/contrib/gotoSymbol/browser/peek/referencesController.js';
|
|
15
|
-
import { localize } from 'monaco-editor/esm/vs/nls.js';
|
|
16
|
-
import { ICommandService } from 'monaco-editor/esm/vs/platform/commands/common/commands.js';
|
|
17
|
-
import { IConfigurationService } from 'monaco-editor/esm/vs/platform/configuration/common/configuration.js';
|
|
18
|
-
import { IContextKeyService } from 'monaco-editor/esm/vs/platform/contextkey/common/contextkey.js';
|
|
19
|
-
import { IContextViewService } from 'monaco-editor/esm/vs/platform/contextview/browser/contextView.js';
|
|
20
|
-
import { IInstantiationService } from 'monaco-editor/esm/vs/platform/instantiation/common/instantiation.js';
|
|
21
|
-
import { ServiceCollection } from 'monaco-editor/esm/vs/platform/instantiation/common/serviceCollection.js';
|
|
22
|
-
import { ILabelService } from 'monaco-editor/esm/vs/platform/label/common/label.js';
|
|
23
|
-
import { LongRunningOperation, IEditorProgressService } from 'monaco-editor/esm/vs/platform/progress/common/progress.js';
|
|
24
|
-
import { IStorageService } from 'monaco-editor/esm/vs/platform/storage/common/storage.js';
|
|
25
|
-
import { ITelemetryService } from 'monaco-editor/esm/vs/platform/telemetry/common/telemetry.js';
|
|
26
|
-
import { registerColor, inputBorder } from 'monaco-editor/esm/vs/platform/theme/common/colorRegistry.js';
|
|
27
|
-
import { IThemeService } from 'monaco-editor/esm/vs/platform/theme/common/themeService.js';
|
|
28
|
-
import { ThemeIcon } from 'monaco-editor/esm/vs/base/common/themables.js';
|
|
29
|
-
import { IWorkspaceContextService } from 'monaco-editor/esm/vs/platform/workspace/common/workspace.js';
|
|
30
|
-
import { AbstractTextCodeEditor } from '../../../browser/parts/editor/textCodeEditor.js';
|
|
31
|
-
import { IncludePatternInputWidget, ExcludePatternInputWidget } from '../../search/browser/patternInputWidget.js';
|
|
32
|
-
import { SearchWidget } from '../../search/browser/searchWidget.js';
|
|
33
|
-
import { InputBoxFocusedKey } from '../../search/common/constants.js';
|
|
34
|
-
import { QueryBuilder } from '../../../services/search/common/queryBuilder.js';
|
|
35
|
-
import { getOutOfWorkspaceEditorResources } from '../../search/common/search.js';
|
|
36
|
-
import { SearchModel } from '../../search/browser/searchModel.js';
|
|
37
|
-
import { SearchEditorID, InSearchEditor, SearchEditorInputTypeId } from './constants.js';
|
|
38
|
-
import { serializeSearchResultForEditor } from './searchEditorSerialization.js';
|
|
39
|
-
import { IEditorGroupsService } from '../../../services/editor/common/editorGroupsService.js';
|
|
40
|
-
import { IEditorService } from '../../../services/editor/common/editorService.js';
|
|
41
|
-
import { searchDetailsIcon } from '../../search/browser/searchIcons.js';
|
|
42
|
-
import { IFileService } from 'monaco-editor/esm/vs/platform/files/common/files.js';
|
|
43
|
-
import { IOpenerService } from 'monaco-editor/esm/vs/platform/opener/common/opener.js';
|
|
44
|
-
import { INotificationService } from 'monaco-editor/esm/vs/platform/notification/common/notification.js';
|
|
45
|
-
import { renderSearchMessage } from '../../search/browser/searchMessage.js';
|
|
46
|
-
import { EditorExtensionsRegistry } from 'monaco-editor/esm/vs/editor/browser/editorExtensions.js';
|
|
47
|
-
import { UnusualLineTerminatorsDetector } from 'monaco-editor/esm/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.js';
|
|
48
|
-
import { getInputBoxStyle, defaultToggleStyles } from 'monaco-editor/esm/vs/platform/theme/browser/defaultStyles.js';
|
|
49
|
-
import { ILogService } from 'monaco-editor/esm/vs/platform/log/common/log.js';
|
|
50
|
-
var SearchEditor_1;
|
|
51
|
-
const RESULT_LINE_REGEX = /^(\s+)(\d+)(: | )(\s*)(.*)$/;
|
|
52
|
-
const FILE_LINE_REGEX = /^(\S.*):$/;
|
|
53
|
-
let SearchEditor = class SearchEditor extends AbstractTextCodeEditor {
|
|
54
|
-
static { SearchEditor_1 = this; }
|
|
55
|
-
static { this.ID = SearchEditorID; }
|
|
56
|
-
static { this.SEARCH_EDITOR_VIEW_STATE_PREFERENCE_KEY = 'searchEditorViewState'; }
|
|
57
|
-
get searchResultEditor() { return this.editorControl; }
|
|
58
|
-
constructor(telemetryService, themeService, storageService, modelService, contextService, labelService, instantiationService, contextViewService, commandService, openerService, notificationService, progressService, textResourceService, editorGroupService, editorService, configurationService, fileService, logService) {
|
|
59
|
-
super(SearchEditor_1.ID, telemetryService, instantiationService, storageService, textResourceService, themeService, editorService, editorGroupService, fileService);
|
|
60
|
-
this.modelService = modelService;
|
|
61
|
-
this.contextService = contextService;
|
|
62
|
-
this.labelService = labelService;
|
|
63
|
-
this.contextViewService = contextViewService;
|
|
64
|
-
this.commandService = commandService;
|
|
65
|
-
this.openerService = openerService;
|
|
66
|
-
this.notificationService = notificationService;
|
|
67
|
-
this.configurationService = configurationService;
|
|
68
|
-
this.logService = logService;
|
|
69
|
-
this.runSearchDelayer = ( new Delayer(0));
|
|
70
|
-
this.pauseSearching = false;
|
|
71
|
-
this.showingIncludesExcludes = false;
|
|
72
|
-
this.ongoingOperations = 0;
|
|
73
|
-
this.updatingModelForSearch = false;
|
|
74
|
-
this.container = dom.$('.search-editor');
|
|
75
|
-
this.searchOperation = this._register(( new LongRunningOperation(progressService)));
|
|
76
|
-
this._register(this.messageDisposables = ( new DisposableStore()));
|
|
77
|
-
this.searchHistoryDelayer = ( new Delayer(2000));
|
|
78
|
-
this.searchModel = this._register(this.instantiationService.createInstance(SearchModel));
|
|
79
|
-
}
|
|
80
|
-
createEditor(parent) {
|
|
81
|
-
dom.append(parent, this.container);
|
|
82
|
-
this.queryEditorContainer = dom.append(this.container, dom.$('.query-container'));
|
|
83
|
-
const searchResultContainer = dom.append(this.container, dom.$('.search-results'));
|
|
84
|
-
super.createEditor(searchResultContainer);
|
|
85
|
-
this.registerEditorListeners();
|
|
86
|
-
const scopedContextKeyService = assertIsDefined(this.scopedContextKeyService);
|
|
87
|
-
InSearchEditor.bindTo(scopedContextKeyService).set(true);
|
|
88
|
-
this.createQueryEditor(this.queryEditorContainer, this.instantiationService.createChild(( new ServiceCollection([IContextKeyService, scopedContextKeyService]))), InputBoxFocusedKey.bindTo(scopedContextKeyService));
|
|
89
|
-
}
|
|
90
|
-
createQueryEditor(container, scopedInstantiationService, inputBoxFocusedContextKey) {
|
|
91
|
-
const searchEditorInputboxStyles = getInputBoxStyle({ inputBorder: searchEditorTextInputBorder });
|
|
92
|
-
this.queryEditorWidget = this._register(scopedInstantiationService.createInstance(SearchWidget, container, { _hideReplaceToggle: true, showContextToggle: true, inputBoxStyles: searchEditorInputboxStyles, toggleStyles: defaultToggleStyles }));
|
|
93
|
-
this._register(this.queryEditorWidget.onReplaceToggled(() => this.reLayout()));
|
|
94
|
-
this._register(this.queryEditorWidget.onDidHeightChange(() => this.reLayout()));
|
|
95
|
-
this._register(this.queryEditorWidget.onSearchSubmit(({ delay }) => this.triggerSearch({ delay })));
|
|
96
|
-
if (this.queryEditorWidget.searchInput) {
|
|
97
|
-
this._register(this.queryEditorWidget.searchInput.onDidOptionChange(() => this.triggerSearch({ resetCursor: false })));
|
|
98
|
-
}
|
|
99
|
-
else {
|
|
100
|
-
this.logService.warn('SearchEditor: SearchWidget.searchInput is undefined, cannot register onDidOptionChange listener');
|
|
101
|
-
}
|
|
102
|
-
this._register(this.queryEditorWidget.onDidToggleContext(() => this.triggerSearch({ resetCursor: false })));
|
|
103
|
-
this.includesExcludesContainer = dom.append(container, dom.$('.includes-excludes'));
|
|
104
|
-
this.toggleQueryDetailsButton = dom.append(this.includesExcludesContainer, dom.$('.expand' + ThemeIcon.asCSSSelector(searchDetailsIcon), { tabindex: 0, role: 'button', title: ( localize('moreSearch', "Toggle Search Details")) }));
|
|
105
|
-
this._register(dom.addDisposableListener(this.toggleQueryDetailsButton, dom.EventType.CLICK, e => {
|
|
106
|
-
dom.EventHelper.stop(e);
|
|
107
|
-
this.toggleIncludesExcludes();
|
|
108
|
-
}));
|
|
109
|
-
this._register(dom.addDisposableListener(this.toggleQueryDetailsButton, dom.EventType.KEY_UP, (e) => {
|
|
110
|
-
const event = ( new StandardKeyboardEvent(e));
|
|
111
|
-
if (event.equals(3 ) || event.equals(10 )) {
|
|
112
|
-
dom.EventHelper.stop(e);
|
|
113
|
-
this.toggleIncludesExcludes();
|
|
114
|
-
}
|
|
115
|
-
}));
|
|
116
|
-
this._register(dom.addDisposableListener(this.toggleQueryDetailsButton, dom.EventType.KEY_DOWN, (e) => {
|
|
117
|
-
const event = ( new StandardKeyboardEvent(e));
|
|
118
|
-
if (event.equals(1024 | 2 )) {
|
|
119
|
-
if (this.queryEditorWidget.isReplaceActive()) {
|
|
120
|
-
this.queryEditorWidget.focusReplaceAllAction();
|
|
121
|
-
}
|
|
122
|
-
else {
|
|
123
|
-
this.queryEditorWidget.isReplaceShown() ? this.queryEditorWidget.replaceInput?.focusOnPreserve() : this.queryEditorWidget.focusRegexAction();
|
|
124
|
-
}
|
|
125
|
-
dom.EventHelper.stop(e);
|
|
126
|
-
}
|
|
127
|
-
}));
|
|
128
|
-
const folderIncludesList = dom.append(this.includesExcludesContainer, dom.$('.file-types.includes'));
|
|
129
|
-
const filesToIncludeTitle = ( localize('searchScope.includes', "files to include"));
|
|
130
|
-
dom.append(folderIncludesList, dom.$('h4', undefined, filesToIncludeTitle));
|
|
131
|
-
this.inputPatternIncludes = this._register(scopedInstantiationService.createInstance(IncludePatternInputWidget, folderIncludesList, this.contextViewService, {
|
|
132
|
-
ariaLabel: ( localize('label.includes', 'Search Include Patterns')),
|
|
133
|
-
inputBoxStyles: searchEditorInputboxStyles
|
|
134
|
-
}));
|
|
135
|
-
this.inputPatternIncludes.onSubmit(triggeredOnType => this.triggerSearch({ resetCursor: false, delay: triggeredOnType ? this.searchConfig.searchOnTypeDebouncePeriod : 0 }));
|
|
136
|
-
this._register(this.inputPatternIncludes.onChangeSearchInEditorsBox(() => this.triggerSearch()));
|
|
137
|
-
const excludesList = dom.append(this.includesExcludesContainer, dom.$('.file-types.excludes'));
|
|
138
|
-
const excludesTitle = ( localize('searchScope.excludes', "files to exclude"));
|
|
139
|
-
dom.append(excludesList, dom.$('h4', undefined, excludesTitle));
|
|
140
|
-
this.inputPatternExcludes = this._register(scopedInstantiationService.createInstance(ExcludePatternInputWidget, excludesList, this.contextViewService, {
|
|
141
|
-
ariaLabel: ( localize('label.excludes', 'Search Exclude Patterns')),
|
|
142
|
-
inputBoxStyles: searchEditorInputboxStyles
|
|
143
|
-
}));
|
|
144
|
-
this.inputPatternExcludes.onSubmit(triggeredOnType => this.triggerSearch({ resetCursor: false, delay: triggeredOnType ? this.searchConfig.searchOnTypeDebouncePeriod : 0 }));
|
|
145
|
-
this._register(this.inputPatternExcludes.onChangeIgnoreBox(() => this.triggerSearch()));
|
|
146
|
-
this.messageBox = dom.append(container, dom.$('.messages.text-search-provider-messages'));
|
|
147
|
-
[this.queryEditorWidget.searchInputFocusTracker, this.queryEditorWidget.replaceInputFocusTracker, this.inputPatternExcludes.inputFocusTracker, this.inputPatternIncludes.inputFocusTracker]
|
|
148
|
-
.forEach(tracker => {
|
|
149
|
-
if (!tracker) {
|
|
150
|
-
return;
|
|
151
|
-
}
|
|
152
|
-
this._register(tracker.onDidFocus(() => setTimeout(() => inputBoxFocusedContextKey.set(true), 0)));
|
|
153
|
-
this._register(tracker.onDidBlur(() => inputBoxFocusedContextKey.set(false)));
|
|
154
|
-
});
|
|
155
|
-
}
|
|
156
|
-
toggleRunAgainMessage(show) {
|
|
157
|
-
dom.clearNode(this.messageBox);
|
|
158
|
-
this.messageDisposables.clear();
|
|
159
|
-
if (show) {
|
|
160
|
-
const runAgainLink = dom.append(this.messageBox, dom.$('a.pointer.prominent.message', {}, ( localize('runSearch', "Run Search"))));
|
|
161
|
-
this.messageDisposables.add(dom.addDisposableListener(runAgainLink, dom.EventType.CLICK, async () => {
|
|
162
|
-
await this.triggerSearch();
|
|
163
|
-
this.searchResultEditor.focus();
|
|
164
|
-
}));
|
|
165
|
-
}
|
|
166
|
-
}
|
|
167
|
-
_getContributions() {
|
|
168
|
-
const skipContributions = [UnusualLineTerminatorsDetector.ID];
|
|
169
|
-
return EditorExtensionsRegistry.getEditorContributions().filter(c => skipContributions.indexOf(c.id) === -1);
|
|
170
|
-
}
|
|
171
|
-
getCodeEditorWidgetOptions() {
|
|
172
|
-
return { contributions: this._getContributions() };
|
|
173
|
-
}
|
|
174
|
-
registerEditorListeners() {
|
|
175
|
-
this.searchResultEditor.onMouseUp(e => {
|
|
176
|
-
if (e.event.detail === 2) {
|
|
177
|
-
const behaviour = this.searchConfig.searchEditor.doubleClickBehaviour;
|
|
178
|
-
const position = e.target.position;
|
|
179
|
-
if (position && behaviour !== 'selectWord') {
|
|
180
|
-
const line = this.searchResultEditor.getModel()?.getLineContent(position.lineNumber) ?? '';
|
|
181
|
-
if (line.match(RESULT_LINE_REGEX)) {
|
|
182
|
-
this.searchResultEditor.setSelection(Range.fromPositions(position));
|
|
183
|
-
this.commandService.executeCommand(behaviour === 'goToLocation' ? 'editor.action.goToDeclaration' : 'editor.action.openDeclarationToTheSide');
|
|
184
|
-
}
|
|
185
|
-
else if (line.match(FILE_LINE_REGEX)) {
|
|
186
|
-
this.searchResultEditor.setSelection(Range.fromPositions(position));
|
|
187
|
-
this.commandService.executeCommand('editor.action.peekDefinition');
|
|
188
|
-
}
|
|
189
|
-
}
|
|
190
|
-
}
|
|
191
|
-
});
|
|
192
|
-
this._register(this.searchResultEditor.onDidChangeModelContent(() => {
|
|
193
|
-
if (!this.updatingModelForSearch) {
|
|
194
|
-
this.getInput()?.setDirty(true);
|
|
195
|
-
}
|
|
196
|
-
}));
|
|
197
|
-
}
|
|
198
|
-
getControl() {
|
|
199
|
-
return this.searchResultEditor;
|
|
200
|
-
}
|
|
201
|
-
focus() {
|
|
202
|
-
const viewState = this.loadEditorViewState(this.getInput());
|
|
203
|
-
if (viewState && viewState.focused === 'editor') {
|
|
204
|
-
this.searchResultEditor.focus();
|
|
205
|
-
}
|
|
206
|
-
else {
|
|
207
|
-
this.queryEditorWidget.focus();
|
|
208
|
-
}
|
|
209
|
-
}
|
|
210
|
-
focusSearchInput() {
|
|
211
|
-
this.queryEditorWidget.searchInput?.focus();
|
|
212
|
-
}
|
|
213
|
-
focusFilesToIncludeInput() {
|
|
214
|
-
if (!this.showingIncludesExcludes) {
|
|
215
|
-
this.toggleIncludesExcludes(true);
|
|
216
|
-
}
|
|
217
|
-
this.inputPatternIncludes.focus();
|
|
218
|
-
}
|
|
219
|
-
focusFilesToExcludeInput() {
|
|
220
|
-
if (!this.showingIncludesExcludes) {
|
|
221
|
-
this.toggleIncludesExcludes(true);
|
|
222
|
-
}
|
|
223
|
-
this.inputPatternExcludes.focus();
|
|
224
|
-
}
|
|
225
|
-
focusNextInput() {
|
|
226
|
-
if (this.queryEditorWidget.searchInputHasFocus()) {
|
|
227
|
-
if (this.showingIncludesExcludes) {
|
|
228
|
-
this.inputPatternIncludes.focus();
|
|
229
|
-
}
|
|
230
|
-
else {
|
|
231
|
-
this.searchResultEditor.focus();
|
|
232
|
-
}
|
|
233
|
-
}
|
|
234
|
-
else if (this.inputPatternIncludes.inputHasFocus()) {
|
|
235
|
-
this.inputPatternExcludes.focus();
|
|
236
|
-
}
|
|
237
|
-
else if (this.inputPatternExcludes.inputHasFocus()) {
|
|
238
|
-
this.searchResultEditor.focus();
|
|
239
|
-
}
|
|
240
|
-
else if (this.searchResultEditor.hasWidgetFocus()) ;
|
|
241
|
-
}
|
|
242
|
-
focusPrevInput() {
|
|
243
|
-
if (this.queryEditorWidget.searchInputHasFocus()) {
|
|
244
|
-
this.searchResultEditor.focus();
|
|
245
|
-
}
|
|
246
|
-
else if (this.inputPatternIncludes.inputHasFocus()) {
|
|
247
|
-
this.queryEditorWidget.searchInput?.focus();
|
|
248
|
-
}
|
|
249
|
-
else if (this.inputPatternExcludes.inputHasFocus()) {
|
|
250
|
-
this.inputPatternIncludes.focus();
|
|
251
|
-
}
|
|
252
|
-
else if (this.searchResultEditor.hasWidgetFocus()) ;
|
|
253
|
-
}
|
|
254
|
-
setQuery(query) {
|
|
255
|
-
this.queryEditorWidget.searchInput?.setValue(query);
|
|
256
|
-
}
|
|
257
|
-
selectQuery() {
|
|
258
|
-
this.queryEditorWidget.searchInput?.select();
|
|
259
|
-
}
|
|
260
|
-
toggleWholeWords() {
|
|
261
|
-
this.queryEditorWidget.searchInput?.setWholeWords(!this.queryEditorWidget.searchInput.getWholeWords());
|
|
262
|
-
this.triggerSearch({ resetCursor: false });
|
|
263
|
-
}
|
|
264
|
-
toggleRegex() {
|
|
265
|
-
this.queryEditorWidget.searchInput?.setRegex(!this.queryEditorWidget.searchInput.getRegex());
|
|
266
|
-
this.triggerSearch({ resetCursor: false });
|
|
267
|
-
}
|
|
268
|
-
toggleCaseSensitive() {
|
|
269
|
-
this.queryEditorWidget.searchInput?.setCaseSensitive(!this.queryEditorWidget.searchInput.getCaseSensitive());
|
|
270
|
-
this.triggerSearch({ resetCursor: false });
|
|
271
|
-
}
|
|
272
|
-
toggleContextLines() {
|
|
273
|
-
this.queryEditorWidget.toggleContextLines();
|
|
274
|
-
}
|
|
275
|
-
modifyContextLines(increase) {
|
|
276
|
-
this.queryEditorWidget.modifyContextLines(increase);
|
|
277
|
-
}
|
|
278
|
-
toggleQueryDetails(shouldShow) {
|
|
279
|
-
this.toggleIncludesExcludes(shouldShow);
|
|
280
|
-
}
|
|
281
|
-
deleteResultBlock() {
|
|
282
|
-
const linesToDelete = ( new Set());
|
|
283
|
-
const selections = this.searchResultEditor.getSelections();
|
|
284
|
-
const model = this.searchResultEditor.getModel();
|
|
285
|
-
if (!(selections && model)) {
|
|
286
|
-
return;
|
|
287
|
-
}
|
|
288
|
-
const maxLine = model.getLineCount();
|
|
289
|
-
const minLine = 1;
|
|
290
|
-
const deleteUp = (start) => {
|
|
291
|
-
for (let cursor = start; cursor >= minLine; cursor--) {
|
|
292
|
-
const line = model.getLineContent(cursor);
|
|
293
|
-
linesToDelete.add(cursor);
|
|
294
|
-
if (line[0] !== undefined && line[0] !== ' ') {
|
|
295
|
-
break;
|
|
296
|
-
}
|
|
297
|
-
}
|
|
298
|
-
};
|
|
299
|
-
const deleteDown = (start) => {
|
|
300
|
-
linesToDelete.add(start);
|
|
301
|
-
for (let cursor = start + 1; cursor <= maxLine; cursor++) {
|
|
302
|
-
const line = model.getLineContent(cursor);
|
|
303
|
-
if (line[0] !== undefined && line[0] !== ' ') {
|
|
304
|
-
return cursor;
|
|
305
|
-
}
|
|
306
|
-
linesToDelete.add(cursor);
|
|
307
|
-
}
|
|
308
|
-
return;
|
|
309
|
-
};
|
|
310
|
-
const endingCursorLines = [];
|
|
311
|
-
for (const selection of selections) {
|
|
312
|
-
const lineNumber = selection.startLineNumber;
|
|
313
|
-
endingCursorLines.push(deleteDown(lineNumber));
|
|
314
|
-
deleteUp(lineNumber);
|
|
315
|
-
for (let inner = selection.startLineNumber; inner <= selection.endLineNumber; inner++) {
|
|
316
|
-
linesToDelete.add(inner);
|
|
317
|
-
}
|
|
318
|
-
}
|
|
319
|
-
if (endingCursorLines.length === 0) {
|
|
320
|
-
endingCursorLines.push(1);
|
|
321
|
-
}
|
|
322
|
-
const isDefined = (x) => x !== undefined;
|
|
323
|
-
model.pushEditOperations(this.searchResultEditor.getSelections(), ( [...linesToDelete].map(line => ({ range: ( new Range(line, 1, line + 1, 1)), text: '' }))), () => ( endingCursorLines.filter(isDefined).map(line => ( new Selection(line, 1, line, 1)))));
|
|
324
|
-
}
|
|
325
|
-
cleanState() {
|
|
326
|
-
this.getInput()?.setDirty(false);
|
|
327
|
-
}
|
|
328
|
-
get searchConfig() {
|
|
329
|
-
return this.configurationService.getValue('search');
|
|
330
|
-
}
|
|
331
|
-
iterateThroughMatches(reverse) {
|
|
332
|
-
const model = this.searchResultEditor.getModel();
|
|
333
|
-
if (!model) {
|
|
334
|
-
return;
|
|
335
|
-
}
|
|
336
|
-
const lastLine = model.getLineCount() ?? 1;
|
|
337
|
-
const lastColumn = model.getLineLength(lastLine);
|
|
338
|
-
const fallbackStart = reverse ? ( new Position(lastLine, lastColumn)) : ( new Position(1, 1));
|
|
339
|
-
const currentPosition = this.searchResultEditor.getSelection()?.getStartPosition() ?? fallbackStart;
|
|
340
|
-
const matchRanges = this.getInput()?.getMatchRanges();
|
|
341
|
-
if (!matchRanges) {
|
|
342
|
-
return;
|
|
343
|
-
}
|
|
344
|
-
const matchRange = (reverse ? findPrevRange : findNextRange)(matchRanges, currentPosition);
|
|
345
|
-
this.searchResultEditor.setSelection(matchRange);
|
|
346
|
-
this.searchResultEditor.revealLineInCenterIfOutsideViewport(matchRange.startLineNumber);
|
|
347
|
-
this.searchResultEditor.focus();
|
|
348
|
-
const matchLineText = model.getLineContent(matchRange.startLineNumber);
|
|
349
|
-
const matchText = model.getValueInRange(matchRange);
|
|
350
|
-
let file = '';
|
|
351
|
-
for (let line = matchRange.startLineNumber; line >= 1; line--) {
|
|
352
|
-
const lineText = model.getValueInRange(( new Range(line, 1, line, 2)));
|
|
353
|
-
if (lineText !== ' ') {
|
|
354
|
-
file = model.getLineContent(line);
|
|
355
|
-
break;
|
|
356
|
-
}
|
|
357
|
-
}
|
|
358
|
-
alert(( localize(
|
|
359
|
-
'searchResultItem',
|
|
360
|
-
"Matched {0} at {1} in file {2}",
|
|
361
|
-
matchText,
|
|
362
|
-
matchLineText,
|
|
363
|
-
file.slice(0, file.length - 1)
|
|
364
|
-
)));
|
|
365
|
-
}
|
|
366
|
-
focusNextResult() {
|
|
367
|
-
this.iterateThroughMatches(false);
|
|
368
|
-
}
|
|
369
|
-
focusPreviousResult() {
|
|
370
|
-
this.iterateThroughMatches(true);
|
|
371
|
-
}
|
|
372
|
-
focusAllResults() {
|
|
373
|
-
this.searchResultEditor
|
|
374
|
-
.setSelections(( (this.getInput()?.getMatchRanges() ?? []).map(range => ( new Selection(
|
|
375
|
-
range.startLineNumber,
|
|
376
|
-
range.startColumn,
|
|
377
|
-
range.endLineNumber,
|
|
378
|
-
range.endColumn
|
|
379
|
-
)))));
|
|
380
|
-
this.searchResultEditor.focus();
|
|
381
|
-
}
|
|
382
|
-
async triggerSearch(_options) {
|
|
383
|
-
const options = { resetCursor: true, delay: 0, ..._options };
|
|
384
|
-
if (!this.pauseSearching) {
|
|
385
|
-
await this.runSearchDelayer.trigger(async () => {
|
|
386
|
-
this.toggleRunAgainMessage(false);
|
|
387
|
-
await this.doRunSearch();
|
|
388
|
-
if (options.resetCursor) {
|
|
389
|
-
this.searchResultEditor.setPosition(( new Position(1, 1)));
|
|
390
|
-
this.searchResultEditor.setScrollPosition({ scrollTop: 0, scrollLeft: 0 });
|
|
391
|
-
}
|
|
392
|
-
if (options.focusResults) {
|
|
393
|
-
this.searchResultEditor.focus();
|
|
394
|
-
}
|
|
395
|
-
}, options.delay);
|
|
396
|
-
}
|
|
397
|
-
}
|
|
398
|
-
readConfigFromWidget() {
|
|
399
|
-
return {
|
|
400
|
-
isCaseSensitive: this.queryEditorWidget.searchInput?.getCaseSensitive() ?? false,
|
|
401
|
-
contextLines: this.queryEditorWidget.getContextLines(),
|
|
402
|
-
filesToExclude: this.inputPatternExcludes.getValue(),
|
|
403
|
-
filesToInclude: this.inputPatternIncludes.getValue(),
|
|
404
|
-
query: this.queryEditorWidget.searchInput?.getValue() ?? '',
|
|
405
|
-
isRegexp: this.queryEditorWidget.searchInput?.getRegex() ?? false,
|
|
406
|
-
matchWholeWord: this.queryEditorWidget.searchInput?.getWholeWords() ?? false,
|
|
407
|
-
useExcludeSettingsAndIgnoreFiles: this.inputPatternExcludes.useExcludesAndIgnoreFiles(),
|
|
408
|
-
onlyOpenEditors: this.inputPatternIncludes.onlySearchInOpenEditors(),
|
|
409
|
-
showIncludesExcludes: this.showingIncludesExcludes,
|
|
410
|
-
notebookSearchConfig: {
|
|
411
|
-
includeMarkupInput: this.queryEditorWidget.getNotebookFilters().markupInput,
|
|
412
|
-
includeMarkupPreview: this.queryEditorWidget.getNotebookFilters().markupPreview,
|
|
413
|
-
includeCodeInput: this.queryEditorWidget.getNotebookFilters().codeInput,
|
|
414
|
-
includeOutput: this.queryEditorWidget.getNotebookFilters().codeOutput,
|
|
415
|
-
}
|
|
416
|
-
};
|
|
417
|
-
}
|
|
418
|
-
async doRunSearch() {
|
|
419
|
-
this.searchModel.cancelSearch(true);
|
|
420
|
-
const startInput = this.getInput();
|
|
421
|
-
if (!startInput) {
|
|
422
|
-
return;
|
|
423
|
-
}
|
|
424
|
-
this.searchHistoryDelayer.trigger(() => {
|
|
425
|
-
this.queryEditorWidget.searchInput?.onSearchSubmit();
|
|
426
|
-
this.inputPatternExcludes.onSearchSubmit();
|
|
427
|
-
this.inputPatternIncludes.onSearchSubmit();
|
|
428
|
-
});
|
|
429
|
-
const config = this.readConfigFromWidget();
|
|
430
|
-
if (!config.query) {
|
|
431
|
-
return;
|
|
432
|
-
}
|
|
433
|
-
const content = {
|
|
434
|
-
pattern: config.query,
|
|
435
|
-
isRegExp: config.isRegexp,
|
|
436
|
-
isCaseSensitive: config.isCaseSensitive,
|
|
437
|
-
isWordMatch: config.matchWholeWord,
|
|
438
|
-
};
|
|
439
|
-
const options = {
|
|
440
|
-
_reason: 'searchEditor',
|
|
441
|
-
extraFileResources: this.instantiationService.invokeFunction(getOutOfWorkspaceEditorResources),
|
|
442
|
-
maxResults: this.searchConfig.maxResults ?? undefined,
|
|
443
|
-
disregardIgnoreFiles: !config.useExcludeSettingsAndIgnoreFiles || undefined,
|
|
444
|
-
disregardExcludeSettings: !config.useExcludeSettingsAndIgnoreFiles || undefined,
|
|
445
|
-
excludePattern: config.filesToExclude,
|
|
446
|
-
includePattern: config.filesToInclude,
|
|
447
|
-
onlyOpenEditors: config.onlyOpenEditors,
|
|
448
|
-
previewOptions: {
|
|
449
|
-
matchLines: 1,
|
|
450
|
-
charsPerLine: 1000
|
|
451
|
-
},
|
|
452
|
-
afterContext: config.contextLines,
|
|
453
|
-
beforeContext: config.contextLines,
|
|
454
|
-
isSmartCase: this.searchConfig.smartCase,
|
|
455
|
-
expandPatterns: true,
|
|
456
|
-
notebookSearchConfig: {
|
|
457
|
-
includeMarkupInput: config.notebookSearchConfig.includeMarkupInput,
|
|
458
|
-
includeMarkupPreview: config.notebookSearchConfig.includeMarkupPreview,
|
|
459
|
-
includeCodeInput: config.notebookSearchConfig.includeCodeInput,
|
|
460
|
-
includeOutput: config.notebookSearchConfig.includeOutput,
|
|
461
|
-
}
|
|
462
|
-
};
|
|
463
|
-
const folderResources = this.contextService.getWorkspace().folders;
|
|
464
|
-
let query;
|
|
465
|
-
try {
|
|
466
|
-
const queryBuilder = this.instantiationService.createInstance(QueryBuilder);
|
|
467
|
-
query = queryBuilder.text(content, ( folderResources.map(folder => folder.uri)), options);
|
|
468
|
-
}
|
|
469
|
-
catch (err) {
|
|
470
|
-
return;
|
|
471
|
-
}
|
|
472
|
-
this.searchOperation.start(500);
|
|
473
|
-
this.ongoingOperations++;
|
|
474
|
-
const { configurationModel } = await startInput.resolveModels();
|
|
475
|
-
configurationModel.updateConfig(config);
|
|
476
|
-
const result = this.searchModel.search(query);
|
|
477
|
-
startInput.ongoingSearchOperation = result.asyncResults.finally(() => {
|
|
478
|
-
this.ongoingOperations--;
|
|
479
|
-
if (this.ongoingOperations === 0) {
|
|
480
|
-
this.searchOperation.stop();
|
|
481
|
-
}
|
|
482
|
-
});
|
|
483
|
-
const searchOperation = await startInput.ongoingSearchOperation;
|
|
484
|
-
await this.onSearchComplete(searchOperation, config, startInput);
|
|
485
|
-
}
|
|
486
|
-
async onSearchComplete(searchOperation, startConfig, startInput) {
|
|
487
|
-
const input = this.getInput();
|
|
488
|
-
if (!input ||
|
|
489
|
-
input !== startInput ||
|
|
490
|
-
JSON.stringify(startConfig) !== JSON.stringify(this.readConfigFromWidget())) {
|
|
491
|
-
return;
|
|
492
|
-
}
|
|
493
|
-
input.ongoingSearchOperation = undefined;
|
|
494
|
-
const sortOrder = this.searchConfig.sortOrder;
|
|
495
|
-
if (sortOrder === "modified" ) {
|
|
496
|
-
await this.retrieveFileStats(this.searchModel.searchResult);
|
|
497
|
-
}
|
|
498
|
-
const controller = ReferencesController.get(this.searchResultEditor);
|
|
499
|
-
controller?.closeWidget(false);
|
|
500
|
-
const labelFormatter = (uri) => this.labelService.getUriLabel(uri, { relative: true });
|
|
501
|
-
const results = serializeSearchResultForEditor(this.searchModel.searchResult, startConfig.filesToInclude, startConfig.filesToExclude, startConfig.contextLines, labelFormatter, sortOrder, searchOperation?.limitHit);
|
|
502
|
-
const { resultsModel } = await input.resolveModels();
|
|
503
|
-
this.updatingModelForSearch = true;
|
|
504
|
-
this.modelService.updateModel(resultsModel, results.text);
|
|
505
|
-
this.updatingModelForSearch = false;
|
|
506
|
-
if (searchOperation && searchOperation.messages) {
|
|
507
|
-
for (const message of searchOperation.messages) {
|
|
508
|
-
this.addMessage(message);
|
|
509
|
-
}
|
|
510
|
-
}
|
|
511
|
-
this.reLayout();
|
|
512
|
-
input.setDirty(!input.hasCapability(4 ));
|
|
513
|
-
input.setMatchRanges(results.matchRanges);
|
|
514
|
-
}
|
|
515
|
-
addMessage(message) {
|
|
516
|
-
let messageBox;
|
|
517
|
-
if (this.messageBox.firstChild) {
|
|
518
|
-
messageBox = this.messageBox.firstChild;
|
|
519
|
-
}
|
|
520
|
-
else {
|
|
521
|
-
messageBox = dom.append(this.messageBox, dom.$('.message'));
|
|
522
|
-
}
|
|
523
|
-
dom.append(messageBox, renderSearchMessage(message, this.instantiationService, this.notificationService, this.openerService, this.commandService, this.messageDisposables, () => this.triggerSearch()));
|
|
524
|
-
}
|
|
525
|
-
async retrieveFileStats(searchResult) {
|
|
526
|
-
const files = ( searchResult.matches().filter(f => !f.fileStat).map(f => f.resolveFileStat(this.fileService)));
|
|
527
|
-
await Promise.all(files);
|
|
528
|
-
}
|
|
529
|
-
layout(dimension) {
|
|
530
|
-
this.dimension = dimension;
|
|
531
|
-
this.reLayout();
|
|
532
|
-
}
|
|
533
|
-
getSelected() {
|
|
534
|
-
const selection = this.searchResultEditor.getSelection();
|
|
535
|
-
if (selection) {
|
|
536
|
-
return this.searchResultEditor.getModel()?.getValueInRange(selection) ?? '';
|
|
537
|
-
}
|
|
538
|
-
return '';
|
|
539
|
-
}
|
|
540
|
-
reLayout() {
|
|
541
|
-
if (this.dimension) {
|
|
542
|
-
this.queryEditorWidget.setWidth(this.dimension.width - 28 );
|
|
543
|
-
this.searchResultEditor.layout({ height: this.dimension.height - dom.getTotalHeight(this.queryEditorContainer), width: this.dimension.width });
|
|
544
|
-
this.inputPatternExcludes.setWidth(this.dimension.width - 28 );
|
|
545
|
-
this.inputPatternIncludes.setWidth(this.dimension.width - 28 );
|
|
546
|
-
}
|
|
547
|
-
}
|
|
548
|
-
getInput() {
|
|
549
|
-
return this._input;
|
|
550
|
-
}
|
|
551
|
-
setSearchConfig(config) {
|
|
552
|
-
this.priorConfig = config;
|
|
553
|
-
if (config.query !== undefined) {
|
|
554
|
-
this.queryEditorWidget.setValue(config.query);
|
|
555
|
-
}
|
|
556
|
-
if (config.isCaseSensitive !== undefined) {
|
|
557
|
-
this.queryEditorWidget.searchInput?.setCaseSensitive(config.isCaseSensitive);
|
|
558
|
-
}
|
|
559
|
-
if (config.isRegexp !== undefined) {
|
|
560
|
-
this.queryEditorWidget.searchInput?.setRegex(config.isRegexp);
|
|
561
|
-
}
|
|
562
|
-
if (config.matchWholeWord !== undefined) {
|
|
563
|
-
this.queryEditorWidget.searchInput?.setWholeWords(config.matchWholeWord);
|
|
564
|
-
}
|
|
565
|
-
if (config.contextLines !== undefined) {
|
|
566
|
-
this.queryEditorWidget.setContextLines(config.contextLines);
|
|
567
|
-
}
|
|
568
|
-
if (config.filesToExclude !== undefined) {
|
|
569
|
-
this.inputPatternExcludes.setValue(config.filesToExclude);
|
|
570
|
-
}
|
|
571
|
-
if (config.filesToInclude !== undefined) {
|
|
572
|
-
this.inputPatternIncludes.setValue(config.filesToInclude);
|
|
573
|
-
}
|
|
574
|
-
if (config.onlyOpenEditors !== undefined) {
|
|
575
|
-
this.inputPatternIncludes.setOnlySearchInOpenEditors(config.onlyOpenEditors);
|
|
576
|
-
}
|
|
577
|
-
if (config.useExcludeSettingsAndIgnoreFiles !== undefined) {
|
|
578
|
-
this.inputPatternExcludes.setUseExcludesAndIgnoreFiles(config.useExcludeSettingsAndIgnoreFiles);
|
|
579
|
-
}
|
|
580
|
-
if (config.showIncludesExcludes !== undefined) {
|
|
581
|
-
this.toggleIncludesExcludes(config.showIncludesExcludes);
|
|
582
|
-
}
|
|
583
|
-
}
|
|
584
|
-
async setInput(newInput, options, context, token) {
|
|
585
|
-
await super.setInput(newInput, options, context, token);
|
|
586
|
-
if (token.isCancellationRequested) {
|
|
587
|
-
return;
|
|
588
|
-
}
|
|
589
|
-
const { configurationModel, resultsModel } = await newInput.resolveModels();
|
|
590
|
-
if (token.isCancellationRequested) {
|
|
591
|
-
return;
|
|
592
|
-
}
|
|
593
|
-
this.searchResultEditor.setModel(resultsModel);
|
|
594
|
-
this.pauseSearching = true;
|
|
595
|
-
this.toggleRunAgainMessage(!newInput.ongoingSearchOperation && resultsModel.getLineCount() === 1 && resultsModel.getValue() === '' && configurationModel.config.query !== '');
|
|
596
|
-
this.setSearchConfig(configurationModel.config);
|
|
597
|
-
this._register(configurationModel.onConfigDidUpdate(newConfig => {
|
|
598
|
-
if (newConfig !== this.priorConfig) {
|
|
599
|
-
this.pauseSearching = true;
|
|
600
|
-
this.setSearchConfig(newConfig);
|
|
601
|
-
this.pauseSearching = false;
|
|
602
|
-
}
|
|
603
|
-
}));
|
|
604
|
-
this.restoreViewState(context);
|
|
605
|
-
if (!options?.preserveFocus) {
|
|
606
|
-
this.focus();
|
|
607
|
-
}
|
|
608
|
-
this.pauseSearching = false;
|
|
609
|
-
if (newInput.ongoingSearchOperation) {
|
|
610
|
-
const existingConfig = this.readConfigFromWidget();
|
|
611
|
-
newInput.ongoingSearchOperation.then(complete => {
|
|
612
|
-
this.onSearchComplete(complete, existingConfig, newInput);
|
|
613
|
-
});
|
|
614
|
-
}
|
|
615
|
-
}
|
|
616
|
-
toggleIncludesExcludes(_shouldShow) {
|
|
617
|
-
const cls = 'expanded';
|
|
618
|
-
const shouldShow = _shouldShow ?? !this.includesExcludesContainer.classList.contains(cls);
|
|
619
|
-
if (shouldShow) {
|
|
620
|
-
this.toggleQueryDetailsButton.setAttribute('aria-expanded', 'true');
|
|
621
|
-
this.includesExcludesContainer.classList.add(cls);
|
|
622
|
-
}
|
|
623
|
-
else {
|
|
624
|
-
this.toggleQueryDetailsButton.setAttribute('aria-expanded', 'false');
|
|
625
|
-
this.includesExcludesContainer.classList.remove(cls);
|
|
626
|
-
}
|
|
627
|
-
this.showingIncludesExcludes = this.includesExcludesContainer.classList.contains(cls);
|
|
628
|
-
this.reLayout();
|
|
629
|
-
}
|
|
630
|
-
toEditorViewStateResource(input) {
|
|
631
|
-
if (input.typeId === SearchEditorInputTypeId) {
|
|
632
|
-
return input.modelUri;
|
|
633
|
-
}
|
|
634
|
-
return undefined;
|
|
635
|
-
}
|
|
636
|
-
computeEditorViewState(resource) {
|
|
637
|
-
const control = this.getControl();
|
|
638
|
-
const editorViewState = control.saveViewState();
|
|
639
|
-
if (!editorViewState) {
|
|
640
|
-
return undefined;
|
|
641
|
-
}
|
|
642
|
-
if (( resource.toString()) !== this.getInput()?.modelUri.toString()) {
|
|
643
|
-
return undefined;
|
|
644
|
-
}
|
|
645
|
-
return { ...editorViewState, focused: this.searchResultEditor.hasWidgetFocus() ? 'editor' : 'input' };
|
|
646
|
-
}
|
|
647
|
-
tracksEditorViewState(input) {
|
|
648
|
-
return input.typeId === SearchEditorInputTypeId;
|
|
649
|
-
}
|
|
650
|
-
restoreViewState(context) {
|
|
651
|
-
const viewState = this.loadEditorViewState(this.getInput(), context);
|
|
652
|
-
if (viewState) {
|
|
653
|
-
this.searchResultEditor.restoreViewState(viewState);
|
|
654
|
-
}
|
|
655
|
-
}
|
|
656
|
-
getAriaLabel() {
|
|
657
|
-
return this.getInput()?.getName() ?? ( localize('searchEditor', "Search"));
|
|
658
|
-
}
|
|
659
|
-
};
|
|
660
|
-
SearchEditor = SearchEditor_1 = ( __decorate([
|
|
661
|
-
( __param(0, ITelemetryService)),
|
|
662
|
-
( __param(1, IThemeService)),
|
|
663
|
-
( __param(2, IStorageService)),
|
|
664
|
-
( __param(3, IModelService)),
|
|
665
|
-
( __param(4, IWorkspaceContextService)),
|
|
666
|
-
( __param(5, ILabelService)),
|
|
667
|
-
( __param(6, IInstantiationService)),
|
|
668
|
-
( __param(7, IContextViewService)),
|
|
669
|
-
( __param(8, ICommandService)),
|
|
670
|
-
( __param(9, IOpenerService)),
|
|
671
|
-
( __param(10, INotificationService)),
|
|
672
|
-
( __param(11, IEditorProgressService)),
|
|
673
|
-
( __param(12, ITextResourceConfigurationService)),
|
|
674
|
-
( __param(13, IEditorGroupsService)),
|
|
675
|
-
( __param(14, IEditorService)),
|
|
676
|
-
( __param(15, IConfigurationService)),
|
|
677
|
-
( __param(16, IFileService)),
|
|
678
|
-
( __param(17, ILogService))
|
|
679
|
-
], SearchEditor));
|
|
680
|
-
const searchEditorTextInputBorder = registerColor('searchEditor.textInputBorder', { dark: inputBorder, light: inputBorder, hcDark: inputBorder, hcLight: inputBorder }, ( localize('textInputBoxBorder', "Search editor text input box border.")));
|
|
681
|
-
function findNextRange(matchRanges, currentPosition) {
|
|
682
|
-
for (const matchRange of matchRanges) {
|
|
683
|
-
if (Position.isBefore(currentPosition, matchRange.getStartPosition())) {
|
|
684
|
-
return matchRange;
|
|
685
|
-
}
|
|
686
|
-
}
|
|
687
|
-
return matchRanges[0];
|
|
688
|
-
}
|
|
689
|
-
function findPrevRange(matchRanges, currentPosition) {
|
|
690
|
-
for (let i = matchRanges.length - 1; i >= 0; i--) {
|
|
691
|
-
const matchRange = matchRanges[i];
|
|
692
|
-
if (Position.isBefore(matchRange.getStartPosition(), currentPosition)) {
|
|
693
|
-
{
|
|
694
|
-
return matchRange;
|
|
695
|
-
}
|
|
696
|
-
}
|
|
697
|
-
}
|
|
698
|
-
return matchRanges[matchRanges.length - 1];
|
|
699
|
-
}
|
|
700
|
-
export { SearchEditor };
|