@codingame/monaco-vscode-api 1.79.0-next.0 → 1.79.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 (284) hide show
  1. package/README.md +7 -5
  2. package/dist/activity.d.ts +8 -108
  3. package/dist/api.js +3 -3
  4. package/dist/colorRegistry.d.ts +2 -2
  5. package/dist/contextkey.d.ts +2 -2
  6. package/dist/default-extension.js +23 -0
  7. package/dist/editor.d.ts +4 -320
  8. package/dist/editorBrowser.d.ts +327 -10
  9. package/dist/event.d.ts +1 -1
  10. package/dist/{extension-tools-d0cfdea1.js → extension-tools-0c4c1ad7.js} +345 -210
  11. package/dist/extensions.d.ts +3 -4
  12. package/dist/extensions.d2.ts +1 -1
  13. package/dist/extensions.js +4 -37
  14. package/dist/extensionsRegistry.d.ts +1 -1
  15. package/dist/files.d.ts +2 -2
  16. package/dist/keybinding.d.ts +1 -1
  17. package/dist/languageFeatures.d.ts +6 -7
  18. package/dist/log.d.ts +1 -1
  19. package/dist/monaco-treemending.js +15 -1
  20. package/dist/monaco.d.ts +31 -32
  21. package/dist/monaco.js +62 -6
  22. package/dist/node_modules/rollup-plugin-styles/dist/runtime/inject-css.js +2 -0
  23. package/dist/override/vs/workbench/contrib/notebook/common/notebookEditorInput.js +4 -0
  24. package/dist/rollup-extension-directory-plugin.js +1 -2
  25. package/dist/rollup-vsix-plugin.js +1 -2
  26. package/dist/service-override/configuration.d.ts +2 -2
  27. package/dist/service-override/editor.d.ts +13 -0
  28. package/dist/service-override/{modelEditor.js → editor.js} +6 -62
  29. package/dist/service-override/files.d.ts +5 -5
  30. package/dist/service-override/files.js +14 -2
  31. package/dist/service-override/keybindings.js +3 -79
  32. package/dist/service-override/layout.js +6 -2
  33. package/dist/service-override/model.d.ts +7 -0
  34. package/dist/service-override/model.js +10 -0
  35. package/dist/service-override/quickaccess.d.ts +7 -0
  36. package/dist/service-override/quickaccess.js +80 -0
  37. package/dist/service-override/snippets.js +5 -1
  38. package/dist/service-override/textmate.js +7 -2
  39. package/dist/service-override/theme.d.ts +1 -1
  40. package/dist/service-override/tools/editor.js +73 -0
  41. package/dist/service-override/views.d.ts +63 -201
  42. package/dist/service-override/views.js +102 -8
  43. package/dist/services.d.ts +116 -19
  44. package/dist/vscode/vs/base/browser/ui/centered/centeredViewLayout.js +178 -0
  45. package/dist/vscode/vs/base/browser/ui/grid/grid.js +452 -0
  46. package/dist/vscode/vs/base/browser/ui/grid/gridview.css.js +4 -0
  47. package/dist/vscode/vs/base/browser/ui/grid/gridview.js +999 -0
  48. package/dist/vscode/vs/base/browser/ui/iconLabel/simpleIconLabel.js +14 -0
  49. package/dist/vscode/vs/base/browser/ui/menu/menubar.css.js +4 -0
  50. package/dist/vscode/vs/base/browser/ui/menu/menubar.js +1 -1
  51. package/dist/vscode/vs/base/browser/ui/splitview/paneview.css.js +4 -0
  52. package/dist/vscode/vs/base/browser/ui/splitview/paneview.js +1 -1
  53. package/dist/vscode/vs/platform/extensionManagement/common/extensionManagement.js +2 -1
  54. package/dist/vscode/vs/platform/extensionManagement/common/extensionStorage.js +1 -1
  55. package/dist/vscode/vs/platform/product/common/product.js +48 -0
  56. package/dist/vscode/vs/platform/quickinput/browser/quickPickPin.js +94 -0
  57. package/dist/vscode/vs/platform/terminal/common/terminal.js +3 -0
  58. package/dist/vscode/vs/platform/update/common/update.js +11 -1
  59. package/dist/vscode/vs/workbench/api/browser/mainThreadDocumentsAndEditors.js +1 -1
  60. package/dist/vscode/vs/workbench/api/browser/mainThreadStatusBar.js +68 -0
  61. package/dist/vscode/vs/workbench/api/common/extHostStatusBar.js +234 -0
  62. package/dist/vscode/vs/workbench/api/common/extHostTypes.js +6 -1
  63. package/dist/vscode/vs/workbench/browser/actions/layoutActions.js +20 -17
  64. package/dist/vscode/vs/workbench/browser/actions/quickAccessActions.js +204 -0
  65. package/dist/vscode/vs/workbench/browser/dnd.js +27 -2
  66. package/dist/vscode/vs/workbench/browser/editor.js +94 -0
  67. package/dist/vscode/vs/workbench/browser/labels.js +23 -2
  68. package/dist/vscode/vs/workbench/browser/media/part.css.js +4 -0
  69. package/dist/vscode/vs/workbench/browser/part.js +1 -1
  70. package/dist/vscode/vs/workbench/browser/parts/activitybar/activitybarActions.js +1 -1
  71. package/dist/vscode/vs/workbench/browser/parts/activitybar/activitybarPart.js +3 -3
  72. package/dist/vscode/vs/workbench/browser/parts/activitybar/media/activityaction.css.js +4 -0
  73. package/dist/vscode/vs/workbench/browser/parts/activitybar/media/activitybarpart.css.js +4 -0
  74. package/dist/vscode/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarActions.js +14 -26
  75. package/dist/vscode/vs/workbench/browser/parts/compositePart.js +1 -1
  76. package/dist/vscode/vs/workbench/browser/parts/editor/binaryDiffEditor.js +43 -0
  77. package/dist/vscode/vs/workbench/browser/parts/editor/binaryEditor.js +55 -0
  78. package/dist/vscode/vs/workbench/browser/parts/editor/breadcrumbs.js +330 -0
  79. package/dist/vscode/vs/workbench/browser/parts/editor/breadcrumbsControl.js +690 -0
  80. package/dist/vscode/vs/workbench/browser/parts/editor/breadcrumbsModel.js +142 -0
  81. package/dist/vscode/vs/workbench/browser/parts/editor/breadcrumbsPicker.js +414 -0
  82. package/dist/vscode/vs/workbench/browser/parts/editor/editor.contribution.js +800 -6
  83. package/dist/vscode/vs/workbench/browser/parts/editor/editor.js +56 -1
  84. package/dist/vscode/vs/workbench/browser/parts/editor/editorActions.js +1484 -107
  85. package/dist/vscode/vs/workbench/browser/parts/editor/editorCommands.js +1121 -4
  86. package/dist/vscode/vs/workbench/browser/parts/editor/editorDropTarget.js +499 -0
  87. package/dist/vscode/vs/workbench/browser/parts/editor/editorGroupView.js +1219 -0
  88. package/dist/vscode/vs/workbench/browser/parts/editor/editorGroupWatermark.js +137 -0
  89. package/dist/vscode/vs/workbench/browser/parts/editor/editorPane.js +242 -0
  90. package/dist/vscode/vs/workbench/browser/parts/editor/editorPanes.js +297 -0
  91. package/dist/vscode/vs/workbench/browser/parts/editor/editorPart.js +841 -0
  92. package/dist/vscode/vs/workbench/browser/parts/editor/editorPlaceholder.js +235 -0
  93. package/dist/vscode/vs/workbench/browser/parts/editor/editorQuickAccess.js +1 -1
  94. package/dist/vscode/vs/workbench/browser/parts/editor/editorStatus.js +1152 -0
  95. package/dist/vscode/vs/workbench/browser/parts/editor/editorWithViewState.js +139 -0
  96. package/dist/vscode/vs/workbench/browser/parts/editor/editorsObserver.js +339 -0
  97. package/dist/vscode/vs/workbench/browser/parts/editor/media/breadcrumbscontrol.css.js +4 -0
  98. package/dist/vscode/vs/workbench/browser/parts/editor/media/editordroptarget.css.js +4 -0
  99. package/dist/vscode/vs/workbench/browser/parts/editor/media/editorgroupview.css.js +4 -0
  100. package/dist/vscode/vs/workbench/browser/parts/editor/media/editorplaceholder.css.js +4 -0
  101. package/dist/vscode/vs/workbench/browser/parts/editor/media/editorquickaccess.css.js +4 -0
  102. package/dist/vscode/vs/workbench/browser/parts/editor/media/editorstatus.css.js +4 -0
  103. package/dist/vscode/vs/workbench/browser/parts/editor/media/notabstitlecontrol.css.js +4 -0
  104. package/dist/vscode/vs/workbench/browser/parts/editor/media/sidebysideeditor.css.js +4 -0
  105. package/dist/vscode/vs/workbench/browser/parts/editor/media/tabstitlecontrol.css.js +4 -0
  106. package/dist/vscode/vs/workbench/browser/parts/editor/media/titlecontrol.css.js +4 -0
  107. package/dist/vscode/vs/workbench/browser/parts/editor/noTabsTitleControl.js +243 -0
  108. package/dist/vscode/vs/workbench/browser/parts/editor/sideBySideEditor.js +387 -0
  109. package/dist/vscode/vs/workbench/browser/parts/editor/tabFocus.js +77 -0
  110. package/dist/vscode/vs/workbench/browser/parts/editor/tabsTitleControl.js +1504 -0
  111. package/dist/vscode/vs/workbench/browser/parts/editor/textCodeEditor.js +79 -0
  112. package/dist/vscode/vs/workbench/browser/parts/editor/textDiffEditor.js +304 -0
  113. package/dist/vscode/vs/workbench/browser/parts/editor/textEditor.js +220 -0
  114. package/dist/vscode/vs/workbench/browser/parts/editor/textResourceEditor.js +149 -0
  115. package/dist/vscode/vs/workbench/browser/parts/editor/titleControl.js +284 -0
  116. package/dist/vscode/vs/workbench/browser/parts/media/compositepart.css.js +4 -0
  117. package/dist/vscode/vs/workbench/browser/parts/notifications/media/notificationsActions.css.js +4 -0
  118. package/dist/vscode/vs/workbench/browser/parts/notifications/media/notificationsCenter.css.js +4 -0
  119. package/dist/vscode/vs/workbench/browser/parts/notifications/media/notificationsList.css.js +4 -0
  120. package/dist/vscode/vs/workbench/browser/parts/notifications/media/notificationsToasts.css.js +4 -0
  121. package/dist/vscode/vs/workbench/browser/parts/notifications/notificationsActions.js +8 -8
  122. package/dist/vscode/vs/workbench/browser/parts/notifications/notificationsCenter.js +2 -2
  123. package/dist/vscode/vs/workbench/browser/parts/notifications/notificationsList.js +1 -1
  124. package/dist/vscode/vs/workbench/browser/parts/notifications/notificationsToasts.js +1 -1
  125. package/dist/vscode/vs/workbench/browser/parts/panel/media/basepanelpart.css.js +4 -0
  126. package/dist/vscode/vs/workbench/browser/parts/panel/media/panelpart.css.js +4 -0
  127. package/dist/vscode/vs/workbench/browser/parts/panel/panelActions.js +19 -5
  128. package/dist/vscode/vs/workbench/browser/parts/panel/panelPart.js +2 -2
  129. package/dist/vscode/vs/workbench/browser/parts/sidebar/media/sidebarpart.css.js +4 -0
  130. package/dist/vscode/vs/workbench/browser/parts/sidebar/sidebarPart.js +1 -1
  131. package/dist/vscode/vs/workbench/browser/parts/statusbar/media/statusbarpart.css.js +4 -0
  132. package/dist/vscode/vs/workbench/browser/parts/statusbar/statusbarActions.js +109 -0
  133. package/dist/vscode/vs/workbench/browser/parts/statusbar/statusbarItem.js +224 -0
  134. package/dist/vscode/vs/workbench/browser/parts/statusbar/statusbarModel.js +251 -0
  135. package/dist/vscode/vs/workbench/browser/parts/statusbar/statusbarPart.js +439 -0
  136. package/dist/vscode/vs/workbench/browser/parts/titlebar/media/menubarControl.css.js +4 -0
  137. package/dist/vscode/vs/workbench/browser/parts/titlebar/menubarControl.js +76 -3
  138. package/dist/vscode/vs/workbench/browser/parts/views/media/paneviewlet.css.js +4 -0
  139. package/dist/vscode/vs/workbench/browser/parts/views/media/views.css.js +4 -0
  140. package/dist/vscode/vs/workbench/browser/parts/views/treeView.js +1 -1
  141. package/dist/vscode/vs/workbench/browser/parts/views/viewPane.js +5 -5
  142. package/dist/vscode/vs/workbench/browser/parts/views/viewPaneContainer.js +1 -1
  143. package/dist/vscode/vs/workbench/browser/parts/views/viewsService.js +4 -4
  144. package/dist/vscode/vs/workbench/browser/quickaccess.js +6 -2
  145. package/dist/vscode/vs/workbench/browser/workbench.contribution.js +1108 -0
  146. package/dist/vscode/vs/workbench/common/contextkeys.js +34 -1
  147. package/dist/vscode/vs/workbench/common/editor/editorGroupModel.js +674 -0
  148. package/dist/vscode/vs/workbench/common/editor.js +57 -1
  149. package/dist/vscode/vs/workbench/common/theme.js +35 -35
  150. package/dist/vscode/vs/workbench/common/views.js +1 -1
  151. package/dist/vscode/vs/workbench/contrib/callHierarchy/browser/callHierarchy.contribution.js +4 -4
  152. package/dist/vscode/vs/workbench/contrib/callHierarchy/browser/callHierarchyPeek.js +1 -1
  153. package/dist/vscode/vs/workbench/contrib/callHierarchy/browser/media/callHierarchy.css.js +4 -0
  154. package/dist/vscode/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoLineQuickAccess.js +77 -0
  155. package/dist/vscode/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoSymbolQuickAccess.js +217 -0
  156. package/dist/vscode/vs/workbench/contrib/codeEditor/browser/workbenchReferenceSearch.js +24 -0
  157. package/dist/vscode/vs/workbench/contrib/debug/browser/breakpointWidget.js +1 -1
  158. package/dist/vscode/vs/workbench/contrib/debug/browser/callStackEditorContribution.js +1 -1
  159. package/dist/vscode/vs/workbench/contrib/debug/browser/debug.contribution.js +30 -4
  160. package/dist/vscode/vs/workbench/contrib/debug/browser/debugCommands.js +13 -1
  161. package/dist/vscode/vs/workbench/contrib/debug/browser/debugIcons.js +77 -127
  162. package/dist/vscode/vs/workbench/contrib/debug/browser/debugToolBar.js +1 -1
  163. package/dist/vscode/vs/workbench/contrib/debug/browser/debugViewlet.js +1 -1
  164. package/dist/vscode/vs/workbench/contrib/debug/browser/disassemblyView.js +620 -0
  165. package/dist/vscode/vs/workbench/contrib/debug/browser/exceptionWidget.js +1 -1
  166. package/dist/vscode/vs/workbench/contrib/debug/browser/media/breakpointWidget.css.js +4 -0
  167. package/dist/vscode/vs/workbench/contrib/debug/browser/media/callStackEditorContribution.css.js +4 -0
  168. package/dist/vscode/vs/workbench/contrib/debug/browser/media/debug.contribution.css.js +4 -0
  169. package/dist/vscode/vs/workbench/contrib/debug/browser/media/debugHover.css.js +4 -0
  170. package/dist/vscode/vs/workbench/contrib/debug/browser/media/debugToolBar.css.js +4 -0
  171. package/dist/vscode/vs/workbench/contrib/debug/browser/media/debugViewlet.css.js +4 -0
  172. package/dist/vscode/vs/workbench/contrib/debug/browser/media/exceptionWidget.css.js +4 -0
  173. package/dist/vscode/vs/workbench/contrib/debug/browser/media/repl.css.js +4 -0
  174. package/dist/vscode/vs/workbench/contrib/debug/browser/repl.js +1 -1
  175. package/dist/vscode/vs/workbench/contrib/debug/common/debug.js +2 -1
  176. package/dist/vscode/vs/workbench/contrib/files/browser/editors/binaryFileEditor.js +71 -0
  177. package/dist/vscode/vs/workbench/contrib/files/browser/editors/textFileEditor.js +225 -0
  178. package/dist/vscode/vs/workbench/contrib/files/browser/explorerViewlet.js +5 -4
  179. package/dist/vscode/vs/workbench/contrib/files/browser/fileActions.contribution.js +270 -4
  180. package/dist/vscode/vs/workbench/contrib/files/browser/fileActions.js +4 -1
  181. package/dist/vscode/vs/workbench/contrib/files/browser/fileCommands.js +24 -6
  182. package/dist/vscode/vs/workbench/contrib/files/browser/fileConstants.js +8 -1
  183. package/dist/vscode/vs/workbench/contrib/files/browser/files.contribution.js +10 -0
  184. package/dist/vscode/vs/workbench/contrib/files/browser/media/explorerviewlet.css.js +4 -0
  185. package/dist/vscode/vs/workbench/contrib/files/browser/views/media/openeditors.css.js +4 -0
  186. package/dist/vscode/vs/workbench/contrib/files/browser/views/openEditorsView.js +608 -0
  187. package/dist/vscode/vs/workbench/contrib/files/common/files.js +2 -1
  188. package/dist/vscode/vs/workbench/contrib/interactiveSession/browser/interactiveSessionInputPart.js +1 -1
  189. package/dist/vscode/vs/workbench/contrib/interactiveSession/browser/interactiveSessionWidget.js +1 -1
  190. package/dist/vscode/vs/workbench/contrib/interactiveSession/browser/media/interactiveSession.css.js +4 -0
  191. package/dist/vscode/vs/workbench/contrib/interactiveSession/common/interactiveSessionContextKeys.js +9 -1
  192. package/dist/vscode/vs/workbench/contrib/interactiveSession/common/interactiveSessionModel.js +305 -0
  193. package/dist/vscode/vs/workbench/contrib/interactiveSession/common/interactiveSessionService.js +6 -1
  194. package/dist/vscode/vs/workbench/contrib/interactiveSession/common/interactiveSessionServiceImpl.js +379 -0
  195. package/dist/vscode/vs/workbench/contrib/notebook/browser/notebookBrowser.js +2 -2
  196. package/dist/vscode/vs/workbench/contrib/quickaccess/browser/commandsQuickAccess.js +33 -1
  197. package/dist/vscode/vs/workbench/contrib/quickaccess/browser/quickAccess.contribution.js +130 -0
  198. package/dist/vscode/vs/workbench/contrib/quickaccess/browser/viewQuickAccess.js +225 -0
  199. package/dist/vscode/vs/workbench/contrib/remote/browser/media/tunnelView.css.js +4 -0
  200. package/dist/vscode/vs/workbench/contrib/remote/browser/remoteIcons.js +21 -17
  201. package/dist/vscode/vs/workbench/contrib/remote/browser/tunnelView.js +1 -1
  202. package/dist/vscode/vs/workbench/contrib/search/browser/anythingQuickAccess.js +757 -0
  203. package/dist/vscode/vs/workbench/contrib/search/browser/media/anythingQuickAccess.css.js +4 -0
  204. package/dist/vscode/vs/workbench/contrib/search/browser/search.contribution.js +428 -0
  205. package/dist/vscode/vs/workbench/contrib/search/browser/symbolsQuickAccess.js +219 -0
  206. package/dist/vscode/vs/workbench/contrib/search/common/cacheState.js +85 -0
  207. package/dist/vscode/vs/workbench/contrib/search/common/constants.js +2 -0
  208. package/dist/vscode/vs/workbench/contrib/search/common/search.js +119 -1
  209. package/dist/vscode/vs/workbench/contrib/tasks/browser/taskQuickPick.js +385 -0
  210. package/dist/vscode/vs/workbench/contrib/tasks/browser/tasksQuickAccess.js +108 -0
  211. package/dist/vscode/vs/workbench/contrib/tasks/common/tasks.js +351 -0
  212. package/dist/vscode/vs/workbench/contrib/terminal/browser/terminal.js +4 -0
  213. package/dist/vscode/vs/workbench/contrib/terminal/browser/terminalIcon.js +44 -0
  214. package/dist/vscode/vs/workbench/contrib/terminal/common/terminalColorRegistry.js +147 -1
  215. package/dist/vscode/vs/workbench/contrib/typeHierarchy/browser/media/typeHierarchy.css.js +4 -0
  216. package/dist/vscode/vs/workbench/contrib/typeHierarchy/browser/typeHierarchyPeek.js +1 -1
  217. package/dist/vscode/vs/workbench/services/editor/browser/editorDropService.js +3 -0
  218. package/dist/vscode/vs/workbench/services/editor/browser/editorResolverService.js +619 -0
  219. package/dist/vscode/vs/workbench/services/editor/browser/editorService.js +720 -0
  220. package/dist/vscode/vs/workbench/services/editor/common/editorGroupFinder.js +116 -0
  221. package/dist/vscode/vs/workbench/services/editor/common/editorGroupsService.js +6 -1
  222. package/dist/vscode/vs/workbench/services/editor/common/editorResolverService.js +34 -1
  223. package/dist/vscode/vs/workbench/services/history/browser/historyService.js +1451 -0
  224. package/dist/vscode/vs/workbench/services/hover/browser/hoverService.js +1 -1
  225. package/dist/vscode/vs/workbench/services/hover/browser/media/hover.css.js +4 -0
  226. package/dist/vscode/vs/workbench/services/languageDetection/common/languageDetectionWorkerService.js +2 -1
  227. package/dist/vscode/vs/workbench/services/outline/browser/outline.js +3 -0
  228. package/dist/vscode/vs/workbench/services/progress/browser/progressIndicator.js +72 -1
  229. package/dist/vscode/vs/workbench/services/quickinput/browser/quickInputService.js +67 -0
  230. package/dist/vscode/vs/workbench/services/search/common/search.js +2 -112
  231. package/dist/vscode/vs/workbench/services/semanticSimilarity/common/semanticSimilarityService.js +54 -1
  232. package/dist/vscode/vs/workbench/services/statusbar/browser/statusbar.js +15 -0
  233. package/dist/vscode/vs/workbench/services/textMate/browser/worker/textMate.worker.js +90 -0
  234. package/dist/vscode/vs/workbench/services/textMate/browser/worker/textMateWorkerModel.js +133 -0
  235. package/dist/vscode/vs/workbench/services/untitled/common/untitledTextEditorService.js +110 -3
  236. package/dist/vscode/vs/workbench/services/userDataProfile/common/userDataProfile.js +1 -1
  237. package/dist/vscode-services/extHost.js +12 -5
  238. package/dist/vscode-services/missing-services.js +117 -3
  239. package/dist/vscode-services/window.js +21 -2
  240. package/dist/vscode-services/workspace.js +2 -1
  241. package/dist/workbenchThemeService.d.ts +1 -1
  242. package/dist/workers/textMate.worker.d.ts +2 -0
  243. package/dist/workers/textMate.worker.js +3 -0
  244. package/dist/workspace.d.ts +1 -1
  245. package/monaco-editor-treemending.patch +784 -784
  246. package/package.json +42 -22
  247. package/dist/assets/activityaction.css +0 -224
  248. package/dist/assets/activitybarpart.css +0 -65
  249. package/dist/assets/basepanelpart.css +0 -221
  250. package/dist/assets/breakpointWidget.css +0 -31
  251. package/dist/assets/callHierarchy.css +0 -62
  252. package/dist/assets/callStackEditorContribution.css +0 -12
  253. package/dist/assets/compositepart.css +0 -17
  254. package/dist/assets/debug.contribution.css +0 -138
  255. package/dist/assets/debugHover.css +0 -80
  256. package/dist/assets/debugToolBar.css +0 -49
  257. package/dist/assets/debugViewlet.css +0 -337
  258. package/dist/assets/editorquickaccess.css +0 -8
  259. package/dist/assets/exceptionWidget.css +0 -52
  260. package/dist/assets/explorerviewlet.css +0 -129
  261. package/dist/assets/hover.css +0 -127
  262. package/dist/assets/interactiveSession.css +0 -340
  263. package/dist/assets/menubar.css +0 -111
  264. package/dist/assets/menubarControl.css +0 -61
  265. package/dist/assets/notificationsActions.css +0 -14
  266. package/dist/assets/notificationsCenter.css +0 -69
  267. package/dist/assets/notificationsList.css +0 -152
  268. package/dist/assets/notificationsToasts.css +0 -63
  269. package/dist/assets/panelpart.css +0 -75
  270. package/dist/assets/paneview.css +0 -148
  271. package/dist/assets/paneviewlet.css +0 -79
  272. package/dist/assets/part.css +0 -109
  273. package/dist/assets/repl.css +0 -145
  274. package/dist/assets/sidebarpart.css +0 -61
  275. package/dist/assets/tunnelView.css +0 -107
  276. package/dist/assets/typeHierarchy.css +0 -62
  277. package/dist/assets/views.css +0 -297
  278. package/dist/override/vs/workbench/browser/parts/editor/textEditor.js +0 -2
  279. package/dist/override/vs/workbench/contrib/files/browser/views/openEditorsView.js +0 -2
  280. package/dist/service-override/modelEditor.d.ts +0 -14
  281. package/dist/vscode/vs/workbench/contrib/notebook/common/notebookEditorInput.js +0 -249
  282. package/dist/vscode/vs/workbench/contrib/notebook/common/notebookService.js +0 -10
  283. package/dist/vscode/vs/workbench/services/search/common/searchHelpers.js +0 -72
  284. package/dist/vscode/vs/workbench/services/search/common/searchService.js +0 -355
