@codingame/monaco-vscode-api 1.82.4 → 1.82.5-next.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/extensions.d.ts +3 -3
- package/external/xterm/typings/xterm.d.ts +1729 -0
- package/external/xterm-addon-canvas/typings/xterm-addon-canvas.d.ts +38 -0
- package/external/xterm-addon-image/typings/xterm-addon-image.d.ts +115 -0
- package/external/xterm-addon-search/typings/xterm-addon-search.d.ts +141 -0
- package/external/xterm-addon-serialize/typings/xterm-addon-serialize.d.ts +83 -0
- package/external/xterm-addon-unicode11/typings/xterm-addon-unicode11.d.ts +9 -0
- package/external/xterm-addon-webgl/typings/xterm-addon-webgl.d.ts +43 -0
- package/external/xterm-headless/typings/xterm-headless.d.ts +49 -0
- package/missing-services.js +0 -1
- package/monaco-editor-treemending.patch +1026 -1026
- package/package.json +21 -1
- package/service-override/bulkEdit.js +0 -1
- package/service-override/environment.js +0 -1
- package/service-override/extensions.js +1 -1
- package/service-override/files.js +0 -1
- package/service-override/keybindings.js +1 -6
- package/service-override/layout.js +0 -1
- package/service-override/output.js +0 -1
- package/service-override/quickaccess.js +0 -1
- package/services.js +10 -0
- package/vscode/src/vs/platform/terminal/common/capabilities/commandDetectionCapability.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/xtermTerminal.d.ts +7 -7
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm-private.d.ts +1 -1
- package/README.md +0 -392
- package/override/vs/workbench/contrib/notebook/browser/notebookEditor.js +0 -2
- package/service-override/accessibility.d.ts +0 -5
- package/service-override/accessibility.js +0 -11
- package/service-override/audioCue.d.ts +0 -5
- package/service-override/audioCue.js +0 -13
- package/service-override/bulkEdit.d.ts +0 -5
- package/service-override/configuration.d.ts +0 -17
- package/service-override/configuration.js +0 -117
- package/service-override/debug.d.ts +0 -5
- package/service-override/debug.js +0 -23
- package/service-override/dialogs.d.ts +0 -5
- package/service-override/dialogs.js +0 -57
- package/service-override/editor.d.ts +0 -10
- package/service-override/editor.js +0 -37
- package/service-override/environment.d.ts +0 -6
- package/service-override/extensions.d.ts +0 -50
- package/service-override/files.d.ts +0 -103
- package/service-override/keybindings.d.ts +0 -10
- package/service-override/languageDetectionWorker.d.ts +0 -5
- package/service-override/languageDetectionWorker.js +0 -15
- package/service-override/languages.d.ts +0 -11
- package/service-override/languages.js +0 -27
- package/service-override/layout.d.ts +0 -71
- package/service-override/lifecycle.d.ts +0 -5
- package/service-override/lifecycle.js +0 -10
- package/service-override/markers.d.ts +0 -5
- package/service-override/markers.js +0 -6
- package/service-override/model.d.ts +0 -5
- package/service-override/model.js +0 -10
- package/service-override/notifications.d.ts +0 -5
- package/service-override/notifications.js +0 -34
- package/service-override/output.d.ts +0 -6
- package/service-override/preferences.d.ts +0 -5
- package/service-override/preferences.js +0 -16
- package/service-override/quickaccess.d.ts +0 -10
- package/service-override/remoteAgent.d.ts +0 -6
- package/service-override/remoteAgent.js +0 -42
- package/service-override/search.d.ts +0 -5
- package/service-override/search.js +0 -19
- package/service-override/snippets.d.ts +0 -9
- package/service-override/snippets.js +0 -21
- package/service-override/storage.d.ts +0 -40
- package/service-override/storage.js +0 -116
- package/service-override/terminal.d.ts +0 -69
- package/service-override/terminal.js +0 -117
- package/service-override/textmate.d.ts +0 -6
- package/service-override/textmate.js +0 -41
- package/service-override/theme.d.ts +0 -7
- package/service-override/theme.js +0 -26
- package/service-override/viewBanner.d.ts +0 -6
- package/service-override/viewBanner.js +0 -10
- package/service-override/viewStatusBar.d.ts +0 -6
- package/service-override/viewStatusBar.js +0 -10
- package/service-override/viewTitleBar.d.ts +0 -6
- package/service-override/viewTitleBar.js +0 -10
- package/service-override/views.d.ts +0 -74
- package/service-override/views.js +0 -511
- package/service-override/workspaceTrust.d.ts +0 -5
- package/service-override/workspaceTrust.js +0 -13
- package/vscode/src/vs/base/browser/broadcast.js +0 -52
- package/vscode/src/vs/base/browser/indexedDB.d.ts +0 -17
- package/vscode/src/vs/base/browser/ui/centered/centeredViewLayout.js +0 -178
- package/vscode/src/vs/base/browser/ui/grid/grid.js +0 -465
- package/vscode/src/vs/base/browser/ui/grid/gridview.css.js +0 -4
- package/vscode/src/vs/base/browser/ui/grid/gridview.js +0 -977
- package/vscode/src/vs/base/browser/ui/toolbar/toolbar.d.ts +0 -60
- package/vscode/src/vs/base/browser/ui/tree/treeDefaults.js +0 -14
- package/vscode/src/vs/base/common/codicons.d.ts +0 -556
- package/vscode/src/vs/base/common/processes.js +0 -24
- package/vscode/src/vs/editor/common/services/languageFeaturesService.js +0 -42
- package/vscode/src/vs/editor/common/services/modelUndoRedoParticipant.js +0 -56
- package/vscode/src/vs/editor/common/services/textResourceConfigurationService.js +0 -116
- package/vscode/src/vs/platform/actions/browser/toolbar.d.ts +0 -67
- package/vscode/src/vs/platform/audioCues/browser/media/all.mp3.js +0 -20
- package/vscode/src/vs/platform/configuration/common/configurationRegistry.js +0 -10
- package/vscode/src/vs/platform/download/common/downloadIpc.js +0 -16
- package/vscode/src/vs/platform/files/browser/htmlFileSystemProvider.d.ts +0 -43
- package/vscode/src/vs/platform/files/common/diskFileSystemProviderClient.js +0 -136
- package/vscode/src/vs/platform/files/common/inMemoryFilesystemProvider.d.ts +0 -50
- package/vscode/src/vs/platform/log/common/logIpc.js +0 -24
- package/vscode/src/vs/platform/quickinput/browser/quickPickPin.js +0 -94
- package/vscode/src/vs/platform/remote/browser/browserSocketFactory.js +0 -193
- package/vscode/src/vs/platform/remote/browser/remoteAuthorityResolverService.js +0 -107
- package/vscode/src/vs/platform/terminal/common/capabilities/bufferMarkCapability.js +0 -41
- package/vscode/src/vs/platform/terminal/common/capabilities/commandDetectionCapability.js +0 -566
- package/vscode/src/vs/platform/terminal/common/capabilities/cwdDetectionCapability.js +0 -29
- package/vscode/src/vs/platform/terminal/common/capabilities/naiveCwdDetectionCapability.js +0 -22
- package/vscode/src/vs/platform/terminal/common/capabilities/partialCommandDetectionCapability.js +0 -46
- package/vscode/src/vs/platform/terminal/common/capabilities/terminalCapabilityStore.js +0 -94
- package/vscode/src/vs/platform/terminal/common/environmentVariable.js +0 -7
- package/vscode/src/vs/platform/terminal/common/environmentVariableCollection.js +0 -196
- package/vscode/src/vs/platform/terminal/common/terminalEnvironment.js +0 -37
- package/vscode/src/vs/platform/terminal/common/terminalLogService.js +0 -42
- package/vscode/src/vs/platform/terminal/common/terminalPlatformConfiguration.js +0 -467
- package/vscode/src/vs/platform/terminal/common/terminalProfiles.js +0 -107
- package/vscode/src/vs/platform/terminal/common/terminalRecorder.js +0 -66
- package/vscode/src/vs/platform/terminal/common/terminalStrings.js +0 -16
- package/vscode/src/vs/platform/terminal/common/xterm/shellIntegrationAddon.js +0 -319
- package/vscode/src/vs/platform/userDataSync/common/settingsMerge.js +0 -40
- package/vscode/src/vs/platform/webview/common/mimeTypes.js +0 -22
- package/vscode/src/vs/platform/webview/common/webviewPortMapping.js +0 -62
- package/vscode/src/vs/workbench/api/browser/viewsExtensionPoint.js +0 -699
- package/vscode/src/vs/workbench/api/common/configurationExtensionPoint.js +0 -450
- package/vscode/src/vs/workbench/api/common/extHost.api.impl.d.ts +0 -14
- package/vscode/src/vs/workbench/api/common/extHost.protocol.d.ts +0 -236
- package/vscode/src/vs/workbench/api/common/extHostConfiguration.d.ts +0 -43
- package/vscode/src/vs/workbench/api/common/extHostExtensionActivator.d.ts +0 -33
- package/vscode/src/vs/workbench/api/common/extHostExtensionService.d.ts +0 -138
- package/vscode/src/vs/workbench/api/common/extHostFileSystemInfo.d.ts +0 -21
- package/vscode/src/vs/workbench/api/common/extHostInitDataService.d.ts +0 -9
- package/vscode/src/vs/workbench/api/common/extHostLocalizationService.d.ts +0 -29
- package/vscode/src/vs/workbench/api/common/extHostManagedSockets.d.ts +0 -11
- package/vscode/src/vs/workbench/api/common/extHostRpcService.d.ts +0 -9
- package/vscode/src/vs/workbench/api/common/extHostStoragePaths.d.ts +0 -14
- package/vscode/src/vs/workbench/api/common/extHostTerminalService.d.ts +0 -53
- package/vscode/src/vs/workbench/api/common/extHostTunnelService.d.ts +0 -19
- package/vscode/src/vs/workbench/api/common/extHostTypes.d.ts +0 -12
- package/vscode/src/vs/workbench/api/common/extHostUriTransformerService.d.ts +0 -9
- package/vscode/src/vs/workbench/api/common/extHostWorkspace.d.ts +0 -91
- package/vscode/src/vs/workbench/api/worker/extHostExtensionService.d.ts +0 -21
- package/vscode/src/vs/workbench/browser/actions/listCommands.js +0 -605
- package/vscode/src/vs/workbench/browser/parts/activitybar/activitybarActions.js +0 -597
- package/vscode/src/vs/workbench/browser/parts/activitybar/activitybarPart.d.ts +0 -116
- package/vscode/src/vs/workbench/browser/parts/activitybar/activitybarPart.js +0 -783
- package/vscode/src/vs/workbench/browser/parts/activitybar/media/activityaction.css.js +0 -4
- package/vscode/src/vs/workbench/browser/parts/activitybar/media/activitybarpart.css.js +0 -4
- package/vscode/src/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarPart.js +0 -88
- package/vscode/src/vs/workbench/browser/parts/auxiliarybar/media/auxiliaryBarPart.css.js +0 -4
- package/vscode/src/vs/workbench/browser/parts/banner/bannerPart.js +0 -228
- package/vscode/src/vs/workbench/browser/parts/banner/media/bannerpart.css.js +0 -4
- package/vscode/src/vs/workbench/browser/parts/compositeBar.js +0 -691
- package/vscode/src/vs/workbench/browser/parts/compositeBarActions.d.ts +0 -7
- package/vscode/src/vs/workbench/browser/parts/compositePart.d.ts +0 -84
- package/vscode/src/vs/workbench/browser/parts/compositePart.js +0 -318
- package/vscode/src/vs/workbench/browser/parts/dialogs/dialog.web.contribution.js +0 -69
- package/vscode/src/vs/workbench/browser/parts/dialogs/dialogHandler.js +0 -127
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsControl.js +0 -692
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsModel.js +0 -141
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsPicker.js +0 -414
- package/vscode/src/vs/workbench/browser/parts/editor/editorDropTarget.js +0 -507
- package/vscode/src/vs/workbench/browser/parts/editor/editorGroupView.js +0 -1233
- package/vscode/src/vs/workbench/browser/parts/editor/editorGroupWatermark.js +0 -133
- package/vscode/src/vs/workbench/browser/parts/editor/editorPanes.js +0 -306
- package/vscode/src/vs/workbench/browser/parts/editor/editorPart.js +0 -850
- package/vscode/src/vs/workbench/browser/parts/editor/media/breadcrumbscontrol.css.js +0 -4
- package/vscode/src/vs/workbench/browser/parts/editor/media/editordroptarget.css.js +0 -4
- package/vscode/src/vs/workbench/browser/parts/editor/media/editorgroupview.css.js +0 -4
- package/vscode/src/vs/workbench/browser/parts/editor/media/notabstitlecontrol.css.js +0 -4
- package/vscode/src/vs/workbench/browser/parts/editor/media/tabstitlecontrol.css.js +0 -4
- package/vscode/src/vs/workbench/browser/parts/editor/media/titlecontrol.css.js +0 -4
- package/vscode/src/vs/workbench/browser/parts/editor/noTabsTitleControl.js +0 -247
- package/vscode/src/vs/workbench/browser/parts/editor/tabsTitleControl.js +0 -1569
- package/vscode/src/vs/workbench/browser/parts/editor/titleControl.js +0 -292
- package/vscode/src/vs/workbench/browser/parts/media/compositepart.css.js +0 -4
- package/vscode/src/vs/workbench/browser/parts/notifications/media/notificationsActions.css.js +0 -4
- package/vscode/src/vs/workbench/browser/parts/notifications/media/notificationsCenter.css.js +0 -4
- package/vscode/src/vs/workbench/browser/parts/notifications/media/notificationsList.css.js +0 -4
- package/vscode/src/vs/workbench/browser/parts/notifications/media/notificationsToasts.css.js +0 -4
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsActions.js +0 -124
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsAlerts.js +0 -58
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCenter.js +0 -227
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsList.js +0 -212
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsToasts.js +0 -419
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsViewer.js +0 -398
- package/vscode/src/vs/workbench/browser/parts/paneCompositePart.js +0 -78
- package/vscode/src/vs/workbench/browser/parts/panel/media/basepanelpart.css.js +0 -4
- package/vscode/src/vs/workbench/browser/parts/panel/panelPart.d.ts +0 -134
- package/vscode/src/vs/workbench/browser/parts/panel/panelPart.js +0 -756
- package/vscode/src/vs/workbench/browser/parts/sidebar/media/sidebarpart.css.js +0 -4
- package/vscode/src/vs/workbench/browser/parts/sidebar/sidebarPart.d.ts +0 -59
- package/vscode/src/vs/workbench/browser/parts/sidebar/sidebarPart.js +0 -217
- package/vscode/src/vs/workbench/browser/parts/statusbar/media/statusbarpart.css.js +0 -4
- package/vscode/src/vs/workbench/browser/parts/statusbar/statusbarActions.js +0 -109
- package/vscode/src/vs/workbench/browser/parts/statusbar/statusbarItem.js +0 -234
- package/vscode/src/vs/workbench/browser/parts/statusbar/statusbarModel.js +0 -249
- package/vscode/src/vs/workbench/browser/parts/statusbar/statusbarPart.js +0 -439
- package/vscode/src/vs/workbench/browser/parts/titlebar/commandCenterControl.js +0 -134
- package/vscode/src/vs/workbench/browser/parts/titlebar/media/titlebarpart.css.js +0 -4
- package/vscode/src/vs/workbench/browser/parts/titlebar/menubarControl.d.ts +0 -115
- package/vscode/src/vs/workbench/browser/parts/titlebar/titlebarPart.d.ts +0 -77
- package/vscode/src/vs/workbench/browser/parts/titlebar/titlebarPart.js +0 -365
- package/vscode/src/vs/workbench/browser/parts/titlebar/windowTitle.js +0 -216
- package/vscode/src/vs/workbench/browser/parts/views/checkbox.js +0 -104
- package/vscode/src/vs/workbench/browser/parts/views/media/views.css.js +0 -4
- package/vscode/src/vs/workbench/browser/parts/views/treeView.js +0 -1589
- package/vscode/src/vs/workbench/common/activity.js +0 -3
- package/vscode/src/vs/workbench/common/dialogs.js +0 -31
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibility.contribution.js +0 -13
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityContributions.js +0 -312
- package/vscode/src/vs/workbench/contrib/accessibility/browser/unfocusedViewDimmingContribution.js +0 -63
- package/vscode/src/vs/workbench/contrib/audioCues/browser/audioCueDebuggerContribution.js +0 -45
- package/vscode/src/vs/workbench/contrib/audioCues/browser/audioCueLineFeatureContribution.js +0 -170
- package/vscode/src/vs/workbench/contrib/audioCues/browser/audioCues.contribution.js +0 -181
- package/vscode/src/vs/workbench/contrib/audioCues/browser/commands.js +0 -49
- package/vscode/src/vs/workbench/contrib/callHierarchy/browser/callHierarchy.contribution.js +0 -262
- package/vscode/src/vs/workbench/contrib/callHierarchy/browser/callHierarchyPeek.js +0 -339
- package/vscode/src/vs/workbench/contrib/callHierarchy/browser/callHierarchyTree.js +0 -119
- package/vscode/src/vs/workbench/contrib/callHierarchy/browser/media/callHierarchy.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/accessibility/accessibility.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/accessibility/accessibility.js +0 -35
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/find/simpleFindWidget.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/find/simpleFindWidget.js +0 -345
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/outline/documentSymbolsOutline.js +0 -362
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/outline/documentSymbolsTree.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/outline/documentSymbolsTree.js +0 -255
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/suggestEnabledInput/suggestEnabledInput.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/suggestEnabledInput/suggestEnabledInput.js +0 -249
- package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditor.contribution.js +0 -14
- package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditorInputFactory.js +0 -137
- package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditors.js +0 -212
- package/vscode/src/vs/workbench/contrib/customEditor/browser/media/customEditor.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/customEditor/common/contributedCustomEditors.js +0 -72
- package/vscode/src/vs/workbench/contrib/customEditor/common/customEditorModelManager.js +0 -61
- package/vscode/src/vs/workbench/contrib/customEditor/common/extensionPoint.js +0 -106
- package/vscode/src/vs/workbench/contrib/debug/browser/baseDebugView.js +0 -198
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointEditorContribution.js +0 -783
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointWidget.js +0 -397
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointsView.js +0 -1296
- package/vscode/src/vs/workbench/contrib/debug/browser/callStackEditorContribution.js +0 -176
- package/vscode/src/vs/workbench/contrib/debug/browser/callStackView.js +0 -958
- package/vscode/src/vs/workbench/contrib/debug/browser/debug.contribution.js +0 -496
- package/vscode/src/vs/workbench/contrib/debug/browser/debugANSIHandling.js +0 -345
- package/vscode/src/vs/workbench/contrib/debug/browser/debugActionViewItems.js +0 -297
- package/vscode/src/vs/workbench/contrib/debug/browser/debugAdapterManager.js +0 -398
- package/vscode/src/vs/workbench/contrib/debug/browser/debugCommands.js +0 -825
- package/vscode/src/vs/workbench/contrib/debug/browser/debugConfigurationManager.js +0 -619
- package/vscode/src/vs/workbench/contrib/debug/browser/debugConsoleQuickAccess.js +0 -58
- package/vscode/src/vs/workbench/contrib/debug/browser/debugEditorActions.js +0 -525
- package/vscode/src/vs/workbench/contrib/debug/browser/debugEditorContribution.js +0 -679
- package/vscode/src/vs/workbench/contrib/debug/browser/debugHover.js +0 -354
- package/vscode/src/vs/workbench/contrib/debug/browser/debugMemory.js +0 -204
- package/vscode/src/vs/workbench/contrib/debug/browser/debugProgress.js +0 -80
- package/vscode/src/vs/workbench/contrib/debug/browser/debugQuickAccess.js +0 -141
- package/vscode/src/vs/workbench/contrib/debug/browser/debugService.js +0 -1172
- package/vscode/src/vs/workbench/contrib/debug/browser/debugSession.js +0 -1142
- package/vscode/src/vs/workbench/contrib/debug/browser/debugSessionPicker.js +0 -104
- package/vscode/src/vs/workbench/contrib/debug/browser/debugStatus.js +0 -66
- package/vscode/src/vs/workbench/contrib/debug/browser/debugTaskRunner.js +0 -273
- package/vscode/src/vs/workbench/contrib/debug/browser/debugToolBar.js +0 -312
- package/vscode/src/vs/workbench/contrib/debug/browser/debugViewlet.js +0 -166
- package/vscode/src/vs/workbench/contrib/debug/browser/disassemblyView.js +0 -661
- package/vscode/src/vs/workbench/contrib/debug/browser/exceptionWidget.js +0 -103
- package/vscode/src/vs/workbench/contrib/debug/browser/linkDetector.js +0 -229
- package/vscode/src/vs/workbench/contrib/debug/browser/loadedScriptsView.js +0 -629
- package/vscode/src/vs/workbench/contrib/debug/browser/media/breakpointWidget.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/debug/browser/media/callStackEditorContribution.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/debug/browser/media/debug.contribution.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/debug/browser/media/debugHover.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/debug/browser/media/debugToolBar.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/debug/browser/media/debugViewlet.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/debug/browser/media/exceptionWidget.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/debug/browser/media/repl.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/debug/browser/rawDebugSession.js +0 -693
- package/vscode/src/vs/workbench/contrib/debug/browser/repl.js +0 -951
- package/vscode/src/vs/workbench/contrib/debug/browser/replFilter.js +0 -46
- package/vscode/src/vs/workbench/contrib/debug/browser/replViewer.js +0 -334
- package/vscode/src/vs/workbench/contrib/debug/browser/statusbarColorProvider.js +0 -96
- package/vscode/src/vs/workbench/contrib/debug/browser/variablesView.js +0 -573
- package/vscode/src/vs/workbench/contrib/debug/browser/watchExpressionsView.js +0 -413
- package/vscode/src/vs/workbench/contrib/debug/browser/welcomeView.js +0 -100
- package/vscode/src/vs/workbench/contrib/debug/common/breakpoints.js +0 -19
- package/vscode/src/vs/workbench/contrib/debug/common/debugCompoundRoot.js +0 -15
- package/vscode/src/vs/workbench/contrib/debug/common/debugContentProvider.js +0 -98
- package/vscode/src/vs/workbench/contrib/debug/common/debugLifecycle.js +0 -57
- package/vscode/src/vs/workbench/contrib/debug/common/debugModel.js +0 -1480
- package/vscode/src/vs/workbench/contrib/debug/common/debugSchemas.js +0 -344
- package/vscode/src/vs/workbench/contrib/debug/common/debugSource.js +0 -121
- package/vscode/src/vs/workbench/contrib/debug/common/debugStorage.js +0 -173
- package/vscode/src/vs/workbench/contrib/debug/common/debugTelemetry.js +0 -34
- package/vscode/src/vs/workbench/contrib/debug/common/debugViewModel.js +0 -115
- package/vscode/src/vs/workbench/contrib/debug/common/debugger.js +0 -258
- package/vscode/src/vs/workbench/contrib/debug/common/disassemblyViewInput.js +0 -25
- package/vscode/src/vs/workbench/contrib/debug/common/loadedScriptsPicker.js +0 -81
- package/vscode/src/vs/workbench/contrib/debug/common/replModel.js +0 -281
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActions.js +0 -2414
- package/vscode/src/vs/workbench/contrib/extensions/browser/media/extensionActions.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsFileTemplate.js +0 -16
- package/vscode/src/vs/workbench/contrib/externalUriOpener/common/externalUriOpener.contribution.js +0 -5
- package/vscode/src/vs/workbench/contrib/files/browser/editors/binaryFileEditor.js +0 -73
- package/vscode/src/vs/workbench/contrib/files/browser/editors/fileEditorHandler.js +0 -36
- package/vscode/src/vs/workbench/contrib/files/browser/editors/fileEditorInput.js +0 -325
- package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileEditor.js +0 -230
- package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileEditorTracker.js +0 -97
- package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileSaveErrorHandler.js +0 -352
- package/vscode/src/vs/workbench/contrib/files/browser/explorerService.js +0 -426
- package/vscode/src/vs/workbench/contrib/files/browser/fileActions.contribution.js +0 -508
- package/vscode/src/vs/workbench/contrib/files/browser/fileCommands.js +0 -615
- package/vscode/src/vs/workbench/contrib/files/browser/files.contribution2.js +0 -94
- package/vscode/src/vs/workbench/contrib/files/browser/workspaceWatcher.js +0 -144
- package/vscode/src/vs/workbench/contrib/files/common/dirtyFilesIndicator.js +0 -53
- package/vscode/src/vs/workbench/contrib/languageDetection/browser/languageDetection.contribution.js +0 -134
- package/vscode/src/vs/workbench/contrib/languageStatus/browser/languageStatus.contribution.js +0 -353
- package/vscode/src/vs/workbench/contrib/languageStatus/browser/media/languageStatus.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/markers/browser/markers.contribution.js +0 -586
- package/vscode/src/vs/workbench/contrib/markers/browser/markersFilterOptions.js +0 -75
- package/vscode/src/vs/workbench/contrib/markers/browser/markersModel.js +0 -200
- package/vscode/src/vs/workbench/contrib/markers/browser/markersTable.js +0 -455
- package/vscode/src/vs/workbench/contrib/markers/browser/markersTreeViewer.js +0 -670
- package/vscode/src/vs/workbench/contrib/markers/browser/markersView.js +0 -873
- package/vscode/src/vs/workbench/contrib/markers/browser/markersViewActions.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/markers/browser/markersViewActions.js +0 -132
- package/vscode/src/vs/workbench/contrib/markers/browser/media/markers.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/markers/browser/messages.js +0 -170
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/findFilters.js +0 -70
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindReplaceWidget.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindReplaceWidget.js +0 -158
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookContextKeys.js +0 -3
- package/vscode/src/vs/workbench/contrib/outline/browser/outline.contribution.js +0 -261
- package/vscode/src/vs/workbench/contrib/outline/browser/outline.js +0 -10
- package/vscode/src/vs/workbench/contrib/outline/browser/outlinePane.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/outline/browser/outlinePane.js +0 -290
- package/vscode/src/vs/workbench/contrib/outline/browser/outlineViewState.js +0 -66
- package/vscode/src/vs/workbench/contrib/output/common/outputLinkComputer.js +0 -129
- package/vscode/src/vs/workbench/contrib/preferences/browser/keybindingWidgets.js +0 -272
- package/vscode/src/vs/workbench/contrib/preferences/browser/keybindingsEditor.js +0 -1102
- package/vscode/src/vs/workbench/contrib/preferences/browser/media/keybindings.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/preferences/browser/media/keybindingsEditor.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/preferences/browser/media/preferences.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/preferences/browser/media/settingsEditor2.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/preferences/browser/media/settingsWidgets.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferences.contribution.js +0 -1213
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesActions.js +0 -94
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesEditor.js +0 -47
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesIcons.js +0 -37
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesRenderers.js +0 -747
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesSearch.js +0 -349
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesWidgets.js +0 -468
- package/vscode/src/vs/workbench/contrib/preferences/browser/settingsEditor2.js +0 -1477
- package/vscode/src/vs/workbench/contrib/preferences/browser/settingsEditorSettingIndicators.js +0 -504
- package/vscode/src/vs/workbench/contrib/preferences/browser/settingsLayout.js +0 -296
- package/vscode/src/vs/workbench/contrib/preferences/browser/settingsSearchMenu.js +0 -79
- package/vscode/src/vs/workbench/contrib/preferences/browser/settingsTree.js +0 -2041
- package/vscode/src/vs/workbench/contrib/preferences/browser/settingsTreeModels.js +0 -771
- package/vscode/src/vs/workbench/contrib/preferences/browser/settingsWidgets.js +0 -1004
- package/vscode/src/vs/workbench/contrib/preferences/browser/tocTree.js +0 -196
- package/vscode/src/vs/workbench/contrib/preferences/common/preferencesContribution.js +0 -151
- package/vscode/src/vs/workbench/contrib/preferences/common/settingsEditorColorRegistry.js +0 -67
- package/vscode/src/vs/workbench/contrib/remote/browser/media/tunnelView.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/remote/browser/remoteExplorer.js +0 -207
- package/vscode/src/vs/workbench/contrib/remote/browser/remoteIcons.js +0 -27
- package/vscode/src/vs/workbench/contrib/remote/browser/tunnelView.js +0 -1666
- package/vscode/src/vs/workbench/contrib/remote/common/remote.contribution.js +0 -481
- package/vscode/src/vs/workbench/contrib/search/browser/anythingQuickAccess.js +0 -759
- package/vscode/src/vs/workbench/contrib/search/browser/media/anythingQuickAccess.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/search/browser/media/searchview.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/search/browser/notebookSearchContributions.js +0 -7
- package/vscode/src/vs/workbench/contrib/search/browser/patternInputWidget.js +0 -220
- package/vscode/src/vs/workbench/contrib/search/browser/quickTextSearch/textSearchQuickAccess.js +0 -232
- package/vscode/src/vs/workbench/contrib/search/browser/replaceContributions.js +0 -7
- package/vscode/src/vs/workbench/contrib/search/browser/replaceService.js +0 -224
- package/vscode/src/vs/workbench/contrib/search/browser/search.contribution.js +0 -513
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsBase.js +0 -46
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsCopy.js +0 -204
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsFind.js +0 -354
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsNav.js +0 -459
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsRemoveReplace.js +0 -365
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsSymbol.js +0 -35
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsTextQuickAccess.js +0 -23
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsTopBar.js +0 -308
- package/vscode/src/vs/workbench/contrib/search/browser/searchFindInput.js +0 -41
- package/vscode/src/vs/workbench/contrib/search/browser/searchIcons.js +0 -39
- package/vscode/src/vs/workbench/contrib/search/browser/searchMessage.js +0 -58
- package/vscode/src/vs/workbench/contrib/search/browser/searchResultsView.js +0 -383
- package/vscode/src/vs/workbench/contrib/search/browser/searchView.js +0 -1916
- package/vscode/src/vs/workbench/contrib/search/browser/searchWidget.js +0 -636
- package/vscode/src/vs/workbench/contrib/search/browser/symbolsQuickAccess.js +0 -220
- package/vscode/src/vs/workbench/contrib/search/common/cacheState.js +0 -85
- package/vscode/src/vs/workbench/contrib/search/common/constants.js +0 -66
- package/vscode/src/vs/workbench/contrib/searchEditor/browser/constants.js +0 -11
- package/vscode/src/vs/workbench/contrib/searchEditor/browser/media/searchEditor.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/searchEditor/browser/searchEditor.contribution.js +0 -477
- package/vscode/src/vs/workbench/contrib/searchEditor/browser/searchEditor.js +0 -700
- package/vscode/src/vs/workbench/contrib/searchEditor/browser/searchEditorActions.js +0 -187
- package/vscode/src/vs/workbench/contrib/searchEditor/browser/searchEditorInput.js +0 -298
- package/vscode/src/vs/workbench/contrib/searchEditor/browser/searchEditorModel.js +0 -135
- package/vscode/src/vs/workbench/contrib/searchEditor/browser/searchEditorSerialization.js +0 -268
- package/vscode/src/vs/workbench/contrib/snippets/browser/commands/abstractSnippetsActions.js +0 -20
- package/vscode/src/vs/workbench/contrib/snippets/browser/commands/configureSnippets.js +0 -264
- package/vscode/src/vs/workbench/contrib/snippets/browser/commands/fileTemplateSnippets.js +0 -87
- package/vscode/src/vs/workbench/contrib/snippets/browser/commands/insertSnippet.js +0 -126
- package/vscode/src/vs/workbench/contrib/snippets/browser/commands/surroundWithSnippet.js +0 -56
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCodeActionProvider.js +0 -136
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetPicker.js +0 -83
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippets.contribution.js +0 -113
- package/vscode/src/vs/workbench/contrib/terminal/browser/baseTerminalBackend.js +0 -101
- package/vscode/src/vs/workbench/contrib/terminal/browser/detachedTerminal.js +0 -54
- package/vscode/src/vs/workbench/contrib/terminal/browser/environmentVariableInfo.js +0 -119
- package/vscode/src/vs/workbench/contrib/terminal/browser/media/scrollbar.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/terminal/browser/media/terminal.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/terminal/browser/media/widgets.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/terminal/browser/media/xterm.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/terminal/browser/remotePty.js +0 -175
- package/vscode/src/vs/workbench/contrib/terminal/browser/remoteTerminalBackend.js +0 -311
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.contribution.js +0 -240
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalActions.js +0 -1964
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalCommands.js +0 -22
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalConfigHelper.js +0 -215
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalContextMenu.js +0 -16
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalEditor.js +0 -186
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalEditorService.js +0 -239
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalEvents.js +0 -47
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalExtensions.js +0 -25
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalGroup.js +0 -482
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalGroupService.js +0 -367
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalIcons.js +0 -37
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalInstance.js +0 -2101
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalInstanceService.js +0 -82
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalMainContribution.js +0 -82
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalMenus.js +0 -762
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalProcessManager.js +0 -617
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalProfileQuickpick.js +0 -278
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalProfileResolverService.js +0 -316
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalProfileService.js +0 -218
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalQuickAccess.js +0 -146
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalRunRecentQuickPick.js +0 -269
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalService.js +0 -1134
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalStatusList.js +0 -108
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalTabbedView.js +0 -420
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalTabsList.js +0 -676
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalTooltip.js +0 -72
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalUri.js +0 -39
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalView.js +0 -598
- package/vscode/src/vs/workbench/contrib/terminal/browser/widgets/widgetManager.js +0 -36
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/decorationAddon.js +0 -469
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/decorationStyles.js +0 -97
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/lineDataEventAddon.js +0 -56
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/markNavigationAddon.js +0 -416
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/suggestAddon.js +0 -390
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/xtermTerminal.js +0 -793
- package/vscode/src/vs/workbench/contrib/terminal/common/environmentVariableService.js +0 -96
- package/vscode/src/vs/workbench/contrib/terminal/common/history.js +0 -356
- package/vscode/src/vs/workbench/contrib/terminal/common/remote/remoteTerminalChannel.js +0 -253
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalConfiguration.js +0 -1016
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalEnvironment.js +0 -272
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalStrings.js +0 -93
- package/vscode/src/vs/workbench/contrib/terminal/electron-sandbox/terminalProfileResolverService.js +0 -42
- package/vscode/src/vs/workbench/contrib/terminalContrib/accessibility/browser/bufferContentTracker.js +0 -110
- package/vscode/src/vs/workbench/contrib/terminalContrib/accessibility/browser/terminal.accessibility.contribution.js +0 -232
- package/vscode/src/vs/workbench/contrib/terminalContrib/accessibility/browser/terminalAccessibilityHelp.js +0 -138
- package/vscode/src/vs/workbench/contrib/terminalContrib/accessibility/browser/terminalAccessibleBuffer.js +0 -226
- package/vscode/src/vs/workbench/contrib/terminalContrib/accessibility/browser/terminalAccessibleWidget.js +0 -142
- package/vscode/src/vs/workbench/contrib/terminalContrib/accessibility/browser/textAreaSyncAddon.js +0 -98
- package/vscode/src/vs/workbench/contrib/terminalContrib/links/browser/terminalLinkProviderService.js +0 -26
- package/vscode/src/vs/workbench/contrib/terminalContrib/quickFix/browser/terminalQuickFixService.js +0 -155
- package/vscode/src/vs/workbench/contrib/typeHierarchy/browser/media/typeHierarchy.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/typeHierarchy/browser/typeHierarchy.contribution.js +0 -247
- package/vscode/src/vs/workbench/contrib/typeHierarchy/browser/typeHierarchyPeek.js +0 -334
- package/vscode/src/vs/workbench/contrib/typeHierarchy/browser/typeHierarchyTree.js +0 -117
- package/vscode/src/vs/workbench/contrib/webview/browser/overlayWebview.js +0 -288
- package/vscode/src/vs/workbench/contrib/webview/browser/resourceLoading.js +0 -94
- package/vscode/src/vs/workbench/contrib/webview/browser/themeing.js +0 -86
- package/vscode/src/vs/workbench/contrib/webview/browser/webviewElement.js +0 -640
- package/vscode/src/vs/workbench/contrib/webview/browser/webviewFindWidget.js +0 -63
- package/vscode/src/vs/workbench/contrib/webview/browser/webviewService.js +0 -57
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewCommands.js +0 -120
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditorInputSerializer.js +0 -119
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewPanel.contribution.js +0 -61
- package/vscode/src/vs/workbench/contrib/webviewView/browser/webviewViewPane.js +0 -232
- package/vscode/src/vs/workbench/contrib/workspace/browser/media/workspaceTrustEditor.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/workspace/browser/workspace.contribution.js +0 -842
- package/vscode/src/vs/workbench/contrib/workspace/browser/workspaceTrustEditor.js +0 -1047
- package/vscode/src/vs/workbench/contrib/workspace/common/workspace.js +0 -14
- package/vscode/src/vs/workbench/services/activity/browser/activityService.js +0 -94
- package/vscode/src/vs/workbench/services/configuration/browser/configuration.js +0 -878
- package/vscode/src/vs/workbench/services/configuration/browser/configurationService.js +0 -1170
- package/vscode/src/vs/workbench/services/configuration/common/configurationCache.js +0 -80
- package/vscode/src/vs/workbench/services/configuration/common/configurationEditing.js +0 -589
- package/vscode/src/vs/workbench/services/configuration/common/configurationModels.js +0 -119
- package/vscode/src/vs/workbench/services/configurationResolver/browser/baseConfigurationResolverService.js +0 -303
- package/vscode/src/vs/workbench/services/configurationResolver/browser/configurationResolverService.js +0 -26
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverSchema.js +0 -174
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverUtils.js +0 -10
- package/vscode/src/vs/workbench/services/dialogs/browser/abstractFileDialogService.js +0 -320
- package/vscode/src/vs/workbench/services/dialogs/browser/simpleFileDialog.js +0 -989
- package/vscode/src/vs/workbench/services/dialogs/common/dialogService.js +0 -66
- package/vscode/src/vs/workbench/services/editor/browser/editorResolverService.js +0 -622
- package/vscode/src/vs/workbench/services/extensionRecommendations/common/extensionRecommendations.js +0 -4
- package/vscode/src/vs/workbench/services/extensionRecommendations/common/workspaceExtensionsConfig.js +0 -2
- package/vscode/src/vs/workbench/services/history/browser/historyService.js +0 -1454
- package/vscode/src/vs/workbench/services/hover/browser/hoverService.js +0 -162
- package/vscode/src/vs/workbench/services/hover/browser/hoverWidget.js +0 -523
- package/vscode/src/vs/workbench/services/hover/browser/media/hover.css.js +0 -4
- package/vscode/src/vs/workbench/services/label/common/labelService.js +0 -412
- package/vscode/src/vs/workbench/services/languageDetection/browser/languageDetectionSimpleWorker.js +0 -173
- package/vscode/src/vs/workbench/services/languageDetection/browser/languageDetectionWorkerServiceImpl.js +0 -259
- package/vscode/src/vs/workbench/services/lifecycle/browser/lifecycleService.js +0 -121
- package/vscode/src/vs/workbench/services/localization/common/locale.js +0 -3
- package/vscode/src/vs/workbench/services/notification/common/notificationService.js +0 -188
- package/vscode/src/vs/workbench/services/outline/browser/outlineService.js +0 -35
- package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorInput.js +0 -37
- package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorModel.js +0 -556
- package/vscode/src/vs/workbench/services/preferences/browser/preferencesService.js +0 -547
- package/vscode/src/vs/workbench/services/preferences/common/preferencesEditorInput.js +0 -39
- package/vscode/src/vs/workbench/services/preferences/common/preferencesModels.js +0 -1039
- package/vscode/src/vs/workbench/services/preferences/common/preferencesValidation.js +0 -393
- package/vscode/src/vs/workbench/services/remote/browser/remoteAgentService.js +0 -71
- package/vscode/src/vs/workbench/services/remote/common/abstractRemoteAgentService.js +0 -177
- package/vscode/src/vs/workbench/services/remote/common/remoteAgentEnvironmentChannel.js +0 -51
- package/vscode/src/vs/workbench/services/remote/common/remoteFileSystemProviderClient.js +0 -38
- package/vscode/src/vs/workbench/services/search/common/queryBuilder.d.ts +0 -35
- package/vscode/src/vs/workbench/services/search/common/searchService.js +0 -370
- package/vscode/src/vs/workbench/services/storage/browser/storageService.d.ts +0 -40
- package/vscode/src/vs/workbench/services/storage/browser/storageService.js +0 -280
- package/vscode/src/vs/workbench/services/suggest/browser/media/suggest.css.js +0 -4
- package/vscode/src/vs/workbench/services/suggest/browser/simpleCompletionItem.js +0 -10
- package/vscode/src/vs/workbench/services/suggest/browser/simpleCompletionModel.js +0 -98
- package/vscode/src/vs/workbench/services/suggest/browser/simpleSuggestWidget.js +0 -399
- package/vscode/src/vs/workbench/services/suggest/browser/simpleSuggestWidgetRenderer.js +0 -83
- package/vscode/src/vs/workbench/services/textMate/browser/arrayOperation.js +0 -62
- package/vscode/src/vs/workbench/services/textMate/browser/backgroundTokenization/textMateWorkerTokenizerController.js +0 -157
- package/vscode/src/vs/workbench/services/textMate/browser/backgroundTokenization/threadedBackgroundTokenizerFactory.js +0 -200
- package/vscode/src/vs/workbench/services/textMate/browser/backgroundTokenization/worker/textMateTokenizationWorker.worker.js +0 -87
- package/vscode/src/vs/workbench/services/textMate/browser/backgroundTokenization/worker/textMateWorkerTokenizer.js +0 -140
- package/vscode/src/vs/workbench/services/textMate/browser/textMateTokenizationFeature.d.ts +0 -11
- package/vscode/src/vs/workbench/services/textMate/browser/textMateTokenizationFeatureImpl.js +0 -459
- package/vscode/src/vs/workbench/services/textMate/browser/tokenizationSupport/textMateTokenizationSupport.js +0 -72
- package/vscode/src/vs/workbench/services/textMate/browser/tokenizationSupport/tokenizationSupportWithLineLimit.js +0 -36
- package/vscode/src/vs/workbench/services/textMate/common/TMGrammarFactory.js +0 -118
- package/vscode/src/vs/workbench/services/textMate/common/TMGrammars.js +0 -93
- package/vscode/src/vs/workbench/services/textMate/common/TMScopeRegistry.js +0 -24
- package/vscode/src/vs/workbench/services/textmodelResolver/common/textModelResolverService.js +0 -187
- package/vscode/src/vs/workbench/services/themes/browser/fileIconThemeData.js +0 -353
- package/vscode/src/vs/workbench/services/themes/browser/productIconThemeData.js +0 -290
- package/vscode/src/vs/workbench/services/themes/browser/workbenchThemeService.js +0 -742
- package/vscode/src/vs/workbench/services/themes/common/colorThemeData.js +0 -864
- package/vscode/src/vs/workbench/services/themes/common/colorThemeSchema.js +0 -265
- package/vscode/src/vs/workbench/services/themes/common/fileIconThemeSchema.js +0 -303
- package/vscode/src/vs/workbench/services/themes/common/plistParser.js +0 -439
- package/vscode/src/vs/workbench/services/themes/common/productIconThemeSchema.js +0 -94
- package/vscode/src/vs/workbench/services/themes/common/textMateScopeMatcher.js +0 -120
- package/vscode/src/vs/workbench/services/themes/common/themeCompatibility.js +0 -66
- package/vscode/src/vs/workbench/services/themes/common/themeConfiguration.js +0 -372
- package/vscode/src/vs/workbench/services/themes/common/themeExtensionPoints.js +0 -254
- package/vscode/src/vs/workbench/services/views/browser/viewDescriptorService.js +0 -689
- package/vscode/src/vs/workbench/services/views/common/viewContainerModel.js +0 -612
- package/vscode/src/vs/workbench/services/workspaces/browser/abstractWorkspaceEditingService.js +0 -322
- package/vscode/src/vs/workbench/services/workspaces/browser/workspaceTrustEditorInput.js +0 -27
- package/vscode/src/vs/workbench/services/workspaces/browser/workspacesService.js +0 -151
- package/workers/languageDetection.worker.js +0 -8
- package/workers/outputLinkComputer.worker.js +0 -3
- package/workers/textmate.worker.js +0 -3
|
@@ -1,873 +0,0 @@
|
|
|
1
|
-
import { __decorate, __param } from '../../../../../../../external/tslib/tslib.es6.js';
|
|
2
|
-
import './media/markers.css.js';
|
|
3
|
-
import * as dom from 'monaco-editor/esm/vs/base/browser/dom.js';
|
|
4
|
-
import { Separator } from 'monaco-editor/esm/vs/base/common/actions.js';
|
|
5
|
-
import { ITelemetryService } from 'monaco-editor/esm/vs/platform/telemetry/common/telemetry.js';
|
|
6
|
-
import { SIDE_GROUP, ACTIVE_GROUP, IEditorService } from '../../../services/editor/common/editorService.js';
|
|
7
|
-
import { MarkersModel, Marker, RelatedInformation, MarkerTableItem, ResourceMarkers, compareMarkersByUri } from './markersModel.js';
|
|
8
|
-
import { IInstantiationService } from 'monaco-editor/esm/vs/platform/instantiation/common/instantiation.js';
|
|
9
|
-
import { MarkersFilters } from './markersViewActions.js';
|
|
10
|
-
import { IConfigurationService } from 'monaco-editor/esm/vs/platform/configuration/common/configuration.js';
|
|
11
|
-
import Messages from './messages.js';
|
|
12
|
-
import { RangeHighlightDecorations } from '../../../browser/codeeditor.js';
|
|
13
|
-
import { IThemeService } from 'monaco-editor/esm/vs/platform/theme/common/themeService.js';
|
|
14
|
-
import { IStorageService } from 'monaco-editor/esm/vs/platform/storage/common/storage.js';
|
|
15
|
-
import { localize } from 'monaco-editor/esm/vs/nls.js';
|
|
16
|
-
import { IContextKeyService } from 'monaco-editor/esm/vs/platform/contextkey/common/contextkey.js';
|
|
17
|
-
import { Iterable } from 'monaco-editor/esm/vs/base/common/iterator.js';
|
|
18
|
-
import { Event, Relay } from 'monaco-editor/esm/vs/base/common/event.js';
|
|
19
|
-
import { WorkbenchObjectTree, IListService } from 'monaco-editor/esm/vs/platform/list/browser/listService.js';
|
|
20
|
-
import { FilterOptions } from './markersFilterOptions.js';
|
|
21
|
-
import { deepClone } from 'monaco-editor/esm/vs/base/common/objects.js';
|
|
22
|
-
import { IWorkspaceContextService } from 'monaco-editor/esm/vs/platform/workspace/common/workspace.js';
|
|
23
|
-
import { MarkersViewModel, MarkersWidgetAccessibilityProvider, Filter, ResourceMarkersRenderer, MarkerRenderer, RelatedInformationRenderer, VirtualDelegate } from './markersTreeViewer.js';
|
|
24
|
-
import { IContextMenuService } from 'monaco-editor/esm/vs/platform/contextview/browser/contextView.js';
|
|
25
|
-
import { MenuId } from 'monaco-editor/esm/vs/platform/actions/common/actions.js';
|
|
26
|
-
import { IKeybindingService } from 'monaco-editor/esm/vs/platform/keybinding/common/keybinding.js';
|
|
27
|
-
import { StandardKeyboardEvent } from 'monaco-editor/esm/vs/base/browser/keyboardEvent.js';
|
|
28
|
-
import { ResourceLabels } from '../../../browser/labels.js';
|
|
29
|
-
import { MarkerSeverity, IMarkerService } from 'monaco-editor/esm/vs/platform/markers/common/markers.js';
|
|
30
|
-
import { Memento } from '../../../common/memento.js';
|
|
31
|
-
import { FilterViewPane } from '../../../browser/parts/views/viewPane.js';
|
|
32
|
-
import { IViewDescriptorService } from '../../../common/views.js';
|
|
33
|
-
import { withSelection, IOpenerService } from 'monaco-editor/esm/vs/platform/opener/common/opener.js';
|
|
34
|
-
import { ActionViewItem } from 'monaco-editor/esm/vs/base/browser/ui/actionbar/actionViewItems.js';
|
|
35
|
-
import { IUriIdentityService } from 'monaco-editor/esm/vs/platform/uriIdentity/common/uriIdentity.js';
|
|
36
|
-
import { DisposableStore, toDisposable } from 'monaco-editor/esm/vs/base/common/lifecycle.js';
|
|
37
|
-
import { groupBy } from 'monaco-editor/esm/vs/base/common/arrays.js';
|
|
38
|
-
import { ResourceMap } from 'monaco-editor/esm/vs/base/common/map.js';
|
|
39
|
-
import { EditorResourceAccessor, SideBySideEditor } from '../../../common/editor.js';
|
|
40
|
-
import { ResourceListDnDHandler } from '../../../browser/dnd.js';
|
|
41
|
-
import { MarkersTable } from './markersTable.js';
|
|
42
|
-
import { Markers, MarkersContextKeys } from '../common/markers.js';
|
|
43
|
-
import { registerNavigableContainer } from '../../../browser/actions/widgetNavigationCommands.js';
|
|
44
|
-
function createResourceMarkersIterator(resourceMarkers) {
|
|
45
|
-
return ( Iterable.map(resourceMarkers.markers, m => {
|
|
46
|
-
const relatedInformationIt = Iterable.from(m.relatedInformation);
|
|
47
|
-
const children = ( Iterable.map(relatedInformationIt, r => ({ element: r })));
|
|
48
|
-
return { element: m, children };
|
|
49
|
-
}));
|
|
50
|
-
}
|
|
51
|
-
let MarkersView = class MarkersView extends FilterViewPane {
|
|
52
|
-
constructor(options, instantiationService, viewDescriptorService, editorService, configurationService, telemetryService, markerService, contextKeyService, workspaceContextService, contextMenuService, uriIdentityService, keybindingService, storageService, openerService, themeService) {
|
|
53
|
-
const panelState = ( new Memento(Markers.MARKERS_VIEW_STORAGE_ID, storageService)).getMemento(1 , 1 );
|
|
54
|
-
super({
|
|
55
|
-
...options,
|
|
56
|
-
filterOptions: {
|
|
57
|
-
ariaLabel: Messages.MARKERS_PANEL_FILTER_ARIA_LABEL,
|
|
58
|
-
placeholder: Messages.MARKERS_PANEL_FILTER_PLACEHOLDER,
|
|
59
|
-
focusContextKey: MarkersContextKeys.MarkerViewFilterFocusContextKey.key,
|
|
60
|
-
text: panelState['filter'] || '',
|
|
61
|
-
history: panelState['filterHistory'] || []
|
|
62
|
-
}
|
|
63
|
-
}, keybindingService, contextMenuService, configurationService, contextKeyService, viewDescriptorService, instantiationService, openerService, themeService, telemetryService);
|
|
64
|
-
this.editorService = editorService;
|
|
65
|
-
this.markerService = markerService;
|
|
66
|
-
this.workspaceContextService = workspaceContextService;
|
|
67
|
-
this.uriIdentityService = uriIdentityService;
|
|
68
|
-
this.lastSelectedRelativeTop = 0;
|
|
69
|
-
this.currentActiveResource = null;
|
|
70
|
-
this.onVisibleDisposables = this._register(( new DisposableStore()));
|
|
71
|
-
this.widgetDisposables = this._register(( new DisposableStore()));
|
|
72
|
-
this.currentHeight = 0;
|
|
73
|
-
this.currentWidth = 0;
|
|
74
|
-
this.cachedFilterStats = undefined;
|
|
75
|
-
this.currentResourceGotAddedToMarkersData = false;
|
|
76
|
-
this.onDidChangeVisibility = this.onDidChangeBodyVisibility;
|
|
77
|
-
this.panelState = panelState;
|
|
78
|
-
this.markersModel = this._register(instantiationService.createInstance(MarkersModel));
|
|
79
|
-
this.markersViewModel = this._register(instantiationService.createInstance(MarkersViewModel, this.panelState['multiline'], this.panelState['viewMode'] ?? this.getDefaultViewMode()));
|
|
80
|
-
this._register(this.onDidChangeVisibility(visible => this.onDidChangeMarkersViewVisibility(visible)));
|
|
81
|
-
this._register(this.markersViewModel.onDidChangeViewMode(_ => this.onDidChangeViewMode()));
|
|
82
|
-
this.widgetAccessibilityProvider = instantiationService.createInstance(MarkersWidgetAccessibilityProvider);
|
|
83
|
-
this.widgetIdentityProvider = { getId(element) { return element.id; } };
|
|
84
|
-
this.setCurrentActiveEditor();
|
|
85
|
-
this.filter = ( new Filter(FilterOptions.EMPTY(uriIdentityService)));
|
|
86
|
-
this.rangeHighlightDecorations = this._register(this.instantiationService.createInstance(RangeHighlightDecorations));
|
|
87
|
-
this.filters = this._register(( new MarkersFilters({
|
|
88
|
-
filterHistory: this.panelState['filterHistory'] || [],
|
|
89
|
-
showErrors: this.panelState['showErrors'] !== false,
|
|
90
|
-
showWarnings: this.panelState['showWarnings'] !== false,
|
|
91
|
-
showInfos: this.panelState['showInfos'] !== false,
|
|
92
|
-
excludedFiles: !!this.panelState['useFilesExclude'],
|
|
93
|
-
activeFile: !!this.panelState['activeFile'],
|
|
94
|
-
}, this.contextKeyService)));
|
|
95
|
-
this._register(this.configurationService.onDidChangeConfiguration(e => {
|
|
96
|
-
if (this.filters.excludedFiles && e.affectsConfiguration('files.exclude')) {
|
|
97
|
-
this.updateFilter();
|
|
98
|
-
}
|
|
99
|
-
}));
|
|
100
|
-
}
|
|
101
|
-
render() {
|
|
102
|
-
super.render();
|
|
103
|
-
this._register(registerNavigableContainer({
|
|
104
|
-
focusNotifiers: [this, this.filterWidget],
|
|
105
|
-
focusNextWidget: () => {
|
|
106
|
-
if (this.filterWidget.hasFocus()) {
|
|
107
|
-
this.focus();
|
|
108
|
-
}
|
|
109
|
-
},
|
|
110
|
-
focusPreviousWidget: () => {
|
|
111
|
-
if (!this.filterWidget.hasFocus()) {
|
|
112
|
-
this.focusFilter();
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
}));
|
|
116
|
-
}
|
|
117
|
-
renderBody(parent) {
|
|
118
|
-
super.renderBody(parent);
|
|
119
|
-
parent.classList.add('markers-panel');
|
|
120
|
-
this._register(dom.addDisposableListener(parent, 'keydown', e => {
|
|
121
|
-
if (this.keybindingService.mightProducePrintableCharacter(( new StandardKeyboardEvent(e)))) {
|
|
122
|
-
this.focusFilter();
|
|
123
|
-
}
|
|
124
|
-
}));
|
|
125
|
-
const panelContainer = dom.append(parent, dom.$('.markers-panel-container'));
|
|
126
|
-
this.createArialLabelElement(panelContainer);
|
|
127
|
-
this.createMessageBox(panelContainer);
|
|
128
|
-
this.widgetContainer = dom.append(panelContainer, dom.$('.widget-container'));
|
|
129
|
-
this.createWidget(this.widgetContainer);
|
|
130
|
-
this.updateFilter();
|
|
131
|
-
this.renderContent();
|
|
132
|
-
}
|
|
133
|
-
getTitle() {
|
|
134
|
-
return Messages.MARKERS_PANEL_TITLE_PROBLEMS;
|
|
135
|
-
}
|
|
136
|
-
layoutBodyContent(height = this.currentHeight, width = this.currentWidth) {
|
|
137
|
-
if (this.messageBoxContainer) {
|
|
138
|
-
this.messageBoxContainer.style.height = `${height}px`;
|
|
139
|
-
}
|
|
140
|
-
this.widget.layout(height, width);
|
|
141
|
-
this.currentHeight = height;
|
|
142
|
-
this.currentWidth = width;
|
|
143
|
-
}
|
|
144
|
-
focus() {
|
|
145
|
-
if (this.widget.getHTMLElement() === document.activeElement) {
|
|
146
|
-
return;
|
|
147
|
-
}
|
|
148
|
-
if (this.hasNoProblems()) {
|
|
149
|
-
this.messageBoxContainer.focus();
|
|
150
|
-
}
|
|
151
|
-
else {
|
|
152
|
-
this.widget.domFocus();
|
|
153
|
-
this.widget.setMarkerSelection();
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
focusFilter() {
|
|
157
|
-
this.filterWidget.focus();
|
|
158
|
-
}
|
|
159
|
-
updateBadge(total, filtered) {
|
|
160
|
-
this.filterWidget.updateBadge(total === filtered || total === 0 ? undefined : ( localize('showing filtered problems', "Showing {0} of {1}", filtered, total)));
|
|
161
|
-
}
|
|
162
|
-
checkMoreFilters() {
|
|
163
|
-
this.filterWidget.checkMoreFilters(!this.filters.showErrors || !this.filters.showWarnings || !this.filters.showInfos || this.filters.excludedFiles || this.filters.activeFile);
|
|
164
|
-
}
|
|
165
|
-
clearFilterText() {
|
|
166
|
-
this.filterWidget.setFilterText('');
|
|
167
|
-
}
|
|
168
|
-
showQuickFixes(marker) {
|
|
169
|
-
const viewModel = this.markersViewModel.getViewModel(marker);
|
|
170
|
-
if (viewModel) {
|
|
171
|
-
viewModel.quickFixAction.run();
|
|
172
|
-
}
|
|
173
|
-
}
|
|
174
|
-
openFileAtElement(element, preserveFocus, sideByside, pinned) {
|
|
175
|
-
const { resource, selection } = element instanceof Marker ? { resource: element.resource, selection: element.range } :
|
|
176
|
-
element instanceof RelatedInformation ? { resource: element.raw.resource, selection: element.raw } :
|
|
177
|
-
'marker' in element ? { resource: element.marker.resource, selection: element.marker.range } :
|
|
178
|
-
{ resource: null, selection: null };
|
|
179
|
-
if (resource && selection) {
|
|
180
|
-
this.editorService.openEditor({
|
|
181
|
-
resource,
|
|
182
|
-
options: {
|
|
183
|
-
selection,
|
|
184
|
-
preserveFocus,
|
|
185
|
-
pinned,
|
|
186
|
-
revealIfVisible: true
|
|
187
|
-
},
|
|
188
|
-
}, sideByside ? SIDE_GROUP : ACTIVE_GROUP).then(editor => {
|
|
189
|
-
if (editor && preserveFocus) {
|
|
190
|
-
this.rangeHighlightDecorations.highlightRange({ resource, range: selection }, editor.getControl());
|
|
191
|
-
}
|
|
192
|
-
else {
|
|
193
|
-
this.rangeHighlightDecorations.removeHighlightRange();
|
|
194
|
-
}
|
|
195
|
-
});
|
|
196
|
-
return true;
|
|
197
|
-
}
|
|
198
|
-
else {
|
|
199
|
-
this.rangeHighlightDecorations.removeHighlightRange();
|
|
200
|
-
}
|
|
201
|
-
return false;
|
|
202
|
-
}
|
|
203
|
-
refreshPanel(markerOrChange) {
|
|
204
|
-
if (this.isVisible()) {
|
|
205
|
-
const hasSelection = this.widget.getSelection().length > 0;
|
|
206
|
-
if (markerOrChange) {
|
|
207
|
-
if (markerOrChange instanceof Marker) {
|
|
208
|
-
this.widget.updateMarker(markerOrChange);
|
|
209
|
-
}
|
|
210
|
-
else {
|
|
211
|
-
if (markerOrChange.added.size || markerOrChange.removed.size) {
|
|
212
|
-
this.resetWidget();
|
|
213
|
-
}
|
|
214
|
-
else {
|
|
215
|
-
this.widget.update([...markerOrChange.updated]);
|
|
216
|
-
}
|
|
217
|
-
}
|
|
218
|
-
}
|
|
219
|
-
else {
|
|
220
|
-
this.resetWidget();
|
|
221
|
-
}
|
|
222
|
-
if (hasSelection) {
|
|
223
|
-
this.widget.setMarkerSelection();
|
|
224
|
-
}
|
|
225
|
-
this.cachedFilterStats = undefined;
|
|
226
|
-
const { total, filtered } = this.getFilterStats();
|
|
227
|
-
this.toggleVisibility(total === 0 || filtered === 0);
|
|
228
|
-
this.renderMessage();
|
|
229
|
-
this.updateBadge(total, filtered);
|
|
230
|
-
this.checkMoreFilters();
|
|
231
|
-
}
|
|
232
|
-
}
|
|
233
|
-
onDidChangeViewState(marker) {
|
|
234
|
-
this.refreshPanel(marker);
|
|
235
|
-
}
|
|
236
|
-
resetWidget() {
|
|
237
|
-
this.widget.reset(this.getResourceMarkers());
|
|
238
|
-
}
|
|
239
|
-
updateFilter() {
|
|
240
|
-
this.filter.options = ( new FilterOptions(
|
|
241
|
-
this.filterWidget.getFilterText(),
|
|
242
|
-
this.getFilesExcludeExpressions(),
|
|
243
|
-
this.filters.showWarnings,
|
|
244
|
-
this.filters.showErrors,
|
|
245
|
-
this.filters.showInfos,
|
|
246
|
-
this.uriIdentityService
|
|
247
|
-
));
|
|
248
|
-
this.widget.filterMarkers(this.getResourceMarkers(), this.filter.options);
|
|
249
|
-
this.cachedFilterStats = undefined;
|
|
250
|
-
const { total, filtered } = this.getFilterStats();
|
|
251
|
-
this.toggleVisibility(total === 0 || filtered === 0);
|
|
252
|
-
this.renderMessage();
|
|
253
|
-
this.updateBadge(total, filtered);
|
|
254
|
-
this.checkMoreFilters();
|
|
255
|
-
}
|
|
256
|
-
getDefaultViewMode() {
|
|
257
|
-
switch (this.configurationService.getValue('problems.defaultViewMode')) {
|
|
258
|
-
case 'table':
|
|
259
|
-
return "table" ;
|
|
260
|
-
case 'tree':
|
|
261
|
-
return "tree" ;
|
|
262
|
-
default:
|
|
263
|
-
return "tree" ;
|
|
264
|
-
}
|
|
265
|
-
}
|
|
266
|
-
getFilesExcludeExpressions() {
|
|
267
|
-
if (!this.filters.excludedFiles) {
|
|
268
|
-
return [];
|
|
269
|
-
}
|
|
270
|
-
const workspaceFolders = this.workspaceContextService.getWorkspace().folders;
|
|
271
|
-
return workspaceFolders.length
|
|
272
|
-
? ( workspaceFolders.map(
|
|
273
|
-
workspaceFolder => ({ root: workspaceFolder.uri, expression: this.getFilesExclude(workspaceFolder.uri) })
|
|
274
|
-
))
|
|
275
|
-
: this.getFilesExclude();
|
|
276
|
-
}
|
|
277
|
-
getFilesExclude(resource) {
|
|
278
|
-
return deepClone(this.configurationService.getValue('files.exclude', { resource })) || {};
|
|
279
|
-
}
|
|
280
|
-
getResourceMarkers() {
|
|
281
|
-
if (!this.filters.activeFile) {
|
|
282
|
-
return this.markersModel.resourceMarkers;
|
|
283
|
-
}
|
|
284
|
-
let resourceMarkers = [];
|
|
285
|
-
if (this.currentActiveResource) {
|
|
286
|
-
const activeResourceMarkers = this.markersModel.getResourceMarkers(this.currentActiveResource);
|
|
287
|
-
if (activeResourceMarkers) {
|
|
288
|
-
resourceMarkers = [activeResourceMarkers];
|
|
289
|
-
}
|
|
290
|
-
}
|
|
291
|
-
return resourceMarkers;
|
|
292
|
-
}
|
|
293
|
-
createMessageBox(parent) {
|
|
294
|
-
this.messageBoxContainer = dom.append(parent, dom.$('.message-box-container'));
|
|
295
|
-
this.messageBoxContainer.setAttribute('aria-labelledby', 'markers-panel-arialabel');
|
|
296
|
-
}
|
|
297
|
-
createArialLabelElement(parent) {
|
|
298
|
-
this.ariaLabelElement = dom.append(parent, dom.$(''));
|
|
299
|
-
this.ariaLabelElement.setAttribute('id', 'markers-panel-arialabel');
|
|
300
|
-
}
|
|
301
|
-
createWidget(parent) {
|
|
302
|
-
this.widget = this.markersViewModel.viewMode === "table" ? this.createTable(parent) : this.createTree(parent);
|
|
303
|
-
this.widgetDisposables.add(this.widget);
|
|
304
|
-
const markerFocusContextKey = MarkersContextKeys.MarkerFocusContextKey.bindTo(this.widget.contextKeyService);
|
|
305
|
-
const relatedInformationFocusContextKey = MarkersContextKeys.RelatedInformationFocusContextKey.bindTo(this.widget.contextKeyService);
|
|
306
|
-
this.widgetDisposables.add(this.widget.onDidChangeFocus(focus => {
|
|
307
|
-
markerFocusContextKey.set(( focus.elements.some(e => e instanceof Marker)));
|
|
308
|
-
relatedInformationFocusContextKey.set(( focus.elements.some(e => e instanceof RelatedInformation)));
|
|
309
|
-
}));
|
|
310
|
-
this.widgetDisposables.add(Event.debounce(this.widget.onDidOpen, (last, event) => event, 75, true)(options => {
|
|
311
|
-
this.openFileAtElement(options.element, !!options.editorOptions.preserveFocus, options.sideBySide, !!options.editorOptions.pinned);
|
|
312
|
-
}));
|
|
313
|
-
this.widgetDisposables.add(Event.any(this.widget.onDidChangeSelection, this.widget.onDidChangeFocus)(() => {
|
|
314
|
-
const elements = [...this.widget.getSelection(), ...this.widget.getFocus()];
|
|
315
|
-
for (const element of elements) {
|
|
316
|
-
if (element instanceof Marker) {
|
|
317
|
-
const viewModel = this.markersViewModel.getViewModel(element);
|
|
318
|
-
viewModel?.showLightBulb();
|
|
319
|
-
}
|
|
320
|
-
}
|
|
321
|
-
}));
|
|
322
|
-
this.widgetDisposables.add(this.widget.onContextMenu(this.onContextMenu, this));
|
|
323
|
-
this.widgetDisposables.add(this.widget.onDidChangeSelection(this.onSelected, this));
|
|
324
|
-
}
|
|
325
|
-
createTable(parent) {
|
|
326
|
-
const table = this.instantiationService.createInstance(MarkersTable, dom.append(parent, dom.$('.markers-table-container')), this.markersViewModel, this.getResourceMarkers(), this.filter.options, {
|
|
327
|
-
accessibilityProvider: this.widgetAccessibilityProvider,
|
|
328
|
-
dnd: this.instantiationService.createInstance(ResourceListDnDHandler, (element) => {
|
|
329
|
-
if (element instanceof MarkerTableItem) {
|
|
330
|
-
return withSelection(element.resource, element.range);
|
|
331
|
-
}
|
|
332
|
-
return null;
|
|
333
|
-
}),
|
|
334
|
-
horizontalScrolling: false,
|
|
335
|
-
identityProvider: this.widgetIdentityProvider,
|
|
336
|
-
multipleSelectionSupport: true,
|
|
337
|
-
selectionNavigation: true
|
|
338
|
-
});
|
|
339
|
-
return table;
|
|
340
|
-
}
|
|
341
|
-
createTree(parent) {
|
|
342
|
-
const onDidChangeRenderNodeCount = ( new Relay());
|
|
343
|
-
const treeLabels = this.instantiationService.createInstance(ResourceLabels, this);
|
|
344
|
-
const virtualDelegate = ( new VirtualDelegate(this.markersViewModel));
|
|
345
|
-
const renderers = [
|
|
346
|
-
this.instantiationService.createInstance(ResourceMarkersRenderer, treeLabels, onDidChangeRenderNodeCount.event),
|
|
347
|
-
this.instantiationService.createInstance(MarkerRenderer, this.markersViewModel),
|
|
348
|
-
this.instantiationService.createInstance(RelatedInformationRenderer)
|
|
349
|
-
];
|
|
350
|
-
const tree = this.instantiationService.createInstance(MarkersTree, 'MarkersView', dom.append(parent, dom.$('.tree-container.show-file-icons')), virtualDelegate, renderers, {
|
|
351
|
-
filter: this.filter,
|
|
352
|
-
accessibilityProvider: this.widgetAccessibilityProvider,
|
|
353
|
-
identityProvider: this.widgetIdentityProvider,
|
|
354
|
-
dnd: this.instantiationService.createInstance(ResourceListDnDHandler, (element) => {
|
|
355
|
-
if (element instanceof ResourceMarkers) {
|
|
356
|
-
return element.resource;
|
|
357
|
-
}
|
|
358
|
-
if (element instanceof Marker) {
|
|
359
|
-
return withSelection(element.resource, element.range);
|
|
360
|
-
}
|
|
361
|
-
if (element instanceof RelatedInformation) {
|
|
362
|
-
return withSelection(element.raw.resource, element.raw);
|
|
363
|
-
}
|
|
364
|
-
return null;
|
|
365
|
-
}),
|
|
366
|
-
expandOnlyOnTwistieClick: (e) => e instanceof Marker && e.relatedInformation.length > 0,
|
|
367
|
-
overrideStyles: {
|
|
368
|
-
listBackground: this.getBackgroundColor()
|
|
369
|
-
},
|
|
370
|
-
selectionNavigation: true,
|
|
371
|
-
multipleSelectionSupport: true,
|
|
372
|
-
});
|
|
373
|
-
onDidChangeRenderNodeCount.input = tree.onDidChangeRenderNodeCount;
|
|
374
|
-
return tree;
|
|
375
|
-
}
|
|
376
|
-
collapseAll() {
|
|
377
|
-
this.widget.collapseMarkers();
|
|
378
|
-
}
|
|
379
|
-
setMultiline(multiline) {
|
|
380
|
-
this.markersViewModel.multiline = multiline;
|
|
381
|
-
}
|
|
382
|
-
setViewMode(viewMode) {
|
|
383
|
-
this.markersViewModel.viewMode = viewMode;
|
|
384
|
-
}
|
|
385
|
-
onDidChangeMarkersViewVisibility(visible) {
|
|
386
|
-
this.onVisibleDisposables.clear();
|
|
387
|
-
if (visible) {
|
|
388
|
-
for (const disposable of this.reInitialize()) {
|
|
389
|
-
this.onVisibleDisposables.add(disposable);
|
|
390
|
-
}
|
|
391
|
-
this.refreshPanel();
|
|
392
|
-
}
|
|
393
|
-
}
|
|
394
|
-
reInitialize() {
|
|
395
|
-
const disposables = [];
|
|
396
|
-
const readMarkers = (resource) => this.markerService.read({ resource, severities: MarkerSeverity.Error | MarkerSeverity.Warning | MarkerSeverity.Info });
|
|
397
|
-
this.markersModel.setResourceMarkers(( groupBy(readMarkers(), compareMarkersByUri).map(group => [group[0].resource, group])));
|
|
398
|
-
disposables.push(Event.debounce(this.markerService.onMarkerChanged, (resourcesMap, resources) => {
|
|
399
|
-
resourcesMap = resourcesMap || ( new ResourceMap());
|
|
400
|
-
resources.forEach(resource => resourcesMap.set(resource, resource));
|
|
401
|
-
return resourcesMap;
|
|
402
|
-
}, 64)(resourcesMap => {
|
|
403
|
-
this.markersModel.setResourceMarkers(( [...( resourcesMap.values())].map(resource => [resource, readMarkers(resource)])));
|
|
404
|
-
}));
|
|
405
|
-
disposables.push(Event.any(this.markersModel.onDidChange, this.editorService.onDidActiveEditorChange)(changes => {
|
|
406
|
-
if (changes) {
|
|
407
|
-
this.onDidChangeModel(changes);
|
|
408
|
-
}
|
|
409
|
-
else {
|
|
410
|
-
this.onActiveEditorChanged();
|
|
411
|
-
}
|
|
412
|
-
}));
|
|
413
|
-
disposables.push(toDisposable(() => this.markersModel.reset()));
|
|
414
|
-
this.markersModel.resourceMarkers.forEach(resourceMarker => resourceMarker.markers.forEach(marker => this.markersViewModel.add(marker)));
|
|
415
|
-
disposables.push(this.markersViewModel.onDidChange(marker => this.onDidChangeViewState(marker)));
|
|
416
|
-
disposables.push(toDisposable(() => this.markersModel.resourceMarkers.forEach(resourceMarker => this.markersViewModel.remove(resourceMarker.resource))));
|
|
417
|
-
disposables.push(this.filters.onDidChange((event) => {
|
|
418
|
-
if (event.activeFile) {
|
|
419
|
-
this.refreshPanel();
|
|
420
|
-
}
|
|
421
|
-
else if (event.excludedFiles || event.showWarnings || event.showErrors || event.showInfos) {
|
|
422
|
-
this.updateFilter();
|
|
423
|
-
}
|
|
424
|
-
}));
|
|
425
|
-
disposables.push(this.filterWidget.onDidChangeFilterText(e => this.updateFilter()));
|
|
426
|
-
disposables.push(toDisposable(() => { this.cachedFilterStats = undefined; }));
|
|
427
|
-
disposables.push(toDisposable(() => this.rangeHighlightDecorations.removeHighlightRange()));
|
|
428
|
-
return disposables;
|
|
429
|
-
}
|
|
430
|
-
onDidChangeModel(change) {
|
|
431
|
-
const resourceMarkers = [...change.added, ...change.removed, ...change.updated];
|
|
432
|
-
const resources = [];
|
|
433
|
-
for (const { resource } of resourceMarkers) {
|
|
434
|
-
this.markersViewModel.remove(resource);
|
|
435
|
-
const resourceMarkers = this.markersModel.getResourceMarkers(resource);
|
|
436
|
-
if (resourceMarkers) {
|
|
437
|
-
for (const marker of resourceMarkers.markers) {
|
|
438
|
-
this.markersViewModel.add(marker);
|
|
439
|
-
}
|
|
440
|
-
}
|
|
441
|
-
resources.push(resource);
|
|
442
|
-
}
|
|
443
|
-
this.currentResourceGotAddedToMarkersData = this.currentResourceGotAddedToMarkersData || this.isCurrentResourceGotAddedToMarkersData(resources);
|
|
444
|
-
this.refreshPanel(change);
|
|
445
|
-
this.updateRangeHighlights();
|
|
446
|
-
if (this.currentResourceGotAddedToMarkersData) {
|
|
447
|
-
this.autoReveal();
|
|
448
|
-
this.currentResourceGotAddedToMarkersData = false;
|
|
449
|
-
}
|
|
450
|
-
}
|
|
451
|
-
onDidChangeViewMode() {
|
|
452
|
-
if (this.widgetContainer && this.widget) {
|
|
453
|
-
this.widgetContainer.textContent = '';
|
|
454
|
-
this.widgetDisposables.clear();
|
|
455
|
-
}
|
|
456
|
-
const selection = ( new Set());
|
|
457
|
-
for (const marker of this.widget.getSelection()) {
|
|
458
|
-
if (marker instanceof ResourceMarkers) {
|
|
459
|
-
marker.markers.forEach(m => selection.add(m));
|
|
460
|
-
}
|
|
461
|
-
else if (marker instanceof Marker || marker instanceof MarkerTableItem) {
|
|
462
|
-
selection.add(marker);
|
|
463
|
-
}
|
|
464
|
-
}
|
|
465
|
-
const focus = ( new Set());
|
|
466
|
-
for (const marker of this.widget.getFocus()) {
|
|
467
|
-
if (marker instanceof Marker || marker instanceof MarkerTableItem) {
|
|
468
|
-
focus.add(marker);
|
|
469
|
-
}
|
|
470
|
-
}
|
|
471
|
-
this.createWidget(this.widgetContainer);
|
|
472
|
-
this.refreshPanel();
|
|
473
|
-
if (selection.size > 0) {
|
|
474
|
-
this.widget.setMarkerSelection(Array.from(selection), Array.from(focus));
|
|
475
|
-
this.widget.domFocus();
|
|
476
|
-
}
|
|
477
|
-
}
|
|
478
|
-
isCurrentResourceGotAddedToMarkersData(changedResources) {
|
|
479
|
-
const currentlyActiveResource = this.currentActiveResource;
|
|
480
|
-
if (!currentlyActiveResource) {
|
|
481
|
-
return false;
|
|
482
|
-
}
|
|
483
|
-
const resourceForCurrentActiveResource = this.getResourceForCurrentActiveResource();
|
|
484
|
-
if (resourceForCurrentActiveResource) {
|
|
485
|
-
return false;
|
|
486
|
-
}
|
|
487
|
-
return ( changedResources.some(r => ( r.toString()) === ( currentlyActiveResource.toString())));
|
|
488
|
-
}
|
|
489
|
-
onActiveEditorChanged() {
|
|
490
|
-
this.setCurrentActiveEditor();
|
|
491
|
-
if (this.filters.activeFile) {
|
|
492
|
-
this.refreshPanel();
|
|
493
|
-
}
|
|
494
|
-
this.autoReveal();
|
|
495
|
-
}
|
|
496
|
-
setCurrentActiveEditor() {
|
|
497
|
-
const activeEditor = this.editorService.activeEditor;
|
|
498
|
-
this.currentActiveResource = activeEditor ? EditorResourceAccessor.getOriginalUri(activeEditor, { supportSideBySide: SideBySideEditor.PRIMARY }) ?? null : null;
|
|
499
|
-
}
|
|
500
|
-
onSelected() {
|
|
501
|
-
const selection = this.widget.getSelection();
|
|
502
|
-
if (selection && selection.length > 0) {
|
|
503
|
-
this.lastSelectedRelativeTop = this.widget.getRelativeTop(selection[0]) || 0;
|
|
504
|
-
}
|
|
505
|
-
}
|
|
506
|
-
hasNoProblems() {
|
|
507
|
-
const { total, filtered } = this.getFilterStats();
|
|
508
|
-
return total === 0 || filtered === 0;
|
|
509
|
-
}
|
|
510
|
-
renderContent() {
|
|
511
|
-
this.cachedFilterStats = undefined;
|
|
512
|
-
this.resetWidget();
|
|
513
|
-
this.toggleVisibility(this.hasNoProblems());
|
|
514
|
-
this.renderMessage();
|
|
515
|
-
}
|
|
516
|
-
renderMessage() {
|
|
517
|
-
if (!this.messageBoxContainer || !this.ariaLabelElement) {
|
|
518
|
-
return;
|
|
519
|
-
}
|
|
520
|
-
dom.clearNode(this.messageBoxContainer);
|
|
521
|
-
const { total, filtered } = this.getFilterStats();
|
|
522
|
-
if (filtered === 0) {
|
|
523
|
-
this.messageBoxContainer.style.display = 'block';
|
|
524
|
-
this.messageBoxContainer.setAttribute('tabIndex', '0');
|
|
525
|
-
if (this.filters.activeFile) {
|
|
526
|
-
this.renderFilterMessageForActiveFile(this.messageBoxContainer);
|
|
527
|
-
}
|
|
528
|
-
else {
|
|
529
|
-
if (total > 0) {
|
|
530
|
-
this.renderFilteredByFilterMessage(this.messageBoxContainer);
|
|
531
|
-
}
|
|
532
|
-
else {
|
|
533
|
-
this.renderNoProblemsMessage(this.messageBoxContainer);
|
|
534
|
-
}
|
|
535
|
-
}
|
|
536
|
-
}
|
|
537
|
-
else {
|
|
538
|
-
this.messageBoxContainer.style.display = 'none';
|
|
539
|
-
if (filtered === total) {
|
|
540
|
-
this.setAriaLabel(( localize('No problems filtered', "Showing {0} problems", total)));
|
|
541
|
-
}
|
|
542
|
-
else {
|
|
543
|
-
this.setAriaLabel(( localize('problems filtered', "Showing {0} of {1} problems", filtered, total)));
|
|
544
|
-
}
|
|
545
|
-
this.messageBoxContainer.removeAttribute('tabIndex');
|
|
546
|
-
}
|
|
547
|
-
}
|
|
548
|
-
renderFilterMessageForActiveFile(container) {
|
|
549
|
-
if (this.currentActiveResource && this.markersModel.getResourceMarkers(this.currentActiveResource)) {
|
|
550
|
-
this.renderFilteredByFilterMessage(container);
|
|
551
|
-
}
|
|
552
|
-
else {
|
|
553
|
-
this.renderNoProblemsMessageForActiveFile(container);
|
|
554
|
-
}
|
|
555
|
-
}
|
|
556
|
-
renderFilteredByFilterMessage(container) {
|
|
557
|
-
const span1 = dom.append(container, dom.$('span'));
|
|
558
|
-
span1.textContent = Messages.MARKERS_PANEL_NO_PROBLEMS_FILTERS;
|
|
559
|
-
const link = dom.append(container, dom.$('a.messageAction'));
|
|
560
|
-
link.textContent = ( localize('clearFilter', "Clear Filters"));
|
|
561
|
-
link.setAttribute('tabIndex', '0');
|
|
562
|
-
const span2 = dom.append(container, dom.$('span'));
|
|
563
|
-
span2.textContent = '.';
|
|
564
|
-
dom.addStandardDisposableListener(link, dom.EventType.CLICK, () => this.clearFilters());
|
|
565
|
-
dom.addStandardDisposableListener(link, dom.EventType.KEY_DOWN, (e) => {
|
|
566
|
-
if (e.equals(3 ) || e.equals(10 )) {
|
|
567
|
-
this.clearFilters();
|
|
568
|
-
e.stopPropagation();
|
|
569
|
-
}
|
|
570
|
-
});
|
|
571
|
-
this.setAriaLabel(Messages.MARKERS_PANEL_NO_PROBLEMS_FILTERS);
|
|
572
|
-
}
|
|
573
|
-
renderNoProblemsMessageForActiveFile(container) {
|
|
574
|
-
const span = dom.append(container, dom.$('span'));
|
|
575
|
-
span.textContent = Messages.MARKERS_PANEL_NO_PROBLEMS_ACTIVE_FILE_BUILT;
|
|
576
|
-
this.setAriaLabel(Messages.MARKERS_PANEL_NO_PROBLEMS_ACTIVE_FILE_BUILT);
|
|
577
|
-
}
|
|
578
|
-
renderNoProblemsMessage(container) {
|
|
579
|
-
const span = dom.append(container, dom.$('span'));
|
|
580
|
-
span.textContent = Messages.MARKERS_PANEL_NO_PROBLEMS_BUILT;
|
|
581
|
-
this.setAriaLabel(Messages.MARKERS_PANEL_NO_PROBLEMS_BUILT);
|
|
582
|
-
}
|
|
583
|
-
setAriaLabel(label) {
|
|
584
|
-
this.widget.setAriaLabel(label);
|
|
585
|
-
this.ariaLabelElement.setAttribute('aria-label', label);
|
|
586
|
-
}
|
|
587
|
-
clearFilters() {
|
|
588
|
-
this.filterWidget.setFilterText('');
|
|
589
|
-
this.filters.excludedFiles = false;
|
|
590
|
-
this.filters.showErrors = true;
|
|
591
|
-
this.filters.showWarnings = true;
|
|
592
|
-
this.filters.showInfos = true;
|
|
593
|
-
}
|
|
594
|
-
autoReveal(focus = false) {
|
|
595
|
-
if (this.filters.activeFile) {
|
|
596
|
-
return;
|
|
597
|
-
}
|
|
598
|
-
const autoReveal = this.configurationService.getValue('problems.autoReveal');
|
|
599
|
-
if (typeof autoReveal === 'boolean' && autoReveal) {
|
|
600
|
-
const currentActiveResource = this.getResourceForCurrentActiveResource();
|
|
601
|
-
this.widget.revealMarkers(currentActiveResource, focus, this.lastSelectedRelativeTop);
|
|
602
|
-
}
|
|
603
|
-
}
|
|
604
|
-
getResourceForCurrentActiveResource() {
|
|
605
|
-
return this.currentActiveResource ? this.markersModel.getResourceMarkers(this.currentActiveResource) : null;
|
|
606
|
-
}
|
|
607
|
-
updateRangeHighlights() {
|
|
608
|
-
this.rangeHighlightDecorations.removeHighlightRange();
|
|
609
|
-
if (this.widget.getHTMLElement() === document.activeElement) {
|
|
610
|
-
this.highlightCurrentSelectedMarkerRange();
|
|
611
|
-
}
|
|
612
|
-
}
|
|
613
|
-
highlightCurrentSelectedMarkerRange() {
|
|
614
|
-
const selections = this.widget.getSelection() ?? [];
|
|
615
|
-
if (selections.length !== 1) {
|
|
616
|
-
return;
|
|
617
|
-
}
|
|
618
|
-
const selection = selections[0];
|
|
619
|
-
if (!(selection instanceof Marker)) {
|
|
620
|
-
return;
|
|
621
|
-
}
|
|
622
|
-
this.rangeHighlightDecorations.highlightRange(selection);
|
|
623
|
-
}
|
|
624
|
-
onContextMenu(e) {
|
|
625
|
-
const element = e.element;
|
|
626
|
-
if (!element) {
|
|
627
|
-
return;
|
|
628
|
-
}
|
|
629
|
-
e.browserEvent.preventDefault();
|
|
630
|
-
e.browserEvent.stopPropagation();
|
|
631
|
-
this.contextMenuService.showContextMenu({
|
|
632
|
-
getAnchor: () => e.anchor,
|
|
633
|
-
menuId: MenuId.ProblemsPanelContext,
|
|
634
|
-
contextKeyService: this.widget.contextKeyService,
|
|
635
|
-
getActions: () => this.getMenuActions(element),
|
|
636
|
-
getActionViewItem: (action) => {
|
|
637
|
-
const keybinding = this.keybindingService.lookupKeybinding(action.id);
|
|
638
|
-
if (keybinding) {
|
|
639
|
-
return ( new ActionViewItem(action, action, { label: true, keybinding: keybinding.getLabel() }));
|
|
640
|
-
}
|
|
641
|
-
return undefined;
|
|
642
|
-
},
|
|
643
|
-
onHide: (wasCancelled) => {
|
|
644
|
-
if (wasCancelled) {
|
|
645
|
-
this.widget.domFocus();
|
|
646
|
-
}
|
|
647
|
-
}
|
|
648
|
-
});
|
|
649
|
-
}
|
|
650
|
-
getMenuActions(element) {
|
|
651
|
-
const result = [];
|
|
652
|
-
if (element instanceof Marker) {
|
|
653
|
-
const viewModel = this.markersViewModel.getViewModel(element);
|
|
654
|
-
if (viewModel) {
|
|
655
|
-
const quickFixActions = viewModel.quickFixAction.quickFixes;
|
|
656
|
-
if (quickFixActions.length) {
|
|
657
|
-
result.push(...quickFixActions);
|
|
658
|
-
result.push(( new Separator()));
|
|
659
|
-
}
|
|
660
|
-
}
|
|
661
|
-
}
|
|
662
|
-
return result;
|
|
663
|
-
}
|
|
664
|
-
getFocusElement() {
|
|
665
|
-
return this.widget.getFocus()[0] ?? undefined;
|
|
666
|
-
}
|
|
667
|
-
getFocusedSelectedElements() {
|
|
668
|
-
const focus = this.getFocusElement();
|
|
669
|
-
if (!focus) {
|
|
670
|
-
return null;
|
|
671
|
-
}
|
|
672
|
-
const selection = this.widget.getSelection();
|
|
673
|
-
if (selection.includes(focus)) {
|
|
674
|
-
const result = [];
|
|
675
|
-
for (const selected of selection) {
|
|
676
|
-
if (selected) {
|
|
677
|
-
result.push(selected);
|
|
678
|
-
}
|
|
679
|
-
}
|
|
680
|
-
return result;
|
|
681
|
-
}
|
|
682
|
-
else {
|
|
683
|
-
return [focus];
|
|
684
|
-
}
|
|
685
|
-
}
|
|
686
|
-
getAllResourceMarkers() {
|
|
687
|
-
return this.markersModel.resourceMarkers;
|
|
688
|
-
}
|
|
689
|
-
getFilterStats() {
|
|
690
|
-
if (!this.cachedFilterStats) {
|
|
691
|
-
this.cachedFilterStats = {
|
|
692
|
-
total: this.markersModel.total,
|
|
693
|
-
filtered: this.widget?.getVisibleItemCount() ?? 0
|
|
694
|
-
};
|
|
695
|
-
}
|
|
696
|
-
return this.cachedFilterStats;
|
|
697
|
-
}
|
|
698
|
-
toggleVisibility(hide) {
|
|
699
|
-
this.widget.toggleVisibility(hide);
|
|
700
|
-
this.layoutBodyContent();
|
|
701
|
-
}
|
|
702
|
-
saveState() {
|
|
703
|
-
this.panelState['filter'] = this.filterWidget.getFilterText();
|
|
704
|
-
this.panelState['filterHistory'] = this.filters.filterHistory;
|
|
705
|
-
this.panelState['showErrors'] = this.filters.showErrors;
|
|
706
|
-
this.panelState['showWarnings'] = this.filters.showWarnings;
|
|
707
|
-
this.panelState['showInfos'] = this.filters.showInfos;
|
|
708
|
-
this.panelState['useFilesExclude'] = this.filters.excludedFiles;
|
|
709
|
-
this.panelState['activeFile'] = this.filters.activeFile;
|
|
710
|
-
this.panelState['multiline'] = this.markersViewModel.multiline;
|
|
711
|
-
this.panelState['viewMode'] = this.markersViewModel.viewMode;
|
|
712
|
-
super.saveState();
|
|
713
|
-
}
|
|
714
|
-
dispose() {
|
|
715
|
-
super.dispose();
|
|
716
|
-
}
|
|
717
|
-
};
|
|
718
|
-
MarkersView = ( __decorate([
|
|
719
|
-
( __param(1, IInstantiationService)),
|
|
720
|
-
( __param(2, IViewDescriptorService)),
|
|
721
|
-
( __param(3, IEditorService)),
|
|
722
|
-
( __param(4, IConfigurationService)),
|
|
723
|
-
( __param(5, ITelemetryService)),
|
|
724
|
-
( __param(6, IMarkerService)),
|
|
725
|
-
( __param(7, IContextKeyService)),
|
|
726
|
-
( __param(8, IWorkspaceContextService)),
|
|
727
|
-
( __param(9, IContextMenuService)),
|
|
728
|
-
( __param(10, IUriIdentityService)),
|
|
729
|
-
( __param(11, IKeybindingService)),
|
|
730
|
-
( __param(12, IStorageService)),
|
|
731
|
-
( __param(13, IOpenerService)),
|
|
732
|
-
( __param(14, IThemeService))
|
|
733
|
-
], MarkersView));
|
|
734
|
-
let MarkersTree = class MarkersTree extends WorkbenchObjectTree {
|
|
735
|
-
constructor(user, container, delegate, renderers, options, instantiationService, contextKeyService, listService, themeService, configurationService) {
|
|
736
|
-
super(user, container, delegate, renderers, options, instantiationService, contextKeyService, listService, configurationService);
|
|
737
|
-
this.container = container;
|
|
738
|
-
this.visibilityContextKey = MarkersContextKeys.MarkersTreeVisibilityContextKey.bindTo(contextKeyService);
|
|
739
|
-
}
|
|
740
|
-
collapseMarkers() {
|
|
741
|
-
this.collapseAll();
|
|
742
|
-
this.setSelection([]);
|
|
743
|
-
this.setFocus([]);
|
|
744
|
-
this.getHTMLElement().focus();
|
|
745
|
-
this.focusFirst();
|
|
746
|
-
}
|
|
747
|
-
filterMarkers() {
|
|
748
|
-
this.refilter();
|
|
749
|
-
}
|
|
750
|
-
getVisibleItemCount() {
|
|
751
|
-
let filtered = 0;
|
|
752
|
-
const root = this.getNode();
|
|
753
|
-
for (const resourceMarkerNode of root.children) {
|
|
754
|
-
for (const markerNode of resourceMarkerNode.children) {
|
|
755
|
-
if (resourceMarkerNode.visible && markerNode.visible) {
|
|
756
|
-
filtered++;
|
|
757
|
-
}
|
|
758
|
-
}
|
|
759
|
-
}
|
|
760
|
-
return filtered;
|
|
761
|
-
}
|
|
762
|
-
isVisible() {
|
|
763
|
-
return !this.container.classList.contains('hidden');
|
|
764
|
-
}
|
|
765
|
-
toggleVisibility(hide) {
|
|
766
|
-
this.visibilityContextKey.set(!hide);
|
|
767
|
-
this.container.classList.toggle('hidden', hide);
|
|
768
|
-
}
|
|
769
|
-
reset(resourceMarkers) {
|
|
770
|
-
this.setChildren(null, ( Iterable.map(
|
|
771
|
-
resourceMarkers,
|
|
772
|
-
m => ({ element: m, children: createResourceMarkersIterator(m) })
|
|
773
|
-
)));
|
|
774
|
-
}
|
|
775
|
-
revealMarkers(activeResource, focus, lastSelectedRelativeTop) {
|
|
776
|
-
if (activeResource) {
|
|
777
|
-
if (this.hasElement(activeResource)) {
|
|
778
|
-
if (!this.isCollapsed(activeResource) && this.hasSelectedMarkerFor(activeResource)) {
|
|
779
|
-
this.reveal(this.getSelection()[0], lastSelectedRelativeTop);
|
|
780
|
-
if (focus) {
|
|
781
|
-
this.setFocus(this.getSelection());
|
|
782
|
-
}
|
|
783
|
-
}
|
|
784
|
-
else {
|
|
785
|
-
this.expand(activeResource);
|
|
786
|
-
this.reveal(activeResource, 0);
|
|
787
|
-
if (focus) {
|
|
788
|
-
this.setFocus([activeResource]);
|
|
789
|
-
this.setSelection([activeResource]);
|
|
790
|
-
}
|
|
791
|
-
}
|
|
792
|
-
}
|
|
793
|
-
}
|
|
794
|
-
else if (focus) {
|
|
795
|
-
this.setSelection([]);
|
|
796
|
-
this.focusFirst();
|
|
797
|
-
}
|
|
798
|
-
}
|
|
799
|
-
setAriaLabel(label) {
|
|
800
|
-
this.ariaLabel = label;
|
|
801
|
-
}
|
|
802
|
-
setMarkerSelection(selection, focus) {
|
|
803
|
-
if (this.isVisible()) {
|
|
804
|
-
if (selection && selection.length > 0) {
|
|
805
|
-
this.setSelection(( selection.map(m => this.findMarkerNode(m))));
|
|
806
|
-
if (focus && focus.length > 0) {
|
|
807
|
-
this.setFocus(( focus.map(f => this.findMarkerNode(f))));
|
|
808
|
-
}
|
|
809
|
-
else {
|
|
810
|
-
this.setFocus([this.findMarkerNode(selection[0])]);
|
|
811
|
-
}
|
|
812
|
-
this.reveal(this.findMarkerNode(selection[0]));
|
|
813
|
-
}
|
|
814
|
-
else if (this.getSelection().length === 0) {
|
|
815
|
-
const firstVisibleElement = this.firstVisibleElement;
|
|
816
|
-
const marker = firstVisibleElement ?
|
|
817
|
-
firstVisibleElement instanceof ResourceMarkers ? firstVisibleElement.markers[0] :
|
|
818
|
-
firstVisibleElement instanceof Marker ? firstVisibleElement : undefined
|
|
819
|
-
: undefined;
|
|
820
|
-
if (marker) {
|
|
821
|
-
this.setSelection([marker]);
|
|
822
|
-
this.setFocus([marker]);
|
|
823
|
-
this.reveal(marker);
|
|
824
|
-
}
|
|
825
|
-
}
|
|
826
|
-
}
|
|
827
|
-
}
|
|
828
|
-
update(resourceMarkers) {
|
|
829
|
-
for (const resourceMarker of resourceMarkers) {
|
|
830
|
-
this.setChildren(resourceMarker, createResourceMarkersIterator(resourceMarker));
|
|
831
|
-
this.rerender(resourceMarker);
|
|
832
|
-
}
|
|
833
|
-
}
|
|
834
|
-
updateMarker(marker) {
|
|
835
|
-
this.rerender(marker);
|
|
836
|
-
}
|
|
837
|
-
findMarkerNode(marker) {
|
|
838
|
-
for (const resourceNode of this.getNode().children) {
|
|
839
|
-
for (const markerNode of resourceNode.children) {
|
|
840
|
-
if (markerNode.element instanceof Marker && markerNode.element.marker === marker.marker) {
|
|
841
|
-
return markerNode.element;
|
|
842
|
-
}
|
|
843
|
-
}
|
|
844
|
-
}
|
|
845
|
-
return null;
|
|
846
|
-
}
|
|
847
|
-
hasSelectedMarkerFor(resource) {
|
|
848
|
-
const selectedElement = this.getSelection();
|
|
849
|
-
if (selectedElement && selectedElement.length > 0) {
|
|
850
|
-
if (selectedElement[0] instanceof Marker) {
|
|
851
|
-
if (( resource.has(selectedElement[0].marker.resource))) {
|
|
852
|
-
return true;
|
|
853
|
-
}
|
|
854
|
-
}
|
|
855
|
-
}
|
|
856
|
-
return false;
|
|
857
|
-
}
|
|
858
|
-
dispose() {
|
|
859
|
-
super.dispose();
|
|
860
|
-
}
|
|
861
|
-
layout(height, width) {
|
|
862
|
-
this.container.style.height = `${height}px`;
|
|
863
|
-
super.layout(height, width);
|
|
864
|
-
}
|
|
865
|
-
};
|
|
866
|
-
MarkersTree = ( __decorate([
|
|
867
|
-
( __param(5, IInstantiationService)),
|
|
868
|
-
( __param(6, IContextKeyService)),
|
|
869
|
-
( __param(7, IListService)),
|
|
870
|
-
( __param(8, IThemeService)),
|
|
871
|
-
( __param(9, IConfigurationService))
|
|
872
|
-
], MarkersTree));
|
|
873
|
-
export { MarkersView };
|