@codingame/monaco-vscode-api 4.1.0 → 4.1.2

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.
Files changed (902) hide show
  1. package/missing-services.js +11 -2
  2. package/package.json +8 -8
  3. package/vscode/src/vs/base/common/objects.js +1 -1
  4. package/vscode/src/vs/editor/browser/coreCommands.js +1 -1
  5. package/vscode/src/vs/platform/telemetry/common/telemetry.js +1 -2
  6. package/vscode/src/vs/platform/telemetry/common/telemetryUtils.js +3 -7
  7. package/vscode/src/vs/workbench/common/editor.js +1 -5
  8. package/vscode/src/vs/workbench/contrib/chat/common/chatService.js +1 -2
  9. package/vscode/src/vs/workbench/contrib/logs/common/logsActions.js +6 -12
  10. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/utils.js +1 -1
  11. package/vscode/src/vs/workbench/services/issue/browser/issueTroubleshoot.js +418 -0
  12. package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfile.js +2 -7
  13. package/override/vs/platform/userDataSync/common/extensionsSync.js +0 -4
  14. package/override/vs/platform/userDataSync/common/globalStateSync.js +0 -5
  15. package/vscode/src/vs/base/browser/hash.js +0 -15
  16. package/vscode/src/vs/base/browser/ui/icons/iconSelectBox.css.js +0 -4
  17. package/vscode/src/vs/base/browser/ui/icons/iconSelectBox.js +0 -246
  18. package/vscode/src/vs/base/common/amd.js +0 -101
  19. package/vscode/src/vs/base/common/console.js +0 -60
  20. package/vscode/src/vs/base/common/paging.js +0 -116
  21. package/vscode/src/vs/base/common/parsers.js +0 -43
  22. package/vscode/src/vs/base/common/processes.js +0 -25
  23. package/vscode/src/vs/base/parts/request/browser/request.js +0 -60
  24. package/vscode/src/vs/editor/common/services/modelUndoRedoParticipant.js +0 -56
  25. package/vscode/src/vs/editor/common/services/textResourceConfigurationService.js +0 -116
  26. package/vscode/src/vs/editor/contrib/quickAccess/browser/commandsQuickAccess.js +0 -23
  27. package/vscode/src/vs/platform/debug/common/extensionHostDebugIpc.js +0 -71
  28. package/vscode/src/vs/platform/download/common/downloadIpc.js +0 -16
  29. package/vscode/src/vs/platform/download/common/downloadService.js +0 -31
  30. package/vscode/src/vs/platform/extensionManagement/common/abstractExtensionManagementService.js +0 -748
  31. package/vscode/src/vs/platform/extensionManagement/common/extensionGalleryService.js +0 -852
  32. package/vscode/src/vs/platform/extensionManagement/common/extensionManagementCLI.js +0 -495
  33. package/vscode/src/vs/platform/extensionManagement/common/extensionManagementIpc.js +0 -120
  34. package/vscode/src/vs/platform/extensionManagement/common/extensionTipsService.js +0 -65
  35. package/vscode/src/vs/platform/extensionManagement/common/unsupportedExtensionsMigration.js +0 -56
  36. package/vscode/src/vs/platform/extensionResourceLoader/browser/extensionResourceLoaderService.js +0 -42
  37. package/vscode/src/vs/platform/externalServices/common/marketplace.js +0 -15
  38. package/vscode/src/vs/platform/externalTerminal/common/externalTerminal.js +0 -3
  39. package/vscode/src/vs/platform/files/browser/indexedDBFileSystemProvider.js +0 -404
  40. package/vscode/src/vs/platform/files/common/fileService.js +0 -986
  41. package/vscode/src/vs/platform/files/common/io.js +0 -75
  42. package/vscode/src/vs/platform/issue/common/issueReporterUtil.js +0 -15
  43. package/vscode/src/vs/platform/keyboardLayout/common/keyboardConfig.js +0 -48
  44. package/vscode/src/vs/platform/keyboardLayout/common/keyboardMapper.js +0 -23
  45. package/vscode/src/vs/platform/lifecycle/common/lifecycle.js +0 -25
  46. package/vscode/src/vs/platform/log/common/fileLog.js +0 -105
  47. package/vscode/src/vs/platform/log/common/logIpc.js +0 -26
  48. package/vscode/src/vs/platform/quickinput/browser/commandsQuickAccess.js +0 -355
  49. package/vscode/src/vs/platform/quickinput/browser/helpQuickAccess.js +0 -65
  50. package/vscode/src/vs/platform/remote/browser/remoteAuthorityResolverService.js +0 -108
  51. package/vscode/src/vs/platform/remote/common/managedSocket.js +0 -96
  52. package/vscode/src/vs/platform/request/browser/requestService.js +0 -28
  53. package/vscode/src/vs/platform/request/common/requestIpc.js +0 -18
  54. package/vscode/src/vs/platform/telemetry/common/commonProperties.js +0 -11
  55. package/vscode/src/vs/platform/terminal/common/capabilities/naiveCwdDetectionCapability.js +0 -22
  56. package/vscode/src/vs/platform/terminal/common/environmentVariable.js +0 -7
  57. package/vscode/src/vs/platform/terminal/common/environmentVariableCollection.js +0 -196
  58. package/vscode/src/vs/platform/terminal/common/terminalLogService.js +0 -49
  59. package/vscode/src/vs/platform/terminal/common/terminalPlatformConfiguration.js +0 -518
  60. package/vscode/src/vs/platform/terminal/common/terminalProfiles.js +0 -111
  61. package/vscode/src/vs/platform/terminal/common/terminalRecorder.js +0 -66
  62. package/vscode/src/vs/platform/update/common/update.config.contribution.js +0 -98
  63. package/vscode/src/vs/platform/url/common/urlService.js +0 -20
  64. package/vscode/src/vs/platform/userDataProfile/browser/userDataProfile.js +0 -93
  65. package/vscode/src/vs/platform/userDataProfile/common/userDataProfileStorageService.js +0 -8
  66. package/vscode/src/vs/platform/userDataSync/common/extensionsSync.js +0 -256
  67. package/vscode/src/vs/platform/userDataSync/common/globalStateSync.js +0 -120
  68. package/vscode/src/vs/platform/userDataSync/common/keybindingsMerge.js +0 -275
  69. package/vscode/src/vs/platform/userDataSync/common/keybindingsSync.js +0 -316
  70. package/vscode/src/vs/platform/userDataSync/common/settingsSync.js +0 -314
  71. package/vscode/src/vs/platform/userDataSync/common/snippetsMerge.js +0 -125
  72. package/vscode/src/vs/platform/userDataSync/common/snippetsSync.js +0 -474
  73. package/vscode/src/vs/platform/userDataSync/common/tasksSync.js +0 -242
  74. package/vscode/src/vs/platform/userDataSync/common/userDataAutoSyncService.js +0 -464
  75. package/vscode/src/vs/platform/userDataSync/common/userDataProfilesManifestMerge.js +0 -90
  76. package/vscode/src/vs/platform/userDataSync/common/userDataProfilesManifestSync.js +0 -257
  77. package/vscode/src/vs/platform/userDataSync/common/userDataSyncEnablementService.js +0 -75
  78. package/vscode/src/vs/platform/userDataSync/common/userDataSyncLocalStoreService.js +0 -148
  79. package/vscode/src/vs/platform/userDataSync/common/userDataSyncLog.js +0 -39
  80. package/vscode/src/vs/platform/userDataSync/common/userDataSyncResourceProvider.js +0 -447
  81. package/vscode/src/vs/platform/userDataSync/common/userDataSyncService.js +0 -781
  82. package/vscode/src/vs/workbench/api/browser/extensionHost.contribution.js +0 -103
  83. package/vscode/src/vs/workbench/api/browser/mainThreadAiEmbeddingVector.js +0 -29
  84. package/vscode/src/vs/workbench/api/browser/mainThreadAiRelatedInformation.js +0 -33
  85. package/vscode/src/vs/workbench/api/browser/mainThreadAuthentication.js +0 -252
  86. package/vscode/src/vs/workbench/api/browser/mainThreadBulkEdits.js +0 -66
  87. package/vscode/src/vs/workbench/api/browser/mainThreadCLICommands.js +0 -102
  88. package/vscode/src/vs/workbench/api/browser/mainThreadChat.js +0 -68
  89. package/vscode/src/vs/workbench/api/browser/mainThreadChatAgents2.js +0 -205
  90. package/vscode/src/vs/workbench/api/browser/mainThreadChatVariables.js +0 -39
  91. package/vscode/src/vs/workbench/api/browser/mainThreadClipboard.js +0 -22
  92. package/vscode/src/vs/workbench/api/browser/mainThreadCodeInsets.js +0 -106
  93. package/vscode/src/vs/workbench/api/browser/mainThreadCommands.js +0 -96
  94. package/vscode/src/vs/workbench/api/browser/mainThreadComments.js +0 -558
  95. package/vscode/src/vs/workbench/api/browser/mainThreadConfiguration.js +0 -78
  96. package/vscode/src/vs/workbench/api/browser/mainThreadConsole.js +0 -33
  97. package/vscode/src/vs/workbench/api/browser/mainThreadCustomEditors.js +0 -577
  98. package/vscode/src/vs/workbench/api/browser/mainThreadDebugService.js +0 -433
  99. package/vscode/src/vs/workbench/api/browser/mainThreadDecorations.js +0 -100
  100. package/vscode/src/vs/workbench/api/browser/mainThreadDiagnostics.js +0 -67
  101. package/vscode/src/vs/workbench/api/browser/mainThreadDialogs.js +0 -66
  102. package/vscode/src/vs/workbench/api/browser/mainThreadDocumentContentProviders.js +0 -77
  103. package/vscode/src/vs/workbench/api/browser/mainThreadDocuments.js +0 -251
  104. package/vscode/src/vs/workbench/api/browser/mainThreadDocumentsAndEditors.js +0 -368
  105. package/vscode/src/vs/workbench/api/browser/mainThreadDownloadService.js +0 -20
  106. package/vscode/src/vs/workbench/api/browser/mainThreadEditSessionIdentityParticipant.js +0 -39
  107. package/vscode/src/vs/workbench/api/browser/mainThreadEditor.js +0 -412
  108. package/vscode/src/vs/workbench/api/browser/mainThreadEditorTabs.js +0 -499
  109. package/vscode/src/vs/workbench/api/browser/mainThreadEditors.js +0 -225
  110. package/vscode/src/vs/workbench/api/browser/mainThreadErrors.js +0 -22
  111. package/vscode/src/vs/workbench/api/browser/mainThreadExtensionService.js +0 -315
  112. package/vscode/src/vs/workbench/api/browser/mainThreadFileSystem.js +0 -206
  113. package/vscode/src/vs/workbench/api/browser/mainThreadFileSystemEventService.js +0 -367
  114. package/vscode/src/vs/workbench/api/browser/mainThreadInlineChat.js +0 -70
  115. package/vscode/src/vs/workbench/api/browser/mainThreadInteractive.js +0 -26
  116. package/vscode/src/vs/workbench/api/browser/mainThreadIssueReporter.js +0 -48
  117. package/vscode/src/vs/workbench/api/browser/mainThreadLabelService.js +0 -25
  118. package/vscode/src/vs/workbench/api/browser/mainThreadLanguageFeatures.js +0 -1014
  119. package/vscode/src/vs/workbench/api/browser/mainThreadLanguageModels.js +0 -183
  120. package/vscode/src/vs/workbench/api/browser/mainThreadLanguages.js +0 -76
  121. package/vscode/src/vs/workbench/api/browser/mainThreadLocalization.js +0 -33
  122. package/vscode/src/vs/workbench/api/browser/mainThreadLogService.js +0 -76
  123. package/vscode/src/vs/workbench/api/browser/mainThreadManagedSockets.js +0 -91
  124. package/vscode/src/vs/workbench/api/browser/mainThreadMessageService.js +0 -135
  125. package/vscode/src/vs/workbench/api/browser/mainThreadNotebook.js +0 -192
  126. package/vscode/src/vs/workbench/api/browser/mainThreadNotebookDocuments.js +0 -121
  127. package/vscode/src/vs/workbench/api/browser/mainThreadNotebookDocumentsAndEditors.js +0 -186
  128. package/vscode/src/vs/workbench/api/browser/mainThreadNotebookDto.js +0 -127
  129. package/vscode/src/vs/workbench/api/browser/mainThreadNotebookEditors.js +0 -129
  130. package/vscode/src/vs/workbench/api/browser/mainThreadNotebookKernels.js +0 -372
  131. package/vscode/src/vs/workbench/api/browser/mainThreadNotebookRenderers.js +0 -23
  132. package/vscode/src/vs/workbench/api/browser/mainThreadNotebookSaveParticipant.js +0 -46
  133. package/vscode/src/vs/workbench/api/browser/mainThreadOutputService.js +0 -74
  134. package/vscode/src/vs/workbench/api/browser/mainThreadProfileContentHandlers.js +0 -36
  135. package/vscode/src/vs/workbench/api/browser/mainThreadProgress.js +0 -66
  136. package/vscode/src/vs/workbench/api/browser/mainThreadQuickDiff.js +0 -40
  137. package/vscode/src/vs/workbench/api/browser/mainThreadQuickOpen.js +0 -183
  138. package/vscode/src/vs/workbench/api/browser/mainThreadRemoteConnectionData.js +0 -28
  139. package/vscode/src/vs/workbench/api/browser/mainThreadSCM.js +0 -491
  140. package/vscode/src/vs/workbench/api/browser/mainThreadSaveParticipant.js +0 -47
  141. package/vscode/src/vs/workbench/api/browser/mainThreadSearch.js +0 -166
  142. package/vscode/src/vs/workbench/api/browser/mainThreadSecretState.js +0 -68
  143. package/vscode/src/vs/workbench/api/browser/mainThreadShare.js +0 -48
  144. package/vscode/src/vs/workbench/api/browser/mainThreadSpeech.js +0 -97
  145. package/vscode/src/vs/workbench/api/browser/mainThreadStatusBar.js +0 -51
  146. package/vscode/src/vs/workbench/api/browser/mainThreadStorage.js +0 -70
  147. package/vscode/src/vs/workbench/api/browser/mainThreadTask.js +0 -729
  148. package/vscode/src/vs/workbench/api/browser/mainThreadTelemetry.js +0 -51
  149. package/vscode/src/vs/workbench/api/browser/mainThreadTerminalService.js +0 -407
  150. package/vscode/src/vs/workbench/api/browser/mainThreadTerminalShellIntegration.js +0 -49
  151. package/vscode/src/vs/workbench/api/browser/mainThreadTesting.js +0 -217
  152. package/vscode/src/vs/workbench/api/browser/mainThreadTheming.js +0 -22
  153. package/vscode/src/vs/workbench/api/browser/mainThreadTimeline.js +0 -53
  154. package/vscode/src/vs/workbench/api/browser/mainThreadTreeViews.js +0 -310
  155. package/vscode/src/vs/workbench/api/browser/mainThreadTunnelService.js +0 -221
  156. package/vscode/src/vs/workbench/api/browser/mainThreadUriOpeners.js +0 -108
  157. package/vscode/src/vs/workbench/api/browser/mainThreadUrls.js +0 -59
  158. package/vscode/src/vs/workbench/api/browser/mainThreadWebviewManager.js +0 -27
  159. package/vscode/src/vs/workbench/api/browser/mainThreadWebviewPanels.js +0 -281
  160. package/vscode/src/vs/workbench/api/browser/mainThreadWebviewViews.js +0 -98
  161. package/vscode/src/vs/workbench/api/browser/mainThreadWebviews.js +0 -133
  162. package/vscode/src/vs/workbench/api/browser/mainThreadWindow.js +0 -55
  163. package/vscode/src/vs/workbench/api/browser/mainThreadWorkspace.js +0 -266
  164. package/vscode/src/vs/workbench/api/common/configurationExtensionPoint.js +0 -594
  165. package/vscode/src/vs/workbench/api/common/shared/dataTransferCache.js +0 -33
  166. package/vscode/src/vs/workbench/browser/actions/quickAccessActions.js +0 -227
  167. package/vscode/src/vs/workbench/browser/layout.js +0 -2059
  168. package/vscode/src/vs/workbench/browser/parts/banner/bannerPart.js +0 -233
  169. package/vscode/src/vs/workbench/browser/parts/banner/media/bannerpart.css.js +0 -4
  170. package/vscode/src/vs/workbench/browser/parts/dialogs/dialog.web.contribution.js +0 -74
  171. package/vscode/src/vs/workbench/browser/parts/dialogs/dialogHandler.js +0 -132
  172. package/vscode/src/vs/workbench/browser/parts/statusbar/media/statusbarpart.css.js +0 -4
  173. package/vscode/src/vs/workbench/browser/parts/statusbar/statusbarActions.js +0 -119
  174. package/vscode/src/vs/workbench/browser/parts/statusbar/statusbarItem.js +0 -250
  175. package/vscode/src/vs/workbench/browser/parts/statusbar/statusbarModel.js +0 -249
  176. package/vscode/src/vs/workbench/browser/parts/statusbar/statusbarPart.js +0 -610
  177. package/vscode/src/vs/workbench/browser/parts/titlebar/commandCenterControl.js +0 -220
  178. package/vscode/src/vs/workbench/browser/parts/titlebar/media/titlebarpart.css.js +0 -4
  179. package/vscode/src/vs/workbench/browser/parts/titlebar/titlebarActions.js +0 -259
  180. package/vscode/src/vs/workbench/browser/parts/titlebar/titlebarPart.js +0 -582
  181. package/vscode/src/vs/workbench/common/dialogs.js +0 -36
  182. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibility.contribution.js +0 -23
  183. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityStatus.js +0 -112
  184. package/vscode/src/vs/workbench/contrib/accessibility/browser/openDiffEditorAnnouncement.js +0 -50
  185. package/vscode/src/vs/workbench/contrib/accessibility/browser/saveAccessibilitySignal.js +0 -18
  186. package/vscode/src/vs/workbench/contrib/accessibility/browser/unfocusedViewDimmingContribution.js +0 -66
  187. package/vscode/src/vs/workbench/contrib/bulkEdit/browser/bulkEditService.js +0 -358
  188. package/vscode/src/vs/workbench/contrib/bulkEdit/browser/bulkFileEdits.js +0 -362
  189. package/vscode/src/vs/workbench/contrib/bulkEdit/browser/bulkTextEdits.js +0 -265
  190. package/vscode/src/vs/workbench/contrib/bulkEdit/browser/conflicts.js +0 -78
  191. package/vscode/src/vs/workbench/contrib/bulkEdit/browser/preview/bulkEdit.contribution.js +0 -364
  192. package/vscode/src/vs/workbench/contrib/bulkEdit/browser/preview/bulkEdit.css.js +0 -4
  193. package/vscode/src/vs/workbench/contrib/bulkEdit/browser/preview/bulkEditPane.js +0 -340
  194. package/vscode/src/vs/workbench/contrib/bulkEdit/browser/preview/bulkEditPreview.js +0 -361
  195. package/vscode/src/vs/workbench/contrib/bulkEdit/browser/preview/bulkEditTree.js +0 -655
  196. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatClear.js +0 -15
  197. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatClearActions.js +0 -113
  198. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatCodeblockActions.js +0 -501
  199. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatCopyActions.js +0 -80
  200. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatFileTreeActions.js +0 -75
  201. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatImportExport.js +0 -108
  202. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatMoveActions.js +0 -169
  203. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatTitleActions.js +0 -269
  204. package/vscode/src/vs/workbench/contrib/chat/browser/chat.contribution.js +0 -316
  205. package/vscode/src/vs/workbench/contrib/chat/browser/chatAccessibilityService.js +0 -58
  206. package/vscode/src/vs/workbench/contrib/chat/browser/chatContributionServiceImpl.js +0 -421
  207. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditor.js +0 -96
  208. package/vscode/src/vs/workbench/contrib/chat/browser/chatQuick.js +0 -283
  209. package/vscode/src/vs/workbench/contrib/chat/browser/chatVariables.js +0 -88
  210. package/vscode/src/vs/workbench/contrib/chat/browser/chatViewPane.js +0 -183
  211. package/vscode/src/vs/workbench/contrib/chat/browser/contrib/chatHistoryVariables.js +0 -25
  212. package/vscode/src/vs/workbench/contrib/chat/browser/contrib/chatInputEditorContrib.js +0 -617
  213. package/vscode/src/vs/workbench/contrib/chat/common/chatServiceImpl.js +0 -598
  214. package/vscode/src/vs/workbench/contrib/chat/common/voiceChat.js +0 -139
  215. package/vscode/src/vs/workbench/contrib/codeEditor/browser/accessibility/accessibility.css.js +0 -4
  216. package/vscode/src/vs/workbench/contrib/codeEditor/browser/accessibility/accessibility.js +0 -39
  217. package/vscode/src/vs/workbench/contrib/codeEditor/browser/emptyTextEditorHint/emptyTextEditorHint.css.js +0 -4
  218. package/vscode/src/vs/workbench/contrib/codeEditor/browser/emptyTextEditorHint/emptyTextEditorHint.js +0 -389
  219. package/vscode/src/vs/workbench/contrib/codeEditor/browser/outline/documentSymbolsOutline.js +0 -370
  220. package/vscode/src/vs/workbench/contrib/codeEditor/browser/outline/documentSymbolsTree.css.js +0 -4
  221. package/vscode/src/vs/workbench/contrib/codeEditor/browser/outline/documentSymbolsTree.js +0 -290
  222. package/vscode/src/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoLineQuickAccess.js +0 -86
  223. package/vscode/src/vs/workbench/contrib/commands/common/commands.contribution.js +0 -145
  224. package/vscode/src/vs/workbench/contrib/comments/browser/comments.contribution.js +0 -231
  225. package/vscode/src/vs/workbench/contrib/comments/browser/commentsEditorContribution.js +0 -282
  226. package/vscode/src/vs/workbench/contrib/customEditor/common/customTextEditorModel.js +0 -74
  227. package/vscode/src/vs/workbench/contrib/debug/browser/callStackView.js +0 -1024
  228. package/vscode/src/vs/workbench/contrib/debug/browser/debug.contribution.js +0 -1003
  229. package/vscode/src/vs/workbench/contrib/debug/browser/debugANSIHandling.js +0 -345
  230. package/vscode/src/vs/workbench/contrib/debug/browser/debugActionViewItems.js +0 -335
  231. package/vscode/src/vs/workbench/contrib/debug/browser/debugAdapterManager.js +0 -430
  232. package/vscode/src/vs/workbench/contrib/debug/browser/debugCommands.js +0 -1037
  233. package/vscode/src/vs/workbench/contrib/debug/browser/debugConfigurationManager.js +0 -647
  234. package/vscode/src/vs/workbench/contrib/debug/browser/debugConsoleQuickAccess.js +0 -62
  235. package/vscode/src/vs/workbench/contrib/debug/browser/debugEditorActions.js +0 -634
  236. package/vscode/src/vs/workbench/contrib/debug/browser/debugEditorContribution.js +0 -738
  237. package/vscode/src/vs/workbench/contrib/debug/browser/debugHover.js +0 -406
  238. package/vscode/src/vs/workbench/contrib/debug/browser/debugMemory.js +0 -204
  239. package/vscode/src/vs/workbench/contrib/debug/browser/debugProgress.js +0 -78
  240. package/vscode/src/vs/workbench/contrib/debug/browser/debugQuickAccess.js +0 -167
  241. package/vscode/src/vs/workbench/contrib/debug/browser/debugService.js +0 -1269
  242. package/vscode/src/vs/workbench/contrib/debug/browser/debugSession.js +0 -1328
  243. package/vscode/src/vs/workbench/contrib/debug/browser/debugSessionPicker.js +0 -113
  244. package/vscode/src/vs/workbench/contrib/debug/browser/debugStatus.js +0 -75
  245. package/vscode/src/vs/workbench/contrib/debug/browser/debugTaskRunner.js +0 -305
  246. package/vscode/src/vs/workbench/contrib/debug/browser/debugTitle.js +0 -29
  247. package/vscode/src/vs/workbench/contrib/debug/browser/debugToolBar.js +0 -385
  248. package/vscode/src/vs/workbench/contrib/debug/browser/debugViewlet.js +0 -265
  249. package/vscode/src/vs/workbench/contrib/debug/browser/disassemblyView.js +0 -815
  250. package/vscode/src/vs/workbench/contrib/debug/browser/exceptionWidget.js +0 -129
  251. package/vscode/src/vs/workbench/contrib/debug/browser/extensionHostDebugService.js +0 -140
  252. package/vscode/src/vs/workbench/contrib/debug/browser/linkDetector.js +0 -260
  253. package/vscode/src/vs/workbench/contrib/debug/browser/loadedScriptsView.js +0 -667
  254. package/vscode/src/vs/workbench/contrib/debug/browser/media/debug.contribution.css.js +0 -4
  255. package/vscode/src/vs/workbench/contrib/debug/browser/media/debugHover.css.js +0 -4
  256. package/vscode/src/vs/workbench/contrib/debug/browser/media/debugToolBar.css.js +0 -4
  257. package/vscode/src/vs/workbench/contrib/debug/browser/media/debugViewlet.css.js +0 -4
  258. package/vscode/src/vs/workbench/contrib/debug/browser/media/exceptionWidget.css.js +0 -4
  259. package/vscode/src/vs/workbench/contrib/debug/browser/media/repl.css.js +0 -4
  260. package/vscode/src/vs/workbench/contrib/debug/browser/rawDebugSession.js +0 -707
  261. package/vscode/src/vs/workbench/contrib/debug/browser/repl.js +0 -1000
  262. package/vscode/src/vs/workbench/contrib/debug/browser/replFilter.js +0 -46
  263. package/vscode/src/vs/workbench/contrib/debug/browser/replViewer.js +0 -350
  264. package/vscode/src/vs/workbench/contrib/debug/browser/statusbarColorProvider.js +0 -127
  265. package/vscode/src/vs/workbench/contrib/debug/browser/variablesView.js +0 -732
  266. package/vscode/src/vs/workbench/contrib/debug/browser/watchExpressionsView.js +0 -499
  267. package/vscode/src/vs/workbench/contrib/debug/browser/welcomeView.js +0 -160
  268. package/vscode/src/vs/workbench/contrib/debug/common/breakpoints.js +0 -19
  269. package/vscode/src/vs/workbench/contrib/debug/common/debugCompoundRoot.js +0 -15
  270. package/vscode/src/vs/workbench/contrib/debug/common/debugContentProvider.js +0 -108
  271. package/vscode/src/vs/workbench/contrib/debug/common/debugLifecycle.js +0 -60
  272. package/vscode/src/vs/workbench/contrib/debug/common/debugSchemas.js +0 -458
  273. package/vscode/src/vs/workbench/contrib/debug/common/debugStorage.js +0 -164
  274. package/vscode/src/vs/workbench/contrib/debug/common/debugTelemetry.js +0 -34
  275. package/vscode/src/vs/workbench/contrib/debug/common/debugViewModel.js +0 -148
  276. package/vscode/src/vs/workbench/contrib/debug/common/debugger.js +0 -287
  277. package/vscode/src/vs/workbench/contrib/debug/common/loadedScriptsPicker.js +0 -85
  278. package/vscode/src/vs/workbench/contrib/editSessions/browser/editSessions.contribution.js +0 -1197
  279. package/vscode/src/vs/workbench/contrib/editSessions/browser/editSessionsFileSystemProvider.js +0 -55
  280. package/vscode/src/vs/workbench/contrib/editSessions/browser/editSessionsStorageService.js +0 -455
  281. package/vscode/src/vs/workbench/contrib/editSessions/browser/editSessionsViews.js +0 -337
  282. package/vscode/src/vs/workbench/contrib/editSessions/common/editSessionsLogService.js +0 -39
  283. package/vscode/src/vs/workbench/contrib/editSessions/common/editSessionsStorageClient.js +0 -4
  284. package/vscode/src/vs/workbench/contrib/editSessions/common/workspaceStateSync.js +0 -140
  285. package/vscode/src/vs/workbench/contrib/emmet/browser/actions/expandAbbreviation.js +0 -41
  286. package/vscode/src/vs/workbench/contrib/emmet/browser/emmetActions.js +0 -88
  287. package/vscode/src/vs/workbench/contrib/extensions/browser/abstractRuntimeExtensionsEditor.js +0 -539
  288. package/vscode/src/vs/workbench/contrib/extensions/browser/browserRuntimeExtensionsEditor.js +0 -26
  289. package/vscode/src/vs/workbench/contrib/extensions/browser/configBasedRecommendations.js +0 -76
  290. package/vscode/src/vs/workbench/contrib/extensions/browser/deprecatedExtensionsChecker.js +0 -88
  291. package/vscode/src/vs/workbench/contrib/extensions/browser/exeBasedRecommendations.js +0 -58
  292. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionEditor.js +0 -1171
  293. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionEnablementWorkspaceTrustTransitionParticipant.js +0 -50
  294. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionFeaturesTab.js +0 -543
  295. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionRecommendationNotificationService.js +0 -464
  296. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionRecommendations.js +0 -15
  297. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionRecommendationsService.js +0 -233
  298. package/vscode/src/vs/workbench/contrib/extensions/browser/extensions.contribution.js +0 -2182
  299. package/vscode/src/vs/workbench/contrib/extensions/browser/extensions.web.contribution.js +0 -12
  300. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActivationProgress.js +0 -44
  301. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsCompletionItemsProvider.js +0 -63
  302. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsDependencyChecker.js +0 -96
  303. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsList.js +0 -219
  304. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsQuickAccess.js +0 -119
  305. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsViewer.js +0 -293
  306. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsViewlet.js +0 -934
  307. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsViews.js +0 -1349
  308. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsWidgets.js +0 -858
  309. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsWorkbenchService.js +0 -2349
  310. package/vscode/src/vs/workbench/contrib/extensions/browser/fileBasedRecommendations.js +0 -328
  311. package/vscode/src/vs/workbench/contrib/extensions/browser/keymapRecommendations.js +0 -26
  312. package/vscode/src/vs/workbench/contrib/extensions/browser/languageRecommendations.js +0 -26
  313. package/vscode/src/vs/workbench/contrib/extensions/browser/media/extension.css.js +0 -4
  314. package/vscode/src/vs/workbench/contrib/extensions/browser/media/extensionEditor.css.js +0 -4
  315. package/vscode/src/vs/workbench/contrib/extensions/browser/media/extensionsViewlet.css.js +0 -4
  316. package/vscode/src/vs/workbench/contrib/extensions/browser/media/extensionsWidgets.css.js +0 -4
  317. package/vscode/src/vs/workbench/contrib/extensions/browser/media/runtimeExtensionsEditor.css.js +0 -4
  318. package/vscode/src/vs/workbench/contrib/extensions/browser/remoteRecommendations.js +0 -27
  319. package/vscode/src/vs/workbench/contrib/extensions/browser/unsupportedExtensionsMigrationContribution.js +0 -24
  320. package/vscode/src/vs/workbench/contrib/extensions/browser/webRecommendations.js +0 -36
  321. package/vscode/src/vs/workbench/contrib/extensions/browser/workspaceRecommendations.js +0 -160
  322. package/vscode/src/vs/workbench/contrib/extensions/common/extensionQuery.js +0 -56
  323. package/vscode/src/vs/workbench/contrib/extensions/common/reportExtensionIssueAction.js +0 -29
  324. package/vscode/src/vs/workbench/contrib/extensions/common/runtimeExtensionsInput.js +0 -49
  325. package/vscode/src/vs/workbench/contrib/externalTerminal/browser/externalTerminal.contribution.js +0 -152
  326. package/vscode/src/vs/workbench/contrib/externalUriOpener/common/contributedOpeners.js +0 -81
  327. package/vscode/src/vs/workbench/contrib/files/browser/explorerService.js +0 -430
  328. package/vscode/src/vs/workbench/contrib/files/browser/fileActions.contribution.js +0 -786
  329. package/vscode/src/vs/workbench/contrib/files/browser/fileCommands.js +0 -510
  330. package/vscode/src/vs/workbench/contrib/files/browser/files.explorer.contribution.js +0 -460
  331. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChat.contribution.js +0 -39
  332. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatAccessibleView.js +0 -39
  333. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatNotebook.js +0 -70
  334. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSavingServiceImpl.js +0 -234
  335. package/vscode/src/vs/workbench/contrib/inlineChat/common/inlineChatServiceImpl.js +0 -31
  336. package/vscode/src/vs/workbench/contrib/interactive/browser/interactive.contribution.js +0 -737
  337. package/vscode/src/vs/workbench/contrib/interactive/browser/interactiveCommon.js +0 -6
  338. package/vscode/src/vs/workbench/contrib/interactive/browser/interactiveEditor.css.js +0 -4
  339. package/vscode/src/vs/workbench/contrib/interactive/browser/interactiveEditor.js +0 -600
  340. package/vscode/src/vs/workbench/contrib/interactive/browser/media/interactive.css.js +0 -4
  341. package/vscode/src/vs/workbench/contrib/issue/browser/issue.contribution.js +0 -27
  342. package/vscode/src/vs/workbench/contrib/issue/common/issue.contribution.js +0 -102
  343. package/vscode/src/vs/workbench/contrib/keybindings/browser/keybindings.contribution.js +0 -28
  344. package/vscode/src/vs/workbench/contrib/languageDetection/browser/languageDetection.contribution.js +0 -156
  345. package/vscode/src/vs/workbench/contrib/localHistory/browser/localHistory.contribution.js +0 -4
  346. package/vscode/src/vs/workbench/contrib/localHistory/browser/localHistory.js +0 -35
  347. package/vscode/src/vs/workbench/contrib/localHistory/browser/localHistoryCommands.js +0 -635
  348. package/vscode/src/vs/workbench/contrib/localHistory/browser/localHistoryFileSystemProvider.js +0 -87
  349. package/vscode/src/vs/workbench/contrib/localHistory/browser/localHistoryTimeline.js +0 -136
  350. package/vscode/src/vs/workbench/contrib/logs/common/logs.contribution.js +0 -225
  351. package/vscode/src/vs/workbench/contrib/markdown/browser/markdownSettingRenderer.js +0 -307
  352. package/vscode/src/vs/workbench/contrib/markers/browser/markers.contribution.js +0 -759
  353. package/vscode/src/vs/workbench/contrib/markers/browser/markersFileDecorations.js +0 -127
  354. package/vscode/src/vs/workbench/contrib/markers/browser/markersFilterOptions.js +0 -75
  355. package/vscode/src/vs/workbench/contrib/markers/browser/markersModel.js +0 -200
  356. package/vscode/src/vs/workbench/contrib/markers/browser/markersTable.js +0 -475
  357. package/vscode/src/vs/workbench/contrib/markers/browser/markersTreeViewer.js +0 -691
  358. package/vscode/src/vs/workbench/contrib/markers/browser/markersView.js +0 -900
  359. package/vscode/src/vs/workbench/contrib/markers/browser/markersViewActions.css.js +0 -4
  360. package/vscode/src/vs/workbench/contrib/markers/browser/markersViewActions.js +0 -132
  361. package/vscode/src/vs/workbench/contrib/markers/browser/media/markers.css.js +0 -4
  362. package/vscode/src/vs/workbench/contrib/markers/browser/messages.js +0 -301
  363. package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/actions.js +0 -108
  364. package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffEditor.contribution.js +0 -39
  365. package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffEditor.js +0 -117
  366. package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/scmMultiDiffSourceResolver.js +0 -146
  367. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/contributedStatusBarItemController.js +0 -107
  368. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/statusBarProviders.js +0 -172
  369. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/clipboard/notebookClipboard.js +0 -542
  370. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/debug/notebookBreakpoints.js +0 -105
  371. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/debug/notebookCellPausing.js +0 -66
  372. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/debug/notebookDebugDecorations.js +0 -163
  373. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/editorHint/emptyCellEditorHint.js +0 -65
  374. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/editorStatusBar/editorStatusBar.js +0 -318
  375. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/execute/executionEditorProgress.js +0 -70
  376. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/media/notebookFind.css.js +0 -4
  377. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFind.js +0 -167
  378. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/format/formatting.js +0 -207
  379. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/gettingStarted/notebookGettingStarted.js +0 -82
  380. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/kernelDetection/notebookKernelDetection.js +0 -81
  381. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/layout/layoutActions.js +0 -65
  382. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/marker/markerProvider.js +0 -100
  383. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/navigation/arrow.js +0 -391
  384. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariableCommands.js +0 -62
  385. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariableContextKeys.js +0 -3
  386. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariables.js +0 -95
  387. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesDataSource.js +0 -118
  388. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesTree.js +0 -58
  389. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesView.js +0 -148
  390. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/outline/notebookOutline.js +0 -654
  391. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/profile/notebookProfile.js +0 -75
  392. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/saveParticipants/saveParticipants.js +0 -515
  393. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/troubleshoot/layout.js +0 -157
  394. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/undoRedo/notebookUndoRedo.js +0 -55
  395. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/viewportWarmup/viewportWarmup.js +0 -93
  396. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/apiActions.js +0 -50
  397. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/cellChatActions.js +0 -651
  398. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/executeActions.js +0 -719
  399. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/insertCellActions.js +0 -349
  400. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/layoutActions.js +0 -314
  401. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/sectionActions.js +0 -197
  402. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffCellEditorOptions.js +0 -46
  403. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffComponents.js +0 -1295
  404. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffElementOutputs.js +0 -282
  405. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffElementViewModel.js +0 -561
  406. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffNestedCellViewModel.js +0 -113
  407. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/eventDispatcher.js +0 -37
  408. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiff.css.js +0 -4
  409. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffActions.js +0 -312
  410. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditor.js +0 -909
  411. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditorBrowser.js +0 -11
  412. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffList.js +0 -393
  413. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffOverviewRuler.js +0 -183
  414. package/vscode/src/vs/workbench/contrib/notebook/browser/notebook.contribution.js +0 -1185
  415. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibility.js +0 -157
  416. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookExtensionPoint.js +0 -449
  417. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookEditorServiceImpl.js +0 -190
  418. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookExecutionServiceImpl.js +0 -104
  419. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookExecutionStateServiceImpl.js +0 -508
  420. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookKernelHistoryServiceImpl.js +0 -128
  421. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookKernelServiceImpl.js +0 -339
  422. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookKeymapServiceImpl.js +0 -109
  423. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookLoggingServiceImpl.js +0 -26
  424. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookRendererMessagingServiceImpl.js +0 -63
  425. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookServiceImpl.js +0 -639
  426. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookWorkerServiceImpl.js +0 -198
  427. package/vscode/src/vs/workbench/contrib/notebook/common/model/cellEdit.js +0 -89
  428. package/vscode/src/vs/workbench/contrib/notebook/common/model/notebookTextModel.js +0 -1000
  429. package/vscode/src/vs/workbench/contrib/notebook/common/notebookDiffEditorInput.js +0 -101
  430. package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorModelResolverServiceImpl.js +0 -201
  431. package/vscode/src/vs/workbench/contrib/notebook/common/notebookOutputRenderer.js +0 -78
  432. package/vscode/src/vs/workbench/contrib/notebook/common/notebookProvider.js +0 -96
  433. package/vscode/src/vs/workbench/contrib/outline/browser/outline.contribution.js +0 -367
  434. package/vscode/src/vs/workbench/contrib/outline/browser/outlineActions.js +0 -172
  435. package/vscode/src/vs/workbench/contrib/outline/browser/outlinePane.css.js +0 -4
  436. package/vscode/src/vs/workbench/contrib/outline/browser/outlinePane.js +0 -316
  437. package/vscode/src/vs/workbench/contrib/outline/browser/outlineViewState.js +0 -66
  438. package/vscode/src/vs/workbench/contrib/output/browser/output.contribution.js +0 -613
  439. package/vscode/src/vs/workbench/contrib/output/browser/output.css.js +0 -4
  440. package/vscode/src/vs/workbench/contrib/output/browser/outputLinkProvider.js +0 -76
  441. package/vscode/src/vs/workbench/contrib/output/browser/outputServices.js +0 -200
  442. package/vscode/src/vs/workbench/contrib/output/browser/outputView.js +0 -224
  443. package/vscode/src/vs/workbench/contrib/performance/browser/inputLatencyContrib.js +0 -43
  444. package/vscode/src/vs/workbench/contrib/performance/browser/performance.contribution.js +0 -116
  445. package/vscode/src/vs/workbench/contrib/performance/browser/performance.web.contribution.js +0 -5
  446. package/vscode/src/vs/workbench/contrib/performance/browser/perfviewEditor.js +0 -340
  447. package/vscode/src/vs/workbench/contrib/performance/browser/startupTimings.js +0 -114
  448. package/vscode/src/vs/workbench/contrib/preferences/browser/keybindingsEditor.js +0 -1237
  449. package/vscode/src/vs/workbench/contrib/preferences/browser/keybindingsEditorContribution.js +0 -248
  450. package/vscode/src/vs/workbench/contrib/preferences/browser/media/keybindingsEditor.css.js +0 -4
  451. package/vscode/src/vs/workbench/contrib/preferences/browser/media/preferences.css.js +0 -4
  452. package/vscode/src/vs/workbench/contrib/preferences/browser/media/settingsEditor2.css.js +0 -4
  453. package/vscode/src/vs/workbench/contrib/preferences/browser/media/settingsWidgets.css.js +0 -4
  454. package/vscode/src/vs/workbench/contrib/preferences/browser/preferences.contribution.js +0 -1374
  455. package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesActions.js +0 -104
  456. package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesEditor.js +0 -47
  457. package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesRenderers.js +0 -784
  458. package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesSearch.js +0 -461
  459. package/vscode/src/vs/workbench/contrib/preferences/browser/settingsEditor2.js +0 -1578
  460. package/vscode/src/vs/workbench/contrib/preferences/browser/settingsEditorSettingIndicators.js +0 -624
  461. package/vscode/src/vs/workbench/contrib/preferences/browser/settingsSearchMenu.js +0 -135
  462. package/vscode/src/vs/workbench/contrib/preferences/browser/settingsTree.js +0 -2122
  463. package/vscode/src/vs/workbench/contrib/preferences/browser/settingsWidgets.js +0 -1158
  464. package/vscode/src/vs/workbench/contrib/preferences/browser/tocTree.js +0 -217
  465. package/vscode/src/vs/workbench/contrib/preferences/common/preferencesContribution.js +0 -160
  466. package/vscode/src/vs/workbench/contrib/preferences/common/smartSnippetInserter.js +0 -124
  467. package/vscode/src/vs/workbench/contrib/quickaccess/browser/commandsQuickAccess.js +0 -293
  468. package/vscode/src/vs/workbench/contrib/quickaccess/browser/quickAccess.contribution.js +0 -167
  469. package/vscode/src/vs/workbench/contrib/quickaccess/browser/viewQuickAccess.js +0 -264
  470. package/vscode/src/vs/workbench/contrib/relauncher/browser/relauncher.contribution.js +0 -206
  471. package/vscode/src/vs/workbench/contrib/remote/browser/explorerViewItems.js +0 -133
  472. package/vscode/src/vs/workbench/contrib/remote/browser/media/remoteViewlet.css.js +0 -4
  473. package/vscode/src/vs/workbench/contrib/remote/browser/remote.contribution.js +0 -18
  474. package/vscode/src/vs/workbench/contrib/remote/browser/remote.js +0 -829
  475. package/vscode/src/vs/workbench/contrib/remote/browser/remoteConnectionHealth.js +0 -164
  476. package/vscode/src/vs/workbench/contrib/remote/browser/remoteIndicator.js +0 -800
  477. package/vscode/src/vs/workbench/contrib/remote/browser/remoteStartEntry.contribution.js +0 -5
  478. package/vscode/src/vs/workbench/contrib/remote/browser/remoteStartEntry.js +0 -95
  479. package/vscode/src/vs/workbench/contrib/remote/browser/showCandidate.js +0 -33
  480. package/vscode/src/vs/workbench/contrib/remote/browser/tunnelFactory.js +0 -108
  481. package/vscode/src/vs/workbench/contrib/remote/common/remote.contribution.js +0 -513
  482. package/vscode/src/vs/workbench/contrib/scm/browser/activity.js +0 -306
  483. package/vscode/src/vs/workbench/contrib/scm/browser/media/scm.css.js +0 -4
  484. package/vscode/src/vs/workbench/contrib/scm/browser/menus.js +0 -278
  485. package/vscode/src/vs/workbench/contrib/scm/browser/scm.contribution.js +0 -701
  486. package/vscode/src/vs/workbench/contrib/scm/browser/scmRepositoriesViewPane.js +0 -172
  487. package/vscode/src/vs/workbench/contrib/scm/browser/scmRepositoryRenderer.js +0 -134
  488. package/vscode/src/vs/workbench/contrib/scm/browser/scmViewPane.js +0 -3365
  489. package/vscode/src/vs/workbench/contrib/scm/browser/scmViewPaneContainer.js +0 -52
  490. package/vscode/src/vs/workbench/contrib/scm/browser/scmViewService.js +0 -303
  491. package/vscode/src/vs/workbench/contrib/scm/browser/util.js +0 -119
  492. package/vscode/src/vs/workbench/contrib/scm/common/quickDiffService.js +0 -74
  493. package/vscode/src/vs/workbench/contrib/scm/common/scmService.js +0 -310
  494. package/vscode/src/vs/workbench/contrib/search/browser/anythingQuickAccess.js +0 -794
  495. package/vscode/src/vs/workbench/contrib/search/browser/media/anythingQuickAccess.css.js +0 -4
  496. package/vscode/src/vs/workbench/contrib/search/browser/media/searchview.css.js +0 -4
  497. package/vscode/src/vs/workbench/contrib/search/browser/patternInputWidget.js +0 -232
  498. package/vscode/src/vs/workbench/contrib/search/browser/quickTextSearch/textSearchQuickAccess.js +0 -339
  499. package/vscode/src/vs/workbench/contrib/search/browser/replaceContributions.js +0 -7
  500. package/vscode/src/vs/workbench/contrib/search/browser/replaceService.js +0 -230
  501. package/vscode/src/vs/workbench/contrib/search/browser/search.contribution.js +0 -646
  502. package/vscode/src/vs/workbench/contrib/search/browser/searchActionsCopy.js +0 -207
  503. package/vscode/src/vs/workbench/contrib/search/browser/searchActionsNav.js +0 -510
  504. package/vscode/src/vs/workbench/contrib/search/browser/searchActionsRemoveReplace.js +0 -372
  505. package/vscode/src/vs/workbench/contrib/search/browser/searchActionsSymbol.js +0 -42
  506. package/vscode/src/vs/workbench/contrib/search/browser/searchActionsTextQuickAccess.js +0 -43
  507. package/vscode/src/vs/workbench/contrib/search/browser/searchActionsTopBar.js +0 -322
  508. package/vscode/src/vs/workbench/contrib/search/browser/searchFindInput.js +0 -101
  509. package/vscode/src/vs/workbench/contrib/search/browser/searchIcons.js +0 -104
  510. package/vscode/src/vs/workbench/contrib/search/browser/searchMessage.js +0 -64
  511. package/vscode/src/vs/workbench/contrib/search/browser/searchResultsView.js +0 -435
  512. package/vscode/src/vs/workbench/contrib/search/browser/searchView.js +0 -2175
  513. package/vscode/src/vs/workbench/contrib/search/browser/searchWidget.js +0 -672
  514. package/vscode/src/vs/workbench/contrib/search/browser/symbolsQuickAccess.js +0 -232
  515. package/vscode/src/vs/workbench/contrib/search/common/cacheState.js +0 -85
  516. package/vscode/src/vs/workbench/contrib/searchEditor/browser/media/searchEditor.css.js +0 -4
  517. package/vscode/src/vs/workbench/contrib/searchEditor/browser/searchEditor.contribution.js +0 -585
  518. package/vscode/src/vs/workbench/contrib/searchEditor/browser/searchEditor.js +0 -758
  519. package/vscode/src/vs/workbench/contrib/searchEditor/browser/searchEditorActions.js +0 -187
  520. package/vscode/src/vs/workbench/contrib/searchEditor/browser/searchEditorInput.js +0 -318
  521. package/vscode/src/vs/workbench/contrib/searchEditor/browser/searchEditorModel.js +0 -136
  522. package/vscode/src/vs/workbench/contrib/searchEditor/browser/searchEditorSerialization.js +0 -291
  523. package/vscode/src/vs/workbench/contrib/share/browser/share.contribution.js +0 -167
  524. package/vscode/src/vs/workbench/contrib/share/browser/share.css.js +0 -4
  525. package/vscode/src/vs/workbench/contrib/share/browser/shareService.js +0 -70
  526. package/vscode/src/vs/workbench/contrib/snippets/browser/commands/configureSnippets.js +0 -331
  527. package/vscode/src/vs/workbench/contrib/snippets/browser/commands/insertSnippet.js +0 -127
  528. package/vscode/src/vs/workbench/contrib/snippets/browser/commands/surroundWithSnippet.js +0 -57
  529. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCodeActionProvider.js +0 -154
  530. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetPicker.js +0 -111
  531. package/vscode/src/vs/workbench/contrib/snippets/browser/snippets.contribution.js +0 -141
  532. package/vscode/src/vs/workbench/contrib/speech/browser/speechService.js +0 -271
  533. package/vscode/src/vs/workbench/contrib/surveys/browser/ces.contribution.js +0 -137
  534. package/vscode/src/vs/workbench/contrib/surveys/browser/languageSurveys.contribution.js +0 -50
  535. package/vscode/src/vs/workbench/contrib/surveys/browser/nps.contribution.js +0 -92
  536. package/vscode/src/vs/workbench/contrib/tasks/browser/abstractTaskService.js +0 -3857
  537. package/vscode/src/vs/workbench/contrib/tasks/browser/runAutomaticTasks.js +0 -183
  538. package/vscode/src/vs/workbench/contrib/tasks/browser/task.contribution.js +0 -682
  539. package/vscode/src/vs/workbench/contrib/tasks/browser/taskQuickPick.js +0 -450
  540. package/vscode/src/vs/workbench/contrib/tasks/browser/taskService.js +0 -36
  541. package/vscode/src/vs/workbench/contrib/tasks/browser/taskTerminalStatus.js +0 -189
  542. package/vscode/src/vs/workbench/contrib/tasks/browser/tasksQuickAccess.js +0 -119
  543. package/vscode/src/vs/workbench/contrib/tasks/browser/terminalTaskSystem.js +0 -1711
  544. package/vscode/src/vs/workbench/contrib/tasks/common/jsonSchemaCommon.js +0 -437
  545. package/vscode/src/vs/workbench/contrib/tasks/common/jsonSchema_v1.js +0 -123
  546. package/vscode/src/vs/workbench/contrib/tasks/common/jsonSchema_v2.js +0 -899
  547. package/vscode/src/vs/workbench/contrib/tasks/common/problemCollectors.js +0 -463
  548. package/vscode/src/vs/workbench/contrib/tasks/common/problemMatcher.js +0 -1794
  549. package/vscode/src/vs/workbench/contrib/tasks/common/taskConfiguration.js +0 -1579
  550. package/vscode/src/vs/workbench/contrib/tasks/common/taskSystem.js +0 -14
  551. package/vscode/src/vs/workbench/contrib/tasks/common/taskTemplates.js +0 -143
  552. package/vscode/src/vs/workbench/contrib/terminal/browser/baseTerminalBackend.js +0 -114
  553. package/vscode/src/vs/workbench/contrib/terminal/browser/environmentVariableInfo.js +0 -133
  554. package/vscode/src/vs/workbench/contrib/terminal/browser/media/scrollbar.css.js +0 -4
  555. package/vscode/src/vs/workbench/contrib/terminal/browser/media/terminal.css.js +0 -4
  556. package/vscode/src/vs/workbench/contrib/terminal/browser/media/terminalVoice.css.js +0 -4
  557. package/vscode/src/vs/workbench/contrib/terminal/browser/media/widgets.css.js +0 -4
  558. package/vscode/src/vs/workbench/contrib/terminal/browser/media/xterm.css.js +0 -4
  559. package/vscode/src/vs/workbench/contrib/terminal/browser/remotePty.js +0 -91
  560. package/vscode/src/vs/workbench/contrib/terminal/browser/remoteTerminalBackend.js +0 -312
  561. package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.contribution.js +0 -267
  562. package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.web.contribution.js +0 -11
  563. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalActions.js +0 -2070
  564. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalCommands.js +0 -22
  565. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalConfigHelper.js +0 -221
  566. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalContextMenu.js +0 -40
  567. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalEditor.js +0 -193
  568. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalEditorSerializer.js +0 -40
  569. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalEditorService.js +0 -239
  570. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalEscapeSequences.js +0 -12
  571. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalGroup.js +0 -501
  572. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalGroupService.js +0 -368
  573. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalInstance.js +0 -2180
  574. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalInstanceService.js +0 -81
  575. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalMainContribution.js +0 -94
  576. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalMenus.js +0 -840
  577. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalProcessManager.js +0 -619
  578. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalProfileQuickpick.js +0 -312
  579. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalProfileResolverService.js +0 -285
  580. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalProfileService.js +0 -225
  581. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalQuickAccess.js +0 -155
  582. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalRunRecentQuickPick.js +0 -335
  583. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalService.js +0 -1156
  584. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalStatusList.js +0 -121
  585. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalTabbedView.js +0 -439
  586. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalTabsList.js +0 -690
  587. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalTooltip.js +0 -84
  588. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalUri.js +0 -39
  589. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalView.js +0 -628
  590. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalVoice.js +0 -199
  591. package/vscode/src/vs/workbench/contrib/terminal/browser/widgets/terminalHoverWidget.js +0 -91
  592. package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/lineDataEventAddon.js +0 -56
  593. package/vscode/src/vs/workbench/contrib/terminal/common/basePty.js +0 -91
  594. package/vscode/src/vs/workbench/contrib/terminal/common/environmentVariableService.js +0 -96
  595. package/vscode/src/vs/workbench/contrib/terminal/common/history.js +0 -375
  596. package/vscode/src/vs/workbench/contrib/terminal/common/remote/remoteTerminalChannel.js +0 -253
  597. package/vscode/src/vs/workbench/contrib/terminal/common/terminalClipboard.js +0 -98
  598. package/vscode/src/vs/workbench/contrib/terminal/common/terminalConfiguration.js +0 -1351
  599. package/vscode/src/vs/workbench/contrib/terminal/common/terminalEnvironment.js +0 -282
  600. package/vscode/src/vs/workbench/contrib/terminal/common/terminalStrings.js +0 -145
  601. package/vscode/src/vs/workbench/contrib/terminalContrib/accessibility/browser/bufferContentTracker.js +0 -112
  602. package/vscode/src/vs/workbench/contrib/terminalContrib/accessibility/browser/terminal.accessibility.contribution.js +0 -389
  603. package/vscode/src/vs/workbench/contrib/terminalContrib/accessibility/browser/terminalAccessibilityHelp.js +0 -190
  604. package/vscode/src/vs/workbench/contrib/terminalContrib/accessibility/browser/terminalAccessibleBufferProvider.js +0 -102
  605. package/vscode/src/vs/workbench/contrib/terminalContrib/accessibility/browser/textAreaSyncAddon.js +0 -106
  606. package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/media/terminalChatWidget.css.js +0 -4
  607. package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminal.chat.contribution.js +0 -9
  608. package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChat.js +0 -84
  609. package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatAccessibilityHelp.js +0 -125
  610. package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatAccessibleView.js +0 -31
  611. package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatActions.js +0 -344
  612. package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatController.js +0 -335
  613. package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatWidget.js +0 -154
  614. package/vscode/src/vs/workbench/contrib/terminalContrib/developer/browser/media/developer.css.js +0 -4
  615. package/vscode/src/vs/workbench/contrib/terminalContrib/developer/browser/terminal.developer.contribution.js +0 -237
  616. package/vscode/src/vs/workbench/contrib/terminalContrib/environmentChanges/browser/terminal.environmentChanges.contribution.js +0 -114
  617. package/vscode/src/vs/workbench/contrib/terminalContrib/find/browser/terminal.find.contribution.js +0 -264
  618. package/vscode/src/vs/workbench/contrib/terminalContrib/find/browser/terminalFindWidget.js +0 -165
  619. package/vscode/src/vs/workbench/contrib/terminalContrib/find/browser/textInputContextMenu.js +0 -61
  620. package/vscode/src/vs/workbench/contrib/terminalContrib/highlight/browser/terminal.highlight.contribution.js +0 -36
  621. package/vscode/src/vs/workbench/contrib/terminalContrib/links/browser/terminal.links.contribution.js +0 -132
  622. package/vscode/src/vs/workbench/contrib/terminalContrib/links/browser/terminalExternalLinkDetector.js +0 -38
  623. package/vscode/src/vs/workbench/contrib/terminalContrib/links/browser/terminalLink.js +0 -120
  624. package/vscode/src/vs/workbench/contrib/terminalContrib/links/browser/terminalLinkDetectorAdapter.js +0 -108
  625. package/vscode/src/vs/workbench/contrib/terminalContrib/links/browser/terminalLinkHelpers.js +0 -175
  626. package/vscode/src/vs/workbench/contrib/terminalContrib/links/browser/terminalLinkManager.js +0 -394
  627. package/vscode/src/vs/workbench/contrib/terminalContrib/links/browser/terminalLinkOpeners.js +0 -240
  628. package/vscode/src/vs/workbench/contrib/terminalContrib/links/browser/terminalLinkParsing.js +0 -206
  629. package/vscode/src/vs/workbench/contrib/terminalContrib/links/browser/terminalLinkQuickpick.js +0 -264
  630. package/vscode/src/vs/workbench/contrib/terminalContrib/links/browser/terminalLinkResolver.js +0 -141
  631. package/vscode/src/vs/workbench/contrib/terminalContrib/links/browser/terminalLocalLinkDetector.js +0 -220
  632. package/vscode/src/vs/workbench/contrib/terminalContrib/links/browser/terminalMultiLineLinkDetector.js +0 -182
  633. package/vscode/src/vs/workbench/contrib/terminalContrib/links/browser/terminalUriLinkDetector.js +0 -119
  634. package/vscode/src/vs/workbench/contrib/terminalContrib/links/browser/terminalWordLinkDetector.js +0 -94
  635. package/vscode/src/vs/workbench/contrib/terminalContrib/quickFix/browser/media/terminalQuickFix.css.js +0 -4
  636. package/vscode/src/vs/workbench/contrib/terminalContrib/quickFix/browser/quickFixAddon.js +0 -451
  637. package/vscode/src/vs/workbench/contrib/terminalContrib/quickFix/browser/terminal.quickFix.contribution.js +0 -61
  638. package/vscode/src/vs/workbench/contrib/terminalContrib/quickFix/browser/terminalQuickFixBuiltinActions.js +0 -323
  639. package/vscode/src/vs/workbench/contrib/terminalContrib/quickFix/browser/terminalQuickFixService.js +0 -168
  640. package/vscode/src/vs/workbench/contrib/terminalContrib/stickyScroll/browser/media/stickyScroll.css.js +0 -4
  641. package/vscode/src/vs/workbench/contrib/terminalContrib/stickyScroll/browser/terminal.stickyScroll.contribution.js +0 -5
  642. package/vscode/src/vs/workbench/contrib/terminalContrib/stickyScroll/browser/terminalStickyScrollColorRegistry.js +0 -35
  643. package/vscode/src/vs/workbench/contrib/terminalContrib/stickyScroll/browser/terminalStickyScrollContribution.js +0 -91
  644. package/vscode/src/vs/workbench/contrib/terminalContrib/stickyScroll/browser/terminalStickyScrollOverlay.js +0 -379
  645. package/vscode/src/vs/workbench/contrib/terminalContrib/suggest/browser/terminal.suggest.contribution.js +0 -181
  646. package/vscode/src/vs/workbench/contrib/terminalContrib/suggest/browser/terminalSuggestAddon.js +0 -406
  647. package/vscode/src/vs/workbench/contrib/terminalContrib/typeAhead/browser/terminal.typeAhead.contribution.js +0 -54
  648. package/vscode/src/vs/workbench/contrib/terminalContrib/typeAhead/browser/terminalTypeAheadAddon.js +0 -1047
  649. package/vscode/src/vs/workbench/contrib/terminalContrib/zoom/browser/terminal.zoom.contribution.js +0 -130
  650. package/vscode/src/vs/workbench/contrib/testing/browser/codeCoverageDecorations.js +0 -589
  651. package/vscode/src/vs/workbench/contrib/testing/browser/explorerProjections/display.js +0 -2
  652. package/vscode/src/vs/workbench/contrib/testing/browser/explorerProjections/index.js +0 -81
  653. package/vscode/src/vs/workbench/contrib/testing/browser/explorerProjections/listProjection.js +0 -184
  654. package/vscode/src/vs/workbench/contrib/testing/browser/explorerProjections/testItemContextOverlay.js +0 -16
  655. package/vscode/src/vs/workbench/contrib/testing/browser/explorerProjections/testingObjectTree.js +0 -44
  656. package/vscode/src/vs/workbench/contrib/testing/browser/explorerProjections/testingViewState.js +0 -15
  657. package/vscode/src/vs/workbench/contrib/testing/browser/explorerProjections/treeProjection.js +0 -222
  658. package/vscode/src/vs/workbench/contrib/testing/browser/icons.js +0 -182
  659. package/vscode/src/vs/workbench/contrib/testing/browser/media/testMessageColorizer.css.js +0 -4
  660. package/vscode/src/vs/workbench/contrib/testing/browser/media/testing.css.js +0 -4
  661. package/vscode/src/vs/workbench/contrib/testing/browser/testCoverageBars.js +0 -238
  662. package/vscode/src/vs/workbench/contrib/testing/browser/testCoverageView.js +0 -562
  663. package/vscode/src/vs/workbench/contrib/testing/browser/testExplorerActions.js +0 -1671
  664. package/vscode/src/vs/workbench/contrib/testing/browser/testMessageColorizer.js +0 -71
  665. package/vscode/src/vs/workbench/contrib/testing/browser/testing.contribution.js +0 -224
  666. package/vscode/src/vs/workbench/contrib/testing/browser/testingConfigurationUi.js +0 -119
  667. package/vscode/src/vs/workbench/contrib/testing/browser/testingDecorations.js +0 -968
  668. package/vscode/src/vs/workbench/contrib/testing/browser/testingExplorerFilter.js +0 -234
  669. package/vscode/src/vs/workbench/contrib/testing/browser/testingExplorerView.js +0 -1239
  670. package/vscode/src/vs/workbench/contrib/testing/browser/testingOutputPeek.css.js +0 -4
  671. package/vscode/src/vs/workbench/contrib/testing/browser/testingOutputPeek.js +0 -2108
  672. package/vscode/src/vs/workbench/contrib/testing/browser/testingProgressUiService.js +0 -140
  673. package/vscode/src/vs/workbench/contrib/testing/browser/testingViewPaneContainer.js +0 -45
  674. package/vscode/src/vs/workbench/contrib/testing/browser/theme.js +0 -335
  675. package/vscode/src/vs/workbench/contrib/testing/common/configuration.js +0 -274
  676. package/vscode/src/vs/workbench/contrib/testing/common/constants.js +0 -57
  677. package/vscode/src/vs/workbench/contrib/testing/common/mainThreadTestCollection.js +0 -127
  678. package/vscode/src/vs/workbench/contrib/testing/common/observableUtils.js +0 -19
  679. package/vscode/src/vs/workbench/contrib/testing/common/testExclusions.js +0 -46
  680. package/vscode/src/vs/workbench/contrib/testing/common/testServiceImpl.js +0 -294
  681. package/vscode/src/vs/workbench/contrib/testing/common/testingContentProvider.js +0 -123
  682. package/vscode/src/vs/workbench/contrib/testing/common/testingUri.js +0 -65
  683. package/vscode/src/vs/workbench/contrib/themes/browser/themes.contribution.js +0 -955
  684. package/vscode/src/vs/workbench/contrib/timeline/browser/media/timelinePane.css.js +0 -4
  685. package/vscode/src/vs/workbench/contrib/timeline/browser/timeline.contribution.js +0 -118
  686. package/vscode/src/vs/workbench/contrib/timeline/browser/timelinePane.js +0 -1161
  687. package/vscode/src/vs/workbench/contrib/timeline/common/timelineService.js +0 -106
  688. package/vscode/src/vs/workbench/contrib/update/browser/media/releasenoteseditor.css.js +0 -4
  689. package/vscode/src/vs/workbench/contrib/update/browser/releaseNotesEditor.js +0 -411
  690. package/vscode/src/vs/workbench/contrib/update/browser/update.contribution.js +0 -252
  691. package/vscode/src/vs/workbench/contrib/update/browser/update.js +0 -676
  692. package/vscode/src/vs/workbench/contrib/url/browser/externalUriResolver.js +0 -26
  693. package/vscode/src/vs/workbench/contrib/url/browser/trustedDomains.js +0 -198
  694. package/vscode/src/vs/workbench/contrib/url/browser/trustedDomainsFileSystemProvider.js +0 -135
  695. package/vscode/src/vs/workbench/contrib/url/browser/trustedDomainsValidator.js +0 -203
  696. package/vscode/src/vs/workbench/contrib/url/browser/url.contribution.js +0 -66
  697. package/vscode/src/vs/workbench/contrib/userDataSync/browser/userDataSync.contribution.js +0 -110
  698. package/vscode/src/vs/workbench/contrib/userDataSync/browser/userDataSync.js +0 -1466
  699. package/vscode/src/vs/workbench/contrib/userDataSync/browser/userDataSyncConflictsView.js +0 -223
  700. package/vscode/src/vs/workbench/contrib/userDataSync/browser/userDataSyncTrigger.js +0 -59
  701. package/vscode/src/vs/workbench/contrib/userDataSync/browser/userDataSyncViews.js +0 -858
  702. package/vscode/src/vs/workbench/contrib/welcomeBanner/browser/welcomeBanner.contribution.js +0 -45
  703. package/vscode/src/vs/workbench/contrib/welcomeDialog/browser/media/welcomeWidget.css.js +0 -4
  704. package/vscode/src/vs/workbench/contrib/welcomeDialog/browser/welcomeDialog.contribution.js +0 -102
  705. package/vscode/src/vs/workbench/contrib/welcomeDialog/browser/welcomeWidget.js +0 -187
  706. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.contribution.js +0 -380
  707. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.js +0 -1526
  708. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedColors.js +0 -47
  709. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedDetailsRenderer.js +0 -261
  710. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedIcons.js +0 -14
  711. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedInput.js +0 -51
  712. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedList.js +0 -95
  713. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/media/gettingStarted.css.js +0 -4
  714. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/startupPage.js +0 -216
  715. package/vscode/src/vs/workbench/contrib/welcomeViews/common/newFile.contribution.js +0 -237
  716. package/vscode/src/vs/workbench/contrib/welcomeViews/common/viewsWelcome.contribution.js +0 -18
  717. package/vscode/src/vs/workbench/contrib/welcomeViews/common/viewsWelcomeContribution.js +0 -73
  718. package/vscode/src/vs/workbench/contrib/welcomeViews/common/viewsWelcomeExtensionPoint.js +0 -97
  719. package/vscode/src/vs/workbench/contrib/welcomeWalkthrough/browser/editor/editorWalkThrough.js +0 -61
  720. package/vscode/src/vs/workbench/contrib/welcomeWalkthrough/browser/media/walkThroughPart.css.js +0 -4
  721. package/vscode/src/vs/workbench/contrib/welcomeWalkthrough/browser/walkThrough.contribution.js +0 -38
  722. package/vscode/src/vs/workbench/contrib/welcomeWalkthrough/browser/walkThroughActions.js +0 -57
  723. package/vscode/src/vs/workbench/contrib/welcomeWalkthrough/browser/walkThroughInput.js +0 -113
  724. package/vscode/src/vs/workbench/contrib/welcomeWalkthrough/browser/walkThroughPart.js +0 -429
  725. package/vscode/src/vs/workbench/contrib/welcomeWalkthrough/common/walkThroughContentProvider.js +0 -74
  726. package/vscode/src/vs/workbench/contrib/welcomeWalkthrough/common/walkThroughUtils.js +0 -18
  727. package/vscode/src/vs/workbench/contrib/workspace/browser/media/workspaceTrustEditor.css.js +0 -4
  728. package/vscode/src/vs/workbench/contrib/workspace/browser/workspace.contribution.js +0 -976
  729. package/vscode/src/vs/workbench/contrib/workspace/browser/workspaceTrustEditor.js +0 -1243
  730. package/vscode/src/vs/workbench/contrib/workspaces/browser/workspaces.contribution.js +0 -132
  731. package/vscode/src/vs/workbench/services/actions/common/menusExtensionPoint.js +0 -1595
  732. package/vscode/src/vs/workbench/services/aiRelatedInformation/common/aiRelatedInformationService.js +0 -82
  733. package/vscode/src/vs/workbench/services/authentication/browser/authenticationExtensionsService.js +0 -369
  734. package/vscode/src/vs/workbench/services/commands/common/commandService.js +0 -77
  735. package/vscode/src/vs/workbench/services/configuration/browser/configuration.js +0 -850
  736. package/vscode/src/vs/workbench/services/configuration/browser/configurationService.js +0 -1199
  737. package/vscode/src/vs/workbench/services/configuration/common/configurationEditing.js +0 -666
  738. package/vscode/src/vs/workbench/services/configuration/common/configurationModels.js +0 -119
  739. package/vscode/src/vs/workbench/services/configuration/common/jsonEditingService.js +0 -120
  740. package/vscode/src/vs/workbench/services/configurationResolver/browser/baseConfigurationResolverService.js +0 -309
  741. package/vscode/src/vs/workbench/services/configurationResolver/browser/configurationResolverService.js +0 -27
  742. package/vscode/src/vs/workbench/services/decorations/browser/decorationsService.js +0 -330
  743. package/vscode/src/vs/workbench/services/dialogs/browser/abstractFileDialogService.js +0 -377
  744. package/vscode/src/vs/workbench/services/dialogs/browser/simpleFileDialog.js +0 -1037
  745. package/vscode/src/vs/workbench/services/dialogs/common/dialogService.js +0 -70
  746. package/vscode/src/vs/workbench/services/extensionManagement/browser/extensionEnablementService.js +0 -638
  747. package/vscode/src/vs/workbench/services/extensionManagement/browser/extensionsProfileScannerService.js +0 -22
  748. package/vscode/src/vs/workbench/services/extensionManagement/browser/webExtensionsScannerService.js +0 -892
  749. package/vscode/src/vs/workbench/services/extensionManagement/common/extensionFeaturesManagemetService.js +0 -232
  750. package/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagementChannelClient.js +0 -107
  751. package/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagementServerService.js +0 -61
  752. package/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagementService.js +0 -1043
  753. package/vscode/src/vs/workbench/services/extensionManagement/common/remoteExtensionManagementService.js +0 -56
  754. package/vscode/src/vs/workbench/services/extensionManagement/common/webExtensionManagementService.js +0 -279
  755. package/vscode/src/vs/workbench/services/extensionRecommendations/common/extensionIgnoredRecommendationsService.js +0 -82
  756. package/vscode/src/vs/workbench/services/extensions/browser/extensionService.js +0 -283
  757. package/vscode/src/vs/workbench/services/extensions/browser/extensionsScannerService.js +0 -31
  758. package/vscode/src/vs/workbench/services/extensions/browser/webWorkerExtensionHost.js +0 -274
  759. package/vscode/src/vs/workbench/services/extensions/browser/webWorkerFileSystemProvider.js +0 -50
  760. package/vscode/src/vs/workbench/services/extensions/common/abstractExtensionService.js +0 -1147
  761. package/vscode/src/vs/workbench/services/extensions/common/extHostCustomers.js +0 -40
  762. package/vscode/src/vs/workbench/services/extensions/common/extensionDevOptions.js +0 -23
  763. package/vscode/src/vs/workbench/services/extensions/common/extensionHostManager.js +0 -510
  764. package/vscode/src/vs/workbench/services/extensions/common/extensionRunningLocationTracker.js +0 -272
  765. package/vscode/src/vs/workbench/services/extensions/common/extensionStorageMigration.js +0 -56
  766. package/vscode/src/vs/workbench/services/extensions/common/extensionsProposedApi.js +0 -78
  767. package/vscode/src/vs/workbench/services/extensions/common/extensionsUtil.js +0 -62
  768. package/vscode/src/vs/workbench/services/extensions/common/lazyCreateExtensionHostManager.js +0 -159
  769. package/vscode/src/vs/workbench/services/extensions/common/remoteConsoleUtil.js +0 -47
  770. package/vscode/src/vs/workbench/services/extensions/common/remoteExtensionHost.js +0 -220
  771. package/vscode/src/vs/workbench/services/host/browser/browserHostService.js +0 -428
  772. package/vscode/src/vs/workbench/services/issue/browser/issueService.js +0 -97
  773. package/vscode/src/vs/workbench/services/keybinding/browser/keybindingService.js +0 -945
  774. package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayoutService.js +0 -500
  775. package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayouts/_.contribution.js +0 -13
  776. package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayouts/cz.win.js +0 -162
  777. package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayouts/de-swiss.win.js +0 -162
  778. package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayouts/de.darwin.js +0 -125
  779. package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayouts/de.linux.js +0 -180
  780. package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayouts/de.win.js +0 -162
  781. package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayouts/dk.win.js +0 -162
  782. package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayouts/dvorak.darwin.js +0 -125
  783. package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayouts/en-belgian.win.js +0 -162
  784. package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayouts/en-ext.darwin.js +0 -125
  785. package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayouts/en-in.win.js +0 -162
  786. package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayouts/en-intl.darwin.js +0 -125
  787. package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayouts/en-intl.win.js +0 -162
  788. package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayouts/en-uk.darwin.js +0 -125
  789. package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayouts/en-uk.win.js +0 -162
  790. package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayouts/en.darwin.js +0 -133
  791. package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayouts/en.linux.js +0 -182
  792. package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayouts/en.win.js +0 -167
  793. package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayouts/es-latin.win.js +0 -162
  794. package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayouts/es.darwin.js +0 -125
  795. package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayouts/es.linux.js +0 -180
  796. package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayouts/es.win.js +0 -162
  797. package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayouts/fr.darwin.js +0 -125
  798. package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayouts/fr.linux.js +0 -180
  799. package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayouts/fr.win.js +0 -162
  800. package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayouts/hu.win.js +0 -162
  801. package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayouts/it.darwin.js +0 -125
  802. package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayouts/it.win.js +0 -162
  803. package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayouts/jp-roman.darwin.js +0 -125
  804. package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayouts/jp.darwin.js +0 -125
  805. package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayouts/ko.darwin.js +0 -125
  806. package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayouts/layout.contribution.darwin.js +0 -17
  807. package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayouts/layout.contribution.linux.js +0 -6
  808. package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayouts/layout.contribution.win.js +0 -23
  809. package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayouts/no.win.js +0 -162
  810. package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayouts/pl.darwin.js +0 -125
  811. package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayouts/pl.win.js +0 -162
  812. package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayouts/pt-br.win.js +0 -162
  813. package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayouts/pt.darwin.js +0 -125
  814. package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayouts/pt.win.js +0 -162
  815. package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayouts/ru.darwin.js +0 -125
  816. package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayouts/ru.linux.js +0 -180
  817. package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayouts/ru.win.js +0 -162
  818. package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayouts/sv.win.js +0 -164
  819. package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayouts/thai.win.js +0 -162
  820. package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayouts/tr.win.js +0 -162
  821. package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayouts/zh-hans.darwin.js +0 -125
  822. package/vscode/src/vs/workbench/services/keybinding/common/keybindingIO.js +0 -72
  823. package/vscode/src/vs/workbench/services/keybinding/common/keymapInfo.js +0 -108
  824. package/vscode/src/vs/workbench/services/keybinding/common/macLinuxKeyboardMapper.js +0 -886
  825. package/vscode/src/vs/workbench/services/keybinding/common/windowsKeyboardMapper.js +0 -350
  826. package/vscode/src/vs/workbench/services/label/common/labelService.js +0 -435
  827. package/vscode/src/vs/workbench/services/languageDetection/browser/languageDetectionWorkerServiceImpl.js +0 -259
  828. package/vscode/src/vs/workbench/services/lifecycle/browser/lifecycleService.js +0 -135
  829. package/vscode/src/vs/workbench/services/notification/common/notificationService.js +0 -251
  830. package/vscode/src/vs/workbench/services/preferences/browser/preferencesService.js +0 -551
  831. package/vscode/src/vs/workbench/services/quickinput/browser/quickInputService.js +0 -37
  832. package/vscode/src/vs/workbench/services/remote/browser/browserRemoteResourceHandler.js +0 -47
  833. package/vscode/src/vs/workbench/services/remote/browser/remoteAgentService.js +0 -76
  834. package/vscode/src/vs/workbench/services/remote/common/abstractRemoteAgentService.js +0 -177
  835. package/vscode/src/vs/workbench/services/remote/common/remoteAgentEnvironmentChannel.js +0 -52
  836. package/vscode/src/vs/workbench/services/remote/common/remoteExtensionsScanner.js +0 -71
  837. package/vscode/src/vs/workbench/services/request/browser/requestService.js +0 -48
  838. package/vscode/src/vs/workbench/services/search/common/searchService.js +0 -414
  839. package/vscode/src/vs/workbench/services/storage/browser/storageService.js +0 -290
  840. package/vscode/src/vs/workbench/services/suggest/browser/media/suggest.css.js +0 -4
  841. package/vscode/src/vs/workbench/services/suggest/browser/simpleCompletionItem.js +0 -9
  842. package/vscode/src/vs/workbench/services/suggest/browser/simpleCompletionModel.js +0 -97
  843. package/vscode/src/vs/workbench/services/suggest/browser/simpleSuggestWidget.js +0 -428
  844. package/vscode/src/vs/workbench/services/suggest/browser/simpleSuggestWidgetRenderer.js +0 -83
  845. package/vscode/src/vs/workbench/services/textMate/browser/arrayOperation.js +0 -62
  846. package/vscode/src/vs/workbench/services/textMate/browser/backgroundTokenization/textMateWorkerTokenizerController.js +0 -160
  847. package/vscode/src/vs/workbench/services/textMate/browser/backgroundTokenization/threadedBackgroundTokenizerFactory.js +0 -200
  848. package/vscode/src/vs/workbench/services/textMate/browser/textMateTokenizationFeatureImpl.js +0 -482
  849. package/vscode/src/vs/workbench/services/textMate/browser/tokenizationSupport/textMateTokenizationSupport.js +0 -72
  850. package/vscode/src/vs/workbench/services/textMate/browser/tokenizationSupport/tokenizationSupportWithLineLimit.js +0 -39
  851. package/vscode/src/vs/workbench/services/textMate/common/TMGrammarFactory.js +0 -118
  852. package/vscode/src/vs/workbench/services/textMate/common/TMScopeRegistry.js +0 -15
  853. package/vscode/src/vs/workbench/services/textfile/browser/browserTextFileService.js +0 -57
  854. package/vscode/src/vs/workbench/services/textfile/browser/textFileService.js +0 -652
  855. package/vscode/src/vs/workbench/services/textfile/common/textFileEditorModelManager.js +0 -402
  856. package/vscode/src/vs/workbench/services/textfile/common/textFileSaveParticipant.js +0 -62
  857. package/vscode/src/vs/workbench/services/textmodelResolver/common/textModelResolverService.js +0 -191
  858. package/vscode/src/vs/workbench/services/textresourceProperties/common/textResourcePropertiesService.js +0 -44
  859. package/vscode/src/vs/workbench/services/themes/browser/fileIconThemeData.js +0 -372
  860. package/vscode/src/vs/workbench/services/themes/browser/productIconThemeData.js +0 -305
  861. package/vscode/src/vs/workbench/services/themes/browser/workbenchThemeService.js +0 -768
  862. package/vscode/src/vs/workbench/services/themes/common/colorThemeData.js +0 -886
  863. package/vscode/src/vs/workbench/services/themes/common/colorThemeSchema.js +0 -309
  864. package/vscode/src/vs/workbench/services/themes/common/fileIconThemeSchema.js +0 -432
  865. package/vscode/src/vs/workbench/services/themes/common/plistParser.js +0 -439
  866. package/vscode/src/vs/workbench/services/themes/common/productIconThemeSchema.js +0 -114
  867. package/vscode/src/vs/workbench/services/themes/common/textMateScopeMatcher.js +0 -120
  868. package/vscode/src/vs/workbench/services/themes/common/themeCompatibility.js +0 -76
  869. package/vscode/src/vs/workbench/services/themes/common/themeConfiguration.js +0 -469
  870. package/vscode/src/vs/workbench/services/themes/common/themeExtensionPoints.js +0 -340
  871. package/vscode/src/vs/workbench/services/tunnel/browser/tunnelService.js +0 -34
  872. package/vscode/src/vs/workbench/services/url/browser/urlService.js +0 -48
  873. package/vscode/src/vs/workbench/services/userDataProfile/browser/extensionsResource.js +0 -340
  874. package/vscode/src/vs/workbench/services/userDataProfile/browser/globalStateResource.js +0 -145
  875. package/vscode/src/vs/workbench/services/userDataProfile/browser/iconSelectBox.js +0 -96
  876. package/vscode/src/vs/workbench/services/userDataProfile/browser/keybindingsResource.js +0 -117
  877. package/vscode/src/vs/workbench/services/userDataProfile/browser/media/userDataProfileView.css.js +0 -4
  878. package/vscode/src/vs/workbench/services/userDataProfile/browser/settingsResource.js +0 -138
  879. package/vscode/src/vs/workbench/services/userDataProfile/browser/snippetsResource.js +0 -153
  880. package/vscode/src/vs/workbench/services/userDataProfile/browser/tasksResource.js +0 -116
  881. package/vscode/src/vs/workbench/services/userDataProfile/browser/userDataProfileImportExportService.js +0 -1752
  882. package/vscode/src/vs/workbench/services/userDataProfile/browser/userDataProfileInit.js +0 -148
  883. package/vscode/src/vs/workbench/services/userDataProfile/browser/userDataProfileManagement.js +0 -188
  884. package/vscode/src/vs/workbench/services/userDataSync/browser/userDataSyncInit.js +0 -445
  885. package/vscode/src/vs/workbench/services/userDataSync/browser/userDataSyncWorkbenchService.js +0 -786
  886. package/vscode/src/vs/workbench/services/userDataSync/common/userDataSyncUtil.js +0 -46
  887. package/vscode/src/vs/workbench/services/workingCopy/browser/workingCopyBackupService.js +0 -23
  888. package/vscode/src/vs/workbench/services/workingCopy/browser/workingCopyBackupTracker.js +0 -43
  889. package/vscode/src/vs/workbench/services/workingCopy/browser/workingCopyHistoryService.js +0 -28
  890. package/vscode/src/vs/workbench/services/workingCopy/common/abstractFileWorkingCopyManager.js +0 -87
  891. package/vscode/src/vs/workbench/services/workingCopy/common/fileWorkingCopyManager.js +0 -384
  892. package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopyManager.js +0 -406
  893. package/vscode/src/vs/workbench/services/workingCopy/common/untitledFileWorkingCopy.js +0 -142
  894. package/vscode/src/vs/workbench/services/workingCopy/common/untitledFileWorkingCopyManager.js +0 -127
  895. package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyBackupService.js +0 -452
  896. package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyBackupTracker.js +0 -253
  897. package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyHistoryService.js +0 -616
  898. package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyHistoryTracker.js +0 -162
  899. package/vscode/src/vs/workbench/services/workspaces/browser/abstractWorkspaceEditingService.js +0 -335
  900. package/vscode/src/vs/workbench/services/workspaces/browser/workspaceTrustEditorInput.js +0 -41
  901. package/vscode/src/vs/workbench/services/workspaces/browser/workspacesService.js +0 -151
  902. package/vscode/src/vs/workbench/services/workspaces/common/editSessionIdentityService.js +0 -60
