@theia/plugin-ext 1.49.1 → 1.50.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (762) hide show
  1. package/lib/common/arrays.js.map +1 -1
  2. package/lib/common/assert.js.map +1 -1
  3. package/lib/common/cache.js.map +1 -1
  4. package/lib/common/character-classifier.js.map +1 -1
  5. package/lib/common/collections.js.map +1 -1
  6. package/lib/common/connection.js.map +1 -1
  7. package/lib/common/disposable-util.js.map +1 -1
  8. package/lib/common/editor-options.js +1 -1
  9. package/lib/common/editor-options.js.map +1 -1
  10. package/lib/common/errors.d.ts +1 -1
  11. package/lib/common/errors.d.ts.map +1 -1
  12. package/lib/common/errors.js.map +1 -1
  13. package/lib/common/index.js +3 -3
  14. package/lib/common/index.js.map +1 -1
  15. package/lib/common/link-computer.d.ts +1 -1
  16. package/lib/common/link-computer.d.ts.map +1 -1
  17. package/lib/common/link-computer.js +67 -67
  18. package/lib/common/link-computer.js.map +1 -1
  19. package/lib/common/object-identifier.js +1 -1
  20. package/lib/common/object-identifier.js.map +1 -1
  21. package/lib/common/objects.js.map +1 -1
  22. package/lib/common/paths-util.js.map +1 -1
  23. package/lib/common/plugin-api-rpc-model.d.ts +29 -7
  24. package/lib/common/plugin-api-rpc-model.d.ts.map +1 -1
  25. package/lib/common/plugin-api-rpc-model.js +14 -14
  26. package/lib/common/plugin-api-rpc-model.js.map +1 -1
  27. package/lib/common/plugin-api-rpc.d.ts +44 -19
  28. package/lib/common/plugin-api-rpc.d.ts.map +1 -1
  29. package/lib/common/plugin-api-rpc.js +16 -16
  30. package/lib/common/plugin-api-rpc.js.map +1 -1
  31. package/lib/common/plugin-identifiers.js +1 -1
  32. package/lib/common/plugin-identifiers.js.map +1 -1
  33. package/lib/common/plugin-protocol.d.ts +8 -7
  34. package/lib/common/plugin-protocol.d.ts.map +1 -1
  35. package/lib/common/plugin-protocol.js +6 -6
  36. package/lib/common/plugin-protocol.js.map +1 -1
  37. package/lib/common/proxy-handler.js.map +1 -1
  38. package/lib/common/rpc-protocol.js +1 -1
  39. package/lib/common/rpc-protocol.js.map +1 -1
  40. package/lib/common/semantic-tokens-dto.d.ts +1 -1
  41. package/lib/common/semantic-tokens-dto.d.ts.map +1 -1
  42. package/lib/common/semantic-tokens-dto.js +3 -3
  43. package/lib/common/semantic-tokens-dto.js.map +1 -1
  44. package/lib/common/test-types.js +4 -4
  45. package/lib/common/test-types.js.map +1 -1
  46. package/lib/common/types.js +1 -1
  47. package/lib/common/types.js.map +1 -1
  48. package/lib/common/uint.js +2 -2
  49. package/lib/common/uint.js.map +1 -1
  50. package/lib/common/uri-components.js +1 -1
  51. package/lib/common/uri-components.js.map +1 -1
  52. package/lib/hosted/browser/hosted-plugin-watcher.js +2 -2
  53. package/lib/hosted/browser/hosted-plugin-watcher.js.map +1 -1
  54. package/lib/hosted/browser/hosted-plugin.d.ts +1 -1
  55. package/lib/hosted/browser/hosted-plugin.d.ts.map +1 -1
  56. package/lib/hosted/browser/hosted-plugin.js +58 -58
  57. package/lib/hosted/browser/hosted-plugin.js.map +1 -1
  58. package/lib/hosted/browser/plugin-worker.js +3 -3
  59. package/lib/hosted/browser/plugin-worker.js.map +1 -1
  60. package/lib/hosted/browser/worker/plugin-manifest-loader.js.map +1 -1
  61. package/lib/hosted/browser/worker/worker-env-ext.js +3 -3
  62. package/lib/hosted/browser/worker/worker-env-ext.js.map +1 -1
  63. package/lib/hosted/browser/worker/worker-main.js.map +1 -1
  64. package/lib/hosted/common/hosted-plugin.d.ts +1 -1
  65. package/lib/hosted/common/hosted-plugin.d.ts.map +1 -1
  66. package/lib/hosted/common/hosted-plugin.js +34 -34
  67. package/lib/hosted/common/hosted-plugin.js.map +1 -1
  68. package/lib/hosted/node/hosted-plugin-cli-contribution.js +2 -2
  69. package/lib/hosted/node/hosted-plugin-cli-contribution.js.map +1 -1
  70. package/lib/hosted/node/hosted-plugin-deployer-handler.d.ts +1 -0
  71. package/lib/hosted/node/hosted-plugin-deployer-handler.d.ts.map +1 -1
  72. package/lib/hosted/node/hosted-plugin-deployer-handler.js +17 -12
  73. package/lib/hosted/node/hosted-plugin-deployer-handler.js.map +1 -1
  74. package/lib/hosted/node/hosted-plugin-localization-service.js +8 -8
  75. package/lib/hosted/node/hosted-plugin-localization-service.js.map +1 -1
  76. package/lib/hosted/node/hosted-plugin-process.js +14 -14
  77. package/lib/hosted/node/hosted-plugin-process.js.map +1 -1
  78. package/lib/hosted/node/hosted-plugin-protocol.js +2 -2
  79. package/lib/hosted/node/hosted-plugin-protocol.js.map +1 -1
  80. package/lib/hosted/node/hosted-plugin.js +12 -12
  81. package/lib/hosted/node/hosted-plugin.js.map +1 -1
  82. package/lib/hosted/node/metadata-scanner.js +6 -6
  83. package/lib/hosted/node/metadata-scanner.js.map +1 -1
  84. package/lib/hosted/node/plugin-activation-events.js.map +1 -1
  85. package/lib/hosted/node/plugin-host-module.js.map +1 -1
  86. package/lib/hosted/node/plugin-host-proxy.js.map +1 -1
  87. package/lib/hosted/node/plugin-host-rpc.d.ts +2 -2
  88. package/lib/hosted/node/plugin-host-rpc.d.ts.map +1 -1
  89. package/lib/hosted/node/plugin-host-rpc.js +43 -43
  90. package/lib/hosted/node/plugin-host-rpc.js.map +1 -1
  91. package/lib/hosted/node/plugin-host.js.map +1 -1
  92. package/lib/hosted/node/plugin-language-pack-service.js +2 -2
  93. package/lib/hosted/node/plugin-language-pack-service.js.map +1 -1
  94. package/lib/hosted/node/plugin-manifest-loader.js.map +1 -1
  95. package/lib/hosted/node/plugin-reader.js +8 -8
  96. package/lib/hosted/node/plugin-reader.js.map +1 -1
  97. package/lib/hosted/node/plugin-service.d.ts +1 -1
  98. package/lib/hosted/node/plugin-service.d.ts.map +1 -1
  99. package/lib/hosted/node/plugin-service.js +27 -27
  100. package/lib/hosted/node/plugin-service.js.map +1 -1
  101. package/lib/hosted/node/scanners/backend-init-theia.js.map +1 -1
  102. package/lib/hosted/node/scanners/file-plugin-uri-factory.js +2 -2
  103. package/lib/hosted/node/scanners/file-plugin-uri-factory.js.map +1 -1
  104. package/lib/hosted/node/scanners/grammars-reader.js +2 -2
  105. package/lib/hosted/node/scanners/grammars-reader.js.map +1 -1
  106. package/lib/hosted/node/scanners/scanner-theia.d.ts +1 -1
  107. package/lib/hosted/node/scanners/scanner-theia.d.ts.map +1 -1
  108. package/lib/hosted/node/scanners/scanner-theia.js +10 -10
  109. package/lib/hosted/node/scanners/scanner-theia.js.map +1 -1
  110. package/lib/hosted/node-electron/scanner-theia-electron.js +2 -2
  111. package/lib/hosted/node-electron/scanner-theia-electron.js.map +1 -1
  112. package/lib/main/browser/authentication-main.d.ts +22 -0
  113. package/lib/main/browser/authentication-main.d.ts.map +1 -1
  114. package/lib/main/browser/authentication-main.js.map +1 -1
  115. package/lib/main/browser/command-registry-main.d.ts +23 -0
  116. package/lib/main/browser/command-registry-main.d.ts.map +1 -1
  117. package/lib/main/browser/command-registry-main.js.map +1 -1
  118. package/lib/main/browser/commands.js +5 -5
  119. package/lib/main/browser/commands.js.map +1 -1
  120. package/lib/main/browser/comments/comment-glyph-widget.js.map +1 -1
  121. package/lib/main/browser/comments/comment-thread-widget.js +12 -12
  122. package/lib/main/browser/comments/comment-thread-widget.js.map +1 -1
  123. package/lib/main/browser/comments/comments-context-key-service.js +8 -8
  124. package/lib/main/browser/comments/comments-context-key-service.js.map +1 -1
  125. package/lib/main/browser/comments/comments-contribution.js +14 -14
  126. package/lib/main/browser/comments/comments-contribution.js.map +1 -1
  127. package/lib/main/browser/comments/comments-decorator.js +6 -6
  128. package/lib/main/browser/comments/comments-decorator.js.map +1 -1
  129. package/lib/main/browser/comments/comments-main.js +32 -32
  130. package/lib/main/browser/comments/comments-main.js.map +1 -1
  131. package/lib/main/browser/comments/comments-service.js +2 -2
  132. package/lib/main/browser/comments/comments-service.js.map +1 -1
  133. package/lib/main/browser/custom-editors/custom-editor-contribution.js +4 -4
  134. package/lib/main/browser/custom-editors/custom-editor-contribution.js.map +1 -1
  135. package/lib/main/browser/custom-editors/custom-editor-opener.js +8 -7
  136. package/lib/main/browser/custom-editors/custom-editor-opener.js.map +1 -1
  137. package/lib/main/browser/custom-editors/custom-editor-service.js +2 -2
  138. package/lib/main/browser/custom-editors/custom-editor-service.js.map +1 -1
  139. package/lib/main/browser/custom-editors/custom-editor-widget-factory.js.map +1 -1
  140. package/lib/main/browser/custom-editors/custom-editor-widget.d.ts +2 -2
  141. package/lib/main/browser/custom-editors/custom-editor-widget.d.ts.map +1 -1
  142. package/lib/main/browser/custom-editors/custom-editor-widget.js +15 -18
  143. package/lib/main/browser/custom-editors/custom-editor-widget.js.map +1 -1
  144. package/lib/main/browser/custom-editors/custom-editors-main.d.ts +28 -7
  145. package/lib/main/browser/custom-editors/custom-editors-main.d.ts.map +1 -1
  146. package/lib/main/browser/custom-editors/custom-editors-main.js +29 -43
  147. package/lib/main/browser/custom-editors/custom-editors-main.js.map +1 -1
  148. package/lib/main/browser/custom-editors/plugin-custom-editor-registry.d.ts +1 -1
  149. package/lib/main/browser/custom-editors/plugin-custom-editor-registry.d.ts.map +1 -1
  150. package/lib/main/browser/custom-editors/plugin-custom-editor-registry.js +14 -14
  151. package/lib/main/browser/custom-editors/plugin-custom-editor-registry.js.map +1 -1
  152. package/lib/main/browser/data-transfer/data-transfer-type-converters.js +2 -2
  153. package/lib/main/browser/data-transfer/data-transfer-type-converters.js.map +1 -1
  154. package/lib/main/browser/debug/debug-main.js.map +1 -1
  155. package/lib/main/browser/debug/plugin-debug-configuration-provider.js.map +1 -1
  156. package/lib/main/browser/debug/plugin-debug-service.d.ts +22 -0
  157. package/lib/main/browser/debug/plugin-debug-service.d.ts.map +1 -1
  158. package/lib/main/browser/debug/plugin-debug-service.js +10 -10
  159. package/lib/main/browser/debug/plugin-debug-service.js.map +1 -1
  160. package/lib/main/browser/debug/plugin-debug-session-contribution-registry.js +8 -8
  161. package/lib/main/browser/debug/plugin-debug-session-contribution-registry.js.map +1 -1
  162. package/lib/main/browser/decorations/decorations-main.js.map +1 -1
  163. package/lib/main/browser/dialogs/modal-notification.js +4 -4
  164. package/lib/main/browser/dialogs/modal-notification.js.map +1 -1
  165. package/lib/main/browser/dialogs-main.js.map +1 -1
  166. package/lib/main/browser/documents-main.js.map +1 -1
  167. package/lib/main/browser/editors-and-documents-main.d.ts.map +1 -1
  168. package/lib/main/browser/editors-and-documents-main.js +2 -2
  169. package/lib/main/browser/editors-and-documents-main.js.map +1 -1
  170. package/lib/main/browser/env-main.js.map +1 -1
  171. package/lib/main/browser/file-system-main-impl.js +4 -4
  172. package/lib/main/browser/file-system-main-impl.js.map +1 -1
  173. package/lib/main/browser/hierarchy/hierarchy-types-converters.js +1 -1
  174. package/lib/main/browser/hierarchy/hierarchy-types-converters.js.map +1 -1
  175. package/lib/main/browser/keybindings/keybindings-contribution-handler.js +4 -4
  176. package/lib/main/browser/keybindings/keybindings-contribution-handler.js.map +1 -1
  177. package/lib/main/browser/label-service-main.js.map +1 -1
  178. package/lib/main/browser/languages-main.d.ts +22 -0
  179. package/lib/main/browser/languages-main.d.ts.map +1 -1
  180. package/lib/main/browser/languages-main.js +16 -16
  181. package/lib/main/browser/languages-main.js.map +1 -1
  182. package/lib/main/browser/main-file-system-event-service.js +3 -3
  183. package/lib/main/browser/main-file-system-event-service.js.map +1 -1
  184. package/lib/main/browser/menus/menus-contribution-handler.js +20 -20
  185. package/lib/main/browser/menus/menus-contribution-handler.js.map +1 -1
  186. package/lib/main/browser/menus/plugin-menu-command-adapter.d.ts +1 -1
  187. package/lib/main/browser/menus/plugin-menu-command-adapter.d.ts.map +1 -1
  188. package/lib/main/browser/menus/plugin-menu-command-adapter.js +16 -16
  189. package/lib/main/browser/menus/plugin-menu-command-adapter.js.map +1 -1
  190. package/lib/main/browser/menus/vscode-theia-menu-mappings.d.ts +2 -2
  191. package/lib/main/browser/menus/vscode-theia-menu-mappings.d.ts.map +1 -1
  192. package/lib/main/browser/menus/vscode-theia-menu-mappings.js +2 -2
  193. package/lib/main/browser/menus/vscode-theia-menu-mappings.js.map +1 -1
  194. package/lib/main/browser/message-registry-main.js.map +1 -1
  195. package/lib/main/browser/notebooks/notebook-documents-and-editors-main.js +8 -8
  196. package/lib/main/browser/notebooks/notebook-documents-and-editors-main.js.map +1 -1
  197. package/lib/main/browser/notebooks/notebook-documents-main.d.ts +3 -1
  198. package/lib/main/browser/notebooks/notebook-documents-main.d.ts.map +1 -1
  199. package/lib/main/browser/notebooks/notebook-documents-main.js +8 -6
  200. package/lib/main/browser/notebooks/notebook-documents-main.js.map +1 -1
  201. package/lib/main/browser/notebooks/notebook-dto.js +1 -1
  202. package/lib/main/browser/notebooks/notebook-dto.js.map +1 -1
  203. package/lib/main/browser/notebooks/notebook-editors-main.d.ts +4 -3
  204. package/lib/main/browser/notebooks/notebook-editors-main.d.ts.map +1 -1
  205. package/lib/main/browser/notebooks/notebook-editors-main.js +8 -3
  206. package/lib/main/browser/notebooks/notebook-editors-main.js.map +1 -1
  207. package/lib/main/browser/notebooks/notebook-kernels-main.js +6 -6
  208. package/lib/main/browser/notebooks/notebook-kernels-main.js.map +1 -1
  209. package/lib/main/browser/notebooks/notebooks-main.d.ts +22 -0
  210. package/lib/main/browser/notebooks/notebooks-main.d.ts.map +1 -1
  211. package/lib/main/browser/notebooks/notebooks-main.js +2 -2
  212. package/lib/main/browser/notebooks/notebooks-main.js.map +1 -1
  213. package/lib/main/browser/notebooks/renderers/cell-output-webview.d.ts +3 -0
  214. package/lib/main/browser/notebooks/renderers/cell-output-webview.d.ts.map +1 -1
  215. package/lib/main/browser/notebooks/renderers/cell-output-webview.js +102 -26
  216. package/lib/main/browser/notebooks/renderers/cell-output-webview.js.map +1 -1
  217. package/lib/main/browser/notebooks/renderers/output-webview-internal.d.ts.map +1 -1
  218. package/lib/main/browser/notebooks/renderers/output-webview-internal.js +7 -0
  219. package/lib/main/browser/notebooks/renderers/output-webview-internal.js.map +1 -1
  220. package/lib/main/browser/notebooks/renderers/webview-communication.d.ts +6 -2
  221. package/lib/main/browser/notebooks/renderers/webview-communication.d.ts.map +1 -1
  222. package/lib/main/browser/output-channel-registry-main.js +4 -4
  223. package/lib/main/browser/output-channel-registry-main.js.map +1 -1
  224. package/lib/main/browser/plugin-authentication-service.js +3 -3
  225. package/lib/main/browser/plugin-authentication-service.js.map +1 -1
  226. package/lib/main/browser/plugin-contribution-handler.js +61 -61
  227. package/lib/main/browser/plugin-contribution-handler.js.map +1 -1
  228. package/lib/main/browser/plugin-ext-frontend-module.d.ts.map +1 -1
  229. package/lib/main/browser/plugin-ext-frontend-module.js +0 -2
  230. package/lib/main/browser/plugin-ext-frontend-module.js.map +1 -1
  231. package/lib/main/browser/plugin-ext-widget.js +11 -11
  232. package/lib/main/browser/plugin-ext-widget.js.map +1 -1
  233. package/lib/main/browser/plugin-frontend-contribution.js +4 -4
  234. package/lib/main/browser/plugin-frontend-contribution.js.map +1 -1
  235. package/lib/main/browser/plugin-frontend-view-contribution.js +3 -3
  236. package/lib/main/browser/plugin-frontend-view-contribution.js.map +1 -1
  237. package/lib/main/browser/plugin-icon-service.js +4 -4
  238. package/lib/main/browser/plugin-icon-service.js.map +1 -1
  239. package/lib/main/browser/plugin-icon-theme-service.d.ts +1 -1
  240. package/lib/main/browser/plugin-icon-theme-service.d.ts.map +1 -1
  241. package/lib/main/browser/plugin-icon-theme-service.js +25 -25
  242. package/lib/main/browser/plugin-icon-theme-service.js.map +1 -1
  243. package/lib/main/browser/plugin-shared-style.js +8 -8
  244. package/lib/main/browser/plugin-shared-style.js.map +1 -1
  245. package/lib/main/browser/plugin-storage.js.map +1 -1
  246. package/lib/main/browser/plugin-terminal-registry.js +2 -2
  247. package/lib/main/browser/plugin-terminal-registry.js.map +1 -1
  248. package/lib/main/browser/preference-registry-main.js.map +1 -1
  249. package/lib/main/browser/quick-open-main.d.ts +25 -2
  250. package/lib/main/browser/quick-open-main.d.ts.map +1 -1
  251. package/lib/main/browser/quick-open-main.js +10 -1
  252. package/lib/main/browser/quick-open-main.js.map +1 -1
  253. package/lib/main/browser/scm-main.js +22 -22
  254. package/lib/main/browser/scm-main.js.map +1 -1
  255. package/lib/main/browser/secrets-main.js.map +1 -1
  256. package/lib/main/browser/selection-provider-command.js +5 -5
  257. package/lib/main/browser/selection-provider-command.js.map +1 -1
  258. package/lib/main/browser/status-bar-message-registry-main.js.map +1 -1
  259. package/lib/main/browser/tabs/tabs-main.d.ts +3 -1
  260. package/lib/main/browser/tabs/tabs-main.d.ts.map +1 -1
  261. package/lib/main/browser/tabs/tabs-main.js +41 -15
  262. package/lib/main/browser/tabs/tabs-main.js.map +1 -1
  263. package/lib/main/browser/tasks-main.js.map +1 -1
  264. package/lib/main/browser/terminal-main.d.ts +22 -0
  265. package/lib/main/browser/terminal-main.d.ts.map +1 -1
  266. package/lib/main/browser/terminal-main.js.map +1 -1
  267. package/lib/main/browser/test-main.js +39 -39
  268. package/lib/main/browser/test-main.js.map +1 -1
  269. package/lib/main/browser/text-editor-main.js.map +1 -1
  270. package/lib/main/browser/text-editor-model-service.js +5 -5
  271. package/lib/main/browser/text-editor-model-service.js.map +1 -1
  272. package/lib/main/browser/text-editors-main.js.map +1 -1
  273. package/lib/main/browser/theme-icon-override.js.map +1 -1
  274. package/lib/main/browser/timeline-main.js.map +1 -1
  275. package/lib/main/browser/view/dnd-file-content-store.js +2 -2
  276. package/lib/main/browser/view/dnd-file-content-store.js.map +1 -1
  277. package/lib/main/browser/view/plugin-tree-view-node-label-provider.js +6 -6
  278. package/lib/main/browser/view/plugin-tree-view-node-label-provider.js.map +1 -1
  279. package/lib/main/browser/view/plugin-view-registry.d.ts +1 -1
  280. package/lib/main/browser/view/plugin-view-registry.d.ts.map +1 -1
  281. package/lib/main/browser/view/plugin-view-registry.js +29 -29
  282. package/lib/main/browser/view/plugin-view-registry.js.map +1 -1
  283. package/lib/main/browser/view/plugin-view-widget.js +20 -20
  284. package/lib/main/browser/view/plugin-view-widget.js.map +1 -1
  285. package/lib/main/browser/view/tree-view-decorator-service.d.ts +22 -0
  286. package/lib/main/browser/view/tree-view-decorator-service.d.ts.map +1 -1
  287. package/lib/main/browser/view/tree-view-decorator-service.js +7 -7
  288. package/lib/main/browser/view/tree-view-decorator-service.js.map +1 -1
  289. package/lib/main/browser/view/tree-view-widget.d.ts +22 -0
  290. package/lib/main/browser/view/tree-view-widget.d.ts.map +1 -1
  291. package/lib/main/browser/view/tree-view-widget.js +44 -44
  292. package/lib/main/browser/view/tree-view-widget.js.map +1 -1
  293. package/lib/main/browser/view/tree-views-main.d.ts +22 -0
  294. package/lib/main/browser/view/tree-views-main.d.ts.map +1 -1
  295. package/lib/main/browser/view/tree-views-main.js.map +1 -1
  296. package/lib/main/browser/view/view-context-key-service.js +8 -8
  297. package/lib/main/browser/view/view-context-key-service.js.map +1 -1
  298. package/lib/main/browser/webview/webview-context-keys.js +10 -10
  299. package/lib/main/browser/webview/webview-context-keys.js.map +1 -1
  300. package/lib/main/browser/webview/webview-environment.js +8 -8
  301. package/lib/main/browser/webview/webview-environment.js.map +1 -1
  302. package/lib/main/browser/webview/webview-frontend-security-warnings.js +8 -8
  303. package/lib/main/browser/webview/webview-frontend-security-warnings.js.map +1 -1
  304. package/lib/main/browser/webview/webview-preferences.d.ts +1 -1
  305. package/lib/main/browser/webview/webview-preferences.d.ts.map +1 -1
  306. package/lib/main/browser/webview/webview-preferences.js.map +1 -1
  307. package/lib/main/browser/webview/webview-resource-cache.js +3 -3
  308. package/lib/main/browser/webview/webview-resource-cache.js.map +1 -1
  309. package/lib/main/browser/webview/webview-secondary-window-support.js +4 -4
  310. package/lib/main/browser/webview/webview-secondary-window-support.js.map +1 -1
  311. package/lib/main/browser/webview/webview-theme-data-provider.d.ts +1 -1
  312. package/lib/main/browser/webview/webview-theme-data-provider.d.ts.map +1 -1
  313. package/lib/main/browser/webview/webview-theme-data-provider.js +14 -14
  314. package/lib/main/browser/webview/webview-theme-data-provider.js.map +1 -1
  315. package/lib/main/browser/webview/webview-widget-factory.js.map +1 -1
  316. package/lib/main/browser/webview/webview.d.ts +22 -0
  317. package/lib/main/browser/webview/webview.d.ts.map +1 -1
  318. package/lib/main/browser/webview/webview.js +54 -55
  319. package/lib/main/browser/webview/webview.js.map +1 -1
  320. package/lib/main/browser/webview-views/webview-views-main.d.ts +22 -0
  321. package/lib/main/browser/webview-views/webview-views-main.d.ts.map +1 -1
  322. package/lib/main/browser/webview-views/webview-views-main.js +3 -3
  323. package/lib/main/browser/webview-views/webview-views-main.js.map +1 -1
  324. package/lib/main/browser/webviews-main.d.ts +23 -1
  325. package/lib/main/browser/webviews-main.d.ts.map +1 -1
  326. package/lib/main/browser/webviews-main.js +1 -1
  327. package/lib/main/browser/webviews-main.js.map +1 -1
  328. package/lib/main/browser/window-activity-tracker.d.ts +20 -0
  329. package/lib/main/browser/window-activity-tracker.d.ts.map +1 -0
  330. package/lib/main/browser/window-activity-tracker.js +86 -0
  331. package/lib/main/browser/window-activity-tracker.js.map +1 -0
  332. package/lib/main/browser/window-state-main.d.ts +1 -0
  333. package/lib/main/browser/window-state-main.d.ts.map +1 -1
  334. package/lib/main/browser/window-state-main.js +8 -1
  335. package/lib/main/browser/window-state-main.js.map +1 -1
  336. package/lib/main/browser/workspace-main.d.ts +22 -0
  337. package/lib/main/browser/workspace-main.d.ts.map +1 -1
  338. package/lib/main/browser/workspace-main.js +2 -2
  339. package/lib/main/browser/workspace-main.js.map +1 -1
  340. package/lib/main/common/basic-message-registry-main.js.map +1 -1
  341. package/lib/main/common/basic-notification-main.js.map +1 -1
  342. package/lib/main/common/env-main.js.map +1 -1
  343. package/lib/main/common/plugin-theia-environment.js +4 -4
  344. package/lib/main/common/plugin-theia-environment.js.map +1 -1
  345. package/lib/main/common/webview-protocol.js +1 -1
  346. package/lib/main/common/webview-protocol.js.map +1 -1
  347. package/lib/main/node/handlers/plugin-theia-directory-handler.js +7 -7
  348. package/lib/main/node/handlers/plugin-theia-directory-handler.js.map +1 -1
  349. package/lib/main/node/handlers/plugin-theia-file-handler.js +5 -5
  350. package/lib/main/node/handlers/plugin-theia-file-handler.js.map +1 -1
  351. package/lib/main/node/paths/const.js +1 -1
  352. package/lib/main/node/paths/const.js.map +1 -1
  353. package/lib/main/node/paths/plugin-paths-service.js +10 -10
  354. package/lib/main/node/paths/plugin-paths-service.js.map +1 -1
  355. package/lib/main/node/plugin-cli-contribution.js +2 -2
  356. package/lib/main/node/plugin-cli-contribution.js.map +1 -1
  357. package/lib/main/node/plugin-deployer-contribution.js +6 -6
  358. package/lib/main/node/plugin-deployer-contribution.js.map +1 -1
  359. package/lib/main/node/plugin-deployer-directory-handler-context-impl.js.map +1 -1
  360. package/lib/main/node/plugin-deployer-entry-impl.js.map +1 -1
  361. package/lib/main/node/plugin-deployer-impl.js +18 -18
  362. package/lib/main/node/plugin-deployer-impl.js.map +1 -1
  363. package/lib/main/node/plugin-deployer-proxy-entry-impl.js +3 -3
  364. package/lib/main/node/plugin-deployer-proxy-entry-impl.js.map +1 -1
  365. package/lib/main/node/plugin-ext-backend-module.d.ts.map +1 -1
  366. package/lib/main/node/plugin-ext-backend-module.js +8 -0
  367. package/lib/main/node/plugin-ext-backend-module.js.map +1 -1
  368. package/lib/main/node/plugin-github-resolver.js +5 -5
  369. package/lib/main/node/plugin-github-resolver.js.map +1 -1
  370. package/lib/main/node/plugin-http-resolver.js +5 -5
  371. package/lib/main/node/plugin-http-resolver.js.map +1 -1
  372. package/lib/main/node/plugin-localization-server.js +4 -4
  373. package/lib/main/node/plugin-localization-server.js.map +1 -1
  374. package/lib/main/node/plugin-mgmt-cli-contribution.js +4 -4
  375. package/lib/main/node/plugin-mgmt-cli-contribution.js.map +1 -1
  376. package/lib/main/node/plugin-remote-cli-contribution.d.ts +8 -0
  377. package/lib/main/node/plugin-remote-cli-contribution.d.ts.map +1 -0
  378. package/lib/main/node/plugin-remote-cli-contribution.js +41 -0
  379. package/lib/main/node/plugin-remote-cli-contribution.js.map +1 -0
  380. package/lib/main/node/plugin-remote-copy-contribution.d.ts +7 -0
  381. package/lib/main/node/plugin-remote-copy-contribution.d.ts.map +1 -0
  382. package/lib/main/node/plugin-remote-copy-contribution.js +40 -0
  383. package/lib/main/node/plugin-remote-copy-contribution.js.map +1 -0
  384. package/lib/main/node/plugin-server-handler.js +6 -6
  385. package/lib/main/node/plugin-server-handler.js.map +1 -1
  386. package/lib/main/node/plugin-service.d.ts +1 -1
  387. package/lib/main/node/plugin-service.d.ts.map +1 -1
  388. package/lib/main/node/plugin-service.js +11 -11
  389. package/lib/main/node/plugin-service.js.map +1 -1
  390. package/lib/main/node/plugin-theia-deployer-participant.js +4 -4
  391. package/lib/main/node/plugin-theia-deployer-participant.js.map +1 -1
  392. package/lib/main/node/plugin-uninstallation-manager.js +2 -2
  393. package/lib/main/node/plugin-uninstallation-manager.js.map +1 -1
  394. package/lib/main/node/plugins-key-value-storage.js +12 -12
  395. package/lib/main/node/plugins-key-value-storage.js.map +1 -1
  396. package/lib/main/node/plugins-key-value-storage.spec.js.map +1 -1
  397. package/lib/main/node/resolvers/local-directory-plugin-deployer-resolver.js +2 -2
  398. package/lib/main/node/resolvers/local-directory-plugin-deployer-resolver.js.map +1 -1
  399. package/lib/main/node/resolvers/local-plugin-deployer-resolver.js +2 -2
  400. package/lib/main/node/resolvers/local-plugin-deployer-resolver.js.map +1 -1
  401. package/lib/main/node/temp-dir-util.js.map +1 -1
  402. package/lib/main/node/webview-backend-security-warnings.js +2 -2
  403. package/lib/main/node/webview-backend-security-warnings.js.map +1 -1
  404. package/lib/plugin/authentication-ext.d.ts +22 -0
  405. package/lib/plugin/authentication-ext.d.ts.map +1 -1
  406. package/lib/plugin/authentication-ext.js.map +1 -1
  407. package/lib/plugin/clipboard-ext.d.ts +22 -0
  408. package/lib/plugin/clipboard-ext.d.ts.map +1 -1
  409. package/lib/plugin/clipboard-ext.js +8 -8
  410. package/lib/plugin/clipboard-ext.js.map +1 -1
  411. package/lib/plugin/command-registry.d.ts +24 -1
  412. package/lib/plugin/command-registry.d.ts.map +1 -1
  413. package/lib/plugin/command-registry.js.map +1 -1
  414. package/lib/plugin/comments.d.ts +22 -0
  415. package/lib/plugin/comments.d.ts.map +1 -1
  416. package/lib/plugin/comments.js +27 -27
  417. package/lib/plugin/comments.js.map +1 -1
  418. package/lib/plugin/custom-editors.d.ts +23 -1
  419. package/lib/plugin/custom-editors.d.ts.map +1 -1
  420. package/lib/plugin/custom-editors.js +6 -6
  421. package/lib/plugin/custom-editors.js.map +1 -1
  422. package/lib/plugin/debug/debug-ext.d.ts +23 -0
  423. package/lib/plugin/debug/debug-ext.d.ts.map +1 -1
  424. package/lib/plugin/debug/debug-ext.js +12 -12
  425. package/lib/plugin/debug/debug-ext.js.map +1 -1
  426. package/lib/plugin/debug/plugin-debug-adapter-creator.d.ts +22 -0
  427. package/lib/plugin/debug/plugin-debug-adapter-creator.d.ts.map +1 -1
  428. package/lib/plugin/debug/plugin-debug-adapter-creator.js.map +1 -1
  429. package/lib/plugin/debug/plugin-debug-adapter-session.d.ts +22 -0
  430. package/lib/plugin/debug/plugin-debug-adapter-session.d.ts.map +1 -1
  431. package/lib/plugin/debug/plugin-debug-adapter-session.js.map +1 -1
  432. package/lib/plugin/debug/plugin-debug-adapter-tracker.d.ts +22 -0
  433. package/lib/plugin/debug/plugin-debug-adapter-tracker.d.ts.map +1 -1
  434. package/lib/plugin/debug/plugin-debug-adapter-tracker.js.map +1 -1
  435. package/lib/plugin/decorations.d.ts +22 -0
  436. package/lib/plugin/decorations.d.ts.map +1 -1
  437. package/lib/plugin/decorations.js.map +1 -1
  438. package/lib/plugin/dialogs.d.ts +22 -0
  439. package/lib/plugin/dialogs.d.ts.map +1 -1
  440. package/lib/plugin/dialogs.js.map +1 -1
  441. package/lib/plugin/document-data.d.ts +22 -0
  442. package/lib/plugin/document-data.d.ts.map +1 -1
  443. package/lib/plugin/document-data.js.map +1 -1
  444. package/lib/plugin/documents.d.ts +22 -0
  445. package/lib/plugin/documents.d.ts.map +1 -1
  446. package/lib/plugin/documents.js.map +1 -1
  447. package/lib/plugin/editors-and-documents.d.ts +1 -0
  448. package/lib/plugin/editors-and-documents.d.ts.map +1 -1
  449. package/lib/plugin/editors-and-documents.js +7 -4
  450. package/lib/plugin/editors-and-documents.js.map +1 -1
  451. package/lib/plugin/env.d.ts +23 -0
  452. package/lib/plugin/env.d.ts.map +1 -1
  453. package/lib/plugin/env.js +9 -9
  454. package/lib/plugin/env.js.map +1 -1
  455. package/lib/plugin/file-system-event-service-ext-impl.d.ts +24 -2
  456. package/lib/plugin/file-system-event-service-ext-impl.d.ts.map +1 -1
  457. package/lib/plugin/file-system-event-service-ext-impl.js +15 -15
  458. package/lib/plugin/file-system-event-service-ext-impl.js.map +1 -1
  459. package/lib/plugin/file-system-ext-impl.d.ts +22 -0
  460. package/lib/plugin/file-system-ext-impl.d.ts.map +1 -1
  461. package/lib/plugin/file-system-ext-impl.js +15 -15
  462. package/lib/plugin/file-system-ext-impl.js.map +1 -1
  463. package/lib/plugin/known-commands.js +1 -1
  464. package/lib/plugin/known-commands.js.map +1 -1
  465. package/lib/plugin/label-service.d.ts +23 -0
  466. package/lib/plugin/label-service.d.ts.map +1 -1
  467. package/lib/plugin/languages/call-hierarchy.d.ts +22 -0
  468. package/lib/plugin/languages/call-hierarchy.d.ts.map +1 -1
  469. package/lib/plugin/languages/call-hierarchy.js.map +1 -1
  470. package/lib/plugin/languages/code-action.d.ts +22 -0
  471. package/lib/plugin/languages/code-action.d.ts.map +1 -1
  472. package/lib/plugin/languages/code-action.js.map +1 -1
  473. package/lib/plugin/languages/color.d.ts +22 -0
  474. package/lib/plugin/languages/color.d.ts.map +1 -1
  475. package/lib/plugin/languages/color.js.map +1 -1
  476. package/lib/plugin/languages/completion.d.ts +22 -0
  477. package/lib/plugin/languages/completion.d.ts.map +1 -1
  478. package/lib/plugin/languages/completion.js.map +1 -1
  479. package/lib/plugin/languages/declaration.d.ts +22 -0
  480. package/lib/plugin/languages/declaration.d.ts.map +1 -1
  481. package/lib/plugin/languages/declaration.js.map +1 -1
  482. package/lib/plugin/languages/definition.d.ts +22 -0
  483. package/lib/plugin/languages/definition.d.ts.map +1 -1
  484. package/lib/plugin/languages/definition.js.map +1 -1
  485. package/lib/plugin/languages/diagnostics.d.ts +22 -0
  486. package/lib/plugin/languages/diagnostics.d.ts.map +1 -1
  487. package/lib/plugin/languages/diagnostics.js.map +1 -1
  488. package/lib/plugin/languages/document-drop-edit.d.ts +22 -0
  489. package/lib/plugin/languages/document-drop-edit.d.ts.map +1 -1
  490. package/lib/plugin/languages/document-formatting.d.ts +22 -0
  491. package/lib/plugin/languages/document-formatting.d.ts.map +1 -1
  492. package/lib/plugin/languages/document-formatting.js.map +1 -1
  493. package/lib/plugin/languages/document-highlight.d.ts +22 -0
  494. package/lib/plugin/languages/document-highlight.d.ts.map +1 -1
  495. package/lib/plugin/languages/document-highlight.js.map +1 -1
  496. package/lib/plugin/languages/evaluatable-expression.d.ts +22 -0
  497. package/lib/plugin/languages/evaluatable-expression.d.ts.map +1 -1
  498. package/lib/plugin/languages/evaluatable-expression.js.map +1 -1
  499. package/lib/plugin/languages/folding.d.ts +22 -0
  500. package/lib/plugin/languages/folding.d.ts.map +1 -1
  501. package/lib/plugin/languages/folding.js.map +1 -1
  502. package/lib/plugin/languages/hover.d.ts +22 -0
  503. package/lib/plugin/languages/hover.d.ts.map +1 -1
  504. package/lib/plugin/languages/hover.js.map +1 -1
  505. package/lib/plugin/languages/implementation.d.ts +22 -0
  506. package/lib/plugin/languages/implementation.d.ts.map +1 -1
  507. package/lib/plugin/languages/implementation.js.map +1 -1
  508. package/lib/plugin/languages/inlay-hints.d.ts +22 -0
  509. package/lib/plugin/languages/inlay-hints.d.ts.map +1 -1
  510. package/lib/plugin/languages/inlay-hints.js +1 -1
  511. package/lib/plugin/languages/inlay-hints.js.map +1 -1
  512. package/lib/plugin/languages/inline-completion.d.ts +22 -0
  513. package/lib/plugin/languages/inline-completion.d.ts.map +1 -1
  514. package/lib/plugin/languages/inline-completion.js.map +1 -1
  515. package/lib/plugin/languages/inline-values.d.ts +22 -0
  516. package/lib/plugin/languages/inline-values.d.ts.map +1 -1
  517. package/lib/plugin/languages/inline-values.js.map +1 -1
  518. package/lib/plugin/languages/lens.d.ts +22 -0
  519. package/lib/plugin/languages/lens.d.ts.map +1 -1
  520. package/lib/plugin/languages/lens.js.map +1 -1
  521. package/lib/plugin/languages/link-provider.d.ts +22 -0
  522. package/lib/plugin/languages/link-provider.d.ts.map +1 -1
  523. package/lib/plugin/languages/link-provider.js.map +1 -1
  524. package/lib/plugin/languages/linked-editing-range.d.ts +22 -0
  525. package/lib/plugin/languages/linked-editing-range.d.ts.map +1 -1
  526. package/lib/plugin/languages/linked-editing-range.js.map +1 -1
  527. package/lib/plugin/languages/on-type-formatting.d.ts +22 -0
  528. package/lib/plugin/languages/on-type-formatting.d.ts.map +1 -1
  529. package/lib/plugin/languages/on-type-formatting.js.map +1 -1
  530. package/lib/plugin/languages/outline.d.ts +22 -0
  531. package/lib/plugin/languages/outline.d.ts.map +1 -1
  532. package/lib/plugin/languages/outline.js.map +1 -1
  533. package/lib/plugin/languages/range-formatting.d.ts +22 -0
  534. package/lib/plugin/languages/range-formatting.d.ts.map +1 -1
  535. package/lib/plugin/languages/range-formatting.js.map +1 -1
  536. package/lib/plugin/languages/reference.d.ts +22 -0
  537. package/lib/plugin/languages/reference.d.ts.map +1 -1
  538. package/lib/plugin/languages/reference.js.map +1 -1
  539. package/lib/plugin/languages/rename.d.ts +22 -0
  540. package/lib/plugin/languages/rename.d.ts.map +1 -1
  541. package/lib/plugin/languages/rename.js +3 -3
  542. package/lib/plugin/languages/rename.js.map +1 -1
  543. package/lib/plugin/languages/selection-range.d.ts +22 -0
  544. package/lib/plugin/languages/selection-range.d.ts.map +1 -1
  545. package/lib/plugin/languages/selection-range.js.map +1 -1
  546. package/lib/plugin/languages/semantic-highlighting.d.ts +22 -0
  547. package/lib/plugin/languages/semantic-highlighting.d.ts.map +1 -1
  548. package/lib/plugin/languages/semantic-highlighting.js.map +1 -1
  549. package/lib/plugin/languages/signature.d.ts +22 -0
  550. package/lib/plugin/languages/signature.d.ts.map +1 -1
  551. package/lib/plugin/languages/signature.js.map +1 -1
  552. package/lib/plugin/languages/type-definition.d.ts +22 -0
  553. package/lib/plugin/languages/type-definition.d.ts.map +1 -1
  554. package/lib/plugin/languages/type-definition.js.map +1 -1
  555. package/lib/plugin/languages/type-hierarchy.d.ts +22 -0
  556. package/lib/plugin/languages/type-hierarchy.d.ts.map +1 -1
  557. package/lib/plugin/languages/type-hierarchy.js.map +1 -1
  558. package/lib/plugin/languages/util.d.ts +22 -0
  559. package/lib/plugin/languages/util.d.ts.map +1 -1
  560. package/lib/plugin/languages/workspace-symbol.d.ts +22 -0
  561. package/lib/plugin/languages/workspace-symbol.d.ts.map +1 -1
  562. package/lib/plugin/languages/workspace-symbol.js.map +1 -1
  563. package/lib/plugin/languages-utils.d.ts +22 -0
  564. package/lib/plugin/languages-utils.d.ts.map +1 -1
  565. package/lib/plugin/languages-utils.js.map +1 -1
  566. package/lib/plugin/languages.d.ts +22 -0
  567. package/lib/plugin/languages.d.ts.map +1 -1
  568. package/lib/plugin/languages.js.map +1 -1
  569. package/lib/plugin/localization-ext.js +8 -8
  570. package/lib/plugin/localization-ext.js.map +1 -1
  571. package/lib/plugin/markdown-string.d.ts +22 -0
  572. package/lib/plugin/markdown-string.d.ts.map +1 -1
  573. package/lib/plugin/markdown-string.js +20 -20
  574. package/lib/plugin/markdown-string.js.map +1 -1
  575. package/lib/plugin/message-registry.d.ts +22 -0
  576. package/lib/plugin/message-registry.d.ts.map +1 -1
  577. package/lib/plugin/message-registry.js +8 -8
  578. package/lib/plugin/message-registry.js.map +1 -1
  579. package/lib/plugin/node/debug/plugin-node-debug-adapter-creator.d.ts +22 -0
  580. package/lib/plugin/node/debug/plugin-node-debug-adapter-creator.d.ts.map +1 -1
  581. package/lib/plugin/node/debug/plugin-node-debug-adapter-creator.js.map +1 -1
  582. package/lib/plugin/node/env-node-ext.js +3 -3
  583. package/lib/plugin/node/env-node-ext.js.map +1 -1
  584. package/lib/plugin/node/plugin-container-module.d.ts +4 -4
  585. package/lib/plugin/node/plugin-container-module.d.ts.map +1 -1
  586. package/lib/plugin/node/plugin-container-module.js.map +1 -1
  587. package/lib/plugin/notebook/notebook-document.d.ts +22 -0
  588. package/lib/plugin/notebook/notebook-document.d.ts.map +1 -1
  589. package/lib/plugin/notebook/notebook-document.js +23 -16
  590. package/lib/plugin/notebook/notebook-document.js.map +1 -1
  591. package/lib/plugin/notebook/notebook-documents.d.ts +23 -1
  592. package/lib/plugin/notebook/notebook-documents.d.ts.map +1 -1
  593. package/lib/plugin/notebook/notebook-editor.d.ts +22 -0
  594. package/lib/plugin/notebook/notebook-editor.d.ts.map +1 -1
  595. package/lib/plugin/notebook/notebook-editor.js.map +1 -1
  596. package/lib/plugin/notebook/notebook-editors.d.ts +22 -0
  597. package/lib/plugin/notebook/notebook-editors.d.ts.map +1 -1
  598. package/lib/plugin/notebook/notebook-editors.js.map +1 -1
  599. package/lib/plugin/notebook/notebook-kernels.d.ts +22 -0
  600. package/lib/plugin/notebook/notebook-kernels.d.ts.map +1 -1
  601. package/lib/plugin/notebook/notebook-kernels.js +1 -1
  602. package/lib/plugin/notebook/notebook-kernels.js.map +1 -1
  603. package/lib/plugin/notebook/notebook-renderers.d.ts +22 -0
  604. package/lib/plugin/notebook/notebook-renderers.d.ts.map +1 -1
  605. package/lib/plugin/notebook/notebook-renderers.js.map +1 -1
  606. package/lib/plugin/notebook/notebooks.d.ts +23 -0
  607. package/lib/plugin/notebook/notebooks.d.ts.map +1 -1
  608. package/lib/plugin/notebook/notebooks.js +41 -19
  609. package/lib/plugin/notebook/notebooks.js.map +1 -1
  610. package/lib/plugin/notification.d.ts +22 -0
  611. package/lib/plugin/notification.d.ts.map +1 -1
  612. package/lib/plugin/notification.js.map +1 -1
  613. package/lib/plugin/output-channel/log-output-channel.d.ts +22 -0
  614. package/lib/plugin/output-channel/log-output-channel.d.ts.map +1 -1
  615. package/lib/plugin/output-channel/log-output-channel.js.map +1 -1
  616. package/lib/plugin/output-channel/output-channel-item.d.ts +22 -0
  617. package/lib/plugin/output-channel/output-channel-item.d.ts.map +1 -1
  618. package/lib/plugin/output-channel/output-channel-item.js.map +1 -1
  619. package/lib/plugin/output-channel-registry.d.ts +22 -0
  620. package/lib/plugin/output-channel-registry.d.ts.map +1 -1
  621. package/lib/plugin/output-channel-registry.js.map +1 -1
  622. package/lib/plugin/path.js.map +1 -1
  623. package/lib/plugin/plugin-context.d.ts +23 -0
  624. package/lib/plugin/plugin-context.d.ts.map +1 -1
  625. package/lib/plugin/plugin-context.js +16 -8
  626. package/lib/plugin/plugin-context.js.map +1 -1
  627. package/lib/plugin/plugin-icon-path.d.ts +1 -1
  628. package/lib/plugin/plugin-icon-path.d.ts.map +1 -1
  629. package/lib/plugin/plugin-icon-path.js +1 -1
  630. package/lib/plugin/plugin-icon-path.js.map +1 -1
  631. package/lib/plugin/plugin-manager.d.ts +24 -1
  632. package/lib/plugin/plugin-manager.d.ts.map +1 -1
  633. package/lib/plugin/plugin-manager.js +25 -27
  634. package/lib/plugin/plugin-manager.js.map +1 -1
  635. package/lib/plugin/plugin-storage.d.ts +22 -0
  636. package/lib/plugin/plugin-storage.d.ts.map +1 -1
  637. package/lib/plugin/plugin-storage.js +4 -4
  638. package/lib/plugin/plugin-storage.js.map +1 -1
  639. package/lib/plugin/preference-registry.d.ts +23 -1
  640. package/lib/plugin/preference-registry.d.ts.map +1 -1
  641. package/lib/plugin/preference-registry.js +11 -11
  642. package/lib/plugin/preference-registry.js.map +1 -1
  643. package/lib/plugin/prefix-sum-computer.js.map +1 -1
  644. package/lib/plugin/quick-open.d.ts +23 -1
  645. package/lib/plugin/quick-open.d.ts.map +1 -1
  646. package/lib/plugin/quick-open.js +5 -5
  647. package/lib/plugin/quick-open.js.map +1 -1
  648. package/lib/plugin/scm.d.ts +22 -0
  649. package/lib/plugin/scm.d.ts.map +1 -1
  650. package/lib/plugin/scm.js +57 -57
  651. package/lib/plugin/scm.js.map +1 -1
  652. package/lib/plugin/secrets-ext.d.ts +22 -0
  653. package/lib/plugin/secrets-ext.d.ts.map +1 -1
  654. package/lib/plugin/secrets-ext.js +4 -4
  655. package/lib/plugin/secrets-ext.js.map +1 -1
  656. package/lib/plugin/status-bar/status-bar-item.d.ts +22 -0
  657. package/lib/plugin/status-bar/status-bar-item.d.ts.map +1 -1
  658. package/lib/plugin/status-bar/status-bar-item.js.map +1 -1
  659. package/lib/plugin/status-bar-message-registry.d.ts +22 -0
  660. package/lib/plugin/status-bar-message-registry.d.ts.map +1 -1
  661. package/lib/plugin/status-bar-message-registry.js.map +1 -1
  662. package/lib/plugin/tabs.d.ts +22 -0
  663. package/lib/plugin/tabs.d.ts.map +1 -1
  664. package/lib/plugin/tabs.js +22 -18
  665. package/lib/plugin/tabs.js.map +1 -1
  666. package/lib/plugin/tasks/task-provider.d.ts +22 -0
  667. package/lib/plugin/tasks/task-provider.d.ts.map +1 -1
  668. package/lib/plugin/tasks/task-provider.js.map +1 -1
  669. package/lib/plugin/tasks/tasks.d.ts +23 -1
  670. package/lib/plugin/tasks/tasks.d.ts.map +1 -1
  671. package/lib/plugin/tasks/tasks.js.map +1 -1
  672. package/lib/plugin/telemetry-ext.js.map +1 -1
  673. package/lib/plugin/terminal-ext.d.ts +23 -0
  674. package/lib/plugin/terminal-ext.d.ts.map +1 -1
  675. package/lib/plugin/terminal-ext.js +15 -15
  676. package/lib/plugin/terminal-ext.js.map +1 -1
  677. package/lib/plugin/test-item.d.ts +22 -0
  678. package/lib/plugin/test-item.d.ts.map +1 -1
  679. package/lib/plugin/test-item.js +17 -17
  680. package/lib/plugin/test-item.js.map +1 -1
  681. package/lib/plugin/tests.d.ts +24 -2
  682. package/lib/plugin/tests.d.ts.map +1 -1
  683. package/lib/plugin/tests.js +8 -9
  684. package/lib/plugin/tests.js.map +1 -1
  685. package/lib/plugin/text-editor.d.ts +23 -1
  686. package/lib/plugin/text-editor.d.ts.map +1 -1
  687. package/lib/plugin/text-editor.js +0 -1
  688. package/lib/plugin/text-editor.js.map +1 -1
  689. package/lib/plugin/text-editors.d.ts +22 -0
  690. package/lib/plugin/text-editors.d.ts.map +1 -1
  691. package/lib/plugin/text-editors.js.map +1 -1
  692. package/lib/plugin/theming.js.map +1 -1
  693. package/lib/plugin/timeline.d.ts +23 -0
  694. package/lib/plugin/timeline.d.ts.map +1 -1
  695. package/lib/plugin/timeline.js.map +1 -1
  696. package/lib/plugin/tree/tree-views.d.ts +22 -0
  697. package/lib/plugin/tree/tree-views.d.ts.map +1 -1
  698. package/lib/plugin/tree/tree-views.js.map +1 -1
  699. package/lib/plugin/type-converters.d.ts +22 -0
  700. package/lib/plugin/type-converters.d.ts.map +1 -1
  701. package/lib/plugin/type-converters.js +33 -33
  702. package/lib/plugin/type-converters.js.map +1 -1
  703. package/lib/plugin/type-converters.spec.js.map +1 -1
  704. package/lib/plugin/types-impl.d.ts +44 -13
  705. package/lib/plugin/types-impl.d.ts.map +1 -1
  706. package/lib/plugin/types-impl.js +485 -469
  707. package/lib/plugin/types-impl.js.map +1 -1
  708. package/lib/plugin/types-impl.spec.js.map +1 -1
  709. package/lib/plugin/webview-views.d.ts +22 -0
  710. package/lib/plugin/webview-views.d.ts.map +1 -1
  711. package/lib/plugin/webview-views.js.map +1 -1
  712. package/lib/plugin/webviews.d.ts +22 -0
  713. package/lib/plugin/webviews.d.ts.map +1 -1
  714. package/lib/plugin/webviews.js +10 -10
  715. package/lib/plugin/webviews.js.map +1 -1
  716. package/lib/plugin/window-state.d.ts +25 -1
  717. package/lib/plugin/window-state.d.ts.map +1 -1
  718. package/lib/plugin/window-state.js +11 -6
  719. package/lib/plugin/window-state.js.map +1 -1
  720. package/lib/plugin/word-helper.js.map +1 -1
  721. package/lib/plugin/workspace.d.ts +22 -0
  722. package/lib/plugin/workspace.d.ts.map +1 -1
  723. package/lib/plugin/workspace.js +12 -12
  724. package/lib/plugin/workspace.js.map +1 -1
  725. package/package.json +29 -29
  726. package/src/common/plugin-api-rpc.ts +7 -6
  727. package/src/common/plugin-protocol.ts +1 -0
  728. package/src/hosted/node/hosted-plugin-deployer-handler.ts +6 -0
  729. package/src/main/browser/custom-editors/custom-editor-widget.ts +3 -10
  730. package/src/main/browser/custom-editors/custom-editors-main.ts +21 -42
  731. package/src/main/browser/editors-and-documents-main.ts +3 -3
  732. package/src/main/browser/notebooks/notebook-documents-main.ts +9 -7
  733. package/src/main/browser/notebooks/notebook-editors-main.ts +11 -6
  734. package/src/main/browser/notebooks/notebooks-main.ts +1 -1
  735. package/src/main/browser/notebooks/renderers/cell-output-webview.tsx +76 -1
  736. package/src/main/browser/notebooks/renderers/output-webview-internal.ts +10 -0
  737. package/src/main/browser/notebooks/renderers/webview-communication.ts +7 -1
  738. package/src/main/browser/plugin-ext-frontend-module.ts +0 -3
  739. package/src/main/browser/quick-open-main.ts +20 -7
  740. package/src/main/browser/tabs/tabs-main.ts +36 -9
  741. package/src/main/browser/webviews-main.ts +1 -1
  742. package/src/main/browser/window-activity-tracker.ts +96 -0
  743. package/src/main/browser/window-state-main.ts +10 -1
  744. package/src/main/node/plugin-ext-backend-module.ts +9 -0
  745. package/src/main/node/plugin-remote-cli-contribution.ts +36 -0
  746. package/src/main/node/plugin-remote-copy-contribution.ts +36 -0
  747. package/src/main/node/plugin-service.ts +1 -1
  748. package/src/plugin/custom-editors.ts +1 -1
  749. package/src/plugin/editors-and-documents.ts +4 -0
  750. package/src/plugin/notebook/notebook-document.ts +13 -3
  751. package/src/plugin/notebook/notebooks.ts +37 -14
  752. package/src/plugin/plugin-context.ts +10 -0
  753. package/src/plugin/quick-open.ts +1 -1
  754. package/src/plugin/tabs.ts +7 -2
  755. package/src/plugin/text-editor.ts +2 -3
  756. package/src/plugin/types-impl.ts +33 -10
  757. package/src/plugin/window-state.ts +13 -6
  758. package/lib/main/browser/view-column-service.d.ts +0 -24
  759. package/lib/main/browser/view-column-service.d.ts.map +0 -1
  760. package/lib/main/browser/view-column-service.js +0 -119
  761. package/lib/main/browser/view-column-service.js.map +0 -1
  762. package/src/main/browser/view-column-service.ts +0 -125
