@codingame/monaco-vscode-api 1.79.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 (283) 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.d.ts +31 -32
  20. package/dist/monaco.js +62 -6
  21. package/dist/node_modules/rollup-plugin-styles/dist/runtime/inject-css.js +2 -0
  22. package/dist/override/vs/workbench/contrib/notebook/common/notebookEditorInput.js +4 -0
  23. package/dist/rollup-extension-directory-plugin.js +1 -2
  24. package/dist/rollup-vsix-plugin.js +1 -2
  25. package/dist/service-override/configuration.d.ts +2 -2
  26. package/dist/service-override/editor.d.ts +13 -0
  27. package/dist/service-override/{modelEditor.js → editor.js} +6 -62
  28. package/dist/service-override/files.d.ts +5 -5
  29. package/dist/service-override/files.js +14 -2
  30. package/dist/service-override/keybindings.js +3 -79
  31. package/dist/service-override/layout.js +6 -2
  32. package/dist/service-override/model.d.ts +7 -0
  33. package/dist/service-override/model.js +10 -0
  34. package/dist/service-override/quickaccess.d.ts +7 -0
  35. package/dist/service-override/quickaccess.js +80 -0
  36. package/dist/service-override/snippets.js +5 -1
  37. package/dist/service-override/textmate.js +7 -2
  38. package/dist/service-override/theme.d.ts +1 -1
  39. package/dist/service-override/tools/editor.js +73 -0
  40. package/dist/service-override/views.d.ts +63 -201
  41. package/dist/service-override/views.js +102 -8
  42. package/dist/services.d.ts +116 -19
  43. package/dist/vscode/vs/base/browser/ui/centered/centeredViewLayout.js +178 -0
  44. package/dist/vscode/vs/base/browser/ui/grid/grid.js +452 -0
  45. package/dist/vscode/vs/base/browser/ui/grid/gridview.css.js +4 -0
  46. package/dist/vscode/vs/base/browser/ui/grid/gridview.js +999 -0
  47. package/dist/vscode/vs/base/browser/ui/iconLabel/simpleIconLabel.js +14 -0
  48. package/dist/vscode/vs/base/browser/ui/menu/menubar.css.js +4 -0
  49. package/dist/vscode/vs/base/browser/ui/menu/menubar.js +1 -1
  50. package/dist/vscode/vs/base/browser/ui/splitview/paneview.css.js +4 -0
  51. package/dist/vscode/vs/base/browser/ui/splitview/paneview.js +1 -1
  52. package/dist/vscode/vs/platform/extensionManagement/common/extensionManagement.js +2 -1
  53. package/dist/vscode/vs/platform/extensionManagement/common/extensionStorage.js +1 -1
  54. package/dist/vscode/vs/platform/product/common/product.js +48 -0
  55. package/dist/vscode/vs/platform/quickinput/browser/quickPickPin.js +94 -0
  56. package/dist/vscode/vs/platform/terminal/common/terminal.js +3 -0
  57. package/dist/vscode/vs/platform/update/common/update.js +11 -1
  58. package/dist/vscode/vs/workbench/api/browser/mainThreadDocumentsAndEditors.js +1 -1
  59. package/dist/vscode/vs/workbench/api/browser/mainThreadStatusBar.js +68 -0
  60. package/dist/vscode/vs/workbench/api/common/extHostStatusBar.js +234 -0
  61. package/dist/vscode/vs/workbench/api/common/extHostTypes.js +6 -1
  62. package/dist/vscode/vs/workbench/browser/actions/layoutActions.js +20 -17
  63. package/dist/vscode/vs/workbench/browser/actions/quickAccessActions.js +204 -0
  64. package/dist/vscode/vs/workbench/browser/dnd.js +27 -2
  65. package/dist/vscode/vs/workbench/browser/editor.js +94 -0
  66. package/dist/vscode/vs/workbench/browser/labels.js +23 -2
  67. package/dist/vscode/vs/workbench/browser/media/part.css.js +4 -0
  68. package/dist/vscode/vs/workbench/browser/part.js +1 -1
  69. package/dist/vscode/vs/workbench/browser/parts/activitybar/activitybarActions.js +1 -1
  70. package/dist/vscode/vs/workbench/browser/parts/activitybar/activitybarPart.js +3 -3
  71. package/dist/vscode/vs/workbench/browser/parts/activitybar/media/activityaction.css.js +4 -0
  72. package/dist/vscode/vs/workbench/browser/parts/activitybar/media/activitybarpart.css.js +4 -0
  73. package/dist/vscode/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarActions.js +14 -26
  74. package/dist/vscode/vs/workbench/browser/parts/compositePart.js +1 -1
  75. package/dist/vscode/vs/workbench/browser/parts/editor/binaryDiffEditor.js +43 -0
  76. package/dist/vscode/vs/workbench/browser/parts/editor/binaryEditor.js +55 -0
  77. package/dist/vscode/vs/workbench/browser/parts/editor/breadcrumbs.js +330 -0
  78. package/dist/vscode/vs/workbench/browser/parts/editor/breadcrumbsControl.js +690 -0
  79. package/dist/vscode/vs/workbench/browser/parts/editor/breadcrumbsModel.js +142 -0
  80. package/dist/vscode/vs/workbench/browser/parts/editor/breadcrumbsPicker.js +414 -0
  81. package/dist/vscode/vs/workbench/browser/parts/editor/editor.contribution.js +800 -6
  82. package/dist/vscode/vs/workbench/browser/parts/editor/editor.js +56 -1
  83. package/dist/vscode/vs/workbench/browser/parts/editor/editorActions.js +1484 -107
  84. package/dist/vscode/vs/workbench/browser/parts/editor/editorCommands.js +1121 -4
  85. package/dist/vscode/vs/workbench/browser/parts/editor/editorDropTarget.js +499 -0
  86. package/dist/vscode/vs/workbench/browser/parts/editor/editorGroupView.js +1219 -0
  87. package/dist/vscode/vs/workbench/browser/parts/editor/editorGroupWatermark.js +137 -0
  88. package/dist/vscode/vs/workbench/browser/parts/editor/editorPane.js +242 -0
  89. package/dist/vscode/vs/workbench/browser/parts/editor/editorPanes.js +297 -0
  90. package/dist/vscode/vs/workbench/browser/parts/editor/editorPart.js +841 -0
  91. package/dist/vscode/vs/workbench/browser/parts/editor/editorPlaceholder.js +235 -0
  92. package/dist/vscode/vs/workbench/browser/parts/editor/editorQuickAccess.js +1 -1
  93. package/dist/vscode/vs/workbench/browser/parts/editor/editorStatus.js +1152 -0
  94. package/dist/vscode/vs/workbench/browser/parts/editor/editorWithViewState.js +139 -0
  95. package/dist/vscode/vs/workbench/browser/parts/editor/editorsObserver.js +339 -0
  96. package/dist/vscode/vs/workbench/browser/parts/editor/media/breadcrumbscontrol.css.js +4 -0
  97. package/dist/vscode/vs/workbench/browser/parts/editor/media/editordroptarget.css.js +4 -0
  98. package/dist/vscode/vs/workbench/browser/parts/editor/media/editorgroupview.css.js +4 -0
  99. package/dist/vscode/vs/workbench/browser/parts/editor/media/editorplaceholder.css.js +4 -0
  100. package/dist/vscode/vs/workbench/browser/parts/editor/media/editorquickaccess.css.js +4 -0
  101. package/dist/vscode/vs/workbench/browser/parts/editor/media/editorstatus.css.js +4 -0
  102. package/dist/vscode/vs/workbench/browser/parts/editor/media/notabstitlecontrol.css.js +4 -0
  103. package/dist/vscode/vs/workbench/browser/parts/editor/media/sidebysideeditor.css.js +4 -0
  104. package/dist/vscode/vs/workbench/browser/parts/editor/media/tabstitlecontrol.css.js +4 -0
  105. package/dist/vscode/vs/workbench/browser/parts/editor/media/titlecontrol.css.js +4 -0
  106. package/dist/vscode/vs/workbench/browser/parts/editor/noTabsTitleControl.js +243 -0
  107. package/dist/vscode/vs/workbench/browser/parts/editor/sideBySideEditor.js +387 -0
  108. package/dist/vscode/vs/workbench/browser/parts/editor/tabFocus.js +77 -0
  109. package/dist/vscode/vs/workbench/browser/parts/editor/tabsTitleControl.js +1504 -0
  110. package/dist/vscode/vs/workbench/browser/parts/editor/textCodeEditor.js +79 -0
  111. package/dist/vscode/vs/workbench/browser/parts/editor/textDiffEditor.js +304 -0
  112. package/dist/vscode/vs/workbench/browser/parts/editor/textEditor.js +220 -0
  113. package/dist/vscode/vs/workbench/browser/parts/editor/textResourceEditor.js +149 -0
  114. package/dist/vscode/vs/workbench/browser/parts/editor/titleControl.js +284 -0
  115. package/dist/vscode/vs/workbench/browser/parts/media/compositepart.css.js +4 -0
  116. package/dist/vscode/vs/workbench/browser/parts/notifications/media/notificationsActions.css.js +4 -0
  117. package/dist/vscode/vs/workbench/browser/parts/notifications/media/notificationsCenter.css.js +4 -0
  118. package/dist/vscode/vs/workbench/browser/parts/notifications/media/notificationsList.css.js +4 -0
  119. package/dist/vscode/vs/workbench/browser/parts/notifications/media/notificationsToasts.css.js +4 -0
  120. package/dist/vscode/vs/workbench/browser/parts/notifications/notificationsActions.js +8 -8
  121. package/dist/vscode/vs/workbench/browser/parts/notifications/notificationsCenter.js +2 -2
  122. package/dist/vscode/vs/workbench/browser/parts/notifications/notificationsList.js +1 -1
  123. package/dist/vscode/vs/workbench/browser/parts/notifications/notificationsToasts.js +1 -1
  124. package/dist/vscode/vs/workbench/browser/parts/panel/media/basepanelpart.css.js +4 -0
  125. package/dist/vscode/vs/workbench/browser/parts/panel/media/panelpart.css.js +4 -0
  126. package/dist/vscode/vs/workbench/browser/parts/panel/panelActions.js +19 -5
  127. package/dist/vscode/vs/workbench/browser/parts/panel/panelPart.js +2 -2
  128. package/dist/vscode/vs/workbench/browser/parts/sidebar/media/sidebarpart.css.js +4 -0
  129. package/dist/vscode/vs/workbench/browser/parts/sidebar/sidebarPart.js +1 -1
  130. package/dist/vscode/vs/workbench/browser/parts/statusbar/media/statusbarpart.css.js +4 -0
  131. package/dist/vscode/vs/workbench/browser/parts/statusbar/statusbarActions.js +109 -0
  132. package/dist/vscode/vs/workbench/browser/parts/statusbar/statusbarItem.js +224 -0
  133. package/dist/vscode/vs/workbench/browser/parts/statusbar/statusbarModel.js +251 -0
  134. package/dist/vscode/vs/workbench/browser/parts/statusbar/statusbarPart.js +439 -0
  135. package/dist/vscode/vs/workbench/browser/parts/titlebar/media/menubarControl.css.js +4 -0
  136. package/dist/vscode/vs/workbench/browser/parts/titlebar/menubarControl.js +76 -3
  137. package/dist/vscode/vs/workbench/browser/parts/views/media/paneviewlet.css.js +4 -0
  138. package/dist/vscode/vs/workbench/browser/parts/views/media/views.css.js +4 -0
  139. package/dist/vscode/vs/workbench/browser/parts/views/treeView.js +1 -1
  140. package/dist/vscode/vs/workbench/browser/parts/views/viewPane.js +5 -5
  141. package/dist/vscode/vs/workbench/browser/parts/views/viewPaneContainer.js +1 -1
  142. package/dist/vscode/vs/workbench/browser/parts/views/viewsService.js +4 -4
  143. package/dist/vscode/vs/workbench/browser/quickaccess.js +6 -2
  144. package/dist/vscode/vs/workbench/browser/workbench.contribution.js +1108 -0
  145. package/dist/vscode/vs/workbench/common/contextkeys.js +34 -1
  146. package/dist/vscode/vs/workbench/common/editor/editorGroupModel.js +674 -0
  147. package/dist/vscode/vs/workbench/common/editor.js +57 -1
  148. package/dist/vscode/vs/workbench/common/theme.js +35 -35
  149. package/dist/vscode/vs/workbench/common/views.js +1 -1
  150. package/dist/vscode/vs/workbench/contrib/callHierarchy/browser/callHierarchy.contribution.js +4 -4
  151. package/dist/vscode/vs/workbench/contrib/callHierarchy/browser/callHierarchyPeek.js +1 -1
  152. package/dist/vscode/vs/workbench/contrib/callHierarchy/browser/media/callHierarchy.css.js +4 -0
  153. package/dist/vscode/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoLineQuickAccess.js +77 -0
  154. package/dist/vscode/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoSymbolQuickAccess.js +217 -0
  155. package/dist/vscode/vs/workbench/contrib/codeEditor/browser/workbenchReferenceSearch.js +24 -0
  156. package/dist/vscode/vs/workbench/contrib/debug/browser/breakpointWidget.js +1 -1
  157. package/dist/vscode/vs/workbench/contrib/debug/browser/callStackEditorContribution.js +1 -1
  158. package/dist/vscode/vs/workbench/contrib/debug/browser/debug.contribution.js +30 -4
  159. package/dist/vscode/vs/workbench/contrib/debug/browser/debugCommands.js +13 -1
  160. package/dist/vscode/vs/workbench/contrib/debug/browser/debugIcons.js +77 -127
  161. package/dist/vscode/vs/workbench/contrib/debug/browser/debugToolBar.js +1 -1
  162. package/dist/vscode/vs/workbench/contrib/debug/browser/debugViewlet.js +1 -1
  163. package/dist/vscode/vs/workbench/contrib/debug/browser/disassemblyView.js +620 -0
  164. package/dist/vscode/vs/workbench/contrib/debug/browser/exceptionWidget.js +1 -1
  165. package/dist/vscode/vs/workbench/contrib/debug/browser/media/breakpointWidget.css.js +4 -0
  166. package/dist/vscode/vs/workbench/contrib/debug/browser/media/callStackEditorContribution.css.js +4 -0
  167. package/dist/vscode/vs/workbench/contrib/debug/browser/media/debug.contribution.css.js +4 -0
  168. package/dist/vscode/vs/workbench/contrib/debug/browser/media/debugHover.css.js +4 -0
  169. package/dist/vscode/vs/workbench/contrib/debug/browser/media/debugToolBar.css.js +4 -0
  170. package/dist/vscode/vs/workbench/contrib/debug/browser/media/debugViewlet.css.js +4 -0
  171. package/dist/vscode/vs/workbench/contrib/debug/browser/media/exceptionWidget.css.js +4 -0
  172. package/dist/vscode/vs/workbench/contrib/debug/browser/media/repl.css.js +4 -0
  173. package/dist/vscode/vs/workbench/contrib/debug/browser/repl.js +1 -1
  174. package/dist/vscode/vs/workbench/contrib/debug/common/debug.js +2 -1
  175. package/dist/vscode/vs/workbench/contrib/files/browser/editors/binaryFileEditor.js +71 -0
  176. package/dist/vscode/vs/workbench/contrib/files/browser/editors/textFileEditor.js +225 -0
  177. package/dist/vscode/vs/workbench/contrib/files/browser/explorerViewlet.js +5 -4
  178. package/dist/vscode/vs/workbench/contrib/files/browser/fileActions.contribution.js +270 -4
  179. package/dist/vscode/vs/workbench/contrib/files/browser/fileActions.js +4 -1
  180. package/dist/vscode/vs/workbench/contrib/files/browser/fileCommands.js +24 -6
  181. package/dist/vscode/vs/workbench/contrib/files/browser/fileConstants.js +8 -1
  182. package/dist/vscode/vs/workbench/contrib/files/browser/files.contribution.js +10 -0
  183. package/dist/vscode/vs/workbench/contrib/files/browser/media/explorerviewlet.css.js +4 -0
  184. package/dist/vscode/vs/workbench/contrib/files/browser/views/media/openeditors.css.js +4 -0
  185. package/dist/vscode/vs/workbench/contrib/files/browser/views/openEditorsView.js +608 -0
  186. package/dist/vscode/vs/workbench/contrib/files/common/files.js +2 -1
  187. package/dist/vscode/vs/workbench/contrib/interactiveSession/browser/interactiveSessionInputPart.js +1 -1
  188. package/dist/vscode/vs/workbench/contrib/interactiveSession/browser/interactiveSessionWidget.js +1 -1
  189. package/dist/vscode/vs/workbench/contrib/interactiveSession/browser/media/interactiveSession.css.js +4 -0
  190. package/dist/vscode/vs/workbench/contrib/interactiveSession/common/interactiveSessionContextKeys.js +9 -1
  191. package/dist/vscode/vs/workbench/contrib/interactiveSession/common/interactiveSessionModel.js +305 -0
  192. package/dist/vscode/vs/workbench/contrib/interactiveSession/common/interactiveSessionService.js +6 -1
  193. package/dist/vscode/vs/workbench/contrib/interactiveSession/common/interactiveSessionServiceImpl.js +379 -0
  194. package/dist/vscode/vs/workbench/contrib/notebook/browser/notebookBrowser.js +2 -2
  195. package/dist/vscode/vs/workbench/contrib/quickaccess/browser/commandsQuickAccess.js +33 -1
  196. package/dist/vscode/vs/workbench/contrib/quickaccess/browser/quickAccess.contribution.js +130 -0
  197. package/dist/vscode/vs/workbench/contrib/quickaccess/browser/viewQuickAccess.js +225 -0
  198. package/dist/vscode/vs/workbench/contrib/remote/browser/media/tunnelView.css.js +4 -0
  199. package/dist/vscode/vs/workbench/contrib/remote/browser/remoteIcons.js +21 -17
  200. package/dist/vscode/vs/workbench/contrib/remote/browser/tunnelView.js +1 -1
  201. package/dist/vscode/vs/workbench/contrib/search/browser/anythingQuickAccess.js +757 -0
  202. package/dist/vscode/vs/workbench/contrib/search/browser/media/anythingQuickAccess.css.js +4 -0
  203. package/dist/vscode/vs/workbench/contrib/search/browser/search.contribution.js +428 -0
  204. package/dist/vscode/vs/workbench/contrib/search/browser/symbolsQuickAccess.js +219 -0
  205. package/dist/vscode/vs/workbench/contrib/search/common/cacheState.js +85 -0
  206. package/dist/vscode/vs/workbench/contrib/search/common/constants.js +2 -0
  207. package/dist/vscode/vs/workbench/contrib/search/common/search.js +119 -1
  208. package/dist/vscode/vs/workbench/contrib/tasks/browser/taskQuickPick.js +385 -0
  209. package/dist/vscode/vs/workbench/contrib/tasks/browser/tasksQuickAccess.js +108 -0
  210. package/dist/vscode/vs/workbench/contrib/tasks/common/tasks.js +351 -0
  211. package/dist/vscode/vs/workbench/contrib/terminal/browser/terminal.js +4 -0
  212. package/dist/vscode/vs/workbench/contrib/terminal/browser/terminalIcon.js +44 -0
  213. package/dist/vscode/vs/workbench/contrib/terminal/common/terminalColorRegistry.js +147 -1
  214. package/dist/vscode/vs/workbench/contrib/typeHierarchy/browser/media/typeHierarchy.css.js +4 -0
  215. package/dist/vscode/vs/workbench/contrib/typeHierarchy/browser/typeHierarchyPeek.js +1 -1
  216. package/dist/vscode/vs/workbench/services/editor/browser/editorDropService.js +3 -0
  217. package/dist/vscode/vs/workbench/services/editor/browser/editorResolverService.js +619 -0
  218. package/dist/vscode/vs/workbench/services/editor/browser/editorService.js +720 -0
  219. package/dist/vscode/vs/workbench/services/editor/common/editorGroupFinder.js +116 -0
  220. package/dist/vscode/vs/workbench/services/editor/common/editorGroupsService.js +6 -1
  221. package/dist/vscode/vs/workbench/services/editor/common/editorResolverService.js +34 -1
  222. package/dist/vscode/vs/workbench/services/history/browser/historyService.js +1451 -0
  223. package/dist/vscode/vs/workbench/services/hover/browser/hoverService.js +1 -1
  224. package/dist/vscode/vs/workbench/services/hover/browser/media/hover.css.js +4 -0
  225. package/dist/vscode/vs/workbench/services/languageDetection/common/languageDetectionWorkerService.js +2 -1
  226. package/dist/vscode/vs/workbench/services/outline/browser/outline.js +3 -0
  227. package/dist/vscode/vs/workbench/services/progress/browser/progressIndicator.js +72 -1
  228. package/dist/vscode/vs/workbench/services/quickinput/browser/quickInputService.js +67 -0
  229. package/dist/vscode/vs/workbench/services/search/common/search.js +2 -112
  230. package/dist/vscode/vs/workbench/services/semanticSimilarity/common/semanticSimilarityService.js +54 -1
  231. package/dist/vscode/vs/workbench/services/statusbar/browser/statusbar.js +15 -0
  232. package/dist/vscode/vs/workbench/services/textMate/browser/worker/textMate.worker.js +90 -0
  233. package/dist/vscode/vs/workbench/services/textMate/browser/worker/textMateWorkerModel.js +133 -0
  234. package/dist/vscode/vs/workbench/services/untitled/common/untitledTextEditorService.js +110 -3
  235. package/dist/vscode/vs/workbench/services/userDataProfile/common/userDataProfile.js +1 -1
  236. package/dist/vscode-services/extHost.js +12 -5
  237. package/dist/vscode-services/missing-services.js +117 -3
  238. package/dist/vscode-services/window.js +21 -2
  239. package/dist/vscode-services/workspace.js +2 -1
  240. package/dist/workbenchThemeService.d.ts +1 -1
  241. package/dist/workers/textMate.worker.d.ts +2 -0
  242. package/dist/workers/textMate.worker.js +3 -0
  243. package/dist/workspace.d.ts +1 -1
  244. package/monaco-editor-treemending.patch +535 -535
  245. package/package.json +42 -22
  246. package/dist/assets/activityaction.css +0 -224
  247. package/dist/assets/activitybarpart.css +0 -65
  248. package/dist/assets/basepanelpart.css +0 -221
  249. package/dist/assets/breakpointWidget.css +0 -31
  250. package/dist/assets/callHierarchy.css +0 -62
  251. package/dist/assets/callStackEditorContribution.css +0 -12
  252. package/dist/assets/compositepart.css +0 -17
  253. package/dist/assets/debug.contribution.css +0 -138
  254. package/dist/assets/debugHover.css +0 -80
  255. package/dist/assets/debugToolBar.css +0 -49
  256. package/dist/assets/debugViewlet.css +0 -337
  257. package/dist/assets/editorquickaccess.css +0 -8
  258. package/dist/assets/exceptionWidget.css +0 -52
  259. package/dist/assets/explorerviewlet.css +0 -129
  260. package/dist/assets/hover.css +0 -127
  261. package/dist/assets/interactiveSession.css +0 -340
  262. package/dist/assets/menubar.css +0 -111
  263. package/dist/assets/menubarControl.css +0 -61
  264. package/dist/assets/notificationsActions.css +0 -14
  265. package/dist/assets/notificationsCenter.css +0 -69
  266. package/dist/assets/notificationsList.css +0 -152
  267. package/dist/assets/notificationsToasts.css +0 -63
  268. package/dist/assets/panelpart.css +0 -75
  269. package/dist/assets/paneview.css +0 -148
  270. package/dist/assets/paneviewlet.css +0 -79
  271. package/dist/assets/part.css +0 -109
  272. package/dist/assets/repl.css +0 -145
  273. package/dist/assets/sidebarpart.css +0 -61
  274. package/dist/assets/tunnelView.css +0 -107
  275. package/dist/assets/typeHierarchy.css +0 -62
  276. package/dist/assets/views.css +0 -297
  277. package/dist/override/vs/workbench/browser/parts/editor/textEditor.js +0 -2
  278. package/dist/override/vs/workbench/contrib/files/browser/views/openEditorsView.js +0 -2
  279. package/dist/service-override/modelEditor.d.ts +0 -14
  280. package/dist/vscode/vs/workbench/contrib/notebook/common/notebookEditorInput.js +0 -249
  281. package/dist/vscode/vs/workbench/contrib/notebook/common/notebookService.js +0 -10
  282. package/dist/vscode/vs/workbench/services/search/common/searchHelpers.js +0 -72
  283. package/dist/vscode/vs/workbench/services/search/common/searchService.js +0 -355