@@ -1,1579 +0,0 @@
1
- import { localizeWithPath } from '../../../../nls.js';
2
- import { deepClone } from '../../../../base/common/objects.js';
3
- import { isString, isUndefined, isBoolean, isStringArray } from '../../../../base/common/types.js';
4
- import { generateUuid } from '../../../../base/common/uuid.js';
5
- import { ProblemMatcherParser, isNamedProblemMatcher, ProblemMatcherRegistry } from './problemMatcher.js';
6
- import { TaskGroup, ExecutionEngine as ExecutionEngine$1, CommandString, CustomTask as CustomTask$1, CUSTOMIZED_TASK_TYPE, TaskSourceKind, RunOnOptions as RunOnOptions$1, RevealKind, RevealProblemKind, PanelKind, RuntimeType, TaskDefinition, ConfiguringTask as ConfiguringTask$1, ShellQuoting, USER_TASKS_GROUP_KEY } from './tasks.js';
7
- import { TaskDefinitionRegistry } from './taskDefinitionRegistry.js';
8
- import { ShellExecutionSupportedContext, ProcessExecutionSupportedContext } from './taskService.js';
9
- var ITaskIdentifier;
10
- ( (function(ITaskIdentifier) {
11
- function is(value) {
12
- const candidate = value;
13
- return candidate !== undefined && isString(value.type);
14
- }
15
- ITaskIdentifier.is = is;
16
- })(ITaskIdentifier || (ITaskIdentifier = {})));
17
- var ProblemMatcherKind;
18
- ( (function(ProblemMatcherKind) {
19
- ProblemMatcherKind[ProblemMatcherKind["Unknown"] = 0] = "Unknown";
20
- ProblemMatcherKind[ProblemMatcherKind["String"] = 1] = "String";
21
- ProblemMatcherKind[ProblemMatcherKind["ProblemMatcher"] = 2] = "ProblemMatcher";
22
- ProblemMatcherKind[ProblemMatcherKind["Array"] = 3] = "Array";
23
- })(ProblemMatcherKind || (ProblemMatcherKind = {})));
24
- const EMPTY_ARRAY = [];
25
- function assignProperty(target, source, key) {
26
- const sourceAtKey = source[key];
27
- if (sourceAtKey !== undefined) {
28
- target[key] = sourceAtKey;
29
- }
30
- }
31
- function fillProperty(target, source, key) {
32
- const sourceAtKey = source[key];
33
- if (target[key] === undefined && sourceAtKey !== undefined) {
34
- target[key] = sourceAtKey;
35
- }
36
- }
37
- function _isEmpty(value, properties, allowEmptyArray = false) {
38
- if (value === undefined || value === null || properties === undefined) {
39
- return true;
40
- }
41
- for (const meta of properties) {
42
- const property = value[meta.property];
43
- if (property !== undefined && property !== null) {
44
- if (meta.type !== undefined && !meta.type.isEmpty(property)) {
45
- return false;
46
- }
47
- else if (!Array.isArray(property) || (property.length > 0) || allowEmptyArray) {
48
- return false;
49
- }
50
- }
51
- }
52
- return true;
53
- }
54
- function _assignProperties(target, source, properties) {
55
- if (!source || _isEmpty(source, properties)) {
56
- return target;
57
- }
58
- if (!target || _isEmpty(target, properties)) {
59
- return source;
60
- }
61
- for (const meta of properties) {
62
- const property = meta.property;
63
- let value;
64
- if (meta.type !== undefined) {
65
- value = meta.type.assignProperties(target[property], source[property]);
66
- }
67
- else {
68
- value = source[property];
69
- }
70
- if (value !== undefined && value !== null) {
71
- target[property] = value;
72
- }
73
- }
74
- return target;
75
- }
76
- function _fillProperties(target, source, properties, allowEmptyArray = false) {
77
- if (!source || _isEmpty(source, properties)) {
78
- return target;
79
- }
80
- if (!target || _isEmpty(target, properties, allowEmptyArray)) {
81
- return source;
82
- }
83
- for (const meta of properties) {
84
- const property = meta.property;
85
- let value;
86
- if (meta.type) {
87
- value = meta.type.fillProperties(target[property], source[property]);
88
- }
89
- else if (target[property] === undefined) {
90
- value = source[property];
91
- }
92
- if (value !== undefined && value !== null) {
93
- target[property] = value;
94
- }
95
- }
96
- return target;
97
- }
98
- function _fillDefaults(target, defaults, properties, context) {
99
- if (target && Object.isFrozen(target)) {
100
- return target;
101
- }
102
- if (target === undefined || target === null || defaults === undefined || defaults === null) {
103
- if (defaults !== undefined && defaults !== null) {
104
- return deepClone(defaults);
105
- }
106
- else {
107
- return undefined;
108
- }
109
- }
110
- for (const meta of properties) {
111
- const property = meta.property;
112
- if (target[property] !== undefined) {
113
- continue;
114
- }
115
- let value;
116
- if (meta.type) {
117
- value = meta.type.fillDefaults(target[property], context);
118
- }
119
- else {
120
- value = defaults[property];
121
- }
122
- if (value !== undefined && value !== null) {
123
- target[property] = value;
124
- }
125
- }
126
- return target;
127
- }
128
- function _freeze(target, properties) {
129
- if (target === undefined || target === null) {
130
- return undefined;
131
- }
132
- if (Object.isFrozen(target)) {
133
- return target;
134
- }
135
- for (const meta of properties) {
136
- if (meta.type) {
137
- const value = target[meta.property];
138
- if (value) {
139
- meta.type.freeze(value);
140
- }
141
- }
142
- }
143
- return target;
144
- }
145
- var RunOnOptions;
146
- ( (function(RunOnOptions) {
147
- function fromString(value) {
148
- if (!value) {
149
- return RunOnOptions$1.default;
150
- }
151
- switch (value.toLowerCase()) {
152
- case 'folderopen':
153
- return RunOnOptions$1.folderOpen;
154
- case 'default':
155
- default:
156
- return RunOnOptions$1.default;
157
- }
158
- }
159
- RunOnOptions.fromString = fromString;
160
- })(RunOnOptions || (RunOnOptions = {})));
161
- var RunOptions;
162
- ( (function(RunOptions) {
163
- const properties = [{ property: 'reevaluateOnRerun' }, { property: 'runOn' }, { property: 'instanceLimit' }];
164
- function fromConfiguration(value) {
165
- return {
166
- reevaluateOnRerun: value ? value.reevaluateOnRerun : true,
167
- runOn: value ? RunOnOptions.fromString(value.runOn) : RunOnOptions$1.default,
168
- instanceLimit: value ? value.instanceLimit : 1
169
- };
170
- }
171
- RunOptions.fromConfiguration = fromConfiguration;
172
- function assignProperties(target, source) {
173
- return _assignProperties(target, source, properties);
174
- }
175
- RunOptions.assignProperties = assignProperties;
176
- function fillProperties(target, source) {
177
- return _fillProperties(target, source, properties);
178
- }
179
- RunOptions.fillProperties = fillProperties;
180
- })(RunOptions || (RunOptions = {})));
181
- var ShellConfiguration;
182
- ( (function(ShellConfiguration) {
183
- const properties = [{ property: 'executable' }, { property: 'args' }, { property: 'quoting' }];
184
- function is(value) {
185
- const candidate = value;
186
- return candidate && (isString(candidate.executable) || isStringArray(candidate.args));
187
- }
188
- ShellConfiguration.is = is;
189
- function from(config, context) {
190
- if (!is(config)) {
191
- return undefined;
192
- }
193
- const result = {};
194
- if (config.executable !== undefined) {
195
- result.executable = config.executable;
196
- }
197
- if (config.args !== undefined) {
198
- result.args = config.args.slice();
199
- }
200
- if (config.quoting !== undefined) {
201
- result.quoting = deepClone(config.quoting);
202
- }
203
- return result;
204
- }
205
- ShellConfiguration.from = from;
206
- function isEmpty(value) {
207
- return _isEmpty(value, properties, true);
208
- }
209
- ShellConfiguration.isEmpty = isEmpty;
210
- function assignProperties(target, source) {
211
- return _assignProperties(target, source, properties);
212
- }
213
- ShellConfiguration.assignProperties = assignProperties;
214
- function fillProperties(target, source) {
215
- return _fillProperties(target, source, properties, true);
216
- }
217
- ShellConfiguration.fillProperties = fillProperties;
218
- function fillDefaults(value, context) {
219
- return value;
220
- }
221
- ShellConfiguration.fillDefaults = fillDefaults;
222
- function freeze(value) {
223
- if (!value) {
224
- return undefined;
225
- }
226
- return ( Object.freeze(value));
227
- }
228
- ShellConfiguration.freeze = freeze;
229
- })(ShellConfiguration || (ShellConfiguration = {})));
230
- var CommandOptions;
231
- ( (function(CommandOptions) {
232
- const properties = [{ property: 'cwd' }, { property: 'env' }, { property: 'shell', type: ShellConfiguration }];
233
- const defaults = { cwd: '${workspaceFolder}' };
234
- function from(options, context) {
235
- const result = {};
236
- if (options.cwd !== undefined) {
237
- if (isString(options.cwd)) {
238
- result.cwd = options.cwd;
239
- }
240
- else {
241
- context.taskLoadIssues.push(( localizeWithPath(
242
- 'vs/workbench/contrib/tasks/common/taskConfiguration',
243
- 'ConfigurationParser.invalidCWD',
244
- 'Warning: options.cwd must be of type string. Ignoring value {0}\n',
245
- options.cwd
246
- )));
247
- }
248
- }
249
- if (options.env !== undefined) {
250
- result.env = deepClone(options.env);
251
- }
252
- result.shell = ShellConfiguration.from(options.shell, context);
253
- return isEmpty(result) ? undefined : result;
254
- }
255
- CommandOptions.from = from;
256
- function isEmpty(value) {
257
- return _isEmpty(value, properties);
258
- }
259
- CommandOptions.isEmpty = isEmpty;
260
- function assignProperties(target, source) {
261
- if ((source === undefined) || isEmpty(source)) {
262
- return target;
263
- }
264
- if ((target === undefined) || isEmpty(target)) {
265
- return source;
266
- }
267
- assignProperty(target, source, 'cwd');
268
- if (target.env === undefined) {
269
- target.env = source.env;
270
- }
271
- else if (source.env !== undefined) {
272
- const env = Object.create(null);
273
- if (target.env !== undefined) {
274
- ( Object.keys(target.env)).forEach(key => env[key] = target.env[key]);
275
- }
276
- if (source.env !== undefined) {
277
- ( Object.keys(source.env)).forEach(key => env[key] = source.env[key]);
278
- }
279
- target.env = env;
280
- }
281
- target.shell = ShellConfiguration.assignProperties(target.shell, source.shell);
282
- return target;
283
- }
284
- CommandOptions.assignProperties = assignProperties;
285
- function fillProperties(target, source) {
286
- return _fillProperties(target, source, properties);
287
- }
288
- CommandOptions.fillProperties = fillProperties;
289
- function fillDefaults(value, context) {
290
- return _fillDefaults(value, defaults, properties, context);
291
- }
292
- CommandOptions.fillDefaults = fillDefaults;
293
- function freeze(value) {
294
- return _freeze(value, properties);
295
- }
296
- CommandOptions.freeze = freeze;
297
- })(CommandOptions || (CommandOptions = {})));
298
- var CommandConfiguration;
299
- ( (function(CommandConfiguration) {
300
- let PresentationOptions;
301
- ( (function(PresentationOptions) {
302
- const properties = [{ property: 'echo' }, { property: 'reveal' }, { property: 'revealProblems' }, { property: 'focus' }, { property: 'panel' }, { property: 'showReuseMessage' }, { property: 'clear' }, { property: 'group' }, { property: 'close' }];
303
- function from(config, context) {
304
- let echo;
305
- let reveal;
306
- let revealProblems;
307
- let focus;
308
- let panel;
309
- let showReuseMessage;
310
- let clear;
311
- let group;
312
- let close;
313
- let hasProps = false;
314
- if (isBoolean(config.echoCommand)) {
315
- echo = config.echoCommand;
316
- hasProps = true;
317
- }
318
- if (isString(config.showOutput)) {
319
- reveal = RevealKind.fromString(config.showOutput);
320
- hasProps = true;
321
- }
322
- const presentation = config.presentation || config.terminal;
323
- if (presentation) {
324
- if (isBoolean(presentation.echo)) {
325
- echo = presentation.echo;
326
- }
327
- if (isString(presentation.reveal)) {
328
- reveal = RevealKind.fromString(presentation.reveal);
329
- }
330
- if (isString(presentation.revealProblems)) {
331
- revealProblems = RevealProblemKind.fromString(presentation.revealProblems);
332
- }
333
- if (isBoolean(presentation.focus)) {
334
- focus = presentation.focus;
335
- }
336
- if (isString(presentation.panel)) {
337
- panel = PanelKind.fromString(presentation.panel);
338
- }
339
- if (isBoolean(presentation.showReuseMessage)) {
340
- showReuseMessage = presentation.showReuseMessage;
341
- }
342
- if (isBoolean(presentation.clear)) {
343
- clear = presentation.clear;
344
- }
345
- if (isString(presentation.group)) {
346
- group = presentation.group;
347
- }
348
- if (isBoolean(presentation.close)) {
349
- close = presentation.close;
350
- }
351
- hasProps = true;
352
- }
353
- if (!hasProps) {
354
- return undefined;
355
- }
356
- return { echo: echo, reveal: reveal, revealProblems: revealProblems, focus: focus, panel: panel, showReuseMessage: showReuseMessage, clear: clear, group, close: close };
357
- }
358
- PresentationOptions.from = from;
359
- function assignProperties(target, source) {
360
- return _assignProperties(target, source, properties);
361
- }
362
- PresentationOptions.assignProperties = assignProperties;
363
- function fillProperties(target, source) {
364
- return _fillProperties(target, source, properties);
365
- }
366
- PresentationOptions.fillProperties = fillProperties;
367
- function fillDefaults(value, context) {
368
- const defaultEcho = context.engine === ExecutionEngine$1.Terminal ? true : false;
369
- return _fillDefaults(value, { echo: defaultEcho, reveal: RevealKind.Always, revealProblems: RevealProblemKind.Never, focus: false, panel: PanelKind.Shared, showReuseMessage: true, clear: false }, properties, context);
370
- }
371
- PresentationOptions.fillDefaults = fillDefaults;
372
- function freeze(value) {
373
- return _freeze(value, properties);
374
- }
375
- PresentationOptions.freeze = freeze;
376
- function isEmpty(value) {
377
- return _isEmpty(value, properties);
378
- }
379
- PresentationOptions.isEmpty = isEmpty;
380
- })(
381
- PresentationOptions = CommandConfiguration.PresentationOptions || (CommandConfiguration.PresentationOptions = {})
382
- ));
383
- let ShellString;
384
- ( (function(ShellString) {
385
- function from(value) {
386
- if (value === undefined || value === null) {
387
- return undefined;
388
- }
389
- if (isString(value)) {
390
- return value;
391
- }
392
- else if (isStringArray(value)) {
393
- return value.join(' ');
394
- }
395
- else {
396
- const quoting = ShellQuoting.from(value.quoting);
397
- const result = isString(value.value) ? value.value : isStringArray(value.value) ? value.value.join(' ') : undefined;
398
- if (result) {
399
- return {
400
- value: result,
401
- quoting: quoting
402
- };
403
- }
404
- else {
405
- return undefined;
406
- }
407
- }
408
- }
409
- ShellString.from = from;
410
- })(ShellString || (ShellString = {})));
411
- const properties = [
412
- { property: 'runtime' }, { property: 'name' }, { property: 'options', type: CommandOptions },
413
- { property: 'args' }, { property: 'taskSelector' }, { property: 'suppressTaskName' },
414
- { property: 'presentation', type: PresentationOptions }
415
- ];
416
- function from(config, context) {
417
- let result = fromBase(config, context);
418
- let osConfig = undefined;
419
- if (config.windows && context.platform === 3 ) {
420
- osConfig = fromBase(config.windows, context);
421
- }
422
- else if (config.osx && context.platform === 1 ) {
423
- osConfig = fromBase(config.osx, context);
424
- }
425
- else if (config.linux && context.platform === 2 ) {
426
- osConfig = fromBase(config.linux, context);
427
- }
428
- if (osConfig) {
429
- result = assignProperties(result, osConfig, context.schemaVersion === 2 );
430
- }
431
- return isEmpty(result) ? undefined : result;
432
- }
433
- CommandConfiguration.from = from;
434
- function fromBase(config, context) {
435
- const name = ShellString.from(config.command);
436
- let runtime;
437
- if (isString(config.type)) {
438
- if (config.type === 'shell' || config.type === 'process') {
439
- runtime = RuntimeType.fromString(config.type);
440
- }
441
- }
442
- const isShellConfiguration = ShellConfiguration.is(config.isShellCommand);
443
- if (isBoolean(config.isShellCommand) || isShellConfiguration) {
444
- runtime = RuntimeType.Shell;
445
- }
446
- else if (config.isShellCommand !== undefined) {
447
- runtime = !!config.isShellCommand ? RuntimeType.Shell : RuntimeType.Process;
448
- }
449
- const result = {
450
- name: name,
451
- runtime: runtime,
452
- presentation: PresentationOptions.from(config, context)
453
- };
454
- if (config.args !== undefined) {
455
- result.args = [];
456
- for (const arg of config.args) {
457
- const converted = ShellString.from(arg);
458
- if (converted !== undefined) {
459
- result.args.push(converted);
460
- }
461
- else {
462
- context.taskLoadIssues.push(( localizeWithPath(
463
- 'vs/workbench/contrib/tasks/common/taskConfiguration',
464
- 'ConfigurationParser.inValidArg',
465
- 'Error: command argument must either be a string or a quoted string. Provided value is:\n{0}',
466
- arg ? JSON.stringify(arg, undefined, 4) : 'undefined'
467
- )));
468
- }
469
- }
470
- }
471
- if (config.options !== undefined) {
472
- result.options = CommandOptions.from(config.options, context);
473
- if (result.options && result.options.shell === undefined && isShellConfiguration) {
474
- result.options.shell = ShellConfiguration.from(config.isShellCommand, context);
475
- if (context.engine !== ExecutionEngine$1.Terminal) {
476
- context.taskLoadIssues.push(( localizeWithPath(
477
- 'vs/workbench/contrib/tasks/common/taskConfiguration',
478
- 'ConfigurationParser.noShell',
479
- 'Warning: shell configuration is only supported when executing tasks in the terminal.'
480
- )));
481
- }
482
- }
483
- }
484
- if (isString(config.taskSelector)) {
485
- result.taskSelector = config.taskSelector;
486
- }
487
- if (isBoolean(config.suppressTaskName)) {
488
- result.suppressTaskName = config.suppressTaskName;
489
- }
490
- return isEmpty(result) ? undefined : result;
491
- }
492
- function hasCommand(value) {
493
- return value && !!value.name;
494
- }
495
- CommandConfiguration.hasCommand = hasCommand;
496
- function isEmpty(value) {
497
- return _isEmpty(value, properties);
498
- }
499
- CommandConfiguration.isEmpty = isEmpty;
500
- function assignProperties(target, source, overwriteArgs) {
501
- if (isEmpty(source)) {
502
- return target;
503
- }
504
- if (isEmpty(target)) {
505
- return source;
506
- }
507
- assignProperty(target, source, 'name');
508
- assignProperty(target, source, 'runtime');
509
- assignProperty(target, source, 'taskSelector');
510
- assignProperty(target, source, 'suppressTaskName');
511
- if (source.args !== undefined) {
512
- if (target.args === undefined || overwriteArgs) {
513
- target.args = source.args;
514
- }
515
- else {
516
- target.args = target.args.concat(source.args);
517
- }
518
- }
519
- target.presentation = PresentationOptions.assignProperties(target.presentation, source.presentation);
520
- target.options = CommandOptions.assignProperties(target.options, source.options);
521
- return target;
522
- }
523
- CommandConfiguration.assignProperties = assignProperties;
524
- function fillProperties(target, source) {
525
- return _fillProperties(target, source, properties);
526
- }
527
- CommandConfiguration.fillProperties = fillProperties;
528
- function fillGlobals(target, source, taskName) {
529
- if ((source === undefined) || isEmpty(source)) {
530
- return target;
531
- }
532
- target = target || {
533
- name: undefined,
534
- runtime: undefined,
535
- presentation: undefined
536
- };
537
- if (target.name === undefined) {
538
- fillProperty(target, source, 'name');
539
- fillProperty(target, source, 'taskSelector');
540
- fillProperty(target, source, 'suppressTaskName');
541
- let args = source.args ? source.args.slice() : [];
542
- if (!target.suppressTaskName && taskName) {
543
- if (target.taskSelector !== undefined) {
544
- args.push(target.taskSelector + taskName);
545
- }
546
- else {
547
- args.push(taskName);
548
- }
549
- }
550
- if (target.args) {
551
- args = args.concat(target.args);
552
- }
553
- target.args = args;
554
- }
555
- fillProperty(target, source, 'runtime');
556
- target.presentation = PresentationOptions.fillProperties(target.presentation, source.presentation);
557
- target.options = CommandOptions.fillProperties(target.options, source.options);
558
- return target;
559
- }
560
- CommandConfiguration.fillGlobals = fillGlobals;
561
- function fillDefaults(value, context) {
562
- if (!value || Object.isFrozen(value)) {
563
- return;
564
- }
565
- if (value.name !== undefined && value.runtime === undefined) {
566
- value.runtime = RuntimeType.Process;
567
- }
568
- value.presentation = PresentationOptions.fillDefaults(value.presentation, context);
569
- if (!isEmpty(value)) {
570
- value.options = CommandOptions.fillDefaults(value.options, context);
571
- }
572
- if (value.args === undefined) {
573
- value.args = EMPTY_ARRAY;
574
- }
575
- if (value.suppressTaskName === undefined) {
576
- value.suppressTaskName = ((context.schemaVersion === 2) );
577
- }
578
- }
579
- CommandConfiguration.fillDefaults = fillDefaults;
580
- function freeze(value) {
581
- return _freeze(value, properties);
582
- }
583
- CommandConfiguration.freeze = freeze;
584
- })(CommandConfiguration || (CommandConfiguration = {})));
585
- var ProblemMatcherConverter;
586
- ( (function(ProblemMatcherConverter) {
587
- function namedFrom(declares, context) {
588
- const result = Object.create(null);
589
- if (!Array.isArray(declares)) {
590
- return result;
591
- }
592
- declares.forEach((value) => {
593
- const namedProblemMatcher = (( new ProblemMatcherParser(context.problemReporter))).parse(value);
594
- if (isNamedProblemMatcher(namedProblemMatcher)) {
595
- result[namedProblemMatcher.name] = namedProblemMatcher;
596
- }
597
- else {
598
- context.problemReporter.error(( localizeWithPath(
599
- 'vs/workbench/contrib/tasks/common/taskConfiguration',
600
- 'ConfigurationParser.noName',
601
- 'Error: Problem Matcher in declare scope must have a name:\n{0}\n',
602
- JSON.stringify(value, undefined, 4)
603
- )));
604
- }
605
- });
606
- return result;
607
- }
608
- ProblemMatcherConverter.namedFrom = namedFrom;
609
- function fromWithOsConfig(external, context) {
610
- let result = {};
611
- if (external.windows && external.windows.problemMatcher && context.platform === 3 ) {
612
- result = from(external.windows.problemMatcher, context);
613
- }
614
- else if (external.osx && external.osx.problemMatcher && context.platform === 1 ) {
615
- result = from(external.osx.problemMatcher, context);
616
- }
617
- else if (external.linux && external.linux.problemMatcher && context.platform === 2 ) {
618
- result = from(external.linux.problemMatcher, context);
619
- }
620
- else if (external.problemMatcher) {
621
- result = from(external.problemMatcher, context);
622
- }
623
- return result;
624
- }
625
- ProblemMatcherConverter.fromWithOsConfig = fromWithOsConfig;
626
- function from(config, context) {
627
- const result = [];
628
- if (config === undefined) {
629
- return { value: result };
630
- }
631
- const errors = [];
632
- function addResult(matcher) {
633
- if (matcher.value) {
634
- result.push(matcher.value);
635
- }
636
- if (matcher.errors) {
637
- errors.push(...matcher.errors);
638
- }
639
- }
640
- const kind = getProblemMatcherKind(config);
641
- if (kind === ProblemMatcherKind.Unknown) {
642
- const error = ( localizeWithPath(
643
- 'vs/workbench/contrib/tasks/common/taskConfiguration',
644
- 'ConfigurationParser.unknownMatcherKind',
645
- 'Warning: the defined problem matcher is unknown. Supported types are string | ProblemMatcher | Array<string | ProblemMatcher>.\n{0}\n',
646
- JSON.stringify(config, null, 4)
647
- ));
648
- context.problemReporter.warn(error);
649
- }
650
- else if (kind === ProblemMatcherKind.String || kind === ProblemMatcherKind.ProblemMatcher) {
651
- addResult(resolveProblemMatcher(config, context));
652
- }
653
- else if (kind === ProblemMatcherKind.Array) {
654
- const problemMatchers = config;
655
- problemMatchers.forEach(problemMatcher => {
656
- addResult(resolveProblemMatcher(problemMatcher, context));
657
- });
658
- }
659
- return { value: result, errors };
660
- }
661
- ProblemMatcherConverter.from = from;
662
- function getProblemMatcherKind(value) {
663
- if (isString(value)) {
664
- return ProblemMatcherKind.String;
665
- }
666
- else if (Array.isArray(value)) {
667
- return ProblemMatcherKind.Array;
668
- }
669
- else if (!isUndefined(value)) {
670
- return ProblemMatcherKind.ProblemMatcher;
671
- }
672
- else {
673
- return ProblemMatcherKind.Unknown;
674
- }
675
- }
676
- function resolveProblemMatcher(value, context) {
677
- if (isString(value)) {
678
- let variableName = value;
679
- if (variableName.length > 1 && variableName[0] === '$') {
680
- variableName = variableName.substring(1);
681
- const global = ProblemMatcherRegistry.get(variableName);
682
- if (global) {
683
- return { value: deepClone(global) };
684
- }
685
- let localProblemMatcher = context.namedProblemMatchers[variableName];
686
- if (localProblemMatcher) {
687
- localProblemMatcher = deepClone(localProblemMatcher);
688
- delete localProblemMatcher.name;
689
- return { value: localProblemMatcher };
690
- }
691
- }
692
- return { errors: [( localizeWithPath(
693
- 'vs/workbench/contrib/tasks/common/taskConfiguration',
694
- 'ConfigurationParser.invalidVariableReference',
695
- 'Error: Invalid problemMatcher reference: {0}\n',
696
- value
697
- ))] };
698
- }
699
- else {
700
- const json = value;
701
- return { value: ( new ProblemMatcherParser(context.problemReporter)).parse(json) };
702
- }
703
- }
704
- })(ProblemMatcherConverter || (ProblemMatcherConverter = {})));
705
- const partialSource = {
706
- label: 'Workspace',
707
- config: undefined
708
- };
709
- var GroupKind;
710
- ( (function(GroupKind) {
711
- function from(external) {
712
- if (external === undefined) {
713
- return undefined;
714
- }
715
- else if (isString(external) && TaskGroup.is(external)) {
716
- return { _id: external, isDefault: false };
717
- }
718
- else if (isString(external.kind) && TaskGroup.is(external.kind)) {
719
- const group = external.kind;
720
- const isDefault = isUndefined(external.isDefault) ? false : external.isDefault;
721
- return { _id: group, isDefault };
722
- }
723
- return undefined;
724
- }
725
- GroupKind.from = from;
726
- function to(group) {
727
- if (isString(group)) {
728
- return group;
729
- }
730
- else if (!group.isDefault) {
731
- return group._id;
732
- }
733
- return {
734
- kind: group._id,
735
- isDefault: group.isDefault,
736
- };
737
- }
738
- GroupKind.to = to;
739
- })(GroupKind || (GroupKind = {})));
740
- var TaskDependency;
741
- ( (function(TaskDependency) {
742
- function uriFromSource(context, source) {
743
- switch (source) {
744
- case TaskConfigSource.User: return USER_TASKS_GROUP_KEY;
745
- case TaskConfigSource.TasksJson: return context.workspaceFolder.uri;
746
- default: return context.workspace && context.workspace.configuration ? context.workspace.configuration : context.workspaceFolder.uri;
747
- }
748
- }
749
- function from(external, context, source) {
750
- if (isString(external)) {
751
- return { uri: uriFromSource(context, source), task: external };
752
- }
753
- else if (ITaskIdentifier.is(external)) {
754
- return {
755
- uri: uriFromSource(context, source),
756
- task: TaskDefinition.createTaskIdentifier(external, context.problemReporter)
757
- };
758
- }
759
- else {
760
- return undefined;
761
- }
762
- }
763
- TaskDependency.from = from;
764
- })(TaskDependency || (TaskDependency = {})));
765
- var DependsOrder;
766
- ( (function(DependsOrder) {
767
- function from(order) {
768
- switch (order) {
769
- case "sequence" :
770
- return "sequence" ;
771
- case "parallel" :
772
- default:
773
- return "parallel" ;
774
- }
775
- }
776
- DependsOrder.from = from;
777
- })(DependsOrder || (DependsOrder = {})));
778
- var ConfigurationProperties;
779
- ( (function(ConfigurationProperties) {
780
- const properties = [
781
- { property: 'name' },
782
- { property: 'identifier' },
783
- { property: 'group' },
784
- { property: 'isBackground' },
785
- { property: 'promptOnClose' },
786
- { property: 'dependsOn' },
787
- { property: 'presentation', type: CommandConfiguration.PresentationOptions },
788
- { property: 'problemMatchers' },
789
- { property: 'options' },
790
- { property: 'icon' },
791
- { property: 'hide' }
792
- ];
793
- function from(external, context, includeCommandOptions, source, properties) {
794
- if (!external) {
795
- return {};
796
- }
797
- const result = {};
798
- if (properties) {
799
- for (const propertyName of ( Object.keys(properties))) {
800
- if (external[propertyName] !== undefined) {
801
- result[propertyName] = deepClone(external[propertyName]);
802
- }
803
- }
804
- }
805
- if (isString(external.taskName)) {
806
- result.name = external.taskName;
807
- }
808
- if (isString(external.label) && context.schemaVersion === 2 ) {
809
- result.name = external.label;
810
- }
811
- if (isString(external.identifier)) {
812
- result.identifier = external.identifier;
813
- }
814
- result.icon = external.icon;
815
- result.hide = external.hide;
816
- if (external.isBackground !== undefined) {
817
- result.isBackground = !!external.isBackground;
818
- }
819
- if (external.promptOnClose !== undefined) {
820
- result.promptOnClose = !!external.promptOnClose;
821
- }
822
- result.group = GroupKind.from(external.group);
823
- if (external.dependsOn !== undefined) {
824
- if (Array.isArray(external.dependsOn)) {
825
- result.dependsOn = external.dependsOn.reduce((dependencies, item) => {
826
- const dependency = TaskDependency.from(item, context, source);
827
- if (dependency) {
828
- dependencies.push(dependency);
829
- }
830
- return dependencies;
831
- }, []);
832
- }
833
- else {
834
- const dependsOnValue = TaskDependency.from(external.dependsOn, context, source);
835
- result.dependsOn = dependsOnValue ? [dependsOnValue] : undefined;
836
- }
837
- }
838
- result.dependsOrder = DependsOrder.from(external.dependsOrder);
839
- if (includeCommandOptions && (external.presentation !== undefined || external.terminal !== undefined)) {
840
- result.presentation = CommandConfiguration.PresentationOptions.from(external, context);
841
- }
842
- if (includeCommandOptions && (external.options !== undefined)) {
843
- result.options = CommandOptions.from(external.options, context);
844
- }
845
- const configProblemMatcher = ProblemMatcherConverter.fromWithOsConfig(external, context);
846
- if (configProblemMatcher.value !== undefined) {
847
- result.problemMatchers = configProblemMatcher.value;
848
- }
849
- if (external.detail) {
850
- result.detail = external.detail;
851
- }
852
- return isEmpty(result) ? {} : { value: result, errors: configProblemMatcher.errors };
853
- }
854
- ConfigurationProperties.from = from;
855
- function isEmpty(value) {
856
- return _isEmpty(value, properties);
857
- }
858
- ConfigurationProperties.isEmpty = isEmpty;
859
- })(ConfigurationProperties || (ConfigurationProperties = {})));
860
- var ConfiguringTask;
861
- ( (function(ConfiguringTask) {
862
- const grunt = 'grunt.';
863
- const jake = 'jake.';
864
- const gulp = 'gulp.';
865
- const npm = 'vscode.npm.';
866
- const typescript = 'vscode.typescript.';
867
- function from(external, context, index, source, registry) {
868
- if (!external) {
869
- return undefined;
870
- }
871
- const type = external.type;
872
- const customize = external.customize;
873
- if (!type && !customize) {
874
- context.problemReporter.error(( localizeWithPath(
875
- 'vs/workbench/contrib/tasks/common/taskConfiguration',
876
- 'ConfigurationParser.noTaskType',
877
- 'Error: tasks configuration must have a type property. The configuration will be ignored.\n{0}\n',
878
- JSON.stringify(external, null, 4)
879
- )));
880
- return undefined;
881
- }
882
- const typeDeclaration = type ? registry?.get?.(type) || TaskDefinitionRegistry.get(type) : undefined;
883
- if (!typeDeclaration) {
884
- const message = ( localizeWithPath(
885
- 'vs/workbench/contrib/tasks/common/taskConfiguration',
886
- 'ConfigurationParser.noTypeDefinition',
887
- 'Error: there is no registered task type \'{0}\'. Did you miss installing an extension that provides a corresponding task provider?',
888
- type
889
- ));
890
- context.problemReporter.error(message);
891
- return undefined;
892
- }
893
- let identifier;
894
- if (isString(customize)) {
895
- if (customize.indexOf(grunt) === 0) {
896
- identifier = { type: 'grunt', task: customize.substring(grunt.length) };
897
- }
898
- else if (customize.indexOf(jake) === 0) {
899
- identifier = { type: 'jake', task: customize.substring(jake.length) };
900
- }
901
- else if (customize.indexOf(gulp) === 0) {
902
- identifier = { type: 'gulp', task: customize.substring(gulp.length) };
903
- }
904
- else if (customize.indexOf(npm) === 0) {
905
- identifier = { type: 'npm', script: customize.substring(npm.length + 4) };
906
- }
907
- else if (customize.indexOf(typescript) === 0) {
908
- identifier = { type: 'typescript', tsconfig: customize.substring(typescript.length + 6) };
909
- }
910
- }
911
- else {
912
- if (isString(external.type)) {
913
- identifier = external;
914
- }
915
- }
916
- if (identifier === undefined) {
917
- context.problemReporter.error(( localizeWithPath(
918
- 'vs/workbench/contrib/tasks/common/taskConfiguration',
919
- 'ConfigurationParser.missingType',
920
- 'Error: the task configuration \'{0}\' is missing the required property \'type\'. The task configuration will be ignored.',
921
- JSON.stringify(external, undefined, 0)
922
- )));
923
- return undefined;
924
- }
925
- const taskIdentifier = TaskDefinition.createTaskIdentifier(identifier, context.problemReporter);
926
- if (taskIdentifier === undefined) {
927
- context.problemReporter.error(( localizeWithPath(
928
- 'vs/workbench/contrib/tasks/common/taskConfiguration',
929
- 'ConfigurationParser.incorrectType',
930
- 'Error: the task configuration \'{0}\' is using an unknown type. The task configuration will be ignored.',
931
- JSON.stringify(external, undefined, 0)
932
- )));
933
- return undefined;
934
- }
935
- const configElement = {
936
- workspaceFolder: context.workspaceFolder,
937
- file: '.vscode/tasks.json',
938
- index,
939
- element: external
940
- };
941
- let taskSource;
942
- switch (source) {
943
- case TaskConfigSource.User: {
944
- taskSource = Object.assign({}, partialSource, { kind: TaskSourceKind.User, config: configElement });
945
- break;
946
- }
947
- case TaskConfigSource.WorkspaceFile: {
948
- taskSource = Object.assign({}, partialSource, { kind: TaskSourceKind.WorkspaceFile, config: configElement });
949
- break;
950
- }
951
- default: {
952
- taskSource = Object.assign({}, partialSource, { kind: TaskSourceKind.Workspace, config: configElement });
953
- break;
954
- }
955
- }
956
- const result = new ConfiguringTask$1(`${typeDeclaration.extensionId}.${taskIdentifier._key}`, taskSource, undefined, type, taskIdentifier, RunOptions.fromConfiguration(external.runOptions), { hide: external.hide });
957
- const configuration = ConfigurationProperties.from(external, context, true, source, typeDeclaration.properties);
958
- result.addTaskLoadMessages(configuration.errors);
959
- if (configuration.value) {
960
- result.configurationProperties = Object.assign(result.configurationProperties, configuration.value);
961
- if (result.configurationProperties.name) {
962
- result._label = result.configurationProperties.name;
963
- }
964
- else {
965
- let label = result.configures.type;
966
- if (typeDeclaration.required && typeDeclaration.required.length > 0) {
967
- for (const required of typeDeclaration.required) {
968
- const value = result.configures[required];
969
- if (value) {
970
- label = label + ': ' + value;
971
- break;
972
- }
973
- }
974
- }
975
- result._label = label;
976
- }
977
- if (!result.configurationProperties.identifier) {
978
- result.configurationProperties.identifier = taskIdentifier._key;
979
- }
980
- }
981
- return result;
982
- }
983
- ConfiguringTask.from = from;
984
- })(ConfiguringTask || (ConfiguringTask = {})));
985
- var CustomTask;
986
- ( (function(CustomTask) {
987
- function from(external, context, index, source) {
988
- if (!external) {
989
- return undefined;
990
- }
991
- let type = external.type;
992
- if (type === undefined || type === null) {
993
- type = CUSTOMIZED_TASK_TYPE;
994
- }
995
- if (type !== CUSTOMIZED_TASK_TYPE && type !== 'shell' && type !== 'process') {
996
- context.problemReporter.error(( localizeWithPath(
997
- 'vs/workbench/contrib/tasks/common/taskConfiguration',
998
- 'ConfigurationParser.notCustom',
999
- 'Error: tasks is not declared as a custom task. The configuration will be ignored.\n{0}\n',
1000
- JSON.stringify(external, null, 4)
1001
- )));
1002
- return undefined;
1003
- }
1004
- let taskName = external.taskName;
1005
- if (isString(external.label) && context.schemaVersion === 2 ) {
1006
- taskName = external.label;
1007
- }
1008
- if (!taskName) {
1009
- context.problemReporter.error(( localizeWithPath(
1010
- 'vs/workbench/contrib/tasks/common/taskConfiguration',
1011
- 'ConfigurationParser.noTaskName',
1012
- 'Error: a task must provide a label property. The task will be ignored.\n{0}\n',
1013
- JSON.stringify(external, null, 4)
1014
- )));
1015
- return undefined;
1016
- }
1017
- let taskSource;
1018
- switch (source) {
1019
- case TaskConfigSource.User: {
1020
- taskSource = Object.assign({}, partialSource, { kind: TaskSourceKind.User, config: { index, element: external, file: '.vscode/tasks.json', workspaceFolder: context.workspaceFolder } });
1021
- break;
1022
- }
1023
- case TaskConfigSource.WorkspaceFile: {
1024
- taskSource = Object.assign({}, partialSource, { kind: TaskSourceKind.WorkspaceFile, config: { index, element: external, file: '.vscode/tasks.json', workspaceFolder: context.workspaceFolder, workspace: context.workspace } });
1025
- break;
1026
- }
1027
- default: {
1028
- taskSource = Object.assign({}, partialSource, { kind: TaskSourceKind.Workspace, config: { index, element: external, file: '.vscode/tasks.json', workspaceFolder: context.workspaceFolder } });
1029
- break;
1030
- }
1031
- }
1032
- const result = new CustomTask$1(context.uuidMap.getUUID(taskName), taskSource, taskName, CUSTOMIZED_TASK_TYPE, undefined, false, RunOptions.fromConfiguration(external.runOptions), {
1033
- name: taskName,
1034
- identifier: taskName,
1035
- });
1036
- const configuration = ConfigurationProperties.from(external, context, false, source);
1037
- result.addTaskLoadMessages(configuration.errors);
1038
- if (configuration.value) {
1039
- result.configurationProperties = Object.assign(result.configurationProperties, configuration.value);
1040
- }
1041
- {
1042
- const legacy = external;
1043
- if (result.configurationProperties.isBackground === undefined && legacy.isWatching !== undefined) {
1044
- result.configurationProperties.isBackground = !!legacy.isWatching;
1045
- }
1046
- if (result.configurationProperties.group === undefined) {
1047
- if (legacy.isBuildCommand === true) {
1048
- result.configurationProperties.group = TaskGroup.Build;
1049
- }
1050
- else if (legacy.isTestCommand === true) {
1051
- result.configurationProperties.group = TaskGroup.Test;
1052
- }
1053
- }
1054
- }
1055
- const command = CommandConfiguration.from(external, context);
1056
- if (command) {
1057
- result.command = command;
1058
- }
1059
- if (external.command !== undefined) {
1060
- command.suppressTaskName = true;
1061
- }
1062
- return result;
1063
- }
1064
- CustomTask.from = from;
1065
- function fillGlobals(task, globals) {
1066
- if (CommandConfiguration.hasCommand(task.command) || task.configurationProperties.dependsOn === undefined) {
1067
- task.command = CommandConfiguration.fillGlobals(task.command, globals.command, task.configurationProperties.name);
1068
- }
1069
- if (task.configurationProperties.problemMatchers === undefined && globals.problemMatcher !== undefined) {
1070
- task.configurationProperties.problemMatchers = deepClone(globals.problemMatcher);
1071
- task.hasDefinedMatchers = true;
1072
- }
1073
- if (task.configurationProperties.promptOnClose === undefined && task.configurationProperties.isBackground === undefined && globals.promptOnClose !== undefined) {
1074
- task.configurationProperties.promptOnClose = globals.promptOnClose;
1075
- }
1076
- }
1077
- CustomTask.fillGlobals = fillGlobals;
1078
- function fillDefaults(task, context) {
1079
- CommandConfiguration.fillDefaults(task.command, context);
1080
- if (task.configurationProperties.promptOnClose === undefined) {
1081
- task.configurationProperties.promptOnClose = task.configurationProperties.isBackground !== undefined ? !task.configurationProperties.isBackground : true;
1082
- }
1083
- if (task.configurationProperties.isBackground === undefined) {
1084
- task.configurationProperties.isBackground = false;
1085
- }
1086
- if (task.configurationProperties.problemMatchers === undefined) {
1087
- task.configurationProperties.problemMatchers = EMPTY_ARRAY;
1088
- }
1089
- }
1090
- CustomTask.fillDefaults = fillDefaults;
1091
- function createCustomTask(contributedTask, configuredProps) {
1092
- const result = new CustomTask$1(configuredProps._id, Object.assign({}, configuredProps._source, { customizes: contributedTask.defines }), configuredProps.configurationProperties.name || contributedTask._label, CUSTOMIZED_TASK_TYPE, contributedTask.command, false, contributedTask.runOptions, {
1093
- name: configuredProps.configurationProperties.name || contributedTask.configurationProperties.name,
1094
- identifier: configuredProps.configurationProperties.identifier || contributedTask.configurationProperties.identifier,
1095
- icon: configuredProps.configurationProperties.icon,
1096
- hide: configuredProps.configurationProperties.hide
1097
- });
1098
- result.addTaskLoadMessages(configuredProps.taskLoadMessages);
1099
- const resultConfigProps = result.configurationProperties;
1100
- assignProperty(resultConfigProps, configuredProps.configurationProperties, 'group');
1101
- assignProperty(resultConfigProps, configuredProps.configurationProperties, 'isBackground');
1102
- assignProperty(resultConfigProps, configuredProps.configurationProperties, 'dependsOn');
1103
- assignProperty(resultConfigProps, configuredProps.configurationProperties, 'problemMatchers');
1104
- assignProperty(resultConfigProps, configuredProps.configurationProperties, 'promptOnClose');
1105
- assignProperty(resultConfigProps, configuredProps.configurationProperties, 'detail');
1106
- result.command.presentation = CommandConfiguration.PresentationOptions.assignProperties(result.command.presentation, configuredProps.configurationProperties.presentation);
1107
- result.command.options = CommandOptions.assignProperties(result.command.options, configuredProps.configurationProperties.options);
1108
- result.runOptions = RunOptions.assignProperties(result.runOptions, configuredProps.runOptions);
1109
- const contributedConfigProps = contributedTask.configurationProperties;
1110
- fillProperty(resultConfigProps, contributedConfigProps, 'group');
1111
- fillProperty(resultConfigProps, contributedConfigProps, 'isBackground');
1112
- fillProperty(resultConfigProps, contributedConfigProps, 'dependsOn');
1113
- fillProperty(resultConfigProps, contributedConfigProps, 'problemMatchers');
1114
- fillProperty(resultConfigProps, contributedConfigProps, 'promptOnClose');
1115
- fillProperty(resultConfigProps, contributedConfigProps, 'detail');
1116
- result.command.presentation = CommandConfiguration.PresentationOptions.fillProperties(result.command.presentation, contributedConfigProps.presentation);
1117
- result.command.options = CommandOptions.fillProperties(result.command.options, contributedConfigProps.options);
1118
- result.runOptions = RunOptions.fillProperties(result.runOptions, contributedTask.runOptions);
1119
- if (contributedTask.hasDefinedMatchers === true) {
1120
- result.hasDefinedMatchers = true;
1121
- }
1122
- return result;
1123
- }
1124
- CustomTask.createCustomTask = createCustomTask;
1125
- })(CustomTask || (CustomTask = {})));
1126
- var TaskParser;
1127
- ( (function(TaskParser) {
1128
- function isCustomTask(value) {
1129
- const type = value.type;
1130
- const customize = value.customize;
1131
- return customize === undefined && (type === undefined || type === null || type === CUSTOMIZED_TASK_TYPE || type === 'shell' || type === 'process');
1132
- }
1133
- const builtinTypeContextMap = {
1134
- shell: ShellExecutionSupportedContext,
1135
- process: ProcessExecutionSupportedContext
1136
- };
1137
- function from(externals, globals, context, source, registry) {
1138
- const result = { custom: [], configured: [] };
1139
- if (!externals) {
1140
- return result;
1141
- }
1142
- const defaultBuildTask = { task: undefined, rank: -1 };
1143
- const defaultTestTask = { task: undefined, rank: -1 };
1144
- const schema2_0_0 = context.schemaVersion === 2 ;
1145
- const baseLoadIssues = deepClone(context.taskLoadIssues);
1146
- for (let index = 0; index < externals.length; index++) {
1147
- const external = externals[index];
1148
- const definition = external.type ? registry?.get?.(external.type) || TaskDefinitionRegistry.get(external.type) : undefined;
1149
- let typeNotSupported = false;
1150
- if (definition && definition.when && !context.contextKeyService.contextMatchesRules(definition.when)) {
1151
- typeNotSupported = true;
1152
- }
1153
- else if (!definition && external.type) {
1154
- for (const key of ( Object.keys(builtinTypeContextMap))) {
1155
- if (external.type === key) {
1156
- typeNotSupported = !ShellExecutionSupportedContext.evaluate(context.contextKeyService.getContext(null));
1157
- break;
1158
- }
1159
- }
1160
- }
1161
- if (typeNotSupported) {
1162
- context.problemReporter.info(( localizeWithPath(
1163
- 'vs/workbench/contrib/tasks/common/taskConfiguration',
1164
- 'taskConfiguration.providerUnavailable',
1165
- 'Warning: {0} tasks are unavailable in the current environment.\n',
1166
- external.type
1167
- )));
1168
- continue;
1169
- }
1170
- if (isCustomTask(external)) {
1171
- const customTask = CustomTask.from(external, context, index, source);
1172
- if (customTask) {
1173
- CustomTask.fillGlobals(customTask, globals);
1174
- CustomTask.fillDefaults(customTask, context);
1175
- if (schema2_0_0) {
1176
- if ((customTask.command === undefined || customTask.command.name === undefined) && (customTask.configurationProperties.dependsOn === undefined || customTask.configurationProperties.dependsOn.length === 0)) {
1177
- context.problemReporter.error(( localizeWithPath(
1178
- 'vs/workbench/contrib/tasks/common/taskConfiguration',
1179
- 'taskConfiguration.noCommandOrDependsOn',
1180
- 'Error: the task \'{0}\' neither specifies a command nor a dependsOn property. The task will be ignored. Its definition is:\n{1}',
1181
- customTask.configurationProperties.name,
1182
- JSON.stringify(external, undefined, 4)
1183
- )));
1184
- continue;
1185
- }
1186
- }
1187
- else {
1188
- if (customTask.command === undefined || customTask.command.name === undefined) {
1189
- context.problemReporter.warn(( localizeWithPath(
1190
- 'vs/workbench/contrib/tasks/common/taskConfiguration',
1191
- 'taskConfiguration.noCommand',
1192
- 'Error: the task \'{0}\' doesn\'t define a command. The task will be ignored. Its definition is:\n{1}',
1193
- customTask.configurationProperties.name,
1194
- JSON.stringify(external, undefined, 4)
1195
- )));
1196
- continue;
1197
- }
1198
- }
1199
- if (customTask.configurationProperties.group === TaskGroup.Build && defaultBuildTask.rank < 2) {
1200
- defaultBuildTask.task = customTask;
1201
- defaultBuildTask.rank = 2;
1202
- }
1203
- else if (customTask.configurationProperties.group === TaskGroup.Test && defaultTestTask.rank < 2) {
1204
- defaultTestTask.task = customTask;
1205
- defaultTestTask.rank = 2;
1206
- }
1207
- else if (customTask.configurationProperties.name === 'build' && defaultBuildTask.rank < 1) {
1208
- defaultBuildTask.task = customTask;
1209
- defaultBuildTask.rank = 1;
1210
- }
1211
- else if (customTask.configurationProperties.name === 'test' && defaultTestTask.rank < 1) {
1212
- defaultTestTask.task = customTask;
1213
- defaultTestTask.rank = 1;
1214
- }
1215
- customTask.addTaskLoadMessages(context.taskLoadIssues);
1216
- result.custom.push(customTask);
1217
- }
1218
- }
1219
- else {
1220
- const configuredTask = ConfiguringTask.from(external, context, index, source, registry);
1221
- if (configuredTask) {
1222
- configuredTask.addTaskLoadMessages(context.taskLoadIssues);
1223
- result.configured.push(configuredTask);
1224
- }
1225
- }
1226
- context.taskLoadIssues = deepClone(baseLoadIssues);
1227
- }
1228
- const defaultBuildGroupName = isString(defaultBuildTask.task?.configurationProperties.group) ? defaultBuildTask.task?.configurationProperties.group : defaultBuildTask.task?.configurationProperties.group?._id;
1229
- const defaultTestTaskGroupName = isString(defaultTestTask.task?.configurationProperties.group) ? defaultTestTask.task?.configurationProperties.group : defaultTestTask.task?.configurationProperties.group?._id;
1230
- if ((defaultBuildGroupName !== TaskGroup.Build._id) && (defaultBuildTask.rank > -1) && (defaultBuildTask.rank < 2) && defaultBuildTask.task) {
1231
- defaultBuildTask.task.configurationProperties.group = TaskGroup.Build;
1232
- }
1233
- else if ((defaultTestTaskGroupName !== TaskGroup.Test._id) && (defaultTestTask.rank > -1) && (defaultTestTask.rank < 2) && defaultTestTask.task) {
1234
- defaultTestTask.task.configurationProperties.group = TaskGroup.Test;
1235
- }
1236
- return result;
1237
- }
1238
- TaskParser.from = from;
1239
- function assignTasks(target, source) {
1240
- if (source === undefined || source.length === 0) {
1241
- return target;
1242
- }
1243
- if (target === undefined || target.length === 0) {
1244
- return source;
1245
- }
1246
- if (source) {
1247
- const map = Object.create(null);
1248
- target.forEach((task) => {
1249
- map[task.configurationProperties.name] = task;
1250
- });
1251
- source.forEach((task) => {
1252
- map[task.configurationProperties.name] = task;
1253
- });
1254
- const newTarget = [];
1255
- target.forEach(task => {
1256
- newTarget.push(map[task.configurationProperties.name]);
1257
- delete map[task.configurationProperties.name];
1258
- });
1259
- ( Object.keys(map)).forEach(key => newTarget.push(map[key]));
1260
- target = newTarget;
1261
- }
1262
- return target;
1263
- }
1264
- TaskParser.assignTasks = assignTasks;
1265
- })(TaskParser || (TaskParser = {})));
1266
- var Globals;
1267
- ( (function(Globals) {
1268
- function from(config, context) {
1269
- let result = fromBase(config, context);
1270
- let osGlobals = undefined;
1271
- if (config.windows && context.platform === 3 ) {
1272
- osGlobals = fromBase(config.windows, context);
1273
- }
1274
- else if (config.osx && context.platform === 1 ) {
1275
- osGlobals = fromBase(config.osx, context);
1276
- }
1277
- else if (config.linux && context.platform === 2 ) {
1278
- osGlobals = fromBase(config.linux, context);
1279
- }
1280
- if (osGlobals) {
1281
- result = Globals.assignProperties(result, osGlobals);
1282
- }
1283
- const command = CommandConfiguration.from(config, context);
1284
- if (command) {
1285
- result.command = command;
1286
- }
1287
- Globals.fillDefaults(result, context);
1288
- Globals.freeze(result);
1289
- return result;
1290
- }
1291
- Globals.from = from;
1292
- function fromBase(config, context) {
1293
- const result = {};
1294
- if (config.suppressTaskName !== undefined) {
1295
- result.suppressTaskName = !!config.suppressTaskName;
1296
- }
1297
- if (config.promptOnClose !== undefined) {
1298
- result.promptOnClose = !!config.promptOnClose;
1299
- }
1300
- if (config.problemMatcher) {
1301
- result.problemMatcher = ProblemMatcherConverter.from(config.problemMatcher, context).value;
1302
- }
1303
- return result;
1304
- }
1305
- Globals.fromBase = fromBase;
1306
- function isEmpty(value) {
1307
- return !value || value.command === undefined && value.promptOnClose === undefined && value.suppressTaskName === undefined;
1308
- }
1309
- Globals.isEmpty = isEmpty;
1310
- function assignProperties(target, source) {
1311
- if (isEmpty(source)) {
1312
- return target;
1313
- }
1314
- if (isEmpty(target)) {
1315
- return source;
1316
- }
1317
- assignProperty(target, source, 'promptOnClose');
1318
- assignProperty(target, source, 'suppressTaskName');
1319
- return target;
1320
- }
1321
- Globals.assignProperties = assignProperties;
1322
- function fillDefaults(value, context) {
1323
- if (!value) {
1324
- return;
1325
- }
1326
- CommandConfiguration.fillDefaults(value.command, context);
1327
- if (value.suppressTaskName === undefined) {
1328
- value.suppressTaskName = ((context.schemaVersion === 2) );
1329
- }
1330
- if (value.promptOnClose === undefined) {
1331
- value.promptOnClose = true;
1332
- }
1333
- }
1334
- Globals.fillDefaults = fillDefaults;
1335
- function freeze(value) {
1336
- if (value.command) {
1337
- CommandConfiguration.freeze(value.command);
1338
- }
1339
- }
1340
- Globals.freeze = freeze;
1341
- })(Globals || (Globals = {})));
1342
- var ExecutionEngine;
1343
- ( (function(ExecutionEngine) {
1344
- function from(config) {
1345
- const runner = config.runner || config._runner;
1346
- let result;
1347
- if (runner) {
1348
- switch (runner) {
1349
- case 'terminal':
1350
- result = ExecutionEngine$1.Terminal;
1351
- break;
1352
- case 'process':
1353
- result = ExecutionEngine$1.Process;
1354
- break;
1355
- }
1356
- }
1357
- const schemaVersion = JsonSchemaVersion.from(config);
1358
- if (schemaVersion === 1 ) {
1359
- return result || ExecutionEngine$1.Process;
1360
- }
1361
- else if (schemaVersion === 2 ) {
1362
- return ExecutionEngine$1.Terminal;
1363
- }
1364
- else {
1365
- throw new Error('Shouldn\'t happen.');
1366
- }
1367
- }
1368
- ExecutionEngine.from = from;
1369
- })(ExecutionEngine || (ExecutionEngine = {})));
1370
- var JsonSchemaVersion;
1371
- ( (function(JsonSchemaVersion) {
1372
- const _default = 2 ;
1373
- function from(config) {
1374
- const version = config.version;
1375
- if (!version) {
1376
- return _default;
1377
- }
1378
- switch (version) {
1379
- case '0.1.0':
1380
- return 1 ;
1381
- case '2.0.0':
1382
- return 2 ;
1383
- default:
1384
- return _default;
1385
- }
1386
- }
1387
- JsonSchemaVersion.from = from;
1388
- })(JsonSchemaVersion || (JsonSchemaVersion = {})));
1389
- class UUIDMap {
1390
- constructor(other) {
1391
- this.current = Object.create(null);
1392
- if (other) {
1393
- for (const key of ( Object.keys(other.current))) {
1394
- const value = other.current[key];
1395
- if (Array.isArray(value)) {
1396
- this.current[key] = value.slice();
1397
- }
1398
- else {
1399
- this.current[key] = value;
1400
- }
1401
- }
1402
- }
1403
- }
1404
- start() {
1405
- this.last = this.current;
1406
- this.current = Object.create(null);
1407
- }
1408
- getUUID(identifier) {
1409
- const lastValue = this.last ? this.last[identifier] : undefined;
1410
- let result = undefined;
1411
- if (lastValue !== undefined) {
1412
- if (Array.isArray(lastValue)) {
1413
- result = lastValue.shift();
1414
- if (lastValue.length === 0) {
1415
- delete this.last[identifier];
1416
- }
1417
- }
1418
- else {
1419
- result = lastValue;
1420
- delete this.last[identifier];
1421
- }
1422
- }
1423
- if (result === undefined) {
1424
- result = generateUuid();
1425
- }
1426
- const currentValue = this.current[identifier];
1427
- if (currentValue === undefined) {
1428
- this.current[identifier] = result;
1429
- }
1430
- else {
1431
- if (Array.isArray(currentValue)) {
1432
- currentValue.push(result);
1433
- }
1434
- else {
1435
- const arrayValue = [currentValue];
1436
- arrayValue.push(result);
1437
- this.current[identifier] = arrayValue;
1438
- }
1439
- }
1440
- return result;
1441
- }
1442
- finish() {
1443
- this.last = undefined;
1444
- }
1445
- }
1446
- var TaskConfigSource;
1447
- ( (function(TaskConfigSource) {
1448
- TaskConfigSource[TaskConfigSource["TasksJson"] = 0] = "TasksJson";
1449
- TaskConfigSource[TaskConfigSource["WorkspaceFile"] = 1] = "WorkspaceFile";
1450
- TaskConfigSource[TaskConfigSource["User"] = 2] = "User";
1451
- })(TaskConfigSource || (TaskConfigSource = {})));
1452
- class ConfigurationParser {
1453
- constructor(workspaceFolder, workspace, platform, problemReporter, uuidMap) {
1454
- this.workspaceFolder = workspaceFolder;
1455
- this.workspace = workspace;
1456
- this.platform = platform;
1457
- this.problemReporter = problemReporter;
1458
- this.uuidMap = uuidMap;
1459
- }
1460
- run(fileConfig, source, contextKeyService) {
1461
- const engine = ExecutionEngine.from(fileConfig);
1462
- const schemaVersion = JsonSchemaVersion.from(fileConfig);
1463
- const context = {
1464
- workspaceFolder: this.workspaceFolder,
1465
- workspace: this.workspace,
1466
- problemReporter: this.problemReporter,
1467
- uuidMap: this.uuidMap,
1468
- namedProblemMatchers: {},
1469
- engine,
1470
- schemaVersion,
1471
- platform: this.platform,
1472
- taskLoadIssues: [],
1473
- contextKeyService
1474
- };
1475
- const taskParseResult = this.createTaskRunnerConfiguration(fileConfig, context, source);
1476
- return {
1477
- validationStatus: this.problemReporter.status,
1478
- custom: taskParseResult.custom,
1479
- configured: taskParseResult.configured,
1480
- engine
1481
- };
1482
- }
1483
- createTaskRunnerConfiguration(fileConfig, context, source) {
1484
- const globals = Globals.from(fileConfig, context);
1485
- if (this.problemReporter.status.isFatal()) {
1486
- return { custom: [], configured: [] };
1487
- }
1488
- context.namedProblemMatchers = ProblemMatcherConverter.namedFrom(fileConfig.declares, context);
1489
- let globalTasks = undefined;
1490
- let externalGlobalTasks = undefined;
1491
- if (fileConfig.windows && context.platform === 3 ) {
1492
- globalTasks = TaskParser.from(fileConfig.windows.tasks, globals, context, source).custom;
1493
- externalGlobalTasks = fileConfig.windows.tasks;
1494
- }
1495
- else if (fileConfig.osx && context.platform === 1 ) {
1496
- globalTasks = TaskParser.from(fileConfig.osx.tasks, globals, context, source).custom;
1497
- externalGlobalTasks = fileConfig.osx.tasks;
1498
- }
1499
- else if (fileConfig.linux && context.platform === 2 ) {
1500
- globalTasks = TaskParser.from(fileConfig.linux.tasks, globals, context, source).custom;
1501
- externalGlobalTasks = fileConfig.linux.tasks;
1502
- }
1503
- if (context.schemaVersion === 2 && globalTasks && globalTasks.length > 0 && externalGlobalTasks && externalGlobalTasks.length > 0) {
1504
- const taskContent = [];
1505
- for (const task of externalGlobalTasks) {
1506
- taskContent.push(JSON.stringify(task, null, 4));
1507
- }
1508
- context.problemReporter.error(( localizeWithPath(
1509
- 'vs/workbench/contrib/tasks/common/taskConfiguration',
1510
- { key: 'TaskParse.noOsSpecificGlobalTasks', comment: ['\"Task version 2.0.0\" refers to the 2.0.0 version of the task system. The \"version 2.0.0\" is not localizable as it is a json key and value.'] },
1511
- 'Task version 2.0.0 doesn\'t support global OS specific tasks. Convert them to a task with a OS specific command. Affected tasks are:\n{0}',
1512
- taskContent.join('\n')
1513
- )));
1514
- }
1515
- let result = { custom: [], configured: [] };
1516
- if (fileConfig.tasks) {
1517
- result = TaskParser.from(fileConfig.tasks, globals, context, source);
1518
- }
1519
- if (globalTasks) {
1520
- result.custom = TaskParser.assignTasks(result.custom, globalTasks);
1521
- }
1522
- if ((!result.custom || result.custom.length === 0) && (globals.command && globals.command.name)) {
1523
- const matchers = ProblemMatcherConverter.from(fileConfig.problemMatcher, context).value ?? [];
1524
- const isBackground = fileConfig.isBackground ? !!fileConfig.isBackground : fileConfig.isWatching ? !!fileConfig.isWatching : undefined;
1525
- const name = CommandString.value(globals.command.name);
1526
- const task = new CustomTask$1(context.uuidMap.getUUID(name), Object.assign({}, source, { config: { index: -1, element: fileConfig, workspaceFolder: context.workspaceFolder } }), name, CUSTOMIZED_TASK_TYPE, {
1527
- name: undefined,
1528
- runtime: undefined,
1529
- presentation: undefined,
1530
- suppressTaskName: true
1531
- }, false, { reevaluateOnRerun: true }, {
1532
- name: name,
1533
- identifier: name,
1534
- group: TaskGroup.Build,
1535
- isBackground: isBackground,
1536
- problemMatchers: matchers
1537
- });
1538
- const taskGroupKind = GroupKind.from(fileConfig.group);
1539
- if (taskGroupKind !== undefined) {
1540
- task.configurationProperties.group = taskGroupKind;
1541
- }
1542
- else if (fileConfig.group === 'none') {
1543
- task.configurationProperties.group = undefined;
1544
- }
1545
- CustomTask.fillGlobals(task, globals);
1546
- CustomTask.fillDefaults(task, context);
1547
- result.custom = [task];
1548
- }
1549
- result.custom = result.custom || [];
1550
- result.configured = result.configured || [];
1551
- return result;
1552
- }
1553
- }
1554
- const uuidMaps = ( new Map());
1555
- const recentUuidMaps = ( new Map());
1556
- function parse(workspaceFolder, workspace, platform, configuration, logger, source, contextKeyService, isRecents = false) {
1557
- const recentOrOtherMaps = isRecents ? recentUuidMaps : uuidMaps;
1558
- let selectedUuidMaps = recentOrOtherMaps.get(source);
1559
- if (!selectedUuidMaps) {
1560
- recentOrOtherMaps.set(source, ( new Map()));
1561
- selectedUuidMaps = recentOrOtherMaps.get(source);
1562
- }
1563
- let uuidMap = selectedUuidMaps.get(( workspaceFolder.uri.toString()));
1564
- if (!uuidMap) {
1565
- uuidMap = ( new UUIDMap());
1566
- selectedUuidMaps.set(( workspaceFolder.uri.toString()), uuidMap);
1567
- }
1568
- try {
1569
- uuidMap.start();
1570
- return (( new ConfigurationParser(workspaceFolder, workspace, platform, logger, uuidMap))).run(configuration, source, contextKeyService);
1571
- }
1572
- finally {
1573
- uuidMap.finish();
1574
- }
1575
- }
1576
- function createCustomTask(contributedTask, configuredProps) {
1577
- return CustomTask.createCustomTask(contributedTask, configuredProps);
1578
- }
1579
- export { ExecutionEngine, GroupKind, ITaskIdentifier, JsonSchemaVersion, ProblemMatcherConverter, RunOnOptions, RunOptions, TaskConfigSource, TaskParser, UUIDMap, createCustomTask, parse };