@@ -25,7 +25,7 @@ import { RPCProtocol } from '../../../common/rpc-protocol';
25
25
  import { HostedPluginSupport } from '../../../hosted/browser/hosted-plugin';
26
26
  import { PluginCustomEditorRegistry } from './plugin-custom-editor-registry';
27
27
  import { CustomEditorWidget } from './custom-editor-widget';
28
- import { Emitter, UNTITLED_SCHEME } from '@theia/core';
28
+ import { Emitter } from '@theia/core';
29
29
  import { UriComponents } from '../../../common/uri-components';
30
30
  import { URI } from '@theia/core/shared/vscode-uri';
31
31
  import TheiaURI from '@theia/core/lib/common/uri';
@@ -139,14 +139,14 @@ export class CustomEditorsMainImpl implements CustomEditorsMain, Disposable {
139
139
  widget.onMove(async (newResource: TheiaURI) => {
140
140
  const oldModel = modelRef;
141
141
  modelRef = await this.getOrCreateCustomEditorModel(modelType, newResource, viewType, onMoveCancelTokenSource.token);
142
- this.proxy.$onMoveCustomEditor(identifier.id, URI.file(newResource.path.toString()), viewType);
142
+ this.proxy.$onMoveCustomEditor(identifier.id, newResource.toComponents(), viewType);
143
143
  oldModel.dispose();
144
144
  });
145
145
  }
