@codingame/monaco-vscode-api 4.1.0 → 4.1.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/missing-services.js +11 -2
- package/package.json +8 -8
- package/vscode/src/vs/base/common/objects.js +1 -1
- package/vscode/src/vs/editor/browser/coreCommands.js +1 -1
- package/vscode/src/vs/platform/telemetry/common/telemetry.js +1 -2
- package/vscode/src/vs/platform/telemetry/common/telemetryUtils.js +3 -7
- package/vscode/src/vs/workbench/common/editor.js +1 -5
- package/vscode/src/vs/workbench/contrib/chat/common/chatService.js +1 -2
- package/vscode/src/vs/workbench/contrib/logs/common/logsActions.js +6 -12
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/utils.js +1 -1
- package/vscode/src/vs/workbench/services/issue/browser/issueTroubleshoot.js +418 -0
- package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfile.js +2 -7
- package/override/vs/platform/userDataSync/common/extensionsSync.js +0 -4
- package/override/vs/platform/userDataSync/common/globalStateSync.js +0 -5
- package/vscode/src/vs/base/browser/hash.js +0 -15
- package/vscode/src/vs/base/browser/ui/icons/iconSelectBox.css.js +0 -4
- package/vscode/src/vs/base/browser/ui/icons/iconSelectBox.js +0 -246
- package/vscode/src/vs/base/common/amd.js +0 -101
- package/vscode/src/vs/base/common/console.js +0 -60
- package/vscode/src/vs/base/common/paging.js +0 -116
- package/vscode/src/vs/base/common/parsers.js +0 -43
- package/vscode/src/vs/base/common/processes.js +0 -25
- package/vscode/src/vs/base/parts/request/browser/request.js +0 -60
- 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/editor/contrib/quickAccess/browser/commandsQuickAccess.js +0 -23
- package/vscode/src/vs/platform/debug/common/extensionHostDebugIpc.js +0 -71
- package/vscode/src/vs/platform/download/common/downloadIpc.js +0 -16
- package/vscode/src/vs/platform/download/common/downloadService.js +0 -31
- package/vscode/src/vs/platform/extensionManagement/common/abstractExtensionManagementService.js +0 -748
- package/vscode/src/vs/platform/extensionManagement/common/extensionGalleryService.js +0 -852
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagementCLI.js +0 -495
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagementIpc.js +0 -120
- package/vscode/src/vs/platform/extensionManagement/common/extensionTipsService.js +0 -65
- package/vscode/src/vs/platform/extensionManagement/common/unsupportedExtensionsMigration.js +0 -56
- package/vscode/src/vs/platform/extensionResourceLoader/browser/extensionResourceLoaderService.js +0 -42
- package/vscode/src/vs/platform/externalServices/common/marketplace.js +0 -15
- package/vscode/src/vs/platform/externalTerminal/common/externalTerminal.js +0 -3
- package/vscode/src/vs/platform/files/browser/indexedDBFileSystemProvider.js +0 -404
- package/vscode/src/vs/platform/files/common/fileService.js +0 -986
- package/vscode/src/vs/platform/files/common/io.js +0 -75
- package/vscode/src/vs/platform/issue/common/issueReporterUtil.js +0 -15
- package/vscode/src/vs/platform/keyboardLayout/common/keyboardConfig.js +0 -48
- package/vscode/src/vs/platform/keyboardLayout/common/keyboardMapper.js +0 -23
- package/vscode/src/vs/platform/lifecycle/common/lifecycle.js +0 -25
- package/vscode/src/vs/platform/log/common/fileLog.js +0 -105
- package/vscode/src/vs/platform/log/common/logIpc.js +0 -26
- package/vscode/src/vs/platform/quickinput/browser/commandsQuickAccess.js +0 -355
- package/vscode/src/vs/platform/quickinput/browser/helpQuickAccess.js +0 -65
- package/vscode/src/vs/platform/remote/browser/remoteAuthorityResolverService.js +0 -108
- package/vscode/src/vs/platform/remote/common/managedSocket.js +0 -96
- package/vscode/src/vs/platform/request/browser/requestService.js +0 -28
- package/vscode/src/vs/platform/request/common/requestIpc.js +0 -18
- package/vscode/src/vs/platform/telemetry/common/commonProperties.js +0 -11
- package/vscode/src/vs/platform/terminal/common/capabilities/naiveCwdDetectionCapability.js +0 -22
- 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/terminalLogService.js +0 -49
- package/vscode/src/vs/platform/terminal/common/terminalPlatformConfiguration.js +0 -518
- package/vscode/src/vs/platform/terminal/common/terminalProfiles.js +0 -111
- package/vscode/src/vs/platform/terminal/common/terminalRecorder.js +0 -66
- package/vscode/src/vs/platform/update/common/update.config.contribution.js +0 -98
- package/vscode/src/vs/platform/url/common/urlService.js +0 -20
- package/vscode/src/vs/platform/userDataProfile/browser/userDataProfile.js +0 -93
- package/vscode/src/vs/platform/userDataProfile/common/userDataProfileStorageService.js +0 -8
- package/vscode/src/vs/platform/userDataSync/common/extensionsSync.js +0 -256
- package/vscode/src/vs/platform/userDataSync/common/globalStateSync.js +0 -120
- package/vscode/src/vs/platform/userDataSync/common/keybindingsMerge.js +0 -275
- package/vscode/src/vs/platform/userDataSync/common/keybindingsSync.js +0 -316
- package/vscode/src/vs/platform/userDataSync/common/settingsSync.js +0 -314
- package/vscode/src/vs/platform/userDataSync/common/snippetsMerge.js +0 -125
- package/vscode/src/vs/platform/userDataSync/common/snippetsSync.js +0 -474
- package/vscode/src/vs/platform/userDataSync/common/tasksSync.js +0 -242
- package/vscode/src/vs/platform/userDataSync/common/userDataAutoSyncService.js +0 -464
- package/vscode/src/vs/platform/userDataSync/common/userDataProfilesManifestMerge.js +0 -90
- package/vscode/src/vs/platform/userDataSync/common/userDataProfilesManifestSync.js +0 -257
- package/vscode/src/vs/platform/userDataSync/common/userDataSyncEnablementService.js +0 -75
- package/vscode/src/vs/platform/userDataSync/common/userDataSyncLocalStoreService.js +0 -148
- package/vscode/src/vs/platform/userDataSync/common/userDataSyncLog.js +0 -39
- package/vscode/src/vs/platform/userDataSync/common/userDataSyncResourceProvider.js +0 -447
- package/vscode/src/vs/platform/userDataSync/common/userDataSyncService.js +0 -781
- package/vscode/src/vs/workbench/api/browser/extensionHost.contribution.js +0 -103
- package/vscode/src/vs/workbench/api/browser/mainThreadAiEmbeddingVector.js +0 -29
- package/vscode/src/vs/workbench/api/browser/mainThreadAiRelatedInformation.js +0 -33
- package/vscode/src/vs/workbench/api/browser/mainThreadAuthentication.js +0 -252
- package/vscode/src/vs/workbench/api/browser/mainThreadBulkEdits.js +0 -66
- package/vscode/src/vs/workbench/api/browser/mainThreadCLICommands.js +0 -102
- package/vscode/src/vs/workbench/api/browser/mainThreadChat.js +0 -68
- package/vscode/src/vs/workbench/api/browser/mainThreadChatAgents2.js +0 -205
- package/vscode/src/vs/workbench/api/browser/mainThreadChatVariables.js +0 -39
- package/vscode/src/vs/workbench/api/browser/mainThreadClipboard.js +0 -22
- package/vscode/src/vs/workbench/api/browser/mainThreadCodeInsets.js +0 -106
- package/vscode/src/vs/workbench/api/browser/mainThreadCommands.js +0 -96
- package/vscode/src/vs/workbench/api/browser/mainThreadComments.js +0 -558
- package/vscode/src/vs/workbench/api/browser/mainThreadConfiguration.js +0 -78
- package/vscode/src/vs/workbench/api/browser/mainThreadConsole.js +0 -33
- package/vscode/src/vs/workbench/api/browser/mainThreadCustomEditors.js +0 -577
- package/vscode/src/vs/workbench/api/browser/mainThreadDebugService.js +0 -433
- package/vscode/src/vs/workbench/api/browser/mainThreadDecorations.js +0 -100
- package/vscode/src/vs/workbench/api/browser/mainThreadDiagnostics.js +0 -67
- package/vscode/src/vs/workbench/api/browser/mainThreadDialogs.js +0 -66
- package/vscode/src/vs/workbench/api/browser/mainThreadDocumentContentProviders.js +0 -77
- package/vscode/src/vs/workbench/api/browser/mainThreadDocuments.js +0 -251
- package/vscode/src/vs/workbench/api/browser/mainThreadDocumentsAndEditors.js +0 -368
- package/vscode/src/vs/workbench/api/browser/mainThreadDownloadService.js +0 -20
- package/vscode/src/vs/workbench/api/browser/mainThreadEditSessionIdentityParticipant.js +0 -39
- package/vscode/src/vs/workbench/api/browser/mainThreadEditor.js +0 -412
- package/vscode/src/vs/workbench/api/browser/mainThreadEditorTabs.js +0 -499
- package/vscode/src/vs/workbench/api/browser/mainThreadEditors.js +0 -225
- package/vscode/src/vs/workbench/api/browser/mainThreadErrors.js +0 -22
- package/vscode/src/vs/workbench/api/browser/mainThreadExtensionService.js +0 -315
- package/vscode/src/vs/workbench/api/browser/mainThreadFileSystem.js +0 -206
- package/vscode/src/vs/workbench/api/browser/mainThreadFileSystemEventService.js +0 -367
- package/vscode/src/vs/workbench/api/browser/mainThreadInlineChat.js +0 -70
- package/vscode/src/vs/workbench/api/browser/mainThreadInteractive.js +0 -26
- package/vscode/src/vs/workbench/api/browser/mainThreadIssueReporter.js +0 -48
- package/vscode/src/vs/workbench/api/browser/mainThreadLabelService.js +0 -25
- package/vscode/src/vs/workbench/api/browser/mainThreadLanguageFeatures.js +0 -1014
- package/vscode/src/vs/workbench/api/browser/mainThreadLanguageModels.js +0 -183
- package/vscode/src/vs/workbench/api/browser/mainThreadLanguages.js +0 -76
- package/vscode/src/vs/workbench/api/browser/mainThreadLocalization.js +0 -33
- package/vscode/src/vs/workbench/api/browser/mainThreadLogService.js +0 -76
- package/vscode/src/vs/workbench/api/browser/mainThreadManagedSockets.js +0 -91
- package/vscode/src/vs/workbench/api/browser/mainThreadMessageService.js +0 -135
- package/vscode/src/vs/workbench/api/browser/mainThreadNotebook.js +0 -192
- package/vscode/src/vs/workbench/api/browser/mainThreadNotebookDocuments.js +0 -121
- package/vscode/src/vs/workbench/api/browser/mainThreadNotebookDocumentsAndEditors.js +0 -186
- package/vscode/src/vs/workbench/api/browser/mainThreadNotebookDto.js +0 -127
- package/vscode/src/vs/workbench/api/browser/mainThreadNotebookEditors.js +0 -129
- package/vscode/src/vs/workbench/api/browser/mainThreadNotebookKernels.js +0 -372
- package/vscode/src/vs/workbench/api/browser/mainThreadNotebookRenderers.js +0 -23
- package/vscode/src/vs/workbench/api/browser/mainThreadNotebookSaveParticipant.js +0 -46
- package/vscode/src/vs/workbench/api/browser/mainThreadOutputService.js +0 -74
- package/vscode/src/vs/workbench/api/browser/mainThreadProfileContentHandlers.js +0 -36
- package/vscode/src/vs/workbench/api/browser/mainThreadProgress.js +0 -66
- package/vscode/src/vs/workbench/api/browser/mainThreadQuickDiff.js +0 -40
- package/vscode/src/vs/workbench/api/browser/mainThreadQuickOpen.js +0 -183
- package/vscode/src/vs/workbench/api/browser/mainThreadRemoteConnectionData.js +0 -28
- package/vscode/src/vs/workbench/api/browser/mainThreadSCM.js +0 -491
- package/vscode/src/vs/workbench/api/browser/mainThreadSaveParticipant.js +0 -47
- package/vscode/src/vs/workbench/api/browser/mainThreadSearch.js +0 -166
- package/vscode/src/vs/workbench/api/browser/mainThreadSecretState.js +0 -68
- package/vscode/src/vs/workbench/api/browser/mainThreadShare.js +0 -48
- package/vscode/src/vs/workbench/api/browser/mainThreadSpeech.js +0 -97
- package/vscode/src/vs/workbench/api/browser/mainThreadStatusBar.js +0 -51
- package/vscode/src/vs/workbench/api/browser/mainThreadStorage.js +0 -70
- package/vscode/src/vs/workbench/api/browser/mainThreadTask.js +0 -729
- package/vscode/src/vs/workbench/api/browser/mainThreadTelemetry.js +0 -51
- package/vscode/src/vs/workbench/api/browser/mainThreadTerminalService.js +0 -407
- package/vscode/src/vs/workbench/api/browser/mainThreadTerminalShellIntegration.js +0 -49
- package/vscode/src/vs/workbench/api/browser/mainThreadTesting.js +0 -217
- package/vscode/src/vs/workbench/api/browser/mainThreadTheming.js +0 -22
- package/vscode/src/vs/workbench/api/browser/mainThreadTimeline.js +0 -53
- package/vscode/src/vs/workbench/api/browser/mainThreadTreeViews.js +0 -310
- package/vscode/src/vs/workbench/api/browser/mainThreadTunnelService.js +0 -221
- package/vscode/src/vs/workbench/api/browser/mainThreadUriOpeners.js +0 -108
- package/vscode/src/vs/workbench/api/browser/mainThreadUrls.js +0 -59
- package/vscode/src/vs/workbench/api/browser/mainThreadWebviewManager.js +0 -27
- package/vscode/src/vs/workbench/api/browser/mainThreadWebviewPanels.js +0 -281
- package/vscode/src/vs/workbench/api/browser/mainThreadWebviewViews.js +0 -98
- package/vscode/src/vs/workbench/api/browser/mainThreadWebviews.js +0 -133
- package/vscode/src/vs/workbench/api/browser/mainThreadWindow.js +0 -55
- package/vscode/src/vs/workbench/api/browser/mainThreadWorkspace.js +0 -266
- package/vscode/src/vs/workbench/api/common/configurationExtensionPoint.js +0 -594
- package/vscode/src/vs/workbench/api/common/shared/dataTransferCache.js +0 -33
- package/vscode/src/vs/workbench/browser/actions/quickAccessActions.js +0 -227
- package/vscode/src/vs/workbench/browser/layout.js +0 -2059
- package/vscode/src/vs/workbench/browser/parts/banner/bannerPart.js +0 -233
- package/vscode/src/vs/workbench/browser/parts/banner/media/bannerpart.css.js +0 -4
- package/vscode/src/vs/workbench/browser/parts/dialogs/dialog.web.contribution.js +0 -74
- package/vscode/src/vs/workbench/browser/parts/dialogs/dialogHandler.js +0 -132
- 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 -119
- package/vscode/src/vs/workbench/browser/parts/statusbar/statusbarItem.js +0 -250
- package/vscode/src/vs/workbench/browser/parts/statusbar/statusbarModel.js +0 -249
- package/vscode/src/vs/workbench/browser/parts/statusbar/statusbarPart.js +0 -610
- package/vscode/src/vs/workbench/browser/parts/titlebar/commandCenterControl.js +0 -220
- package/vscode/src/vs/workbench/browser/parts/titlebar/media/titlebarpart.css.js +0 -4
- package/vscode/src/vs/workbench/browser/parts/titlebar/titlebarActions.js +0 -259
- package/vscode/src/vs/workbench/browser/parts/titlebar/titlebarPart.js +0 -582
- package/vscode/src/vs/workbench/common/dialogs.js +0 -36
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibility.contribution.js +0 -23
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityStatus.js +0 -112
- package/vscode/src/vs/workbench/contrib/accessibility/browser/openDiffEditorAnnouncement.js +0 -50
- package/vscode/src/vs/workbench/contrib/accessibility/browser/saveAccessibilitySignal.js +0 -18
- package/vscode/src/vs/workbench/contrib/accessibility/browser/unfocusedViewDimmingContribution.js +0 -66
- package/vscode/src/vs/workbench/contrib/bulkEdit/browser/bulkEditService.js +0 -358
- package/vscode/src/vs/workbench/contrib/bulkEdit/browser/bulkFileEdits.js +0 -362
- package/vscode/src/vs/workbench/contrib/bulkEdit/browser/bulkTextEdits.js +0 -265
- package/vscode/src/vs/workbench/contrib/bulkEdit/browser/conflicts.js +0 -78
- package/vscode/src/vs/workbench/contrib/bulkEdit/browser/preview/bulkEdit.contribution.js +0 -364
- package/vscode/src/vs/workbench/contrib/bulkEdit/browser/preview/bulkEdit.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/bulkEdit/browser/preview/bulkEditPane.js +0 -340
- package/vscode/src/vs/workbench/contrib/bulkEdit/browser/preview/bulkEditPreview.js +0 -361
- package/vscode/src/vs/workbench/contrib/bulkEdit/browser/preview/bulkEditTree.js +0 -655
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatClear.js +0 -15
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatClearActions.js +0 -113
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatCodeblockActions.js +0 -501
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatCopyActions.js +0 -80
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatFileTreeActions.js +0 -75
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatImportExport.js +0 -108
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatMoveActions.js +0 -169
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatTitleActions.js +0 -269
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.contribution.js +0 -316
- package/vscode/src/vs/workbench/contrib/chat/browser/chatAccessibilityService.js +0 -58
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContributionServiceImpl.js +0 -421
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditor.js +0 -96
- package/vscode/src/vs/workbench/contrib/chat/browser/chatQuick.js +0 -283
- package/vscode/src/vs/workbench/contrib/chat/browser/chatVariables.js +0 -88
- package/vscode/src/vs/workbench/contrib/chat/browser/chatViewPane.js +0 -183
- package/vscode/src/vs/workbench/contrib/chat/browser/contrib/chatHistoryVariables.js +0 -25
- package/vscode/src/vs/workbench/contrib/chat/browser/contrib/chatInputEditorContrib.js +0 -617
- package/vscode/src/vs/workbench/contrib/chat/common/chatServiceImpl.js +0 -598
- package/vscode/src/vs/workbench/contrib/chat/common/voiceChat.js +0 -139
- 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 -39
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/emptyTextEditorHint/emptyTextEditorHint.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/emptyTextEditorHint/emptyTextEditorHint.js +0 -389
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/outline/documentSymbolsOutline.js +0 -370
- 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 -290
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoLineQuickAccess.js +0 -86
- package/vscode/src/vs/workbench/contrib/commands/common/commands.contribution.js +0 -145
- package/vscode/src/vs/workbench/contrib/comments/browser/comments.contribution.js +0 -231
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsEditorContribution.js +0 -282
- package/vscode/src/vs/workbench/contrib/customEditor/common/customTextEditorModel.js +0 -74
- package/vscode/src/vs/workbench/contrib/debug/browser/callStackView.js +0 -1024
- package/vscode/src/vs/workbench/contrib/debug/browser/debug.contribution.js +0 -1003
- package/vscode/src/vs/workbench/contrib/debug/browser/debugANSIHandling.js +0 -345
- package/vscode/src/vs/workbench/contrib/debug/browser/debugActionViewItems.js +0 -335
- package/vscode/src/vs/workbench/contrib/debug/browser/debugAdapterManager.js +0 -430
- package/vscode/src/vs/workbench/contrib/debug/browser/debugCommands.js +0 -1037
- package/vscode/src/vs/workbench/contrib/debug/browser/debugConfigurationManager.js +0 -647
- package/vscode/src/vs/workbench/contrib/debug/browser/debugConsoleQuickAccess.js +0 -62
- package/vscode/src/vs/workbench/contrib/debug/browser/debugEditorActions.js +0 -634
- package/vscode/src/vs/workbench/contrib/debug/browser/debugEditorContribution.js +0 -738
- package/vscode/src/vs/workbench/contrib/debug/browser/debugHover.js +0 -406
- package/vscode/src/vs/workbench/contrib/debug/browser/debugMemory.js +0 -204
- package/vscode/src/vs/workbench/contrib/debug/browser/debugProgress.js +0 -78
- package/vscode/src/vs/workbench/contrib/debug/browser/debugQuickAccess.js +0 -167
- package/vscode/src/vs/workbench/contrib/debug/browser/debugService.js +0 -1269
- package/vscode/src/vs/workbench/contrib/debug/browser/debugSession.js +0 -1328
- package/vscode/src/vs/workbench/contrib/debug/browser/debugSessionPicker.js +0 -113
- package/vscode/src/vs/workbench/contrib/debug/browser/debugStatus.js +0 -75
- package/vscode/src/vs/workbench/contrib/debug/browser/debugTaskRunner.js +0 -305
- package/vscode/src/vs/workbench/contrib/debug/browser/debugTitle.js +0 -29
- package/vscode/src/vs/workbench/contrib/debug/browser/debugToolBar.js +0 -385
- package/vscode/src/vs/workbench/contrib/debug/browser/debugViewlet.js +0 -265
- package/vscode/src/vs/workbench/contrib/debug/browser/disassemblyView.js +0 -815
- package/vscode/src/vs/workbench/contrib/debug/browser/exceptionWidget.js +0 -129
- package/vscode/src/vs/workbench/contrib/debug/browser/extensionHostDebugService.js +0 -140
- package/vscode/src/vs/workbench/contrib/debug/browser/linkDetector.js +0 -260
- package/vscode/src/vs/workbench/contrib/debug/browser/loadedScriptsView.js +0 -667
- 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 -707
- package/vscode/src/vs/workbench/contrib/debug/browser/repl.js +0 -1000
- package/vscode/src/vs/workbench/contrib/debug/browser/replFilter.js +0 -46
- package/vscode/src/vs/workbench/contrib/debug/browser/replViewer.js +0 -350
- package/vscode/src/vs/workbench/contrib/debug/browser/statusbarColorProvider.js +0 -127
- package/vscode/src/vs/workbench/contrib/debug/browser/variablesView.js +0 -732
- package/vscode/src/vs/workbench/contrib/debug/browser/watchExpressionsView.js +0 -499
- package/vscode/src/vs/workbench/contrib/debug/browser/welcomeView.js +0 -160
- 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 -108
- package/vscode/src/vs/workbench/contrib/debug/common/debugLifecycle.js +0 -60
- package/vscode/src/vs/workbench/contrib/debug/common/debugSchemas.js +0 -458
- package/vscode/src/vs/workbench/contrib/debug/common/debugStorage.js +0 -164
- package/vscode/src/vs/workbench/contrib/debug/common/debugTelemetry.js +0 -34
- package/vscode/src/vs/workbench/contrib/debug/common/debugViewModel.js +0 -148
- package/vscode/src/vs/workbench/contrib/debug/common/debugger.js +0 -287
- package/vscode/src/vs/workbench/contrib/debug/common/loadedScriptsPicker.js +0 -85
- package/vscode/src/vs/workbench/contrib/editSessions/browser/editSessions.contribution.js +0 -1197
- package/vscode/src/vs/workbench/contrib/editSessions/browser/editSessionsFileSystemProvider.js +0 -55
- package/vscode/src/vs/workbench/contrib/editSessions/browser/editSessionsStorageService.js +0 -455
- package/vscode/src/vs/workbench/contrib/editSessions/browser/editSessionsViews.js +0 -337
- package/vscode/src/vs/workbench/contrib/editSessions/common/editSessionsLogService.js +0 -39
- package/vscode/src/vs/workbench/contrib/editSessions/common/editSessionsStorageClient.js +0 -4
- package/vscode/src/vs/workbench/contrib/editSessions/common/workspaceStateSync.js +0 -140
- package/vscode/src/vs/workbench/contrib/emmet/browser/actions/expandAbbreviation.js +0 -41
- package/vscode/src/vs/workbench/contrib/emmet/browser/emmetActions.js +0 -88
- package/vscode/src/vs/workbench/contrib/extensions/browser/abstractRuntimeExtensionsEditor.js +0 -539
- package/vscode/src/vs/workbench/contrib/extensions/browser/browserRuntimeExtensionsEditor.js +0 -26
- package/vscode/src/vs/workbench/contrib/extensions/browser/configBasedRecommendations.js +0 -76
- package/vscode/src/vs/workbench/contrib/extensions/browser/deprecatedExtensionsChecker.js +0 -88
- package/vscode/src/vs/workbench/contrib/extensions/browser/exeBasedRecommendations.js +0 -58
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionEditor.js +0 -1171
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionEnablementWorkspaceTrustTransitionParticipant.js +0 -50
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionFeaturesTab.js +0 -543
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionRecommendationNotificationService.js +0 -464
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionRecommendations.js +0 -15
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionRecommendationsService.js +0 -233
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensions.contribution.js +0 -2182
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensions.web.contribution.js +0 -12
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActivationProgress.js +0 -44
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsCompletionItemsProvider.js +0 -63
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsDependencyChecker.js +0 -96
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsList.js +0 -219
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsQuickAccess.js +0 -119
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsViewer.js +0 -293
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsViewlet.js +0 -934
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsViews.js +0 -1349
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsWidgets.js +0 -858
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsWorkbenchService.js +0 -2349
- package/vscode/src/vs/workbench/contrib/extensions/browser/fileBasedRecommendations.js +0 -328
- package/vscode/src/vs/workbench/contrib/extensions/browser/keymapRecommendations.js +0 -26
- package/vscode/src/vs/workbench/contrib/extensions/browser/languageRecommendations.js +0 -26
- package/vscode/src/vs/workbench/contrib/extensions/browser/media/extension.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/extensions/browser/media/extensionEditor.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/extensions/browser/media/extensionsViewlet.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/extensions/browser/media/extensionsWidgets.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/extensions/browser/media/runtimeExtensionsEditor.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/extensions/browser/remoteRecommendations.js +0 -27
- package/vscode/src/vs/workbench/contrib/extensions/browser/unsupportedExtensionsMigrationContribution.js +0 -24
- package/vscode/src/vs/workbench/contrib/extensions/browser/webRecommendations.js +0 -36
- package/vscode/src/vs/workbench/contrib/extensions/browser/workspaceRecommendations.js +0 -160
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionQuery.js +0 -56
- package/vscode/src/vs/workbench/contrib/extensions/common/reportExtensionIssueAction.js +0 -29
- package/vscode/src/vs/workbench/contrib/extensions/common/runtimeExtensionsInput.js +0 -49
- package/vscode/src/vs/workbench/contrib/externalTerminal/browser/externalTerminal.contribution.js +0 -152
- package/vscode/src/vs/workbench/contrib/externalUriOpener/common/contributedOpeners.js +0 -81
- package/vscode/src/vs/workbench/contrib/files/browser/explorerService.js +0 -430
- package/vscode/src/vs/workbench/contrib/files/browser/fileActions.contribution.js +0 -786
- package/vscode/src/vs/workbench/contrib/files/browser/fileCommands.js +0 -510
- package/vscode/src/vs/workbench/contrib/files/browser/files.explorer.contribution.js +0 -460
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChat.contribution.js +0 -39
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatAccessibleView.js +0 -39
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatNotebook.js +0 -70
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSavingServiceImpl.js +0 -234
- package/vscode/src/vs/workbench/contrib/inlineChat/common/inlineChatServiceImpl.js +0 -31
- package/vscode/src/vs/workbench/contrib/interactive/browser/interactive.contribution.js +0 -737
- package/vscode/src/vs/workbench/contrib/interactive/browser/interactiveCommon.js +0 -6
- package/vscode/src/vs/workbench/contrib/interactive/browser/interactiveEditor.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/interactive/browser/interactiveEditor.js +0 -600
- package/vscode/src/vs/workbench/contrib/interactive/browser/media/interactive.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/issue/browser/issue.contribution.js +0 -27
- package/vscode/src/vs/workbench/contrib/issue/common/issue.contribution.js +0 -102
- package/vscode/src/vs/workbench/contrib/keybindings/browser/keybindings.contribution.js +0 -28
- package/vscode/src/vs/workbench/contrib/languageDetection/browser/languageDetection.contribution.js +0 -156
- package/vscode/src/vs/workbench/contrib/localHistory/browser/localHistory.contribution.js +0 -4
- package/vscode/src/vs/workbench/contrib/localHistory/browser/localHistory.js +0 -35
- package/vscode/src/vs/workbench/contrib/localHistory/browser/localHistoryCommands.js +0 -635
- package/vscode/src/vs/workbench/contrib/localHistory/browser/localHistoryFileSystemProvider.js +0 -87
- package/vscode/src/vs/workbench/contrib/localHistory/browser/localHistoryTimeline.js +0 -136
- package/vscode/src/vs/workbench/contrib/logs/common/logs.contribution.js +0 -225
- package/vscode/src/vs/workbench/contrib/markdown/browser/markdownSettingRenderer.js +0 -307
- package/vscode/src/vs/workbench/contrib/markers/browser/markers.contribution.js +0 -759
- package/vscode/src/vs/workbench/contrib/markers/browser/markersFileDecorations.js +0 -127
- 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 -475
- package/vscode/src/vs/workbench/contrib/markers/browser/markersTreeViewer.js +0 -691
- package/vscode/src/vs/workbench/contrib/markers/browser/markersView.js +0 -900
- 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 -301
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/actions.js +0 -108
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffEditor.contribution.js +0 -39
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffEditor.js +0 -117
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/scmMultiDiffSourceResolver.js +0 -146
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/contributedStatusBarItemController.js +0 -107
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/statusBarProviders.js +0 -172
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/clipboard/notebookClipboard.js +0 -542
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/debug/notebookBreakpoints.js +0 -105
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/debug/notebookCellPausing.js +0 -66
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/debug/notebookDebugDecorations.js +0 -163
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/editorHint/emptyCellEditorHint.js +0 -65
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/editorStatusBar/editorStatusBar.js +0 -318
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/execute/executionEditorProgress.js +0 -70
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/media/notebookFind.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFind.js +0 -167
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/format/formatting.js +0 -207
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/gettingStarted/notebookGettingStarted.js +0 -82
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/kernelDetection/notebookKernelDetection.js +0 -81
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/layout/layoutActions.js +0 -65
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/marker/markerProvider.js +0 -100
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/navigation/arrow.js +0 -391
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariableCommands.js +0 -62
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariableContextKeys.js +0 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariables.js +0 -95
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesDataSource.js +0 -118
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesTree.js +0 -58
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesView.js +0 -148
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/outline/notebookOutline.js +0 -654
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/profile/notebookProfile.js +0 -75
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/saveParticipants/saveParticipants.js +0 -515
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/troubleshoot/layout.js +0 -157
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/undoRedo/notebookUndoRedo.js +0 -55
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/viewportWarmup/viewportWarmup.js +0 -93
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/apiActions.js +0 -50
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/cellChatActions.js +0 -651
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/executeActions.js +0 -719
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/insertCellActions.js +0 -349
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/layoutActions.js +0 -314
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/sectionActions.js +0 -197
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffCellEditorOptions.js +0 -46
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffComponents.js +0 -1295
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffElementOutputs.js +0 -282
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffElementViewModel.js +0 -561
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffNestedCellViewModel.js +0 -113
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/eventDispatcher.js +0 -37
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiff.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffActions.js +0 -312
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditor.js +0 -909
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditorBrowser.js +0 -11
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffList.js +0 -393
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffOverviewRuler.js +0 -183
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebook.contribution.js +0 -1185
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibility.js +0 -157
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookExtensionPoint.js +0 -449
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookEditorServiceImpl.js +0 -190
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookExecutionServiceImpl.js +0 -104
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookExecutionStateServiceImpl.js +0 -508
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookKernelHistoryServiceImpl.js +0 -128
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookKernelServiceImpl.js +0 -339
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookKeymapServiceImpl.js +0 -109
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookLoggingServiceImpl.js +0 -26
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookRendererMessagingServiceImpl.js +0 -63
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookServiceImpl.js +0 -639
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookWorkerServiceImpl.js +0 -198
- package/vscode/src/vs/workbench/contrib/notebook/common/model/cellEdit.js +0 -89
- package/vscode/src/vs/workbench/contrib/notebook/common/model/notebookTextModel.js +0 -1000
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookDiffEditorInput.js +0 -101
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorModelResolverServiceImpl.js +0 -201
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookOutputRenderer.js +0 -78
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookProvider.js +0 -96
- package/vscode/src/vs/workbench/contrib/outline/browser/outline.contribution.js +0 -367
- package/vscode/src/vs/workbench/contrib/outline/browser/outlineActions.js +0 -172
- package/vscode/src/vs/workbench/contrib/outline/browser/outlinePane.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/outline/browser/outlinePane.js +0 -316
- package/vscode/src/vs/workbench/contrib/outline/browser/outlineViewState.js +0 -66
- package/vscode/src/vs/workbench/contrib/output/browser/output.contribution.js +0 -613
- package/vscode/src/vs/workbench/contrib/output/browser/output.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/output/browser/outputLinkProvider.js +0 -76
- package/vscode/src/vs/workbench/contrib/output/browser/outputServices.js +0 -200
- package/vscode/src/vs/workbench/contrib/output/browser/outputView.js +0 -224
- package/vscode/src/vs/workbench/contrib/performance/browser/inputLatencyContrib.js +0 -43
- package/vscode/src/vs/workbench/contrib/performance/browser/performance.contribution.js +0 -116
- package/vscode/src/vs/workbench/contrib/performance/browser/performance.web.contribution.js +0 -5
- package/vscode/src/vs/workbench/contrib/performance/browser/perfviewEditor.js +0 -340
- package/vscode/src/vs/workbench/contrib/performance/browser/startupTimings.js +0 -114
- package/vscode/src/vs/workbench/contrib/preferences/browser/keybindingsEditor.js +0 -1237
- package/vscode/src/vs/workbench/contrib/preferences/browser/keybindingsEditorContribution.js +0 -248
- 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 -1374
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesActions.js +0 -104
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesEditor.js +0 -47
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesRenderers.js +0 -784
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesSearch.js +0 -461
- package/vscode/src/vs/workbench/contrib/preferences/browser/settingsEditor2.js +0 -1578
- package/vscode/src/vs/workbench/contrib/preferences/browser/settingsEditorSettingIndicators.js +0 -624
- package/vscode/src/vs/workbench/contrib/preferences/browser/settingsSearchMenu.js +0 -135
- package/vscode/src/vs/workbench/contrib/preferences/browser/settingsTree.js +0 -2122
- package/vscode/src/vs/workbench/contrib/preferences/browser/settingsWidgets.js +0 -1158
- package/vscode/src/vs/workbench/contrib/preferences/browser/tocTree.js +0 -217
- package/vscode/src/vs/workbench/contrib/preferences/common/preferencesContribution.js +0 -160
- package/vscode/src/vs/workbench/contrib/preferences/common/smartSnippetInserter.js +0 -124
- package/vscode/src/vs/workbench/contrib/quickaccess/browser/commandsQuickAccess.js +0 -293
- package/vscode/src/vs/workbench/contrib/quickaccess/browser/quickAccess.contribution.js +0 -167
- package/vscode/src/vs/workbench/contrib/quickaccess/browser/viewQuickAccess.js +0 -264
- package/vscode/src/vs/workbench/contrib/relauncher/browser/relauncher.contribution.js +0 -206
- package/vscode/src/vs/workbench/contrib/remote/browser/explorerViewItems.js +0 -133
- package/vscode/src/vs/workbench/contrib/remote/browser/media/remoteViewlet.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/remote/browser/remote.contribution.js +0 -18
- package/vscode/src/vs/workbench/contrib/remote/browser/remote.js +0 -829
- package/vscode/src/vs/workbench/contrib/remote/browser/remoteConnectionHealth.js +0 -164
- package/vscode/src/vs/workbench/contrib/remote/browser/remoteIndicator.js +0 -800
- package/vscode/src/vs/workbench/contrib/remote/browser/remoteStartEntry.contribution.js +0 -5
- package/vscode/src/vs/workbench/contrib/remote/browser/remoteStartEntry.js +0 -95
- package/vscode/src/vs/workbench/contrib/remote/browser/showCandidate.js +0 -33
- package/vscode/src/vs/workbench/contrib/remote/browser/tunnelFactory.js +0 -108
- package/vscode/src/vs/workbench/contrib/remote/common/remote.contribution.js +0 -513
- package/vscode/src/vs/workbench/contrib/scm/browser/activity.js +0 -306
- package/vscode/src/vs/workbench/contrib/scm/browser/media/scm.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/scm/browser/menus.js +0 -278
- package/vscode/src/vs/workbench/contrib/scm/browser/scm.contribution.js +0 -701
- package/vscode/src/vs/workbench/contrib/scm/browser/scmRepositoriesViewPane.js +0 -172
- package/vscode/src/vs/workbench/contrib/scm/browser/scmRepositoryRenderer.js +0 -134
- package/vscode/src/vs/workbench/contrib/scm/browser/scmViewPane.js +0 -3365
- package/vscode/src/vs/workbench/contrib/scm/browser/scmViewPaneContainer.js +0 -52
- package/vscode/src/vs/workbench/contrib/scm/browser/scmViewService.js +0 -303
- package/vscode/src/vs/workbench/contrib/scm/browser/util.js +0 -119
- package/vscode/src/vs/workbench/contrib/scm/common/quickDiffService.js +0 -74
- package/vscode/src/vs/workbench/contrib/scm/common/scmService.js +0 -310
- package/vscode/src/vs/workbench/contrib/search/browser/anythingQuickAccess.js +0 -794
- 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/patternInputWidget.js +0 -232
- package/vscode/src/vs/workbench/contrib/search/browser/quickTextSearch/textSearchQuickAccess.js +0 -339
- package/vscode/src/vs/workbench/contrib/search/browser/replaceContributions.js +0 -7
- package/vscode/src/vs/workbench/contrib/search/browser/replaceService.js +0 -230
- package/vscode/src/vs/workbench/contrib/search/browser/search.contribution.js +0 -646
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsCopy.js +0 -207
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsNav.js +0 -510
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsRemoveReplace.js +0 -372
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsSymbol.js +0 -42
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsTextQuickAccess.js +0 -43
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsTopBar.js +0 -322
- package/vscode/src/vs/workbench/contrib/search/browser/searchFindInput.js +0 -101
- package/vscode/src/vs/workbench/contrib/search/browser/searchIcons.js +0 -104
- package/vscode/src/vs/workbench/contrib/search/browser/searchMessage.js +0 -64
- package/vscode/src/vs/workbench/contrib/search/browser/searchResultsView.js +0 -435
- package/vscode/src/vs/workbench/contrib/search/browser/searchView.js +0 -2175
- package/vscode/src/vs/workbench/contrib/search/browser/searchWidget.js +0 -672
- package/vscode/src/vs/workbench/contrib/search/browser/symbolsQuickAccess.js +0 -232
- package/vscode/src/vs/workbench/contrib/search/common/cacheState.js +0 -85
- 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 -585
- package/vscode/src/vs/workbench/contrib/searchEditor/browser/searchEditor.js +0 -758
- package/vscode/src/vs/workbench/contrib/searchEditor/browser/searchEditorActions.js +0 -187
- package/vscode/src/vs/workbench/contrib/searchEditor/browser/searchEditorInput.js +0 -318
- package/vscode/src/vs/workbench/contrib/searchEditor/browser/searchEditorModel.js +0 -136
- package/vscode/src/vs/workbench/contrib/searchEditor/browser/searchEditorSerialization.js +0 -291
- package/vscode/src/vs/workbench/contrib/share/browser/share.contribution.js +0 -167
- package/vscode/src/vs/workbench/contrib/share/browser/share.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/share/browser/shareService.js +0 -70
- package/vscode/src/vs/workbench/contrib/snippets/browser/commands/configureSnippets.js +0 -331
- package/vscode/src/vs/workbench/contrib/snippets/browser/commands/insertSnippet.js +0 -127
- package/vscode/src/vs/workbench/contrib/snippets/browser/commands/surroundWithSnippet.js +0 -57
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCodeActionProvider.js +0 -154
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetPicker.js +0 -111
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippets.contribution.js +0 -141
- package/vscode/src/vs/workbench/contrib/speech/browser/speechService.js +0 -271
- package/vscode/src/vs/workbench/contrib/surveys/browser/ces.contribution.js +0 -137
- package/vscode/src/vs/workbench/contrib/surveys/browser/languageSurveys.contribution.js +0 -50
- package/vscode/src/vs/workbench/contrib/surveys/browser/nps.contribution.js +0 -92
- package/vscode/src/vs/workbench/contrib/tasks/browser/abstractTaskService.js +0 -3857
- package/vscode/src/vs/workbench/contrib/tasks/browser/runAutomaticTasks.js +0 -183
- package/vscode/src/vs/workbench/contrib/tasks/browser/task.contribution.js +0 -682
- package/vscode/src/vs/workbench/contrib/tasks/browser/taskQuickPick.js +0 -450
- package/vscode/src/vs/workbench/contrib/tasks/browser/taskService.js +0 -36
- package/vscode/src/vs/workbench/contrib/tasks/browser/taskTerminalStatus.js +0 -189
- package/vscode/src/vs/workbench/contrib/tasks/browser/tasksQuickAccess.js +0 -119
- package/vscode/src/vs/workbench/contrib/tasks/browser/terminalTaskSystem.js +0 -1711
- package/vscode/src/vs/workbench/contrib/tasks/common/jsonSchemaCommon.js +0 -437
- package/vscode/src/vs/workbench/contrib/tasks/common/jsonSchema_v1.js +0 -123
- package/vscode/src/vs/workbench/contrib/tasks/common/jsonSchema_v2.js +0 -899
- package/vscode/src/vs/workbench/contrib/tasks/common/problemCollectors.js +0 -463
- package/vscode/src/vs/workbench/contrib/tasks/common/problemMatcher.js +0 -1794
- package/vscode/src/vs/workbench/contrib/tasks/common/taskConfiguration.js +0 -1579
- package/vscode/src/vs/workbench/contrib/tasks/common/taskSystem.js +0 -14
- package/vscode/src/vs/workbench/contrib/tasks/common/taskTemplates.js +0 -143
- package/vscode/src/vs/workbench/contrib/terminal/browser/baseTerminalBackend.js +0 -114
- package/vscode/src/vs/workbench/contrib/terminal/browser/environmentVariableInfo.js +0 -133
- 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/terminalVoice.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 -91
- package/vscode/src/vs/workbench/contrib/terminal/browser/remoteTerminalBackend.js +0 -312
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.contribution.js +0 -267
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.web.contribution.js +0 -11
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalActions.js +0 -2070
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalCommands.js +0 -22
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalConfigHelper.js +0 -221
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalContextMenu.js +0 -40
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalEditor.js +0 -193
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalEditorSerializer.js +0 -40
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalEditorService.js +0 -239
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalEscapeSequences.js +0 -12
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalGroup.js +0 -501
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalGroupService.js +0 -368
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalInstance.js +0 -2180
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalInstanceService.js +0 -81
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalMainContribution.js +0 -94
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalMenus.js +0 -840
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalProcessManager.js +0 -619
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalProfileQuickpick.js +0 -312
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalProfileResolverService.js +0 -285
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalProfileService.js +0 -225
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalQuickAccess.js +0 -155
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalRunRecentQuickPick.js +0 -335
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalService.js +0 -1156
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalStatusList.js +0 -121
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalTabbedView.js +0 -439
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalTabsList.js +0 -690
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalTooltip.js +0 -84
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalUri.js +0 -39
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalView.js +0 -628
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalVoice.js +0 -199
- package/vscode/src/vs/workbench/contrib/terminal/browser/widgets/terminalHoverWidget.js +0 -91
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/lineDataEventAddon.js +0 -56
- package/vscode/src/vs/workbench/contrib/terminal/common/basePty.js +0 -91
- package/vscode/src/vs/workbench/contrib/terminal/common/environmentVariableService.js +0 -96
- package/vscode/src/vs/workbench/contrib/terminal/common/history.js +0 -375
- package/vscode/src/vs/workbench/contrib/terminal/common/remote/remoteTerminalChannel.js +0 -253
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalClipboard.js +0 -98
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalConfiguration.js +0 -1351
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalEnvironment.js +0 -282
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalStrings.js +0 -145
- package/vscode/src/vs/workbench/contrib/terminalContrib/accessibility/browser/bufferContentTracker.js +0 -112
- package/vscode/src/vs/workbench/contrib/terminalContrib/accessibility/browser/terminal.accessibility.contribution.js +0 -389
- package/vscode/src/vs/workbench/contrib/terminalContrib/accessibility/browser/terminalAccessibilityHelp.js +0 -190
- package/vscode/src/vs/workbench/contrib/terminalContrib/accessibility/browser/terminalAccessibleBufferProvider.js +0 -102
- package/vscode/src/vs/workbench/contrib/terminalContrib/accessibility/browser/textAreaSyncAddon.js +0 -106
- package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/media/terminalChatWidget.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminal.chat.contribution.js +0 -9
- package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChat.js +0 -84
- package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatAccessibilityHelp.js +0 -125
- package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatAccessibleView.js +0 -31
- package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatActions.js +0 -344
- package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatController.js +0 -335
- package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatWidget.js +0 -154
- package/vscode/src/vs/workbench/contrib/terminalContrib/developer/browser/media/developer.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/terminalContrib/developer/browser/terminal.developer.contribution.js +0 -237
- package/vscode/src/vs/workbench/contrib/terminalContrib/environmentChanges/browser/terminal.environmentChanges.contribution.js +0 -114
- package/vscode/src/vs/workbench/contrib/terminalContrib/find/browser/terminal.find.contribution.js +0 -264
- package/vscode/src/vs/workbench/contrib/terminalContrib/find/browser/terminalFindWidget.js +0 -165
- package/vscode/src/vs/workbench/contrib/terminalContrib/find/browser/textInputContextMenu.js +0 -61
- package/vscode/src/vs/workbench/contrib/terminalContrib/highlight/browser/terminal.highlight.contribution.js +0 -36
- package/vscode/src/vs/workbench/contrib/terminalContrib/links/browser/terminal.links.contribution.js +0 -132
- package/vscode/src/vs/workbench/contrib/terminalContrib/links/browser/terminalExternalLinkDetector.js +0 -38
- package/vscode/src/vs/workbench/contrib/terminalContrib/links/browser/terminalLink.js +0 -120
- package/vscode/src/vs/workbench/contrib/terminalContrib/links/browser/terminalLinkDetectorAdapter.js +0 -108
- package/vscode/src/vs/workbench/contrib/terminalContrib/links/browser/terminalLinkHelpers.js +0 -175
- package/vscode/src/vs/workbench/contrib/terminalContrib/links/browser/terminalLinkManager.js +0 -394
- package/vscode/src/vs/workbench/contrib/terminalContrib/links/browser/terminalLinkOpeners.js +0 -240
- package/vscode/src/vs/workbench/contrib/terminalContrib/links/browser/terminalLinkParsing.js +0 -206
- package/vscode/src/vs/workbench/contrib/terminalContrib/links/browser/terminalLinkQuickpick.js +0 -264
- package/vscode/src/vs/workbench/contrib/terminalContrib/links/browser/terminalLinkResolver.js +0 -141
- package/vscode/src/vs/workbench/contrib/terminalContrib/links/browser/terminalLocalLinkDetector.js +0 -220
- package/vscode/src/vs/workbench/contrib/terminalContrib/links/browser/terminalMultiLineLinkDetector.js +0 -182
- package/vscode/src/vs/workbench/contrib/terminalContrib/links/browser/terminalUriLinkDetector.js +0 -119
- package/vscode/src/vs/workbench/contrib/terminalContrib/links/browser/terminalWordLinkDetector.js +0 -94
- package/vscode/src/vs/workbench/contrib/terminalContrib/quickFix/browser/media/terminalQuickFix.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/terminalContrib/quickFix/browser/quickFixAddon.js +0 -451
- package/vscode/src/vs/workbench/contrib/terminalContrib/quickFix/browser/terminal.quickFix.contribution.js +0 -61
- package/vscode/src/vs/workbench/contrib/terminalContrib/quickFix/browser/terminalQuickFixBuiltinActions.js +0 -323
- package/vscode/src/vs/workbench/contrib/terminalContrib/quickFix/browser/terminalQuickFixService.js +0 -168
- package/vscode/src/vs/workbench/contrib/terminalContrib/stickyScroll/browser/media/stickyScroll.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/terminalContrib/stickyScroll/browser/terminal.stickyScroll.contribution.js +0 -5
- package/vscode/src/vs/workbench/contrib/terminalContrib/stickyScroll/browser/terminalStickyScrollColorRegistry.js +0 -35
- package/vscode/src/vs/workbench/contrib/terminalContrib/stickyScroll/browser/terminalStickyScrollContribution.js +0 -91
- package/vscode/src/vs/workbench/contrib/terminalContrib/stickyScroll/browser/terminalStickyScrollOverlay.js +0 -379
- package/vscode/src/vs/workbench/contrib/terminalContrib/suggest/browser/terminal.suggest.contribution.js +0 -181
- package/vscode/src/vs/workbench/contrib/terminalContrib/suggest/browser/terminalSuggestAddon.js +0 -406
- package/vscode/src/vs/workbench/contrib/terminalContrib/typeAhead/browser/terminal.typeAhead.contribution.js +0 -54
- package/vscode/src/vs/workbench/contrib/terminalContrib/typeAhead/browser/terminalTypeAheadAddon.js +0 -1047
- package/vscode/src/vs/workbench/contrib/terminalContrib/zoom/browser/terminal.zoom.contribution.js +0 -130
- package/vscode/src/vs/workbench/contrib/testing/browser/codeCoverageDecorations.js +0 -589
- package/vscode/src/vs/workbench/contrib/testing/browser/explorerProjections/display.js +0 -2
- package/vscode/src/vs/workbench/contrib/testing/browser/explorerProjections/index.js +0 -81
- package/vscode/src/vs/workbench/contrib/testing/browser/explorerProjections/listProjection.js +0 -184
- package/vscode/src/vs/workbench/contrib/testing/browser/explorerProjections/testItemContextOverlay.js +0 -16
- package/vscode/src/vs/workbench/contrib/testing/browser/explorerProjections/testingObjectTree.js +0 -44
- package/vscode/src/vs/workbench/contrib/testing/browser/explorerProjections/testingViewState.js +0 -15
- package/vscode/src/vs/workbench/contrib/testing/browser/explorerProjections/treeProjection.js +0 -222
- package/vscode/src/vs/workbench/contrib/testing/browser/icons.js +0 -182
- package/vscode/src/vs/workbench/contrib/testing/browser/media/testMessageColorizer.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/testing/browser/media/testing.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/testing/browser/testCoverageBars.js +0 -238
- package/vscode/src/vs/workbench/contrib/testing/browser/testCoverageView.js +0 -562
- package/vscode/src/vs/workbench/contrib/testing/browser/testExplorerActions.js +0 -1671
- package/vscode/src/vs/workbench/contrib/testing/browser/testMessageColorizer.js +0 -71
- package/vscode/src/vs/workbench/contrib/testing/browser/testing.contribution.js +0 -224
- package/vscode/src/vs/workbench/contrib/testing/browser/testingConfigurationUi.js +0 -119
- package/vscode/src/vs/workbench/contrib/testing/browser/testingDecorations.js +0 -968
- package/vscode/src/vs/workbench/contrib/testing/browser/testingExplorerFilter.js +0 -234
- package/vscode/src/vs/workbench/contrib/testing/browser/testingExplorerView.js +0 -1239
- package/vscode/src/vs/workbench/contrib/testing/browser/testingOutputPeek.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/testing/browser/testingOutputPeek.js +0 -2108
- package/vscode/src/vs/workbench/contrib/testing/browser/testingProgressUiService.js +0 -140
- package/vscode/src/vs/workbench/contrib/testing/browser/testingViewPaneContainer.js +0 -45
- package/vscode/src/vs/workbench/contrib/testing/browser/theme.js +0 -335
- package/vscode/src/vs/workbench/contrib/testing/common/configuration.js +0 -274
- package/vscode/src/vs/workbench/contrib/testing/common/constants.js +0 -57
- package/vscode/src/vs/workbench/contrib/testing/common/mainThreadTestCollection.js +0 -127
- package/vscode/src/vs/workbench/contrib/testing/common/observableUtils.js +0 -19
- package/vscode/src/vs/workbench/contrib/testing/common/testExclusions.js +0 -46
- package/vscode/src/vs/workbench/contrib/testing/common/testServiceImpl.js +0 -294
- package/vscode/src/vs/workbench/contrib/testing/common/testingContentProvider.js +0 -123
- package/vscode/src/vs/workbench/contrib/testing/common/testingUri.js +0 -65
- package/vscode/src/vs/workbench/contrib/themes/browser/themes.contribution.js +0 -955
- package/vscode/src/vs/workbench/contrib/timeline/browser/media/timelinePane.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/timeline/browser/timeline.contribution.js +0 -118
- package/vscode/src/vs/workbench/contrib/timeline/browser/timelinePane.js +0 -1161
- package/vscode/src/vs/workbench/contrib/timeline/common/timelineService.js +0 -106
- package/vscode/src/vs/workbench/contrib/update/browser/media/releasenoteseditor.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/update/browser/releaseNotesEditor.js +0 -411
- package/vscode/src/vs/workbench/contrib/update/browser/update.contribution.js +0 -252
- package/vscode/src/vs/workbench/contrib/update/browser/update.js +0 -676
- package/vscode/src/vs/workbench/contrib/url/browser/externalUriResolver.js +0 -26
- package/vscode/src/vs/workbench/contrib/url/browser/trustedDomains.js +0 -198
- package/vscode/src/vs/workbench/contrib/url/browser/trustedDomainsFileSystemProvider.js +0 -135
- package/vscode/src/vs/workbench/contrib/url/browser/trustedDomainsValidator.js +0 -203
- package/vscode/src/vs/workbench/contrib/url/browser/url.contribution.js +0 -66
- package/vscode/src/vs/workbench/contrib/userDataSync/browser/userDataSync.contribution.js +0 -110
- package/vscode/src/vs/workbench/contrib/userDataSync/browser/userDataSync.js +0 -1466
- package/vscode/src/vs/workbench/contrib/userDataSync/browser/userDataSyncConflictsView.js +0 -223
- package/vscode/src/vs/workbench/contrib/userDataSync/browser/userDataSyncTrigger.js +0 -59
- package/vscode/src/vs/workbench/contrib/userDataSync/browser/userDataSyncViews.js +0 -858
- package/vscode/src/vs/workbench/contrib/welcomeBanner/browser/welcomeBanner.contribution.js +0 -45
- package/vscode/src/vs/workbench/contrib/welcomeDialog/browser/media/welcomeWidget.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/welcomeDialog/browser/welcomeDialog.contribution.js +0 -102
- package/vscode/src/vs/workbench/contrib/welcomeDialog/browser/welcomeWidget.js +0 -187
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.contribution.js +0 -380
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.js +0 -1526
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedColors.js +0 -47
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedDetailsRenderer.js +0 -261
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedIcons.js +0 -14
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedInput.js +0 -51
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedList.js +0 -95
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/media/gettingStarted.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/startupPage.js +0 -216
- package/vscode/src/vs/workbench/contrib/welcomeViews/common/newFile.contribution.js +0 -237
- package/vscode/src/vs/workbench/contrib/welcomeViews/common/viewsWelcome.contribution.js +0 -18
- package/vscode/src/vs/workbench/contrib/welcomeViews/common/viewsWelcomeContribution.js +0 -73
- package/vscode/src/vs/workbench/contrib/welcomeViews/common/viewsWelcomeExtensionPoint.js +0 -97
- package/vscode/src/vs/workbench/contrib/welcomeWalkthrough/browser/editor/editorWalkThrough.js +0 -61
- package/vscode/src/vs/workbench/contrib/welcomeWalkthrough/browser/media/walkThroughPart.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/welcomeWalkthrough/browser/walkThrough.contribution.js +0 -38
- package/vscode/src/vs/workbench/contrib/welcomeWalkthrough/browser/walkThroughActions.js +0 -57
- package/vscode/src/vs/workbench/contrib/welcomeWalkthrough/browser/walkThroughInput.js +0 -113
- package/vscode/src/vs/workbench/contrib/welcomeWalkthrough/browser/walkThroughPart.js +0 -429
- package/vscode/src/vs/workbench/contrib/welcomeWalkthrough/common/walkThroughContentProvider.js +0 -74
- package/vscode/src/vs/workbench/contrib/welcomeWalkthrough/common/walkThroughUtils.js +0 -18
- 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 -976
- package/vscode/src/vs/workbench/contrib/workspace/browser/workspaceTrustEditor.js +0 -1243
- package/vscode/src/vs/workbench/contrib/workspaces/browser/workspaces.contribution.js +0 -132
- package/vscode/src/vs/workbench/services/actions/common/menusExtensionPoint.js +0 -1595
- package/vscode/src/vs/workbench/services/aiRelatedInformation/common/aiRelatedInformationService.js +0 -82
- package/vscode/src/vs/workbench/services/authentication/browser/authenticationExtensionsService.js +0 -369
- package/vscode/src/vs/workbench/services/commands/common/commandService.js +0 -77
- package/vscode/src/vs/workbench/services/configuration/browser/configuration.js +0 -850
- package/vscode/src/vs/workbench/services/configuration/browser/configurationService.js +0 -1199
- package/vscode/src/vs/workbench/services/configuration/common/configurationEditing.js +0 -666
- package/vscode/src/vs/workbench/services/configuration/common/configurationModels.js +0 -119
- package/vscode/src/vs/workbench/services/configuration/common/jsonEditingService.js +0 -120
- package/vscode/src/vs/workbench/services/configurationResolver/browser/baseConfigurationResolverService.js +0 -309
- package/vscode/src/vs/workbench/services/configurationResolver/browser/configurationResolverService.js +0 -27
- package/vscode/src/vs/workbench/services/decorations/browser/decorationsService.js +0 -330
- package/vscode/src/vs/workbench/services/dialogs/browser/abstractFileDialogService.js +0 -377
- package/vscode/src/vs/workbench/services/dialogs/browser/simpleFileDialog.js +0 -1037
- package/vscode/src/vs/workbench/services/dialogs/common/dialogService.js +0 -70
- package/vscode/src/vs/workbench/services/extensionManagement/browser/extensionEnablementService.js +0 -638
- package/vscode/src/vs/workbench/services/extensionManagement/browser/extensionsProfileScannerService.js +0 -22
- package/vscode/src/vs/workbench/services/extensionManagement/browser/webExtensionsScannerService.js +0 -892
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionFeaturesManagemetService.js +0 -232
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagementChannelClient.js +0 -107
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagementServerService.js +0 -61
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagementService.js +0 -1043
- package/vscode/src/vs/workbench/services/extensionManagement/common/remoteExtensionManagementService.js +0 -56
- package/vscode/src/vs/workbench/services/extensionManagement/common/webExtensionManagementService.js +0 -279
- package/vscode/src/vs/workbench/services/extensionRecommendations/common/extensionIgnoredRecommendationsService.js +0 -82
- package/vscode/src/vs/workbench/services/extensions/browser/extensionService.js +0 -283
- package/vscode/src/vs/workbench/services/extensions/browser/extensionsScannerService.js +0 -31
- package/vscode/src/vs/workbench/services/extensions/browser/webWorkerExtensionHost.js +0 -274
- package/vscode/src/vs/workbench/services/extensions/browser/webWorkerFileSystemProvider.js +0 -50
- package/vscode/src/vs/workbench/services/extensions/common/abstractExtensionService.js +0 -1147
- package/vscode/src/vs/workbench/services/extensions/common/extHostCustomers.js +0 -40
- package/vscode/src/vs/workbench/services/extensions/common/extensionDevOptions.js +0 -23
- package/vscode/src/vs/workbench/services/extensions/common/extensionHostManager.js +0 -510
- package/vscode/src/vs/workbench/services/extensions/common/extensionRunningLocationTracker.js +0 -272
- package/vscode/src/vs/workbench/services/extensions/common/extensionStorageMigration.js +0 -56
- package/vscode/src/vs/workbench/services/extensions/common/extensionsProposedApi.js +0 -78
- package/vscode/src/vs/workbench/services/extensions/common/extensionsUtil.js +0 -62
- package/vscode/src/vs/workbench/services/extensions/common/lazyCreateExtensionHostManager.js +0 -159
- package/vscode/src/vs/workbench/services/extensions/common/remoteConsoleUtil.js +0 -47
- package/vscode/src/vs/workbench/services/extensions/common/remoteExtensionHost.js +0 -220
- package/vscode/src/vs/workbench/services/host/browser/browserHostService.js +0 -428
- package/vscode/src/vs/workbench/services/issue/browser/issueService.js +0 -97
- package/vscode/src/vs/workbench/services/keybinding/browser/keybindingService.js +0 -945
- package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayoutService.js +0 -500
- package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayouts/_.contribution.js +0 -13
- package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayouts/cz.win.js +0 -162
- package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayouts/de-swiss.win.js +0 -162
- package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayouts/de.darwin.js +0 -125
- package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayouts/de.linux.js +0 -180
- package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayouts/de.win.js +0 -162
- package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayouts/dk.win.js +0 -162
- package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayouts/dvorak.darwin.js +0 -125
- package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayouts/en-belgian.win.js +0 -162
- package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayouts/en-ext.darwin.js +0 -125
- package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayouts/en-in.win.js +0 -162
- package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayouts/en-intl.darwin.js +0 -125
- package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayouts/en-intl.win.js +0 -162
- package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayouts/en-uk.darwin.js +0 -125
- package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayouts/en-uk.win.js +0 -162
- package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayouts/en.darwin.js +0 -133
- package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayouts/en.linux.js +0 -182
- package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayouts/en.win.js +0 -167
- package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayouts/es-latin.win.js +0 -162
- package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayouts/es.darwin.js +0 -125
- package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayouts/es.linux.js +0 -180
- package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayouts/es.win.js +0 -162
- package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayouts/fr.darwin.js +0 -125
- package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayouts/fr.linux.js +0 -180
- package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayouts/fr.win.js +0 -162
- package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayouts/hu.win.js +0 -162
- package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayouts/it.darwin.js +0 -125
- package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayouts/it.win.js +0 -162
- package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayouts/jp-roman.darwin.js +0 -125
- package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayouts/jp.darwin.js +0 -125
- package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayouts/ko.darwin.js +0 -125
- package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayouts/layout.contribution.darwin.js +0 -17
- package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayouts/layout.contribution.linux.js +0 -6
- package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayouts/layout.contribution.win.js +0 -23
- package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayouts/no.win.js +0 -162
- package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayouts/pl.darwin.js +0 -125
- package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayouts/pl.win.js +0 -162
- package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayouts/pt-br.win.js +0 -162
- package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayouts/pt.darwin.js +0 -125
- package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayouts/pt.win.js +0 -162
- package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayouts/ru.darwin.js +0 -125
- package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayouts/ru.linux.js +0 -180
- package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayouts/ru.win.js +0 -162
- package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayouts/sv.win.js +0 -164
- package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayouts/thai.win.js +0 -162
- package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayouts/tr.win.js +0 -162
- package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayouts/zh-hans.darwin.js +0 -125
- package/vscode/src/vs/workbench/services/keybinding/common/keybindingIO.js +0 -72
- package/vscode/src/vs/workbench/services/keybinding/common/keymapInfo.js +0 -108
- package/vscode/src/vs/workbench/services/keybinding/common/macLinuxKeyboardMapper.js +0 -886
- package/vscode/src/vs/workbench/services/keybinding/common/windowsKeyboardMapper.js +0 -350
- package/vscode/src/vs/workbench/services/label/common/labelService.js +0 -435
- package/vscode/src/vs/workbench/services/languageDetection/browser/languageDetectionWorkerServiceImpl.js +0 -259
- package/vscode/src/vs/workbench/services/lifecycle/browser/lifecycleService.js +0 -135
- package/vscode/src/vs/workbench/services/notification/common/notificationService.js +0 -251
- package/vscode/src/vs/workbench/services/preferences/browser/preferencesService.js +0 -551
- package/vscode/src/vs/workbench/services/quickinput/browser/quickInputService.js +0 -37
- package/vscode/src/vs/workbench/services/remote/browser/browserRemoteResourceHandler.js +0 -47
- package/vscode/src/vs/workbench/services/remote/browser/remoteAgentService.js +0 -76
- package/vscode/src/vs/workbench/services/remote/common/abstractRemoteAgentService.js +0 -177
- package/vscode/src/vs/workbench/services/remote/common/remoteAgentEnvironmentChannel.js +0 -52
- package/vscode/src/vs/workbench/services/remote/common/remoteExtensionsScanner.js +0 -71
- package/vscode/src/vs/workbench/services/request/browser/requestService.js +0 -48
- package/vscode/src/vs/workbench/services/search/common/searchService.js +0 -414
- package/vscode/src/vs/workbench/services/storage/browser/storageService.js +0 -290
- 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 -9
- package/vscode/src/vs/workbench/services/suggest/browser/simpleCompletionModel.js +0 -97
- package/vscode/src/vs/workbench/services/suggest/browser/simpleSuggestWidget.js +0 -428
- 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 -160
- package/vscode/src/vs/workbench/services/textMate/browser/backgroundTokenization/threadedBackgroundTokenizerFactory.js +0 -200
- package/vscode/src/vs/workbench/services/textMate/browser/textMateTokenizationFeatureImpl.js +0 -482
- 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 -39
- package/vscode/src/vs/workbench/services/textMate/common/TMGrammarFactory.js +0 -118
- package/vscode/src/vs/workbench/services/textMate/common/TMScopeRegistry.js +0 -15
- package/vscode/src/vs/workbench/services/textfile/browser/browserTextFileService.js +0 -57
- package/vscode/src/vs/workbench/services/textfile/browser/textFileService.js +0 -652
- package/vscode/src/vs/workbench/services/textfile/common/textFileEditorModelManager.js +0 -402
- package/vscode/src/vs/workbench/services/textfile/common/textFileSaveParticipant.js +0 -62
- package/vscode/src/vs/workbench/services/textmodelResolver/common/textModelResolverService.js +0 -191
- package/vscode/src/vs/workbench/services/textresourceProperties/common/textResourcePropertiesService.js +0 -44
- package/vscode/src/vs/workbench/services/themes/browser/fileIconThemeData.js +0 -372
- package/vscode/src/vs/workbench/services/themes/browser/productIconThemeData.js +0 -305
- package/vscode/src/vs/workbench/services/themes/browser/workbenchThemeService.js +0 -768
- package/vscode/src/vs/workbench/services/themes/common/colorThemeData.js +0 -886
- package/vscode/src/vs/workbench/services/themes/common/colorThemeSchema.js +0 -309
- package/vscode/src/vs/workbench/services/themes/common/fileIconThemeSchema.js +0 -432
- package/vscode/src/vs/workbench/services/themes/common/plistParser.js +0 -439
- package/vscode/src/vs/workbench/services/themes/common/productIconThemeSchema.js +0 -114
- package/vscode/src/vs/workbench/services/themes/common/textMateScopeMatcher.js +0 -120
- package/vscode/src/vs/workbench/services/themes/common/themeCompatibility.js +0 -76
- package/vscode/src/vs/workbench/services/themes/common/themeConfiguration.js +0 -469
- package/vscode/src/vs/workbench/services/themes/common/themeExtensionPoints.js +0 -340
- package/vscode/src/vs/workbench/services/tunnel/browser/tunnelService.js +0 -34
- package/vscode/src/vs/workbench/services/url/browser/urlService.js +0 -48
- package/vscode/src/vs/workbench/services/userDataProfile/browser/extensionsResource.js +0 -340
- package/vscode/src/vs/workbench/services/userDataProfile/browser/globalStateResource.js +0 -145
- package/vscode/src/vs/workbench/services/userDataProfile/browser/iconSelectBox.js +0 -96
- package/vscode/src/vs/workbench/services/userDataProfile/browser/keybindingsResource.js +0 -117
- package/vscode/src/vs/workbench/services/userDataProfile/browser/media/userDataProfileView.css.js +0 -4
- package/vscode/src/vs/workbench/services/userDataProfile/browser/settingsResource.js +0 -138
- package/vscode/src/vs/workbench/services/userDataProfile/browser/snippetsResource.js +0 -153
- package/vscode/src/vs/workbench/services/userDataProfile/browser/tasksResource.js +0 -116
- package/vscode/src/vs/workbench/services/userDataProfile/browser/userDataProfileImportExportService.js +0 -1752
- package/vscode/src/vs/workbench/services/userDataProfile/browser/userDataProfileInit.js +0 -148
- package/vscode/src/vs/workbench/services/userDataProfile/browser/userDataProfileManagement.js +0 -188
- package/vscode/src/vs/workbench/services/userDataSync/browser/userDataSyncInit.js +0 -445
- package/vscode/src/vs/workbench/services/userDataSync/browser/userDataSyncWorkbenchService.js +0 -786
- package/vscode/src/vs/workbench/services/userDataSync/common/userDataSyncUtil.js +0 -46
- package/vscode/src/vs/workbench/services/workingCopy/browser/workingCopyBackupService.js +0 -23
- package/vscode/src/vs/workbench/services/workingCopy/browser/workingCopyBackupTracker.js +0 -43
- package/vscode/src/vs/workbench/services/workingCopy/browser/workingCopyHistoryService.js +0 -28
- package/vscode/src/vs/workbench/services/workingCopy/common/abstractFileWorkingCopyManager.js +0 -87
- package/vscode/src/vs/workbench/services/workingCopy/common/fileWorkingCopyManager.js +0 -384
- package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopyManager.js +0 -406
- package/vscode/src/vs/workbench/services/workingCopy/common/untitledFileWorkingCopy.js +0 -142
- package/vscode/src/vs/workbench/services/workingCopy/common/untitledFileWorkingCopyManager.js +0 -127
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyBackupService.js +0 -452
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyBackupTracker.js +0 -253
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyHistoryService.js +0 -616
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyHistoryTracker.js +0 -162
- package/vscode/src/vs/workbench/services/workspaces/browser/abstractWorkspaceEditingService.js +0 -335
- package/vscode/src/vs/workbench/services/workspaces/browser/workspaceTrustEditorInput.js +0 -41
- package/vscode/src/vs/workbench/services/workspaces/browser/workspacesService.js +0 -151
- package/vscode/src/vs/workbench/services/workspaces/common/editSessionIdentityService.js +0 -60
|
@@ -1,2108 +0,0 @@
|
|
|
1
|
-
import { __decorate, __param } from '../../../../../../../external/tslib/tslib.es6.js';
|
|
2
|
-
import { append, $, reset, Dimension, scheduleAtNextAnimationFrame, getWindow } from '../../../../base/browser/dom.js';
|
|
3
|
-
import { ActionBar } from '../../../../base/browser/ui/actionbar/actionbar.js';
|
|
4
|
-
import { alert } from '../../../../base/browser/ui/aria/aria.js';
|
|
5
|
-
import { renderLabelWithIcons } from '../../../../base/browser/ui/iconLabel/iconLabels.js';
|
|
6
|
-
import { DomScrollableElement } from '../../../../base/browser/ui/scrollbar/scrollableElement.js';
|
|
7
|
-
import { SplitView, Sizing } from '../../../../base/browser/ui/splitview/splitview.js';
|
|
8
|
-
import { Separator, Action } from '../../../../base/common/actions.js';
|
|
9
|
-
import { Limiter, Delayer, RunOnceScheduler } from '../../../../base/common/async.js';
|
|
10
|
-
import { Codicon } from '../../../../base/common/codicons.js';
|
|
11
|
-
import { Color } from '../../../../base/common/color.js';
|
|
12
|
-
import { Emitter, Event } from '../../../../base/common/event.js';
|
|
13
|
-
import { stripIcons } from '../../../../base/common/iconLabels.js';
|
|
14
|
-
import { Iterable } from '../../../../base/common/iterator.js';
|
|
15
|
-
import { Lazy } from '../../../../base/common/lazy.js';
|
|
16
|
-
import { Disposable, MutableDisposable, DisposableStore, toDisposable, combinedDisposable } from '../../../../base/common/lifecycle.js';
|
|
17
|
-
import '../../../../base/common/observableInternal/derived.js';
|
|
18
|
-
import { autorun } from '../../../../base/common/observableInternal/autorun.js';
|
|
19
|
-
import '../../../../base/common/observableInternal/utils.js';
|
|
20
|
-
import '../../../../base/common/cancellation.js';
|
|
21
|
-
import { count } from '../../../../base/common/strings.js';
|
|
22
|
-
import { ThemeIcon } from '../../../../base/common/themables.js';
|
|
23
|
-
import { isDefined } from '../../../../base/common/types.js';
|
|
24
|
-
import './testingOutputPeek.css.js';
|
|
25
|
-
import { isCodeEditor } from '../../../../editor/browser/editorBrowser.js';
|
|
26
|
-
import { EditorAction2 } from '../../../../editor/browser/editorExtensions.js';
|
|
27
|
-
import { ICodeEditorService } from '../../../../editor/browser/services/codeEditorService.js';
|
|
28
|
-
import { CodeEditorWidget } from '../../../../editor/browser/widget/codeEditor/codeEditorWidget.js';
|
|
29
|
-
import { EmbeddedCodeEditorWidget } from '../../../../editor/browser/widget/codeEditor/embeddedCodeEditorWidget.js';
|
|
30
|
-
import { DiffEditorWidget } from '../../../../editor/browser/widget/diffEditor/diffEditorWidget.js';
|
|
31
|
-
import { EmbeddedDiffEditorWidget } from '../../../../editor/browser/widget/diffEditor/embeddedDiffEditorWidget.js';
|
|
32
|
-
import { MarkdownRenderer } from '../../../../editor/browser/widget/markdownRenderer/browser/markdownRenderer.js';
|
|
33
|
-
import { Range } from '../../../../editor/common/core/range.js';
|
|
34
|
-
import { EditorContextKeys } from '../../../../editor/common/editorContextKeys.js';
|
|
35
|
-
import { ITextModelService } from '../../../../editor/common/services/resolverService.js';
|
|
36
|
-
import { PeekViewWidget, peekViewTitleForeground, peekViewTitleInfoForeground, IPeekViewService, peekViewResultsBackground } from '../../../../editor/contrib/peekView/browser/peekView.js';
|
|
37
|
-
import { localize2WithPath, localizeWithPath } from '../../../../nls.js';
|
|
38
|
-
import { Categories } from '../../../../platform/action/common/actionCommonCategories.js';
|
|
39
|
-
import { FloatingClickMenu } from '../../../../platform/actions/browser/floatingMenu.js';
|
|
40
|
-
import { createAndFillInActionBarActions, MenuEntryActionViewItem } from '../../../../platform/actions/browser/menuEntryActionViewItem.js';
|
|
41
|
-
import { Action2, MenuId, MenuItemAction, IMenuService } from '../../../../platform/actions/common/actions.js';
|
|
42
|
-
import { ICommandService } from '../../../../platform/commands/common/commands.js';
|
|
43
|
-
import { IConfigurationService } from '../../../../platform/configuration/common/configuration.js';
|
|
44
|
-
import { IContextKeyService, ContextKeyExpr } from '../../../../platform/contextkey/common/contextkey.js';
|
|
45
|
-
import { IContextMenuService } from '../../../../platform/contextview/browser/contextView.js';
|
|
46
|
-
import { IInstantiationService } from '../../../../platform/instantiation/common/instantiation.js';
|
|
47
|
-
import { ServiceCollection } from '../../../../platform/instantiation/common/serviceCollection.js';
|
|
48
|
-
import { IKeybindingService } from '../../../../platform/keybinding/common/keybinding.js';
|
|
49
|
-
import { WorkbenchCompressibleObjectTree } from '../../../../platform/list/browser/listService.js';
|
|
50
|
-
import { INotificationService } from '../../../../platform/notification/common/notification.js';
|
|
51
|
-
import { IOpenerService } from '../../../../platform/opener/common/opener.js';
|
|
52
|
-
import { IProgressService } from '../../../../platform/progress/common/progress.js';
|
|
53
|
-
import { IStorageService } from '../../../../platform/storage/common/storage.js';
|
|
54
|
-
import { ITelemetryService } from '../../../../platform/telemetry/common/telemetry.js';
|
|
55
|
-
import { TerminalCapabilityStore } from '../../../../platform/terminal/common/capabilities/terminalCapabilityStore.js';
|
|
56
|
-
import { formatMessageForTerminal } from '../../../../platform/terminal/common/terminalStrings.js';
|
|
57
|
-
import '../../../../platform/theme/common/colorUtils.js';
|
|
58
|
-
import '../../../../platform/theme/common/colors/baseColors.js';
|
|
59
|
-
import '../../../../platform/theme/common/colors/chartsColors.js';
|
|
60
|
-
import { editorBackground } from '../../../../platform/theme/common/colors/editorColors.js';
|
|
61
|
-
import '../../../../platform/theme/common/colors/inputColors.js';
|
|
62
|
-
import '../../../../platform/theme/common/colors/listColors.js';
|
|
63
|
-
import '../../../../platform/theme/common/colors/menuColors.js';
|
|
64
|
-
import '../../../../platform/theme/common/colors/minimapColors.js';
|
|
65
|
-
import '../../../../platform/theme/common/colors/miscColors.js';
|
|
66
|
-
import '../../../../platform/theme/common/colors/quickpickColors.js';
|
|
67
|
-
import '../../../../platform/theme/common/colors/searchColors.js';
|
|
68
|
-
import { widgetClose } from '../../../../platform/theme/common/iconRegistry.js';
|
|
69
|
-
import { IThemeService } from '../../../../platform/theme/common/themeService.js';
|
|
70
|
-
import { IWorkspaceContextService } from '../../../../platform/workspace/common/workspace.js';
|
|
71
|
-
import { ViewPane } from '../../../browser/parts/views/viewPane.js';
|
|
72
|
-
import { EditorModel } from '../../../common/editor/editorModel.js';
|
|
73
|
-
import { PANEL_BACKGROUND, SIDE_BAR_BACKGROUND } from '../../../common/theme.js';
|
|
74
|
-
import { IViewDescriptorService } from '../../../common/views.js';
|
|
75
|
-
import { DetachedProcessInfo } from '../../terminal/browser/detachedTerminal.js';
|
|
76
|
-
import { ITerminalService } from '../../terminal/browser/terminal.js';
|
|
77
|
-
import { getXtermScaledDimensions } from '../../terminal/browser/xterm/xtermTerminal.js';
|
|
78
|
-
import { TERMINAL_BACKGROUND_COLOR } from '../../terminal/common/terminalColorRegistry.js';
|
|
79
|
-
import { getTestItemContextOverlay } from './explorerProjections/testItemContextOverlay.js';
|
|
80
|
-
import { testingStatesToIcons, testingRunIcon, testingDebugIcon, testingCoverageReport } from './icons.js';
|
|
81
|
-
import { renderTestMessageAsText, colorizeTestMessageInEditor } from './testMessageColorizer.js';
|
|
82
|
-
import { testingPeekBorder, testingMessagePeekBorder, testingPeekHeaderBackground, testingPeekMessageHeaderBackground } from './theme.js';
|
|
83
|
-
import { getTestingConfiguration } from '../common/configuration.js';
|
|
84
|
-
import { MutableObservableValue, staticObservableValue } from '../common/observableValue.js';
|
|
85
|
-
import { StoredValue } from '../common/storedValue.js';
|
|
86
|
-
import { ITestCoverageService } from '../common/testCoverageService.js';
|
|
87
|
-
import { ITestExplorerFilterState } from '../common/testExplorerFilterState.js';
|
|
88
|
-
import { ITestProfileService } from '../common/testProfileService.js';
|
|
89
|
-
import { resultItemParents, LiveTestResult, maxCountPriority } from '../common/testResult.js';
|
|
90
|
-
import { ITestResultService } from '../common/testResultService.js';
|
|
91
|
-
import { ITestService } from '../common/testService.js';
|
|
92
|
-
import { InternalTestItem, ITestMessage, getMarkId, testResultStateToContextValues } from '../common/testTypes.js';
|
|
93
|
-
import { TestingContextKeys } from '../common/testingContextKeys.js';
|
|
94
|
-
import { ITestingPeekOpener } from '../common/testingPeekOpener.js';
|
|
95
|
-
import { isFailedState, cmpPriority } from '../common/testingStates.js';
|
|
96
|
-
import { parseTestUri, buildTestUri } from '../common/testingUri.js';
|
|
97
|
-
import { IEditorService } from '../../../services/editor/common/editorService.js';
|
|
98
|
-
import { IViewsService } from '../../../services/views/common/viewsService.js';
|
|
99
|
-
var TestingOutputPeekController_1, TestResultsViewContent_1, TestResultsPeek_1, TestRunElementRenderer_1;
|
|
100
|
-
const getMessageArgs = (test, message) => ({
|
|
101
|
-
$mid: 18 ,
|
|
102
|
-
test: InternalTestItem.serialize(test),
|
|
103
|
-
message: ITestMessage.serialize(message),
|
|
104
|
-
});
|
|
105
|
-
class MessageSubject {
|
|
106
|
-
get isDiffable() {
|
|
107
|
-
return this.message.type === 0 && isDiffable(this.message);
|
|
108
|
-
}
|
|
109
|
-
get contextValue() {
|
|
110
|
-
return this.message.type === 0 ? this.message.contextValue : undefined;
|
|
111
|
-
}
|
|
112
|
-
constructor(result, test, taskIndex, messageIndex) {
|
|
113
|
-
this.result = result;
|
|
114
|
-
this.taskIndex = taskIndex;
|
|
115
|
-
this.messageIndex = messageIndex;
|
|
116
|
-
this.test = test.item;
|
|
117
|
-
const messages = test.tasks[taskIndex].messages;
|
|
118
|
-
this.messageIndex = messageIndex;
|
|
119
|
-
const parts = { messageIndex, resultId: result.id, taskIndex, testExtId: test.item.extId };
|
|
120
|
-
this.expectedUri = buildTestUri({ ...parts, type: 4 });
|
|
121
|
-
this.actualUri = buildTestUri({ ...parts, type: 3 });
|
|
122
|
-
this.messageUri = buildTestUri({ ...parts, type: 2 });
|
|
123
|
-
const message = this.message = messages[this.messageIndex];
|
|
124
|
-
this.context = getMessageArgs(test, message);
|
|
125
|
-
this.revealLocation = message.location ?? (test.item.uri && test.item.range ? { uri: test.item.uri, range: Range.lift(test.item.range) } : undefined);
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
class TaskSubject {
|
|
129
|
-
constructor(result, taskIndex) {
|
|
130
|
-
this.result = result;
|
|
131
|
-
this.taskIndex = taskIndex;
|
|
132
|
-
this.outputUri = buildTestUri({ resultId: result.id, taskIndex, type: 0 });
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
class TestOutputSubject {
|
|
136
|
-
constructor(result, taskIndex, test) {
|
|
137
|
-
this.result = result;
|
|
138
|
-
this.taskIndex = taskIndex;
|
|
139
|
-
this.test = test;
|
|
140
|
-
this.outputUri = buildTestUri({ resultId: this.result.id, taskIndex: this.taskIndex, testExtId: this.test.item.extId, type: 1 });
|
|
141
|
-
this.task = result.tasks[this.taskIndex];
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
const equalsSubject = (a, b) => ((a instanceof MessageSubject && b instanceof MessageSubject && a.message === b.message) ||
|
|
145
|
-
(a instanceof TaskSubject && b instanceof TaskSubject && a.result === b.result && a.taskIndex === b.taskIndex) ||
|
|
146
|
-
(a instanceof TestOutputSubject && b instanceof TestOutputSubject && a.test === b.test && a.taskIndex === b.taskIndex));
|
|
147
|
-
function* allMessages(results) {
|
|
148
|
-
for (const result of results) {
|
|
149
|
-
for (const test of result.tests) {
|
|
150
|
-
for (let taskIndex = 0; taskIndex < test.tasks.length; taskIndex++) {
|
|
151
|
-
for (let messageIndex = 0; messageIndex < test.tasks[taskIndex].messages.length; messageIndex++) {
|
|
152
|
-
yield { result, test, taskIndex, messageIndex };
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
let TestingPeekOpener = class TestingPeekOpener extends Disposable {
|
|
159
|
-
constructor(configuration, editorService, codeEditorService, testResults, testService, storageService, viewsService, commandService, notificationService) {
|
|
160
|
-
super();
|
|
161
|
-
this.configuration = configuration;
|
|
162
|
-
this.editorService = editorService;
|
|
163
|
-
this.codeEditorService = codeEditorService;
|
|
164
|
-
this.testResults = testResults;
|
|
165
|
-
this.testService = testService;
|
|
166
|
-
this.storageService = storageService;
|
|
167
|
-
this.viewsService = viewsService;
|
|
168
|
-
this.commandService = commandService;
|
|
169
|
-
this.notificationService = notificationService;
|
|
170
|
-
this.historyVisible = MutableObservableValue.stored(this._register(( new StoredValue({
|
|
171
|
-
key: 'testHistoryVisibleInPeek',
|
|
172
|
-
scope: 0 ,
|
|
173
|
-
target: 0 ,
|
|
174
|
-
}, this.storageService))), false);
|
|
175
|
-
this._register(testResults.onTestChanged(this.openPeekOnFailure, this));
|
|
176
|
-
}
|
|
177
|
-
async open() {
|
|
178
|
-
let uri;
|
|
179
|
-
const active = this.editorService.activeTextEditorControl;
|
|
180
|
-
if (isCodeEditor(active) && active.getModel()?.uri) {
|
|
181
|
-
const modelUri = active.getModel()?.uri;
|
|
182
|
-
if (modelUri) {
|
|
183
|
-
uri = await this.getFileCandidateMessage(modelUri, active.getPosition());
|
|
184
|
-
}
|
|
185
|
-
}
|
|
186
|
-
if (!uri) {
|
|
187
|
-
uri = this.lastUri;
|
|
188
|
-
}
|
|
189
|
-
if (!uri) {
|
|
190
|
-
uri = this.getAnyCandidateMessage();
|
|
191
|
-
}
|
|
192
|
-
if (!uri) {
|
|
193
|
-
return false;
|
|
194
|
-
}
|
|
195
|
-
return this.showPeekFromUri(uri);
|
|
196
|
-
}
|
|
197
|
-
tryPeekFirstError(result, test, options) {
|
|
198
|
-
const candidate = this.getFailedCandidateMessage(test);
|
|
199
|
-
if (!candidate) {
|
|
200
|
-
return false;
|
|
201
|
-
}
|
|
202
|
-
this.showPeekFromUri({
|
|
203
|
-
type: 2 ,
|
|
204
|
-
documentUri: candidate.location.uri,
|
|
205
|
-
taskIndex: candidate.taskId,
|
|
206
|
-
messageIndex: candidate.index,
|
|
207
|
-
resultId: result.id,
|
|
208
|
-
testExtId: test.item.extId,
|
|
209
|
-
}, undefined, { selection: candidate.location.range, selectionRevealType: 3 , ...options });
|
|
210
|
-
return true;
|
|
211
|
-
}
|
|
212
|
-
peekUri(uri, options = {}) {
|
|
213
|
-
const parsed = parseTestUri(uri);
|
|
214
|
-
const result = parsed && this.testResults.getResult(parsed.resultId);
|
|
215
|
-
if (!parsed || !result || !('testExtId' in parsed)) {
|
|
216
|
-
return false;
|
|
217
|
-
}
|
|
218
|
-
if (!('messageIndex' in parsed)) {
|
|
219
|
-
return false;
|
|
220
|
-
}
|
|
221
|
-
const message = result.getStateById(parsed.testExtId)?.tasks[parsed.taskIndex].messages[parsed.messageIndex];
|
|
222
|
-
if (!message?.location) {
|
|
223
|
-
return false;
|
|
224
|
-
}
|
|
225
|
-
this.showPeekFromUri({
|
|
226
|
-
type: 2 ,
|
|
227
|
-
documentUri: message.location.uri,
|
|
228
|
-
taskIndex: parsed.taskIndex,
|
|
229
|
-
messageIndex: parsed.messageIndex,
|
|
230
|
-
resultId: result.id,
|
|
231
|
-
testExtId: parsed.testExtId,
|
|
232
|
-
}, options.inEditor, { selection: message.location.range, ...options.options });
|
|
233
|
-
return true;
|
|
234
|
-
}
|
|
235
|
-
closeAllPeeks() {
|
|
236
|
-
for (const editor of this.codeEditorService.listCodeEditors()) {
|
|
237
|
-
TestingOutputPeekController.get(editor)?.removePeek();
|
|
238
|
-
}
|
|
239
|
-
}
|
|
240
|
-
openCurrentInEditor() {
|
|
241
|
-
const current = this.getActiveControl();
|
|
242
|
-
if (!current) {
|
|
243
|
-
return;
|
|
244
|
-
}
|
|
245
|
-
const options = { pinned: false, revealIfOpened: true };
|
|
246
|
-
if (current instanceof TaskSubject || current instanceof TestOutputSubject) {
|
|
247
|
-
this.editorService.openEditor({ resource: current.outputUri, options });
|
|
248
|
-
return;
|
|
249
|
-
}
|
|
250
|
-
if (current instanceof TestOutputSubject) {
|
|
251
|
-
this.editorService.openEditor({ resource: current.outputUri, options });
|
|
252
|
-
return;
|
|
253
|
-
}
|
|
254
|
-
const message = current.message;
|
|
255
|
-
if (current.isDiffable) {
|
|
256
|
-
this.editorService.openEditor({
|
|
257
|
-
original: { resource: current.expectedUri },
|
|
258
|
-
modified: { resource: current.actualUri },
|
|
259
|
-
options,
|
|
260
|
-
});
|
|
261
|
-
}
|
|
262
|
-
else if (typeof message.message === 'string') {
|
|
263
|
-
this.editorService.openEditor({ resource: current.messageUri, options });
|
|
264
|
-
}
|
|
265
|
-
else {
|
|
266
|
-
this.commandService.executeCommand('markdown.showPreview', current.messageUri).catch(err => {
|
|
267
|
-
this.notificationService.error(( localizeWithPath(
|
|
268
|
-
'vs/workbench/contrib/testing/browser/testingOutputPeek',
|
|
269
|
-
'testing.markdownPeekError',
|
|
270
|
-
'Could not open markdown preview: {0}.\n\nPlease make sure the markdown extension is enabled.',
|
|
271
|
-
err.message
|
|
272
|
-
)));
|
|
273
|
-
});
|
|
274
|
-
}
|
|
275
|
-
}
|
|
276
|
-
getActiveControl() {
|
|
277
|
-
const editor = getPeekedEditorFromFocus(this.codeEditorService);
|
|
278
|
-
const controller = editor && TestingOutputPeekController.get(editor);
|
|
279
|
-
return controller?.subject ?? this.viewsService.getActiveViewWithId("workbench.panel.testResults.view" )?.subject;
|
|
280
|
-
}
|
|
281
|
-
async showPeekFromUri(uri, editor, options) {
|
|
282
|
-
if (isCodeEditor(editor)) {
|
|
283
|
-
this.lastUri = uri;
|
|
284
|
-
TestingOutputPeekController.get(editor)?.show(buildTestUri(this.lastUri));
|
|
285
|
-
return true;
|
|
286
|
-
}
|
|
287
|
-
const pane = await this.editorService.openEditor({
|
|
288
|
-
resource: uri.documentUri,
|
|
289
|
-
options: { revealIfOpened: true, ...options }
|
|
290
|
-
});
|
|
291
|
-
const control = pane?.getControl();
|
|
292
|
-
if (!isCodeEditor(control)) {
|
|
293
|
-
return false;
|
|
294
|
-
}
|
|
295
|
-
this.lastUri = uri;
|
|
296
|
-
TestingOutputPeekController.get(control)?.show(buildTestUri(this.lastUri));
|
|
297
|
-
return true;
|
|
298
|
-
}
|
|
299
|
-
openPeekOnFailure(evt) {
|
|
300
|
-
if (evt.reason !== 1 ) {
|
|
301
|
-
return;
|
|
302
|
-
}
|
|
303
|
-
const candidate = this.getFailedCandidateMessage(evt.item);
|
|
304
|
-
if (!candidate) {
|
|
305
|
-
return;
|
|
306
|
-
}
|
|
307
|
-
if (evt.result.request.continuous && !getTestingConfiguration(this.configuration, "testing.automaticallyOpenPeekViewDuringAutoRun" )) {
|
|
308
|
-
return;
|
|
309
|
-
}
|
|
310
|
-
const editors = this.codeEditorService.listCodeEditors();
|
|
311
|
-
const cfg = getTestingConfiguration(this.configuration, "testing.automaticallyOpenPeekView" );
|
|
312
|
-
switch (cfg) {
|
|
313
|
-
case "failureInVisibleDocument" : {
|
|
314
|
-
const editorUris = ( new Set(( editors.map(e => e.getModel()?.uri.toString()))));
|
|
315
|
-
if (!( Iterable.some(resultItemParents(evt.result, evt.item), i => i.item.uri && ( editorUris.has(( i.item.uri.toString())))))) {
|
|
316
|
-
return;
|
|
317
|
-
}
|
|
318
|
-
break;
|
|
319
|
-
}
|
|
320
|
-
case "failureAnywhere" :
|
|
321
|
-
break;
|
|
322
|
-
default:
|
|
323
|
-
return;
|
|
324
|
-
}
|
|
325
|
-
const controllers = ( editors.map(TestingOutputPeekController.get));
|
|
326
|
-
if (( controllers.some(c => c?.subject))) {
|
|
327
|
-
return;
|
|
328
|
-
}
|
|
329
|
-
this.tryPeekFirstError(evt.result, evt.item);
|
|
330
|
-
}
|
|
331
|
-
async getFileCandidateMessage(uri, position) {
|
|
332
|
-
let best;
|
|
333
|
-
let bestDistance = Infinity;
|
|
334
|
-
const demandedUriStr = ( uri.toString());
|
|
335
|
-
for (const test of this.testService.collection.all) {
|
|
336
|
-
const result = this.testResults.getStateById(test.item.extId);
|
|
337
|
-
if (!result) {
|
|
338
|
-
continue;
|
|
339
|
-
}
|
|
340
|
-
mapFindTestMessage(result[1], (_task, message, messageIndex, taskIndex) => {
|
|
341
|
-
if (message.type !== 0 || !message.location || ( message.location.uri.toString()) !== demandedUriStr) {
|
|
342
|
-
return;
|
|
343
|
-
}
|
|
344
|
-
const distance = position ? Math.abs(position.lineNumber - message.location.range.startLineNumber) : 0;
|
|
345
|
-
if (!best || distance <= bestDistance) {
|
|
346
|
-
bestDistance = distance;
|
|
347
|
-
best = {
|
|
348
|
-
type: 2 ,
|
|
349
|
-
testExtId: result[1].item.extId,
|
|
350
|
-
resultId: result[0].id,
|
|
351
|
-
taskIndex,
|
|
352
|
-
messageIndex,
|
|
353
|
-
documentUri: uri,
|
|
354
|
-
};
|
|
355
|
-
}
|
|
356
|
-
});
|
|
357
|
-
}
|
|
358
|
-
return best;
|
|
359
|
-
}
|
|
360
|
-
getAnyCandidateMessage() {
|
|
361
|
-
const seen = ( new Set());
|
|
362
|
-
for (const result of this.testResults.results) {
|
|
363
|
-
for (const test of result.tests) {
|
|
364
|
-
if (( seen.has(test.item.extId))) {
|
|
365
|
-
continue;
|
|
366
|
-
}
|
|
367
|
-
seen.add(test.item.extId);
|
|
368
|
-
const found = mapFindTestMessage(test, (task, message, messageIndex, taskIndex) => (message.location && {
|
|
369
|
-
type: 2 ,
|
|
370
|
-
testExtId: test.item.extId,
|
|
371
|
-
resultId: result.id,
|
|
372
|
-
taskIndex,
|
|
373
|
-
messageIndex,
|
|
374
|
-
documentUri: message.location.uri,
|
|
375
|
-
}));
|
|
376
|
-
if (found) {
|
|
377
|
-
return found;
|
|
378
|
-
}
|
|
379
|
-
}
|
|
380
|
-
}
|
|
381
|
-
return undefined;
|
|
382
|
-
}
|
|
383
|
-
getFailedCandidateMessage(test) {
|
|
384
|
-
const fallbackLocation = test.item.uri && test.item.range
|
|
385
|
-
? { uri: test.item.uri, range: test.item.range }
|
|
386
|
-
: undefined;
|
|
387
|
-
let best;
|
|
388
|
-
mapFindTestMessage(test, (task, message, messageIndex, taskId) => {
|
|
389
|
-
const location = message.location || fallbackLocation;
|
|
390
|
-
if (!isFailedState(task.state) || !location) {
|
|
391
|
-
return;
|
|
392
|
-
}
|
|
393
|
-
if (best && message.type !== 0 ) {
|
|
394
|
-
return;
|
|
395
|
-
}
|
|
396
|
-
best = { taskId, index: messageIndex, message, location };
|
|
397
|
-
});
|
|
398
|
-
return best;
|
|
399
|
-
}
|
|
400
|
-
};
|
|
401
|
-
TestingPeekOpener = ( __decorate([
|
|
402
|
-
( __param(0, IConfigurationService)),
|
|
403
|
-
( __param(1, IEditorService)),
|
|
404
|
-
( __param(2, ICodeEditorService)),
|
|
405
|
-
( __param(3, ITestResultService)),
|
|
406
|
-
( __param(4, ITestService)),
|
|
407
|
-
( __param(5, IStorageService)),
|
|
408
|
-
( __param(6, IViewsService)),
|
|
409
|
-
( __param(7, ICommandService)),
|
|
410
|
-
( __param(8, INotificationService))
|
|
411
|
-
], TestingPeekOpener));
|
|
412
|
-
const mapFindTestMessage = (test, fn) => {
|
|
413
|
-
for (let taskIndex = 0; taskIndex < test.tasks.length; taskIndex++) {
|
|
414
|
-
const task = test.tasks[taskIndex];
|
|
415
|
-
for (let messageIndex = 0; messageIndex < task.messages.length; messageIndex++) {
|
|
416
|
-
const r = fn(task, task.messages[messageIndex], messageIndex, taskIndex);
|
|
417
|
-
if (r !== undefined) {
|
|
418
|
-
return r;
|
|
419
|
-
}
|
|
420
|
-
}
|
|
421
|
-
}
|
|
422
|
-
return undefined;
|
|
423
|
-
};
|
|
424
|
-
let TestingOutputPeekController = TestingOutputPeekController_1 = class TestingOutputPeekController extends Disposable {
|
|
425
|
-
static get(editor) {
|
|
426
|
-
return editor.getContribution("editor.contrib.testingOutputPeek" );
|
|
427
|
-
}
|
|
428
|
-
get subject() {
|
|
429
|
-
return this.peek.value?.current;
|
|
430
|
-
}
|
|
431
|
-
constructor(editor, codeEditorService, instantiationService, testResults, contextKeyService) {
|
|
432
|
-
super();
|
|
433
|
-
this.editor = editor;
|
|
434
|
-
this.codeEditorService = codeEditorService;
|
|
435
|
-
this.instantiationService = instantiationService;
|
|
436
|
-
this.testResults = testResults;
|
|
437
|
-
this.peek = this._register(( new MutableDisposable()));
|
|
438
|
-
this.visible = TestingContextKeys.isPeekVisible.bindTo(contextKeyService);
|
|
439
|
-
this._register(editor.onDidChangeModel(() => this.peek.clear()));
|
|
440
|
-
this._register(testResults.onResultsChanged(this.closePeekOnCertainResultEvents, this));
|
|
441
|
-
this._register(testResults.onTestChanged(this.closePeekOnTestChange, this));
|
|
442
|
-
}
|
|
443
|
-
toggle(uri) {
|
|
444
|
-
if (this.currentPeekUri?.toString() === ( uri.toString())) {
|
|
445
|
-
this.peek.clear();
|
|
446
|
-
}
|
|
447
|
-
else {
|
|
448
|
-
this.show(uri);
|
|
449
|
-
}
|
|
450
|
-
}
|
|
451
|
-
async show(uri) {
|
|
452
|
-
const subject = this.retrieveTest(uri);
|
|
453
|
-
if (!subject) {
|
|
454
|
-
return;
|
|
455
|
-
}
|
|
456
|
-
if (!this.peek.value) {
|
|
457
|
-
this.peek.value = this.instantiationService.createInstance(TestResultsPeek, this.editor);
|
|
458
|
-
this.peek.value.onDidClose(() => {
|
|
459
|
-
this.visible.set(false);
|
|
460
|
-
this.currentPeekUri = undefined;
|
|
461
|
-
this.peek.value = undefined;
|
|
462
|
-
});
|
|
463
|
-
this.visible.set(true);
|
|
464
|
-
this.peek.value.create();
|
|
465
|
-
}
|
|
466
|
-
if (subject instanceof MessageSubject) {
|
|
467
|
-
alert(renderTestMessageAsText(subject.message.message));
|
|
468
|
-
}
|
|
469
|
-
this.peek.value.setModel(subject);
|
|
470
|
-
this.currentPeekUri = uri;
|
|
471
|
-
}
|
|
472
|
-
async openAndShow(uri) {
|
|
473
|
-
const subject = this.retrieveTest(uri);
|
|
474
|
-
if (!subject) {
|
|
475
|
-
return;
|
|
476
|
-
}
|
|
477
|
-
if (!subject.revealLocation || ( subject.revealLocation.uri.toString()) === this.editor.getModel()?.uri.toString()) {
|
|
478
|
-
return this.show(uri);
|
|
479
|
-
}
|
|
480
|
-
const otherEditor = await this.codeEditorService.openCodeEditor({
|
|
481
|
-
resource: subject.revealLocation.uri,
|
|
482
|
-
options: { pinned: false, revealIfOpened: true }
|
|
483
|
-
}, this.editor);
|
|
484
|
-
if (otherEditor) {
|
|
485
|
-
TestingOutputPeekController_1.get(otherEditor)?.removePeek();
|
|
486
|
-
return TestingOutputPeekController_1.get(otherEditor)?.show(uri);
|
|
487
|
-
}
|
|
488
|
-
}
|
|
489
|
-
removePeek() {
|
|
490
|
-
this.peek.clear();
|
|
491
|
-
}
|
|
492
|
-
next() {
|
|
493
|
-
const subject = this.peek.value?.current;
|
|
494
|
-
if (!subject) {
|
|
495
|
-
return;
|
|
496
|
-
}
|
|
497
|
-
let found = false;
|
|
498
|
-
for (const { messageIndex, taskIndex, result, test } of allMessages(this.testResults.results)) {
|
|
499
|
-
if (subject instanceof TaskSubject && result.id === subject.result.id) {
|
|
500
|
-
found = true;
|
|
501
|
-
}
|
|
502
|
-
if (found) {
|
|
503
|
-
this.openAndShow(buildTestUri({
|
|
504
|
-
type: 2 ,
|
|
505
|
-
messageIndex,
|
|
506
|
-
taskIndex,
|
|
507
|
-
resultId: result.id,
|
|
508
|
-
testExtId: test.item.extId
|
|
509
|
-
}));
|
|
510
|
-
return;
|
|
511
|
-
}
|
|
512
|
-
if (subject instanceof TestOutputSubject && subject.test.item.extId === test.item.extId && subject.taskIndex === taskIndex && subject.result.id === result.id) {
|
|
513
|
-
found = true;
|
|
514
|
-
}
|
|
515
|
-
if (subject instanceof MessageSubject && subject.test.extId === test.item.extId && subject.messageIndex === messageIndex && subject.taskIndex === taskIndex && subject.result.id === result.id) {
|
|
516
|
-
found = true;
|
|
517
|
-
}
|
|
518
|
-
}
|
|
519
|
-
}
|
|
520
|
-
previous() {
|
|
521
|
-
const subject = this.peek.value?.current;
|
|
522
|
-
if (!subject) {
|
|
523
|
-
return;
|
|
524
|
-
}
|
|
525
|
-
let previous;
|
|
526
|
-
for (const m of allMessages(this.testResults.results)) {
|
|
527
|
-
if (subject instanceof TaskSubject) {
|
|
528
|
-
if (m.result.id === subject.result.id) {
|
|
529
|
-
break;
|
|
530
|
-
}
|
|
531
|
-
continue;
|
|
532
|
-
}
|
|
533
|
-
if (subject instanceof TestOutputSubject) {
|
|
534
|
-
if (m.test.item.extId === subject.test.item.extId && m.result.id === subject.result.id && m.taskIndex === subject.taskIndex) {
|
|
535
|
-
break;
|
|
536
|
-
}
|
|
537
|
-
continue;
|
|
538
|
-
}
|
|
539
|
-
if (subject.test.extId === m.test.item.extId && subject.messageIndex === m.messageIndex && subject.taskIndex === m.taskIndex && subject.result.id === m.result.id) {
|
|
540
|
-
break;
|
|
541
|
-
}
|
|
542
|
-
previous = m;
|
|
543
|
-
}
|
|
544
|
-
if (previous) {
|
|
545
|
-
this.openAndShow(buildTestUri({
|
|
546
|
-
type: 2 ,
|
|
547
|
-
messageIndex: previous.messageIndex,
|
|
548
|
-
taskIndex: previous.taskIndex,
|
|
549
|
-
resultId: previous.result.id,
|
|
550
|
-
testExtId: previous.test.item.extId
|
|
551
|
-
}));
|
|
552
|
-
}
|
|
553
|
-
}
|
|
554
|
-
removeIfPeekingForTest(testId) {
|
|
555
|
-
const c = this.peek.value?.current;
|
|
556
|
-
if (c && c instanceof MessageSubject && c.test.extId === testId) {
|
|
557
|
-
this.peek.clear();
|
|
558
|
-
}
|
|
559
|
-
}
|
|
560
|
-
closePeekOnTestChange(evt) {
|
|
561
|
-
if (evt.reason !== 1 || evt.previousState === evt.item.ownComputedState) {
|
|
562
|
-
return;
|
|
563
|
-
}
|
|
564
|
-
this.removeIfPeekingForTest(evt.item.item.extId);
|
|
565
|
-
}
|
|
566
|
-
closePeekOnCertainResultEvents(evt) {
|
|
567
|
-
if ('started' in evt) {
|
|
568
|
-
this.peek.clear();
|
|
569
|
-
}
|
|
570
|
-
if ('removed' in evt && this.testResults.results.length === 0) {
|
|
571
|
-
this.peek.clear();
|
|
572
|
-
}
|
|
573
|
-
}
|
|
574
|
-
retrieveTest(uri) {
|
|
575
|
-
const parts = parseTestUri(uri);
|
|
576
|
-
if (!parts) {
|
|
577
|
-
return undefined;
|
|
578
|
-
}
|
|
579
|
-
const result = this.testResults.results.find(r => r.id === parts.resultId);
|
|
580
|
-
if (!result) {
|
|
581
|
-
return;
|
|
582
|
-
}
|
|
583
|
-
if (parts.type === 0 ) {
|
|
584
|
-
return ( new TaskSubject(result, parts.taskIndex));
|
|
585
|
-
}
|
|
586
|
-
if (parts.type === 1 ) {
|
|
587
|
-
const test = result.getStateById(parts.testExtId);
|
|
588
|
-
if (!test) {
|
|
589
|
-
return;
|
|
590
|
-
}
|
|
591
|
-
return ( new TestOutputSubject(result, parts.taskIndex, test));
|
|
592
|
-
}
|
|
593
|
-
const { testExtId, taskIndex, messageIndex } = parts;
|
|
594
|
-
const test = result?.getStateById(testExtId);
|
|
595
|
-
if (!test || !test.tasks[parts.taskIndex]) {
|
|
596
|
-
return;
|
|
597
|
-
}
|
|
598
|
-
return ( new MessageSubject(result, test, taskIndex, messageIndex));
|
|
599
|
-
}
|
|
600
|
-
};
|
|
601
|
-
TestingOutputPeekController = TestingOutputPeekController_1 = ( __decorate([
|
|
602
|
-
( __param(1, ICodeEditorService)),
|
|
603
|
-
( __param(2, IInstantiationService)),
|
|
604
|
-
( __param(3, ITestResultService)),
|
|
605
|
-
( __param(4, IContextKeyService))
|
|
606
|
-
], TestingOutputPeekController));
|
|
607
|
-
let TestResultsViewContent = class TestResultsViewContent extends Disposable {
|
|
608
|
-
static { TestResultsViewContent_1 = this; }
|
|
609
|
-
constructor(editor, options, instantiationService, modelService, contextKeyService) {
|
|
610
|
-
super();
|
|
611
|
-
this.editor = editor;
|
|
612
|
-
this.options = options;
|
|
613
|
-
this.instantiationService = instantiationService;
|
|
614
|
-
this.modelService = modelService;
|
|
615
|
-
this.contextKeyService = contextKeyService;
|
|
616
|
-
this.didReveal = this._register(( new Emitter()));
|
|
617
|
-
this.currentSubjectStore = this._register(( new DisposableStore()));
|
|
618
|
-
this.contentProvidersUpdateLimiter = this._register(( new Limiter(1)));
|
|
619
|
-
}
|
|
620
|
-
fillBody(containerElement) {
|
|
621
|
-
const initialSpitWidth = TestResultsViewContent_1.lastSplitWidth;
|
|
622
|
-
this.splitView = ( new SplitView(containerElement, { orientation: 1 }));
|
|
623
|
-
const { historyVisible, showRevealLocationOnMessages } = this.options;
|
|
624
|
-
const isInPeekView = this.editor !== undefined;
|
|
625
|
-
const messageContainer = this.messageContainer = append(containerElement, $('.test-output-peek-message-container'));
|
|
626
|
-
this.contentProviders = [
|
|
627
|
-
this._register(this.instantiationService.createInstance(DiffContentProvider, this.editor, messageContainer)),
|
|
628
|
-
this._register(this.instantiationService.createInstance(MarkdownTestMessagePeek, messageContainer)),
|
|
629
|
-
this._register(this.instantiationService.createInstance(TerminalMessagePeek, messageContainer, isInPeekView)),
|
|
630
|
-
this._register(this.instantiationService.createInstance(PlainTextMessagePeek, this.editor, messageContainer)),
|
|
631
|
-
];
|
|
632
|
-
this.messageContextKeyService = this._register(this.contextKeyService.createScoped(this.messageContainer));
|
|
633
|
-
this.contextKeyTestMessage = TestingContextKeys.testMessageContext.bindTo(this.messageContextKeyService);
|
|
634
|
-
this.contextKeyResultOutdated = TestingContextKeys.testResultOutdated.bindTo(this.messageContextKeyService);
|
|
635
|
-
const treeContainer = append(containerElement, $('.test-output-peek-tree'));
|
|
636
|
-
const tree = this._register(this.instantiationService.createInstance(OutputPeekTree, treeContainer, this.didReveal.event, { showRevealLocationOnMessages, locationForProgress: this.options.locationForProgress }));
|
|
637
|
-
this.onDidRequestReveal = tree.onDidRequestReview;
|
|
638
|
-
this.splitView.addView({
|
|
639
|
-
onDidChange: Event.None,
|
|
640
|
-
element: messageContainer,
|
|
641
|
-
minimumSize: 200,
|
|
642
|
-
maximumSize: Number.MAX_VALUE,
|
|
643
|
-
layout: width => {
|
|
644
|
-
TestResultsViewContent_1.lastSplitWidth = width;
|
|
645
|
-
if (this.dimension) {
|
|
646
|
-
for (const provider of this.contentProviders) {
|
|
647
|
-
provider.layout({ height: this.dimension.height, width });
|
|
648
|
-
}
|
|
649
|
-
}
|
|
650
|
-
},
|
|
651
|
-
}, Sizing.Distribute);
|
|
652
|
-
this.splitView.addView({
|
|
653
|
-
onDidChange: Event.None,
|
|
654
|
-
element: treeContainer,
|
|
655
|
-
minimumSize: 100,
|
|
656
|
-
maximumSize: Number.MAX_VALUE,
|
|
657
|
-
layout: width => {
|
|
658
|
-
if (this.dimension) {
|
|
659
|
-
tree.layout(this.dimension.height, width);
|
|
660
|
-
}
|
|
661
|
-
},
|
|
662
|
-
}, Sizing.Distribute);
|
|
663
|
-
const historyViewIndex = 1;
|
|
664
|
-
this.splitView.setViewVisible(historyViewIndex, historyVisible.value);
|
|
665
|
-
this._register(historyVisible.onDidChange(visible => {
|
|
666
|
-
this.splitView.setViewVisible(historyViewIndex, visible);
|
|
667
|
-
}));
|
|
668
|
-
if (initialSpitWidth) {
|
|
669
|
-
queueMicrotask(() => this.splitView.resizeView(0, initialSpitWidth));
|
|
670
|
-
}
|
|
671
|
-
}
|
|
672
|
-
reveal(opts) {
|
|
673
|
-
this.didReveal.fire(opts);
|
|
674
|
-
if (this.current && equalsSubject(this.current, opts.subject)) {
|
|
675
|
-
return Promise.resolve();
|
|
676
|
-
}
|
|
677
|
-
this.current = opts.subject;
|
|
678
|
-
return this.contentProvidersUpdateLimiter.queue(async () => {
|
|
679
|
-
await Promise.all(( this.contentProviders.map(p => p.update(opts.subject))));
|
|
680
|
-
this.currentSubjectStore.clear();
|
|
681
|
-
this.populateFloatingClick(opts.subject);
|
|
682
|
-
});
|
|
683
|
-
}
|
|
684
|
-
populateFloatingClick(subject) {
|
|
685
|
-
if (!(subject instanceof MessageSubject)) {
|
|
686
|
-
return;
|
|
687
|
-
}
|
|
688
|
-
this.currentSubjectStore.add(toDisposable(() => {
|
|
689
|
-
this.contextKeyResultOutdated.reset();
|
|
690
|
-
this.contextKeyTestMessage.reset();
|
|
691
|
-
}));
|
|
692
|
-
this.contextKeyTestMessage.set(subject.contextValue || '');
|
|
693
|
-
if (subject.result instanceof LiveTestResult) {
|
|
694
|
-
this.contextKeyResultOutdated.set(subject.result.getStateById(subject.test.extId)?.retired ?? false);
|
|
695
|
-
this.currentSubjectStore.add(subject.result.onChange(ev => {
|
|
696
|
-
if (ev.item.item.extId === subject.test.extId) {
|
|
697
|
-
this.contextKeyResultOutdated.set(ev.item.retired ?? false);
|
|
698
|
-
}
|
|
699
|
-
}));
|
|
700
|
-
}
|
|
701
|
-
else {
|
|
702
|
-
this.contextKeyResultOutdated.set(true);
|
|
703
|
-
}
|
|
704
|
-
this.currentSubjectStore.add(this.instantiationService
|
|
705
|
-
.createChild(( new ServiceCollection([IContextKeyService, this.messageContextKeyService])))
|
|
706
|
-
.createInstance(FloatingClickMenu, {
|
|
707
|
-
container: this.messageContainer,
|
|
708
|
-
menuId: MenuId.TestMessageContent,
|
|
709
|
-
getActionArg: () => subject.context,
|
|
710
|
-
}));
|
|
711
|
-
}
|
|
712
|
-
onLayoutBody(height, width) {
|
|
713
|
-
this.dimension = new Dimension(width, height);
|
|
714
|
-
this.splitView.layout(width);
|
|
715
|
-
}
|
|
716
|
-
onWidth(width) {
|
|
717
|
-
this.splitView.layout(width);
|
|
718
|
-
}
|
|
719
|
-
};
|
|
720
|
-
TestResultsViewContent = TestResultsViewContent_1 = ( __decorate([
|
|
721
|
-
( __param(2, IInstantiationService)),
|
|
722
|
-
( __param(3, ITextModelService)),
|
|
723
|
-
( __param(4, IContextKeyService))
|
|
724
|
-
], TestResultsViewContent));
|
|
725
|
-
let TestResultsPeek = class TestResultsPeek extends PeekViewWidget {
|
|
726
|
-
static { TestResultsPeek_1 = this; }
|
|
727
|
-
constructor(editor, themeService, peekViewService, testingPeek, contextKeyService, menuService, instantiationService, modelService) {
|
|
728
|
-
super(editor, { showFrame: true, frameWidth: 1, showArrow: true, isResizeable: true, isAccessible: true, className: 'test-output-peek' }, instantiationService);
|
|
729
|
-
this.themeService = themeService;
|
|
730
|
-
this.testingPeek = testingPeek;
|
|
731
|
-
this.contextKeyService = contextKeyService;
|
|
732
|
-
this.menuService = menuService;
|
|
733
|
-
this.modelService = modelService;
|
|
734
|
-
this.visibilityChange = this._disposables.add(( new Emitter()));
|
|
735
|
-
this._disposables.add(themeService.onDidColorThemeChange(this.applyTheme, this));
|
|
736
|
-
this._disposables.add(this.onDidClose(() => this.visibilityChange.fire(false)));
|
|
737
|
-
peekViewService.addExclusiveWidget(editor, this);
|
|
738
|
-
}
|
|
739
|
-
applyTheme() {
|
|
740
|
-
const theme = this.themeService.getColorTheme();
|
|
741
|
-
const isError = this.current instanceof MessageSubject && this.current.message.type === 0 ;
|
|
742
|
-
const borderColor = (isError ? theme.getColor(testingPeekBorder) : theme.getColor(testingMessagePeekBorder)) || Color.transparent;
|
|
743
|
-
const headerBg = (isError ? theme.getColor(testingPeekHeaderBackground) : theme.getColor(testingPeekMessageHeaderBackground)) || Color.transparent;
|
|
744
|
-
const editorBg = theme.getColor(editorBackground);
|
|
745
|
-
this.style({
|
|
746
|
-
arrowColor: borderColor,
|
|
747
|
-
frameColor: borderColor,
|
|
748
|
-
headerBackgroundColor: editorBg && headerBg ? headerBg.makeOpaque(editorBg) : headerBg,
|
|
749
|
-
primaryHeadingColor: theme.getColor(peekViewTitleForeground),
|
|
750
|
-
secondaryHeadingColor: theme.getColor(peekViewTitleInfoForeground)
|
|
751
|
-
});
|
|
752
|
-
}
|
|
753
|
-
_fillContainer(container) {
|
|
754
|
-
if (!this.scopedContextKeyService) {
|
|
755
|
-
this.scopedContextKeyService = this._disposables.add(this.contextKeyService.createScoped(container));
|
|
756
|
-
TestingContextKeys.isInPeek.bindTo(this.scopedContextKeyService).set(true);
|
|
757
|
-
const instaService = this.instantiationService.createChild(( new ServiceCollection([IContextKeyService, this.scopedContextKeyService])));
|
|
758
|
-
this.content = this._disposables.add(instaService.createInstance(TestResultsViewContent, this.editor, { historyVisible: this.testingPeek.historyVisible, showRevealLocationOnMessages: false, locationForProgress: "workbench.panel.testResults.view" }));
|
|
759
|
-
}
|
|
760
|
-
super._fillContainer(container);
|
|
761
|
-
}
|
|
762
|
-
_fillHead(container) {
|
|
763
|
-
super._fillHead(container);
|
|
764
|
-
const actions = [];
|
|
765
|
-
const menu = this.menuService.createMenu(MenuId.TestPeekTitle, this.contextKeyService);
|
|
766
|
-
createAndFillInActionBarActions(menu, undefined, actions);
|
|
767
|
-
this._actionbarWidget.push(actions, { label: false, icon: true, index: 0 });
|
|
768
|
-
menu.dispose();
|
|
769
|
-
}
|
|
770
|
-
_fillBody(containerElement) {
|
|
771
|
-
this.content.fillBody(containerElement);
|
|
772
|
-
this.content.onDidRequestReveal(sub => {
|
|
773
|
-
TestingOutputPeekController.get(this.editor)?.show(sub instanceof MessageSubject
|
|
774
|
-
? sub.messageUri
|
|
775
|
-
: sub.outputUri);
|
|
776
|
-
});
|
|
777
|
-
}
|
|
778
|
-
setModel(subject) {
|
|
779
|
-
if (subject instanceof TaskSubject || subject instanceof TestOutputSubject) {
|
|
780
|
-
this.current = subject;
|
|
781
|
-
return this.showInPlace(subject);
|
|
782
|
-
}
|
|
783
|
-
const message = subject.message;
|
|
784
|
-
const previous = this.current;
|
|
785
|
-
if (!subject.revealLocation && !previous) {
|
|
786
|
-
return Promise.resolve();
|
|
787
|
-
}
|
|
788
|
-
this.current = subject;
|
|
789
|
-
if (!subject.revealLocation) {
|
|
790
|
-
return this.showInPlace(subject);
|
|
791
|
-
}
|
|
792
|
-
this.show(subject.revealLocation.range, TestResultsPeek_1.lastHeightInLines || hintMessagePeekHeight(message));
|
|
793
|
-
const startPosition = subject.revealLocation.range.getStartPosition();
|
|
794
|
-
this.editor.revealRangeNearTopIfOutsideViewport(Range.fromPositions(startPosition), 0 );
|
|
795
|
-
return this.showInPlace(subject);
|
|
796
|
-
}
|
|
797
|
-
async showInPlace(subject) {
|
|
798
|
-
if (subject instanceof MessageSubject) {
|
|
799
|
-
const message = subject.message;
|
|
800
|
-
this.setTitle(firstLine(renderTestMessageAsText(message.message)), stripIcons(subject.test.label));
|
|
801
|
-
}
|
|
802
|
-
else {
|
|
803
|
-
this.setTitle(( localizeWithPath(
|
|
804
|
-
'vs/workbench/contrib/testing/browser/testingOutputPeek',
|
|
805
|
-
'testOutputTitle',
|
|
806
|
-
'Test Output'
|
|
807
|
-
)));
|
|
808
|
-
}
|
|
809
|
-
this.applyTheme();
|
|
810
|
-
await this.content.reveal({ subject: subject, preserveFocus: false });
|
|
811
|
-
}
|
|
812
|
-
_relayout(newHeightInLines) {
|
|
813
|
-
super._relayout(newHeightInLines);
|
|
814
|
-
TestResultsPeek_1.lastHeightInLines = newHeightInLines;
|
|
815
|
-
}
|
|
816
|
-
_doLayoutBody(height, width) {
|
|
817
|
-
super._doLayoutBody(height, width);
|
|
818
|
-
this.content.onLayoutBody(height, width);
|
|
819
|
-
}
|
|
820
|
-
_onWidth(width) {
|
|
821
|
-
super._onWidth(width);
|
|
822
|
-
if (this.dimension) {
|
|
823
|
-
this.dimension = new Dimension(width, this.dimension.height);
|
|
824
|
-
}
|
|
825
|
-
this.content.onWidth(width);
|
|
826
|
-
}
|
|
827
|
-
};
|
|
828
|
-
TestResultsPeek = TestResultsPeek_1 = ( __decorate([
|
|
829
|
-
( __param(1, IThemeService)),
|
|
830
|
-
( __param(2, IPeekViewService)),
|
|
831
|
-
( __param(3, ITestingPeekOpener)),
|
|
832
|
-
( __param(4, IContextKeyService)),
|
|
833
|
-
( __param(5, IMenuService)),
|
|
834
|
-
( __param(6, IInstantiationService)),
|
|
835
|
-
( __param(7, ITextModelService))
|
|
836
|
-
], TestResultsPeek));
|
|
837
|
-
let TestResultsView = class TestResultsView extends ViewPane {
|
|
838
|
-
constructor(options, keybindingService, contextMenuService, configurationService, contextKeyService, viewDescriptorService, instantiationService, openerService, themeService, telemetryService, resultService) {
|
|
839
|
-
super(options, keybindingService, contextMenuService, configurationService, contextKeyService, viewDescriptorService, instantiationService, openerService, themeService, telemetryService);
|
|
840
|
-
this.resultService = resultService;
|
|
841
|
-
this.content = ( new Lazy(
|
|
842
|
-
() => this._register(this.instantiationService.createInstance(TestResultsViewContent, undefined, {
|
|
843
|
-
historyVisible: staticObservableValue(true),
|
|
844
|
-
showRevealLocationOnMessages: true,
|
|
845
|
-
locationForProgress: "workbench.view.testing" ,
|
|
846
|
-
}))
|
|
847
|
-
));
|
|
848
|
-
}
|
|
849
|
-
get subject() {
|
|
850
|
-
return this.content.rawValue?.current;
|
|
851
|
-
}
|
|
852
|
-
showLatestRun(preserveFocus = false) {
|
|
853
|
-
const result = this.resultService.results.find(r => r.tasks.length);
|
|
854
|
-
if (!result) {
|
|
855
|
-
return;
|
|
856
|
-
}
|
|
857
|
-
this.content.rawValue?.reveal({ preserveFocus, subject: ( new TaskSubject(result, 0)) });
|
|
858
|
-
}
|
|
859
|
-
renderBody(container) {
|
|
860
|
-
super.renderBody(container);
|
|
861
|
-
if (this.isBodyVisible()) {
|
|
862
|
-
this.renderContent(container);
|
|
863
|
-
}
|
|
864
|
-
else {
|
|
865
|
-
this._register(Event.once(Event.filter(this.onDidChangeBodyVisibility, Boolean))(() => this.renderContent(container)));
|
|
866
|
-
}
|
|
867
|
-
}
|
|
868
|
-
layoutBody(height, width) {
|
|
869
|
-
super.layoutBody(height, width);
|
|
870
|
-
this.content.rawValue?.onLayoutBody(height, width);
|
|
871
|
-
}
|
|
872
|
-
renderContent(container) {
|
|
873
|
-
const content = this.content.value;
|
|
874
|
-
content.fillBody(container);
|
|
875
|
-
content.onDidRequestReveal(subject => content.reveal({ preserveFocus: true, subject }));
|
|
876
|
-
const [lastResult] = this.resultService.results;
|
|
877
|
-
if (lastResult && lastResult.tasks.length) {
|
|
878
|
-
content.reveal({ preserveFocus: true, subject: ( new TaskSubject(lastResult, 0)) });
|
|
879
|
-
}
|
|
880
|
-
}
|
|
881
|
-
};
|
|
882
|
-
TestResultsView = ( __decorate([
|
|
883
|
-
( __param(1, IKeybindingService)),
|
|
884
|
-
( __param(2, IContextMenuService)),
|
|
885
|
-
( __param(3, IConfigurationService)),
|
|
886
|
-
( __param(4, IContextKeyService)),
|
|
887
|
-
( __param(5, IViewDescriptorService)),
|
|
888
|
-
( __param(6, IInstantiationService)),
|
|
889
|
-
( __param(7, IOpenerService)),
|
|
890
|
-
( __param(8, IThemeService)),
|
|
891
|
-
( __param(9, ITelemetryService)),
|
|
892
|
-
( __param(10, ITestResultService))
|
|
893
|
-
], TestResultsView));
|
|
894
|
-
const commonEditorOptions = {
|
|
895
|
-
scrollBeyondLastLine: false,
|
|
896
|
-
links: true,
|
|
897
|
-
lineNumbers: 'off',
|
|
898
|
-
scrollbar: {
|
|
899
|
-
verticalScrollbarSize: 14,
|
|
900
|
-
horizontal: 'auto',
|
|
901
|
-
useShadows: true,
|
|
902
|
-
verticalHasArrows: false,
|
|
903
|
-
horizontalHasArrows: false,
|
|
904
|
-
alwaysConsumeMouseWheel: false
|
|
905
|
-
},
|
|
906
|
-
fixedOverflowWidgets: true,
|
|
907
|
-
readOnly: true,
|
|
908
|
-
minimap: {
|
|
909
|
-
enabled: false
|
|
910
|
-
},
|
|
911
|
-
wordWrap: 'on',
|
|
912
|
-
};
|
|
913
|
-
const diffEditorOptions = {
|
|
914
|
-
...commonEditorOptions,
|
|
915
|
-
enableSplitViewResizing: true,
|
|
916
|
-
isInEmbeddedEditor: true,
|
|
917
|
-
renderOverviewRuler: false,
|
|
918
|
-
ignoreTrimWhitespace: false,
|
|
919
|
-
renderSideBySide: true,
|
|
920
|
-
useInlineViewWhenSpaceIsLimited: false,
|
|
921
|
-
originalAriaLabel: ( localizeWithPath(
|
|
922
|
-
'vs/workbench/contrib/testing/browser/testingOutputPeek',
|
|
923
|
-
'testingOutputExpected',
|
|
924
|
-
'Expected result'
|
|
925
|
-
)),
|
|
926
|
-
modifiedAriaLabel: ( localizeWithPath(
|
|
927
|
-
'vs/workbench/contrib/testing/browser/testingOutputPeek',
|
|
928
|
-
'testingOutputActual',
|
|
929
|
-
'Actual result'
|
|
930
|
-
)),
|
|
931
|
-
diffAlgorithm: 'advanced',
|
|
932
|
-
};
|
|
933
|
-
const isDiffable = (message) => message.type === 0 && message.actual !== undefined && message.expected !== undefined;
|
|
934
|
-
let DiffContentProvider = class DiffContentProvider extends Disposable {
|
|
935
|
-
constructor(editor, container, instantiationService, modelService) {
|
|
936
|
-
super();
|
|
937
|
-
this.editor = editor;
|
|
938
|
-
this.container = container;
|
|
939
|
-
this.instantiationService = instantiationService;
|
|
940
|
-
this.modelService = modelService;
|
|
941
|
-
this.widget = this._register(( new MutableDisposable()));
|
|
942
|
-
this.model = this._register(( new MutableDisposable()));
|
|
943
|
-
}
|
|
944
|
-
async update(subject) {
|
|
945
|
-
if (!(subject instanceof MessageSubject)) {
|
|
946
|
-
return this.clear();
|
|
947
|
-
}
|
|
948
|
-
const message = subject.message;
|
|
949
|
-
if (!isDiffable(message)) {
|
|
950
|
-
return this.clear();
|
|
951
|
-
}
|
|
952
|
-
const [original, modified] = await Promise.all([
|
|
953
|
-
this.modelService.createModelReference(subject.expectedUri),
|
|
954
|
-
this.modelService.createModelReference(subject.actualUri),
|
|
955
|
-
]);
|
|
956
|
-
const model = this.model.value = ( new SimpleDiffEditorModel(original, modified));
|
|
957
|
-
if (!this.widget.value) {
|
|
958
|
-
this.widget.value = this.editor ? this.instantiationService.createInstance(EmbeddedDiffEditorWidget, this.container, diffEditorOptions, {}, this.editor) : this.instantiationService.createInstance(DiffEditorWidget, this.container, diffEditorOptions, {});
|
|
959
|
-
if (this.dimension) {
|
|
960
|
-
this.widget.value.layout(this.dimension);
|
|
961
|
-
}
|
|
962
|
-
}
|
|
963
|
-
this.widget.value.setModel(model);
|
|
964
|
-
this.widget.value.updateOptions(this.getOptions(isMultiline(message.expected) || isMultiline(message.actual)));
|
|
965
|
-
}
|
|
966
|
-
clear() {
|
|
967
|
-
this.model.clear();
|
|
968
|
-
this.widget.clear();
|
|
969
|
-
}
|
|
970
|
-
layout(dimensions) {
|
|
971
|
-
this.dimension = dimensions;
|
|
972
|
-
this.widget.value?.layout(dimensions);
|
|
973
|
-
}
|
|
974
|
-
getOptions(isMultiline) {
|
|
975
|
-
return isMultiline
|
|
976
|
-
? { ...diffEditorOptions, lineNumbers: 'on' }
|
|
977
|
-
: { ...diffEditorOptions, lineNumbers: 'off' };
|
|
978
|
-
}
|
|
979
|
-
};
|
|
980
|
-
DiffContentProvider = ( __decorate([
|
|
981
|
-
( __param(2, IInstantiationService)),
|
|
982
|
-
( __param(3, ITextModelService))
|
|
983
|
-
], DiffContentProvider));
|
|
984
|
-
class ScrollableMarkdownMessage extends Disposable {
|
|
985
|
-
constructor(container, markdown, message) {
|
|
986
|
-
super();
|
|
987
|
-
const rendered = this._register(markdown.render(message, {}));
|
|
988
|
-
rendered.element.style.height = '100%';
|
|
989
|
-
rendered.element.style.userSelect = 'text';
|
|
990
|
-
container.appendChild(rendered.element);
|
|
991
|
-
this.element = rendered.element;
|
|
992
|
-
this.scrollable = this._register(( new DomScrollableElement(rendered.element, {
|
|
993
|
-
className: 'preview-text',
|
|
994
|
-
})));
|
|
995
|
-
container.appendChild(this.scrollable.getDomNode());
|
|
996
|
-
this._register(toDisposable(() => {
|
|
997
|
-
container.removeChild(this.scrollable.getDomNode());
|
|
998
|
-
}));
|
|
999
|
-
this.scrollable.scanDomNode();
|
|
1000
|
-
}
|
|
1001
|
-
layout(height, width) {
|
|
1002
|
-
this.scrollable.setScrollDimensions({
|
|
1003
|
-
width: width - 32,
|
|
1004
|
-
height: height - 16,
|
|
1005
|
-
scrollWidth: this.element.scrollWidth,
|
|
1006
|
-
scrollHeight: this.element.scrollHeight
|
|
1007
|
-
});
|
|
1008
|
-
}
|
|
1009
|
-
}
|
|
1010
|
-
let MarkdownTestMessagePeek = class MarkdownTestMessagePeek extends Disposable {
|
|
1011
|
-
constructor(container, instantiationService) {
|
|
1012
|
-
super();
|
|
1013
|
-
this.container = container;
|
|
1014
|
-
this.instantiationService = instantiationService;
|
|
1015
|
-
this.markdown = ( new Lazy(
|
|
1016
|
-
() => this._register(this.instantiationService.createInstance(MarkdownRenderer, {}))
|
|
1017
|
-
));
|
|
1018
|
-
this.textPreview = this._register(( new MutableDisposable()));
|
|
1019
|
-
}
|
|
1020
|
-
update(subject) {
|
|
1021
|
-
if (!(subject instanceof MessageSubject)) {
|
|
1022
|
-
return this.textPreview.clear();
|
|
1023
|
-
}
|
|
1024
|
-
const message = subject.message;
|
|
1025
|
-
if (isDiffable(message) || typeof message.message === 'string') {
|
|
1026
|
-
return this.textPreview.clear();
|
|
1027
|
-
}
|
|
1028
|
-
this.textPreview.value = ( new ScrollableMarkdownMessage(this.container, this.markdown.value, message.message));
|
|
1029
|
-
}
|
|
1030
|
-
layout(dimension) {
|
|
1031
|
-
this.textPreview.value?.layout(dimension.height, dimension.width);
|
|
1032
|
-
}
|
|
1033
|
-
};
|
|
1034
|
-
MarkdownTestMessagePeek = ( __decorate([
|
|
1035
|
-
( __param(1, IInstantiationService))
|
|
1036
|
-
], MarkdownTestMessagePeek));
|
|
1037
|
-
let PlainTextMessagePeek = class PlainTextMessagePeek extends Disposable {
|
|
1038
|
-
constructor(editor, container, instantiationService, modelService) {
|
|
1039
|
-
super();
|
|
1040
|
-
this.editor = editor;
|
|
1041
|
-
this.container = container;
|
|
1042
|
-
this.instantiationService = instantiationService;
|
|
1043
|
-
this.modelService = modelService;
|
|
1044
|
-
this.widgetDecorations = this._register(( new MutableDisposable()));
|
|
1045
|
-
this.widget = this._register(( new MutableDisposable()));
|
|
1046
|
-
this.model = this._register(( new MutableDisposable()));
|
|
1047
|
-
}
|
|
1048
|
-
async update(subject) {
|
|
1049
|
-
if (!(subject instanceof MessageSubject)) {
|
|
1050
|
-
return this.clear();
|
|
1051
|
-
}
|
|
1052
|
-
const message = subject.message;
|
|
1053
|
-
if (isDiffable(message) || message.type === 1 || typeof message.message !== 'string') {
|
|
1054
|
-
return this.clear();
|
|
1055
|
-
}
|
|
1056
|
-
const modelRef = this.model.value = await this.modelService.createModelReference(subject.messageUri);
|
|
1057
|
-
if (!this.widget.value) {
|
|
1058
|
-
this.widget.value = this.editor ? this.instantiationService.createInstance(EmbeddedCodeEditorWidget, this.container, commonEditorOptions, {}, this.editor) : this.instantiationService.createInstance(CodeEditorWidget, this.container, commonEditorOptions, { isSimpleWidget: true });
|
|
1059
|
-
if (this.dimension) {
|
|
1060
|
-
this.widget.value.layout(this.dimension);
|
|
1061
|
-
}
|
|
1062
|
-
}
|
|
1063
|
-
this.widget.value.setModel(modelRef.object.textEditorModel);
|
|
1064
|
-
this.widget.value.updateOptions(commonEditorOptions);
|
|
1065
|
-
this.widgetDecorations.value = colorizeTestMessageInEditor(message.message, this.widget.value);
|
|
1066
|
-
}
|
|
1067
|
-
clear() {
|
|
1068
|
-
this.widgetDecorations.clear();
|
|
1069
|
-
this.widget.clear();
|
|
1070
|
-
this.model.clear();
|
|
1071
|
-
}
|
|
1072
|
-
layout(dimensions) {
|
|
1073
|
-
this.dimension = dimensions;
|
|
1074
|
-
this.widget.value?.layout(dimensions);
|
|
1075
|
-
}
|
|
1076
|
-
};
|
|
1077
|
-
PlainTextMessagePeek = ( __decorate([
|
|
1078
|
-
( __param(2, IInstantiationService)),
|
|
1079
|
-
( __param(3, ITextModelService))
|
|
1080
|
-
], PlainTextMessagePeek));
|
|
1081
|
-
let TerminalMessagePeek = class TerminalMessagePeek extends Disposable {
|
|
1082
|
-
constructor(container, isInPeekView, terminalService, viewDescriptorService, workspaceContext) {
|
|
1083
|
-
super();
|
|
1084
|
-
this.container = container;
|
|
1085
|
-
this.isInPeekView = isInPeekView;
|
|
1086
|
-
this.terminalService = terminalService;
|
|
1087
|
-
this.viewDescriptorService = viewDescriptorService;
|
|
1088
|
-
this.workspaceContext = workspaceContext;
|
|
1089
|
-
this.terminalCwd = this._register(( new MutableObservableValue('')));
|
|
1090
|
-
this.xtermLayoutDelayer = this._register(( new Delayer(50)));
|
|
1091
|
-
this.terminal = this._register(( new MutableDisposable()));
|
|
1092
|
-
this.outputDataListener = this._register(( new MutableDisposable()));
|
|
1093
|
-
}
|
|
1094
|
-
async makeTerminal() {
|
|
1095
|
-
const prev = this.terminal.value;
|
|
1096
|
-
if (prev) {
|
|
1097
|
-
prev.xterm.clearBuffer();
|
|
1098
|
-
prev.xterm.clearSearchDecorations();
|
|
1099
|
-
prev.xterm.write(`\x1b[2J\x1b[0;0H`);
|
|
1100
|
-
return prev;
|
|
1101
|
-
}
|
|
1102
|
-
const capabilities = ( new TerminalCapabilityStore());
|
|
1103
|
-
const cwd = this.terminalCwd;
|
|
1104
|
-
capabilities.add(0 , {
|
|
1105
|
-
type: 0 ,
|
|
1106
|
-
get cwds() { return [cwd.value]; },
|
|
1107
|
-
onDidChangeCwd: cwd.onDidChange,
|
|
1108
|
-
getCwd: () => cwd.value,
|
|
1109
|
-
updateCwd: () => { },
|
|
1110
|
-
});
|
|
1111
|
-
return this.terminal.value = await this.terminalService.createDetachedTerminal({
|
|
1112
|
-
rows: 10,
|
|
1113
|
-
cols: 80,
|
|
1114
|
-
readonly: true,
|
|
1115
|
-
capabilities,
|
|
1116
|
-
processInfo: ( new DetachedProcessInfo({ initialCwd: cwd.value })),
|
|
1117
|
-
colorProvider: {
|
|
1118
|
-
getBackgroundColor: theme => {
|
|
1119
|
-
const terminalBackground = theme.getColor(TERMINAL_BACKGROUND_COLOR);
|
|
1120
|
-
if (terminalBackground) {
|
|
1121
|
-
return terminalBackground;
|
|
1122
|
-
}
|
|
1123
|
-
if (this.isInPeekView) {
|
|
1124
|
-
return theme.getColor(peekViewResultsBackground);
|
|
1125
|
-
}
|
|
1126
|
-
const location = this.viewDescriptorService.getViewLocationById("workbench.panel.testResults.view" );
|
|
1127
|
-
return location === 1
|
|
1128
|
-
? theme.getColor(PANEL_BACKGROUND)
|
|
1129
|
-
: theme.getColor(SIDE_BAR_BACKGROUND);
|
|
1130
|
-
},
|
|
1131
|
-
}
|
|
1132
|
-
});
|
|
1133
|
-
}
|
|
1134
|
-
async update(subject) {
|
|
1135
|
-
this.outputDataListener.clear();
|
|
1136
|
-
if (subject instanceof TaskSubject) {
|
|
1137
|
-
await this.updateForTaskSubject(subject);
|
|
1138
|
-
}
|
|
1139
|
-
else if (subject instanceof TestOutputSubject || ((subject instanceof MessageSubject && subject.message.type === 1) )) {
|
|
1140
|
-
await this.updateForTestSubject(subject);
|
|
1141
|
-
}
|
|
1142
|
-
else {
|
|
1143
|
-
this.clear();
|
|
1144
|
-
}
|
|
1145
|
-
}
|
|
1146
|
-
async updateForTestSubject(subject) {
|
|
1147
|
-
const that = this;
|
|
1148
|
-
const testItem = subject instanceof TestOutputSubject ? subject.test.item : subject.test;
|
|
1149
|
-
const terminal = await this.updateGenerically({
|
|
1150
|
-
subject,
|
|
1151
|
-
noOutputMessage: ( localizeWithPath(
|
|
1152
|
-
'vs/workbench/contrib/testing/browser/testingOutputPeek',
|
|
1153
|
-
'caseNoOutput',
|
|
1154
|
-
'The test case did not report any output.'
|
|
1155
|
-
)),
|
|
1156
|
-
getTarget: result => result?.tasks[subject.taskIndex].output,
|
|
1157
|
-
*doInitialWrite(output, results) {
|
|
1158
|
-
that.updateCwd(testItem.uri);
|
|
1159
|
-
const state = subject instanceof TestOutputSubject ? subject.test : results.getStateById(testItem.extId);
|
|
1160
|
-
if (!state) {
|
|
1161
|
-
return;
|
|
1162
|
-
}
|
|
1163
|
-
for (const message of state.tasks[subject.taskIndex].messages) {
|
|
1164
|
-
if (message.type === 1 ) {
|
|
1165
|
-
yield* output.getRangeIter(message.offset, message.length);
|
|
1166
|
-
}
|
|
1167
|
-
}
|
|
1168
|
-
},
|
|
1169
|
-
doListenForMoreData: (output, result, write) => result.onChange(e => {
|
|
1170
|
-
if (e.reason === 2 && e.item.item.extId === testItem.extId && e.message.type === 1 ) {
|
|
1171
|
-
for (const chunk of output.getRangeIter(e.message.offset, e.message.length)) {
|
|
1172
|
-
write(chunk.buffer);
|
|
1173
|
-
}
|
|
1174
|
-
}
|
|
1175
|
-
}),
|
|
1176
|
-
});
|
|
1177
|
-
if (subject instanceof MessageSubject && subject.message.type === 1 && subject.message.marker !== undefined) {
|
|
1178
|
-
terminal?.xterm.selectMarkedRange(getMarkId(subject.message.marker, true), getMarkId(subject.message.marker, false), true);
|
|
1179
|
-
}
|
|
1180
|
-
}
|
|
1181
|
-
updateForTaskSubject(subject) {
|
|
1182
|
-
return this.updateGenerically({
|
|
1183
|
-
subject,
|
|
1184
|
-
noOutputMessage: ( localizeWithPath(
|
|
1185
|
-
'vs/workbench/contrib/testing/browser/testingOutputPeek',
|
|
1186
|
-
'runNoOutput',
|
|
1187
|
-
'The test run did not record any output.'
|
|
1188
|
-
)),
|
|
1189
|
-
getTarget: result => result?.tasks[subject.taskIndex],
|
|
1190
|
-
doInitialWrite: (task, result) => {
|
|
1191
|
-
this.updateCwd(Iterable.find(result.tests, t => !!t.item.uri)?.item.uri);
|
|
1192
|
-
return task.output.buffers;
|
|
1193
|
-
},
|
|
1194
|
-
doListenForMoreData: (task, _result, write) => task.output.onDidWriteData(e => write(e.buffer)),
|
|
1195
|
-
});
|
|
1196
|
-
}
|
|
1197
|
-
async updateGenerically(opts) {
|
|
1198
|
-
const result = opts.subject.result;
|
|
1199
|
-
const target = opts.getTarget(result);
|
|
1200
|
-
if (!target) {
|
|
1201
|
-
return this.clear();
|
|
1202
|
-
}
|
|
1203
|
-
const terminal = await this.makeTerminal();
|
|
1204
|
-
let didWriteData = false;
|
|
1205
|
-
const pendingWrites = ( new MutableObservableValue(0));
|
|
1206
|
-
if (result instanceof LiveTestResult) {
|
|
1207
|
-
for (const chunk of opts.doInitialWrite(target, result)) {
|
|
1208
|
-
didWriteData ||= chunk.byteLength > 0;
|
|
1209
|
-
pendingWrites.value++;
|
|
1210
|
-
terminal.xterm.write(chunk.buffer, () => pendingWrites.value--);
|
|
1211
|
-
}
|
|
1212
|
-
}
|
|
1213
|
-
else {
|
|
1214
|
-
didWriteData = true;
|
|
1215
|
-
this.writeNotice(terminal, ( localizeWithPath(
|
|
1216
|
-
'vs/workbench/contrib/testing/browser/testingOutputPeek',
|
|
1217
|
-
'runNoOutputForPast',
|
|
1218
|
-
'Test output is only available for new test runs.'
|
|
1219
|
-
)));
|
|
1220
|
-
}
|
|
1221
|
-
this.attachTerminalToDom(terminal);
|
|
1222
|
-
this.outputDataListener.clear();
|
|
1223
|
-
if (result instanceof LiveTestResult && !result.completedAt) {
|
|
1224
|
-
const l1 = result.onComplete(() => {
|
|
1225
|
-
if (!didWriteData) {
|
|
1226
|
-
this.writeNotice(terminal, opts.noOutputMessage);
|
|
1227
|
-
}
|
|
1228
|
-
});
|
|
1229
|
-
const l2 = opts.doListenForMoreData(target, result, data => {
|
|
1230
|
-
terminal.xterm.write(data);
|
|
1231
|
-
didWriteData ||= data.byteLength > 0;
|
|
1232
|
-
});
|
|
1233
|
-
this.outputDataListener.value = combinedDisposable(l1, l2);
|
|
1234
|
-
}
|
|
1235
|
-
if (!this.outputDataListener.value && !didWriteData) {
|
|
1236
|
-
this.writeNotice(terminal, opts.noOutputMessage);
|
|
1237
|
-
}
|
|
1238
|
-
if (pendingWrites.value > 0) {
|
|
1239
|
-
await ( new Promise(resolve => {
|
|
1240
|
-
const l = pendingWrites.onDidChange(() => {
|
|
1241
|
-
if (pendingWrites.value === 0) {
|
|
1242
|
-
l.dispose();
|
|
1243
|
-
resolve();
|
|
1244
|
-
}
|
|
1245
|
-
});
|
|
1246
|
-
}));
|
|
1247
|
-
}
|
|
1248
|
-
return terminal;
|
|
1249
|
-
}
|
|
1250
|
-
updateCwd(testUri) {
|
|
1251
|
-
const wf = (testUri && this.workspaceContext.getWorkspaceFolder(testUri))
|
|
1252
|
-
|| this.workspaceContext.getWorkspace().folders[0];
|
|
1253
|
-
if (wf) {
|
|
1254
|
-
this.terminalCwd.value = wf.uri.fsPath;
|
|
1255
|
-
}
|
|
1256
|
-
}
|
|
1257
|
-
writeNotice(terminal, str) {
|
|
1258
|
-
terminal.xterm.write(formatMessageForTerminal(str));
|
|
1259
|
-
}
|
|
1260
|
-
attachTerminalToDom(terminal) {
|
|
1261
|
-
terminal.xterm.write('\x1b[?25l');
|
|
1262
|
-
scheduleAtNextAnimationFrame(getWindow(this.container), () => this.layoutTerminal(terminal));
|
|
1263
|
-
terminal.attachToElement(this.container, { enableGpu: false });
|
|
1264
|
-
}
|
|
1265
|
-
clear() {
|
|
1266
|
-
this.outputDataListener.clear();
|
|
1267
|
-
this.xtermLayoutDelayer.cancel();
|
|
1268
|
-
this.terminal.clear();
|
|
1269
|
-
}
|
|
1270
|
-
layout(dimensions) {
|
|
1271
|
-
this.dimensions = dimensions;
|
|
1272
|
-
if (this.terminal.value) {
|
|
1273
|
-
this.layoutTerminal(this.terminal.value, dimensions.width, dimensions.height);
|
|
1274
|
-
}
|
|
1275
|
-
}
|
|
1276
|
-
layoutTerminal({ xterm }, width = this.dimensions?.width ?? this.container.clientWidth, height = this.dimensions?.height ?? this.container.clientHeight) {
|
|
1277
|
-
width -= 10 + 20;
|
|
1278
|
-
this.xtermLayoutDelayer.trigger(() => {
|
|
1279
|
-
const scaled = getXtermScaledDimensions(getWindow(this.container), xterm.getFont(), width, height);
|
|
1280
|
-
if (scaled) {
|
|
1281
|
-
xterm.resize(scaled.cols, scaled.rows);
|
|
1282
|
-
}
|
|
1283
|
-
});
|
|
1284
|
-
}
|
|
1285
|
-
};
|
|
1286
|
-
TerminalMessagePeek = ( __decorate([
|
|
1287
|
-
( __param(2, ITerminalService)),
|
|
1288
|
-
( __param(3, IViewDescriptorService)),
|
|
1289
|
-
( __param(4, IWorkspaceContextService))
|
|
1290
|
-
], TerminalMessagePeek));
|
|
1291
|
-
const hintMessagePeekHeight = (msg) => {
|
|
1292
|
-
const msgHeight = isDiffable(msg)
|
|
1293
|
-
? Math.max(hintPeekStrHeight(msg.actual), hintPeekStrHeight(msg.expected))
|
|
1294
|
-
: hintPeekStrHeight(typeof msg.message === 'string' ? msg.message : msg.message.value);
|
|
1295
|
-
return msgHeight + 8;
|
|
1296
|
-
};
|
|
1297
|
-
const firstLine = (str) => {
|
|
1298
|
-
const index = str.indexOf('\n');
|
|
1299
|
-
return index === -1 ? str : str.slice(0, index);
|
|
1300
|
-
};
|
|
1301
|
-
const isMultiline = (str) => !!str && str.includes('\n');
|
|
1302
|
-
const hintPeekStrHeight = (str) => Math.min(count(str, '\n'), 24);
|
|
1303
|
-
class SimpleDiffEditorModel extends EditorModel {
|
|
1304
|
-
constructor(_original, _modified) {
|
|
1305
|
-
super();
|
|
1306
|
-
this._original = _original;
|
|
1307
|
-
this._modified = _modified;
|
|
1308
|
-
this.original = this._original.object.textEditorModel;
|
|
1309
|
-
this.modified = this._modified.object.textEditorModel;
|
|
1310
|
-
}
|
|
1311
|
-
dispose() {
|
|
1312
|
-
super.dispose();
|
|
1313
|
-
this._original.dispose();
|
|
1314
|
-
this._modified.dispose();
|
|
1315
|
-
}
|
|
1316
|
-
}
|
|
1317
|
-
function getOuterEditorFromDiffEditor(codeEditorService) {
|
|
1318
|
-
const diffEditors = codeEditorService.listDiffEditors();
|
|
1319
|
-
for (const diffEditor of diffEditors) {
|
|
1320
|
-
if (diffEditor.hasTextFocus() && diffEditor instanceof EmbeddedDiffEditorWidget) {
|
|
1321
|
-
return diffEditor.getParentEditor();
|
|
1322
|
-
}
|
|
1323
|
-
}
|
|
1324
|
-
return null;
|
|
1325
|
-
}
|
|
1326
|
-
class CloseTestPeek extends EditorAction2 {
|
|
1327
|
-
constructor() {
|
|
1328
|
-
super({
|
|
1329
|
-
id: 'editor.closeTestPeek',
|
|
1330
|
-
title: ( localizeWithPath('vs/workbench/contrib/testing/browser/testingOutputPeek', 'close', 'Close')),
|
|
1331
|
-
icon: Codicon.close,
|
|
1332
|
-
precondition: ( ContextKeyExpr.or(TestingContextKeys.isInPeek, TestingContextKeys.isPeekVisible)),
|
|
1333
|
-
keybinding: {
|
|
1334
|
-
weight: 100 - 101,
|
|
1335
|
-
primary: 9 ,
|
|
1336
|
-
when: ContextKeyExpr.not('config.editor.stablePeek')
|
|
1337
|
-
}
|
|
1338
|
-
});
|
|
1339
|
-
}
|
|
1340
|
-
runEditorCommand(accessor, editor) {
|
|
1341
|
-
const parent = getPeekedEditorFromFocus(accessor.get(ICodeEditorService));
|
|
1342
|
-
TestingOutputPeekController.get(parent ?? editor)?.removePeek();
|
|
1343
|
-
}
|
|
1344
|
-
}
|
|
1345
|
-
class TestResultElement {
|
|
1346
|
-
get icon() {
|
|
1347
|
-
return testingStatesToIcons.get(this.value.completedAt === undefined
|
|
1348
|
-
? 2
|
|
1349
|
-
: maxCountPriority(this.value.counts));
|
|
1350
|
-
}
|
|
1351
|
-
constructor(value) {
|
|
1352
|
-
this.value = value;
|
|
1353
|
-
this.changeEmitter = ( new Emitter());
|
|
1354
|
-
this.onDidChange = this.changeEmitter.event;
|
|
1355
|
-
this.type = 'result';
|
|
1356
|
-
this.context = this.value.id;
|
|
1357
|
-
this.id = this.value.id;
|
|
1358
|
-
this.label = this.value.name;
|
|
1359
|
-
}
|
|
1360
|
-
}
|
|
1361
|
-
const openCoverageLabel = ( localizeWithPath(
|
|
1362
|
-
'vs/workbench/contrib/testing/browser/testingOutputPeek',
|
|
1363
|
-
'openTestCoverage',
|
|
1364
|
-
'View Test Coverage'
|
|
1365
|
-
));
|
|
1366
|
-
const closeCoverageLabel = ( localizeWithPath(
|
|
1367
|
-
'vs/workbench/contrib/testing/browser/testingOutputPeek',
|
|
1368
|
-
'closeTestCoverage',
|
|
1369
|
-
'Close Test Coverage'
|
|
1370
|
-
));
|
|
1371
|
-
class CoverageElement {
|
|
1372
|
-
get label() {
|
|
1373
|
-
return this.isOpen ? closeCoverageLabel : openCoverageLabel;
|
|
1374
|
-
}
|
|
1375
|
-
get icon() {
|
|
1376
|
-
return this.isOpen ? widgetClose : testingCoverageReport;
|
|
1377
|
-
}
|
|
1378
|
-
get isOpen() {
|
|
1379
|
-
return this.coverageService.selected.get()?.fromTaskId === this.task.id;
|
|
1380
|
-
}
|
|
1381
|
-
constructor(results, task, coverageService) {
|
|
1382
|
-
this.results = results;
|
|
1383
|
-
this.task = task;
|
|
1384
|
-
this.coverageService = coverageService;
|
|
1385
|
-
this.type = 'coverage';
|
|
1386
|
-
this.id = `coverage-${this.results.id}/${this.task.id}`;
|
|
1387
|
-
this.onDidChange = Event.fromObservableLight(coverageService.selected);
|
|
1388
|
-
}
|
|
1389
|
-
}
|
|
1390
|
-
class TestCaseElement {
|
|
1391
|
-
get onDidChange() {
|
|
1392
|
-
if (!(this.results instanceof LiveTestResult)) {
|
|
1393
|
-
return Event.None;
|
|
1394
|
-
}
|
|
1395
|
-
return Event.filter(this.results.onChange, e => e.item.item.extId === this.test.item.extId);
|
|
1396
|
-
}
|
|
1397
|
-
get state() {
|
|
1398
|
-
return this.test.tasks[this.taskIndex].state;
|
|
1399
|
-
}
|
|
1400
|
-
get label() {
|
|
1401
|
-
return this.test.item.label;
|
|
1402
|
-
}
|
|
1403
|
-
get labelWithIcons() {
|
|
1404
|
-
return renderLabelWithIcons(this.label);
|
|
1405
|
-
}
|
|
1406
|
-
get icon() {
|
|
1407
|
-
return testingStatesToIcons.get(this.state);
|
|
1408
|
-
}
|
|
1409
|
-
get outputSubject() {
|
|
1410
|
-
return ( new TestOutputSubject(this.results, this.taskIndex, this.test));
|
|
1411
|
-
}
|
|
1412
|
-
constructor(results, test, taskIndex) {
|
|
1413
|
-
this.results = results;
|
|
1414
|
-
this.test = test;
|
|
1415
|
-
this.taskIndex = taskIndex;
|
|
1416
|
-
this.type = 'test';
|
|
1417
|
-
this.context = {
|
|
1418
|
-
$mid: 16 ,
|
|
1419
|
-
tests: [InternalTestItem.serialize(this.test)],
|
|
1420
|
-
};
|
|
1421
|
-
this.id = `${this.results.id}/${this.test.item.extId}`;
|
|
1422
|
-
}
|
|
1423
|
-
}
|
|
1424
|
-
class TaskElement {
|
|
1425
|
-
get icon() {
|
|
1426
|
-
return this.results.tasks[this.index].running ? testingStatesToIcons.get(2 ) : undefined;
|
|
1427
|
-
}
|
|
1428
|
-
constructor(results, task, index) {
|
|
1429
|
-
this.results = results;
|
|
1430
|
-
this.task = task;
|
|
1431
|
-
this.index = index;
|
|
1432
|
-
this.changeEmitter = ( new Emitter());
|
|
1433
|
-
this.onDidChange = this.changeEmitter.event;
|
|
1434
|
-
this.type = 'task';
|
|
1435
|
-
this.itemsCache = ( new CreationCache());
|
|
1436
|
-
this.id = `${results.id}/${index}`;
|
|
1437
|
-
this.task = results.tasks[index];
|
|
1438
|
-
this.context = String(index);
|
|
1439
|
-
this.label = this.task.name ?? ( localizeWithPath(
|
|
1440
|
-
'vs/workbench/contrib/testing/browser/testingOutputPeek',
|
|
1441
|
-
'testUnnamedTask',
|
|
1442
|
-
'Unnamed Task'
|
|
1443
|
-
));
|
|
1444
|
-
}
|
|
1445
|
-
}
|
|
1446
|
-
class TestMessageElement {
|
|
1447
|
-
get onDidChange() {
|
|
1448
|
-
if (!(this.result instanceof LiveTestResult)) {
|
|
1449
|
-
return Event.None;
|
|
1450
|
-
}
|
|
1451
|
-
return Event.filter(this.result.onChange, e => e.item.item.extId === this.test.item.extId);
|
|
1452
|
-
}
|
|
1453
|
-
get context() {
|
|
1454
|
-
return getMessageArgs(this.test, this.message);
|
|
1455
|
-
}
|
|
1456
|
-
get outputSubject() {
|
|
1457
|
-
return ( new TestOutputSubject(this.result, this.taskIndex, this.test));
|
|
1458
|
-
}
|
|
1459
|
-
constructor(result, test, taskIndex, messageIndex) {
|
|
1460
|
-
this.result = result;
|
|
1461
|
-
this.test = test;
|
|
1462
|
-
this.taskIndex = taskIndex;
|
|
1463
|
-
this.messageIndex = messageIndex;
|
|
1464
|
-
this.type = 'message';
|
|
1465
|
-
const m = this.message = test.tasks[taskIndex].messages[messageIndex];
|
|
1466
|
-
this.location = m.location;
|
|
1467
|
-
this.contextValue = m.type === 0 ? m.contextValue : undefined;
|
|
1468
|
-
this.uri = buildTestUri({
|
|
1469
|
-
type: 2 ,
|
|
1470
|
-
messageIndex,
|
|
1471
|
-
resultId: result.id,
|
|
1472
|
-
taskIndex,
|
|
1473
|
-
testExtId: test.item.extId
|
|
1474
|
-
});
|
|
1475
|
-
this.id = ( this.uri.toString());
|
|
1476
|
-
const asPlaintext = renderTestMessageAsText(m.message);
|
|
1477
|
-
const lines = count(asPlaintext.trimEnd(), '\n');
|
|
1478
|
-
this.label = firstLine(asPlaintext);
|
|
1479
|
-
if (lines > 0) {
|
|
1480
|
-
this.description = lines > 1
|
|
1481
|
-
? ( localizeWithPath(
|
|
1482
|
-
'vs/workbench/contrib/testing/browser/testingOutputPeek',
|
|
1483
|
-
'messageMoreLinesN',
|
|
1484
|
-
'+ {0} more lines',
|
|
1485
|
-
lines
|
|
1486
|
-
))
|
|
1487
|
-
: ( localizeWithPath(
|
|
1488
|
-
'vs/workbench/contrib/testing/browser/testingOutputPeek',
|
|
1489
|
-
'messageMoreLines1',
|
|
1490
|
-
'+ 1 more line'
|
|
1491
|
-
));
|
|
1492
|
-
}
|
|
1493
|
-
}
|
|
1494
|
-
}
|
|
1495
|
-
let OutputPeekTree = class OutputPeekTree extends Disposable {
|
|
1496
|
-
constructor(container, onDidReveal, options, contextMenuService, results, instantiationService, explorerFilter, coverageService, progressService) {
|
|
1497
|
-
super();
|
|
1498
|
-
this.contextMenuService = contextMenuService;
|
|
1499
|
-
this.disposed = false;
|
|
1500
|
-
this.requestReveal = this._register(( new Emitter()));
|
|
1501
|
-
this.onDidRequestReview = this.requestReveal.event;
|
|
1502
|
-
this.treeActions = instantiationService.createInstance(TreeActionsProvider, options.showRevealLocationOnMessages, this.requestReveal);
|
|
1503
|
-
const diffIdentityProvider = {
|
|
1504
|
-
getId(e) {
|
|
1505
|
-
return e.id;
|
|
1506
|
-
}
|
|
1507
|
-
};
|
|
1508
|
-
this.tree = this._register(instantiationService.createInstance(WorkbenchCompressibleObjectTree, 'Test Output Peek', container, {
|
|
1509
|
-
getHeight: () => 22,
|
|
1510
|
-
getTemplateId: () => TestRunElementRenderer.ID,
|
|
1511
|
-
}, [instantiationService.createInstance(TestRunElementRenderer, this.treeActions)], {
|
|
1512
|
-
compressionEnabled: true,
|
|
1513
|
-
hideTwistiesOfChildlessElements: true,
|
|
1514
|
-
identityProvider: diffIdentityProvider,
|
|
1515
|
-
sorter: {
|
|
1516
|
-
compare(a, b) {
|
|
1517
|
-
if (a instanceof TestCaseElement && b instanceof TestCaseElement) {
|
|
1518
|
-
return cmpPriority(a.state, b.state);
|
|
1519
|
-
}
|
|
1520
|
-
return 0;
|
|
1521
|
-
},
|
|
1522
|
-
},
|
|
1523
|
-
accessibilityProvider: {
|
|
1524
|
-
getAriaLabel(element) {
|
|
1525
|
-
return element.ariaLabel || element.label;
|
|
1526
|
-
},
|
|
1527
|
-
getWidgetAriaLabel() {
|
|
1528
|
-
return ( localizeWithPath(
|
|
1529
|
-
'vs/workbench/contrib/testing/browser/testingOutputPeek',
|
|
1530
|
-
'testingPeekLabel',
|
|
1531
|
-
'Test Result Messages'
|
|
1532
|
-
));
|
|
1533
|
-
}
|
|
1534
|
-
}
|
|
1535
|
-
}));
|
|
1536
|
-
const cc = ( new CreationCache());
|
|
1537
|
-
const getTaskChildren = (taskElem) => {
|
|
1538
|
-
const { results, index, itemsCache, task } = taskElem;
|
|
1539
|
-
const tests = Iterable.filter(results.tests, test => test.tasks[index].state >= 2 || test.tasks[index].messages.length > 0);
|
|
1540
|
-
let result = ( Iterable.map(tests, test => ({
|
|
1541
|
-
element: itemsCache.getOrCreate(test, () => ( new TestCaseElement(results, test, index))),
|
|
1542
|
-
incompressible: true,
|
|
1543
|
-
children: getTestChildren(results, test, index),
|
|
1544
|
-
})));
|
|
1545
|
-
if (task.coverage.get()) {
|
|
1546
|
-
result = Iterable.concat(Iterable.single({
|
|
1547
|
-
element: ( new CoverageElement(results, task, coverageService)),
|
|
1548
|
-
incompressible: true,
|
|
1549
|
-
}), result);
|
|
1550
|
-
}
|
|
1551
|
-
return result;
|
|
1552
|
-
};
|
|
1553
|
-
const getTestChildren = (result, test, taskIndex) => {
|
|
1554
|
-
return ( test.tasks[taskIndex].messages
|
|
1555
|
-
.map((m, messageIndex) => m.type === 0
|
|
1556
|
-
? { element: cc.getOrCreate(m, () => ( new TestMessageElement(result, test, taskIndex, messageIndex))), incompressible: false }
|
|
1557
|
-
: undefined))
|
|
1558
|
-
.filter(isDefined);
|
|
1559
|
-
};
|
|
1560
|
-
const getResultChildren = (result) => {
|
|
1561
|
-
return ( result.tasks.map((task, taskIndex) => {
|
|
1562
|
-
const taskElem = cc.getOrCreate(task, () => ( new TaskElement(result, task, taskIndex)));
|
|
1563
|
-
return ({
|
|
1564
|
-
element: taskElem,
|
|
1565
|
-
incompressible: false,
|
|
1566
|
-
children: getTaskChildren(taskElem),
|
|
1567
|
-
});
|
|
1568
|
-
}));
|
|
1569
|
-
};
|
|
1570
|
-
const getRootChildren = () => ( results.results.map(result => {
|
|
1571
|
-
const element = cc.getOrCreate(result, () => ( new TestResultElement(result)));
|
|
1572
|
-
return {
|
|
1573
|
-
element,
|
|
1574
|
-
incompressible: true,
|
|
1575
|
-
collapsed: this.tree.hasElement(element) ? this.tree.isCollapsed(element) : true,
|
|
1576
|
-
children: getResultChildren(result)
|
|
1577
|
-
};
|
|
1578
|
-
}));
|
|
1579
|
-
const taskChildrenToUpdate = ( new Set());
|
|
1580
|
-
const taskChildrenUpdate = this._register(( new RunOnceScheduler(() => {
|
|
1581
|
-
for (const taskNode of taskChildrenToUpdate) {
|
|
1582
|
-
if (this.tree.hasElement(taskNode)) {
|
|
1583
|
-
this.tree.setChildren(taskNode, getTaskChildren(taskNode), { diffIdentityProvider });
|
|
1584
|
-
}
|
|
1585
|
-
}
|
|
1586
|
-
taskChildrenToUpdate.clear();
|
|
1587
|
-
}, 300)));
|
|
1588
|
-
const queueTaskChildrenUpdate = (taskNode) => {
|
|
1589
|
-
taskChildrenToUpdate.add(taskNode);
|
|
1590
|
-
if (!taskChildrenUpdate.isScheduled()) {
|
|
1591
|
-
taskChildrenUpdate.schedule();
|
|
1592
|
-
}
|
|
1593
|
-
};
|
|
1594
|
-
const attachToResults = (result) => {
|
|
1595
|
-
const resultNode = cc.get(result);
|
|
1596
|
-
const disposable = ( new DisposableStore());
|
|
1597
|
-
disposable.add(result.onNewTask(i => {
|
|
1598
|
-
if (result.tasks.length === 1) {
|
|
1599
|
-
this.requestReveal.fire(( new TaskSubject(result, 0)));
|
|
1600
|
-
}
|
|
1601
|
-
if (this.tree.hasElement(resultNode)) {
|
|
1602
|
-
this.tree.setChildren(resultNode, getResultChildren(result), { diffIdentityProvider });
|
|
1603
|
-
}
|
|
1604
|
-
const task = result.tasks[i];
|
|
1605
|
-
disposable.add(autorun(reader => {
|
|
1606
|
-
task.coverage.read(reader);
|
|
1607
|
-
queueTaskChildrenUpdate(cc.get(task));
|
|
1608
|
-
}));
|
|
1609
|
-
}));
|
|
1610
|
-
disposable.add(result.onEndTask(index => {
|
|
1611
|
-
cc.get(result.tasks[index])?.changeEmitter.fire();
|
|
1612
|
-
}));
|
|
1613
|
-
disposable.add(result.onChange(e => {
|
|
1614
|
-
for (const [index, task] of result.tasks.entries()) {
|
|
1615
|
-
const taskNode = cc.get(task);
|
|
1616
|
-
if (!this.tree.hasElement(taskNode)) {
|
|
1617
|
-
continue;
|
|
1618
|
-
}
|
|
1619
|
-
const itemNode = taskNode.itemsCache.get(e.item);
|
|
1620
|
-
if (itemNode && this.tree.hasElement(itemNode)) {
|
|
1621
|
-
if (e.reason === 2 && e.message.type === 0 ) {
|
|
1622
|
-
this.tree.setChildren(itemNode, getTestChildren(result, e.item, index), { diffIdentityProvider });
|
|
1623
|
-
}
|
|
1624
|
-
return;
|
|
1625
|
-
}
|
|
1626
|
-
queueTaskChildrenUpdate(taskNode);
|
|
1627
|
-
}
|
|
1628
|
-
}));
|
|
1629
|
-
disposable.add(result.onComplete(() => {
|
|
1630
|
-
resultNode.changeEmitter.fire();
|
|
1631
|
-
disposable.dispose();
|
|
1632
|
-
}));
|
|
1633
|
-
return resultNode;
|
|
1634
|
-
};
|
|
1635
|
-
this._register(results.onResultsChanged(e => {
|
|
1636
|
-
if (this.disposed) {
|
|
1637
|
-
return;
|
|
1638
|
-
}
|
|
1639
|
-
if ('completed' in e) {
|
|
1640
|
-
cc.get(e.completed)?.changeEmitter.fire();
|
|
1641
|
-
return;
|
|
1642
|
-
}
|
|
1643
|
-
this.tree.setChildren(null, getRootChildren(), { diffIdentityProvider });
|
|
1644
|
-
if ('started' in e) {
|
|
1645
|
-
for (const child of this.tree.getNode(null).children) {
|
|
1646
|
-
this.tree.collapse(child.element, false);
|
|
1647
|
-
}
|
|
1648
|
-
this.tree.expand(attachToResults(e.started), true);
|
|
1649
|
-
}
|
|
1650
|
-
}));
|
|
1651
|
-
const revealItem = (element, preserveFocus) => {
|
|
1652
|
-
this.tree.setFocus([element]);
|
|
1653
|
-
this.tree.setSelection([element]);
|
|
1654
|
-
if (!preserveFocus) {
|
|
1655
|
-
this.tree.domFocus();
|
|
1656
|
-
}
|
|
1657
|
-
};
|
|
1658
|
-
this._register(onDidReveal(async ({ subject, preserveFocus = false }) => {
|
|
1659
|
-
if (subject instanceof TaskSubject) {
|
|
1660
|
-
const resultItem = this.tree.getNode(null).children.find(c => {
|
|
1661
|
-
if (c.element instanceof TaskElement) {
|
|
1662
|
-
return c.element.results.id === subject.result.id && c.element.index === subject.taskIndex;
|
|
1663
|
-
}
|
|
1664
|
-
if (c.element instanceof TestResultElement) {
|
|
1665
|
-
return c.element.id === subject.result.id;
|
|
1666
|
-
}
|
|
1667
|
-
return false;
|
|
1668
|
-
});
|
|
1669
|
-
if (resultItem) {
|
|
1670
|
-
revealItem(resultItem.element, preserveFocus);
|
|
1671
|
-
}
|
|
1672
|
-
return;
|
|
1673
|
-
}
|
|
1674
|
-
const revealElement = subject instanceof TestOutputSubject
|
|
1675
|
-
? cc.get(subject.task)?.itemsCache.get(subject.test)
|
|
1676
|
-
: cc.get(subject.message);
|
|
1677
|
-
if (!revealElement || !this.tree.hasElement(revealElement)) {
|
|
1678
|
-
return;
|
|
1679
|
-
}
|
|
1680
|
-
const parents = [];
|
|
1681
|
-
for (let parent = this.tree.getParentElement(revealElement); parent; parent = this.tree.getParentElement(parent)) {
|
|
1682
|
-
parents.unshift(parent);
|
|
1683
|
-
}
|
|
1684
|
-
for (const parent of parents) {
|
|
1685
|
-
this.tree.expand(parent);
|
|
1686
|
-
}
|
|
1687
|
-
if (this.tree.getRelativeTop(revealElement) === null) {
|
|
1688
|
-
this.tree.reveal(revealElement, 0.5);
|
|
1689
|
-
}
|
|
1690
|
-
revealItem(revealElement, preserveFocus);
|
|
1691
|
-
}));
|
|
1692
|
-
this._register(this.tree.onDidOpen(async (e) => {
|
|
1693
|
-
if (e.element instanceof TestMessageElement) {
|
|
1694
|
-
this.requestReveal.fire(( new MessageSubject(
|
|
1695
|
-
e.element.result,
|
|
1696
|
-
e.element.test,
|
|
1697
|
-
e.element.taskIndex,
|
|
1698
|
-
e.element.messageIndex
|
|
1699
|
-
)));
|
|
1700
|
-
}
|
|
1701
|
-
else if (e.element instanceof TestCaseElement) {
|
|
1702
|
-
const t = e.element;
|
|
1703
|
-
const message = mapFindTestMessage(e.element.test, (_t, _m, mesasgeIndex, taskIndex) => ( new MessageSubject(t.results, t.test, taskIndex, mesasgeIndex)));
|
|
1704
|
-
this.requestReveal.fire(message || ( new TestOutputSubject(t.results, 0, t.test)));
|
|
1705
|
-
}
|
|
1706
|
-
else if (e.element instanceof CoverageElement) {
|
|
1707
|
-
const task = e.element.task;
|
|
1708
|
-
if (e.element.isOpen) {
|
|
1709
|
-
return coverageService.closeCoverage();
|
|
1710
|
-
}
|
|
1711
|
-
progressService.withProgress({ location: options.locationForProgress }, () => coverageService.openCoverage(task, true));
|
|
1712
|
-
}
|
|
1713
|
-
}));
|
|
1714
|
-
this._register(this.tree.onDidChangeSelection(evt => {
|
|
1715
|
-
for (const element of evt.elements) {
|
|
1716
|
-
if (element && 'test' in element) {
|
|
1717
|
-
explorerFilter.reveal.value = element.test.item.extId;
|
|
1718
|
-
break;
|
|
1719
|
-
}
|
|
1720
|
-
}
|
|
1721
|
-
}));
|
|
1722
|
-
this._register(this.tree.onContextMenu(e => this.onContextMenu(e)));
|
|
1723
|
-
this.tree.setChildren(null, getRootChildren());
|
|
1724
|
-
for (const result of results.results) {
|
|
1725
|
-
if (!result.completedAt && result instanceof LiveTestResult) {
|
|
1726
|
-
attachToResults(result);
|
|
1727
|
-
}
|
|
1728
|
-
}
|
|
1729
|
-
}
|
|
1730
|
-
layout(height, width) {
|
|
1731
|
-
this.tree.layout(height, width);
|
|
1732
|
-
}
|
|
1733
|
-
onContextMenu(evt) {
|
|
1734
|
-
if (!evt.element) {
|
|
1735
|
-
return;
|
|
1736
|
-
}
|
|
1737
|
-
const actions = this.treeActions.provideActionBar(evt.element);
|
|
1738
|
-
this.contextMenuService.showContextMenu({
|
|
1739
|
-
getAnchor: () => evt.anchor,
|
|
1740
|
-
getActions: () => actions.secondary.length
|
|
1741
|
-
? [...actions.primary, ( new Separator()), ...actions.secondary]
|
|
1742
|
-
: actions.primary,
|
|
1743
|
-
getActionsContext: () => evt.element?.context
|
|
1744
|
-
});
|
|
1745
|
-
}
|
|
1746
|
-
dispose() {
|
|
1747
|
-
super.dispose();
|
|
1748
|
-
this.disposed = true;
|
|
1749
|
-
}
|
|
1750
|
-
};
|
|
1751
|
-
OutputPeekTree = ( __decorate([
|
|
1752
|
-
( __param(3, IContextMenuService)),
|
|
1753
|
-
( __param(4, ITestResultService)),
|
|
1754
|
-
( __param(5, IInstantiationService)),
|
|
1755
|
-
( __param(6, ITestExplorerFilterState)),
|
|
1756
|
-
( __param(7, ITestCoverageService)),
|
|
1757
|
-
( __param(8, IProgressService))
|
|
1758
|
-
], OutputPeekTree));
|
|
1759
|
-
let TestRunElementRenderer = class TestRunElementRenderer {
|
|
1760
|
-
static { TestRunElementRenderer_1 = this; }
|
|
1761
|
-
static { this.ID = 'testRunElementRenderer'; }
|
|
1762
|
-
constructor(treeActions, instantiationService) {
|
|
1763
|
-
this.treeActions = treeActions;
|
|
1764
|
-
this.instantiationService = instantiationService;
|
|
1765
|
-
this.templateId = TestRunElementRenderer_1.ID;
|
|
1766
|
-
}
|
|
1767
|
-
renderCompressedElements(node, _index, templateData) {
|
|
1768
|
-
const chain = node.element.elements;
|
|
1769
|
-
const lastElement = chain[chain.length - 1];
|
|
1770
|
-
if ((lastElement instanceof TaskElement || lastElement instanceof TestMessageElement) && chain.length >= 2) {
|
|
1771
|
-
this.doRender(chain[chain.length - 2], templateData, lastElement);
|
|
1772
|
-
}
|
|
1773
|
-
else {
|
|
1774
|
-
this.doRender(lastElement, templateData);
|
|
1775
|
-
}
|
|
1776
|
-
}
|
|
1777
|
-
renderTemplate(container) {
|
|
1778
|
-
const templateDisposable = ( new DisposableStore());
|
|
1779
|
-
const wrapper = append(container, $('.test-peek-item'));
|
|
1780
|
-
const icon = append(wrapper, $('.state'));
|
|
1781
|
-
const label = append(wrapper, $('.name'));
|
|
1782
|
-
const actionBar = ( new ActionBar(wrapper, {
|
|
1783
|
-
actionViewItemProvider: (action, options) => action instanceof MenuItemAction
|
|
1784
|
-
? this.instantiationService.createInstance(MenuEntryActionViewItem, action, { hoverDelegate: options.hoverDelegate })
|
|
1785
|
-
: undefined
|
|
1786
|
-
}));
|
|
1787
|
-
const elementDisposable = ( new DisposableStore());
|
|
1788
|
-
templateDisposable.add(elementDisposable);
|
|
1789
|
-
templateDisposable.add(actionBar);
|
|
1790
|
-
return {
|
|
1791
|
-
icon,
|
|
1792
|
-
label,
|
|
1793
|
-
actionBar,
|
|
1794
|
-
elementDisposable,
|
|
1795
|
-
templateDisposable,
|
|
1796
|
-
};
|
|
1797
|
-
}
|
|
1798
|
-
renderElement(element, _index, templateData) {
|
|
1799
|
-
this.doRender(element.element, templateData);
|
|
1800
|
-
}
|
|
1801
|
-
disposeTemplate(templateData) {
|
|
1802
|
-
templateData.templateDisposable.dispose();
|
|
1803
|
-
}
|
|
1804
|
-
doRender(element, templateData, subjectElement) {
|
|
1805
|
-
templateData.elementDisposable.clear();
|
|
1806
|
-
templateData.elementDisposable.add(element.onDidChange(() => this.doRender(element, templateData, subjectElement)));
|
|
1807
|
-
this.doRenderInner(element, templateData, subjectElement);
|
|
1808
|
-
}
|
|
1809
|
-
doRenderInner(element, templateData, subjectElement) {
|
|
1810
|
-
let { label, labelWithIcons, description } = element;
|
|
1811
|
-
if (subjectElement instanceof TestMessageElement) {
|
|
1812
|
-
description = subjectElement.label;
|
|
1813
|
-
}
|
|
1814
|
-
const descriptionElement = description ? $('span.test-label-description', {}, description) : '';
|
|
1815
|
-
if (labelWithIcons) {
|
|
1816
|
-
reset(templateData.label, ...labelWithIcons, descriptionElement);
|
|
1817
|
-
}
|
|
1818
|
-
else {
|
|
1819
|
-
reset(templateData.label, label, descriptionElement);
|
|
1820
|
-
}
|
|
1821
|
-
const icon = element.icon;
|
|
1822
|
-
templateData.icon.className = `computed-state ${icon ? ThemeIcon.asClassName(icon) : ''}`;
|
|
1823
|
-
const actions = this.treeActions.provideActionBar(element);
|
|
1824
|
-
templateData.actionBar.clear();
|
|
1825
|
-
templateData.actionBar.context = element.context;
|
|
1826
|
-
templateData.actionBar.push(actions.primary, { icon: true, label: false });
|
|
1827
|
-
}
|
|
1828
|
-
};
|
|
1829
|
-
TestRunElementRenderer = TestRunElementRenderer_1 = ( __decorate([
|
|
1830
|
-
( __param(1, IInstantiationService))
|
|
1831
|
-
], TestRunElementRenderer));
|
|
1832
|
-
let TreeActionsProvider = class TreeActionsProvider {
|
|
1833
|
-
constructor(showRevealLocationOnMessages, requestReveal, contextKeyService, menuService, commandService, testProfileService, editorService) {
|
|
1834
|
-
this.showRevealLocationOnMessages = showRevealLocationOnMessages;
|
|
1835
|
-
this.requestReveal = requestReveal;
|
|
1836
|
-
this.contextKeyService = contextKeyService;
|
|
1837
|
-
this.menuService = menuService;
|
|
1838
|
-
this.commandService = commandService;
|
|
1839
|
-
this.testProfileService = testProfileService;
|
|
1840
|
-
this.editorService = editorService;
|
|
1841
|
-
}
|
|
1842
|
-
provideActionBar(element) {
|
|
1843
|
-
const test = element instanceof TestCaseElement ? element.test : undefined;
|
|
1844
|
-
const capabilities = test ? this.testProfileService.capabilitiesForTest(test) : 0;
|
|
1845
|
-
const contextKeys = [
|
|
1846
|
-
['peek', "editor.contrib.testingOutputPeek" ],
|
|
1847
|
-
[TestingContextKeys.peekItemType.key, element.type],
|
|
1848
|
-
];
|
|
1849
|
-
let id = MenuId.TestPeekElement;
|
|
1850
|
-
const primary = [];
|
|
1851
|
-
const secondary = [];
|
|
1852
|
-
if (element instanceof TaskElement) {
|
|
1853
|
-
primary.push(( new Action('testing.outputPeek.showResultOutput', ( localizeWithPath(
|
|
1854
|
-
'vs/workbench/contrib/testing/browser/testingOutputPeek',
|
|
1855
|
-
'testing.showResultOutput',
|
|
1856
|
-
"Show Result Output"
|
|
1857
|
-
)), ThemeIcon.asClassName(Codicon.terminal), undefined, () => this.requestReveal.fire(( new TaskSubject(element.results, element.index))))));
|
|
1858
|
-
}
|
|
1859
|
-
if (element instanceof TestResultElement) {
|
|
1860
|
-
if (element.value.tasks.length === 1) {
|
|
1861
|
-
primary.push(( new Action('testing.outputPeek.showResultOutput', ( localizeWithPath(
|
|
1862
|
-
'vs/workbench/contrib/testing/browser/testingOutputPeek',
|
|
1863
|
-
'testing.showResultOutput',
|
|
1864
|
-
"Show Result Output"
|
|
1865
|
-
)), ThemeIcon.asClassName(Codicon.terminal), undefined, () => this.requestReveal.fire(( new TaskSubject(element.value, 0))))));
|
|
1866
|
-
}
|
|
1867
|
-
primary.push(( new Action('testing.outputPeek.reRunLastRun', ( localizeWithPath(
|
|
1868
|
-
'vs/workbench/contrib/testing/browser/testingOutputPeek',
|
|
1869
|
-
'testing.reRunLastRun',
|
|
1870
|
-
"Rerun Test Run"
|
|
1871
|
-
)), ThemeIcon.asClassName(testingRunIcon), undefined, () => this.commandService.executeCommand('testing.reRunLastRun', element.value.id))));
|
|
1872
|
-
if (capabilities & 4 ) {
|
|
1873
|
-
primary.push(( new Action('testing.outputPeek.debugLastRun', ( localizeWithPath(
|
|
1874
|
-
'vs/workbench/contrib/testing/browser/testingOutputPeek',
|
|
1875
|
-
'testing.debugLastRun',
|
|
1876
|
-
"Debug Test Run"
|
|
1877
|
-
)), ThemeIcon.asClassName(testingDebugIcon), undefined, () => this.commandService.executeCommand('testing.debugLastRun', element.value.id))));
|
|
1878
|
-
}
|
|
1879
|
-
}
|
|
1880
|
-
if (element instanceof TestCaseElement || element instanceof TestMessageElement) {
|
|
1881
|
-
contextKeys.push([TestingContextKeys.testResultOutdated.key, element.test.retired], [TestingContextKeys.testResultState.key, testResultStateToContextValues[element.test.ownComputedState]], ...getTestItemContextOverlay(element.test, capabilities));
|
|
1882
|
-
const extId = element.test.item.extId;
|
|
1883
|
-
if (( element.test.tasks[element.taskIndex].messages.some(m => m.type === 1 ))) {
|
|
1884
|
-
primary.push(( new Action('testing.outputPeek.showResultOutput', ( localizeWithPath(
|
|
1885
|
-
'vs/workbench/contrib/testing/browser/testingOutputPeek',
|
|
1886
|
-
'testing.showResultOutput',
|
|
1887
|
-
"Show Result Output"
|
|
1888
|
-
)), ThemeIcon.asClassName(Codicon.terminal), undefined, () => this.requestReveal.fire(element.outputSubject))));
|
|
1889
|
-
}
|
|
1890
|
-
secondary.push(( new Action('testing.outputPeek.revealInExplorer', ( localizeWithPath(
|
|
1891
|
-
'vs/workbench/contrib/testing/browser/testingOutputPeek',
|
|
1892
|
-
'testing.revealInExplorer',
|
|
1893
|
-
"Reveal in Test Explorer"
|
|
1894
|
-
)), ThemeIcon.asClassName(Codicon.listTree), undefined, () => this.commandService.executeCommand('_revealTestInExplorer', extId))));
|
|
1895
|
-
if (capabilities & 2 ) {
|
|
1896
|
-
primary.push(( new Action('testing.outputPeek.runTest', ( localizeWithPath(
|
|
1897
|
-
'vs/workbench/contrib/testing/browser/testingOutputPeek',
|
|
1898
|
-
'run test',
|
|
1899
|
-
'Run Test'
|
|
1900
|
-
)), ThemeIcon.asClassName(testingRunIcon), undefined, () => this.commandService.executeCommand('vscode.runTestsById', 2 , extId))));
|
|
1901
|
-
}
|
|
1902
|
-
if (capabilities & 4 ) {
|
|
1903
|
-
primary.push(( new Action('testing.outputPeek.debugTest', ( localizeWithPath(
|
|
1904
|
-
'vs/workbench/contrib/testing/browser/testingOutputPeek',
|
|
1905
|
-
'debug test',
|
|
1906
|
-
'Debug Test'
|
|
1907
|
-
)), ThemeIcon.asClassName(testingDebugIcon), undefined, () => this.commandService.executeCommand('vscode.runTestsById', 4 , extId))));
|
|
1908
|
-
}
|
|
1909
|
-
}
|
|
1910
|
-
if (element instanceof TestMessageElement) {
|
|
1911
|
-
primary.push(( new Action('testing.outputPeek.goToFile', ( localizeWithPath(
|
|
1912
|
-
'vs/workbench/contrib/testing/browser/testingOutputPeek',
|
|
1913
|
-
'testing.goToFile',
|
|
1914
|
-
"Go to Source"
|
|
1915
|
-
)), ThemeIcon.asClassName(Codicon.goToFile), undefined, () => this.commandService.executeCommand('vscode.revealTest', element.test.item.extId))));
|
|
1916
|
-
}
|
|
1917
|
-
if (element instanceof TestMessageElement) {
|
|
1918
|
-
id = MenuId.TestMessageContext;
|
|
1919
|
-
contextKeys.push([TestingContextKeys.testMessageContext.key, element.contextValue]);
|
|
1920
|
-
if (this.showRevealLocationOnMessages && element.location) {
|
|
1921
|
-
primary.push(( new Action('testing.outputPeek.goToError', ( localizeWithPath(
|
|
1922
|
-
'vs/workbench/contrib/testing/browser/testingOutputPeek',
|
|
1923
|
-
'testing.goToError',
|
|
1924
|
-
"Go to Source"
|
|
1925
|
-
)), ThemeIcon.asClassName(Codicon.goToFile), undefined, () => this.editorService.openEditor({
|
|
1926
|
-
resource: element.location.uri,
|
|
1927
|
-
options: {
|
|
1928
|
-
selection: element.location.range,
|
|
1929
|
-
preserveFocus: true,
|
|
1930
|
-
}
|
|
1931
|
-
}))));
|
|
1932
|
-
}
|
|
1933
|
-
}
|
|
1934
|
-
const contextOverlay = this.contextKeyService.createOverlay(contextKeys);
|
|
1935
|
-
const result = { primary, secondary };
|
|
1936
|
-
const menu = this.menuService.createMenu(id, contextOverlay);
|
|
1937
|
-
try {
|
|
1938
|
-
createAndFillInActionBarActions(menu, { arg: element.context }, result, 'inline');
|
|
1939
|
-
return result;
|
|
1940
|
-
}
|
|
1941
|
-
finally {
|
|
1942
|
-
menu.dispose();
|
|
1943
|
-
}
|
|
1944
|
-
}
|
|
1945
|
-
};
|
|
1946
|
-
TreeActionsProvider = ( __decorate([
|
|
1947
|
-
( __param(2, IContextKeyService)),
|
|
1948
|
-
( __param(3, IMenuService)),
|
|
1949
|
-
( __param(4, ICommandService)),
|
|
1950
|
-
( __param(5, ITestProfileService)),
|
|
1951
|
-
( __param(6, IEditorService))
|
|
1952
|
-
], TreeActionsProvider));
|
|
1953
|
-
const navWhen = ( ContextKeyExpr.and(EditorContextKeys.focus, TestingContextKeys.isPeekVisible));
|
|
1954
|
-
const getPeekedEditorFromFocus = (codeEditorService) => {
|
|
1955
|
-
const editor = codeEditorService.getFocusedCodeEditor() || codeEditorService.getActiveCodeEditor();
|
|
1956
|
-
return editor && getPeekedEditor(codeEditorService, editor);
|
|
1957
|
-
};
|
|
1958
|
-
const getPeekedEditor = (codeEditorService, editor) => {
|
|
1959
|
-
if (TestingOutputPeekController.get(editor)?.subject) {
|
|
1960
|
-
return editor;
|
|
1961
|
-
}
|
|
1962
|
-
if (editor instanceof EmbeddedCodeEditorWidget) {
|
|
1963
|
-
return editor.getParentEditor();
|
|
1964
|
-
}
|
|
1965
|
-
const outer = getOuterEditorFromDiffEditor(codeEditorService);
|
|
1966
|
-
if (outer) {
|
|
1967
|
-
return outer;
|
|
1968
|
-
}
|
|
1969
|
-
return editor;
|
|
1970
|
-
};
|
|
1971
|
-
class GoToNextMessageAction extends Action2 {
|
|
1972
|
-
static { this.ID = 'testing.goToNextMessage'; }
|
|
1973
|
-
constructor() {
|
|
1974
|
-
super({
|
|
1975
|
-
id: GoToNextMessageAction.ID,
|
|
1976
|
-
f1: true,
|
|
1977
|
-
title: ( localize2WithPath(
|
|
1978
|
-
'vs/workbench/contrib/testing/browser/testingOutputPeek',
|
|
1979
|
-
'testing.goToNextMessage',
|
|
1980
|
-
'Go to Next Test Failure'
|
|
1981
|
-
)),
|
|
1982
|
-
icon: Codicon.arrowDown,
|
|
1983
|
-
category: Categories.Test,
|
|
1984
|
-
keybinding: {
|
|
1985
|
-
primary: 512 | 66 ,
|
|
1986
|
-
weight: 100 + 1,
|
|
1987
|
-
when: navWhen,
|
|
1988
|
-
},
|
|
1989
|
-
menu: [{
|
|
1990
|
-
id: MenuId.TestPeekTitle,
|
|
1991
|
-
group: 'navigation',
|
|
1992
|
-
order: 2,
|
|
1993
|
-
}, {
|
|
1994
|
-
id: MenuId.CommandPalette,
|
|
1995
|
-
when: navWhen
|
|
1996
|
-
}],
|
|
1997
|
-
});
|
|
1998
|
-
}
|
|
1999
|
-
run(accessor) {
|
|
2000
|
-
const editor = getPeekedEditorFromFocus(accessor.get(ICodeEditorService));
|
|
2001
|
-
if (editor) {
|
|
2002
|
-
TestingOutputPeekController.get(editor)?.next();
|
|
2003
|
-
}
|
|
2004
|
-
}
|
|
2005
|
-
}
|
|
2006
|
-
class GoToPreviousMessageAction extends Action2 {
|
|
2007
|
-
static { this.ID = 'testing.goToPreviousMessage'; }
|
|
2008
|
-
constructor() {
|
|
2009
|
-
super({
|
|
2010
|
-
id: GoToPreviousMessageAction.ID,
|
|
2011
|
-
f1: true,
|
|
2012
|
-
title: ( localize2WithPath(
|
|
2013
|
-
'vs/workbench/contrib/testing/browser/testingOutputPeek',
|
|
2014
|
-
'testing.goToPreviousMessage',
|
|
2015
|
-
'Go to Previous Test Failure'
|
|
2016
|
-
)),
|
|
2017
|
-
icon: Codicon.arrowUp,
|
|
2018
|
-
category: Categories.Test,
|
|
2019
|
-
keybinding: {
|
|
2020
|
-
primary: 1024 | 512 | 66 ,
|
|
2021
|
-
weight: 100 + 1,
|
|
2022
|
-
when: navWhen
|
|
2023
|
-
},
|
|
2024
|
-
menu: [{
|
|
2025
|
-
id: MenuId.TestPeekTitle,
|
|
2026
|
-
group: 'navigation',
|
|
2027
|
-
order: 1,
|
|
2028
|
-
}, {
|
|
2029
|
-
id: MenuId.CommandPalette,
|
|
2030
|
-
when: navWhen
|
|
2031
|
-
}],
|
|
2032
|
-
});
|
|
2033
|
-
}
|
|
2034
|
-
run(accessor) {
|
|
2035
|
-
const editor = getPeekedEditorFromFocus(accessor.get(ICodeEditorService));
|
|
2036
|
-
if (editor) {
|
|
2037
|
-
TestingOutputPeekController.get(editor)?.previous();
|
|
2038
|
-
}
|
|
2039
|
-
}
|
|
2040
|
-
}
|
|
2041
|
-
class OpenMessageInEditorAction extends Action2 {
|
|
2042
|
-
static { this.ID = 'testing.openMessageInEditor'; }
|
|
2043
|
-
constructor() {
|
|
2044
|
-
super({
|
|
2045
|
-
id: OpenMessageInEditorAction.ID,
|
|
2046
|
-
f1: false,
|
|
2047
|
-
title: ( localize2WithPath(
|
|
2048
|
-
'vs/workbench/contrib/testing/browser/testingOutputPeek',
|
|
2049
|
-
'testing.openMessageInEditor',
|
|
2050
|
-
'Open in Editor'
|
|
2051
|
-
)),
|
|
2052
|
-
icon: Codicon.goToFile,
|
|
2053
|
-
category: Categories.Test,
|
|
2054
|
-
menu: [{ id: MenuId.TestPeekTitle }],
|
|
2055
|
-
});
|
|
2056
|
-
}
|
|
2057
|
-
run(accessor) {
|
|
2058
|
-
accessor.get(ITestingPeekOpener).openCurrentInEditor();
|
|
2059
|
-
}
|
|
2060
|
-
}
|
|
2061
|
-
class ToggleTestingPeekHistory extends Action2 {
|
|
2062
|
-
static { this.ID = 'testing.toggleTestingPeekHistory'; }
|
|
2063
|
-
constructor() {
|
|
2064
|
-
super({
|
|
2065
|
-
id: ToggleTestingPeekHistory.ID,
|
|
2066
|
-
f1: true,
|
|
2067
|
-
title: ( localize2WithPath(
|
|
2068
|
-
'vs/workbench/contrib/testing/browser/testingOutputPeek',
|
|
2069
|
-
'testing.toggleTestingPeekHistory',
|
|
2070
|
-
'Toggle Test History in Peek'
|
|
2071
|
-
)),
|
|
2072
|
-
icon: Codicon.history,
|
|
2073
|
-
category: Categories.Test,
|
|
2074
|
-
menu: [{
|
|
2075
|
-
id: MenuId.TestPeekTitle,
|
|
2076
|
-
group: 'navigation',
|
|
2077
|
-
order: 3,
|
|
2078
|
-
}],
|
|
2079
|
-
keybinding: {
|
|
2080
|
-
weight: 200 ,
|
|
2081
|
-
primary: 512 | 38 ,
|
|
2082
|
-
when: ( TestingContextKeys.isPeekVisible.isEqualTo(true)),
|
|
2083
|
-
},
|
|
2084
|
-
});
|
|
2085
|
-
}
|
|
2086
|
-
run(accessor) {
|
|
2087
|
-
const opener = accessor.get(ITestingPeekOpener);
|
|
2088
|
-
opener.historyVisible.value = !opener.historyVisible.value;
|
|
2089
|
-
}
|
|
2090
|
-
}
|
|
2091
|
-
class CreationCache {
|
|
2092
|
-
constructor() {
|
|
2093
|
-
this.v = ( new WeakMap());
|
|
2094
|
-
}
|
|
2095
|
-
get(key) {
|
|
2096
|
-
return this.v.get(key);
|
|
2097
|
-
}
|
|
2098
|
-
getOrCreate(ref, factory) {
|
|
2099
|
-
const existing = this.v.get(ref);
|
|
2100
|
-
if (existing) {
|
|
2101
|
-
return existing;
|
|
2102
|
-
}
|
|
2103
|
-
const fresh = factory();
|
|
2104
|
-
this.v.set(ref, fresh);
|
|
2105
|
-
return fresh;
|
|
2106
|
-
}
|
|
2107
|
-
}
|
|
2108
|
-
export { CloseTestPeek, GoToNextMessageAction, GoToPreviousMessageAction, OpenMessageInEditorAction, TestResultsView, TestingOutputPeekController, TestingPeekOpener, ToggleTestingPeekHistory };
|