@codingame/monaco-vscode-api 1.82.4 → 1.82.5-next.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (567) hide show
  1. package/extensions.d.ts +3 -3
  2. package/external/xterm/typings/xterm.d.ts +1729 -0
  3. package/external/xterm-addon-canvas/typings/xterm-addon-canvas.d.ts +38 -0
  4. package/external/xterm-addon-image/typings/xterm-addon-image.d.ts +115 -0
  5. package/external/xterm-addon-search/typings/xterm-addon-search.d.ts +141 -0
  6. package/external/xterm-addon-serialize/typings/xterm-addon-serialize.d.ts +83 -0
  7. package/external/xterm-addon-unicode11/typings/xterm-addon-unicode11.d.ts +9 -0
  8. package/external/xterm-addon-webgl/typings/xterm-addon-webgl.d.ts +43 -0
  9. package/external/xterm-headless/typings/xterm-headless.d.ts +49 -0
  10. package/missing-services.js +0 -1
  11. package/monaco-editor-treemending.patch +1026 -1026
  12. package/package.json +21 -1
  13. package/service-override/bulkEdit.js +0 -1
  14. package/service-override/environment.js +0 -1
  15. package/service-override/extensions.js +1 -1
  16. package/service-override/files.js +0 -1
  17. package/service-override/keybindings.js +1 -6
  18. package/service-override/layout.js +0 -1
  19. package/service-override/output.js +0 -1
  20. package/service-override/quickaccess.js +0 -1
  21. package/services.js +10 -0
  22. package/vscode/src/vs/platform/terminal/common/capabilities/commandDetectionCapability.d.ts +1 -1
  23. package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.d.ts +1 -1
  24. package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/xtermTerminal.d.ts +7 -7
  25. package/vscode/src/vs/workbench/contrib/terminal/browser/xterm-private.d.ts +1 -1
  26. package/README.md +0 -392
  27. package/override/vs/workbench/contrib/notebook/browser/notebookEditor.js +0 -2
  28. package/service-override/accessibility.d.ts +0 -5
  29. package/service-override/accessibility.js +0 -11
  30. package/service-override/audioCue.d.ts +0 -5
  31. package/service-override/audioCue.js +0 -13
  32. package/service-override/bulkEdit.d.ts +0 -5
  33. package/service-override/configuration.d.ts +0 -17
  34. package/service-override/configuration.js +0 -117
  35. package/service-override/debug.d.ts +0 -5
  36. package/service-override/debug.js +0 -23
  37. package/service-override/dialogs.d.ts +0 -5
  38. package/service-override/dialogs.js +0 -57
  39. package/service-override/editor.d.ts +0 -10
  40. package/service-override/editor.js +0 -37
  41. package/service-override/environment.d.ts +0 -6
  42. package/service-override/extensions.d.ts +0 -50
  43. package/service-override/files.d.ts +0 -103
  44. package/service-override/keybindings.d.ts +0 -10
  45. package/service-override/languageDetectionWorker.d.ts +0 -5
  46. package/service-override/languageDetectionWorker.js +0 -15
  47. package/service-override/languages.d.ts +0 -11
  48. package/service-override/languages.js +0 -27
  49. package/service-override/layout.d.ts +0 -71
  50. package/service-override/lifecycle.d.ts +0 -5
  51. package/service-override/lifecycle.js +0 -10
  52. package/service-override/markers.d.ts +0 -5
  53. package/service-override/markers.js +0 -6
  54. package/service-override/model.d.ts +0 -5
  55. package/service-override/model.js +0 -10
  56. package/service-override/notifications.d.ts +0 -5
  57. package/service-override/notifications.js +0 -34
  58. package/service-override/output.d.ts +0 -6
  59. package/service-override/preferences.d.ts +0 -5
  60. package/service-override/preferences.js +0 -16
  61. package/service-override/quickaccess.d.ts +0 -10
  62. package/service-override/remoteAgent.d.ts +0 -6
  63. package/service-override/remoteAgent.js +0 -42
  64. package/service-override/search.d.ts +0 -5
  65. package/service-override/search.js +0 -19
  66. package/service-override/snippets.d.ts +0 -9
  67. package/service-override/snippets.js +0 -21
  68. package/service-override/storage.d.ts +0 -40
  69. package/service-override/storage.js +0 -116
  70. package/service-override/terminal.d.ts +0 -69
  71. package/service-override/terminal.js +0 -117
  72. package/service-override/textmate.d.ts +0 -6
  73. package/service-override/textmate.js +0 -41
  74. package/service-override/theme.d.ts +0 -7
  75. package/service-override/theme.js +0 -26
  76. package/service-override/viewBanner.d.ts +0 -6
  77. package/service-override/viewBanner.js +0 -10
  78. package/service-override/viewStatusBar.d.ts +0 -6
  79. package/service-override/viewStatusBar.js +0 -10
  80. package/service-override/viewTitleBar.d.ts +0 -6
  81. package/service-override/viewTitleBar.js +0 -10
  82. package/service-override/views.d.ts +0 -74
  83. package/service-override/views.js +0 -511
  84. package/service-override/workspaceTrust.d.ts +0 -5
  85. package/service-override/workspaceTrust.js +0 -13
  86. package/vscode/src/vs/base/browser/broadcast.js +0 -52
  87. package/vscode/src/vs/base/browser/indexedDB.d.ts +0 -17
  88. package/vscode/src/vs/base/browser/ui/centered/centeredViewLayout.js +0 -178
  89. package/vscode/src/vs/base/browser/ui/grid/grid.js +0 -465
  90. package/vscode/src/vs/base/browser/ui/grid/gridview.css.js +0 -4
  91. package/vscode/src/vs/base/browser/ui/grid/gridview.js +0 -977
  92. package/vscode/src/vs/base/browser/ui/toolbar/toolbar.d.ts +0 -60
  93. package/vscode/src/vs/base/browser/ui/tree/treeDefaults.js +0 -14
  94. package/vscode/src/vs/base/common/codicons.d.ts +0 -556
  95. package/vscode/src/vs/base/common/processes.js +0 -24
  96. package/vscode/src/vs/editor/common/services/languageFeaturesService.js +0 -42
  97. package/vscode/src/vs/editor/common/services/modelUndoRedoParticipant.js +0 -56
  98. package/vscode/src/vs/editor/common/services/textResourceConfigurationService.js +0 -116
  99. package/vscode/src/vs/platform/actions/browser/toolbar.d.ts +0 -67
  100. package/vscode/src/vs/platform/audioCues/browser/media/all.mp3.js +0 -20
  101. package/vscode/src/vs/platform/configuration/common/configurationRegistry.js +0 -10
  102. package/vscode/src/vs/platform/download/common/downloadIpc.js +0 -16
  103. package/vscode/src/vs/platform/files/browser/htmlFileSystemProvider.d.ts +0 -43
  104. package/vscode/src/vs/platform/files/common/diskFileSystemProviderClient.js +0 -136
  105. package/vscode/src/vs/platform/files/common/inMemoryFilesystemProvider.d.ts +0 -50
  106. package/vscode/src/vs/platform/log/common/logIpc.js +0 -24
  107. package/vscode/src/vs/platform/quickinput/browser/quickPickPin.js +0 -94
  108. package/vscode/src/vs/platform/remote/browser/browserSocketFactory.js +0 -193
  109. package/vscode/src/vs/platform/remote/browser/remoteAuthorityResolverService.js +0 -107
  110. package/vscode/src/vs/platform/terminal/common/capabilities/bufferMarkCapability.js +0 -41
  111. package/vscode/src/vs/platform/terminal/common/capabilities/commandDetectionCapability.js +0 -566
  112. package/vscode/src/vs/platform/terminal/common/capabilities/cwdDetectionCapability.js +0 -29
  113. package/vscode/src/vs/platform/terminal/common/capabilities/naiveCwdDetectionCapability.js +0 -22
  114. package/vscode/src/vs/platform/terminal/common/capabilities/partialCommandDetectionCapability.js +0 -46
  115. package/vscode/src/vs/platform/terminal/common/capabilities/terminalCapabilityStore.js +0 -94
  116. package/vscode/src/vs/platform/terminal/common/environmentVariable.js +0 -7
  117. package/vscode/src/vs/platform/terminal/common/environmentVariableCollection.js +0 -196
  118. package/vscode/src/vs/platform/terminal/common/terminalEnvironment.js +0 -37
  119. package/vscode/src/vs/platform/terminal/common/terminalLogService.js +0 -42
  120. package/vscode/src/vs/platform/terminal/common/terminalPlatformConfiguration.js +0 -467
  121. package/vscode/src/vs/platform/terminal/common/terminalProfiles.js +0 -107
  122. package/vscode/src/vs/platform/terminal/common/terminalRecorder.js +0 -66
  123. package/vscode/src/vs/platform/terminal/common/terminalStrings.js +0 -16
  124. package/vscode/src/vs/platform/terminal/common/xterm/shellIntegrationAddon.js +0 -319
  125. package/vscode/src/vs/platform/userDataSync/common/settingsMerge.js +0 -40
  126. package/vscode/src/vs/platform/webview/common/mimeTypes.js +0 -22
  127. package/vscode/src/vs/platform/webview/common/webviewPortMapping.js +0 -62
  128. package/vscode/src/vs/workbench/api/browser/viewsExtensionPoint.js +0 -699
  129. package/vscode/src/vs/workbench/api/common/configurationExtensionPoint.js +0 -450
  130. package/vscode/src/vs/workbench/api/common/extHost.api.impl.d.ts +0 -14
  131. package/vscode/src/vs/workbench/api/common/extHost.protocol.d.ts +0 -236
  132. package/vscode/src/vs/workbench/api/common/extHostConfiguration.d.ts +0 -43
  133. package/vscode/src/vs/workbench/api/common/extHostExtensionActivator.d.ts +0 -33
  134. package/vscode/src/vs/workbench/api/common/extHostExtensionService.d.ts +0 -138
  135. package/vscode/src/vs/workbench/api/common/extHostFileSystemInfo.d.ts +0 -21
  136. package/vscode/src/vs/workbench/api/common/extHostInitDataService.d.ts +0 -9
  137. package/vscode/src/vs/workbench/api/common/extHostLocalizationService.d.ts +0 -29
  138. package/vscode/src/vs/workbench/api/common/extHostManagedSockets.d.ts +0 -11
  139. package/vscode/src/vs/workbench/api/common/extHostRpcService.d.ts +0 -9
  140. package/vscode/src/vs/workbench/api/common/extHostStoragePaths.d.ts +0 -14
  141. package/vscode/src/vs/workbench/api/common/extHostTerminalService.d.ts +0 -53
  142. package/vscode/src/vs/workbench/api/common/extHostTunnelService.d.ts +0 -19
  143. package/vscode/src/vs/workbench/api/common/extHostTypes.d.ts +0 -12
  144. package/vscode/src/vs/workbench/api/common/extHostUriTransformerService.d.ts +0 -9
  145. package/vscode/src/vs/workbench/api/common/extHostWorkspace.d.ts +0 -91
  146. package/vscode/src/vs/workbench/api/worker/extHostExtensionService.d.ts +0 -21
  147. package/vscode/src/vs/workbench/browser/actions/listCommands.js +0 -605
  148. package/vscode/src/vs/workbench/browser/parts/activitybar/activitybarActions.js +0 -597
  149. package/vscode/src/vs/workbench/browser/parts/activitybar/activitybarPart.d.ts +0 -116
  150. package/vscode/src/vs/workbench/browser/parts/activitybar/activitybarPart.js +0 -783
  151. package/vscode/src/vs/workbench/browser/parts/activitybar/media/activityaction.css.js +0 -4
  152. package/vscode/src/vs/workbench/browser/parts/activitybar/media/activitybarpart.css.js +0 -4
  153. package/vscode/src/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarPart.js +0 -88
  154. package/vscode/src/vs/workbench/browser/parts/auxiliarybar/media/auxiliaryBarPart.css.js +0 -4
  155. package/vscode/src/vs/workbench/browser/parts/banner/bannerPart.js +0 -228
  156. package/vscode/src/vs/workbench/browser/parts/banner/media/bannerpart.css.js +0 -4
  157. package/vscode/src/vs/workbench/browser/parts/compositeBar.js +0 -691
  158. package/vscode/src/vs/workbench/browser/parts/compositeBarActions.d.ts +0 -7
  159. package/vscode/src/vs/workbench/browser/parts/compositePart.d.ts +0 -84
  160. package/vscode/src/vs/workbench/browser/parts/compositePart.js +0 -318
  161. package/vscode/src/vs/workbench/browser/parts/dialogs/dialog.web.contribution.js +0 -69
  162. package/vscode/src/vs/workbench/browser/parts/dialogs/dialogHandler.js +0 -127
  163. package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsControl.js +0 -692
  164. package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsModel.js +0 -141
  165. package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsPicker.js +0 -414
  166. package/vscode/src/vs/workbench/browser/parts/editor/editorDropTarget.js +0 -507
  167. package/vscode/src/vs/workbench/browser/parts/editor/editorGroupView.js +0 -1233
  168. package/vscode/src/vs/workbench/browser/parts/editor/editorGroupWatermark.js +0 -133
  169. package/vscode/src/vs/workbench/browser/parts/editor/editorPanes.js +0 -306
  170. package/vscode/src/vs/workbench/browser/parts/editor/editorPart.js +0 -850
  171. package/vscode/src/vs/workbench/browser/parts/editor/media/breadcrumbscontrol.css.js +0 -4
  172. package/vscode/src/vs/workbench/browser/parts/editor/media/editordroptarget.css.js +0 -4
  173. package/vscode/src/vs/workbench/browser/parts/editor/media/editorgroupview.css.js +0 -4
  174. package/vscode/src/vs/workbench/browser/parts/editor/media/notabstitlecontrol.css.js +0 -4
  175. package/vscode/src/vs/workbench/browser/parts/editor/media/tabstitlecontrol.css.js +0 -4
  176. package/vscode/src/vs/workbench/browser/parts/editor/media/titlecontrol.css.js +0 -4
  177. package/vscode/src/vs/workbench/browser/parts/editor/noTabsTitleControl.js +0 -247
  178. package/vscode/src/vs/workbench/browser/parts/editor/tabsTitleControl.js +0 -1569
  179. package/vscode/src/vs/workbench/browser/parts/editor/titleControl.js +0 -292
  180. package/vscode/src/vs/workbench/browser/parts/media/compositepart.css.js +0 -4
  181. package/vscode/src/vs/workbench/browser/parts/notifications/media/notificationsActions.css.js +0 -4
  182. package/vscode/src/vs/workbench/browser/parts/notifications/media/notificationsCenter.css.js +0 -4
  183. package/vscode/src/vs/workbench/browser/parts/notifications/media/notificationsList.css.js +0 -4
  184. package/vscode/src/vs/workbench/browser/parts/notifications/media/notificationsToasts.css.js +0 -4
  185. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsActions.js +0 -124
  186. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsAlerts.js +0 -58
  187. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCenter.js +0 -227
  188. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsList.js +0 -212
  189. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsToasts.js +0 -419
  190. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsViewer.js +0 -398
  191. package/vscode/src/vs/workbench/browser/parts/paneCompositePart.js +0 -78
  192. package/vscode/src/vs/workbench/browser/parts/panel/media/basepanelpart.css.js +0 -4
  193. package/vscode/src/vs/workbench/browser/parts/panel/panelPart.d.ts +0 -134
  194. package/vscode/src/vs/workbench/browser/parts/panel/panelPart.js +0 -756
  195. package/vscode/src/vs/workbench/browser/parts/sidebar/media/sidebarpart.css.js +0 -4
  196. package/vscode/src/vs/workbench/browser/parts/sidebar/sidebarPart.d.ts +0 -59
  197. package/vscode/src/vs/workbench/browser/parts/sidebar/sidebarPart.js +0 -217
  198. package/vscode/src/vs/workbench/browser/parts/statusbar/media/statusbarpart.css.js +0 -4
  199. package/vscode/src/vs/workbench/browser/parts/statusbar/statusbarActions.js +0 -109
  200. package/vscode/src/vs/workbench/browser/parts/statusbar/statusbarItem.js +0 -234
  201. package/vscode/src/vs/workbench/browser/parts/statusbar/statusbarModel.js +0 -249
  202. package/vscode/src/vs/workbench/browser/parts/statusbar/statusbarPart.js +0 -439
  203. package/vscode/src/vs/workbench/browser/parts/titlebar/commandCenterControl.js +0 -134
  204. package/vscode/src/vs/workbench/browser/parts/titlebar/media/titlebarpart.css.js +0 -4
  205. package/vscode/src/vs/workbench/browser/parts/titlebar/menubarControl.d.ts +0 -115
  206. package/vscode/src/vs/workbench/browser/parts/titlebar/titlebarPart.d.ts +0 -77
  207. package/vscode/src/vs/workbench/browser/parts/titlebar/titlebarPart.js +0 -365
  208. package/vscode/src/vs/workbench/browser/parts/titlebar/windowTitle.js +0 -216
  209. package/vscode/src/vs/workbench/browser/parts/views/checkbox.js +0 -104
  210. package/vscode/src/vs/workbench/browser/parts/views/media/views.css.js +0 -4
  211. package/vscode/src/vs/workbench/browser/parts/views/treeView.js +0 -1589
  212. package/vscode/src/vs/workbench/common/activity.js +0 -3
  213. package/vscode/src/vs/workbench/common/dialogs.js +0 -31
  214. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibility.contribution.js +0 -13
  215. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityContributions.js +0 -312
  216. package/vscode/src/vs/workbench/contrib/accessibility/browser/unfocusedViewDimmingContribution.js +0 -63
  217. package/vscode/src/vs/workbench/contrib/audioCues/browser/audioCueDebuggerContribution.js +0 -45
  218. package/vscode/src/vs/workbench/contrib/audioCues/browser/audioCueLineFeatureContribution.js +0 -170
  219. package/vscode/src/vs/workbench/contrib/audioCues/browser/audioCues.contribution.js +0 -181
  220. package/vscode/src/vs/workbench/contrib/audioCues/browser/commands.js +0 -49
  221. package/vscode/src/vs/workbench/contrib/callHierarchy/browser/callHierarchy.contribution.js +0 -262
  222. package/vscode/src/vs/workbench/contrib/callHierarchy/browser/callHierarchyPeek.js +0 -339
  223. package/vscode/src/vs/workbench/contrib/callHierarchy/browser/callHierarchyTree.js +0 -119
  224. package/vscode/src/vs/workbench/contrib/callHierarchy/browser/media/callHierarchy.css.js +0 -4
  225. package/vscode/src/vs/workbench/contrib/codeEditor/browser/accessibility/accessibility.css.js +0 -4
  226. package/vscode/src/vs/workbench/contrib/codeEditor/browser/accessibility/accessibility.js +0 -35
  227. package/vscode/src/vs/workbench/contrib/codeEditor/browser/find/simpleFindWidget.css.js +0 -4
  228. package/vscode/src/vs/workbench/contrib/codeEditor/browser/find/simpleFindWidget.js +0 -345
  229. package/vscode/src/vs/workbench/contrib/codeEditor/browser/outline/documentSymbolsOutline.js +0 -362
  230. package/vscode/src/vs/workbench/contrib/codeEditor/browser/outline/documentSymbolsTree.css.js +0 -4
  231. package/vscode/src/vs/workbench/contrib/codeEditor/browser/outline/documentSymbolsTree.js +0 -255
  232. package/vscode/src/vs/workbench/contrib/codeEditor/browser/suggestEnabledInput/suggestEnabledInput.css.js +0 -4
  233. package/vscode/src/vs/workbench/contrib/codeEditor/browser/suggestEnabledInput/suggestEnabledInput.js +0 -249
  234. package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditor.contribution.js +0 -14
  235. package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditorInputFactory.js +0 -137
  236. package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditors.js +0 -212
  237. package/vscode/src/vs/workbench/contrib/customEditor/browser/media/customEditor.css.js +0 -4
  238. package/vscode/src/vs/workbench/contrib/customEditor/common/contributedCustomEditors.js +0 -72
  239. package/vscode/src/vs/workbench/contrib/customEditor/common/customEditorModelManager.js +0 -61
  240. package/vscode/src/vs/workbench/contrib/customEditor/common/extensionPoint.js +0 -106
  241. package/vscode/src/vs/workbench/contrib/debug/browser/baseDebugView.js +0 -198
  242. package/vscode/src/vs/workbench/contrib/debug/browser/breakpointEditorContribution.js +0 -783
  243. package/vscode/src/vs/workbench/contrib/debug/browser/breakpointWidget.js +0 -397
  244. package/vscode/src/vs/workbench/contrib/debug/browser/breakpointsView.js +0 -1296
  245. package/vscode/src/vs/workbench/contrib/debug/browser/callStackEditorContribution.js +0 -176
  246. package/vscode/src/vs/workbench/contrib/debug/browser/callStackView.js +0 -958
  247. package/vscode/src/vs/workbench/contrib/debug/browser/debug.contribution.js +0 -496
  248. package/vscode/src/vs/workbench/contrib/debug/browser/debugANSIHandling.js +0 -345
  249. package/vscode/src/vs/workbench/contrib/debug/browser/debugActionViewItems.js +0 -297
  250. package/vscode/src/vs/workbench/contrib/debug/browser/debugAdapterManager.js +0 -398
  251. package/vscode/src/vs/workbench/contrib/debug/browser/debugCommands.js +0 -825
  252. package/vscode/src/vs/workbench/contrib/debug/browser/debugConfigurationManager.js +0 -619
  253. package/vscode/src/vs/workbench/contrib/debug/browser/debugConsoleQuickAccess.js +0 -58
  254. package/vscode/src/vs/workbench/contrib/debug/browser/debugEditorActions.js +0 -525
  255. package/vscode/src/vs/workbench/contrib/debug/browser/debugEditorContribution.js +0 -679
  256. package/vscode/src/vs/workbench/contrib/debug/browser/debugHover.js +0 -354
  257. package/vscode/src/vs/workbench/contrib/debug/browser/debugMemory.js +0 -204
  258. package/vscode/src/vs/workbench/contrib/debug/browser/debugProgress.js +0 -80
  259. package/vscode/src/vs/workbench/contrib/debug/browser/debugQuickAccess.js +0 -141
  260. package/vscode/src/vs/workbench/contrib/debug/browser/debugService.js +0 -1172
  261. package/vscode/src/vs/workbench/contrib/debug/browser/debugSession.js +0 -1142
  262. package/vscode/src/vs/workbench/contrib/debug/browser/debugSessionPicker.js +0 -104
  263. package/vscode/src/vs/workbench/contrib/debug/browser/debugStatus.js +0 -66
  264. package/vscode/src/vs/workbench/contrib/debug/browser/debugTaskRunner.js +0 -273
  265. package/vscode/src/vs/workbench/contrib/debug/browser/debugToolBar.js +0 -312
  266. package/vscode/src/vs/workbench/contrib/debug/browser/debugViewlet.js +0 -166
  267. package/vscode/src/vs/workbench/contrib/debug/browser/disassemblyView.js +0 -661
  268. package/vscode/src/vs/workbench/contrib/debug/browser/exceptionWidget.js +0 -103
  269. package/vscode/src/vs/workbench/contrib/debug/browser/linkDetector.js +0 -229
  270. package/vscode/src/vs/workbench/contrib/debug/browser/loadedScriptsView.js +0 -629
  271. package/vscode/src/vs/workbench/contrib/debug/browser/media/breakpointWidget.css.js +0 -4
  272. package/vscode/src/vs/workbench/contrib/debug/browser/media/callStackEditorContribution.css.js +0 -4
  273. package/vscode/src/vs/workbench/contrib/debug/browser/media/debug.contribution.css.js +0 -4
  274. package/vscode/src/vs/workbench/contrib/debug/browser/media/debugHover.css.js +0 -4
  275. package/vscode/src/vs/workbench/contrib/debug/browser/media/debugToolBar.css.js +0 -4
  276. package/vscode/src/vs/workbench/contrib/debug/browser/media/debugViewlet.css.js +0 -4
  277. package/vscode/src/vs/workbench/contrib/debug/browser/media/exceptionWidget.css.js +0 -4
  278. package/vscode/src/vs/workbench/contrib/debug/browser/media/repl.css.js +0 -4
  279. package/vscode/src/vs/workbench/contrib/debug/browser/rawDebugSession.js +0 -693
  280. package/vscode/src/vs/workbench/contrib/debug/browser/repl.js +0 -951
  281. package/vscode/src/vs/workbench/contrib/debug/browser/replFilter.js +0 -46
  282. package/vscode/src/vs/workbench/contrib/debug/browser/replViewer.js +0 -334
  283. package/vscode/src/vs/workbench/contrib/debug/browser/statusbarColorProvider.js +0 -96
  284. package/vscode/src/vs/workbench/contrib/debug/browser/variablesView.js +0 -573
  285. package/vscode/src/vs/workbench/contrib/debug/browser/watchExpressionsView.js +0 -413
  286. package/vscode/src/vs/workbench/contrib/debug/browser/welcomeView.js +0 -100
  287. package/vscode/src/vs/workbench/contrib/debug/common/breakpoints.js +0 -19
  288. package/vscode/src/vs/workbench/contrib/debug/common/debugCompoundRoot.js +0 -15
  289. package/vscode/src/vs/workbench/contrib/debug/common/debugContentProvider.js +0 -98
  290. package/vscode/src/vs/workbench/contrib/debug/common/debugLifecycle.js +0 -57
  291. package/vscode/src/vs/workbench/contrib/debug/common/debugModel.js +0 -1480
  292. package/vscode/src/vs/workbench/contrib/debug/common/debugSchemas.js +0 -344
  293. package/vscode/src/vs/workbench/contrib/debug/common/debugSource.js +0 -121
  294. package/vscode/src/vs/workbench/contrib/debug/common/debugStorage.js +0 -173
  295. package/vscode/src/vs/workbench/contrib/debug/common/debugTelemetry.js +0 -34
  296. package/vscode/src/vs/workbench/contrib/debug/common/debugViewModel.js +0 -115
  297. package/vscode/src/vs/workbench/contrib/debug/common/debugger.js +0 -258
  298. package/vscode/src/vs/workbench/contrib/debug/common/disassemblyViewInput.js +0 -25
  299. package/vscode/src/vs/workbench/contrib/debug/common/loadedScriptsPicker.js +0 -81
  300. package/vscode/src/vs/workbench/contrib/debug/common/replModel.js +0 -281
  301. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActions.js +0 -2414
  302. package/vscode/src/vs/workbench/contrib/extensions/browser/media/extensionActions.css.js +0 -4
  303. package/vscode/src/vs/workbench/contrib/extensions/common/extensionsFileTemplate.js +0 -16
  304. package/vscode/src/vs/workbench/contrib/externalUriOpener/common/externalUriOpener.contribution.js +0 -5
  305. package/vscode/src/vs/workbench/contrib/files/browser/editors/binaryFileEditor.js +0 -73
  306. package/vscode/src/vs/workbench/contrib/files/browser/editors/fileEditorHandler.js +0 -36
  307. package/vscode/src/vs/workbench/contrib/files/browser/editors/fileEditorInput.js +0 -325
  308. package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileEditor.js +0 -230
  309. package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileEditorTracker.js +0 -97
  310. package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileSaveErrorHandler.js +0 -352
  311. package/vscode/src/vs/workbench/contrib/files/browser/explorerService.js +0 -426
  312. package/vscode/src/vs/workbench/contrib/files/browser/fileActions.contribution.js +0 -508
  313. package/vscode/src/vs/workbench/contrib/files/browser/fileCommands.js +0 -615
  314. package/vscode/src/vs/workbench/contrib/files/browser/files.contribution2.js +0 -94
  315. package/vscode/src/vs/workbench/contrib/files/browser/workspaceWatcher.js +0 -144
  316. package/vscode/src/vs/workbench/contrib/files/common/dirtyFilesIndicator.js +0 -53
  317. package/vscode/src/vs/workbench/contrib/languageDetection/browser/languageDetection.contribution.js +0 -134
  318. package/vscode/src/vs/workbench/contrib/languageStatus/browser/languageStatus.contribution.js +0 -353
  319. package/vscode/src/vs/workbench/contrib/languageStatus/browser/media/languageStatus.css.js +0 -4
  320. package/vscode/src/vs/workbench/contrib/markers/browser/markers.contribution.js +0 -586
  321. package/vscode/src/vs/workbench/contrib/markers/browser/markersFilterOptions.js +0 -75
  322. package/vscode/src/vs/workbench/contrib/markers/browser/markersModel.js +0 -200
  323. package/vscode/src/vs/workbench/contrib/markers/browser/markersTable.js +0 -455
  324. package/vscode/src/vs/workbench/contrib/markers/browser/markersTreeViewer.js +0 -670
  325. package/vscode/src/vs/workbench/contrib/markers/browser/markersView.js +0 -873
  326. package/vscode/src/vs/workbench/contrib/markers/browser/markersViewActions.css.js +0 -4
  327. package/vscode/src/vs/workbench/contrib/markers/browser/markersViewActions.js +0 -132
  328. package/vscode/src/vs/workbench/contrib/markers/browser/media/markers.css.js +0 -4
  329. package/vscode/src/vs/workbench/contrib/markers/browser/messages.js +0 -170
  330. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/findFilters.js +0 -70
  331. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindReplaceWidget.css.js +0 -4
  332. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindReplaceWidget.js +0 -158
  333. package/vscode/src/vs/workbench/contrib/notebook/common/notebookContextKeys.js +0 -3
  334. package/vscode/src/vs/workbench/contrib/outline/browser/outline.contribution.js +0 -261
  335. package/vscode/src/vs/workbench/contrib/outline/browser/outline.js +0 -10
  336. package/vscode/src/vs/workbench/contrib/outline/browser/outlinePane.css.js +0 -4
  337. package/vscode/src/vs/workbench/contrib/outline/browser/outlinePane.js +0 -290
  338. package/vscode/src/vs/workbench/contrib/outline/browser/outlineViewState.js +0 -66
  339. package/vscode/src/vs/workbench/contrib/output/common/outputLinkComputer.js +0 -129
  340. package/vscode/src/vs/workbench/contrib/preferences/browser/keybindingWidgets.js +0 -272
  341. package/vscode/src/vs/workbench/contrib/preferences/browser/keybindingsEditor.js +0 -1102
  342. package/vscode/src/vs/workbench/contrib/preferences/browser/media/keybindings.css.js +0 -4
  343. package/vscode/src/vs/workbench/contrib/preferences/browser/media/keybindingsEditor.css.js +0 -4
  344. package/vscode/src/vs/workbench/contrib/preferences/browser/media/preferences.css.js +0 -4
  345. package/vscode/src/vs/workbench/contrib/preferences/browser/media/settingsEditor2.css.js +0 -4
  346. package/vscode/src/vs/workbench/contrib/preferences/browser/media/settingsWidgets.css.js +0 -4
  347. package/vscode/src/vs/workbench/contrib/preferences/browser/preferences.contribution.js +0 -1213
  348. package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesActions.js +0 -94
  349. package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesEditor.js +0 -47
  350. package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesIcons.js +0 -37
  351. package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesRenderers.js +0 -747
  352. package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesSearch.js +0 -349
  353. package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesWidgets.js +0 -468
  354. package/vscode/src/vs/workbench/contrib/preferences/browser/settingsEditor2.js +0 -1477
  355. package/vscode/src/vs/workbench/contrib/preferences/browser/settingsEditorSettingIndicators.js +0 -504
  356. package/vscode/src/vs/workbench/contrib/preferences/browser/settingsLayout.js +0 -296
  357. package/vscode/src/vs/workbench/contrib/preferences/browser/settingsSearchMenu.js +0 -79
  358. package/vscode/src/vs/workbench/contrib/preferences/browser/settingsTree.js +0 -2041
  359. package/vscode/src/vs/workbench/contrib/preferences/browser/settingsTreeModels.js +0 -771
  360. package/vscode/src/vs/workbench/contrib/preferences/browser/settingsWidgets.js +0 -1004
  361. package/vscode/src/vs/workbench/contrib/preferences/browser/tocTree.js +0 -196
  362. package/vscode/src/vs/workbench/contrib/preferences/common/preferencesContribution.js +0 -151
  363. package/vscode/src/vs/workbench/contrib/preferences/common/settingsEditorColorRegistry.js +0 -67
  364. package/vscode/src/vs/workbench/contrib/remote/browser/media/tunnelView.css.js +0 -4
  365. package/vscode/src/vs/workbench/contrib/remote/browser/remoteExplorer.js +0 -207
  366. package/vscode/src/vs/workbench/contrib/remote/browser/remoteIcons.js +0 -27
  367. package/vscode/src/vs/workbench/contrib/remote/browser/tunnelView.js +0 -1666
  368. package/vscode/src/vs/workbench/contrib/remote/common/remote.contribution.js +0 -481
  369. package/vscode/src/vs/workbench/contrib/search/browser/anythingQuickAccess.js +0 -759
  370. package/vscode/src/vs/workbench/contrib/search/browser/media/anythingQuickAccess.css.js +0 -4
  371. package/vscode/src/vs/workbench/contrib/search/browser/media/searchview.css.js +0 -4
  372. package/vscode/src/vs/workbench/contrib/search/browser/notebookSearchContributions.js +0 -7
  373. package/vscode/src/vs/workbench/contrib/search/browser/patternInputWidget.js +0 -220
  374. package/vscode/src/vs/workbench/contrib/search/browser/quickTextSearch/textSearchQuickAccess.js +0 -232
  375. package/vscode/src/vs/workbench/contrib/search/browser/replaceContributions.js +0 -7
  376. package/vscode/src/vs/workbench/contrib/search/browser/replaceService.js +0 -224
  377. package/vscode/src/vs/workbench/contrib/search/browser/search.contribution.js +0 -513
  378. package/vscode/src/vs/workbench/contrib/search/browser/searchActionsBase.js +0 -46
  379. package/vscode/src/vs/workbench/contrib/search/browser/searchActionsCopy.js +0 -204
  380. package/vscode/src/vs/workbench/contrib/search/browser/searchActionsFind.js +0 -354
  381. package/vscode/src/vs/workbench/contrib/search/browser/searchActionsNav.js +0 -459
  382. package/vscode/src/vs/workbench/contrib/search/browser/searchActionsRemoveReplace.js +0 -365
  383. package/vscode/src/vs/workbench/contrib/search/browser/searchActionsSymbol.js +0 -35
  384. package/vscode/src/vs/workbench/contrib/search/browser/searchActionsTextQuickAccess.js +0 -23
  385. package/vscode/src/vs/workbench/contrib/search/browser/searchActionsTopBar.js +0 -308
  386. package/vscode/src/vs/workbench/contrib/search/browser/searchFindInput.js +0 -41
  387. package/vscode/src/vs/workbench/contrib/search/browser/searchIcons.js +0 -39
  388. package/vscode/src/vs/workbench/contrib/search/browser/searchMessage.js +0 -58
  389. package/vscode/src/vs/workbench/contrib/search/browser/searchResultsView.js +0 -383
  390. package/vscode/src/vs/workbench/contrib/search/browser/searchView.js +0 -1916
  391. package/vscode/src/vs/workbench/contrib/search/browser/searchWidget.js +0 -636
  392. package/vscode/src/vs/workbench/contrib/search/browser/symbolsQuickAccess.js +0 -220
  393. package/vscode/src/vs/workbench/contrib/search/common/cacheState.js +0 -85
  394. package/vscode/src/vs/workbench/contrib/search/common/constants.js +0 -66
  395. package/vscode/src/vs/workbench/contrib/searchEditor/browser/constants.js +0 -11
  396. package/vscode/src/vs/workbench/contrib/searchEditor/browser/media/searchEditor.css.js +0 -4
  397. package/vscode/src/vs/workbench/contrib/searchEditor/browser/searchEditor.contribution.js +0 -477
  398. package/vscode/src/vs/workbench/contrib/searchEditor/browser/searchEditor.js +0 -700
  399. package/vscode/src/vs/workbench/contrib/searchEditor/browser/searchEditorActions.js +0 -187
  400. package/vscode/src/vs/workbench/contrib/searchEditor/browser/searchEditorInput.js +0 -298
  401. package/vscode/src/vs/workbench/contrib/searchEditor/browser/searchEditorModel.js +0 -135
  402. package/vscode/src/vs/workbench/contrib/searchEditor/browser/searchEditorSerialization.js +0 -268
  403. package/vscode/src/vs/workbench/contrib/snippets/browser/commands/abstractSnippetsActions.js +0 -20
  404. package/vscode/src/vs/workbench/contrib/snippets/browser/commands/configureSnippets.js +0 -264
  405. package/vscode/src/vs/workbench/contrib/snippets/browser/commands/fileTemplateSnippets.js +0 -87
  406. package/vscode/src/vs/workbench/contrib/snippets/browser/commands/insertSnippet.js +0 -126
  407. package/vscode/src/vs/workbench/contrib/snippets/browser/commands/surroundWithSnippet.js +0 -56
  408. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCodeActionProvider.js +0 -136
  409. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetPicker.js +0 -83
  410. package/vscode/src/vs/workbench/contrib/snippets/browser/snippets.contribution.js +0 -113
  411. package/vscode/src/vs/workbench/contrib/terminal/browser/baseTerminalBackend.js +0 -101
  412. package/vscode/src/vs/workbench/contrib/terminal/browser/detachedTerminal.js +0 -54
  413. package/vscode/src/vs/workbench/contrib/terminal/browser/environmentVariableInfo.js +0 -119
  414. package/vscode/src/vs/workbench/contrib/terminal/browser/media/scrollbar.css.js +0 -4
  415. package/vscode/src/vs/workbench/contrib/terminal/browser/media/terminal.css.js +0 -4
  416. package/vscode/src/vs/workbench/contrib/terminal/browser/media/widgets.css.js +0 -4
  417. package/vscode/src/vs/workbench/contrib/terminal/browser/media/xterm.css.js +0 -4
  418. package/vscode/src/vs/workbench/contrib/terminal/browser/remotePty.js +0 -175
  419. package/vscode/src/vs/workbench/contrib/terminal/browser/remoteTerminalBackend.js +0 -311
  420. package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.contribution.js +0 -240
  421. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalActions.js +0 -1964
  422. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalCommands.js +0 -22
  423. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalConfigHelper.js +0 -215
  424. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalContextMenu.js +0 -16
  425. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalEditor.js +0 -186
  426. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalEditorService.js +0 -239
  427. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalEvents.js +0 -47
  428. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalExtensions.js +0 -25
  429. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalGroup.js +0 -482
  430. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalGroupService.js +0 -367
  431. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalIcons.js +0 -37
  432. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalInstance.js +0 -2101
  433. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalInstanceService.js +0 -82
  434. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalMainContribution.js +0 -82
  435. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalMenus.js +0 -762
  436. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalProcessManager.js +0 -617
  437. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalProfileQuickpick.js +0 -278
  438. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalProfileResolverService.js +0 -316
  439. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalProfileService.js +0 -218
  440. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalQuickAccess.js +0 -146
  441. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalRunRecentQuickPick.js +0 -269
  442. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalService.js +0 -1134
  443. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalStatusList.js +0 -108
  444. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalTabbedView.js +0 -420
  445. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalTabsList.js +0 -676
  446. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalTooltip.js +0 -72
  447. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalUri.js +0 -39
  448. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalView.js +0 -598
  449. package/vscode/src/vs/workbench/contrib/terminal/browser/widgets/widgetManager.js +0 -36
  450. package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/decorationAddon.js +0 -469
  451. package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/decorationStyles.js +0 -97
  452. package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/lineDataEventAddon.js +0 -56
  453. package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/markNavigationAddon.js +0 -416
  454. package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/suggestAddon.js +0 -390
  455. package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/xtermTerminal.js +0 -793
  456. package/vscode/src/vs/workbench/contrib/terminal/common/environmentVariableService.js +0 -96
  457. package/vscode/src/vs/workbench/contrib/terminal/common/history.js +0 -356
  458. package/vscode/src/vs/workbench/contrib/terminal/common/remote/remoteTerminalChannel.js +0 -253
  459. package/vscode/src/vs/workbench/contrib/terminal/common/terminalConfiguration.js +0 -1016
  460. package/vscode/src/vs/workbench/contrib/terminal/common/terminalEnvironment.js +0 -272
  461. package/vscode/src/vs/workbench/contrib/terminal/common/terminalStrings.js +0 -93
  462. package/vscode/src/vs/workbench/contrib/terminal/electron-sandbox/terminalProfileResolverService.js +0 -42
  463. package/vscode/src/vs/workbench/contrib/terminalContrib/accessibility/browser/bufferContentTracker.js +0 -110
  464. package/vscode/src/vs/workbench/contrib/terminalContrib/accessibility/browser/terminal.accessibility.contribution.js +0 -232
  465. package/vscode/src/vs/workbench/contrib/terminalContrib/accessibility/browser/terminalAccessibilityHelp.js +0 -138
  466. package/vscode/src/vs/workbench/contrib/terminalContrib/accessibility/browser/terminalAccessibleBuffer.js +0 -226
  467. package/vscode/src/vs/workbench/contrib/terminalContrib/accessibility/browser/terminalAccessibleWidget.js +0 -142
  468. package/vscode/src/vs/workbench/contrib/terminalContrib/accessibility/browser/textAreaSyncAddon.js +0 -98
  469. package/vscode/src/vs/workbench/contrib/terminalContrib/links/browser/terminalLinkProviderService.js +0 -26
  470. package/vscode/src/vs/workbench/contrib/terminalContrib/quickFix/browser/terminalQuickFixService.js +0 -155
  471. package/vscode/src/vs/workbench/contrib/typeHierarchy/browser/media/typeHierarchy.css.js +0 -4
  472. package/vscode/src/vs/workbench/contrib/typeHierarchy/browser/typeHierarchy.contribution.js +0 -247
  473. package/vscode/src/vs/workbench/contrib/typeHierarchy/browser/typeHierarchyPeek.js +0 -334
  474. package/vscode/src/vs/workbench/contrib/typeHierarchy/browser/typeHierarchyTree.js +0 -117
  475. package/vscode/src/vs/workbench/contrib/webview/browser/overlayWebview.js +0 -288
  476. package/vscode/src/vs/workbench/contrib/webview/browser/resourceLoading.js +0 -94
  477. package/vscode/src/vs/workbench/contrib/webview/browser/themeing.js +0 -86
  478. package/vscode/src/vs/workbench/contrib/webview/browser/webviewElement.js +0 -640
  479. package/vscode/src/vs/workbench/contrib/webview/browser/webviewFindWidget.js +0 -63
  480. package/vscode/src/vs/workbench/contrib/webview/browser/webviewService.js +0 -57
  481. package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewCommands.js +0 -120
  482. package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditorInputSerializer.js +0 -119
  483. package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewPanel.contribution.js +0 -61
  484. package/vscode/src/vs/workbench/contrib/webviewView/browser/webviewViewPane.js +0 -232
  485. package/vscode/src/vs/workbench/contrib/workspace/browser/media/workspaceTrustEditor.css.js +0 -4
  486. package/vscode/src/vs/workbench/contrib/workspace/browser/workspace.contribution.js +0 -842
  487. package/vscode/src/vs/workbench/contrib/workspace/browser/workspaceTrustEditor.js +0 -1047
  488. package/vscode/src/vs/workbench/contrib/workspace/common/workspace.js +0 -14
  489. package/vscode/src/vs/workbench/services/activity/browser/activityService.js +0 -94
  490. package/vscode/src/vs/workbench/services/configuration/browser/configuration.js +0 -878
  491. package/vscode/src/vs/workbench/services/configuration/browser/configurationService.js +0 -1170
  492. package/vscode/src/vs/workbench/services/configuration/common/configurationCache.js +0 -80
  493. package/vscode/src/vs/workbench/services/configuration/common/configurationEditing.js +0 -589
  494. package/vscode/src/vs/workbench/services/configuration/common/configurationModels.js +0 -119
  495. package/vscode/src/vs/workbench/services/configurationResolver/browser/baseConfigurationResolverService.js +0 -303
  496. package/vscode/src/vs/workbench/services/configurationResolver/browser/configurationResolverService.js +0 -26
  497. package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverSchema.js +0 -174
  498. package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverUtils.js +0 -10
  499. package/vscode/src/vs/workbench/services/dialogs/browser/abstractFileDialogService.js +0 -320
  500. package/vscode/src/vs/workbench/services/dialogs/browser/simpleFileDialog.js +0 -989
  501. package/vscode/src/vs/workbench/services/dialogs/common/dialogService.js +0 -66
  502. package/vscode/src/vs/workbench/services/editor/browser/editorResolverService.js +0 -622
  503. package/vscode/src/vs/workbench/services/extensionRecommendations/common/extensionRecommendations.js +0 -4
  504. package/vscode/src/vs/workbench/services/extensionRecommendations/common/workspaceExtensionsConfig.js +0 -2
  505. package/vscode/src/vs/workbench/services/history/browser/historyService.js +0 -1454
  506. package/vscode/src/vs/workbench/services/hover/browser/hoverService.js +0 -162
  507. package/vscode/src/vs/workbench/services/hover/browser/hoverWidget.js +0 -523
  508. package/vscode/src/vs/workbench/services/hover/browser/media/hover.css.js +0 -4
  509. package/vscode/src/vs/workbench/services/label/common/labelService.js +0 -412
  510. package/vscode/src/vs/workbench/services/languageDetection/browser/languageDetectionSimpleWorker.js +0 -173
  511. package/vscode/src/vs/workbench/services/languageDetection/browser/languageDetectionWorkerServiceImpl.js +0 -259
  512. package/vscode/src/vs/workbench/services/lifecycle/browser/lifecycleService.js +0 -121
  513. package/vscode/src/vs/workbench/services/localization/common/locale.js +0 -3
  514. package/vscode/src/vs/workbench/services/notification/common/notificationService.js +0 -188
  515. package/vscode/src/vs/workbench/services/outline/browser/outlineService.js +0 -35
  516. package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorInput.js +0 -37
  517. package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorModel.js +0 -556
  518. package/vscode/src/vs/workbench/services/preferences/browser/preferencesService.js +0 -547
  519. package/vscode/src/vs/workbench/services/preferences/common/preferencesEditorInput.js +0 -39
  520. package/vscode/src/vs/workbench/services/preferences/common/preferencesModels.js +0 -1039
  521. package/vscode/src/vs/workbench/services/preferences/common/preferencesValidation.js +0 -393
  522. package/vscode/src/vs/workbench/services/remote/browser/remoteAgentService.js +0 -71
  523. package/vscode/src/vs/workbench/services/remote/common/abstractRemoteAgentService.js +0 -177
  524. package/vscode/src/vs/workbench/services/remote/common/remoteAgentEnvironmentChannel.js +0 -51
  525. package/vscode/src/vs/workbench/services/remote/common/remoteFileSystemProviderClient.js +0 -38
  526. package/vscode/src/vs/workbench/services/search/common/queryBuilder.d.ts +0 -35
  527. package/vscode/src/vs/workbench/services/search/common/searchService.js +0 -370
  528. package/vscode/src/vs/workbench/services/storage/browser/storageService.d.ts +0 -40
  529. package/vscode/src/vs/workbench/services/storage/browser/storageService.js +0 -280
  530. package/vscode/src/vs/workbench/services/suggest/browser/media/suggest.css.js +0 -4
  531. package/vscode/src/vs/workbench/services/suggest/browser/simpleCompletionItem.js +0 -10
  532. package/vscode/src/vs/workbench/services/suggest/browser/simpleCompletionModel.js +0 -98
  533. package/vscode/src/vs/workbench/services/suggest/browser/simpleSuggestWidget.js +0 -399
  534. package/vscode/src/vs/workbench/services/suggest/browser/simpleSuggestWidgetRenderer.js +0 -83
  535. package/vscode/src/vs/workbench/services/textMate/browser/arrayOperation.js +0 -62
  536. package/vscode/src/vs/workbench/services/textMate/browser/backgroundTokenization/textMateWorkerTokenizerController.js +0 -157
  537. package/vscode/src/vs/workbench/services/textMate/browser/backgroundTokenization/threadedBackgroundTokenizerFactory.js +0 -200
  538. package/vscode/src/vs/workbench/services/textMate/browser/backgroundTokenization/worker/textMateTokenizationWorker.worker.js +0 -87
  539. package/vscode/src/vs/workbench/services/textMate/browser/backgroundTokenization/worker/textMateWorkerTokenizer.js +0 -140
  540. package/vscode/src/vs/workbench/services/textMate/browser/textMateTokenizationFeature.d.ts +0 -11
  541. package/vscode/src/vs/workbench/services/textMate/browser/textMateTokenizationFeatureImpl.js +0 -459
  542. package/vscode/src/vs/workbench/services/textMate/browser/tokenizationSupport/textMateTokenizationSupport.js +0 -72
  543. package/vscode/src/vs/workbench/services/textMate/browser/tokenizationSupport/tokenizationSupportWithLineLimit.js +0 -36
  544. package/vscode/src/vs/workbench/services/textMate/common/TMGrammarFactory.js +0 -118
  545. package/vscode/src/vs/workbench/services/textMate/common/TMGrammars.js +0 -93
  546. package/vscode/src/vs/workbench/services/textMate/common/TMScopeRegistry.js +0 -24
  547. package/vscode/src/vs/workbench/services/textmodelResolver/common/textModelResolverService.js +0 -187
  548. package/vscode/src/vs/workbench/services/themes/browser/fileIconThemeData.js +0 -353
  549. package/vscode/src/vs/workbench/services/themes/browser/productIconThemeData.js +0 -290
  550. package/vscode/src/vs/workbench/services/themes/browser/workbenchThemeService.js +0 -742
  551. package/vscode/src/vs/workbench/services/themes/common/colorThemeData.js +0 -864
  552. package/vscode/src/vs/workbench/services/themes/common/colorThemeSchema.js +0 -265
  553. package/vscode/src/vs/workbench/services/themes/common/fileIconThemeSchema.js +0 -303
  554. package/vscode/src/vs/workbench/services/themes/common/plistParser.js +0 -439
  555. package/vscode/src/vs/workbench/services/themes/common/productIconThemeSchema.js +0 -94
  556. package/vscode/src/vs/workbench/services/themes/common/textMateScopeMatcher.js +0 -120
  557. package/vscode/src/vs/workbench/services/themes/common/themeCompatibility.js +0 -66
  558. package/vscode/src/vs/workbench/services/themes/common/themeConfiguration.js +0 -372
  559. package/vscode/src/vs/workbench/services/themes/common/themeExtensionPoints.js +0 -254
  560. package/vscode/src/vs/workbench/services/views/browser/viewDescriptorService.js +0 -689
  561. package/vscode/src/vs/workbench/services/views/common/viewContainerModel.js +0 -612
  562. package/vscode/src/vs/workbench/services/workspaces/browser/abstractWorkspaceEditingService.js +0 -322
  563. package/vscode/src/vs/workbench/services/workspaces/browser/workspaceTrustEditorInput.js +0 -27
  564. package/vscode/src/vs/workbench/services/workspaces/browser/workspacesService.js +0 -151
  565. package/workers/languageDetection.worker.js +0 -8
  566. package/workers/outputLinkComputer.worker.js +0 -3
  567. package/workers/textmate.worker.js +0 -3
