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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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,878 +0,0 @@
1
- import { Emitter, Event } from 'monaco-editor/esm/vs/base/common/event.js';
2
- import * as errors from 'monaco-editor/esm/vs/base/common/errors.js';
3
- import { Disposable, MutableDisposable, combinedDisposable, toDisposable, DisposableStore, dispose } from 'monaco-editor/esm/vs/base/common/lifecycle.js';
4
- import { RunOnceScheduler } from 'monaco-editor/esm/vs/base/common/async.js';
5
- import { whenProviderRegistered } from 'monaco-editor/esm/vs/platform/files/common/files.js';
6
- import { UserSettings, ConfigurationModelParser, ConfigurationModel } from 'monaco-editor/esm/vs/platform/configuration/common/configurationModels.js';
7
- import { WorkspaceConfigurationModelParser, StandaloneConfigurationModelParser } from '../common/configurationModels.js';
8
- import { APPLY_ALL_PROFILES_SETTING, REMOTE_MACHINE_SCOPES, WORKSPACE_SCOPES, FOLDER_SCOPES, FOLDER_SETTINGS_NAME, TASKS_CONFIGURATION_KEY, LAUNCH_CONFIGURATION_KEY } from '../common/configuration.js';
9
- import { Extensions, OVERRIDE_PROPERTY_REGEX } from 'monaco-editor/esm/vs/platform/configuration/common/configurationRegistry.js';
10
- import { equals } from 'monaco-editor/esm/vs/base/common/objects.js';
11
- import { hash } from 'monaco-editor/esm/vs/base/common/hash.js';
12
- import { joinPath } from 'monaco-editor/esm/vs/base/common/resources.js';
13
- import { Registry } from 'monaco-editor/esm/vs/platform/registry/common/platform.js';
14
- import { isEmptyObject, isObject } from 'monaco-editor/esm/vs/base/common/types.js';
15
- import { DefaultConfiguration as DefaultConfiguration$1 } from 'monaco-editor/esm/vs/platform/configuration/common/configurations.js';
16
- class DefaultConfiguration extends DefaultConfiguration$1 {
17
- static { this.DEFAULT_OVERRIDES_CACHE_EXISTS_KEY = 'DefaultOverridesCacheExists'; }
18
- constructor(configurationCache, environmentService) {
19
- super();
20
- this.configurationCache = configurationCache;
21
- this.configurationRegistry = ( (Registry.as(Extensions.Configuration)));
22
- this.cachedConfigurationDefaultsOverrides = {};
23
- this.cacheKey = { type: 'defaults', key: 'configurationDefaultsOverrides' };
24
- this.updateCache = false;
25
- if (environmentService.options?.configurationDefaults) {
26
- this.configurationRegistry.registerDefaultConfigurations([{ overrides: environmentService.options.configurationDefaults }]);
27
- }
28
- }
29
- getConfigurationDefaultOverrides() {
30
- return this.cachedConfigurationDefaultsOverrides;
31
- }
32
- async initialize() {
33
- await this.initializeCachedConfigurationDefaultsOverrides();
34
- return super.initialize();
35
- }
36
- reload() {
37
- this.updateCache = true;
38
- this.cachedConfigurationDefaultsOverrides = {};
39
- this.updateCachedConfigurationDefaultsOverrides();
40
- return super.reload();
41
- }
42
- hasCachedConfigurationDefaultsOverrides() {
43
- return !isEmptyObject(this.cachedConfigurationDefaultsOverrides);
44
- }
45
- initializeCachedConfigurationDefaultsOverrides() {
46
- if (!this.initiaizeCachedConfigurationDefaultsOverridesPromise) {
47
- this.initiaizeCachedConfigurationDefaultsOverridesPromise = (async () => {
48
- try {
49
- if (window.localStorage.getItem(DefaultConfiguration.DEFAULT_OVERRIDES_CACHE_EXISTS_KEY)) {
50
- const content = await this.configurationCache.read(this.cacheKey);
51
- if (content) {
52
- this.cachedConfigurationDefaultsOverrides = JSON.parse(content);
53
- }
54
- }
55
- }
56
- catch (error) { }
57
- this.cachedConfigurationDefaultsOverrides = isObject(this.cachedConfigurationDefaultsOverrides) ? this.cachedConfigurationDefaultsOverrides : {};
58
- })();
59
- }
60
- return this.initiaizeCachedConfigurationDefaultsOverridesPromise;
61
- }
62
- onDidUpdateConfiguration(properties, defaultsOverrides) {
63
- super.onDidUpdateConfiguration(properties, defaultsOverrides);
64
- if (defaultsOverrides) {
65
- this.updateCachedConfigurationDefaultsOverrides();
66
- }
67
- }
68
- async updateCachedConfigurationDefaultsOverrides() {
69
- if (!this.updateCache) {
70
- return;
71
- }
72
- const cachedConfigurationDefaultsOverrides = {};
73
- const configurationDefaultsOverrides = this.configurationRegistry.getConfigurationDefaultsOverrides();
74
- for (const [key, value] of configurationDefaultsOverrides) {
75
- if (!OVERRIDE_PROPERTY_REGEX.test(key) && value.value !== undefined) {
76
- cachedConfigurationDefaultsOverrides[key] = value.value;
77
- }
78
- }
79
- try {
80
- if (( (Object.keys(cachedConfigurationDefaultsOverrides))).length) {
81
- window.localStorage.setItem(DefaultConfiguration.DEFAULT_OVERRIDES_CACHE_EXISTS_KEY, 'yes');
82
- await this.configurationCache.write(this.cacheKey, JSON.stringify(cachedConfigurationDefaultsOverrides));
83
- }
84
- else {
85
- window.localStorage.removeItem(DefaultConfiguration.DEFAULT_OVERRIDES_CACHE_EXISTS_KEY);
86
- await this.configurationCache.remove(this.cacheKey);
87
- }
88
- }
89
- catch (error) { }
90
- }
91
- }
92
- class ApplicationConfiguration extends UserSettings {
93
- constructor(userDataProfilesService, fileService, uriIdentityService) {
94
- super(userDataProfilesService.defaultProfile.settingsResource, { scopes: [1 ] }, uriIdentityService.extUri, fileService);
95
- this._onDidChangeConfiguration = this._register(( (new Emitter())));
96
- this.onDidChangeConfiguration = this._onDidChangeConfiguration.event;
97
- this._register(this.onDidChange(() => this.reloadConfigurationScheduler.schedule()));
98
- this.reloadConfigurationScheduler = this._register(( (new RunOnceScheduler(
99
- () => this.loadConfiguration().then(configurationModel => this._onDidChangeConfiguration.fire(configurationModel)),
100
- 50
101
- ))));
102
- }
103
- async initialize() {
104
- return this.loadConfiguration();
105
- }
106
- async loadConfiguration() {
107
- const model = await super.loadConfiguration();
108
- const value = model.getValue(APPLY_ALL_PROFILES_SETTING);
109
- const allProfilesSettings = Array.isArray(value) ? value : [];
110
- return this.parseOptions.include || allProfilesSettings.length
111
- ? this.reparse({ ...this.parseOptions, include: allProfilesSettings })
112
- : model;
113
- }
114
- }
115
- class UserConfiguration extends Disposable {
116
- get hasTasksLoaded() { return this.userConfiguration.value instanceof FileServiceBasedConfiguration; }
117
- constructor(settingsResource, tasksResource, configurationParseOptions, fileService, uriIdentityService, logService) {
118
- super();
119
- this.settingsResource = settingsResource;
120
- this.tasksResource = tasksResource;
121
- this.configurationParseOptions = configurationParseOptions;
122
- this.fileService = fileService;
123
- this.uriIdentityService = uriIdentityService;
124
- this.logService = logService;
125
- this._onDidChangeConfiguration = this._register(( (new Emitter())));
126
- this.onDidChangeConfiguration = this._onDidChangeConfiguration.event;
127
- this.userConfiguration = this._register(( (new MutableDisposable())));
128
- this.userConfigurationChangeDisposable = this._register(( (new MutableDisposable())));
129
- this.userConfiguration.value = ( (new UserSettings(
130
- settingsResource,
131
- this.configurationParseOptions,
132
- uriIdentityService.extUri,
133
- this.fileService
134
- )));
135
- this.userConfigurationChangeDisposable.value = this.userConfiguration.value.onDidChange(() => this.reloadConfigurationScheduler.schedule());
136
- this.reloadConfigurationScheduler = this._register(( (new RunOnceScheduler(
137
- () => this.userConfiguration.value.loadConfiguration().then(configurationModel => this._onDidChangeConfiguration.fire(configurationModel)),
138
- 50
139
- ))));
140
- }
141
- async reset(settingsResource, tasksResource, configurationParseOptions) {
142
- this.settingsResource = settingsResource;
143
- this.tasksResource = tasksResource;
144
- this.configurationParseOptions = configurationParseOptions;
145
- const folder = this.uriIdentityService.extUri.dirname(this.settingsResource);
146
- const standAloneConfigurationResources = this.tasksResource ? [[TASKS_CONFIGURATION_KEY, this.tasksResource]] : [];
147
- const fileServiceBasedConfiguration = ( (new FileServiceBasedConfiguration(
148
- (folder.toString()),
149
- this.settingsResource,
150
- standAloneConfigurationResources,
151
- this.configurationParseOptions,
152
- this.fileService,
153
- this.uriIdentityService,
154
- this.logService
155
- )));
156
- const configurationModel = await fileServiceBasedConfiguration.loadConfiguration();
157
- this.userConfiguration.value = fileServiceBasedConfiguration;
158
- if (this.userConfigurationChangeDisposable.value) {
159
- this.userConfigurationChangeDisposable.value = this.userConfiguration.value.onDidChange(() => this.reloadConfigurationScheduler.schedule());
160
- }
161
- return configurationModel;
162
- }
163
- async initialize() {
164
- return this.userConfiguration.value.loadConfiguration();
165
- }
166
- async reload() {
167
- if (this.hasTasksLoaded) {
168
- return this.userConfiguration.value.loadConfiguration();
169
- }
170
- return this.reset(this.settingsResource, this.tasksResource, this.configurationParseOptions);
171
- }
172
- reparse(parseOptions) {
173
- this.configurationParseOptions = { ...this.configurationParseOptions, ...parseOptions };
174
- return this.userConfiguration.value.reparse(this.configurationParseOptions);
175
- }
176
- getRestrictedSettings() {
177
- return this.userConfiguration.value.getRestrictedSettings();
178
- }
179
- }
180
- class FileServiceBasedConfiguration extends Disposable {
181
- constructor(name, settingsResource, standAloneConfigurationResources, configurationParseOptions, fileService, uriIdentityService, logService) {
182
- super();
183
- this.settingsResource = settingsResource;
184
- this.standAloneConfigurationResources = standAloneConfigurationResources;
185
- this.fileService = fileService;
186
- this.uriIdentityService = uriIdentityService;
187
- this.logService = logService;
188
- this._onDidChange = this._register(( (new Emitter())));
189
- this.onDidChange = this._onDidChange.event;
190
- this.allResources = [this.settingsResource, ...( (this.standAloneConfigurationResources.map(([, resource]) => resource)))];
191
- this._register(combinedDisposable(...( (this.allResources.map(
192
- resource => combinedDisposable(this.fileService.watch(uriIdentityService.extUri.dirname(resource)),
193
- this.fileService.watch(resource))
194
- )))));
195
- this._folderSettingsModelParser = ( (new ConfigurationModelParser(name)));
196
- this._folderSettingsParseOptions = configurationParseOptions;
197
- this._standAloneConfigurations = [];
198
- this._cache = ( (new ConfigurationModel()));
199
- this._register(Event.debounce(Event.any(Event.filter(this.fileService.onDidFilesChange, e => this.handleFileChangesEvent(e)), Event.filter(this.fileService.onDidRunOperation, e => this.handleFileOperationEvent(e))), () => undefined, 100)(() => this._onDidChange.fire()));
200
- }
201
- async resolveContents() {
202
- const resolveContents = async (resources) => {
203
- return Promise.all(( (resources.map(async (resource) => {
204
- try {
205
- const content = await this.fileService.readFile(resource, { atomic: true });
206
- return (
207
- (content.value.toString())
208
- );
209
- }
210
- catch (error) {
211
- this.logService.trace(`Error while resolving configuration file '${( ( resource.toString()))}': ${errors.getErrorMessage(error)}`);
212
- if (error.fileOperationResult !== 1
213
- && error.fileOperationResult !== 9 ) {
214
- this.logService.error(error);
215
- }
216
- }
217
- return '{}';
218
- }))));
219
- };
220
- const [[settingsContent], standAloneConfigurationContents] = await Promise.all([
221
- resolveContents([this.settingsResource]),
222
- resolveContents(( (this.standAloneConfigurationResources.map(([, resource]) => resource)))),
223
- ]);
224
- return [settingsContent, ( (standAloneConfigurationContents.map(
225
- (content, index) => ([this.standAloneConfigurationResources[index][0], content])
226
- )))];
227
- }
228
- async loadConfiguration() {
229
- const [settingsContent, standAloneConfigurationContents] = await this.resolveContents();
230
- this._standAloneConfigurations = [];
231
- this._folderSettingsModelParser.parse('', this._folderSettingsParseOptions);
232
- if (settingsContent !== undefined) {
233
- this._folderSettingsModelParser.parse(settingsContent, this._folderSettingsParseOptions);
234
- }
235
- for (let index = 0; index < standAloneConfigurationContents.length; index++) {
236
- const contents = standAloneConfigurationContents[index][1];
237
- if (contents !== undefined) {
238
- const standAloneConfigurationModelParser = ( (new StandaloneConfigurationModelParser(
239
- (this.standAloneConfigurationResources[index][1].toString()),
240
- this.standAloneConfigurationResources[index][0]
241
- )));
242
- standAloneConfigurationModelParser.parse(contents);
243
- this._standAloneConfigurations.push(standAloneConfigurationModelParser.configurationModel);
244
- }
245
- }
246
- this.consolidate();
247
- return this._cache;
248
- }
249
- getRestrictedSettings() {
250
- return this._folderSettingsModelParser.restrictedConfigurations;
251
- }
252
- reparse(configurationParseOptions) {
253
- const oldContents = this._folderSettingsModelParser.configurationModel.contents;
254
- this._folderSettingsParseOptions = configurationParseOptions;
255
- this._folderSettingsModelParser.reparse(this._folderSettingsParseOptions);
256
- if (!equals(oldContents, this._folderSettingsModelParser.configurationModel.contents)) {
257
- this.consolidate();
258
- }
259
- return this._cache;
260
- }
261
- consolidate() {
262
- this._cache = this._folderSettingsModelParser.configurationModel.merge(...this._standAloneConfigurations);
263
- }
264
- handleFileChangesEvent(event) {
265
- if (( (this.allResources.some(resource => event.contains(resource))))) {
266
- return true;
267
- }
268
- if (( (this.allResources.some(
269
- resource => event.contains(this.uriIdentityService.extUri.dirname(resource), 2 )
270
- )))) {
271
- return true;
272
- }
273
- return false;
274
- }
275
- handleFileOperationEvent(event) {
276
- if ((event.isOperation(0 ) || event.isOperation(3 ) || event.isOperation(1 ) || event.isOperation(4 ))
277
- && ( (this.allResources.some(
278
- resource => this.uriIdentityService.extUri.isEqual(event.resource, resource)
279
- )))) {
280
- return true;
281
- }
282
- if (event.isOperation(1 ) && ( (this.allResources.some(
283
- resource => this.uriIdentityService.extUri.isEqual(event.resource, this.uriIdentityService.extUri.dirname(resource))
284
- )))) {
285
- return true;
286
- }
287
- return false;
288
- }
289
- }
290
- class RemoteUserConfiguration extends Disposable {
291
- constructor(remoteAuthority, configurationCache, fileService, uriIdentityService, remoteAgentService) {
292
- super();
293
- this._userConfigurationInitializationPromise = null;
294
- this._onDidChangeConfiguration = this._register(( (new Emitter())));
295
- this.onDidChangeConfiguration = this._onDidChangeConfiguration.event;
296
- this._onDidInitialize = this._register(( (new Emitter())));
297
- this.onDidInitialize = this._onDidInitialize.event;
298
- this._fileService = fileService;
299
- this._userConfiguration = this._cachedConfiguration = ( (new CachedRemoteUserConfiguration(remoteAuthority, configurationCache, { scopes: REMOTE_MACHINE_SCOPES })));
300
- remoteAgentService.getEnvironment().then(async (environment) => {
301
- if (environment) {
302
- const userConfiguration = this._register(( (new FileServiceBasedRemoteUserConfiguration(
303
- environment.settingsPath,
304
- { scopes: REMOTE_MACHINE_SCOPES },
305
- this._fileService,
306
- uriIdentityService
307
- ))));
308
- this._register(userConfiguration.onDidChangeConfiguration(configurationModel => this.onDidUserConfigurationChange(configurationModel)));
309
- this._userConfigurationInitializationPromise = userConfiguration.initialize();
310
- const configurationModel = await this._userConfigurationInitializationPromise;
311
- this._userConfiguration.dispose();
312
- this._userConfiguration = userConfiguration;
313
- this.onDidUserConfigurationChange(configurationModel);
314
- this._onDidInitialize.fire(configurationModel);
315
- }
316
- });
317
- }
318
- async initialize() {
319
- if (this._userConfiguration instanceof FileServiceBasedRemoteUserConfiguration) {
320
- return this._userConfiguration.initialize();
321
- }
322
- let configurationModel = await this._userConfiguration.initialize();
323
- if (this._userConfigurationInitializationPromise) {
324
- configurationModel = await this._userConfigurationInitializationPromise;
325
- this._userConfigurationInitializationPromise = null;
326
- }
327
- return configurationModel;
328
- }
329
- reload() {
330
- return this._userConfiguration.reload();
331
- }
332
- reparse() {
333
- return this._userConfiguration.reparse({ scopes: REMOTE_MACHINE_SCOPES });
334
- }
335
- getRestrictedSettings() {
336
- return this._userConfiguration.getRestrictedSettings();
337
- }
338
- onDidUserConfigurationChange(configurationModel) {
339
- this.updateCache();
340
- this._onDidChangeConfiguration.fire(configurationModel);
341
- }
342
- async updateCache() {
343
- if (this._userConfiguration instanceof FileServiceBasedRemoteUserConfiguration) {
344
- let content;
345
- try {
346
- content = await this._userConfiguration.resolveContent();
347
- }
348
- catch (error) {
349
- if (error.fileOperationResult !== 1 ) {
350
- return;
351
- }
352
- }
353
- await this._cachedConfiguration.updateConfiguration(content);
354
- }
355
- }
356
- }
357
- class FileServiceBasedRemoteUserConfiguration extends Disposable {
358
- constructor(configurationResource, configurationParseOptions, fileService, uriIdentityService) {
359
- super();
360
- this.configurationResource = configurationResource;
361
- this.fileService = fileService;
362
- this.uriIdentityService = uriIdentityService;
363
- this._onDidChangeConfiguration = this._register(( (new Emitter())));
364
- this.onDidChangeConfiguration = this._onDidChangeConfiguration.event;
365
- this.fileWatcherDisposable = Disposable.None;
366
- this.directoryWatcherDisposable = Disposable.None;
367
- this.parser = ( (new ConfigurationModelParser( (this.configurationResource.toString()))));
368
- this.parseOptions = configurationParseOptions;
369
- this._register(fileService.onDidFilesChange(e => this.handleFileChangesEvent(e)));
370
- this._register(fileService.onDidRunOperation(e => this.handleFileOperationEvent(e)));
371
- this.reloadConfigurationScheduler = this._register(( (new RunOnceScheduler(
372
- () => this.reload().then(configurationModel => this._onDidChangeConfiguration.fire(configurationModel)),
373
- 50
374
- ))));
375
- this._register(toDisposable(() => {
376
- this.stopWatchingResource();
377
- this.stopWatchingDirectory();
378
- }));
379
- }
380
- watchResource() {
381
- this.fileWatcherDisposable = this.fileService.watch(this.configurationResource);
382
- }
383
- stopWatchingResource() {
384
- this.fileWatcherDisposable.dispose();
385
- this.fileWatcherDisposable = Disposable.None;
386
- }
387
- watchDirectory() {
388
- const directory = this.uriIdentityService.extUri.dirname(this.configurationResource);
389
- this.directoryWatcherDisposable = this.fileService.watch(directory);
390
- }
391
- stopWatchingDirectory() {
392
- this.directoryWatcherDisposable.dispose();
393
- this.directoryWatcherDisposable = Disposable.None;
394
- }
395
- async initialize() {
396
- const exists = await this.fileService.exists(this.configurationResource);
397
- this.onResourceExists(exists);
398
- return this.reload();
399
- }
400
- async resolveContent() {
401
- const content = await this.fileService.readFile(this.configurationResource, { atomic: true });
402
- return (
403
- (content.value.toString())
404
- );
405
- }
406
- async reload() {
407
- try {
408
- const content = await this.resolveContent();
409
- this.parser.parse(content, this.parseOptions);
410
- return this.parser.configurationModel;
411
- }
412
- catch (e) {
413
- return (
414
- (new ConfigurationModel())
415
- );
416
- }
417
- }
418
- reparse(configurationParseOptions) {
419
- this.parseOptions = configurationParseOptions;
420
- this.parser.reparse(this.parseOptions);
421
- return this.parser.configurationModel;
422
- }
423
- getRestrictedSettings() {
424
- return this.parser.restrictedConfigurations;
425
- }
426
- handleFileChangesEvent(event) {
427
- let affectedByChanges = event.contains(this.configurationResource, 0 );
428
- if (event.contains(this.configurationResource, 1 )) {
429
- affectedByChanges = true;
430
- this.onResourceExists(true);
431
- }
432
- else if (event.contains(this.configurationResource, 2 )) {
433
- affectedByChanges = true;
434
- this.onResourceExists(false);
435
- }
436
- if (affectedByChanges) {
437
- this.reloadConfigurationScheduler.schedule();
438
- }
439
- }
440
- handleFileOperationEvent(event) {
441
- if ((event.isOperation(0 ) || event.isOperation(3 ) || event.isOperation(1 ) || event.isOperation(4 ))
442
- && this.uriIdentityService.extUri.isEqual(event.resource, this.configurationResource)) {
443
- this.reloadConfigurationScheduler.schedule();
444
- }
445
- }
446
- onResourceExists(exists) {
447
- if (exists) {
448
- this.stopWatchingDirectory();
449
- this.watchResource();
450
- }
451
- else {
452
- this.stopWatchingResource();
453
- this.watchDirectory();
454
- }
455
- }
456
- }
457
- class CachedRemoteUserConfiguration extends Disposable {
458
- constructor(remoteAuthority, configurationCache, configurationParseOptions) {
459
- super();
460
- this.configurationCache = configurationCache;
461
- this._onDidChange = this._register(( (new Emitter())));
462
- this.onDidChange = this._onDidChange.event;
463
- this.key = { type: 'user', key: remoteAuthority };
464
- this.parser = ( (new ConfigurationModelParser('CachedRemoteUserConfiguration')));
465
- this.parseOptions = configurationParseOptions;
466
- this.configurationModel = ( (new ConfigurationModel()));
467
- }
468
- getConfigurationModel() {
469
- return this.configurationModel;
470
- }
471
- initialize() {
472
- return this.reload();
473
- }
474
- reparse(configurationParseOptions) {
475
- this.parseOptions = configurationParseOptions;
476
- this.parser.reparse(this.parseOptions);
477
- this.configurationModel = this.parser.configurationModel;
478
- return this.configurationModel;
479
- }
480
- getRestrictedSettings() {
481
- return this.parser.restrictedConfigurations;
482
- }
483
- async reload() {
484
- try {
485
- const content = await this.configurationCache.read(this.key);
486
- const parsed = JSON.parse(content);
487
- if (parsed.content) {
488
- this.parser.parse(parsed.content, this.parseOptions);
489
- this.configurationModel = this.parser.configurationModel;
490
- }
491
- }
492
- catch (e) { }
493
- return this.configurationModel;
494
- }
495
- async updateConfiguration(content) {
496
- if (content) {
497
- return this.configurationCache.write(this.key, JSON.stringify({ content }));
498
- }
499
- else {
500
- return this.configurationCache.remove(this.key);
501
- }
502
- }
503
- }
504
- class WorkspaceConfiguration extends Disposable {
505
- get initialized() { return this._initialized; }
506
- constructor(configurationCache, fileService, uriIdentityService, logService) {
507
- super();
508
- this.configurationCache = configurationCache;
509
- this.fileService = fileService;
510
- this.uriIdentityService = uriIdentityService;
511
- this.logService = logService;
512
- this._workspaceConfigurationDisposables = this._register(( (new DisposableStore())));
513
- this._workspaceIdentifier = null;
514
- this._isWorkspaceTrusted = false;
515
- this._onDidUpdateConfiguration = this._register(( (new Emitter())));
516
- this.onDidUpdateConfiguration = this._onDidUpdateConfiguration.event;
517
- this._initialized = false;
518
- this.fileService = fileService;
519
- this._workspaceConfiguration = this._cachedConfiguration = ( (new CachedWorkspaceConfiguration(configurationCache)));
520
- }
521
- async initialize(workspaceIdentifier, workspaceTrusted) {
522
- this._workspaceIdentifier = workspaceIdentifier;
523
- this._isWorkspaceTrusted = workspaceTrusted;
524
- if (!this._initialized) {
525
- if (this.configurationCache.needsCaching(this._workspaceIdentifier.configPath)) {
526
- this._workspaceConfiguration = this._cachedConfiguration;
527
- this.waitAndInitialize(this._workspaceIdentifier);
528
- }
529
- else {
530
- this.doInitialize(( (new FileServiceBasedWorkspaceConfiguration(this.fileService, this.uriIdentityService, this.logService))));
531
- }
532
- }
533
- await this.reload();
534
- }
535
- async reload() {
536
- if (this._workspaceIdentifier) {
537
- await this._workspaceConfiguration.load(this._workspaceIdentifier, { scopes: WORKSPACE_SCOPES, skipRestricted: this.isUntrusted() });
538
- }
539
- }
540
- getFolders() {
541
- return this._workspaceConfiguration.getFolders();
542
- }
543
- setFolders(folders, jsonEditingService) {
544
- if (this._workspaceIdentifier) {
545
- return jsonEditingService.write(this._workspaceIdentifier.configPath, [{ path: ['folders'], value: folders }], true)
546
- .then(() => this.reload());
547
- }
548
- return Promise.resolve();
549
- }
550
- isTransient() {
551
- return this._workspaceConfiguration.isTransient();
552
- }
553
- getConfiguration() {
554
- return this._workspaceConfiguration.getWorkspaceSettings();
555
- }
556
- updateWorkspaceTrust(trusted) {
557
- this._isWorkspaceTrusted = trusted;
558
- return this.reparseWorkspaceSettings();
559
- }
560
- reparseWorkspaceSettings() {
561
- this._workspaceConfiguration.reparseWorkspaceSettings({ scopes: WORKSPACE_SCOPES, skipRestricted: this.isUntrusted() });
562
- return this.getConfiguration();
563
- }
564
- getRestrictedSettings() {
565
- return this._workspaceConfiguration.getRestrictedSettings();
566
- }
567
- async waitAndInitialize(workspaceIdentifier) {
568
- await whenProviderRegistered(workspaceIdentifier.configPath, this.fileService);
569
- if (!(this._workspaceConfiguration instanceof FileServiceBasedWorkspaceConfiguration)) {
570
- const fileServiceBasedWorkspaceConfiguration = this._register(( (new FileServiceBasedWorkspaceConfiguration(this.fileService, this.uriIdentityService, this.logService))));
571
- await fileServiceBasedWorkspaceConfiguration.load(workspaceIdentifier, { scopes: WORKSPACE_SCOPES, skipRestricted: this.isUntrusted() });
572
- this.doInitialize(fileServiceBasedWorkspaceConfiguration);
573
- this.onDidWorkspaceConfigurationChange(false, true);
574
- }
575
- }
576
- doInitialize(fileServiceBasedWorkspaceConfiguration) {
577
- this._workspaceConfigurationDisposables.clear();
578
- this._workspaceConfiguration = this._workspaceConfigurationDisposables.add(fileServiceBasedWorkspaceConfiguration);
579
- this._workspaceConfigurationDisposables.add(this._workspaceConfiguration.onDidChange(e => this.onDidWorkspaceConfigurationChange(true, false)));
580
- this._initialized = true;
581
- }
582
- isUntrusted() {
583
- return !this._isWorkspaceTrusted;
584
- }
585
- async onDidWorkspaceConfigurationChange(reload, fromCache) {
586
- if (reload) {
587
- await this.reload();
588
- }
589
- this.updateCache();
590
- this._onDidUpdateConfiguration.fire(fromCache);
591
- }
592
- async updateCache() {
593
- if (this._workspaceIdentifier && this.configurationCache.needsCaching(this._workspaceIdentifier.configPath) && this._workspaceConfiguration instanceof FileServiceBasedWorkspaceConfiguration) {
594
- const content = await this._workspaceConfiguration.resolveContent(this._workspaceIdentifier);
595
- await this._cachedConfiguration.updateWorkspace(this._workspaceIdentifier, content);
596
- }
597
- }
598
- }
599
- class FileServiceBasedWorkspaceConfiguration extends Disposable {
600
- constructor(fileService, uriIdentityService, logService) {
601
- super();
602
- this.fileService = fileService;
603
- this.logService = logService;
604
- this._workspaceIdentifier = null;
605
- this._onDidChange = this._register(( (new Emitter())));
606
- this.onDidChange = this._onDidChange.event;
607
- this.workspaceConfigurationModelParser = ( (new WorkspaceConfigurationModelParser('')));
608
- this.workspaceSettings = ( (new ConfigurationModel()));
609
- this._register(Event.any(Event.filter(this.fileService.onDidFilesChange, e => !!this._workspaceIdentifier && e.contains(this._workspaceIdentifier.configPath)), Event.filter(this.fileService.onDidRunOperation, e => !!this._workspaceIdentifier && (e.isOperation(0 ) || e.isOperation(3 ) || e.isOperation(1 ) || e.isOperation(4 )) && uriIdentityService.extUri.isEqual(e.resource, this._workspaceIdentifier.configPath)))(() => this.reloadConfigurationScheduler.schedule()));
610
- this.reloadConfigurationScheduler = this._register(( (new RunOnceScheduler(() => this._onDidChange.fire(), 50))));
611
- this.workspaceConfigWatcher = this._register(this.watchWorkspaceConfigurationFile());
612
- }
613
- get workspaceIdentifier() {
614
- return this._workspaceIdentifier;
615
- }
616
- async resolveContent(workspaceIdentifier) {
617
- const content = await this.fileService.readFile(workspaceIdentifier.configPath, { atomic: true });
618
- return (
619
- (content.value.toString())
620
- );
621
- }
622
- async load(workspaceIdentifier, configurationParseOptions) {
623
- if (!this._workspaceIdentifier || this._workspaceIdentifier.id !== workspaceIdentifier.id) {
624
- this._workspaceIdentifier = workspaceIdentifier;
625
- this.workspaceConfigurationModelParser = ( (new WorkspaceConfigurationModelParser(this._workspaceIdentifier.id)));
626
- dispose(this.workspaceConfigWatcher);
627
- this.workspaceConfigWatcher = this._register(this.watchWorkspaceConfigurationFile());
628
- }
629
- let contents = '';
630
- try {
631
- contents = await this.resolveContent(this._workspaceIdentifier);
632
- }
633
- catch (error) {
634
- const exists = await this.fileService.exists(this._workspaceIdentifier.configPath);
635
- if (exists) {
636
- this.logService.error(error);
637
- }
638
- }
639
- this.workspaceConfigurationModelParser.parse(contents, configurationParseOptions);
640
- this.consolidate();
641
- }
642
- getConfigurationModel() {
643
- return this.workspaceConfigurationModelParser.configurationModel;
644
- }
645
- getFolders() {
646
- return this.workspaceConfigurationModelParser.folders;
647
- }
648
- isTransient() {
649
- return this.workspaceConfigurationModelParser.transient;
650
- }
651
- getWorkspaceSettings() {
652
- return this.workspaceSettings;
653
- }
654
- reparseWorkspaceSettings(configurationParseOptions) {
655
- this.workspaceConfigurationModelParser.reparseWorkspaceSettings(configurationParseOptions);
656
- this.consolidate();
657
- return this.getWorkspaceSettings();
658
- }
659
- getRestrictedSettings() {
660
- return this.workspaceConfigurationModelParser.getRestrictedWorkspaceSettings();
661
- }
662
- consolidate() {
663
- this.workspaceSettings = this.workspaceConfigurationModelParser.settingsModel.merge(this.workspaceConfigurationModelParser.launchModel, this.workspaceConfigurationModelParser.tasksModel);
664
- }
665
- watchWorkspaceConfigurationFile() {
666
- return this._workspaceIdentifier ? this.fileService.watch(this._workspaceIdentifier.configPath) : Disposable.None;
667
- }
668
- }
669
- class CachedWorkspaceConfiguration {
670
- constructor(configurationCache) {
671
- this.configurationCache = configurationCache;
672
- this.onDidChange = Event.None;
673
- this.workspaceConfigurationModelParser = ( (new WorkspaceConfigurationModelParser('')));
674
- this.workspaceSettings = ( (new ConfigurationModel()));
675
- }
676
- async load(workspaceIdentifier, configurationParseOptions) {
677
- try {
678
- const key = this.getKey(workspaceIdentifier);
679
- const contents = await this.configurationCache.read(key);
680
- const parsed = JSON.parse(contents);
681
- if (parsed.content) {
682
- this.workspaceConfigurationModelParser = ( (new WorkspaceConfigurationModelParser(key.key)));
683
- this.workspaceConfigurationModelParser.parse(parsed.content, configurationParseOptions);
684
- this.consolidate();
685
- }
686
- }
687
- catch (e) {
688
- }
689
- }
690
- get workspaceIdentifier() {
691
- return null;
692
- }
693
- getConfigurationModel() {
694
- return this.workspaceConfigurationModelParser.configurationModel;
695
- }
696
- getFolders() {
697
- return this.workspaceConfigurationModelParser.folders;
698
- }
699
- isTransient() {
700
- return this.workspaceConfigurationModelParser.transient;
701
- }
702
- getWorkspaceSettings() {
703
- return this.workspaceSettings;
704
- }
705
- reparseWorkspaceSettings(configurationParseOptions) {
706
- this.workspaceConfigurationModelParser.reparseWorkspaceSettings(configurationParseOptions);
707
- this.consolidate();
708
- return this.getWorkspaceSettings();
709
- }
710
- getRestrictedSettings() {
711
- return this.workspaceConfigurationModelParser.getRestrictedWorkspaceSettings();
712
- }
713
- consolidate() {
714
- this.workspaceSettings = this.workspaceConfigurationModelParser.settingsModel.merge(this.workspaceConfigurationModelParser.launchModel, this.workspaceConfigurationModelParser.tasksModel);
715
- }
716
- async updateWorkspace(workspaceIdentifier, content) {
717
- try {
718
- const key = this.getKey(workspaceIdentifier);
719
- if (content) {
720
- await this.configurationCache.write(key, JSON.stringify({ content }));
721
- }
722
- else {
723
- await this.configurationCache.remove(key);
724
- }
725
- }
726
- catch (error) {
727
- }
728
- }
729
- getKey(workspaceIdentifier) {
730
- return {
731
- type: 'workspaces',
732
- key: workspaceIdentifier.id
733
- };
734
- }
735
- }
736
- class CachedFolderConfiguration {
737
- constructor(folder, configFolderRelativePath, configurationParseOptions, configurationCache) {
738
- this.configurationCache = configurationCache;
739
- this.onDidChange = Event.None;
740
- this.key = { type: 'folder', key: ( (hash(( (joinPath(folder, configFolderRelativePath).toString()))).toString(16))) };
741
- this._folderSettingsModelParser = ( (new ConfigurationModelParser('CachedFolderConfiguration')));
742
- this._folderSettingsParseOptions = configurationParseOptions;
743
- this._standAloneConfigurations = [];
744
- this.configurationModel = ( (new ConfigurationModel()));
745
- }
746
- async loadConfiguration() {
747
- try {
748
- const contents = await this.configurationCache.read(this.key);
749
- const { content: configurationContents } = JSON.parse(( (contents.toString())));
750
- if (configurationContents) {
751
- for (const key of ( (Object.keys(configurationContents)))) {
752
- if (key === FOLDER_SETTINGS_NAME) {
753
- this._folderSettingsModelParser.parse(configurationContents[key], this._folderSettingsParseOptions);
754
- }
755
- else {
756
- const standAloneConfigurationModelParser = ( (new StandaloneConfigurationModelParser(key, key)));
757
- standAloneConfigurationModelParser.parse(configurationContents[key]);
758
- this._standAloneConfigurations.push(standAloneConfigurationModelParser.configurationModel);
759
- }
760
- }
761
- }
762
- this.consolidate();
763
- }
764
- catch (e) {
765
- }
766
- return this.configurationModel;
767
- }
768
- async updateConfiguration(settingsContent, standAloneConfigurationContents) {
769
- const content = {};
770
- if (settingsContent) {
771
- content[FOLDER_SETTINGS_NAME] = settingsContent;
772
- }
773
- standAloneConfigurationContents.forEach(([key, contents]) => {
774
- if (contents) {
775
- content[key] = contents;
776
- }
777
- });
778
- if (( (Object.keys(content))).length) {
779
- await this.configurationCache.write(this.key, JSON.stringify({ content }));
780
- }
781
- else {
782
- await this.configurationCache.remove(this.key);
783
- }
784
- }
785
- getRestrictedSettings() {
786
- return this._folderSettingsModelParser.restrictedConfigurations;
787
- }
788
- reparse(configurationParseOptions) {
789
- this._folderSettingsParseOptions = configurationParseOptions;
790
- this._folderSettingsModelParser.reparse(this._folderSettingsParseOptions);
791
- this.consolidate();
792
- return this.configurationModel;
793
- }
794
- consolidate() {
795
- this.configurationModel = this._folderSettingsModelParser.configurationModel.merge(...this._standAloneConfigurations);
796
- }
797
- getUnsupportedKeys() {
798
- return [];
799
- }
800
- }
801
- class FolderConfiguration extends Disposable {
802
- constructor(useCache, workspaceFolder, configFolderRelativePath, workbenchState, workspaceTrusted, fileService, uriIdentityService, logService, configurationCache) {
803
- super();
804
- this.workspaceFolder = workspaceFolder;
805
- this.workbenchState = workbenchState;
806
- this.workspaceTrusted = workspaceTrusted;
807
- this.configurationCache = configurationCache;
808
- this._onDidChange = this._register(( (new Emitter())));
809
- this.onDidChange = this._onDidChange.event;
810
- this.scopes = 3 === this.workbenchState ? FOLDER_SCOPES : WORKSPACE_SCOPES;
811
- this.configurationFolder = uriIdentityService.extUri.joinPath(workspaceFolder.uri, configFolderRelativePath);
812
- this.cachedFolderConfiguration = ( (new CachedFolderConfiguration(
813
- workspaceFolder.uri,
814
- configFolderRelativePath,
815
- { scopes: this.scopes, skipRestricted: this.isUntrusted() },
816
- configurationCache
817
- )));
818
- if (useCache && this.configurationCache.needsCaching(workspaceFolder.uri)) {
819
- this.folderConfiguration = this.cachedFolderConfiguration;
820
- whenProviderRegistered(workspaceFolder.uri, fileService)
821
- .then(() => {
822
- this.folderConfiguration = this._register(this.createFileServiceBasedConfiguration(fileService, uriIdentityService, logService));
823
- this._register(this.folderConfiguration.onDidChange(e => this.onDidFolderConfigurationChange()));
824
- this.onDidFolderConfigurationChange();
825
- });
826
- }
827
- else {
828
- this.folderConfiguration = this._register(this.createFileServiceBasedConfiguration(fileService, uriIdentityService, logService));
829
- this._register(this.folderConfiguration.onDidChange(e => this.onDidFolderConfigurationChange()));
830
- }
831
- }
832
- loadConfiguration() {
833
- return this.folderConfiguration.loadConfiguration();
834
- }
835
- updateWorkspaceTrust(trusted) {
836
- this.workspaceTrusted = trusted;
837
- return this.reparse();
838
- }
839
- reparse() {
840
- const configurationModel = this.folderConfiguration.reparse({ scopes: this.scopes, skipRestricted: this.isUntrusted() });
841
- this.updateCache();
842
- return configurationModel;
843
- }
844
- getRestrictedSettings() {
845
- return this.folderConfiguration.getRestrictedSettings();
846
- }
847
- isUntrusted() {
848
- return !this.workspaceTrusted;
849
- }
850
- onDidFolderConfigurationChange() {
851
- this.updateCache();
852
- this._onDidChange.fire();
853
- }
854
- createFileServiceBasedConfiguration(fileService, uriIdentityService, logService) {
855
- const settingsResource = uriIdentityService.extUri.joinPath(this.configurationFolder, `${FOLDER_SETTINGS_NAME}.json`);
856
- const standAloneConfigurationResources = ( ([TASKS_CONFIGURATION_KEY, LAUNCH_CONFIGURATION_KEY].map(
857
- name => ([name, uriIdentityService.extUri.joinPath(this.configurationFolder, `${name}.json`)])
858
- )));
859
- return (
860
- (new FileServiceBasedConfiguration(
861
- (this.configurationFolder.toString()),
862
- settingsResource,
863
- standAloneConfigurationResources,
864
- { scopes: this.scopes, skipRestricted: this.isUntrusted() },
865
- fileService,
866
- uriIdentityService,
867
- logService
868
- ))
869
- );
870
- }
871
- async updateCache() {
872
- if (this.configurationCache.needsCaching(this.configurationFolder) && this.folderConfiguration instanceof FileServiceBasedConfiguration) {
873
- const [settingsContent, standAloneConfigurationContents] = await this.folderConfiguration.resolveContents();
874
- this.cachedFolderConfiguration.updateConfiguration(settingsContent, standAloneConfigurationContents);
875
- }
876
- }
877
- }
878
- export { ApplicationConfiguration, DefaultConfiguration, FolderConfiguration, RemoteUserConfiguration, UserConfiguration, WorkspaceConfiguration };