@@ -1,21 +1,69 @@
1
1
  import { I as IEditorOverrideServices } from '../standaloneServices.js';
2
- import { A as ActionBar, q as IContextMenuProvider, r as ActionsOrientation, s as IActionViewItemProvider, t as AnchorAlignment, u as IMenuService, v as IContextMenuService, j as ITelemetryService, M as MenuId, w as IMenuActionOptions, x as Composite, y as Part, n as IStorageService, z as CompositeRegistry, B as IWorkbenchLayoutService, m as IThemeService, D as IPartOptions, E as IActionViewItem, F as IBoundarySashes, G as IView, d as IPaneComposite, P as PaneCompositeDescriptor, e as IBadge, H as PaneComposite, L as LayoutPriority, J as IViewDescriptorService, l as IConfigurationService, k as IWorkbenchEnvironmentService, K as HoverPosition, N as Dimension, O as Parts, V as ViewContainerLocation } from '../activity.js';
2
+ import { I as IView, a as IPaneComposite, P as PaneCompositeDescriptor, b as IBadge, A as ActionBar, c as IContextMenuProvider, d as ActionsOrientation, e as IActionViewItemProvider, f as AnchorAlignment, g as IMenuService, h as IContextMenuService, i as ITelemetryService, M as MenuId, j as IMenuActionOptions, C as Composite, k as Part, l as IStorageService, m as CompositeRegistry, n as IWorkbenchLayoutService, o as IThemeService, p as IPartOptions, q as IActionViewItem, r as IBoundarySashes, H as HoverPosition, s as IViewDescriptorService, t as PaneComposite, D as Dimension, u as Parts, V as ViewContainerLocation } from '../activity.js';
3
+ import { E as Event, a as IDisposable, D as Disposable, b as Emitter } from '../event.js';
4
+ export { I as IReference } from '../event.js';
5
+ import { I as IProgressIndicator, a as IActionRunner, b as IAction, c as IComposite, d as INotificationService, e as ICommandService } from '../colorRegistry.js';
3
6
  import { I as IInstantiationService } from '../instantiation.js';