@@ -1,977 +0,0 @@
1
- import { $ } from 'monaco-editor/esm/vs/base/browser/dom.js';
2
- import { Sizing, SplitView } from 'monaco-editor/esm/vs/base/browser/ui/splitview/splitview.js';
3
- export { Sizing } from 'monaco-editor/esm/vs/base/browser/ui/splitview/splitview.js';
4
- import { tail2, equals } from 'monaco-editor/esm/vs/base/common/arrays.js';
5
- import { Color } from 'monaco-editor/esm/vs/base/common/color.js';
6
- import { Event, Relay, Emitter } from 'monaco-editor/esm/vs/base/common/event.js';
7
- import { Disposable, toDisposable, DisposableStore } from 'monaco-editor/esm/vs/base/common/lifecycle.js';
8
- import { rot } from 'monaco-editor/esm/vs/base/common/numbers.js';
9
- import { isUndefined } from 'monaco-editor/esm/vs/base/common/types.js';
10
- import './gridview.css.js';
11
- const defaultStyles = {
12
- separatorBorder: Color.transparent
13
- };
14
- function orthogonal(orientation) {
15
- return orientation === 0 ? 1 : 0 ;
16
- }
17
- class LayoutController {
18
- constructor(isLayoutEnabled) {
19
- this.isLayoutEnabled = isLayoutEnabled;
20
- }
21
- }
22
- function toAbsoluteBoundarySashes(sashes, orientation) {
23
- if (orientation === 1 ) {
24
- return { left: sashes.start, right: sashes.end, top: sashes.orthogonalStart, bottom: sashes.orthogonalEnd };
25
- }
26
- else {
27
- return { top: sashes.start, bottom: sashes.end, left: sashes.orthogonalStart, right: sashes.orthogonalEnd };
28
- }
29
- }
30
- function fromAbsoluteBoundarySashes(sashes, orientation) {
31
- if (orientation === 1 ) {
32
- return { start: sashes.left, end: sashes.right, orthogonalStart: sashes.top, orthogonalEnd: sashes.bottom };
33
- }
34
- else {
35
- return { start: sashes.top, end: sashes.bottom, orthogonalStart: sashes.left, orthogonalEnd: sashes.right };
36
- }
37
- }
38
- function validateIndex(index, numChildren) {
39
- if (Math.abs(index) > numChildren) {
40
- throw new Error('Invalid index');
41
- }
42
- return rot(index, numChildren + 1);
43
- }
44
- class BranchNode {
45
- get size() { return this._size; }
46
- get orthogonalSize() { return this._orthogonalSize; }
47
- get absoluteOffset() { return this._absoluteOffset; }
48
- get absoluteOrthogonalOffset() { return this._absoluteOrthogonalOffset; }
49
- get styles() { return this._styles; }
50
- get width() {
51
- return this.orientation === 1 ? this.size : this.orthogonalSize;
52
- }
53
- get height() {
54
- return this.orientation === 1 ? this.orthogonalSize : this.size;
55
- }
56
- get top() {
57
- return this.orientation === 1 ? this._absoluteOffset : this._absoluteOrthogonalOffset;
58
- }
59
- get left() {
60
- return this.orientation === 1 ? this._absoluteOrthogonalOffset : this._absoluteOffset;
61
- }
62
- get minimumSize() {
63
- return this.children.length === 0 ? 0 : Math.max(...( this.children.map(c => c.minimumOrthogonalSize)));
64
- }
65
- get maximumSize() {
66
- return Math.min(...( this.children.map(c => c.maximumOrthogonalSize)));
67
- }
68
- get priority() {
69
- if (this.children.length === 0) {
70
- return 0 ;
71
- }
72
- const priorities = ( this.children.map(
73
- c => typeof c.priority === 'undefined' ? 0 : c.priority
74
- ));
75
- if (( priorities.some(p => p === 2 ))) {
76
- return 2 ;
77
- }
78
- else if (( priorities.some(p => p === 1 ))) {
79
- return 1 ;
80
- }
81
- return 0 ;
82
- }
83
- get proportionalLayout() {
84
- if (this.children.length === 0) {
85
- return true;
86
- }
87
- return this.children.every(c => c.proportionalLayout);
88
- }
89
- get minimumOrthogonalSize() {
90
- return this.splitview.minimumSize;
91
- }
92
- get maximumOrthogonalSize() {
93
- return this.splitview.maximumSize;
94
- }
95
- get minimumWidth() {
96
- return this.orientation === 1 ? this.minimumOrthogonalSize : this.minimumSize;
97
- }
98
- get minimumHeight() {
99
- return this.orientation === 1 ? this.minimumSize : this.minimumOrthogonalSize;
100
- }
101
- get maximumWidth() {
102
- return this.orientation === 1 ? this.maximumOrthogonalSize : this.maximumSize;
103
- }
104
- get maximumHeight() {
105
- return this.orientation === 1 ? this.maximumSize : this.maximumOrthogonalSize;
106
- }
107
- get boundarySashes() { return this._boundarySashes; }
108
- set boundarySashes(boundarySashes) {
109
- if (this._boundarySashes.start === boundarySashes.start
110
- && this._boundarySashes.end === boundarySashes.end
111
- && this._boundarySashes.orthogonalStart === boundarySashes.orthogonalStart
112
- && this._boundarySashes.orthogonalEnd === boundarySashes.orthogonalEnd) {
113
- return;
114
- }
115
- this._boundarySashes = boundarySashes;
116
- this.splitview.orthogonalStartSash = boundarySashes.orthogonalStart;
117
- this.splitview.orthogonalEndSash = boundarySashes.orthogonalEnd;
118
- for (let index = 0; index < this.children.length; index++) {
119
- const child = this.children[index];
120
- const first = index === 0;
121
- const last = index === this.children.length - 1;
122
- child.boundarySashes = {
123
- start: boundarySashes.orthogonalStart,
124
- end: boundarySashes.orthogonalEnd,
125
- orthogonalStart: first ? boundarySashes.start : child.boundarySashes.orthogonalStart,
126
- orthogonalEnd: last ? boundarySashes.end : child.boundarySashes.orthogonalEnd,
127
- };
128
- }
129
- }
130
- get edgeSnapping() { return this._edgeSnapping; }
131
- set edgeSnapping(edgeSnapping) {
132
- if (this._edgeSnapping === edgeSnapping) {
133
- return;
134
- }
135
- this._edgeSnapping = edgeSnapping;
136
- for (const child of this.children) {
137
- if (child instanceof BranchNode) {
138
- child.edgeSnapping = edgeSnapping;
139
- }
140
- }
141
- this.updateSplitviewEdgeSnappingEnablement();
142
- }
143
- constructor(orientation, layoutController, styles, splitviewProportionalLayout, size = 0, orthogonalSize = 0, edgeSnapping = false, childDescriptors) {
144
- this.orientation = orientation;
145
- this.layoutController = layoutController;
146
- this.splitviewProportionalLayout = splitviewProportionalLayout;
147
- this.children = [];
148
- this._absoluteOffset = 0;
149
- this._absoluteOrthogonalOffset = 0;
150
- this.absoluteOrthogonalSize = 0;
151
- this._onDidChange = ( new Emitter());
152
- this.onDidChange = this._onDidChange.event;
153
- this._onDidScroll = ( new Emitter());
154
- this.onDidScrollDisposable = Disposable.None;
155
- this.onDidScroll = this._onDidScroll.event;
156
- this.childrenChangeDisposable = Disposable.None;
157
- this._onDidSashReset = ( new Emitter());
158
- this.onDidSashReset = this._onDidSashReset.event;
159
- this.splitviewSashResetDisposable = Disposable.None;
160
- this.childrenSashResetDisposable = Disposable.None;
161
- this._boundarySashes = {};
162
- this._edgeSnapping = false;
163
- this._styles = styles;
164
- this._size = size;
165
- this._orthogonalSize = orthogonalSize;
166
- this.element = $('.monaco-grid-branch-node');
167
- if (!childDescriptors) {
168
- this.splitview = ( new SplitView(
169
- this.element,
170
- { orientation, styles, proportionalLayout: splitviewProportionalLayout }
171
- ));
172
- this.splitview.layout(size, { orthogonalSize, absoluteOffset: 0, absoluteOrthogonalOffset: 0, absoluteSize: size, absoluteOrthogonalSize: orthogonalSize });
173
- }
174
- else {
175
- const descriptor = {
176
- views: ( childDescriptors.map(childDescriptor => {
177
- return {
178
- view: childDescriptor.node,
179
- size: childDescriptor.node.size,
180
- visible: childDescriptor.node instanceof LeafNode && childDescriptor.visible !== undefined ? childDescriptor.visible : true
181
- };
182
- })),
183
- size: this.orthogonalSize
184
- };
185
- const options = { proportionalLayout: splitviewProportionalLayout, orientation, styles };
186
- this.children = ( childDescriptors.map(c => c.node));
187
- this.splitview = ( new SplitView(this.element, { ...options, descriptor }));
188
- this.children.forEach((node, index) => {
189
- const first = index === 0;
190
- const last = index === this.children.length;
191
- node.boundarySashes = {
192
- start: this.boundarySashes.orthogonalStart,
193
- end: this.boundarySashes.orthogonalEnd,
194
- orthogonalStart: first ? this.boundarySashes.start : this.splitview.sashes[index - 1],
195
- orthogonalEnd: last ? this.boundarySashes.end : this.splitview.sashes[index],
196
- };
197
- });
198
- }
199
- const onDidSashReset = ( Event.map(this.splitview.onDidSashReset, i => [i]));
200
- this.splitviewSashResetDisposable = onDidSashReset(this._onDidSashReset.fire, this._onDidSashReset);
201
- this.updateChildrenEvents();
202
- }
203
- style(styles) {
204
- this._styles = styles;
205
- this.splitview.style(styles);
206
- for (const child of this.children) {
207
- if (child instanceof BranchNode) {
208
- child.style(styles);
209
- }
210
- }
211
- }
212
- layout(size, offset, ctx) {
213
- if (!this.layoutController.isLayoutEnabled) {
214
- return;
215
- }
216
- if (typeof ctx === 'undefined') {
217
- throw new Error('Invalid state');
218
- }
219
- this._size = ctx.orthogonalSize;
220
- this._orthogonalSize = size;
221
- this._absoluteOffset = ctx.absoluteOffset + offset;
222
- this._absoluteOrthogonalOffset = ctx.absoluteOrthogonalOffset;
223
- this.absoluteOrthogonalSize = ctx.absoluteOrthogonalSize;
224
- this.splitview.layout(ctx.orthogonalSize, {
225
- orthogonalSize: size,
226
- absoluteOffset: this._absoluteOrthogonalOffset,
227
- absoluteOrthogonalOffset: this._absoluteOffset,
228
- absoluteSize: ctx.absoluteOrthogonalSize,
229
- absoluteOrthogonalSize: ctx.absoluteSize
230
- });
231
- this.updateSplitviewEdgeSnappingEnablement();
232
- }
233
- setVisible(visible) {
234
- for (const child of this.children) {
235
- child.setVisible(visible);
236
- }
237
- }
238
- addChild(node, size, index, skipLayout) {
239
- index = validateIndex(index, this.children.length);
240
- this.splitview.addView(node, size, index, skipLayout);
241
- this.children.splice(index, 0, node);
242
- this.updateBoundarySashes();
243
- this.onDidChildrenChange();
244
- }
245
- removeChild(index, sizing) {
246
- index = validateIndex(index, this.children.length);
247
- this.splitview.removeView(index, sizing);
248
- this.children.splice(index, 1);
249
- this.updateBoundarySashes();
250
- this.onDidChildrenChange();
251
- }
252
- moveChild(from, to) {
253
- from = validateIndex(from, this.children.length);
254
- to = validateIndex(to, this.children.length);
255
- if (from === to) {
256
- return;
257
- }
258
- if (from < to) {
259
- to -= 1;
260
- }
261
- this.splitview.moveView(from, to);
262
- this.children.splice(to, 0, this.children.splice(from, 1)[0]);
263
- this.updateBoundarySashes();
264
- this.onDidChildrenChange();
265
- }
266
- swapChildren(from, to) {
267
- from = validateIndex(from, this.children.length);
268
- to = validateIndex(to, this.children.length);
269
- if (from === to) {
270
- return;
271
- }
272
- this.splitview.swapViews(from, to);
273
- [this.children[from].boundarySashes, this.children[to].boundarySashes]
274
- = [this.children[from].boundarySashes, this.children[to].boundarySashes];
275
- [this.children[from], this.children[to]] = [this.children[to], this.children[from]];
276
- this.onDidChildrenChange();
277
- }
278
- resizeChild(index, size) {
279
- index = validateIndex(index, this.children.length);
280
- this.splitview.resizeView(index, size);
281
- }
282
- isChildSizeMaximized(index) {
283
- return this.splitview.isViewSizeMaximized(index);
284
- }
285
- distributeViewSizes(recursive = false) {
286
- this.splitview.distributeViewSizes();
287
- if (recursive) {
288
- for (const child of this.children) {
289
- if (child instanceof BranchNode) {
290
- child.distributeViewSizes(true);
291
- }
292
- }
293
- }
294
- }
295
- getChildSize(index) {
296
- index = validateIndex(index, this.children.length);
297
- return this.splitview.getViewSize(index);
298
- }
299
- isChildVisible(index) {
300
- index = validateIndex(index, this.children.length);
301
- return this.splitview.isViewVisible(index);
302
- }
303
- setChildVisible(index, visible) {
304
- index = validateIndex(index, this.children.length);
305
- if (this.splitview.isViewVisible(index) === visible) {
306
- return;
307
- }
308
- this.splitview.setViewVisible(index, visible);
309
- }
310
- getChildCachedVisibleSize(index) {
311
- index = validateIndex(index, this.children.length);
312
- return this.splitview.getViewCachedVisibleSize(index);
313
- }
314
- updateBoundarySashes() {
315
- for (let i = 0; i < this.children.length; i++) {
316
- this.children[i].boundarySashes = {
317
- start: this.boundarySashes.orthogonalStart,
318
- end: this.boundarySashes.orthogonalEnd,
319
- orthogonalStart: i === 0 ? this.boundarySashes.start : this.splitview.sashes[i - 1],
320
- orthogonalEnd: i === this.children.length - 1 ? this.boundarySashes.end : this.splitview.sashes[i],
321
- };
322
- }
323
- }
324
- onDidChildrenChange() {
325
- this.updateChildrenEvents();
326
- this._onDidChange.fire(undefined);
327
- }
328
- updateChildrenEvents() {
329
- const onDidChildrenChange = ( Event.map(Event.any(...( this.children.map(c => c.onDidChange))), () => undefined));
330
- this.childrenChangeDisposable.dispose();
331
- this.childrenChangeDisposable = onDidChildrenChange(this._onDidChange.fire, this._onDidChange);
332
- const onDidChildrenSashReset = Event.any(...( this.children.map((c, i) => ( Event.map(c.onDidSashReset, location => [i, ...location])))));
333
- this.childrenSashResetDisposable.dispose();
334
- this.childrenSashResetDisposable = onDidChildrenSashReset(this._onDidSashReset.fire, this._onDidSashReset);
335
- const onDidScroll = Event.any(Event.signal(this.splitview.onDidScroll), ...( this.children.map(c => c.onDidScroll)));
336
- this.onDidScrollDisposable.dispose();
337
- this.onDidScrollDisposable = onDidScroll(this._onDidScroll.fire, this._onDidScroll);
338
- }
339
- trySet2x2(other) {
340
- if (this.children.length !== 2 || other.children.length !== 2) {
341
- return Disposable.None;
342
- }
343
- if (this.getChildSize(0) !== other.getChildSize(0)) {
344
- return Disposable.None;
345
- }
346
- const [firstChild, secondChild] = this.children;
347
- const [otherFirstChild, otherSecondChild] = other.children;
348
- if (!(firstChild instanceof LeafNode) || !(secondChild instanceof LeafNode)) {
349
- return Disposable.None;
350
- }
351
- if (!(otherFirstChild instanceof LeafNode) || !(otherSecondChild instanceof LeafNode)) {
352
- return Disposable.None;
353
- }
354
- if (this.orientation === 0 ) {
355
- secondChild.linkedWidthNode = otherFirstChild.linkedHeightNode = firstChild;
356
- firstChild.linkedWidthNode = otherSecondChild.linkedHeightNode = secondChild;
357
- otherSecondChild.linkedWidthNode = firstChild.linkedHeightNode = otherFirstChild;
358
- otherFirstChild.linkedWidthNode = secondChild.linkedHeightNode = otherSecondChild;
359
- }
360
- else {
361
- otherFirstChild.linkedWidthNode = secondChild.linkedHeightNode = firstChild;
362
- otherSecondChild.linkedWidthNode = firstChild.linkedHeightNode = secondChild;
363
- firstChild.linkedWidthNode = otherSecondChild.linkedHeightNode = otherFirstChild;
364
- secondChild.linkedWidthNode = otherFirstChild.linkedHeightNode = otherSecondChild;
365
- }
366
- const mySash = this.splitview.sashes[0];
367
- const otherSash = other.splitview.sashes[0];
368
- mySash.linkedSash = otherSash;
369
- otherSash.linkedSash = mySash;
370
- this._onDidChange.fire(undefined);
371
- other._onDidChange.fire(undefined);
372
- return toDisposable(() => {
373
- mySash.linkedSash = otherSash.linkedSash = undefined;
374
- firstChild.linkedHeightNode = firstChild.linkedWidthNode = undefined;
375
- secondChild.linkedHeightNode = secondChild.linkedWidthNode = undefined;
376
- otherFirstChild.linkedHeightNode = otherFirstChild.linkedWidthNode = undefined;
377
- otherSecondChild.linkedHeightNode = otherSecondChild.linkedWidthNode = undefined;
378
- });
379
- }
380
- updateSplitviewEdgeSnappingEnablement() {
381
- this.splitview.startSnappingEnabled = this._edgeSnapping || this._absoluteOrthogonalOffset > 0;
382
- this.splitview.endSnappingEnabled = this._edgeSnapping || this._absoluteOrthogonalOffset + this._size < this.absoluteOrthogonalSize;
383
- }
384
- dispose() {
385
- for (const child of this.children) {
386
- child.dispose();
387
- }
388
- this._onDidChange.dispose();
389
- this._onDidSashReset.dispose();
390
- this.splitviewSashResetDisposable.dispose();
391
- this.childrenSashResetDisposable.dispose();
392
- this.childrenChangeDisposable.dispose();
393
- this.onDidScrollDisposable.dispose();
394
- this.splitview.dispose();
395
- }
396
- }
397
- function createLatchedOnDidChangeViewEvent(view) {
398
- const [onDidChangeViewConstraints, onDidSetViewSize] = Event.split(view.onDidChange, isUndefined);
399
- return Event.any(onDidSetViewSize, ( Event.map(Event.latch(( Event.map(
400
- onDidChangeViewConstraints,
401
- _ => ([view.minimumWidth, view.maximumWidth, view.minimumHeight, view.maximumHeight])
402
- )), equals), _ => undefined)));
403
- }
404
- class LeafNode {
405
- get size() { return this._size; }
406
- get orthogonalSize() { return this._orthogonalSize; }
407
- get linkedWidthNode() { return this._linkedWidthNode; }
408
- set linkedWidthNode(node) {
409
- this._onDidLinkedWidthNodeChange.input = node ? node._onDidViewChange : Event.None;
410
- this._linkedWidthNode = node;
411
- this._onDidSetLinkedNode.fire(undefined);
412
- }
413
- get linkedHeightNode() { return this._linkedHeightNode; }
414
- set linkedHeightNode(node) {
415
- this._onDidLinkedHeightNodeChange.input = node ? node._onDidViewChange : Event.None;
416
- this._linkedHeightNode = node;
417
- this._onDidSetLinkedNode.fire(undefined);
418
- }
419
- constructor(view, orientation, layoutController, orthogonalSize, size = 0) {
420
- this.view = view;
421
- this.orientation = orientation;
422
- this.layoutController = layoutController;
423
- this._size = 0;
424
- this.absoluteOffset = 0;
425
- this.absoluteOrthogonalOffset = 0;
426
- this.onDidScroll = Event.None;
427
- this.onDidSashReset = Event.None;
428
- this._onDidLinkedWidthNodeChange = ( new Relay());
429
- this._linkedWidthNode = undefined;
430
- this._onDidLinkedHeightNodeChange = ( new Relay());
431
- this._linkedHeightNode = undefined;
432
- this._onDidSetLinkedNode = ( new Emitter());
433
- this.disposables = ( new DisposableStore());
434
- this._boundarySashes = {};
435
- this.cachedWidth = 0;
436
- this.cachedHeight = 0;
437
- this.cachedTop = 0;
438
- this.cachedLeft = 0;
439
- this._orthogonalSize = orthogonalSize;
440
- this._size = size;
441
- const onDidChange = createLatchedOnDidChangeViewEvent(view);
442
- this._onDidViewChange = ( Event.map(
443
- onDidChange,
444
- e => e && (this.orientation === 0 ? e.width : e.height),
445
- this.disposables
446
- ));
447
- this.onDidChange = Event.any(this._onDidViewChange, this._onDidSetLinkedNode.event, this._onDidLinkedWidthNodeChange.event, this._onDidLinkedHeightNodeChange.event);
448
- }
449
- get width() {
450
- return this.orientation === 1 ? this.orthogonalSize : this.size;
451
- }
452
- get height() {
453
- return this.orientation === 1 ? this.size : this.orthogonalSize;
454
- }
455
- get top() {
456
- return this.orientation === 1 ? this.absoluteOffset : this.absoluteOrthogonalOffset;
457
- }
458
- get left() {
459
- return this.orientation === 1 ? this.absoluteOrthogonalOffset : this.absoluteOffset;
460
- }
461
- get element() {
462
- return this.view.element;
463
- }
464
- get minimumWidth() {
465
- return this.linkedWidthNode ? Math.max(this.linkedWidthNode.view.minimumWidth, this.view.minimumWidth) : this.view.minimumWidth;
466
- }
467
- get maximumWidth() {
468
- return this.linkedWidthNode ? Math.min(this.linkedWidthNode.view.maximumWidth, this.view.maximumWidth) : this.view.maximumWidth;
469
- }
470
- get minimumHeight() {
471
- return this.linkedHeightNode ? Math.max(this.linkedHeightNode.view.minimumHeight, this.view.minimumHeight) : this.view.minimumHeight;
472
- }
473
- get maximumHeight() {
474
- return this.linkedHeightNode ? Math.min(this.linkedHeightNode.view.maximumHeight, this.view.maximumHeight) : this.view.maximumHeight;
475
- }
476
- get minimumSize() {
477
- return this.orientation === 1 ? this.minimumHeight : this.minimumWidth;
478
- }
479
- get maximumSize() {
480
- return this.orientation === 1 ? this.maximumHeight : this.maximumWidth;
481
- }
482
- get priority() {
483
- return this.view.priority;
484
- }
485
- get proportionalLayout() {
486
- return this.view.proportionalLayout ?? true;
487
- }
488
- get snap() {
489
- return this.view.snap;
490
- }
491
- get minimumOrthogonalSize() {
492
- return this.orientation === 1 ? this.minimumWidth : this.minimumHeight;
493
- }
494
- get maximumOrthogonalSize() {
495
- return this.orientation === 1 ? this.maximumWidth : this.maximumHeight;
496
- }
497
- get boundarySashes() { return this._boundarySashes; }
498
- set boundarySashes(boundarySashes) {
499
- this._boundarySashes = boundarySashes;
500
- this.view.setBoundarySashes?.(toAbsoluteBoundarySashes(boundarySashes, this.orientation));
501
- }
502
- layout(size, offset, ctx) {
503
- if (!this.layoutController.isLayoutEnabled) {
504
- return;
505
- }
506
- if (typeof ctx === 'undefined') {
507
- throw new Error('Invalid state');
508
- }
509
- this._size = size;
510
- this._orthogonalSize = ctx.orthogonalSize;
511
- this.absoluteOffset = ctx.absoluteOffset + offset;
512
- this.absoluteOrthogonalOffset = ctx.absoluteOrthogonalOffset;
513
- this._layout(this.width, this.height, this.top, this.left);
514
- }
515
- _layout(width, height, top, left) {
516
- if (this.cachedWidth === width && this.cachedHeight === height && this.cachedTop === top && this.cachedLeft === left) {
517
- return;
518
- }
519
- this.cachedWidth = width;
520
- this.cachedHeight = height;
521
- this.cachedTop = top;
522
- this.cachedLeft = left;
523
- this.view.layout(width, height, top, left);
524
- }
525
- setVisible(visible) {
526
- this.view.setVisible?.(visible);
527
- }
528
- dispose() {
529
- this.disposables.dispose();
530
- }
531
- }
532
- function flipNode(node, size, orthogonalSize) {
533
- if (node instanceof BranchNode) {
534
- const result = ( new BranchNode(
535
- orthogonal(node.orientation),
536
- node.layoutController,
537
- node.styles,
538
- node.splitviewProportionalLayout,
539
- size,
540
- orthogonalSize,
541
- node.edgeSnapping
542
- ));
543
- let totalSize = 0;
544
- for (let i = node.children.length - 1; i >= 0; i--) {
545
- const child = node.children[i];
546
- const childSize = child instanceof BranchNode ? child.orthogonalSize : child.size;
547
- let newSize = node.size === 0 ? 0 : Math.round((size * childSize) / node.size);
548
- totalSize += newSize;
549
- if (i === 0) {
550
- newSize += size - totalSize;
551
- }
552
- result.addChild(flipNode(child, orthogonalSize, newSize), newSize, 0, true);
553
- }
554
- return result;
555
- }
556
- else {
557
- return ( new LeafNode(
558
- node.view,
559
- orthogonal(node.orientation),
560
- node.layoutController,
561
- orthogonalSize
562
- ));
563
- }
564
- }
565
- class GridView {
566
- get root() { return this._root; }
567
- set root(root) {
568
- const oldRoot = this._root;
569
- if (oldRoot) {
570
- this.element.removeChild(oldRoot.element);
571
- oldRoot.dispose();
572
- }
573
- this._root = root;
574
- this.element.appendChild(root.element);
575
- this.onDidSashResetRelay.input = root.onDidSashReset;
576
- this._onDidChange.input = ( Event.map(root.onDidChange, () => undefined));
577
- this._onDidScroll.input = root.onDidScroll;
578
- }
579
- get width() { return this.root.width; }
580
- get height() { return this.root.height; }
581
- get minimumWidth() { return this.root.minimumWidth; }
582
- get minimumHeight() { return this.root.minimumHeight; }
583
- get maximumWidth() { return this.root.maximumHeight; }
584
- get maximumHeight() { return this.root.maximumHeight; }
585
- get orientation() { return this._root.orientation; }
586
- get boundarySashes() { return this._boundarySashes; }
587
- set orientation(orientation) {
588
- if (this._root.orientation === orientation) {
589
- return;
590
- }
591
- const { size, orthogonalSize, absoluteOffset, absoluteOrthogonalOffset } = this._root;
592
- this.root = flipNode(this._root, orthogonalSize, size);
593
- this.root.layout(size, 0, { orthogonalSize, absoluteOffset: absoluteOrthogonalOffset, absoluteOrthogonalOffset: absoluteOffset, absoluteSize: size, absoluteOrthogonalSize: orthogonalSize });
594
- this.boundarySashes = this.boundarySashes;
595
- }
596
- set boundarySashes(boundarySashes) {
597
- this._boundarySashes = boundarySashes;
598
- this.root.boundarySashes = fromAbsoluteBoundarySashes(boundarySashes, this.orientation);
599
- }
600
- set edgeSnapping(edgeSnapping) {
601
- this.root.edgeSnapping = edgeSnapping;
602
- }
603
- constructor(options = {}) {
604
- this.onDidSashResetRelay = ( new Relay());
605
- this._onDidScroll = ( new Relay());
606
- this._onDidChange = ( new Relay());
607
- this._boundarySashes = {};
608
- this.disposable2x2 = Disposable.None;
609
- this.onDidSashReset = this.onDidSashResetRelay.event;
610
- this.onDidScroll = this._onDidScroll.event;
611
- this.onDidChange = this._onDidChange.event;
612
- this.element = $('.monaco-grid-view');
613
- this.styles = options.styles || defaultStyles;
614
- this.proportionalLayout = typeof options.proportionalLayout !== 'undefined' ? !!options.proportionalLayout : true;
615
- this.layoutController = ( new LayoutController(false));
616
- this.root = ( new BranchNode(
617
- 0 ,
618
- this.layoutController,
619
- this.styles,
620
- this.proportionalLayout
621
- ));
622
- }
623
- style(styles) {
624
- this.styles = styles;
625
- this.root.style(styles);
626
- }
627
- layout(width, height, top = 0, left = 0) {
628
- this.layoutController.isLayoutEnabled = true;
629
- const [size, orthogonalSize, offset, orthogonalOffset] = this.root.orientation === 1 ? [height, width, top, left] : [width, height, left, top];
630
- this.root.layout(size, 0, { orthogonalSize, absoluteOffset: offset, absoluteOrthogonalOffset: orthogonalOffset, absoluteSize: size, absoluteOrthogonalSize: orthogonalSize });
631
- }
632
- addView(view, size, location) {
633
- this.disposable2x2.dispose();
634
- this.disposable2x2 = Disposable.None;
635
- const [rest, index] = tail2(location);
636
- const [pathToParent, parent] = this.getNode(rest);
637
- if (parent instanceof BranchNode) {
638
- const node = ( new LeafNode(
639
- view,
640
- orthogonal(parent.orientation),
641
- this.layoutController,
642
- parent.orthogonalSize
643
- ));
644
- parent.addChild(node, size, index);
645
- }
646
- else {
647
- const [, grandParent] = tail2(pathToParent);
648
- const [, parentIndex] = tail2(rest);
649
- let newSiblingSize = 0;
650
- const newSiblingCachedVisibleSize = grandParent.getChildCachedVisibleSize(parentIndex);
651
- if (typeof newSiblingCachedVisibleSize === 'number') {
652
- newSiblingSize = Sizing.Invisible(newSiblingCachedVisibleSize);
653
- }
654
- grandParent.removeChild(parentIndex);
655
- const newParent = ( new BranchNode(
656
- parent.orientation,
657
- parent.layoutController,
658
- this.styles,
659
- this.proportionalLayout,
660
- parent.size,
661
- parent.orthogonalSize,
662
- grandParent.edgeSnapping
663
- ));
664
- grandParent.addChild(newParent, parent.size, parentIndex);
665
- const newSibling = ( new LeafNode(parent.view, grandParent.orientation, this.layoutController, parent.size));
666
- newParent.addChild(newSibling, newSiblingSize, 0);
667
- if (typeof size !== 'number' && size.type === 'split') {
668
- size = Sizing.Split(0);
669
- }
670
- const node = ( new LeafNode(view, grandParent.orientation, this.layoutController, parent.size));
671
- newParent.addChild(node, size, index);
672
- }
673
- this.trySet2x2();
674
- }
675
- removeView(location, sizing) {
676
- this.disposable2x2.dispose();
677
- this.disposable2x2 = Disposable.None;
678
- const [rest, index] = tail2(location);
679
- const [pathToParent, parent] = this.getNode(rest);
680
- if (!(parent instanceof BranchNode)) {
681
- throw new Error('Invalid location');
682
- }
683
- const node = parent.children[index];
684
- if (!(node instanceof LeafNode)) {
685
- throw new Error('Invalid location');
686
- }
687
- parent.removeChild(index, sizing);
688
- if (parent.children.length === 0) {
689
- throw new Error('Invalid grid state');
690
- }
691
- if (parent.children.length > 1) {
692
- this.trySet2x2();
693
- return node.view;
694
- }
695
- if (pathToParent.length === 0) {
696
- const sibling = parent.children[0];
697
- if (sibling instanceof LeafNode) {
698
- return node.view;
699
- }
700
- parent.removeChild(0);
701
- this.root = sibling;
702
- this.boundarySashes = this.boundarySashes;
703
- this.trySet2x2();
704
- return node.view;
705
- }
706
- const [, grandParent] = tail2(pathToParent);
707
- const [, parentIndex] = tail2(rest);
708
- const sibling = parent.children[0];
709
- const isSiblingVisible = parent.isChildVisible(0);
710
- parent.removeChild(0);
711
- const sizes = ( grandParent.children.map((_, i) => grandParent.getChildSize(i)));
712
- grandParent.removeChild(parentIndex, sizing);
713
- if (sibling instanceof BranchNode) {
714
- sizes.splice(parentIndex, 1, ...( sibling.children.map(c => c.size)));
715
- for (let i = 0; i < sibling.children.length; i++) {
716
- const child = sibling.children[i];
717
- grandParent.addChild(child, child.size, parentIndex + i);
718
- }
719
- }
720
- else {
721
- const newSibling = ( new LeafNode(
722
- sibling.view,
723
- orthogonal(sibling.orientation),
724
- this.layoutController,
725
- sibling.size
726
- ));
727
- const sizing = isSiblingVisible ? sibling.orthogonalSize : Sizing.Invisible(sibling.orthogonalSize);
728
- grandParent.addChild(newSibling, sizing, parentIndex);
729
- }
730
- for (let i = 0; i < sizes.length; i++) {
731
- grandParent.resizeChild(i, sizes[i]);
732
- }
733
- this.trySet2x2();
734
- return node.view;
735
- }
736
- moveView(parentLocation, from, to) {
737
- const [, parent] = this.getNode(parentLocation);
738
- if (!(parent instanceof BranchNode)) {
739
- throw new Error('Invalid location');
740
- }
741
- parent.moveChild(from, to);
742
- this.trySet2x2();
743
- }
744
- swapViews(from, to) {
745
- const [fromRest, fromIndex] = tail2(from);
746
- const [, fromParent] = this.getNode(fromRest);
747
- if (!(fromParent instanceof BranchNode)) {
748
- throw new Error('Invalid from location');
749
- }
750
- const fromSize = fromParent.getChildSize(fromIndex);
751
- const fromNode = fromParent.children[fromIndex];
752
- if (!(fromNode instanceof LeafNode)) {
753
- throw new Error('Invalid from location');
754
- }
755
- const [toRest, toIndex] = tail2(to);
756
- const [, toParent] = this.getNode(toRest);
757
- if (!(toParent instanceof BranchNode)) {
758
- throw new Error('Invalid to location');
759
- }
760
- const toSize = toParent.getChildSize(toIndex);
761
- const toNode = toParent.children[toIndex];
762
- if (!(toNode instanceof LeafNode)) {
763
- throw new Error('Invalid to location');
764
- }
765
- if (fromParent === toParent) {
766
- fromParent.swapChildren(fromIndex, toIndex);
767
- }
768
- else {
769
- fromParent.removeChild(fromIndex);
770
- toParent.removeChild(toIndex);
771
- fromParent.addChild(toNode, fromSize, fromIndex);
772
- toParent.addChild(fromNode, toSize, toIndex);
773
- }
774
- this.trySet2x2();
775
- }
776
- resizeView(location, size) {
777
- const [rest, index] = tail2(location);
778
- const [pathToParent, parent] = this.getNode(rest);
779
- if (!(parent instanceof BranchNode)) {
780
- throw new Error('Invalid location');
781
- }
782
- if (!size.width && !size.height) {
783
- return;
784
- }
785
- const [parentSize, grandParentSize] = parent.orientation === 1 ? [size.width, size.height] : [size.height, size.width];
786
- if (typeof grandParentSize === 'number' && pathToParent.length > 0) {
787
- const [, grandParent] = tail2(pathToParent);
788
- const [, parentIndex] = tail2(rest);
789
- grandParent.resizeChild(parentIndex, grandParentSize);
790
- }
791
- if (typeof parentSize === 'number') {
792
- parent.resizeChild(index, parentSize);
793
- }
794
- this.trySet2x2();
795
- }
796
- getViewSize(location) {
797
- if (!location) {
798
- return { width: this.root.width, height: this.root.height };
799
- }
800
- const [, node] = this.getNode(location);
801
- return { width: node.width, height: node.height };
802
- }
803
- getViewCachedVisibleSize(location) {
804
- const [rest, index] = tail2(location);
805
- const [, parent] = this.getNode(rest);
806
- if (!(parent instanceof BranchNode)) {
807
- throw new Error('Invalid location');
808
- }
809
- return parent.getChildCachedVisibleSize(index);
810
- }
811
- maximizeViewSize(location) {
812
- const [ancestors, node] = this.getNode(location);
813
- if (!(node instanceof LeafNode)) {
814
- throw new Error('Invalid location');
815
- }
816
- for (let i = 0; i < ancestors.length; i++) {
817
- ancestors[i].resizeChild(location[i], Number.POSITIVE_INFINITY);
818
- }
819
- }
820
- isViewSizeMaximized(location) {
821
- const [ancestors, node] = this.getNode(location);
822
- if (!(node instanceof LeafNode)) {
823
- throw new Error('Invalid location');
824
- }
825
- for (let i = 0; i < ancestors.length; i++) {
826
- if (!ancestors[i].isChildSizeMaximized(location[i])) {
827
- return false;
828
- }
829
- }
830
- return true;
831
- }
832
- distributeViewSizes(location) {
833
- if (!location) {
834
- this.root.distributeViewSizes(true);
835
- return;
836
- }
837
- const [, node] = this.getNode(location);
838
- if (!(node instanceof BranchNode)) {
839
- throw new Error('Invalid location');
840
- }
841
- node.distributeViewSizes();
842
- this.trySet2x2();
843
- }
844
- isViewVisible(location) {
845
- const [rest, index] = tail2(location);
846
- const [, parent] = this.getNode(rest);
847
- if (!(parent instanceof BranchNode)) {
848
- throw new Error('Invalid from location');
849
- }
850
- return parent.isChildVisible(index);
851
- }
852
- setViewVisible(location, visible) {
853
- const [rest, index] = tail2(location);
854
- const [, parent] = this.getNode(rest);
855
- if (!(parent instanceof BranchNode)) {
856
- throw new Error('Invalid from location');
857
- }
858
- parent.setChildVisible(index, visible);
859
- }
860
- getView(location) {
861
- const node = location ? this.getNode(location)[1] : this._root;
862
- return this._getViews(node, this.orientation);
863
- }
864
- static deserialize(json, deserializer, options = {}) {
865
- if (typeof json.orientation !== 'number') {
866
- throw new Error('Invalid JSON: \'orientation\' property must be a number.');
867
- }
868
- else if (typeof json.width !== 'number') {
869
- throw new Error('Invalid JSON: \'width\' property must be a number.');
870
- }
871
- else if (typeof json.height !== 'number') {
872
- throw new Error('Invalid JSON: \'height\' property must be a number.');
873
- }
874
- else if (json.root?.type !== 'branch') {
875
- throw new Error('Invalid JSON: \'root\' property must have \'type\' value of branch.');
876
- }
877
- const orientation = json.orientation;
878
- const height = json.height;
879
- const result = ( new GridView(options));
880
- result._deserialize(json.root, orientation, deserializer, height);
881
- return result;
882
- }
883
- _deserialize(root, orientation, deserializer, orthogonalSize) {
884
- this.root = this._deserializeNode(root, orientation, deserializer, orthogonalSize);
885
- }
886
- _deserializeNode(node, orientation, deserializer, orthogonalSize) {
887
- let result;
888
- if (node.type === 'branch') {
889
- const serializedChildren = node.data;
890
- const children = ( serializedChildren.map(serializedChild => {
891
- return {
892
- node: this._deserializeNode(serializedChild, orthogonal(orientation), deserializer, node.size),
893
- visible: serializedChild.visible
894
- };
895
- }));
896
- result = ( new BranchNode(
897
- orientation,
898
- this.layoutController,
899
- this.styles,
900
- this.proportionalLayout,
901
- node.size,
902
- orthogonalSize,
903
- undefined,
904
- children
905
- ));
906
- }
907
- else {
908
- result = ( new LeafNode(
909
- deserializer.fromJSON(node.data),
910
- orientation,
911
- this.layoutController,
912
- orthogonalSize,
913
- node.size
914
- ));
915
- }
916
- return result;
917
- }
918
- _getViews(node, orientation, cachedVisibleSize) {
919
- const box = { top: node.top, left: node.left, width: node.width, height: node.height };
920
- if (node instanceof LeafNode) {
921
- return { view: node.view, box, cachedVisibleSize };
922
- }
923
- const children = [];
924
- for (let i = 0; i < node.children.length; i++) {
925
- const child = node.children[i];
926
- const cachedVisibleSize = node.getChildCachedVisibleSize(i);
927
- children.push(this._getViews(child, orthogonal(orientation), cachedVisibleSize));
928
- }
929
- return { children, box };
930
- }
931
- getNode(location, node = this.root, path = []) {
932
- if (location.length === 0) {
933
- return [path, node];
934
- }
935
- if (!(node instanceof BranchNode)) {
936
- throw new Error('Invalid location');
937
- }
938
- const [index, ...rest] = location;
939
- if (index < 0 || index >= node.children.length) {
940
- throw new Error('Invalid location');
941
- }
942
- const child = node.children[index];
943
- path.push(node);
944
- return this.getNode(rest, child, path);
945
- }
946
- trySet2x2() {
947
- this.disposable2x2.dispose();
948
- this.disposable2x2 = Disposable.None;
949
- if (this.root.children.length !== 2) {
950
- return;
951
- }
952
- const [first, second] = this.root.children;
953
- if (!(first instanceof BranchNode) || !(second instanceof BranchNode)) {
954
- return;
955
- }
956
- this.disposable2x2 = first.trySet2x2(second);
957
- }
958
- getViewMap(map, node) {
959
- if (!node) {
960
- node = this.root;
961
- }
962
- if (node instanceof BranchNode) {
963
- node.children.forEach(child => this.getViewMap(map, child));
964
- }
965
- else {
966
- map.set(node.view, node.element);
967
- }
968
- }
969
- dispose() {
970
- this.onDidSashResetRelay.dispose();
971
- this.root.dispose();
972
- if (this.element && this.element.parentElement) {
973
- this.element.parentElement.removeChild(this.element);
974
- }
975
- }
976
- }
977
- export { GridView, orthogonal };