146
146
 
147
147
  const _cancellationSource = new CancellationTokenSource();
148
148
  await this.proxy.$resolveWebviewEditor(
149
- URI.file(resource.path.toString()),
149
+ resource.toComponents(),
150
150
  identifier.id,
151
151
  viewType,
152
152
  this.labelProvider.getName(resource)!,
@@ -189,7 +189,7 @@ export class CustomEditorsMainImpl implements CustomEditorsMain, Disposable {
189
189
  return this.customEditorService.models.add(resource, viewType, model);
190
190
  }
191
191
  case CustomEditorModelType.Custom: {
192
- const model = MainCustomEditorModel.create(this.proxy, viewType, resource, this.undoRedoService, this.fileService, this.editorPreferences, cancellationToken);
192
+ const model = MainCustomEditorModel.create(this.proxy, viewType, resource, this.undoRedoService, this.fileService, cancellationToken);
193
193
  return this.customEditorService.models.add(resource, viewType, model);
194
194
  }
195
195
  }
@@ -297,8 +297,8 @@ export class MainCustomEditorModel implements CustomEditorModel {
297
297
  private readonly onDirtyChangedEmitter = new Emitter<void>();
298
298
  readonly onDirtyChanged = this.onDirtyChangedEmitter.event;
299
299
 
300
- autoSave: 'off' | 'afterDelay' | 'onFocusChange' | 'onWindowChange';
301
- autoSaveDelay: number;
300
+ private readonly onContentChangedEmitter = new Emitter<void>();
301
+ readonly onContentChanged = this.onContentChangedEmitter.event;
302
302
 
303
303
  static async create(
304
304
  proxy: CustomEditorsExt,
@@ -306,11 +306,10 @@ export class MainCustomEditorModel implements CustomEditorModel {
306
306
  resource: TheiaURI,
307
307
  undoRedoService: UndoRedoService,
308
308
  fileService: FileService,
309
- editorPreferences: EditorPreferences,
310
309
  cancellation: CancellationToken,
311
310
  ): Promise<MainCustomEditorModel> {
312
- const { editable } = await proxy.$createCustomDocument(URI.file(resource.path.toString()), viewType, {}, cancellation);
313
- return new MainCustomEditorModel(proxy, viewType, resource, editable, undoRedoService, fileService, editorPreferences);
311
+ const { editable } = await proxy.$createCustomDocument(resource.toComponents(), viewType, {}, cancellation);
312
+ return new MainCustomEditorModel(proxy, viewType, resource, editable, undoRedoService, fileService);
314
313
  }
315
314
 
316
315
  constructor(
@@ -319,27 +318,13 @@ export class MainCustomEditorModel implements CustomEditorModel {
319
318
  private readonly editorResource: TheiaURI,
320
319
  private readonly editable: boolean,
321
320
  private readonly undoRedoService: UndoRedoService,
322
- private readonly fileService: FileService,
323
- private readonly editorPreferences: EditorPreferences
321
+ private readonly fileService: FileService
324
322
  ) {
325
- this.autoSave = this.editorPreferences.get('files.autoSave', undefined, editorResource.toString());
326
- this.autoSaveDelay = this.editorPreferences.get('files.autoSaveDelay', undefined, editorResource.toString());
327
-
328
- this.toDispose.push(
329
- this.editorPreferences.onPreferenceChanged(event => {
330
- if (event.preferenceName === 'files.autoSave') {
331
- this.autoSave = this.editorPreferences.get('files.autoSave', undefined, editorResource.toString());
332
- }
333
- if (event.preferenceName === 'files.autoSaveDelay') {
334
- this.autoSaveDelay = this.editorPreferences.get('files.autoSaveDelay', undefined, editorResource.toString());
335
- }
336
- })
337
- );
338
323
  this.toDispose.push(this.onDirtyChangedEmitter);
339
324
  }
340
325
 
341
326
  get resource(): URI {
342
- return URI.file(this.editorResource.path.toString());
327
+ return URI.from(this.editorResource.toComponents());
343
328
  }
344
329
 
345
330
  get dirty(): boolean {
@@ -441,7 +426,7 @@ export class MainCustomEditorModel implements CustomEditorModel {
441
426
  async saveCustomEditorAs(resource: TheiaURI, targetResource: TheiaURI, options?: SaveOptions): Promise<void> {
442
427
  if (this.editable) {
443
428
  const source = new CancellationTokenSource();
444
- await this.proxy.$onSaveAs(this.resource, this.viewType, URI.file(targetResource.path.toString()), source.token);
429
+ await this.proxy.$onSaveAs(this.resource, this.viewType, targetResource.toComponents(), source.token);
445
430
  this.change(() => {
446
431
  this.savePoint = this.currentEditIndex;
447
432
  });
@@ -505,13 +490,7 @@ export class MainCustomEditorModel implements CustomEditorModel {
505
490
  if (this.dirty !== wasDirty) {
506
491
  this.onDirtyChangedEmitter.fire();
507
492
  }
508
-
509
- if (this.autoSave !== 'off' && this.dirty && this.resource.scheme !== UNTITLED_SCHEME) {
510
- const handle = window.setTimeout(() => {
511
- this.save();
512
- window.clearTimeout(handle);
513
- }, this.autoSaveDelay);
514
- }
493
+ this.onContentChangedEmitter.fire();
515
494
  }
516
495
 
517
496
  }
@@ -521,6 +500,8 @@ export class CustomTextEditorModel implements CustomEditorModel {
521
500
  private readonly toDispose = new DisposableCollection();
522
501
  private readonly onDirtyChangedEmitter = new Emitter<void>();
523
502
  readonly onDirtyChanged = this.onDirtyChangedEmitter.event;
503
+ private readonly onContentChangedEmitter = new Emitter<void>();
504
+ readonly onContentChanged = this.onContentChangedEmitter.event;
524
505
 
525
506
  static async create(
526
507
  viewType: string,
@@ -544,15 +525,13 @@ export class CustomTextEditorModel implements CustomEditorModel {
544
525
  this.onDirtyChangedEmitter.fire();
545
526
  })
546
527
  );
528
+ this.toDispose.push(
529
+ this.editorTextModel.onContentChanged(e => {
530
+ this.onContentChangedEmitter.fire();
531
+ })
532
+ );
547
533
  this.toDispose.push(this.onDirtyChangedEmitter);
548
- }
549
-
550
- get autoSave(): 'off' | 'afterDelay' | 'onFocusChange' | 'onWindowChange' {
551
- return this.editorTextModel.autoSave;
552
- }
553
-
554
- get autoSaveDelay(): number {
555
- return this.editorTextModel.autoSaveDelay;
534
+ this.toDispose.push(this.onContentChangedEmitter);
556
535
  }
557
536
 
558
537
  dispose(): void {
@@ -561,7 +540,7 @@ export class CustomTextEditorModel implements CustomEditorModel {
561
540
  }
562
541
 
563
542
  get resource(): URI {
564
- return URI.file(this.editorResource.path.toString());
543
+ return URI.from(this.editorResource.toComponents());
565
544
  }
566
545
 
567
546
  get dirty(): boolean {
@@ -32,7 +32,7 @@ import { MonacoEditor } from '@theia/monaco/lib/browser/monaco-editor';
32
32
  import { TextEditorMain } from './text-editor-main';
33
33
  import { DisposableCollection, Emitter, URI } from '@theia/core';
34
34
  import { EditorManager, EditorWidget } from '@theia/editor/lib/browser';
35
- import { SaveResourceService } from '@theia/core/lib/browser/save-resource-service';
35
+ import { SaveableService } from '@theia/core/lib/browser/saveable-service';
36
36
 
37
37
  export class EditorsAndDocumentsMain implements Disposable {
38
38
 
@@ -43,7 +43,7 @@ export class EditorsAndDocumentsMain implements Disposable {
43
43
 
44
44
  private readonly modelService: EditorModelService;
45
45
  private readonly editorManager: EditorManager;
46
- private readonly saveResourceService: SaveResourceService;
46
+ private readonly saveResourceService: SaveableService;
47
47
 
48
48
  private readonly onTextEditorAddEmitter = new Emitter<TextEditorMain[]>();
49
49
  private readonly onTextEditorRemoveEmitter = new Emitter<string[]>();
@@ -64,7 +64,7 @@ export class EditorsAndDocumentsMain implements Disposable {
64
64
 
65
65
  this.editorManager = container.get(EditorManager);
66
66
  this.modelService = container.get(EditorModelService);
67
- this.saveResourceService = container.get(SaveResourceService);
67
+ this.saveResourceService = container.get(SaveableService);
68
68
 
69
69
  this.stateComputer = new EditorAndDocumentStateComputer(d => this.onDelta(d), this.editorManager, this.modelService);
70
70
  this.toDispose.push(this.stateComputer);
@@ -25,6 +25,7 @@ import { MAIN_RPC_CONTEXT, NotebookCellsChangedEventDto, NotebookDataDto, Notebo
25
25
  import { RPCProtocol } from '../../../common/rpc-protocol';
26
26
  import { NotebookDto } from './notebook-dto';
27
27
  import { MonacoEditorModel } from '@theia/monaco/lib/browser/monaco-editor-model';
28
+ import { NotebookOpenHandler } from '@theia/notebook/lib/browser/notebook-open-handler';
28
29
 
29
30
  export class NotebookDocumentsMainImpl implements NotebookDocumentsMain {
30
31
 
@@ -35,7 +36,8 @@ export class NotebookDocumentsMainImpl implements NotebookDocumentsMain {
35
36
 
36
37
  protected readonly notebookModelResolverService: NotebookModelResolverService;
37
38
 
38
- protected notebookMonacoTextModelService: NotebookMonacoTextModelService;
39
+ protected readonly notebookMonacoTextModelService: NotebookMonacoTextModelService;
40
+ protected readonly notebookOpenHandler: NotebookOpenHandler;
39
41
 
40
42
  constructor(
41
43
  rpc: RPCProtocol,
@@ -43,6 +45,7 @@ export class NotebookDocumentsMainImpl implements NotebookDocumentsMain {
43
45
  ) {
44
46
  this.proxy = rpc.getProxy(MAIN_RPC_CONTEXT.NOTEBOOK_DOCUMENTS_EXT);
45
47
  this.notebookModelResolverService = container.get(NotebookModelResolverService);
48
+ this.notebookOpenHandler = container.get(NotebookOpenHandler);
46
49
 
47
50
  // forward dirty and save events
48
51
  this.disposables.push(this.notebookModelResolverService.onDidChangeDirty(model => this.proxy.$acceptDirtyStateChanged(model.uri.toComponents(), model.isDirty())));
@@ -157,10 +160,10 @@ export class NotebookDocumentsMainImpl implements NotebookDocumentsMain {
157
160
  this.proxy.$acceptDirtyStateChanged(ref.uri.toComponents(), true);
158
161
 
159
162
  // apply content changes... slightly HACKY -> this triggers a change event
160
- // if (options.content) {
161
- // const data = NotebookDto.fromNotebookDataDto(options.content);
162
- // ref.notebook.reset(data.cells, data.metadata, ref.object.notebook.transientOptions);
163
- // }
163
+ if (options.content) {
164
+ const data = NotebookDto.fromNotebookDataDto(options.content);
165
+ ref.setData(data);
166
+ }
164
167
  return ref.uri.toComponents();
165
168
  }
166
169
 
@@ -171,9 +174,8 @@ export class NotebookDocumentsMainImpl implements NotebookDocumentsMain {
171
174
 
172
175
  async $trySaveNotebook(uriComponents: UriComponents): Promise<boolean> {
173
176
  const uri = URI.fromComponents(uriComponents);
174
-
175
177
  const ref = await this.notebookModelResolverService.resolve(uri);
176
- await ref.save({});
178
+ await ref.save();
177
179
  ref.dispose();
178
180
  return true;
179
181
  }
@@ -20,16 +20,17 @@
20
20
 
21
21
  import { UriComponents, URI } from '@theia/core/lib/common/uri';
22
22
  import { CellRange } from '@theia/notebook/lib/common';
23
- import { NotebookEditorWidget } from '@theia/notebook/lib/browser';
23
+ import { NotebookEditorWidget, NotebookService } from '@theia/notebook/lib/browser';
24
24
  import { MAIN_RPC_CONTEXT, NotebookDocumentShowOptions, NotebookEditorRevealType, NotebookEditorsExt, NotebookEditorsMain } from '../../../common';
25
25
  import { RPCProtocol } from '../../../common/rpc-protocol';
26
26
  import { interfaces } from '@theia/core/shared/inversify';
27
- import { open, OpenerService } from '@theia/core/lib/browser';
27
+ import { NotebookOpenHandler } from '@theia/notebook/lib/browser/notebook-open-handler';
28
28
 
29
29
  export class NotebookEditorsMainImpl implements NotebookEditorsMain {
30
30
 
31
31
  protected readonly proxy: NotebookEditorsExt;
32
- protected readonly openerService: OpenerService;
32
+ protected readonly notebookService: NotebookService;
33
+ protected readonly notebookOpenHandler: NotebookOpenHandler;
33
34
 
34
35
  protected readonly mainThreadEditors = new Map<string, NotebookEditorWidget>();
35
36
 
@@ -38,12 +39,16 @@ export class NotebookEditorsMainImpl implements NotebookEditorsMain {
38
39
  container: interfaces.Container
39
40
  ) {
40
41
  this.proxy = rpc.getProxy(MAIN_RPC_CONTEXT.NOTEBOOK_EDITORS_EXT);
41
- this.openerService = container.get(OpenerService);
42
+ this.notebookService = container.get(NotebookService);
43
+ this.notebookOpenHandler = container.get(NotebookOpenHandler);
42
44
  }
43
45
 
44
46
  async $tryShowNotebookDocument(uriComponents: UriComponents, viewType: string, options: NotebookDocumentShowOptions): Promise<string> {
45
- const editor = await open(this.openerService, URI.fromComponents(uriComponents), {});
46
- return (editor as NotebookEditorWidget).id;
47
+ const editor = await this.notebookOpenHandler.open(URI.fromComponents(uriComponents), {
48
+ notebookType: viewType
49
+ });
50
+ await editor.ready;
51
+ return editor.id;
47
52
  }
48
53
  $tryRevealRange(id: string, range: CellRange, revealType: NotebookEditorRevealType): Promise<void> {
49
54
  throw new Error('Method not implemented.');
@@ -58,7 +58,7 @@ export class NotebooksMainImpl implements NotebooksMain {
58
58
  const plugins = container.get(HostedPluginSupport);
59
59
 
60
60
  this.proxy = rpc.getProxy(MAIN_RPC_CONTEXT.NOTEBOOKS_EXT);
61
- this.notebookService.onWillUseNotebookSerializer(async event => plugins.activateByNotebookSerializer(event));
61
+ this.notebookService.onWillUseNotebookSerializer(event => plugins.activateByNotebookSerializer(event));
62
62
  this.notebookService.markReady();
63
63
  commands.registerArgumentProcessor({
64
64
  processArgument: arg => {
@@ -38,15 +38,82 @@ import { NotebookModel } from '@theia/notebook/lib/browser/view-model/notebook-m
38
38
 
39
39
  const CellModel = Symbol('CellModel');
40
40
  const Notebook = Symbol('NotebookModel');
41
+ export const AdditionalNotebookCellOutputCss = Symbol('AdditionalNotebookCellOutputCss');
41
42
 
42
43
  export function createCellOutputWebviewContainer(ctx: interfaces.Container, cell: NotebookCellModel, notebook: NotebookModel): interfaces.Container {
43
44
  const child = ctx.createChild();
44
45
  child.bind(CellModel).toConstantValue(cell);
45
46
  child.bind(Notebook).toConstantValue(notebook);
47
+ child.bind(AdditionalNotebookCellOutputCss).toConstantValue(DEFAULT_NOTEBOOK_OUTPUT_CSS);
46
48
  child.bind(CellOutputWebviewImpl).toSelf().inSingletonScope();
47
49
  return child;
48
50
  }
49
51
 
52
+ export const DEFAULT_NOTEBOOK_OUTPUT_CSS = `
53
+ table {
54
+ border-collapse: collapse;
55
+ border-spacing: 0;
56
+ }
57
+
58
+ table th,
59
+ table td {
60
+ border: 1px solid;
61
+ }
62
+
63
+ table > thead > tr > th {
64
+ text-align: left;
65
+ border-bottom: 1px solid;
66
+ }
67
+
68
+ table > thead > tr > th,
69
+ table > thead > tr > td,
70
+ table > tbody > tr > th,
71
+ table > tbody > tr > td {
72
+ padding: 5px 10px;
73
+ }
74
+
75
+ table > tbody > tr + tr > td {
76
+ border-top: 1px solid;
77
+ }
78
+
79
+ table,
80
+ thead,
81
+ tr,
82
+ th,
83
+ td,
84
+ tbody {
85
+ border: none !important;
86
+ border-color: transparent;
87
+ border-spacing: 0;
88
+ border-collapse: collapse;
89
+ }
90
+
91
+ table,
92
+ th,
93
+ tr {
94
+ vertical-align: middle;
95
+ text-align: right;
96
+ }
97
+
98
+ thead {
99
+ font-weight: bold;
100
+ background-color: rgba(130, 130, 130, 0.16);
101
+ }
102
+
103
+ th,
104
+ td {
105
+ padding: 4px 8px;
106
+ }
107
+
108
+ tr:nth-child(even) {
109
+ background-color: rgba(130, 130, 130, 0.08);
110
+ }
111
+
112
+ tbody th {
113
+ font-weight: normal;
114
+ }
115
+ `;
116
+
50
117
  @injectable()
51
118
  export class CellOutputWebviewImpl implements CellOutputWebview, Disposable {
52
119
 
@@ -77,6 +144,9 @@ export class CellOutputWebviewImpl implements CellOutputWebview, Disposable {
77
144
  @inject(QuickPickService)
78
145
  protected readonly quickPickService: QuickPickService;
79
146
 
147
+ @inject(AdditionalNotebookCellOutputCss)
148
+ protected readonly additionalOutputCss: string;
149
+
80
150
  readonly id = generateUuid();
81
151
 
82
152
  protected editor: NotebookEditorWidget | undefined;
@@ -129,7 +199,7 @@ export class CellOutputWebviewImpl implements CellOutputWebview, Disposable {
129
199
  'jupyter.viewOutput',
130
200
  'workbench.action.openLargeOutput',
131
201
  'cellOutput.enableScrolling',
132
- ]
202
+ ],
133
203
  });
134
204
  this.webviewWidget.setHTML(await this.createWebviewContent());
135
205
 
@@ -216,6 +286,8 @@ export class CellOutputWebviewImpl implements CellOutputWebview, Disposable {
216
286
  // console.log('from webview customKernelMessage ', JSON.stringify(message.message));
217
287
  this.editor.recieveKernelMessage(message.message);
218
288
  break;
289
+ case 'inputFocusChanged':
290
+ this.editor?.outputInputFocusChanged(message.focused);
219
291
  }
220
292
  }
221
293
 
@@ -236,6 +308,9 @@ export class CellOutputWebviewImpl implements CellOutputWebview, Disposable {
236
308
  <html>
237
309
  <head>
238
310
  <meta charset="UTF-8">
311
+ <style>
312
+ ${this.additionalOutputCss}
313
+ </style>
239
314
  </head>
240
315
  <body>
241
316
  <script type="module">${preloads}</script>
@@ -581,5 +581,15 @@ export async function outputWebviewPreload(ctx: PreloadContext): Promise<void> {
581
581
  return this.originalAppendChild(node);
582
582
  };
583
583
 
584
+ const focusChange = (event: FocusEvent, focus: boolean) => {
585
+ if (event.target instanceof HTMLInputElement) {
586
+ theia.postMessage({ type: 'inputFocusChanged', focused: focus } as webviewCommunication.InputFocusChange);
587
+ }
588
+ };
589
+
590
+ window.addEventListener('focusin', (event: FocusEvent) => focusChange(event, true));
591
+
592
+ window.addEventListener('focusout', (event: FocusEvent) => focusChange(event, false));
593
+
584
594
  theia.postMessage(<webviewCommunication.WebviewInitialized>{ type: 'initialized' });
585
595
  }
@@ -76,7 +76,12 @@ export interface WheelMessage {
76
76
  readonly deltaX: number;
77
77
  }
78
78
 
79
- export type FromWebviewMessage = WebviewInitialized | OnDidRenderOutput | WheelMessage | CustomRendererMessage | KernelMessage;
79
+ export interface InputFocusChange {
80
+ readonly type: 'inputFocusChanged';
81
+ readonly focused: boolean;
82
+ }
83
+
84
+ export type FromWebviewMessage = WebviewInitialized | OnDidRenderOutput | WheelMessage | CustomRendererMessage | KernelMessage | InputFocusChange;
80
85
 
81
86
  export interface Output {
82
87
  id: string
@@ -88,3 +93,4 @@ export interface OutputItem {
88
93
  readonly mime: string;
89
94
  readonly data: Uint8Array;
90
95
  }
96
+
@@ -47,7 +47,6 @@ import { PluginDebugService } from './debug/plugin-debug-service';
47
47
  import { DebugService } from '@theia/debug/lib/common/debug-service';
48
48
  import { PluginSharedStyle } from './plugin-shared-style';
49
49
  import { SelectionProviderCommandContribution } from './selection-provider-command';
50
- import { ViewColumnService } from './view-column-service';
51
50
  import { ViewContextKeyService } from './view/view-context-key-service';
52
51
  import { PluginViewWidget, PluginViewWidgetIdentifier } from './view/plugin-view-widget';
53
52
  import { TreeViewWidgetOptions, VIEW_ITEM_CONTEXT_MENU, PluginTree, TreeViewWidget, PluginTreeModel } from './view/tree-view-widget';
@@ -244,8 +243,6 @@ export default new ContainerModule((bind, unbind, isBound, rebind) => {
244
243
  bind(PluginDebugSessionContributionRegistry).toSelf().inSingletonScope();
245
244
  rebind(DebugSessionContributionRegistry).toService(PluginDebugSessionContributionRegistry);
246
245
 
247
- bind(ViewColumnService).toSelf().inSingletonScope();
248
-
249
246
  bind(CommentsService).to(PluginCommentService).inSingletonScope();
250
247
  bind(CommentingRangeDecorator).toSelf().inSingletonScope();
251
248
  bind(CommentsContribution).toSelf().inSingletonScope();
@@ -35,6 +35,7 @@ import {
35
35
  QuickInputButtonHandle,
36
36
  QuickInputService,
37
37
  QuickPickItem,
38
+ QuickPickItemOrSeparator,
38
39
  codiconArray
39
40
  } from '@theia/core/lib/browser';
40
41
  import { DisposableCollection, Disposable } from '@theia/core/lib/common/disposable';
@@ -46,10 +47,11 @@ import { UriComponents } from '../../common/uri-components';
46
47
  import { URI } from '@theia/core/shared/vscode-uri';
47
48
  import { ThemeIcon } from '@theia/monaco-editor-core/esm/vs/base/common/themables';
48
49
  import { isUriComponents } from '@theia/monaco-editor-core/esm/vs/base/common/uri';
50
+ import { QuickPickSeparator } from '@theia/core';
49
51
 
50
52
  export interface QuickInputSession {
51
53
  input: QuickInput;
52
- handlesToItems: Map<number, QuickPickItem>;
54
+ handlesToItems: Map<number, QuickPickItemOrSeparator>;
53
55
  }
54
56
 
55
57
  interface IconPath {
@@ -63,7 +65,7 @@ export class QuickOpenMainImpl implements QuickOpenMain, Disposable {
63
65
  private proxy: QuickOpenExt;
64
66
  private delegate: MonacoQuickInputService;
65
67
  private readonly items: Record<number, {
66
- resolve(items: QuickPickItem[]): void;
68
+ resolve(items: QuickPickItemOrSeparator[]): void;
67
69
  reject(error: Error): void;
68
70
  }> = {};
69
71
 
@@ -80,7 +82,7 @@ export class QuickOpenMainImpl implements QuickOpenMain, Disposable {
80
82
  }
81
83
 
82
84
  async $show(instance: number, options: TransferQuickPickOptions<TransferQuickPickItem>, token: CancellationToken): Promise<number | number[] | undefined> {
83
- const contents = new Promise<QuickPickItem[]>((resolve, reject) => {
85
+ const contents = new Promise<QuickPickItemOrSeparator[]>((resolve, reject) => {
84
86
  this.items[instance] = { resolve, reject };
85
87
  });
86
88
 
@@ -92,7 +94,7 @@ export class QuickOpenMainImpl implements QuickOpenMain, Disposable {
92
94
  this.proxy.$onItemSelected(Number.parseInt((<QuickPickItem>el).id!));
93
95
  }
94
96
  },
95
- activeItem: activeItem ? this.toQuickPickItem(activeItem) : undefined
97
+ activeItem: this.isItem(activeItem) ? this.toQuickPickItem(activeItem) : undefined
96
98
  };
97
99
 
98
100
  const result = await this.delegate.pick(contents, transformedOptions, token);
@@ -105,6 +107,10 @@ export class QuickOpenMainImpl implements QuickOpenMain, Disposable {
105
107
  return undefined;
106
108
  }
107
109
 
110
+ private isItem(item?: TransferQuickPickItem): item is TransferQuickPickItem & { kind: 'item' } {
111
+ return item?.kind === 'item';
112
+ }
113
+
108
114
  private normalizeIconPath(path: UriComponents | { light: UriComponents; dark: UriComponents } | ThemeIcon | undefined): {
109
115
  iconPath?: IconPath
110
116
  iconClasses?: string[]
@@ -127,10 +133,17 @@ export class QuickOpenMainImpl implements QuickOpenMain, Disposable {
127
133
  }
128
134
 
129
135
  private toQuickPickItem(item: undefined): undefined;
130
- private toQuickPickItem(item: TransferQuickPickItem): QuickPickItem
131
- private toQuickPickItem(item: TransferQuickPickItem | undefined): QuickPickItem | undefined {
136
+ private toQuickPickItem(item: TransferQuickPickItem & { kind: 'item' }): QuickPickItem;
137
+ private toQuickPickItem(item: TransferQuickPickItem & { kind: 'separator' }): QuickPickSeparator;
138
+ private toQuickPickItem(item: TransferQuickPickItem): QuickPickItemOrSeparator;
139
+ private toQuickPickItem(item: TransferQuickPickItem | undefined): QuickPickItemOrSeparator | undefined {
132
140
  if (!item) {
133
141
  return undefined;
142
+ } else if (item.kind === 'separator') {
143
+ return {
144
+ type: 'separator',
145
+ label: item.label
146
+ };
134
147
  }
135
148
  return {
136
149
  ...this.normalizeIconPath(item.iconPath),
@@ -309,7 +322,7 @@ export class QuickOpenMainImpl implements QuickOpenMain, Disposable {
309
322
  }
310
323
  } else if (param === 'items') {
311
324
  handlesToItems.clear();
312
- const items: QuickPickItem[] = [];
325
+ const items: QuickPickItemOrSeparator[] = [];
313
326
  params[param].forEach((transferItem: TransferQuickPickItem) => {
314
327
  const item = this.toQuickPickItem(transferItem);
315
328
  items.push(item);
@@ -24,6 +24,8 @@ import { MonacoDiffEditor } from '@theia/monaco/lib/browser/monaco-diff-editor';
24
24
  import { toUriComponents } from '../hierarchy/hierarchy-types-converters';
25
25
  import { TerminalWidget } from '@theia/terminal/lib/browser/base/terminal-widget';
26
26
  import { DisposableCollection } from '@theia/core';
27
+ import { NotebookEditorWidget } from '@theia/notebook/lib/browser';
28
+ import { ViewColumnService } from '@theia/core/lib/browser/shell/view-column-service';
27
29
 
28
30
  interface TabInfo {
29
31
  tab: TabDto;
@@ -46,6 +48,14 @@ export class TabsMainImpl implements TabsMain, Disposable {
46
48
  private currentActiveGroup: TabGroupDto;
47
49
 
48
50
  private tabGroupChanged: boolean = false;
51
+ private viewColumnService: ViewColumnService;
52
+
53
+ private readonly defaultTabGroup: TabGroupDto = {
54
+ groupId: 0,
55
+ tabs: [],
56
+ isActive: true,
57
+ viewColumn: 0
58
+ };
49
59
 
50
60
  constructor(
51
61
  rpc: RPCProtocol,
@@ -54,6 +64,7 @@ export class TabsMainImpl implements TabsMain, Disposable {
54
64
  this.proxy = rpc.getProxy(MAIN_RPC_CONTEXT.TABS_EXT);
55
65
 
56
66
  this.applicationShell = container.get(ApplicationShell);
67
+ this.viewColumnService = container.get(ViewColumnService);
57
68
  this.createTabsModel();
58
69
 
59
70
  const tabBars = this.applicationShell.mainPanel.tabBars();
@@ -100,15 +111,20 @@ export class TabsMainImpl implements TabsMain, Disposable {
100
111
  }
101
112
 
102
113
  protected createTabsModel(): void {
114
+ if (this.applicationShell.mainAreaTabBars.length === 0) {
115
+ this.proxy.$acceptEditorTabModel([this.defaultTabGroup]);
116
+ return;
117
+ }
103
118
  const newTabGroupModel = new Map<TabBar<Widget>, TabGroupDto>();
104
119
  this.tabInfoLookup.clear();
105
120
  this.disposableTabBarListeners.dispose();
106
- this.applicationShell.mainAreaTabBars.forEach(tabBar => {
107
- this.attachListenersToTabBar(tabBar);
108
- const groupDto = this.createTabGroupDto(tabBar);
109
- tabBar.titles.forEach((title, index) => this.tabInfoLookup.set(title, { group: groupDto, tab: groupDto.tabs[index], tabIndex: index }));
110
- newTabGroupModel.set(tabBar, groupDto);
111
- });
121
+ this.applicationShell.mainAreaTabBars
122
+ .forEach((tabBar, i) => {
123
+ this.attachListenersToTabBar(tabBar);
124
+ const groupDto = this.createTabGroupDto(tabBar, i);
125
+ tabBar.titles.forEach((title, index) => this.tabInfoLookup.set(title, { group: groupDto, tab: groupDto.tabs[index], tabIndex: index }));
126
+ newTabGroupModel.set(tabBar, groupDto);
127
+ });
112
128
  if (newTabGroupModel.size > 0 && Array.from(newTabGroupModel.values()).indexOf(this.currentActiveGroup) < 0) {
113
129
  this.currentActiveGroup = this.tabInfoLookup.get(this.applicationShell.mainPanel.currentTitle!)?.group ?? newTabGroupModel.values().next().value;
114
130
  this.currentActiveGroup.isActive = true;
@@ -134,15 +150,17 @@ export class TabsMainImpl implements TabsMain, Disposable {
134
150
  return `${groupId}~${tabTitle.owner.id}`;
135
151
  }
136
152
 
137
- protected createTabGroupDto(tabBar: TabBar<Widget>): TabGroupDto {
138
- const oldDto = this.tabGroupModel.get(tabBar);
153
+ protected createTabGroupDto(tabBar: TabBar<Widget>, index: number): TabGroupDto {
154
+ const oldDto = index === 0 ? this.defaultTabGroup : this.tabGroupModel.get(tabBar);
139
155
  const groupId = oldDto?.groupId ?? this.groupIdCounter++;
140
156
  const tabs = tabBar.titles.map(title => this.createTabDto(title, groupId));
157
+ const viewColumn = this.viewColumnService.getViewColumn(tabBar.id)
158
+ ?? this.applicationShell.allTabBars.indexOf(tabBar);
141
159
  return {
142
160
  groupId,
143
161
  tabs,
144
162
  isActive: false,
145
- viewColumn: 1
163
+ viewColumn
146
164
  };
147
165
  }
148
166
 
@@ -182,6 +200,12 @@ export class TabsMainImpl implements TabsMain, Disposable {
182
200
  return {
183
201
  kind: TabInputKind.TerminalEditorInput
184
202
  };
203
+ } else if (widget instanceof NotebookEditorWidget) {
204
+ return {
205
+ kind: TabInputKind.NotebookInput,
206
+ notebookType: widget.notebookType,
207
+ uri: toUriComponents(widget.model?.uri.toString() ?? '')
208
+ };
185
209
  }
186
210
 
187
211
  return { kind: TabInputKind.UnknownInput };
@@ -232,6 +256,9 @@ export class TabsMainImpl implements TabsMain, Disposable {
232
256
  }
233
257
  const oldTabDto = tabInfo.tab;
234
258
  const newTabDto = this.createTabDto(title, tabInfo.group.groupId);
259
+ if (!oldTabDto.isActive && newTabDto.isActive) {
260
+ this.currentActiveGroup.tabs.filter(tab => tab.isActive).forEach(tab => tab.isActive = false);
261
+ }
235
262
  if (newTabDto.isActive && !tabInfo.group.isActive) {
236
263
  tabInfo.group.isActive = true;
237
264
  this.currentActiveGroup.isActive = false;
@@ -23,7 +23,7 @@ import { ViewBadge, WebviewOptions, WebviewPanelOptions, WebviewPanelShowOptions
23
23
  import { ApplicationShell } from '@theia/core/lib/browser/shell/application-shell';
24
24
  import { WebviewWidget, WebviewWidgetIdentifier } from './webview/webview';
25
25
  import { Disposable, DisposableCollection } from '@theia/core/lib/common/disposable';
26
- import { ViewColumnService } from './view-column-service';
26
+ import { ViewColumnService } from '@theia/core/lib/browser/shell/view-column-service';
27
27
  import { WidgetManager } from '@theia/core/lib/browser/widget-manager';
28
28
  import { JSONExt } from '@theia/core/shared/@phosphor/coreutils';
29
29
  import { Mutable } from '@theia/core/lib/common/types';