4
- import { D as Disposable, E as Event, b as Emitter, I as IDisposable } from '../event.js';
5
- import { I as IContextKeyService, a as IContextKey } from '../contextkey.js';
6
- import { v as IActionRunner, c as IAction, w as IComposite, e as INotificationService, b as IProgressIndicator, d as ICommandService } from '../colorRegistry.js';
7
7
  import { R as ResolvedKeybinding, a as IKeybindingService } from '../keybinding.js';
8
8
  import { T as ThemeIcon } from '../themables.js';
9
+ import { a as IContextKeyService, b as IContextKey } from '../contextkey.js';
9
10
  import { a as IExtensionService } from '../extensionsRegistry.js';
11
+ export { I as IEditorOptions, a as IResolvedTextEditorModel } from '../editorBrowser.js';
12
+ import { O as OpenEditor } from '../editor.js';
10
13
  import 'monaco-editor';
11
- import '../uri.js';
12
- import '../editor.js';
13
- import '../files.js';
14
- import '../extensions.d2.ts';
15
14
  import '../jsonSchema.js';
15
+ import '../uri.js';
16
16
  import '../workspace.js';
17
+ import '../extensions.d2.ts';
17
18
  import 'vscode';
18
19
 
20
+ interface IPaneCompositePart extends IView {
21
+ readonly onDidPaneCompositeOpen: Event<IPaneComposite>;
22
+ readonly onDidPaneCompositeClose: Event<IPaneComposite>;
23
+ /**
24
+ * Opens a viewlet with the given identifier and pass keyboard focus to it if specified.
25
+ */
26
+ openPaneComposite(id: string | undefined, focus?: boolean): Promise<IPaneComposite | undefined>;
27
+ /**
28
+ * Returns the current active viewlet if any.
29
+ */
30
+ getActivePaneComposite(): IPaneComposite | undefined;
31
+ /**
32
+ * Returns the viewlet by id.
33
+ */
34
+ getPaneComposite(id: string): PaneCompositeDescriptor | undefined;
35
+ /**
36
+ * Returns all enabled viewlets
37
+ */
38
+ getPaneComposites(): PaneCompositeDescriptor[];
39
+ /**
40
+ * Returns the progress indicator for the side bar.
41
+ */
42
+ getProgressIndicator(id: string): IProgressIndicator | undefined;
43
+ /**
44
+ * Hide the active viewlet.
45
+ */
46
+ hideActivePaneComposite(): void;
47
+ /**
48
+ * Return the last active viewlet id.
49
+ */
50
+ getLastActivePaneCompositeId(): string;
51
+ }
52
+ interface IPaneCompositeSelectorPart {
53
+ /**
54
+ * Returns id of pinned view containers following the visual order.
55
+ */
56
+ getPinnedPaneCompositeIds(): string[];
57
+ /**
58
+ * Returns id of visible view containers following the visual order.
59
+ */
60
+ getVisiblePaneCompositeIds(): string[];
61
+ /**
62
+ * Show an activity in a viewlet.
63
+ */
64
+ showActivity(id: string, badge: IBadge, clazz?: string, priority?: number): IDisposable;
65
+ }
66
+
19
67
  interface IToolBarOptions {
20
68
  orientation?: ActionsOrientation;
21
69
  actionViewItemProvider?: IActionViewItemProvider;
@@ -185,194 +233,6 @@ declare abstract class CompositePart<T extends Composite> extends Part {
185
233
  dispose(): void;
186
234
  }
187
235
 
188
- interface IPaneCompositePart extends IView {
189
- readonly onDidPaneCompositeOpen: Event<IPaneComposite>;
190
- readonly onDidPaneCompositeClose: Event<IPaneComposite>;
191
- /**
192
- * Opens a viewlet with the given identifier and pass keyboard focus to it if specified.
193
- */
194
- openPaneComposite(id: string | undefined, focus?: boolean): Promise<IPaneComposite | undefined>;
195
- /**
196
- * Returns the current active viewlet if any.
197
- */
198
- getActivePaneComposite(): IPaneComposite | undefined;
199
- /**
200
- * Returns the viewlet by id.
201
- */
202
- getPaneComposite(id: string): PaneCompositeDescriptor | undefined;
203
- /**
204
- * Returns all enabled viewlets
205
- */
206
- getPaneComposites(): PaneCompositeDescriptor[];
207
- /**
208
- * Returns the progress indicator for the side bar.
209
- */
210
- getProgressIndicator(id: string): IProgressIndicator | undefined;
211
- /**
212
- * Hide the active viewlet.
213
- */
214
- hideActivePaneComposite(): void;
215
- /**
216
- * Return the last active viewlet id.
217
- */
218
- getLastActivePaneCompositeId(): string;
219
- }
220
- interface IPaneCompositeSelectorPart {
221
- /**
222
- * Returns id of pinned view containers following the visual order.
223
- */
224
- getPinnedPaneCompositeIds(): string[];
225
- /**
226
- * Returns id of visible view containers following the visual order.
227
- */
228
- getVisiblePaneCompositeIds(): string[];
229
- /**
230
- * Show an activity in a viewlet.
231
- */
232
- showActivity(id: string, badge: IBadge, clazz?: string, priority?: number): IDisposable;
233
- }
234
-
235
- declare class SidebarPart extends CompositePart<PaneComposite> implements IPaneCompositePart {
236
- private readonly viewDescriptorService;
237
- private readonly contextKeyService;
238
- private readonly extensionService;
239
- readonly _serviceBrand: undefined;
240
- static readonly activeViewletSettingsKey = "workbench.sidebar.activeviewletid";
241
- readonly minimumWidth: number;
242
- readonly maximumWidth: number;
243
- readonly minimumHeight: number;
244
- readonly maximumHeight: number;
245
- readonly priority: LayoutPriority;
246
- readonly snap = true;
247
- get preferredWidth(): number | undefined;
248
- get onDidPaneCompositeRegister(): Event<PaneCompositeDescriptor>;
249
- private _onDidViewletDeregister;
250
- readonly onDidPaneCompositeDeregister: Event<PaneCompositeDescriptor>;
251
- get onDidPaneCompositeOpen(): Event<IPaneComposite>;
252
- get onDidPaneCompositeClose(): Event<IPaneComposite>;
253
- private readonly viewletRegistry;
254
- private readonly sideBarFocusContextKey;
255
- private readonly activeViewletContextKey;
256
- private blockOpeningViewlet;
257
- constructor(notificationService: INotificationService, storageService: IStorageService, telemetryService: ITelemetryService, contextMenuService: IContextMenuService, layoutService: IWorkbenchLayoutService, keybindingService: IKeybindingService, instantiationService: IInstantiationService, themeService: IThemeService, viewDescriptorService: IViewDescriptorService, contextKeyService: IContextKeyService, extensionService: IExtensionService);
258
- private registerListeners;
259
- create(parent: HTMLElement): void;
260
- protected createTitleArea(parent: HTMLElement): HTMLElement;
261
- updateStyles(): void;
262
- layout(width: number, height: number, top: number, left: number): void;
263
- getActivePaneComposite(): IPaneComposite | undefined;
264
- getLastActivePaneCompositeId(): string;
265
- hideActivePaneComposite(): void;
266
- openPaneComposite(id: string | undefined, focus?: boolean): Promise<IPaneComposite | undefined>;
267
- getPaneComposites(): PaneCompositeDescriptor[];
268
- getPaneComposite(id: string): PaneCompositeDescriptor;
269
- private doOpenViewlet;
270
- protected getTitleAreaDropDownAnchorAlignment(): AnchorAlignment;
271
- private onTitleAreaContextMenu;
272
- toJSON(): object;
273
- }
274
-
275
- declare class ActivitybarPart extends Part implements IPaneCompositeSelectorPart {
276
- private readonly paneCompositePart;
277
- private readonly instantiationService;
278
- private readonly storageService;
279
- private readonly extensionService;
280
- private readonly viewDescriptorService;
281
- private readonly contextKeyService;
282
- private readonly configurationService;
283
- private readonly environmentService;
284
- readonly _serviceBrand: undefined;
285
- private static readonly PINNED_VIEW_CONTAINERS;
286
- private static readonly PLACEHOLDER_VIEW_CONTAINERS;
287
- private static readonly ACTION_HEIGHT;
288
- private static readonly ACCOUNTS_ACTION_INDEX;
289
- private static readonly GEAR_ICON;
290
- private static readonly ACCOUNTS_ICON;
291
- readonly minimumWidth: number;
292
- readonly maximumWidth: number;
293
- readonly minimumHeight: number;
294
- readonly maximumHeight: number;
295
- private content;
296
- private menuBar;
297
- private menuBarContainer;
298
- private compositeBar;
299
- private compositeBarContainer;
300
- private globalActivityAction;
301
- private globalActivityActionBar;
302
- private globalActivitiesContainer;
303
- private readonly globalActivity;
304
- private accountsActivityAction;
305
- private readonly accountsActivity;
306
- private readonly compositeActions;
307
- private readonly viewContainerDisposables;
308
- private readonly keyboardNavigationDisposables;
309
- private readonly location;
310
- private hasExtensionsRegistered;
311
- private readonly enabledViewContainersContextKeys;
312
- constructor(paneCompositePart: IPaneCompositePart, instantiationService: IInstantiationService, layoutService: IWorkbenchLayoutService, themeService: IThemeService, storageService: IStorageService, extensionService: IExtensionService, viewDescriptorService: IViewDescriptorService, contextKeyService: IContextKeyService, configurationService: IConfigurationService, environmentService: IWorkbenchEnvironmentService);
313
- private createCompositeBar;
314
- private getActivityHoverOptions;
315
- private getContextMenuActionsForComposite;
316
- private registerListeners;
317
- private onDidChangeViewContainers;
318
- private onDidChangeViewContainerLocation;
319
- private onDidChangeViewContainerVisibility;
320
- private onDidRegisterExtensions;
321
- private onDidViewContainerVisible;
322
- showActivity(viewContainerOrActionId: string, badge: IBadge, clazz?: string, priority?: number): IDisposable;
323
- private showGlobalActivity;
324
- private removeGlobalActivity;
325
- private updateGlobalActivity;
326
- private getCumulativeNumberBadge;
327
- private uninstallMenubar;
328
- private installMenubar;
329
- protected createContentArea(parent: HTMLElement): HTMLElement;
330
- private registerKeyboardNavigationListeners;
331
- private createGlobalActivityActionBar;
332
- private toggleAccountsActivity;
333
- private getCompositeActions;
334
- private onDidRegisterViewContainers;
335
- private onDidDeregisterViewContainer;
336
- private updateActivity;
337
- private toActivity;
338
- private static toActivity;
339
- private showOrHideViewContainer;
340
- private shouldBeHidden;
341
- private addComposite;
342
- private hideComposite;
343
- private removeComposite;
344
- getPinnedPaneCompositeIds(): string[];
345
- getVisiblePaneCompositeIds(): string[];
346
- focus(): void;
347
- updateStyles(): void;
348
- private getActivitybarItemColors;
349
- layout(width: number, height: number): void;
350
- private getViewContainer;
351
- private getViewContainers;
352
- private onDidStorageValueChange;
353
- private saveCachedViewContainers;
354
- private _cachedViewContainers;
355
- private get cachedViewContainers();
356
- private storeCachedViewContainersState;
357
- private getPinnedViewContainers;
358
- private setPinnedViewContainers;
359
- private _pinnedViewContainersValue;
360
- private get pinnedViewContainersValue();
361
- private set pinnedViewContainersValue(value);
362
- private getStoredPinnedViewContainersValue;
363
- private setStoredPinnedViewContainersValue;
364
- private getPlaceholderViewContainers;
365
- private setPlaceholderViewContainers;
366
- private _placeholderViewContainersValue;
367
- private get placeholderViewContainersValue();
368
- private set placeholderViewContainersValue(value);
369
- private getStoredPlaceholderViewContainersValue;
370
- private setStoredPlaceholderViewContainersValue;
371
- private get accountsVisibilityPreference();
372
- private set accountsVisibilityPreference(value);
373
- toJSON(): object;
374
- }
375
-
376
236
  interface IActivityHoverOptions {
377
237
  readonly position: () => HoverPosition;
378
238
  }
@@ -485,9 +345,11 @@ declare class PanelPart extends BasePanelPart {
485
345
  toJSON(): object;
486
346
  }
487
347
 
488
- declare function createActivitybarPar(container: HTMLElement): ActivitybarPart;
489
- declare function createSidebarPart(container: HTMLElement): SidebarPart;
490
- declare function createPanelPart(container: HTMLElement): PanelPart;
348
+ declare function renderActivitybarPar(container: HTMLElement): IDisposable;
349
+ declare function renderSidebarPart(container: HTMLElement): IDisposable;
350
+ declare function renderPanelPart(container: HTMLElement): PanelPart;
351
+ declare function renderEditorPart(container: HTMLElement): IDisposable;
352
+ declare function renderStatusBarPart(container: HTMLElement): IDisposable;
491
353
  interface CustomViewOption {
492
354
  id: string;
493
355
  name: string;
@@ -497,6 +359,6 @@ interface CustomViewOption {
497
359
  canMoveView?: boolean;
498
360
  }
499
361
  declare function registerCustomView(options: CustomViewOption): IDisposable;
500
- declare function getServiceOverride(): IEditorOverrideServices;
362
+ declare function getServiceOverride(openEditorFallback?: OpenEditor): IEditorOverrideServices;
501
363
 
502
- export { CustomViewOption, ViewContainerLocation, createActivitybarPar, createPanelPart, createSidebarPart, getServiceOverride as default, registerCustomView };
364
+ export { CustomViewOption, OpenEditor, ViewContainerLocation, getServiceOverride as default, registerCustomView, renderActivitybarPar, renderEditorPart, renderPanelPart, renderSidebarPart, renderStatusBarPart };
@@ -1,3 +1,4 @@
1
+ import { __decorate, __param } from '../node_modules/tslib/tslib.es6.js';
1
2
  import '../vscode-services/missing-services.js';
2
3
  import { StandaloneServices } from 'monaco-editor/esm/vs/editor/standalone/browser/standaloneServices.js';
3
4
  import { SyncDescriptor } from 'monaco-editor/esm/vs/platform/instantiation/common/descriptors.js';
@@ -24,14 +25,45 @@ import { ViewPane } from '../vscode/vs/workbench/browser/parts/views/viewPane.js
24
25
  import { Registry } from 'monaco-editor/esm/vs/platform/registry/common/platform.js';
25
26
  import { ViewPaneContainer } from '../vscode/vs/workbench/browser/parts/views/viewPaneContainer.js';
26
27
  import { URI } from 'monaco-editor/esm/vs/base/common/uri.js';
27
- import getServiceOverride$1 from './layout.js';
28
+ import { EditorPart } from '../vscode/vs/workbench/browser/parts/editor/editorPart.js';
28
29
  import '../vscode/vs/workbench/contrib/files/browser/fileCommands.js';
29
30
  import '../vscode/vs/workbench/contrib/files/browser/fileActions.contribution.js';
30
31
  import '../vscode/vs/workbench/contrib/callHierarchy/browser/callHierarchy.contribution.js';
31
32
  import '../vscode/vs/workbench/contrib/typeHierarchy/browser/typeHierarchy.contribution.js';
32
33
  import '../vscode/vs/workbench/browser/actions/listCommands.js';
33
- import "../assets/views.css";
34
+ import '../vscode/vs/workbench/browser/parts/views/media/views.css.js';
34
35
  import '../vscode/vs/workbench/api/browser/viewsExtensionPoint.js';
36
+ import '../vscode/vs/workbench/browser/parts/editor/editor.contribution.js';
37
+ import '../vscode/vs/workbench/browser/workbench.contribution.js';
38
+ import { IEditorGroupsService } from '../vscode/vs/workbench/services/editor/common/editorGroupsService.js';
39
+ import { IEditorDropService } from '../vscode/vs/workbench/services/editor/browser/editorDropService.js';
40
+ import { EditorService } from '../vscode/vs/workbench/services/editor/browser/editorService.js';
41
+ import { IEditorService } from '../vscode/vs/workbench/services/editor/common/editorService.js';
42
+ import { IEditorResolverService } from '../vscode/vs/workbench/services/editor/common/editorResolverService.js';
43
+ import { EditorResolverService } from '../vscode/vs/workbench/services/editor/browser/editorResolverService.js';
44
+ import { IBreadcrumbsService, BreadcrumbsService } from '../vscode/vs/workbench/browser/parts/editor/breadcrumbs.js';
45
+ import { IContextViewService } from 'monaco-editor/esm/vs/platform/contextview/browser/contextView.js';
46
+ import { ContextViewService } from 'monaco-editor/esm/vs/platform/contextview/browser/contextViewService.js';
47
+ import { ICodeEditorService } from 'monaco-editor/esm/vs/editor/browser/services/codeEditorService.js';
48
+ import { ITextModelService } from 'monaco-editor/esm/vs/editor/common/services/resolverService.js';
49
+ import { IFileService } from 'monaco-editor/esm/vs/platform/files/common/files.js';
50
+ import { IConfigurationService } from 'monaco-editor/esm/vs/platform/configuration/common/configuration.js';
51
+ import { IWorkspaceContextService } from 'monaco-editor/esm/vs/platform/workspace/common/workspace.js';
52
+ import { IUriIdentityService } from 'monaco-editor/esm/vs/platform/uriIdentity/common/uriIdentity.js';
53
+ import { IWorkspaceTrustRequestService } from 'monaco-editor/esm/vs/platform/workspace/common/workspaceTrust.js';
54
+ import { IHostService } from '../vscode/vs/workbench/services/host/browser/host.js';
55
+ import { ITextEditorService, TextEditorService } from '../vscode/vs/workbench/services/textfile/common/textEditorService.js';
56
+ import { CodeEditorService } from '../vscode/vs/workbench/services/editor/browser/codeEditorService.js';
57
+ import { IUntitledTextEditorService, UntitledTextEditorService } from '../vscode/vs/workbench/services/untitled/common/untitledTextEditorService.js';
58
+ import { StatusbarPart } from '../vscode/vs/workbench/browser/parts/statusbar/statusbarPart.js';
59
+ import { IStatusbarService } from '../vscode/vs/workbench/services/statusbar/browser/statusbar.js';
60
+ import { InteractiveSessionService } from '../vscode/vs/workbench/contrib/interactiveSession/common/interactiveSessionServiceImpl.js';
61
+ import { ISemanticSimilarityService, SemanticSimilarityService } from '../vscode/vs/workbench/services/semanticSimilarity/common/semanticSimilarityService.js';
62
+ import { IInteractiveSessionService } from '../vscode/vs/workbench/contrib/interactiveSession/common/interactiveSessionService.js';
63
+ import { IHistoryService } from '../vscode/vs/workbench/services/history/common/history.js';
64
+ import { HistoryService } from '../vscode/vs/workbench/services/history/browser/historyService.js';
65
+ import getServiceOverride$1 from './layout.js';
66
+ import { wrapOpenEditor } from './tools/editor.js';
35
67
  const paneCompositeParts = new Map();
36
68
  const paneCompositeSelectorParts = new Map();
37
69
  class PaneCompositePartService {
@@ -99,13 +131,13 @@ function renderPart(part, container, classNames) {
99
131
  }
100
132
  };
101
133
  }
102
- function createActivitybarPar(container) {
134
+ function renderActivitybarPar(container) {
103
135
  const activitybarPart = StandaloneServices.get(IInstantiationService).createInstance(ActivitybarPart, paneCompositeParts.get(0 ));
104
136
  paneCompositeSelectorParts.set(0 , activitybarPart);
105
137
  activitybarPart['_register'](renderPart(activitybarPart, container, ['part', 'activitybar', 'left']));
106
138
  return activitybarPart;
107
139
  }
108
- function createSidebarPart(container) {
140
+ function renderSidebarPart(container) {
109
141
  const sidebarPart = StandaloneServices.get(IInstantiationService).createInstance(SidebarPart);
110
142
  paneCompositeParts.set(0 , sidebarPart);
111
143
  sidebarPart['_register'](renderPart(sidebarPart, container, ['part', 'sidebar', 'left']));
@@ -114,7 +146,7 @@ function createSidebarPart(container) {
114
146
  }
115
147
  return sidebarPart;
116
148
  }
117
- function createPanelPart(container) {
149
+ function renderPanelPart(container) {
118
150
  const panelPart = StandaloneServices.get(IInstantiationService).createInstance(PanelPart);
119
151
  paneCompositeSelectorParts.set(1 , panelPart);
120
152
  paneCompositeParts.set(1 , panelPart);
@@ -124,6 +156,14 @@ function createPanelPart(container) {
124
156
  }
125
157
  return panelPart;
126
158
  }
159
+ function renderEditorPart(container) {
160
+ const editorPart = StandaloneServices.get(IEditorGroupsService);
161
+ return renderPart(editorPart, container, ['part', 'editor']);
162
+ }
163
+ function renderStatusBarPart(container) {
164
+ const statusBarPart = StandaloneServices.get(IStatusbarService);
165
+ return renderPart(statusBarPart, container, ['part', 'statusbar']);
166
+ }
127
167
  function registerCustomView(options) {
128
168
  const iconUrl = options.icon != null ? ( URI.parse(options.icon)) : undefined;
129
169
  const VIEW_CONTAINER = ( Registry.as(Extensions.ViewContainersRegistry)).registerViewContainer({
@@ -162,7 +202,48 @@ function registerCustomView(options) {
162
202
  }
163
203
  };
164
204
  }
165
- function getServiceOverride() {
205
+ let EditorDropService = class EditorDropService {
206
+ constructor(editorPart) {
207
+ this.editorPart = editorPart;
208
+ }
209
+ createEditorDropTarget(container, delegate) {
210
+ return this.editorPart.createEditorDropTarget(container, delegate);
211
+ }
212
+ };
213
+ EditorDropService = __decorate([
214
+ ( __param(0, IEditorGroupsService))
215
+ ], EditorDropService);
216
+ let CustomEditorService = class CustomEditorService extends EditorService {
217
+ constructor(_openEditorFallback, _editorGroupService, instantiationService, fileService, configurationService, contextService, uriIdentityService, editorResolverService, workspaceTrustRequestService, hostService, textEditorService, textModelService) {
218
+ super(_editorGroupService, instantiationService, fileService, configurationService, contextService, uriIdentityService, editorResolverService, workspaceTrustRequestService, hostService, textEditorService);
219
+ this._editorGroupService = _editorGroupService;
220
+ this.openEditor = wrapOpenEditor(textModelService, this.openEditor.bind(this), _openEditorFallback);
221
+ }
222
+ get activeTextEditorControl() {
223
+ return super.activeTextEditorControl ?? StandaloneServices.get(ICodeEditorService).getFocusedCodeEditor() ?? undefined;
224
+ }
225
+ async openEditor(editor, optionsOrPreferredGroup, preferredGroup) {
226
+ const editorPart = this._editorGroupService;
227
+ if (!(editorPart.getContainer()?.isConnected ?? false)) {
228
+ return undefined;
229
+ }
230
+ return super.openEditor(editor, optionsOrPreferredGroup, preferredGroup);
231
+ }
232
+ };
233
+ CustomEditorService = __decorate([
234
+ ( __param(1, IEditorGroupsService)),
235
+ ( __param(2, IInstantiationService)),
236
+ ( __param(3, IFileService)),
237
+ ( __param(4, IConfigurationService)),
238
+ ( __param(5, IWorkspaceContextService)),
239
+ ( __param(6, IUriIdentityService)),
240
+ ( __param(7, IEditorResolverService)),
241
+ ( __param(8, IWorkspaceTrustRequestService)),
242
+ ( __param(9, IHostService)),
243
+ ( __param(10, ITextEditorService)),
244
+ ( __param(11, ITextModelService))
245
+ ], CustomEditorService);
246
+ function getServiceOverride(openEditorFallback) {
166
247
  return {
167
248
  ...getServiceOverride$1(),
168
249
  [( IViewsService.toString())]: new SyncDescriptor(ViewsService),
@@ -171,7 +252,20 @@ function getServiceOverride() {
171
252
  [( IPaneCompositePartService.toString())]: new SyncDescriptor(PaneCompositePartService),
172
253
  [( IHoverService.toString())]: new SyncDescriptor(HoverService),
173
254
  [( IExplorerService.toString())]: new SyncDescriptor(ExplorerService),
174
- [( IBulkEditService.toString())]: new SyncDescriptor(BulkEditService)
255
+ [( IBulkEditService.toString())]: new SyncDescriptor(BulkEditService),
256
+ [( ICodeEditorService.toString())]: new SyncDescriptor(CodeEditorService),
257
+ [( ITextEditorService.toString())]: new SyncDescriptor(TextEditorService),
258
+ [( IEditorGroupsService.toString())]: new SyncDescriptor(EditorPart),
259
+ [( IStatusbarService.toString())]: new SyncDescriptor(StatusbarPart),
260
+ [( IEditorDropService.toString())]: new SyncDescriptor(EditorDropService),
261
+ [( IEditorService.toString())]: new SyncDescriptor(CustomEditorService, [openEditorFallback]),
262
+ [( IEditorResolverService.toString())]: new SyncDescriptor(EditorResolverService),
263
+ [( IBreadcrumbsService.toString())]: new SyncDescriptor(BreadcrumbsService),
264
+ [( IContextViewService.toString())]: new SyncDescriptor(ContextViewService),
265
+ [( IUntitledTextEditorService.toString())]: new SyncDescriptor(UntitledTextEditorService),
266
+ [( ISemanticSimilarityService.toString())]: new SyncDescriptor(SemanticSimilarityService),
267
+ [( IInteractiveSessionService.toString())]: new SyncDescriptor(InteractiveSessionService),
268
+ [( IHistoryService.toString())]: new SyncDescriptor(HistoryService)
175
269
  };
176
270
  }
177
- export { createActivitybarPar, createPanelPart, createSidebarPart, getServiceOverride as default, registerCustomView };
271
+ export { getServiceOverride as default, registerCustomView, renderActivitybarPar, renderEditorPart, renderPanelPart, renderSidebarPart, renderStatusBarPart };
@@ -1,35 +1,33 @@
1
1
  /// <reference path="./debugProtocol.d.ts" />
2
2
 
3
- import { E as Event, I as IDisposable, C as CancellationToken } from './event.js';
4
- import { I as IMarkdownString, a as IResourceEditorInput, b as ITextResourceEditorInput, c as IEditorOptions, d as IResourceEditorInputIdentifier } from './editor.js';
5
- export { M as MarkdownStringTrustedOptions } from './editor.js';
3
+ import { E as Event, a as IDisposable, C as CancellationToken } from './event.js';
4
+ import { i as IMarkdownString, p as ITextBufferFactory, c as ITextModel, v as ITextModelCreationOptions, w as IEditor, q as IDiffEditor, t as IResourceEditorInput, u as ITextResourceEditorInput, I as IEditorOptions, x as IResourceEditorInputIdentifier, h as IRange, g as IPosition, P as Position, y as IDocumentDiffProviderOptions, z as IDocumentDiff, A as IChange, b as ICodeEditor, B as IDiffEditor$1, C as IDecorationRenderOptions, d as IModelDecorationOptions } from './editorBrowser.js';
5
+ export { D as ITextModelContentProvider, F as ITextModelService, M as MarkdownStringTrustedOptions } from './editorBrowser.js';
6
6
  import { S as ServiceIdentifier, a as ServicesAccessor } from './instantiation.js';
7
7
  export { I as IInstantiationService } from './instantiation.js';
8
- import { I as IProgress, a as IProgressStep, b as IProgressIndicator } from './colorRegistry.js';
9
- export { c as IAction, d as ICommandService, j as INeverShowAgainOptions, k as INotification, l as INotificationActions, o as INotificationHandle, m as INotificationProgress, n as INotificationProgressProperties, h as INotificationProperties, e as INotificationService, p as IPromptChoice, q as IPromptChoiceWithMenu, r as IPromptOptions, s as IStatusMessageOptions, i as NeverShowAgainScope, t as NoOpNotification, u as NoOpProgress, f as NotificationMessage, g as NotificationPriority, N as NotificationsFilter } from './colorRegistry.js';
10
- import { S as Severity, E as ExtensionIdentifier, I as IExtensionDescription } from './extensions.d2.ts';
11
- import { V as VSBuffer, I as IFileService } from './files.js';
12
- import { I as ILanguageIdCodec, a as IEditorCloseEvent, b as IVisibleEditorPane, E as EditorInput, c as EditorsOrder, d as IEditorIdentifier, e as IEditorGroup, G as GroupIdentifier, f as IEditorPane, g as IUntitledTextResourceEditorInput, h as IResourceDiffEditorInput, i as ITextDiffEditorPane, j as IUntypedEditorInput, k as ICloseEditorOptions, l as IFindEditorOptions, m as IRevertOptions, n as ISaveOptions, o as IGroupModelChangeEvent, L as LanguageSelector, C as Command, T as TextEdit, p as IInplaceReplaceSupportResult, W as WorkspaceEdit, q as WorkspaceEditMetadata } from './languageFeatures.js';
13
- export { D as DialogType, J as IBaseDialogOptions, K as ICheckbox, M as ICheckboxResult, B as IConfirmDialogArgs, P as IConfirmation, Q as IConfirmationResult, O as ICustomDialogMarkdown, N as ICustomDialogOptions, y as IDialogArgs, A as IDialogHandler, z as IDialogResult, t as IDialogService, v as IEditorGroupsService, R as IInput, F as IInputDialogArgs, U as IInputElement, S as IInputResult, r as ILanguageConfigurationService, s as ILanguageFeaturesService, u as IMarkerService, V as IPrompt, Y as IPromptBaseButton, Z as IPromptButton, _ as IPromptCancelButton, H as IPromptDialogArgs, X as IPromptResult, $ as IPromptResultWithCancel, a0 as IPromptWithCustomCancel, a1 as IPromptWithDefaultCancel, w as ITextFileService, x as IWorkingCopyFileService } from './languageFeatures.js';
14
- import { U as URI } from './uri.js';
15
- import { C as ConfigurationTarget, I as ITelemetryEndpoint, a as IOpenEmptyWindowOptions, b as IWindowOpenable, c as IOpenWindowOptions, d as IPaneComposite, V as ViewContainerLocation, P as PaneCompositeDescriptor, e as IBadge } from './activity.js';
16
- export { g as IColorTheme, f as IConfigurationChangeEvent, l as IConfigurationService, p as ILayoutService, i as IOpenerService, n as IStorageService, j as ITelemetryService, m as IThemeService, o as IViewsService, k as IWorkbenchEnvironmentService, S as StorageScope, h as StorageTarget } from './activity.js';
8
+ import { f as IProgress, g as IProgressStep, I as IProgressIndicator } from './colorRegistry.js';
9
+ export { b as IAction, e as ICommandService, m as INeverShowAgainOptions, n as INotification, o as INotificationActions, s as INotificationHandle, p as INotificationProgress, q as INotificationProgressProperties, k as INotificationProperties, d as INotificationService, t as IPromptChoice, u as IPromptChoiceWithMenu, v as IPromptOptions, w as IStatusMessageOptions, l as NeverShowAgainScope, x as NoOpNotification, y as NoOpProgress, i as NotificationMessage, j as NotificationPriority, N as NotificationsFilter } from './colorRegistry.js';
10
+ import { S as Severity, d as IEnvironmentService, E as ExtensionIdentifier, I as IExtensionDescription } from './extensions.d2.ts';
11
+ import { c as FileType, V as VSBuffer, w as IFileService } from './files.js';
12
+ import { c as ILanguageIdCodec, d as IEditorCloseEvent, e as IVisibleEditorPane, E as EditorInput, f as EditorsOrder, g as IEditorIdentifier, h as IEditorGroup, G as GroupIdentifier, i as IEditorPane, j as IUntitledTextResourceEditorInput, k as IResourceDiffEditorInput, l as ITextDiffEditorPane, m as IUntypedEditorInput, n as ICloseEditorOptions, o as IFindEditorOptions, p as IRevertOptions, q as ISaveOptions, r as IGroupModelChangeEvent, s as LanguageSelector, C as Command, T as TextEdit, t as IInplaceReplaceSupportResult, W as WorkspaceEdit, u as WorkspaceEditMetadata } from './languageFeatures.js';
13
+ export { D as DialogType, N as IBaseDialogOptions, O as ICheckbox, P as ICheckboxResult, J as IConfirmDialogArgs, S as IConfirmation, U as IConfirmationResult, R as ICustomDialogMarkdown, Q as ICustomDialogOptions, A as IDialogArgs, H as IDialogHandler, B as IDialogResult, v as IDialogService, x as IEditorGroupsService, V as IInput, K as IInputDialogArgs, Y as IInputElement, X as IInputResult, a as ILanguageConfigurationService, I as ILanguageFeaturesService, w as IMarkerService, Z as IPrompt, $ as IPromptBaseButton, a0 as IPromptButton, a1 as IPromptCancelButton, M as IPromptDialogArgs, _ as IPromptResult, a2 as IPromptResultWithCancel, a3 as IPromptWithCustomCancel, a4 as IPromptWithDefaultCancel, y as ITextFileService, z as IWorkingCopyFileService } from './languageFeatures.js';
14
+ import { U as URI, a as UriComponents } from './uri.js';
15
+ import { v as ConfigurationTarget, w as ITelemetryEndpoint, a as IPaneComposite, V as ViewContainerLocation, P as PaneCompositeDescriptor, b as IBadge } from './activity.js';
16
+ export { y as IColorTheme, x as IConfigurationChangeEvent, E as IConfigurationService, G as ILayoutService, B as IOpenerService, l as IStorageService, i as ITelemetryService, o as IThemeService, F as IViewsService, S as StorageScope, z as StorageTarget } from './activity.js';
17
17
  import { I as IStringDictionary } from './collections.js';
18
18
  import { I as ILogService } from './log.js';
19
19
  export { a as ILoggerService, L as LogLevel } from './log.js';
20
- import { I as IWorkspaceFolder } from './workspace.js';
21
- export { a as IWorkspaceContextService } from './workspace.js';
20
+ import { a as IWorkspaceFolder } from './workspace.js';
21
+ export { b as IWorkspaceContextService } from './workspace.js';
22
22
  import { R as ResolvedKeybinding } from './keybinding.js';
23
- import { I as ITextBufferFactory, a as ITextModel, b as ITextModelCreationOptions, c as IEditor, d as IDiffEditor, e as IRange, f as IPosition, P as Position, g as IDocumentDiffProviderOptions, h as IDocumentDiff, i as IChange, j as ICodeEditor, k as IDiffEditor$1, l as IDecorationRenderOptions, m as IModelDecorationOptions } from './editorBrowser.js';
24
- export { n as ITextModelContentProvider, o as ITextModelService } from './editorBrowser.js';
25
23
  import { I as IEditorOverrideServices } from './standaloneServices.js';
26
24
  export { S as StandaloneServices } from './standaloneServices.js';
27
25
  import 'vscode';
26
+ import 'monaco-editor';
27
+ import './themables.js';
28
28
  import './jsonSchema.js';
29
29
  import './contextkey.js';
30
- import './themables.js';
31
30
  import './extensionsRegistry.js';
32
- import 'monaco-editor';
33
31
 
34
32
  interface IAccessibilityInformation {
35
33
  label: string;
@@ -1314,6 +1312,80 @@ interface IEditorService {
1314
1312
  revertAll(options?: IRevertAllEditorsOptions): Promise<boolean>;
1315
1313
  }
1316
1314
 
1315
+ interface IBaseOpenWindowsOptions {
1316
+ /**
1317
+ * Whether to reuse the window or open a new one.
1318
+ */
1319
+ readonly forceReuseWindow?: boolean;
1320
+ /**
1321
+ * The remote authority to use when windows are opened with either
1322
+ * - no workspace (empty window)
1323
+ * - a workspace that is neither `file://` nor `vscode-remote://`
1324
+ * Use 'null' for a local window.
1325
+ * If not set, defaults to the remote authority of the current window.
1326
+ */
1327
+ readonly remoteAuthority?: string | null;
1328
+ }
1329
+ interface IOpenWindowOptions extends IBaseOpenWindowsOptions {
1330
+ readonly forceNewWindow?: boolean;
1331
+ readonly preferNewWindow?: boolean;
1332
+ readonly noRecentEntry?: boolean;
1333
+ readonly addMode?: boolean;
1334
+ readonly diffMode?: boolean;
1335
+ readonly mergeMode?: boolean;
1336
+ readonly gotoLineMode?: boolean;
1337
+ readonly waitMarkerFileURI?: URI;
1338
+ readonly forceProfile?: string;
1339
+ readonly forceTempProfile?: boolean;
1340
+ }
1341
+ interface IOpenEmptyWindowOptions extends IBaseOpenWindowsOptions {
1342
+ }
1343
+ type IWindowOpenable = IWorkspaceToOpen | IFolderToOpen | IFileToOpen;
1344
+ interface IBaseWindowOpenable {
1345
+ label?: string;
1346
+ }
1347
+ interface IWorkspaceToOpen extends IBaseWindowOpenable {
1348
+ readonly workspaceUri: URI;
1349
+ }
1350
+ interface IFolderToOpen extends IBaseWindowOpenable {
1351
+ readonly folderUri: URI;
1352
+ }
1353
+ interface IFileToOpen extends IBaseWindowOpenable {
1354
+ readonly fileUri: URI;
1355
+ }
1356
+ interface IPath$1<T = IEditorOptions> extends IPathData<T> {
1357
+ /**
1358
+ * The file path to open within the instance
1359
+ */
1360
+ fileUri?: URI;
1361
+ }
1362
+ interface IPathData<T = IEditorOptions> {
1363
+ /**
1364
+ * The file path to open within the instance
1365
+ */
1366
+ readonly fileUri?: UriComponents;
1367
+ /**
1368
+ * Optional editor options to apply in the file
1369
+ */
1370
+ readonly options?: T;
1371
+ /**
1372
+ * A hint that the file exists. if true, the
1373
+ * file exists, if false it does not. with
1374
+ * `undefined` the state is unknown.
1375
+ */
1376
+ readonly exists?: boolean;
1377
+ /**
1378
+ * A hint about the file type of this path.
1379
+ * with `undefined` the type is unknown.
1380
+ */
1381
+ readonly type?: FileType;
1382
+ /**
1383
+ * Specifies if the file should be only be opened
1384
+ * if it exists.
1385
+ */
1386
+ readonly openOnlyIfExists?: boolean;
1387
+ }
1388
+
1317
1389
  declare class DebugCompoundRoot {
1318
1390
  private stopped;
1319
1391
  private stopEmitter;
@@ -2233,6 +2305,31 @@ interface ILanguageStatusService {
2233
2305
  getLanguageStatus(model: ITextModel): ILanguageStatus[];
2234
2306
  }
2235
2307
 
2308
+ declare const IWorkbenchEnvironmentService: ServiceIdentifier<IWorkbenchEnvironmentService>;
2309
+ /**
2310
+ * A workbench specific environment service that is only present in workbench
2311
+ * layer.
2312
+ */
2313
+ interface IWorkbenchEnvironmentService extends IEnvironmentService {
2314
+ readonly logFile: URI;
2315
+ readonly windowLogsPath: URI;
2316
+ readonly extHostLogsPath: URI;
2317
+ readonly extHostTelemetryLogFile: URI;
2318
+ readonly extensionEnabledProposedApi?: string[];
2319
+ readonly remoteAuthority?: string;
2320
+ readonly skipReleaseNotes: boolean;
2321
+ readonly skipWelcome: boolean;
2322
+ readonly disableWorkspaceTrust: boolean;
2323
+ readonly webviewExternalEndpoint: string;
2324
+ readonly debugRenderer: boolean;
2325
+ readonly logExtensionHostCommunication?: boolean;
2326
+ readonly enableSmokeTestDriver?: boolean;
2327
+ readonly profDurationMarkers?: string[];
2328
+ readonly filesToOpenOrCreate?: IPath$1[] | undefined;
2329
+ readonly filesToDiff?: IPath$1[] | undefined;
2330
+ readonly filesToMerge?: IPath$1[] | undefined;
2331
+ }
2332
+
2236
2333
  interface ParsedPath {
2237
2334
  root: string;
2238
2335
  dir: string;
@@ -2726,4 +2823,4 @@ declare function registerServiceInitializeParticipant(participant: ServiceInitia
2726
2823
  declare const onRenderWorkbench: Event<ServicesAccessor>;
2727
2824
  declare function initialize(overrides: IEditorOverrideServices): Promise<void>;
2728
2825
 
2729
- export { IAudioCueService, IBulkEditService, IClipboardService, ICodeEditorService, IDebugService, IEditorService, IEditorWorkerService, IFileService, IHostService, ILanguageService, ILanguageStatusService, ILogService, IMarkdownString, IModelService, IPaneCompositePartService, IPathService, IProductService, IQuickInputService, ISnippetsService, IUriIdentityService, Severity, initialize, onRenderWorkbench, registerServiceInitializeParticipant };
2826
+ export { IAudioCueService, IBulkEditService, IClipboardService, ICodeEditorService, IDebugService, IEditorService, IEditorWorkerService, IFileService, IHostService, ILanguageService, ILanguageStatusService, ILogService, IMarkdownString, IModelService, IPaneCompositePartService, IPathService, IProductService, IQuickInputService, ISnippetsService, IUriIdentityService, IWorkbenchEnvironmentService, Severity, initialize, onRenderWorkbench, registerServiceInitializeParticipant };