@@ -1,10 +1,23 @@
1
1
  import { S as ServiceIdentifier } from './instantiation.js';
2
- import { I as IDisposable, E as Event, a as IReference } from './event.js';
2
+ import { a as IDisposable, E as Event, I as IReference } from './event.js';
3
3
  import { a as UriComponents, U as URI } from './uri.js';
4
- import { I as IMarkdownString, e as IEditorModel$1 } from './editor.js';
5
4
  import * as monaco from 'monaco-editor';
6
5
  import { a as ThemeColor } from './themables.js';
7
6
 
7
+ interface MarkdownStringTrustedOptions {
8
+ readonly enabledCommands: readonly string[];
9
+ }
10
+ interface IMarkdownString {
11
+ readonly value: string;
12
+ readonly isTrusted?: boolean | MarkdownStringTrustedOptions;
13
+ readonly supportThemeIcons?: boolean;
14
+ readonly supportHtml?: boolean;
15
+ readonly baseUri?: UriComponents;
16
+ uris?: {
17
+ [href: string]: UriComponents;
18
+ };
19
+ }
20
+
8
21
  /**
9
22
  * A position in the editor. This interface is suitable for serialization.
10
23
  */
@@ -1182,7 +1195,7 @@ declare const enum EditorAutoIndentStrategy {
1182
1195
  /**
1183
1196
  * Configuration options for the editor.
1184
1197
  */
1185
- interface IEditorOptions {
1198
+ interface IEditorOptions$1 {
1186
1199
  /**
1187
1200
  * This editor is used inside a diff editor.
1188
1201
  */
@@ -1915,7 +1928,7 @@ interface IDiffEditorBaseOptions {
1915
1928
  /**
1916
1929
  * Configuration options for the diff editor.
1917
1930
  */
1918
- interface IDiffEditorOptions extends IEditorOptions, IDiffEditorBaseOptions {
1931
+ interface IDiffEditorOptions extends IEditorOptions$1, IDiffEditorBaseOptions {
1919
1932
  }
1920
1933
  /**
1921
1934
  * Configuration options for editor comments
@@ -2549,7 +2562,7 @@ interface IEditorAction {
2549
2562
  isSupported(): boolean;
2550
2563
  run(args?: unknown): Promise<void>;
2551
2564
  }
2552
- type IEditorModel = ITextModel | IDiffEditorModel;
2565
+ type IEditorModel$1 = ITextModel | IDiffEditorModel;
2553
2566
  /**
2554
2567
  * A (serializable) state of the cursors.
2555
2568
  */
@@ -2620,7 +2633,7 @@ interface IEditor {
2620
2633
  /**
2621
2634
  * Update the editor's options after the editor has been created.
2622
2635
  */
2623
- updateOptions(newOptions: IEditorOptions): void;
2636
+ updateOptions(newOptions: IEditorOptions$1): void;
2624
2637
  /**
2625
2638
  * Indicates that the editor becomes visible.
2626
2639
  * @internal
@@ -2803,7 +2816,7 @@ interface IEditor {
2803
2816
  /**
2804
2817
  * Gets the current model attached to this editor.
2805
2818
  */
2806
- getModel(): IEditorModel | null;
2819
+ getModel(): IEditorModel$1 | null;
2807
2820
  /**
2808
2821
  * Sets the current model attached to this editor.
2809
2822
  * If the previous model was created by the editor via the value key in the options
@@ -2812,7 +2825,7 @@ interface IEditor {
2812
2825
  * will not be destroyed.
2813
2826
  * It is safe to call setModel(null) to simply detach the current model from the editor.
2814
2827
  */
2815
- setModel(model: IEditorModel | null): void;
2828
+ setModel(model: IEditorModel$1 | null): void;
2816
2829
  /**
2817
2830
  * Create a collection of decorations. All decorations added through this collection
2818
2831
  * will get the ownerId of the editor (meaning they will not show up in other editors).
@@ -2979,6 +2992,310 @@ interface IDecorationRenderOptions extends IThemeDecorationRenderOptions {
2979
2992
  dark?: IThemeDecorationRenderOptions;
2980
2993
  }
2981
2994
 
2995
+ interface IEditorModel {
2996
+ /**
2997
+ * Emitted when the model is about to be disposed.
2998
+ */
2999
+ readonly onWillDispose: Event<void>;
3000
+ /**
3001
+ * Resolves the model.
3002
+ */
3003
+ resolve(): Promise<void>;
3004
+ /**
3005
+ * Find out if the editor model was resolved or not.
3006
+ */
3007
+ isResolved(): boolean;
3008
+ /**
3009
+ * Find out if this model has been disposed.
3010
+ */
3011
+ isDisposed(): boolean;
3012
+ /**
3013
+ * Dispose associated resources
3014
+ */
3015
+ dispose(): void;
3016
+ }
3017
+ interface IBaseUntypedEditorInput {
3018
+ /**
3019
+ * Optional options to use when opening the input.
3020
+ */
3021
+ options?: IEditorOptions;
3022
+ /**
3023
+ * Label to show for the input.
3024
+ */
3025
+ readonly label?: string;
3026
+ /**
3027
+ * Description to show for the input.
3028
+ */
3029
+ readonly description?: string;
3030
+ }
3031
+ interface IBaseResourceEditorInput extends IBaseUntypedEditorInput {
3032
+ /**
3033
+ * Hint to indicate that this input should be treated as a
3034
+ * untitled file.
3035
+ *
3036
+ * Without this hint, the editor service will make a guess by
3037
+ * looking at the scheme of the resource(s).
3038
+ *
3039
+ * Use `forceUntitled: true` when you pass in a `resource` that
3040
+ * does not use the `untitled` scheme. The `resource` will then
3041
+ * be used as associated path when saving the untitled file.
3042
+ */
3043
+ readonly forceUntitled?: boolean;
3044
+ }
3045
+ interface IBaseTextResourceEditorInput extends IBaseResourceEditorInput {
3046
+ /**
3047
+ * Optional options to use when opening the text input.
3048
+ */
3049
+ options?: ITextEditorOptions;
3050
+ /**
3051
+ * The contents of the text input if known. If provided,
3052
+ * the input will not attempt to load the contents from
3053
+ * disk and may appear dirty.
3054
+ */
3055
+ contents?: string;
3056
+ /**
3057
+ * The encoding of the text input if known.
3058
+ */
3059
+ encoding?: string;
3060
+ /**
3061
+ * The identifier of the language id of the text input
3062
+ * if known to use when displaying the contents.
3063
+ */
3064
+ languageId?: string;
3065
+ }
3066
+ interface IResourceEditorInput extends IBaseResourceEditorInput {
3067
+ /**
3068
+ * The resource URI of the resource to open.
3069
+ */
3070
+ readonly resource: URI;
3071
+ }
3072
+ interface ITextResourceEditorInput extends IResourceEditorInput, IBaseTextResourceEditorInput {
3073
+ /**
3074
+ * Optional options to use when opening the text input.
3075
+ */
3076
+ options?: ITextEditorOptions;
3077
+ }
3078
+ /**
3079
+ * This identifier allows to uniquely identify an editor with a
3080
+ * resource, type and editor identifier.
3081
+ */
3082
+ interface IResourceEditorInputIdentifier {
3083
+ /**
3084
+ * The type of the editor.
3085
+ */
3086
+ readonly typeId: string;
3087
+ /**
3088
+ * The identifier of the editor if provided.
3089
+ */
3090
+ readonly editorId: string | undefined;
3091
+ /**
3092
+ * The resource URI of the editor.
3093
+ */
3094
+ readonly resource: URI;
3095
+ }
3096
+ declare enum EditorActivation {
3097
+ /**
3098
+ * Activate the editor after it opened. This will automatically restore
3099
+ * the editor if it is minimized.
3100
+ */
3101
+ ACTIVATE = 1,
3102
+ /**
3103
+ * Only restore the editor if it is minimized but do not activate it.
3104
+ *
3105
+ * Note: will only work in combination with the `preserveFocus: true` option.
3106
+ * Otherwise, if focus moves into the editor, it will activate and restore
3107
+ * automatically.
3108
+ */
3109
+ RESTORE = 2,
3110
+ /**
3111
+ * Preserve the current active editor.
3112
+ *
3113
+ * Note: will only work in combination with the `preserveFocus: true` option.
3114
+ * Otherwise, if focus moves into the editor, it will activate and restore
3115
+ * automatically.
3116
+ */
3117
+ PRESERVE = 3
3118
+ }
3119
+ declare enum EditorResolution {
3120
+ /**
3121
+ * Displays a picker and allows the user to decide which editor to use.
3122
+ */
3123
+ PICK = 0,
3124
+ /**
3125
+ * Only exclusive editors are considered.
3126
+ */
3127
+ EXCLUSIVE_ONLY = 1
3128
+ }
3129
+ declare enum EditorOpenSource {
3130
+ /**
3131
+ * Default: the editor is opening via a programmatic call
3132
+ * to the editor service API.
3133
+ */
3134
+ API = 0,
3135
+ /**
3136
+ * Indicates that a user action triggered the opening, e.g.
3137
+ * via mouse or keyboard use.
3138
+ */
3139
+ USER = 1
3140
+ }
3141
+ interface IEditorOptions {
3142
+ /**
3143
+ * Tells the editor to not receive keyboard focus when the editor is being opened.
3144
+ *
3145
+ * Will also not activate the group the editor opens in unless the group is already
3146
+ * the active one. This behaviour can be overridden via the `activation` option.
3147
+ */
3148
+ preserveFocus?: boolean;
3149
+ /**
3150
+ * This option is only relevant if an editor is opened into a group that is not active
3151
+ * already and allows to control if the inactive group should become active, restored
3152
+ * or preserved.
3153
+ *
3154
+ * By default, the editor group will become active unless `preserveFocus` or `inactive`
3155
+ * is specified.
3156
+ */
3157
+ activation?: EditorActivation;
3158
+ /**
3159
+ * Tells the editor to reload the editor input in the editor even if it is identical to the one
3160
+ * already showing. By default, the editor will not reload the input if it is identical to the
3161
+ * one showing.
3162
+ */
3163
+ forceReload?: boolean;
3164
+ /**
3165
+ * Will reveal the editor if it is already opened and visible in any of the opened editor groups.
3166
+ *
3167
+ * Note that this option is just a hint that might be ignored if the user wants to open an editor explicitly
3168
+ * to the side of another one or into a specific editor group.
3169
+ */
3170
+ revealIfVisible?: boolean;
3171
+ /**
3172
+ * Will reveal the editor if it is already opened (even when not visible) in any of the opened editor groups.
3173
+ *
3174
+ * Note that this option is just a hint that might be ignored if the user wants to open an editor explicitly
3175
+ * to the side of another one or into a specific editor group.
3176
+ */
3177
+ revealIfOpened?: boolean;
3178
+ /**
3179
+ * An editor that is pinned remains in the editor stack even when another editor is being opened.
3180
+ * An editor that is not pinned will always get replaced by another editor that is not pinned.
3181
+ */
3182
+ pinned?: boolean;
3183
+ /**
3184
+ * An editor that is sticky moves to the beginning of the editors list within the group and will remain
3185
+ * there unless explicitly closed. Operations such as "Close All" will not close sticky editors.
3186
+ */
3187
+ sticky?: boolean;
3188
+ /**
3189
+ * The index in the document stack where to insert the editor into when opening.
3190
+ */
3191
+ index?: number;
3192
+ /**
3193
+ * An active editor that is opened will show its contents directly. Set to true to open an editor
3194
+ * in the background without loading its contents.
3195
+ *
3196
+ * Will also not activate the group the editor opens in unless the group is already
3197
+ * the active one. This behaviour can be overridden via the `activation` option.
3198
+ */
3199
+ inactive?: boolean;
3200
+ /**
3201
+ * Will not show an error in case opening the editor fails and thus allows to show a custom error
3202
+ * message as needed. By default, an error will be presented as notification if opening was not possible.
3203
+ */
3204
+ /**
3205
+ * In case of an error opening the editor, will not present this error to the user (e.g. by showing
3206
+ * a generic placeholder in the editor area). So it is up to the caller to provide error information
3207
+ * in that case.
3208
+ *
3209
+ * By default, an error when opening an editor will result in a placeholder editor that shows the error.
3210
+ * In certain cases a modal dialog may be presented to ask the user for further action.
3211
+ */
3212
+ ignoreError?: boolean;
3213
+ /**
3214
+ * Allows to override the editor that should be used to display the input:
3215
+ * - `undefined`: let the editor decide for itself
3216
+ * - `string`: specific override by id
3217
+ * - `EditorResolution`: specific override handling
3218
+ */
3219
+ override?: string | EditorResolution;
3220
+ /**
3221
+ * A optional hint to signal in which context the editor opens.
3222
+ *
3223
+ * If configured to be `EditorOpenSource.USER`, this hint can be
3224
+ * used in various places to control the experience. For example,
3225
+ * if the editor to open fails with an error, a notification could
3226
+ * inform about this in a modal dialog. If the editor opened through
3227
+ * some background task, the notification would show in the background,
3228
+ * not as a modal dialog.
3229
+ */
3230
+ source?: EditorOpenSource;
3231
+ /**
3232
+ * An optional property to signal that certain view state should be
3233
+ * applied when opening the editor.
3234
+ */
3235
+ viewState?: object;
3236
+ }
3237
+ interface ITextEditorSelection {
3238
+ readonly startLineNumber: number;
3239
+ readonly startColumn: number;
3240
+ readonly endLineNumber?: number;
3241
+ readonly endColumn?: number;
3242
+ }
3243
+ declare const enum TextEditorSelectionRevealType {
3244
+ /**
3245
+ * Option to scroll vertically or horizontally as necessary and reveal a range centered vertically.
3246
+ */
3247
+ Center = 0,
3248
+ /**
3249
+ * Option to scroll vertically or horizontally as necessary and reveal a range centered vertically only if it lies outside the viewport.
3250
+ */
3251
+ CenterIfOutsideViewport = 1,
3252
+ /**
3253
+ * Option to scroll vertically or horizontally as necessary and reveal a range close to the top of the viewport, but not quite at the top.
3254
+ */
3255
+ NearTop = 2,
3256
+ /**
3257
+ * Option to scroll vertically or horizontally as necessary and reveal a range close to the top of the viewport, but not quite at the top.
3258
+ * Only if it lies outside the viewport
3259
+ */
3260
+ NearTopIfOutsideViewport = 3
3261
+ }
3262
+ declare const enum TextEditorSelectionSource {
3263
+ /**
3264
+ * Programmatic source indicates a selection change that
3265
+ * was not triggered by the user via keyboard or mouse
3266
+ * but through text editor APIs.
3267
+ */
3268
+ PROGRAMMATIC = "api",
3269
+ /**
3270
+ * Navigation source indicates a selection change that
3271
+ * was caused via some command or UI component such as
3272
+ * an outline tree.
3273
+ */
3274
+ NAVIGATION = "code.navigation",
3275
+ /**
3276
+ * Jump source indicates a selection change that
3277
+ * was caused from within the text editor to another
3278
+ * location in the same or different text editor such
3279
+ * as "Go to definition".
3280
+ */
3281
+ JUMP = "code.jump"
3282
+ }
3283
+ interface ITextEditorOptions extends IEditorOptions {
3284
+ /**
3285
+ * Text editor selection.
3286
+ */
3287
+ selection?: ITextEditorSelection;
3288
+ /**
3289
+ * Option to control the text editor selection reveal type.
3290
+ * Defaults to TextEditorSelectionRevealType.Center
3291
+ */
3292
+ selectionRevealType?: TextEditorSelectionRevealType;
3293
+ /**
3294
+ * Source of the call that caused the selection.
3295
+ */
3296
+ selectionSource?: TextEditorSelectionSource | string;
3297
+ }
3298
+
2982
3299
  declare const ITextModelService: ServiceIdentifier<ITextModelService>;
2983
3300
  interface ITextModelService {
2984
3301
  readonly _serviceBrand: undefined;
@@ -3002,7 +3319,7 @@ interface ITextModelContentProvider {
3002
3319
  */
3003
3320
  provideTextContent(resource: URI): Promise<ITextModel | null> | null;
3004
3321
  }
3005
- interface ITextEditorModel extends IEditorModel$1 {
3322
+ interface ITextEditorModel extends IEditorModel {
3006
3323
  /**
3007
3324
  * Provides access to the underlying `ITextModel`.
3008
3325
  */
@@ -3125,4 +3442,4 @@ interface IDiffEditor extends IEditor {
3125
3442
  updateOptions(newOptions: IDiffEditorOptions): void;
3126
3443
  }
3127
3444
 
3128
- export { EndOfLineSequence as E, ITextBufferFactory as I, Position as P, Range as R, Selection as S, ITextModel as a, ITextModelCreationOptions as b, IEditor as c, IDiffEditor$1 as d, IRange as e, IPosition as f, IDocumentDiffProviderOptions as g, IDocumentDiff as h, IChange as i, ICodeEditor as j, IDiffEditor as k, IDecorationRenderOptions as l, IModelDecorationOptions as m, ITextModelContentProvider as n, ITextModelService as o, IResolvedTextEditorModel as p, IModelDecorationsChangeAccessor as q, IEditorContribution as r, ISingleEditOperation as s, EditorAutoIndentStrategy as t, IDimension as u, ITextEditorModel as v, ITextSnapshot as w };
3445
+ export { IChange as A, IDiffEditor as B, IDecorationRenderOptions as C, ITextModelContentProvider as D, EndOfLineSequence as E, ITextModelService as F, IEditorOptions as I, MarkdownStringTrustedOptions as M, Position as P, Range as R, Selection as S, IResolvedTextEditorModel as a, ICodeEditor as b, ITextModel as c, IModelDecorationOptions as d, IModelDecorationsChangeAccessor as e, IEditorContribution as f, IPosition as g, IRange as h, IMarkdownString as i, ISingleEditOperation as j, EditorAutoIndentStrategy as k, IEditorModel as l, IDimension as m, ITextEditorModel as n, ITextSnapshot as o, ITextBufferFactory as p, IDiffEditor$1 as q, IBaseTextResourceEditorInput as r, IBaseUntypedEditorInput as s, IResourceEditorInput as t, ITextResourceEditorInput as u, ITextModelCreationOptions as v, IEditor as w, IResourceEditorInputIdentifier as x, IDocumentDiffProviderOptions as y, IDocumentDiff as z };
package/dist/event.d.ts CHANGED
@@ -578,4 +578,4 @@ interface IWaitUntil {
578
578
  waitUntil(thenable: Promise<unknown>): void;
579
579
  }
580
580
 
581
- export { CancellationToken as C, Disposable as D, Event as E, IDisposable as I, IReference as a, Emitter as b, DisposableStore as c, IWaitUntil as d };
581
+ export { CancellationToken as C, Disposable as D, Event as E, IReference as I, IDisposable as a, Emitter as b, DisposableStore as c, IWaitUntil as d };