@theia/plugin-ext 1.67.0-next.13 → 1.67.0-next.56

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 (1327) hide show
  1. package/README.md +1 -1
  2. package/package.json +29 -29
  3. package/src/common/plugin-api-rpc.ts +2 -1
  4. package/src/main/browser/languages-main.ts +14 -4
  5. package/src/main/browser/notebooks/notebook-editors-main.ts +2 -2
  6. package/src/main/browser/notebooks/renderers/cell-output-webview.tsx +1 -1
  7. package/src/plugin/authentication-ext.ts +1 -0
  8. package/src/plugin/languages.ts +17 -13
  9. package/src/plugin/plugin-context.ts +5 -1
  10. package/src/plugin/timeline.ts +7 -3
  11. package/src/plugin/types-impl.ts +55 -18
  12. package/lib/common/arrays.d.ts +0 -24
  13. package/lib/common/arrays.d.ts.map +0 -1
  14. package/lib/common/arrays.js +0 -61
  15. package/lib/common/arrays.js.map +0 -1
  16. package/lib/common/assert.d.ts +0 -2
  17. package/lib/common/assert.d.ts.map +0 -1
  18. package/lib/common/assert.js +0 -26
  19. package/lib/common/assert.js.map +0 -1
  20. package/lib/common/cache.d.ts +0 -12
  21. package/lib/common/cache.d.ts.map +0 -1
  22. package/lib/common/cache.js +0 -48
  23. package/lib/common/cache.js.map +0 -1
  24. package/lib/common/character-classifier.d.ts +0 -19
  25. package/lib/common/character-classifier.d.ts.map +0 -1
  26. package/lib/common/character-classifier.js +0 -61
  27. package/lib/common/character-classifier.js.map +0 -1
  28. package/lib/common/collections.d.ts +0 -9
  29. package/lib/common/collections.d.ts.map +0 -1
  30. package/lib/common/collections.js +0 -56
  31. package/lib/common/collections.js.map +0 -1
  32. package/lib/common/commands.d.ts +0 -4
  33. package/lib/common/commands.d.ts.map +0 -1
  34. package/lib/common/commands.js +0 -17
  35. package/lib/common/commands.js.map +0 -1
  36. package/lib/common/connection.d.ts +0 -55
  37. package/lib/common/connection.d.ts.map +0 -1
  38. package/lib/common/connection.js +0 -108
  39. package/lib/common/connection.js.map +0 -1
  40. package/lib/common/disposable-util.d.ts +0 -7
  41. package/lib/common/disposable-util.d.ts.map +0 -1
  42. package/lib/common/disposable-util.js +0 -38
  43. package/lib/common/disposable-util.js.map +0 -1
  44. package/lib/common/editor-options.d.ts +0 -31
  45. package/lib/common/editor-options.d.ts.map +0 -1
  46. package/lib/common/editor-options.js +0 -73
  47. package/lib/common/editor-options.js.map +0 -1
  48. package/lib/common/env.d.ts +0 -4
  49. package/lib/common/env.d.ts.map +0 -1
  50. package/lib/common/env.js +0 -18
  51. package/lib/common/env.js.map +0 -1
  52. package/lib/common/errors.d.ts +0 -18
  53. package/lib/common/errors.d.ts.map +0 -1
  54. package/lib/common/errors.js +0 -59
  55. package/lib/common/errors.js.map +0 -1
  56. package/lib/common/id-generator.d.ts +0 -7
  57. package/lib/common/id-generator.d.ts.map +0 -1
  58. package/lib/common/id-generator.js +0 -29
  59. package/lib/common/id-generator.js.map +0 -1
  60. package/lib/common/index.d.ts +0 -4
  61. package/lib/common/index.d.ts.map +0 -1
  62. package/lib/common/index.js +0 -25
  63. package/lib/common/index.js.map +0 -1
  64. package/lib/common/language-pack-service.d.ts +0 -16
  65. package/lib/common/language-pack-service.d.ts.map +0 -1
  66. package/lib/common/language-pack-service.js +0 -21
  67. package/lib/common/language-pack-service.js.map +0 -1
  68. package/lib/common/link-computer.d.ts +0 -42
  69. package/lib/common/link-computer.d.ts.map +0 -1
  70. package/lib/common/link-computer.js +0 -276
  71. package/lib/common/link-computer.js.map +0 -1
  72. package/lib/common/lm-protocol.d.ts +0 -103
  73. package/lib/common/lm-protocol.d.ts.map +0 -1
  74. package/lib/common/lm-protocol.js +0 -21
  75. package/lib/common/lm-protocol.js.map +0 -1
  76. package/lib/common/object-identifier.d.ts +0 -9
  77. package/lib/common/object-identifier.d.ts.map +0 -1
  78. package/lib/common/object-identifier.js +0 -33
  79. package/lib/common/object-identifier.js.map +0 -1
  80. package/lib/common/objects.d.ts +0 -2
  81. package/lib/common/objects.d.ts.map +0 -1
  82. package/lib/common/objects.js +0 -47
  83. package/lib/common/objects.js.map +0 -1
  84. package/lib/common/paths-util.d.ts +0 -4
  85. package/lib/common/paths-util.d.ts.map +0 -1
  86. package/lib/common/paths-util.js +0 -145
  87. package/lib/common/paths-util.js.map +0 -1
  88. package/lib/common/plugin-api-rpc-model.d.ts +0 -776
  89. package/lib/common/plugin-api-rpc-model.d.ts.map +0 -1
  90. package/lib/common/plugin-api-rpc-model.js +0 -179
  91. package/lib/common/plugin-api-rpc-model.js.map +0 -1
  92. package/lib/common/plugin-api-rpc.d.ts +0 -2220
  93. package/lib/common/plugin-api-rpc.d.ts.map +0 -1
  94. package/lib/common/plugin-api-rpc.js +0 -341
  95. package/lib/common/plugin-api-rpc.js.map +0 -1
  96. package/lib/common/plugin-ext-api-contribution.d.ts +0 -89
  97. package/lib/common/plugin-ext-api-contribution.d.ts.map +0 -1
  98. package/lib/common/plugin-ext-api-contribution.js +0 -6
  99. package/lib/common/plugin-ext-api-contribution.js.map +0 -1
  100. package/lib/common/plugin-identifiers.d.ts +0 -47
  101. package/lib/common/plugin-identifiers.d.ts.map +0 -1
  102. package/lib/common/plugin-identifiers.js +0 -90
  103. package/lib/common/plugin-identifiers.js.map +0 -1
  104. package/lib/common/plugin-protocol.d.ts +0 -960
  105. package/lib/common/plugin-protocol.d.ts.map +0 -1
  106. package/lib/common/plugin-protocol.js +0 -73
  107. package/lib/common/plugin-protocol.js.map +0 -1
  108. package/lib/common/reference-map.d.ts +0 -8
  109. package/lib/common/reference-map.d.ts.map +0 -1
  110. package/lib/common/reference-map.js +0 -40
  111. package/lib/common/reference-map.js.map +0 -1
  112. package/lib/common/rpc-protocol.d.ts +0 -83
  113. package/lib/common/rpc-protocol.d.ts.map +0 -1
  114. package/lib/common/rpc-protocol.js +0 -262
  115. package/lib/common/rpc-protocol.js.map +0 -1
  116. package/lib/common/semantic-tokens-dto.d.ts +0 -19
  117. package/lib/common/semantic-tokens-dto.d.ts.map +0 -1
  118. package/lib/common/semantic-tokens-dto.js +0 -163
  119. package/lib/common/semantic-tokens-dto.js.map +0 -1
  120. package/lib/common/test-types.d.ts +0 -103
  121. package/lib/common/test-types.d.ts.map +0 -1
  122. package/lib/common/test-types.js +0 -83
  123. package/lib/common/test-types.js.map +0 -1
  124. package/lib/common/types.d.ts +0 -38
  125. package/lib/common/types.d.ts.map +0 -1
  126. package/lib/common/types.js +0 -122
  127. package/lib/common/types.js.map +0 -1
  128. package/lib/common/uint.d.ts +0 -8
  129. package/lib/common/uint.d.ts.map +0 -1
  130. package/lib/common/uint.js +0 -34
  131. package/lib/common/uint.js.map +0 -1
  132. package/lib/common/uri-components.d.ts +0 -40
  133. package/lib/common/uri-components.d.ts.map +0 -1
  134. package/lib/common/uri-components.js +0 -65
  135. package/lib/common/uri-components.js.map +0 -1
  136. package/lib/hosted/browser/hosted-plugin-watcher.d.ts +0 -16
  137. package/lib/hosted/browser/hosted-plugin-watcher.d.ts.map +0 -1
  138. package/lib/hosted/browser/hosted-plugin-watcher.js +0 -55
  139. package/lib/hosted/browser/hosted-plugin-watcher.js.map +0 -1
  140. package/lib/hosted/browser/hosted-plugin.d.ts +0 -101
  141. package/lib/hosted/browser/hosted-plugin.d.ts.map +0 -1
  142. package/lib/hosted/browser/hosted-plugin.js +0 -605
  143. package/lib/hosted/browser/hosted-plugin.js.map +0 -1
  144. package/lib/hosted/browser/plugin-worker.d.ts +0 -7
  145. package/lib/hosted/browser/plugin-worker.d.ts.map +0 -1
  146. package/lib/hosted/browser/plugin-worker.js +0 -50
  147. package/lib/hosted/browser/plugin-worker.js.map +0 -1
  148. package/lib/hosted/browser/worker/debug-stub.d.ts +0 -4
  149. package/lib/hosted/browser/worker/debug-stub.d.ts.map +0 -1
  150. package/lib/hosted/browser/worker/debug-stub.js +0 -30
  151. package/lib/hosted/browser/worker/debug-stub.js.map +0 -1
  152. package/lib/hosted/browser/worker/plugin-manifest-loader.d.ts +0 -3
  153. package/lib/hosted/browser/worker/plugin-manifest-loader.d.ts.map +0 -1
  154. package/lib/hosted/browser/worker/plugin-manifest-loader.js +0 -108
  155. package/lib/hosted/browser/worker/plugin-manifest-loader.js.map +0 -1
  156. package/lib/hosted/browser/worker/worker-env-ext.d.ts +0 -11
  157. package/lib/hosted/browser/worker/worker-env-ext.d.ts.map +0 -1
  158. package/lib/hosted/browser/worker/worker-env-ext.js +0 -43
  159. package/lib/hosted/browser/worker/worker-env-ext.js.map +0 -1
  160. package/lib/hosted/browser/worker/worker-main.d.ts +0 -2
  161. package/lib/hosted/browser/worker/worker-main.d.ts.map +0 -1
  162. package/lib/hosted/browser/worker/worker-main.js +0 -183
  163. package/lib/hosted/browser/worker/worker-main.js.map +0 -1
  164. package/lib/hosted/browser/worker/worker-plugin-module.d.ts +0 -5
  165. package/lib/hosted/browser/worker/worker-plugin-module.d.ts.map +0 -1
  166. package/lib/hosted/browser/worker/worker-plugin-module.js +0 -80
  167. package/lib/hosted/browser/worker/worker-plugin-module.js.map +0 -1
  168. package/lib/hosted/common/hosted-plugin.d.ts +0 -97
  169. package/lib/hosted/common/hosted-plugin.d.ts.map +0 -1
  170. package/lib/hosted/common/hosted-plugin.js +0 -408
  171. package/lib/hosted/common/hosted-plugin.js.map +0 -1
  172. package/lib/hosted/node/hosted-plugin-cli-contribution.d.ts +0 -17
  173. package/lib/hosted/node/hosted-plugin-cli-contribution.d.ts.map +0 -1
  174. package/lib/hosted/node/hosted-plugin-cli-contribution.js +0 -72
  175. package/lib/hosted/node/hosted-plugin-cli-contribution.js.map +0 -1
  176. package/lib/hosted/node/hosted-plugin-localization-service.d.ts +0 -47
  177. package/lib/hosted/node/hosted-plugin-localization-service.d.ts.map +0 -1
  178. package/lib/hosted/node/hosted-plugin-localization-service.js +0 -380
  179. package/lib/hosted/node/hosted-plugin-localization-service.js.map +0 -1
  180. package/lib/hosted/node/hosted-plugin-process.d.ts +0 -42
  181. package/lib/hosted/node/hosted-plugin-process.d.ts.map +0 -1
  182. package/lib/hosted/node/hosted-plugin-process.js +0 -205
  183. package/lib/hosted/node/hosted-plugin-process.js.map +0 -1
  184. package/lib/hosted/node/hosted-plugin-protocol.d.ts +0 -22
  185. package/lib/hosted/node/hosted-plugin-protocol.d.ts.map +0 -1
  186. package/lib/hosted/node/hosted-plugin-protocol.js +0 -37
  187. package/lib/hosted/node/hosted-plugin-protocol.js.map +0 -1
  188. package/lib/hosted/node/hosted-plugin.d.ts +0 -29
  189. package/lib/hosted/node/hosted-plugin.d.ts.map +0 -1
  190. package/lib/hosted/node/hosted-plugin.js +0 -99
  191. package/lib/hosted/node/hosted-plugin.js.map +0 -1
  192. package/lib/hosted/node/metadata-scanner.d.ts +0 -18
  193. package/lib/hosted/node/metadata-scanner.d.ts.map +0 -1
  194. package/lib/hosted/node/metadata-scanner.js +0 -73
  195. package/lib/hosted/node/metadata-scanner.js.map +0 -1
  196. package/lib/hosted/node/plugin-activation-events.d.ts +0 -7
  197. package/lib/hosted/node/plugin-activation-events.d.ts.map +0 -1
  198. package/lib/hosted/node/plugin-activation-events.js +0 -96
  199. package/lib/hosted/node/plugin-activation-events.js.map +0 -1
  200. package/lib/hosted/node/plugin-deployer-handler-impl.d.ts +0 -48
  201. package/lib/hosted/node/plugin-deployer-handler-impl.d.ts.map +0 -1
  202. package/lib/hosted/node/plugin-deployer-handler-impl.js +0 -277
  203. package/lib/hosted/node/plugin-deployer-handler-impl.js.map +0 -1
  204. package/lib/hosted/node/plugin-ext-hosted-backend-module.d.ts +0 -4
  205. package/lib/hosted/node/plugin-ext-hosted-backend-module.d.ts.map +0 -1
  206. package/lib/hosted/node/plugin-ext-hosted-backend-module.js +0 -83
  207. package/lib/hosted/node/plugin-ext-hosted-backend-module.js.map +0 -1
  208. package/lib/hosted/node/plugin-host-logger.d.ts +0 -3
  209. package/lib/hosted/node/plugin-host-logger.d.ts.map +0 -1
  210. package/lib/hosted/node/plugin-host-logger.js +0 -39
  211. package/lib/hosted/node/plugin-host-logger.js.map +0 -1
  212. package/lib/hosted/node/plugin-host-module.d.ts +0 -5
  213. package/lib/hosted/node/plugin-host-module.d.ts.map +0 -1
  214. package/lib/hosted/node/plugin-host-module.js +0 -75
  215. package/lib/hosted/node/plugin-host-module.js.map +0 -1
  216. package/lib/hosted/node/plugin-host-proxy.d.ts +0 -19
  217. package/lib/hosted/node/plugin-host-proxy.d.ts.map +0 -1
  218. package/lib/hosted/node/plugin-host-proxy.js +0 -71
  219. package/lib/hosted/node/plugin-host-proxy.js.map +0 -1
  220. package/lib/hosted/node/plugin-host-rpc.d.ts +0 -108
  221. package/lib/hosted/node/plugin-host-rpc.d.ts.map +0 -1
  222. package/lib/hosted/node/plugin-host-rpc.js +0 -333
  223. package/lib/hosted/node/plugin-host-rpc.js.map +0 -1
  224. package/lib/hosted/node/plugin-host.d.ts +0 -2
  225. package/lib/hosted/node/plugin-host.d.ts.map +0 -1
  226. package/lib/hosted/node/plugin-host.js +0 -114
  227. package/lib/hosted/node/plugin-host.js.map +0 -1
  228. package/lib/hosted/node/plugin-language-pack-service.d.ts +0 -8
  229. package/lib/hosted/node/plugin-language-pack-service.d.ts.map +0 -1
  230. package/lib/hosted/node/plugin-language-pack-service.js +0 -49
  231. package/lib/hosted/node/plugin-language-pack-service.js.map +0 -1
  232. package/lib/hosted/node/plugin-manifest-loader.d.ts +0 -3
  233. package/lib/hosted/node/plugin-manifest-loader.d.ts.map +0 -1
  234. package/lib/hosted/node/plugin-manifest-loader.js +0 -36
  235. package/lib/hosted/node/plugin-manifest-loader.js.map +0 -1
  236. package/lib/hosted/node/plugin-reader.d.ts +0 -26
  237. package/lib/hosted/node/plugin-reader.d.ts.map +0 -1
  238. package/lib/hosted/node/plugin-reader.js +0 -140
  239. package/lib/hosted/node/plugin-reader.js.map +0 -1
  240. package/lib/hosted/node/plugin-require-override.d.ts +0 -25
  241. package/lib/hosted/node/plugin-require-override.d.ts.map +0 -1
  242. package/lib/hosted/node/plugin-require-override.js +0 -56
  243. package/lib/hosted/node/plugin-require-override.js.map +0 -1
  244. package/lib/hosted/node/plugin-service.d.ts +0 -56
  245. package/lib/hosted/node/plugin-service.d.ts.map +0 -1
  246. package/lib/hosted/node/plugin-service.js +0 -203
  247. package/lib/hosted/node/plugin-service.js.map +0 -1
  248. package/lib/hosted/node/scanners/backend-init-theia.d.ts +0 -3
  249. package/lib/hosted/node/scanners/backend-init-theia.d.ts.map +0 -1
  250. package/lib/hosted/node/scanners/backend-init-theia.js +0 -61
  251. package/lib/hosted/node/scanners/backend-init-theia.js.map +0 -1
  252. package/lib/hosted/node/scanners/file-plugin-uri-factory.d.ts +0 -11
  253. package/lib/hosted/node/scanners/file-plugin-uri-factory.d.ts.map +0 -1
  254. package/lib/hosted/node/scanners/file-plugin-uri-factory.js +0 -36
  255. package/lib/hosted/node/scanners/file-plugin-uri-factory.js.map +0 -1
  256. package/lib/hosted/node/scanners/grammars-reader.d.ts +0 -6
  257. package/lib/hosted/node/scanners/grammars-reader.d.ts.map +0 -1
  258. package/lib/hosted/node/scanners/grammars-reader.js +0 -59
  259. package/lib/hosted/node/scanners/grammars-reader.js.map +0 -1
  260. package/lib/hosted/node/scanners/plugin-uri-factory.d.ts +0 -17
  261. package/lib/hosted/node/scanners/plugin-uri-factory.d.ts.map +0 -1
  262. package/lib/hosted/node/scanners/plugin-uri-factory.js +0 -20
  263. package/lib/hosted/node/scanners/plugin-uri-factory.js.map +0 -1
  264. package/lib/hosted/node/scanners/scanner-theia.d.ts +0 -113
  265. package/lib/hosted/node/scanners/scanner-theia.d.ts.map +0 -1
  266. package/lib/hosted/node/scanners/scanner-theia.js +0 -923
  267. package/lib/hosted/node/scanners/scanner-theia.js.map +0 -1
  268. package/lib/hosted/node-electron/plugin-ext-hosted-electron-backend-module.d.ts +0 -3
  269. package/lib/hosted/node-electron/plugin-ext-hosted-electron-backend-module.d.ts.map +0 -1
  270. package/lib/hosted/node-electron/plugin-ext-hosted-electron-backend-module.js +0 -27
  271. package/lib/hosted/node-electron/plugin-ext-hosted-electron-backend-module.js.map +0 -1
  272. package/lib/hosted/node-electron/scanner-theia-electron.d.ts +0 -6
  273. package/lib/hosted/node-electron/scanner-theia-electron.d.ts.map +0 -1
  274. package/lib/hosted/node-electron/scanner-theia-electron.js +0 -36
  275. package/lib/hosted/node-electron/scanner-theia-electron.js.map +0 -1
  276. package/lib/main/browser/authentication-main.d.ts +0 -52
  277. package/lib/main/browser/authentication-main.d.ts.map +0 -1
  278. package/lib/main/browser/authentication-main.js +0 -324
  279. package/lib/main/browser/authentication-main.js.map +0 -1
  280. package/lib/main/browser/clipboard-main.d.ts +0 -10
  281. package/lib/main/browser/clipboard-main.d.ts.map +0 -1
  282. package/lib/main/browser/clipboard-main.js +0 -33
  283. package/lib/main/browser/clipboard-main.js.map +0 -1
  284. package/lib/main/browser/command-registry-main.d.ts +0 -28
  285. package/lib/main/browser/command-registry-main.d.ts.map +0 -1
  286. package/lib/main/browser/command-registry-main.js +0 -113
  287. package/lib/main/browser/command-registry-main.js.map +0 -1
  288. package/lib/main/browser/commands.d.ts +0 -13
  289. package/lib/main/browser/commands.d.ts.map +0 -1
  290. package/lib/main/browser/commands.js +0 -92
  291. package/lib/main/browser/commands.js.map +0 -1
  292. package/lib/main/browser/comments/comment-glyph-widget.d.ts +0 -13
  293. package/lib/main/browser/comments/comment-glyph-widget.d.ts.map +0 -1
  294. package/lib/main/browser/comments/comment-glyph-widget.js +0 -43
  295. package/lib/main/browser/comments/comment-glyph-widget.js.map +0 -1
  296. package/lib/main/browser/comments/comment-thread-widget.d.ts +0 -178
  297. package/lib/main/browser/comments/comment-thread-widget.d.ts.map +0 -1
  298. package/lib/main/browser/comments/comment-thread-widget.js +0 -523
  299. package/lib/main/browser/comments/comment-thread-widget.js.map +0 -1
  300. package/lib/main/browser/comments/comments-context.d.ts +0 -13
  301. package/lib/main/browser/comments/comments-context.d.ts.map +0 -1
  302. package/lib/main/browser/comments/comments-context.js +0 -56
  303. package/lib/main/browser/comments/comments-context.js.map +0 -1
  304. package/lib/main/browser/comments/comments-contribution.d.ts +0 -32
  305. package/lib/main/browser/comments/comments-contribution.d.ts.map +0 -1
  306. package/lib/main/browser/comments/comments-contribution.js +0 -258
  307. package/lib/main/browser/comments/comments-contribution.js.map +0 -1
  308. package/lib/main/browser/comments/comments-decorator.d.ts +0 -16
  309. package/lib/main/browser/comments/comments-decorator.d.ts.map +0 -1
  310. package/lib/main/browser/comments/comments-decorator.js +0 -100
  311. package/lib/main/browser/comments/comments-decorator.js.map +0 -1
  312. package/lib/main/browser/comments/comments-main.d.ts +0 -116
  313. package/lib/main/browser/comments/comments-main.d.ts.map +0 -1
  314. package/lib/main/browser/comments/comments-main.js +0 -358
  315. package/lib/main/browser/comments/comments-main.js.map +0 -1
  316. package/lib/main/browser/comments/comments-service.d.ts +0 -76
  317. package/lib/main/browser/comments/comments-service.d.ts.map +0 -1
  318. package/lib/main/browser/comments/comments-service.js +0 -118
  319. package/lib/main/browser/comments/comments-service.js.map +0 -1
  320. package/lib/main/browser/custom-editors/custom-editor-opener.d.ts +0 -29
  321. package/lib/main/browser/custom-editors/custom-editor-opener.d.ts.map +0 -1
  322. package/lib/main/browser/custom-editors/custom-editor-opener.js +0 -196
  323. package/lib/main/browser/custom-editors/custom-editor-opener.js.map +0 -1
  324. package/lib/main/browser/custom-editors/custom-editor-service.d.ts +0 -17
  325. package/lib/main/browser/custom-editors/custom-editor-service.d.ts.map +0 -1
  326. package/lib/main/browser/custom-editors/custom-editor-service.js +0 -98
  327. package/lib/main/browser/custom-editors/custom-editor-service.js.map +0 -1
  328. package/lib/main/browser/custom-editors/custom-editor-undo-redo-handler.d.ts +0 -10
  329. package/lib/main/browser/custom-editors/custom-editor-undo-redo-handler.d.ts.map +0 -1
  330. package/lib/main/browser/custom-editors/custom-editor-undo-redo-handler.js +0 -49
  331. package/lib/main/browser/custom-editors/custom-editor-undo-redo-handler.js.map +0 -1
  332. package/lib/main/browser/custom-editors/custom-editor-widget-factory.d.ts +0 -10
  333. package/lib/main/browser/custom-editors/custom-editor-widget-factory.d.ts.map +0 -1
  334. package/lib/main/browser/custom-editors/custom-editor-widget-factory.js +0 -40
  335. package/lib/main/browser/custom-editors/custom-editor-widget-factory.js.map +0 -1
  336. package/lib/main/browser/custom-editors/custom-editor-widget.d.ts +0 -35
  337. package/lib/main/browser/custom-editors/custom-editor-widget.d.ts.map +0 -1
  338. package/lib/main/browser/custom-editors/custom-editor-widget.js +0 -108
  339. package/lib/main/browser/custom-editors/custom-editor-widget.js.map +0 -1
  340. package/lib/main/browser/custom-editors/custom-editors-main.d.ts +0 -123
  341. package/lib/main/browser/custom-editors/custom-editors-main.d.ts.map +0 -1
  342. package/lib/main/browser/custom-editors/custom-editors-main.js +0 -380
  343. package/lib/main/browser/custom-editors/custom-editors-main.js.map +0 -1
  344. package/lib/main/browser/custom-editors/plugin-custom-editor-registry.d.ts +0 -22
  345. package/lib/main/browser/custom-editors/plugin-custom-editor-registry.d.ts.map +0 -1
  346. package/lib/main/browser/custom-editors/plugin-custom-editor-registry.js +0 -128
  347. package/lib/main/browser/custom-editors/plugin-custom-editor-registry.js.map +0 -1
  348. package/lib/main/browser/data-transfer/data-transfer-type-converters.d.ts +0 -9
  349. package/lib/main/browser/data-transfer/data-transfer-type-converters.d.ts.map +0 -1
  350. package/lib/main/browser/data-transfer/data-transfer-type-converters.js +0 -63
  351. package/lib/main/browser/data-transfer/data-transfer-type-converters.js.map +0 -1
  352. package/lib/main/browser/debug/debug-main.d.ts +0 -52
  353. package/lib/main/browser/debug/debug-main.d.ts.map +0 -1
  354. package/lib/main/browser/debug/debug-main.js +0 -314
  355. package/lib/main/browser/debug/debug-main.js.map +0 -1
  356. package/lib/main/browser/debug/plugin-debug-adapter-contribution.d.ts +0 -19
  357. package/lib/main/browser/debug/plugin-debug-adapter-contribution.d.ts.map +0 -1
  358. package/lib/main/browser/debug/plugin-debug-adapter-contribution.js +0 -43
  359. package/lib/main/browser/debug/plugin-debug-adapter-contribution.js.map +0 -1
  360. package/lib/main/browser/debug/plugin-debug-configuration-provider.d.ts +0 -18
  361. package/lib/main/browser/debug/plugin-debug-configuration-provider.d.ts.map +0 -1
  362. package/lib/main/browser/debug/plugin-debug-configuration-provider.js +0 -40
  363. package/lib/main/browser/debug/plugin-debug-configuration-provider.js.map +0 -1
  364. package/lib/main/browser/debug/plugin-debug-service.d.ts +0 -56
  365. package/lib/main/browser/debug/plugin-debug-service.d.ts.map +0 -1
  366. package/lib/main/browser/debug/plugin-debug-service.js +0 -365
  367. package/lib/main/browser/debug/plugin-debug-service.js.map +0 -1
  368. package/lib/main/browser/debug/plugin-debug-session-contribution-registry.d.ts +0 -31
  369. package/lib/main/browser/debug/plugin-debug-session-contribution-registry.d.ts.map +0 -1
  370. package/lib/main/browser/debug/plugin-debug-session-contribution-registry.js +0 -68
  371. package/lib/main/browser/debug/plugin-debug-session-contribution-registry.js.map +0 -1
  372. package/lib/main/browser/debug/plugin-debug-session-factory.d.ts +0 -59
  373. package/lib/main/browser/debug/plugin-debug-session-factory.d.ts.map +0 -1
  374. package/lib/main/browser/debug/plugin-debug-session-factory.js +0 -72
  375. package/lib/main/browser/debug/plugin-debug-session-factory.js.map +0 -1
  376. package/lib/main/browser/decorations/decorations-main.d.ts +0 -16
  377. package/lib/main/browser/decorations/decorations-main.d.ts.map +0 -1
  378. package/lib/main/browser/decorations/decorations-main.js +0 -120
  379. package/lib/main/browser/decorations/decorations-main.js.map +0 -1
  380. package/lib/main/browser/dialogs/modal-notification.d.ts +0 -19
  381. package/lib/main/browser/dialogs/modal-notification.d.ts.map +0 -1
  382. package/lib/main/browser/dialogs/modal-notification.js +0 -102
  383. package/lib/main/browser/dialogs/modal-notification.js.map +0 -1
  384. package/lib/main/browser/dialogs-main.d.ts +0 -17
  385. package/lib/main/browser/dialogs-main.d.ts.map +0 -1
  386. package/lib/main/browser/dialogs-main.js +0 -163
  387. package/lib/main/browser/dialogs-main.js.map +0 -1
  388. package/lib/main/browser/documents-main.d.ts +0 -51
  389. package/lib/main/browser/documents-main.d.ts.map +0 -1
  390. package/lib/main/browser/documents-main.js +0 -252
  391. package/lib/main/browser/documents-main.js.map +0 -1
  392. package/lib/main/browser/editors-and-documents-main.d.ts +0 -41
  393. package/lib/main/browser/editors-and-documents-main.d.ts.map +0 -1
  394. package/lib/main/browser/editors-and-documents-main.js +0 -357
  395. package/lib/main/browser/editors-and-documents-main.js.map +0 -1
  396. package/lib/main/browser/env-main.d.ts +0 -7
  397. package/lib/main/browser/env-main.d.ts.map +0 -1
  398. package/lib/main/browser/env-main.js +0 -64
  399. package/lib/main/browser/env-main.js.map +0 -1
  400. package/lib/main/browser/file-system-main-impl.d.ts +0 -29
  401. package/lib/main/browser/file-system-main-impl.d.ts.map +0 -1
  402. package/lib/main/browser/file-system-main-impl.js +0 -208
  403. package/lib/main/browser/file-system-main-impl.js.map +0 -1
  404. package/lib/main/browser/hierarchy/hierarchy-types-converters.d.ts +0 -25
  405. package/lib/main/browser/hierarchy/hierarchy-types-converters.d.ts.map +0 -1
  406. package/lib/main/browser/hierarchy/hierarchy-types-converters.js +0 -185
  407. package/lib/main/browser/hierarchy/hierarchy-types-converters.js.map +0 -1
  408. package/lib/main/browser/keybindings/keybindings-contribution-handler.d.ts +0 -10
  409. package/lib/main/browser/keybindings/keybindings-contribution-handler.d.ts.map +0 -1
  410. package/lib/main/browser/keybindings/keybindings-contribution-handler.js +0 -70
  411. package/lib/main/browser/keybindings/keybindings-contribution-handler.js.map +0 -1
  412. package/lib/main/browser/label-service-main.d.ts +0 -11
  413. package/lib/main/browser/label-service-main.d.ts.map +0 -1
  414. package/lib/main/browser/label-service-main.js +0 -47
  415. package/lib/main/browser/label-service-main.js.map +0 -1
  416. package/lib/main/browser/languages-main.d.ts +0 -144
  417. package/lib/main/browser/languages-main.d.ts.map +0 -1
  418. package/lib/main/browser/languages-main.js +0 -1172
  419. package/lib/main/browser/languages-main.js.map +0 -1
  420. package/lib/main/browser/lm-main.d.ts +0 -17
  421. package/lib/main/browser/lm-main.d.ts.map +0 -1
  422. package/lib/main/browser/lm-main.js +0 -154
  423. package/lib/main/browser/lm-main.js.map +0 -1
  424. package/lib/main/browser/localization-main.d.ts +0 -9
  425. package/lib/main/browser/localization-main.d.ts.map +0 -1
  426. package/lib/main/browser/localization-main.js +0 -32
  427. package/lib/main/browser/localization-main.js.map +0 -1
  428. package/lib/main/browser/logger-main.d.ts +0 -8
  429. package/lib/main/browser/logger-main.d.ts.map +0 -1
  430. package/lib/main/browser/logger-main.js +0 -53
  431. package/lib/main/browser/logger-main.js.map +0 -1
  432. package/lib/main/browser/main-context.d.ts +0 -4
  433. package/lib/main/browser/main-context.d.ts.map +0 -1
  434. package/lib/main/browser/main-context.js +0 -161
  435. package/lib/main/browser/main-context.js.map +0 -1
  436. package/lib/main/browser/main-file-system-event-service.d.ts +0 -8
  437. package/lib/main/browser/main-file-system-event-service.d.ts.map +0 -1
  438. package/lib/main/browser/main-file-system-event-service.js +0 -66
  439. package/lib/main/browser/main-file-system-event-service.js.map +0 -1
  440. package/lib/main/browser/menus/menus-contribution-handler.d.ts +0 -24
  441. package/lib/main/browser/menus/menus-contribution-handler.d.ts.map +0 -1
  442. package/lib/main/browser/menus/menus-contribution-handler.js +0 -208
  443. package/lib/main/browser/menus/menus-contribution-handler.js.map +0 -1
  444. package/lib/main/browser/menus/plugin-menu-command-adapter.d.ts +0 -24
  445. package/lib/main/browser/menus/plugin-menu-command-adapter.d.ts.map +0 -1
  446. package/lib/main/browser/menus/plugin-menu-command-adapter.js +0 -281
  447. package/lib/main/browser/menus/plugin-menu-command-adapter.js.map +0 -1
  448. package/lib/main/browser/menus/vscode-theia-menu-mappings.d.ts +0 -19
  449. package/lib/main/browser/menus/vscode-theia-menu-mappings.d.ts.map +0 -1
  450. package/lib/main/browser/menus/vscode-theia-menu-mappings.js +0 -115
  451. package/lib/main/browser/menus/vscode-theia-menu-mappings.js.map +0 -1
  452. package/lib/main/browser/message-registry-main.d.ts +0 -11
  453. package/lib/main/browser/message-registry-main.d.ts.map +0 -1
  454. package/lib/main/browser/message-registry-main.js +0 -41
  455. package/lib/main/browser/message-registry-main.js.map +0 -1
  456. package/lib/main/browser/notebooks/notebook-documents-and-editors-main.d.ts +0 -52
  457. package/lib/main/browser/notebooks/notebook-documents-and-editors-main.d.ts.map +0 -1
  458. package/lib/main/browser/notebooks/notebook-documents-and-editors-main.js +0 -208
  459. package/lib/main/browser/notebooks/notebook-documents-and-editors-main.js.map +0 -1
  460. package/lib/main/browser/notebooks/notebook-documents-main.d.ts +0 -30
  461. package/lib/main/browser/notebooks/notebook-documents-main.d.ts.map +0 -1
  462. package/lib/main/browser/notebooks/notebook-documents-main.js +0 -164
  463. package/lib/main/browser/notebooks/notebook-documents-main.js.map +0 -1
  464. package/lib/main/browser/notebooks/notebook-dto.d.ts +0 -18
  465. package/lib/main/browser/notebooks/notebook-dto.d.ts.map +0 -1
  466. package/lib/main/browser/notebooks/notebook-dto.js +0 -131
  467. package/lib/main/browser/notebooks/notebook-dto.js.map +0 -1
  468. package/lib/main/browser/notebooks/notebook-editors-main.d.ts +0 -21
  469. package/lib/main/browser/notebooks/notebook-editors-main.d.ts.map +0 -1
  470. package/lib/main/browser/notebooks/notebook-editors-main.js +0 -77
  471. package/lib/main/browser/notebooks/notebook-editors-main.js.map +0 -1
  472. package/lib/main/browser/notebooks/notebook-kernels-main.d.ts +0 -43
  473. package/lib/main/browser/notebooks/notebook-kernels-main.d.ts.map +0 -1
  474. package/lib/main/browser/notebooks/notebook-kernels-main.js +0 -274
  475. package/lib/main/browser/notebooks/notebook-kernels-main.js.map +0 -1
  476. package/lib/main/browser/notebooks/notebook-renderers-main.d.ts +0 -12
  477. package/lib/main/browser/notebooks/notebook-renderers-main.d.ts.map +0 -1
  478. package/lib/main/browser/notebooks/notebook-renderers-main.js +0 -39
  479. package/lib/main/browser/notebooks/notebook-renderers-main.js.map +0 -1
  480. package/lib/main/browser/notebooks/notebooks-main.d.ts +0 -25
  481. package/lib/main/browser/notebooks/notebooks-main.d.ts.map +0 -1
  482. package/lib/main/browser/notebooks/notebooks-main.js +0 -134
  483. package/lib/main/browser/notebooks/notebooks-main.js.map +0 -1
  484. package/lib/main/browser/notebooks/renderers/cell-output-webview.d.ts +0 -75
  485. package/lib/main/browser/notebooks/renderers/cell-output-webview.d.ts.map +0 -1
  486. package/lib/main/browser/notebooks/renderers/cell-output-webview.js +0 -571
  487. package/lib/main/browser/notebooks/renderers/cell-output-webview.js.map +0 -1
  488. package/lib/main/browser/notebooks/renderers/output-webview-internal.d.ts +0 -14
  489. package/lib/main/browser/notebooks/renderers/output-webview-internal.d.ts.map +0 -1
  490. package/lib/main/browser/notebooks/renderers/output-webview-internal.js +0 -660
  491. package/lib/main/browser/notebooks/renderers/output-webview-internal.js.map +0 -1
  492. package/lib/main/browser/notebooks/renderers/webview-communication.d.ts +0 -127
  493. package/lib/main/browser/notebooks/renderers/webview-communication.d.ts.map +0 -1
  494. package/lib/main/browser/notebooks/renderers/webview-communication.js +0 -22
  495. package/lib/main/browser/notebooks/renderers/webview-communication.js.map +0 -1
  496. package/lib/main/browser/notification-main.d.ts +0 -7
  497. package/lib/main/browser/notification-main.d.ts.map +0 -1
  498. package/lib/main/browser/notification-main.js +0 -27
  499. package/lib/main/browser/notification-main.js.map +0 -1
  500. package/lib/main/browser/output-channel-registry-main.d.ts +0 -11
  501. package/lib/main/browser/output-channel-registry-main.d.ts.map +0 -1
  502. package/lib/main/browser/output-channel-registry-main.js +0 -53
  503. package/lib/main/browser/output-channel-registry-main.js.map +0 -1
  504. package/lib/main/browser/plugin-authentication-service.d.ts +0 -14
  505. package/lib/main/browser/plugin-authentication-service.d.ts.map +0 -1
  506. package/lib/main/browser/plugin-authentication-service.js +0 -73
  507. package/lib/main/browser/plugin-authentication-service.js.map +0 -1
  508. package/lib/main/browser/plugin-contribution-handler.d.ts +0 -75
  509. package/lib/main/browser/plugin-contribution-handler.d.ts.map +0 -1
  510. package/lib/main/browser/plugin-contribution-handler.js +0 -640
  511. package/lib/main/browser/plugin-contribution-handler.js.map +0 -1
  512. package/lib/main/browser/plugin-ext-argument-processor.d.ts +0 -12
  513. package/lib/main/browser/plugin-ext-argument-processor.d.ts.map +0 -1
  514. package/lib/main/browser/plugin-ext-argument-processor.js +0 -41
  515. package/lib/main/browser/plugin-ext-argument-processor.js.map +0 -1
  516. package/lib/main/browser/plugin-ext-frontend-module.d.ts +0 -8
  517. package/lib/main/browser/plugin-ext-frontend-module.d.ts.map +0 -1
  518. package/lib/main/browser/plugin-ext-frontend-module.js +0 -257
  519. package/lib/main/browser/plugin-ext-frontend-module.js.map +0 -1
  520. package/lib/main/browser/plugin-ext-widget.d.ts +0 -29
  521. package/lib/main/browser/plugin-ext-widget.d.ts.map +0 -1
  522. package/lib/main/browser/plugin-ext-widget.js +0 -122
  523. package/lib/main/browser/plugin-ext-widget.js.map +0 -1
  524. package/lib/main/browser/plugin-frontend-contribution.d.ts +0 -10
  525. package/lib/main/browser/plugin-frontend-contribution.d.ts.map +0 -1
  526. package/lib/main/browser/plugin-frontend-contribution.js +0 -72
  527. package/lib/main/browser/plugin-frontend-contribution.js.map +0 -1
  528. package/lib/main/browser/plugin-frontend-view-contribution.d.ts +0 -7
  529. package/lib/main/browser/plugin-frontend-view-contribution.d.ts.map +0 -1
  530. package/lib/main/browser/plugin-frontend-view-contribution.js +0 -43
  531. package/lib/main/browser/plugin-frontend-view-contribution.js.map +0 -1
  532. package/lib/main/browser/plugin-icon-service.d.ts +0 -17
  533. package/lib/main/browser/plugin-icon-service.d.ts.map +0 -1
  534. package/lib/main/browser/plugin-icon-service.js +0 -89
  535. package/lib/main/browser/plugin-icon-service.js.map +0 -1
  536. package/lib/main/browser/plugin-icon-theme-service.d.ts +0 -147
  537. package/lib/main/browser/plugin-icon-theme-service.d.ts.map +0 -1
  538. package/lib/main/browser/plugin-icon-theme-service.js +0 -554
  539. package/lib/main/browser/plugin-icon-theme-service.js.map +0 -1
  540. package/lib/main/browser/plugin-shared-style.d.ts +0 -41
  541. package/lib/main/browser/plugin-shared-style.d.ts.map +0 -1
  542. package/lib/main/browser/plugin-shared-style.js +0 -137
  543. package/lib/main/browser/plugin-shared-style.js.map +0 -1
  544. package/lib/main/browser/plugin-storage.d.ts +0 -14
  545. package/lib/main/browser/plugin-storage.d.ts.map +0 -1
  546. package/lib/main/browser/plugin-storage.js +0 -47
  547. package/lib/main/browser/plugin-storage.js.map +0 -1
  548. package/lib/main/browser/plugin-terminal-registry.d.ts +0 -5
  549. package/lib/main/browser/plugin-terminal-registry.d.ts.map +0 -1
  550. package/lib/main/browser/plugin-terminal-registry.js +0 -30
  551. package/lib/main/browser/plugin-terminal-registry.js.map +0 -1
  552. package/lib/main/browser/preference-registry-main.d.ts +0 -20
  553. package/lib/main/browser/preference-registry-main.d.ts.map +0 -1
  554. package/lib/main/browser/preference-registry-main.js +0 -107
  555. package/lib/main/browser/preference-registry-main.js.map +0 -1
  556. package/lib/main/browser/quick-open-main.d.ts +0 -36
  557. package/lib/main/browser/quick-open-main.d.ts.map +0 -1
  558. package/lib/main/browser/quick-open-main.js +0 -314
  559. package/lib/main/browser/quick-open-main.js.map +0 -1
  560. package/lib/main/browser/scm-main.d.ts +0 -108
  561. package/lib/main/browser/scm-main.d.ts.map +0 -1
  562. package/lib/main/browser/scm-main.js +0 -348
  563. package/lib/main/browser/scm-main.js.map +0 -1
  564. package/lib/main/browser/secrets-main.d.ts +0 -16
  565. package/lib/main/browser/secrets-main.d.ts.map +0 -1
  566. package/lib/main/browser/secrets-main.js +0 -91
  567. package/lib/main/browser/secrets-main.js.map +0 -1
  568. package/lib/main/browser/selection-provider-command.d.ts +0 -13
  569. package/lib/main/browser/selection-provider-command.d.ts.map +0 -1
  570. package/lib/main/browser/selection-provider-command.js +0 -49
  571. package/lib/main/browser/selection-provider-command.js.map +0 -1
  572. package/lib/main/browser/status-bar-message-registry-main.d.ts +0 -19
  573. package/lib/main/browser/status-bar-message-registry-main.d.ts.map +0 -1
  574. package/lib/main/browser/status-bar-message-registry-main.js +0 -60
  575. package/lib/main/browser/status-bar-message-registry-main.js.map +0 -1
  576. package/lib/main/browser/tabs/tabs-main.d.ts +0 -54
  577. package/lib/main/browser/tabs/tabs-main.d.ts.map +0 -1
  578. package/lib/main/browser/tabs/tabs-main.js +0 -368
  579. package/lib/main/browser/tabs/tabs-main.js.map +0 -1
  580. package/lib/main/browser/tasks-main.d.ts +0 -34
  581. package/lib/main/browser/tasks-main.d.ts.map +0 -1
  582. package/lib/main/browser/tasks-main.js +0 -209
  583. package/lib/main/browser/tasks-main.js.map +0 -1
  584. package/lib/main/browser/terminal-main.d.ts +0 -64
  585. package/lib/main/browser/terminal-main.d.ts.map +0 -1
  586. package/lib/main/browser/terminal-main.js +0 -331
  587. package/lib/main/browser/terminal-main.js.map +0 -1
  588. package/lib/main/browser/test-main.d.ts +0 -144
  589. package/lib/main/browser/test-main.d.ts.map +0 -1
  590. package/lib/main/browser/test-main.js +0 -563
  591. package/lib/main/browser/test-main.js.map +0 -1
  592. package/lib/main/browser/text-editor-main.d.ts +0 -53
  593. package/lib/main/browser/text-editor-main.d.ts.map +0 -1
  594. package/lib/main/browser/text-editor-main.js +0 -443
  595. package/lib/main/browser/text-editor-main.js.map +0 -1
  596. package/lib/main/browser/text-editor-model-service.d.ts +0 -35
  597. package/lib/main/browser/text-editor-model-service.d.ts.map +0 -1
  598. package/lib/main/browser/text-editor-model-service.js +0 -111
  599. package/lib/main/browser/text-editor-model-service.js.map +0 -1
  600. package/lib/main/browser/text-editors-main.d.ts +0 -41
  601. package/lib/main/browser/text-editors-main.d.ts.map +0 -1
  602. package/lib/main/browser/text-editors-main.js +0 -180
  603. package/lib/main/browser/text-editors-main.js.map +0 -1
  604. package/lib/main/browser/theme-icon-override.d.ts +0 -2
  605. package/lib/main/browser/theme-icon-override.d.ts.map +0 -1
  606. package/lib/main/browser/theme-icon-override.js +0 -245
  607. package/lib/main/browser/theme-icon-override.js.map +0 -1
  608. package/lib/main/browser/theming-main.d.ts +0 -10
  609. package/lib/main/browser/theming-main.d.ts.map +0 -1
  610. package/lib/main/browser/theming-main.js +0 -36
  611. package/lib/main/browser/theming-main.js.map +0 -1
  612. package/lib/main/browser/timeline-main.d.ts +0 -14
  613. package/lib/main/browser/timeline-main.d.ts.map +0 -1
  614. package/lib/main/browser/timeline-main.js +0 -51
  615. package/lib/main/browser/timeline-main.js.map +0 -1
  616. package/lib/main/browser/uri-main.d.ts +0 -16
  617. package/lib/main/browser/uri-main.d.ts.map +0 -1
  618. package/lib/main/browser/uri-main.js +0 -64
  619. package/lib/main/browser/uri-main.js.map +0 -1
  620. package/lib/main/browser/view/dnd-file-content-store.d.ts +0 -8
  621. package/lib/main/browser/view/dnd-file-content-store.d.ts.map +0 -1
  622. package/lib/main/browser/view/dnd-file-content-store.js +0 -47
  623. package/lib/main/browser/view/dnd-file-content-store.js.map +0 -1
  624. package/lib/main/browser/view/plugin-tree-view-node-label-provider.d.ts +0 -12
  625. package/lib/main/browser/view/plugin-tree-view-node-label-provider.d.ts.map +0 -1
  626. package/lib/main/browser/view/plugin-tree-view-node-label-provider.js +0 -83
  627. package/lib/main/browser/view/plugin-tree-view-node-label-provider.js.map +0 -1
  628. package/lib/main/browser/view/plugin-view-registry.d.ts +0 -112
  629. package/lib/main/browser/view/plugin-view-registry.d.ts.map +0 -1
  630. package/lib/main/browser/view/plugin-view-registry.js +0 -901
  631. package/lib/main/browser/view/plugin-view-registry.js.map +0 -1
  632. package/lib/main/browser/view/plugin-view-widget.d.ts +0 -53
  633. package/lib/main/browser/view/plugin-view-widget.d.ts.map +0 -1
  634. package/lib/main/browser/view/plugin-view-widget.js +0 -164
  635. package/lib/main/browser/view/plugin-view-widget.js.map +0 -1
  636. package/lib/main/browser/view/tree-view-decorator-service.d.ts +0 -31
  637. package/lib/main/browser/view/tree-view-decorator-service.d.ts.map +0 -1
  638. package/lib/main/browser/view/tree-view-decorator-service.js +0 -58
  639. package/lib/main/browser/view/tree-view-decorator-service.js.map +0 -1
  640. package/lib/main/browser/view/tree-view-widget.d.ts +0 -166
  641. package/lib/main/browser/view/tree-view-widget.d.ts.map +0 -1
  642. package/lib/main/browser/view/tree-view-widget.js +0 -848
  643. package/lib/main/browser/view/tree-view-widget.js.map +0 -1
  644. package/lib/main/browser/view/tree-views-main.d.ts +0 -35
  645. package/lib/main/browser/view/tree-views-main.d.ts.map +0 -1
  646. package/lib/main/browser/view/tree-views-main.js +0 -179
  647. package/lib/main/browser/view/tree-views-main.js.map +0 -1
  648. package/lib/main/browser/view/view-context-key-service.d.ts +0 -17
  649. package/lib/main/browser/view/view-context-key-service.d.ts.map +0 -1
  650. package/lib/main/browser/view/view-context-key-service.js +0 -63
  651. package/lib/main/browser/view/view-context-key-service.js.map +0 -1
  652. package/lib/main/browser/webview/webview-context-keys.d.ts +0 -17
  653. package/lib/main/browser/webview/webview-context-keys.d.ts.map +0 -1
  654. package/lib/main/browser/webview/webview-context-keys.js +0 -65
  655. package/lib/main/browser/webview/webview-context-keys.js.map +0 -1
  656. package/lib/main/browser/webview/webview-environment.d.ts +0 -17
  657. package/lib/main/browser/webview/webview-environment.d.ts.map +0 -1
  658. package/lib/main/browser/webview/webview-environment.js +0 -89
  659. package/lib/main/browser/webview/webview-environment.js.map +0 -1
  660. package/lib/main/browser/webview/webview-frontend-preference-contribution.d.ts +0 -5
  661. package/lib/main/browser/webview/webview-frontend-preference-contribution.d.ts.map +0 -1
  662. package/lib/main/browser/webview/webview-frontend-preference-contribution.js +0 -40
  663. package/lib/main/browser/webview/webview-frontend-preference-contribution.js.map +0 -1
  664. package/lib/main/browser/webview/webview-frontend-security-warnings.d.ts +0 -12
  665. package/lib/main/browser/webview/webview-frontend-security-warnings.d.ts.map +0 -1
  666. package/lib/main/browser/webview/webview-frontend-security-warnings.js +0 -66
  667. package/lib/main/browser/webview/webview-frontend-security-warnings.js.map +0 -1
  668. package/lib/main/browser/webview/webview-resource-cache.d.ts +0 -18
  669. package/lib/main/browser/webview/webview-resource-cache.d.ts.map +0 -1
  670. package/lib/main/browser/webview/webview-resource-cache.js +0 -83
  671. package/lib/main/browser/webview/webview-resource-cache.js.map +0 -1
  672. package/lib/main/browser/webview/webview-secondary-window-support.d.ts +0 -8
  673. package/lib/main/browser/webview/webview-secondary-window-support.d.ts.map +0 -1
  674. package/lib/main/browser/webview/webview-secondary-window-support.js +0 -52
  675. package/lib/main/browser/webview/webview-secondary-window-support.js.map +0 -1
  676. package/lib/main/browser/webview/webview-theme-data-provider.d.ts +0 -31
  677. package/lib/main/browser/webview/webview-theme-data-provider.d.ts.map +0 -1
  678. package/lib/main/browser/webview/webview-theme-data-provider.js +0 -125
  679. package/lib/main/browser/webview/webview-theme-data-provider.js.map +0 -1
  680. package/lib/main/browser/webview/webview-widget-factory.d.ts +0 -9
  681. package/lib/main/browser/webview/webview-widget-factory.d.ts.map +0 -1
  682. package/lib/main/browser/webview/webview-widget-factory.js +0 -40
  683. package/lib/main/browser/webview/webview-widget-factory.js.map +0 -1
  684. package/lib/main/browser/webview/webview.d.ts +0 -150
  685. package/lib/main/browser/webview/webview.d.ts.map +0 -1
  686. package/lib/main/browser/webview/webview.js +0 -591
  687. package/lib/main/browser/webview/webview.js.map +0 -1
  688. package/lib/main/browser/webview-views/webview-views-main.d.ts +0 -34
  689. package/lib/main/browser/webview-views/webview-views-main.d.ts.map +0 -1
  690. package/lib/main/browser/webview-views/webview-views-main.js +0 -133
  691. package/lib/main/browser/webview-views/webview-views-main.js.map +0 -1
  692. package/lib/main/browser/webview-views/webview-views.d.ts +0 -16
  693. package/lib/main/browser/webview-views/webview-views.d.ts.map +0 -1
  694. package/lib/main/browser/webview-views/webview-views.js +0 -23
  695. package/lib/main/browser/webview-views/webview-views.js.map +0 -1
  696. package/lib/main/browser/webviews-main.d.ts +0 -40
  697. package/lib/main/browser/webviews-main.d.ts.map +0 -1
  698. package/lib/main/browser/webviews-main.js +0 -247
  699. package/lib/main/browser/webviews-main.js.map +0 -1
  700. package/lib/main/browser/window-activity-tracker.d.ts +0 -20
  701. package/lib/main/browser/window-activity-tracker.d.ts.map +0 -1
  702. package/lib/main/browser/window-activity-tracker.js +0 -86
  703. package/lib/main/browser/window-activity-tracker.js.map +0 -1
  704. package/lib/main/browser/window-state-main.d.ts +0 -18
  705. package/lib/main/browser/window-state-main.d.ts.map +0 -1
  706. package/lib/main/browser/window-state-main.js +0 -69
  707. package/lib/main/browser/window-state-main.js.map +0 -1
  708. package/lib/main/browser/workspace-main.d.ts +0 -98
  709. package/lib/main/browser/workspace-main.d.ts.map +0 -1
  710. package/lib/main/browser/workspace-main.js +0 -384
  711. package/lib/main/browser/workspace-main.js.map +0 -1
  712. package/lib/main/common/basic-message-registry-main.d.ts +0 -14
  713. package/lib/main/common/basic-message-registry-main.d.ts.map +0 -1
  714. package/lib/main/common/basic-message-registry-main.js +0 -50
  715. package/lib/main/common/basic-message-registry-main.js.map +0 -1
  716. package/lib/main/common/basic-notification-main.d.ts +0 -19
  717. package/lib/main/common/basic-notification-main.d.ts.map +0 -1
  718. package/lib/main/common/basic-notification-main.js +0 -75
  719. package/lib/main/common/basic-notification-main.js.map +0 -1
  720. package/lib/main/common/env-main.d.ts +0 -11
  721. package/lib/main/common/env-main.d.ts.map +0 -1
  722. package/lib/main/common/env-main.js +0 -40
  723. package/lib/main/common/env-main.js.map +0 -1
  724. package/lib/main/common/plugin-paths-protocol.d.ts +0 -9
  725. package/lib/main/common/plugin-paths-protocol.d.ts.map +0 -1
  726. package/lib/main/common/plugin-paths-protocol.js +0 -22
  727. package/lib/main/common/plugin-paths-protocol.js.map +0 -1
  728. package/lib/main/common/plugin-theia-environment.d.ts +0 -8
  729. package/lib/main/common/plugin-theia-environment.d.ts.map +0 -1
  730. package/lib/main/common/plugin-theia-environment.js +0 -40
  731. package/lib/main/common/plugin-theia-environment.js.map +0 -1
  732. package/lib/main/common/webview-preferences.d.ts +0 -13
  733. package/lib/main/common/webview-preferences.d.ts.map +0 -1
  734. package/lib/main/common/webview-preferences.js +0 -47
  735. package/lib/main/common/webview-preferences.js.map +0 -1
  736. package/lib/main/common/webview-protocol.d.ts +0 -13
  737. package/lib/main/common/webview-protocol.d.ts.map +0 -1
  738. package/lib/main/common/webview-protocol.js +0 -32
  739. package/lib/main/common/webview-protocol.js.map +0 -1
  740. package/lib/main/electron-browser/plugin-ext-frontend-electron-module.d.ts +0 -4
  741. package/lib/main/electron-browser/plugin-ext-frontend-electron-module.d.ts.map +0 -1
  742. package/lib/main/electron-browser/plugin-ext-frontend-electron-module.js +0 -26
  743. package/lib/main/electron-browser/plugin-ext-frontend-electron-module.js.map +0 -1
  744. package/lib/main/electron-browser/webview/electron-webview-widget-factory.d.ts +0 -24
  745. package/lib/main/electron-browser/webview/electron-webview-widget-factory.d.ts.map +0 -1
  746. package/lib/main/electron-browser/webview/electron-webview-widget-factory.js +0 -54
  747. package/lib/main/electron-browser/webview/electron-webview-widget-factory.js.map +0 -1
  748. package/lib/main/node/errors.spec.d.ts +0 -2
  749. package/lib/main/node/errors.spec.d.ts.map +0 -1
  750. package/lib/main/node/errors.spec.js +0 -36
  751. package/lib/main/node/errors.spec.js.map +0 -1
  752. package/lib/main/node/handlers/plugin-theia-directory-handler.d.ts +0 -19
  753. package/lib/main/node/handlers/plugin-theia-directory-handler.d.ts.map +0 -1
  754. package/lib/main/node/handlers/plugin-theia-directory-handler.js +0 -130
  755. package/lib/main/node/handlers/plugin-theia-directory-handler.js.map +0 -1
  756. package/lib/main/node/handlers/plugin-theia-file-handler.d.ts +0 -11
  757. package/lib/main/node/handlers/plugin-theia-file-handler.d.ts.map +0 -1
  758. package/lib/main/node/handlers/plugin-theia-file-handler.js +0 -67
  759. package/lib/main/node/handlers/plugin-theia-file-handler.js.map +0 -1
  760. package/lib/main/node/paths/const.d.ts +0 -6
  761. package/lib/main/node/paths/const.d.ts.map +0 -1
  762. package/lib/main/node/paths/const.js +0 -25
  763. package/lib/main/node/paths/const.js.map +0 -1
  764. package/lib/main/node/paths/plugin-paths-service.d.ts +0 -26
  765. package/lib/main/node/paths/plugin-paths-service.d.ts.map +0 -1
  766. package/lib/main/node/paths/plugin-paths-service.js +0 -153
  767. package/lib/main/node/paths/plugin-paths-service.js.map +0 -1
  768. package/lib/main/node/plugin-cli-contribution.d.ts +0 -22
  769. package/lib/main/node/plugin-cli-contribution.d.ts.map +0 -1
  770. package/lib/main/node/plugin-cli-contribution.js +0 -80
  771. package/lib/main/node/plugin-cli-contribution.js.map +0 -1
  772. package/lib/main/node/plugin-deployer-contribution.d.ts +0 -9
  773. package/lib/main/node/plugin-deployer-contribution.d.ts.map +0 -1
  774. package/lib/main/node/plugin-deployer-contribution.js +0 -41
  775. package/lib/main/node/plugin-deployer-contribution.js.map +0 -1
  776. package/lib/main/node/plugin-deployer-directory-handler-context-impl.d.ts +0 -8
  777. package/lib/main/node/plugin-deployer-directory-handler-context-impl.d.ts.map +0 -1
  778. package/lib/main/node/plugin-deployer-directory-handler-context-impl.js +0 -45
  779. package/lib/main/node/plugin-deployer-directory-handler-context-impl.js.map +0 -1
  780. package/lib/main/node/plugin-deployer-entry-impl.d.ts +0 -35
  781. package/lib/main/node/plugin-deployer-entry-impl.d.ts.map +0 -1
  782. package/lib/main/node/plugin-deployer-entry-impl.js +0 -112
  783. package/lib/main/node/plugin-deployer-entry-impl.js.map +0 -1
  784. package/lib/main/node/plugin-deployer-file-handler-context-impl.d.ts +0 -8
  785. package/lib/main/node/plugin-deployer-file-handler-context-impl.d.ts.map +0 -1
  786. package/lib/main/node/plugin-deployer-file-handler-context-impl.js +0 -32
  787. package/lib/main/node/plugin-deployer-file-handler-context-impl.js.map +0 -1
  788. package/lib/main/node/plugin-deployer-impl.d.ts +0 -64
  789. package/lib/main/node/plugin-deployer-impl.d.ts.map +0 -1
  790. package/lib/main/node/plugin-deployer-impl.js +0 -350
  791. package/lib/main/node/plugin-deployer-impl.js.map +0 -1
  792. package/lib/main/node/plugin-deployer-proxy-entry-impl.d.ts +0 -30
  793. package/lib/main/node/plugin-deployer-proxy-entry-impl.d.ts.map +0 -1
  794. package/lib/main/node/plugin-deployer-proxy-entry-impl.js +0 -93
  795. package/lib/main/node/plugin-deployer-proxy-entry-impl.js.map +0 -1
  796. package/lib/main/node/plugin-deployer-resolver-context-impl.d.ts +0 -16
  797. package/lib/main/node/plugin-deployer-resolver-context-impl.d.ts.map +0 -1
  798. package/lib/main/node/plugin-deployer-resolver-context-impl.js +0 -43
  799. package/lib/main/node/plugin-deployer-resolver-context-impl.js.map +0 -1
  800. package/lib/main/node/plugin-ext-backend-module.d.ts +0 -3
  801. package/lib/main/node/plugin-ext-backend-module.d.ts.map +0 -1
  802. package/lib/main/node/plugin-ext-backend-module.js +0 -84
  803. package/lib/main/node/plugin-ext-backend-module.js.map +0 -1
  804. package/lib/main/node/plugin-github-resolver.d.ts +0 -24
  805. package/lib/main/node/plugin-github-resolver.d.ts.map +0 -1
  806. package/lib/main/node/plugin-github-resolver.js +0 -136
  807. package/lib/main/node/plugin-github-resolver.js.map +0 -1
  808. package/lib/main/node/plugin-http-resolver.d.ts +0 -21
  809. package/lib/main/node/plugin-http-resolver.d.ts.map +0 -1
  810. package/lib/main/node/plugin-http-resolver.js +0 -92
  811. package/lib/main/node/plugin-http-resolver.js.map +0 -1
  812. package/lib/main/node/plugin-localization-server.d.ts +0 -10
  813. package/lib/main/node/plugin-localization-server.d.ts.map +0 -1
  814. package/lib/main/node/plugin-localization-server.js +0 -51
  815. package/lib/main/node/plugin-localization-server.js.map +0 -1
  816. package/lib/main/node/plugin-mgmt-cli-contribution.d.ts +0 -13
  817. package/lib/main/node/plugin-mgmt-cli-contribution.d.ts.map +0 -1
  818. package/lib/main/node/plugin-mgmt-cli-contribution.js +0 -63
  819. package/lib/main/node/plugin-mgmt-cli-contribution.js.map +0 -1
  820. package/lib/main/node/plugin-remote-cli-contribution.d.ts +0 -8
  821. package/lib/main/node/plugin-remote-cli-contribution.d.ts.map +0 -1
  822. package/lib/main/node/plugin-remote-cli-contribution.js +0 -40
  823. package/lib/main/node/plugin-remote-cli-contribution.js.map +0 -1
  824. package/lib/main/node/plugin-remote-copy-contribution.d.ts +0 -7
  825. package/lib/main/node/plugin-remote-copy-contribution.d.ts.map +0 -1
  826. package/lib/main/node/plugin-remote-copy-contribution.js +0 -44
  827. package/lib/main/node/plugin-remote-copy-contribution.js.map +0 -1
  828. package/lib/main/node/plugin-server-impl.d.ts +0 -24
  829. package/lib/main/node/plugin-server-impl.d.ts.map +0 -1
  830. package/lib/main/node/plugin-server-impl.js +0 -88
  831. package/lib/main/node/plugin-server-impl.js.map +0 -1
  832. package/lib/main/node/plugin-service.d.ts +0 -24
  833. package/lib/main/node/plugin-service.d.ts.map +0 -1
  834. package/lib/main/node/plugin-service.js +0 -102
  835. package/lib/main/node/plugin-service.js.map +0 -1
  836. package/lib/main/node/plugin-theia-deployer-participant.d.ts +0 -7
  837. package/lib/main/node/plugin-theia-deployer-participant.d.ts.map +0 -1
  838. package/lib/main/node/plugin-theia-deployer-participant.js +0 -36
  839. package/lib/main/node/plugin-theia-deployer-participant.js.map +0 -1
  840. package/lib/main/node/plugin-uninstallation-manager.d.ts +0 -27
  841. package/lib/main/node/plugin-uninstallation-manager.d.ts.map +0 -1
  842. package/lib/main/node/plugin-uninstallation-manager.js +0 -133
  843. package/lib/main/node/plugin-uninstallation-manager.js.map +0 -1
  844. package/lib/main/node/plugins-key-value-storage.d.ts +0 -29
  845. package/lib/main/node/plugins-key-value-storage.d.ts.map +0 -1
  846. package/lib/main/node/plugins-key-value-storage.js +0 -160
  847. package/lib/main/node/plugins-key-value-storage.js.map +0 -1
  848. package/lib/main/node/plugins-key-value-storage.spec.d.ts +0 -17
  849. package/lib/main/node/plugins-key-value-storage.spec.d.ts.map +0 -1
  850. package/lib/main/node/plugins-key-value-storage.spec.js +0 -101
  851. package/lib/main/node/plugins-key-value-storage.spec.js.map +0 -1
  852. package/lib/main/node/resolvers/local-directory-plugin-deployer-resolver.d.ts +0 -8
  853. package/lib/main/node/resolvers/local-directory-plugin-deployer-resolver.d.ts.map +0 -1
  854. package/lib/main/node/resolvers/local-directory-plugin-deployer-resolver.js +0 -39
  855. package/lib/main/node/resolvers/local-directory-plugin-deployer-resolver.js.map +0 -1
  856. package/lib/main/node/resolvers/local-plugin-deployer-resolver.d.ts +0 -9
  857. package/lib/main/node/resolvers/local-plugin-deployer-resolver.d.ts.map +0 -1
  858. package/lib/main/node/resolvers/local-plugin-deployer-resolver.js +0 -55
  859. package/lib/main/node/resolvers/local-plugin-deployer-resolver.js.map +0 -1
  860. package/lib/main/node/temp-dir-util.d.ts +0 -3
  861. package/lib/main/node/temp-dir-util.d.ts.map +0 -1
  862. package/lib/main/node/temp-dir-util.js +0 -40
  863. package/lib/main/node/temp-dir-util.js.map +0 -1
  864. package/lib/main/node/webview-backend-security-warnings.d.ts +0 -6
  865. package/lib/main/node/webview-backend-security-warnings.d.ts.map +0 -1
  866. package/lib/main/node/webview-backend-security-warnings.js +0 -47
  867. package/lib/main/node/webview-backend-security-warnings.js.map +0 -1
  868. package/lib/plugin/authentication-ext.d.ts +0 -32
  869. package/lib/plugin/authentication-ext.d.ts.map +0 -1
  870. package/lib/plugin/authentication-ext.js +0 -107
  871. package/lib/plugin/authentication-ext.js.map +0 -1
  872. package/lib/plugin/clipboard-ext.d.ts +0 -11
  873. package/lib/plugin/clipboard-ext.d.ts.map +0 -1
  874. package/lib/plugin/clipboard-ext.js +0 -48
  875. package/lib/plugin/clipboard-ext.js.map +0 -1
  876. package/lib/plugin/command-registry.d.ts +0 -42
  877. package/lib/plugin/command-registry.d.ts.map +0 -1
  878. package/lib/plugin/command-registry.js +0 -183
  879. package/lib/plugin/command-registry.js.map +0 -1
  880. package/lib/plugin/comments.d.ts +0 -96
  881. package/lib/plugin/comments.d.ts.map +0 -1
  882. package/lib/plugin/comments.js +0 -406
  883. package/lib/plugin/comments.js.map +0 -1
  884. package/lib/plugin/custom-editors.d.ts +0 -46
  885. package/lib/plugin/custom-editors.d.ts.map +0 -1
  886. package/lib/plugin/custom-editors.js +0 -254
  887. package/lib/plugin/custom-editors.js.map +0 -1
  888. package/lib/plugin/debug/debug-ext.d.ts +0 -97
  889. package/lib/plugin/debug/debug-ext.d.ts.map +0 -1
  890. package/lib/plugin/debug/debug-ext.js +0 -459
  891. package/lib/plugin/debug/debug-ext.js.map +0 -1
  892. package/lib/plugin/debug/plugin-debug-adapter-creator.d.ts +0 -11
  893. package/lib/plugin/debug/plugin-debug-adapter-creator.d.ts.map +0 -1
  894. package/lib/plugin/debug/plugin-debug-adapter-creator.js +0 -42
  895. package/lib/plugin/debug/plugin-debug-adapter-creator.js.map +0 -1
  896. package/lib/plugin/debug/plugin-debug-adapter-session.d.ts +0 -27
  897. package/lib/plugin/debug/plugin-debug-adapter-session.d.ts.map +0 -1
  898. package/lib/plugin/debug/plugin-debug-adapter-session.js +0 -97
  899. package/lib/plugin/debug/plugin-debug-adapter-session.js.map +0 -1
  900. package/lib/plugin/debug/plugin-debug-adapter-tracker.d.ts +0 -13
  901. package/lib/plugin/debug/plugin-debug-adapter-tracker.d.ts.map +0 -1
  902. package/lib/plugin/debug/plugin-debug-adapter-tracker.js +0 -78
  903. package/lib/plugin/debug/plugin-debug-adapter-tracker.js.map +0 -1
  904. package/lib/plugin/decorations.d.ts +0 -16
  905. package/lib/plugin/decorations.d.ts.map +0 -1
  906. package/lib/plugin/decorations.js +0 -115
  907. package/lib/plugin/decorations.js.map +0 -1
  908. package/lib/plugin/dialogs.d.ts +0 -11
  909. package/lib/plugin/dialogs.d.ts.map +0 -1
  910. package/lib/plugin/dialogs.js +0 -92
  911. package/lib/plugin/dialogs.js.map +0 -1
  912. package/lib/plugin/document-data.d.ts +0 -41
  913. package/lib/plugin/document-data.d.ts.map +0 -1
  914. package/lib/plugin/document-data.js +0 -316
  915. package/lib/plugin/document-data.js.map +0 -1
  916. package/lib/plugin/documents.d.ts +0 -63
  917. package/lib/plugin/documents.d.ts.map +0 -1
  918. package/lib/plugin/documents.js +0 -272
  919. package/lib/plugin/documents.js.map +0 -1
  920. package/lib/plugin/editors-and-documents.d.ts +0 -27
  921. package/lib/plugin/editors-and-documents.d.ts.map +0 -1
  922. package/lib/plugin/editors-and-documents.js +0 -150
  923. package/lib/plugin/editors-and-documents.js.map +0 -1
  924. package/lib/plugin/env.d.ts +0 -41
  925. package/lib/plugin/env.d.ts.map +0 -1
  926. package/lib/plugin/env.js +0 -114
  927. package/lib/plugin/env.js.map +0 -1
  928. package/lib/plugin/file-system-event-service-ext-impl.d.ts +0 -56
  929. package/lib/plugin/file-system-event-service-ext-impl.d.ts.map +0 -1
  930. package/lib/plugin/file-system-event-service-ext-impl.js +0 -206
  931. package/lib/plugin/file-system-event-service-ext-impl.js.map +0 -1
  932. package/lib/plugin/file-system-ext-impl.d.ts +0 -82
  933. package/lib/plugin/file-system-ext-impl.d.ts.map +0 -1
  934. package/lib/plugin/file-system-ext-impl.js +0 -361
  935. package/lib/plugin/file-system-ext-impl.js.map +0 -1
  936. package/lib/plugin/file-system-watcher.spec.d.ts +0 -2
  937. package/lib/plugin/file-system-watcher.spec.d.ts.map +0 -1
  938. package/lib/plugin/file-system-watcher.spec.js +0 -108
  939. package/lib/plugin/file-system-watcher.spec.js.map +0 -1
  940. package/lib/plugin/known-commands.d.ts +0 -6
  941. package/lib/plugin/known-commands.d.ts.map +0 -1
  942. package/lib/plugin/known-commands.js +0 -402
  943. package/lib/plugin/known-commands.js.map +0 -1
  944. package/lib/plugin/known-commands.spec.d.ts +0 -2
  945. package/lib/plugin/known-commands.spec.d.ts.map +0 -1
  946. package/lib/plugin/known-commands.spec.js +0 -43
  947. package/lib/plugin/known-commands.spec.js.map +0 -1
  948. package/lib/plugin/label-service.d.ts +0 -12
  949. package/lib/plugin/label-service.d.ts.map +0 -1
  950. package/lib/plugin/label-service.js +0 -36
  951. package/lib/plugin/label-service.js.map +0 -1
  952. package/lib/plugin/languages/call-hierarchy.d.ts +0 -21
  953. package/lib/plugin/languages/call-hierarchy.d.ts.map +0 -1
  954. package/lib/plugin/languages/call-hierarchy.js +0 -102
  955. package/lib/plugin/languages/call-hierarchy.js.map +0 -1
  956. package/lib/plugin/languages/code-action.d.ts +0 -25
  957. package/lib/plugin/languages/code-action.d.ts.map +0 -1
  958. package/lib/plugin/languages/code-action.js +0 -138
  959. package/lib/plugin/languages/code-action.js.map +0 -1
  960. package/lib/plugin/languages/color.d.ts +0 -13
  961. package/lib/plugin/languages/color.d.ts.map +0 -1
  962. package/lib/plugin/languages/color.js +0 -59
  963. package/lib/plugin/languages/color.js.map +0 -1
  964. package/lib/plugin/languages/completion.d.ts +0 -21
  965. package/lib/plugin/languages/completion.d.ts.map +0 -1
  966. package/lib/plugin/languages/completion.js +0 -165
  967. package/lib/plugin/languages/completion.js.map +0 -1
  968. package/lib/plugin/languages/declaration.d.ts +0 -12
  969. package/lib/plugin/languages/declaration.d.ts.map +0 -1
  970. package/lib/plugin/languages/declaration.js +0 -59
  971. package/lib/plugin/languages/declaration.js.map +0 -1
  972. package/lib/plugin/languages/definition.d.ts +0 -12
  973. package/lib/plugin/languages/definition.d.ts.map +0 -1
  974. package/lib/plugin/languages/definition.js +0 -59
  975. package/lib/plugin/languages/definition.js.map +0 -1
  976. package/lib/plugin/languages/diagnostics.d.ts +0 -51
  977. package/lib/plugin/languages/diagnostics.d.ts.map +0 -1
  978. package/lib/plugin/languages/diagnostics.js +0 -288
  979. package/lib/plugin/languages/diagnostics.js.map +0 -1
  980. package/lib/plugin/languages/document-drop-edit.d.ts +0 -16
  981. package/lib/plugin/languages/document-drop-edit.d.ts.map +0 -1
  982. package/lib/plugin/languages/document-drop-edit.js +0 -23
  983. package/lib/plugin/languages/document-drop-edit.js.map +0 -1
  984. package/lib/plugin/languages/document-formatting.d.ts +0 -11
  985. package/lib/plugin/languages/document-formatting.d.ts.map +0 -1
  986. package/lib/plugin/languages/document-formatting.js +0 -41
  987. package/lib/plugin/languages/document-formatting.js.map +0 -1
  988. package/lib/plugin/languages/document-highlight.d.ts +0 -13
  989. package/lib/plugin/languages/document-highlight.d.ts.map +0 -1
  990. package/lib/plugin/languages/document-highlight.js +0 -51
  991. package/lib/plugin/languages/document-highlight.js.map +0 -1
  992. package/lib/plugin/languages/evaluatable-expression.d.ts +0 -12
  993. package/lib/plugin/languages/evaluatable-expression.d.ts.map +0 -1
  994. package/lib/plugin/languages/evaluatable-expression.js +0 -41
  995. package/lib/plugin/languages/evaluatable-expression.js.map +0 -1
  996. package/lib/plugin/languages/folding.d.ts +0 -11
  997. package/lib/plugin/languages/folding.d.ts.map +0 -1
  998. package/lib/plugin/languages/folding.js +0 -40
  999. package/lib/plugin/languages/folding.js.map +0 -1
  1000. package/lib/plugin/languages/hover.d.ts +0 -12
  1001. package/lib/plugin/languages/hover.d.ts.map +0 -1
  1002. package/lib/plugin/languages/hover.js +0 -49
  1003. package/lib/plugin/languages/hover.js.map +0 -1
  1004. package/lib/plugin/languages/implementation.d.ts +0 -12
  1005. package/lib/plugin/languages/implementation.d.ts.map +0 -1
  1006. package/lib/plugin/languages/implementation.js +0 -59
  1007. package/lib/plugin/languages/implementation.js.map +0 -1
  1008. package/lib/plugin/languages/inlay-hints.d.ts +0 -20
  1009. package/lib/plugin/languages/inlay-hints.d.ts.map +0 -1
  1010. package/lib/plugin/languages/inlay-hints.js +0 -128
  1011. package/lib/plugin/languages/inlay-hints.js.map +0 -1
  1012. package/lib/plugin/languages/inline-completion.d.ts +0 -21
  1013. package/lib/plugin/languages/inline-completion.d.ts.map +0 -1
  1014. package/lib/plugin/languages/inline-completion.js +0 -94
  1015. package/lib/plugin/languages/inline-completion.js.map +0 -1
  1016. package/lib/plugin/languages/inline-values.d.ts +0 -11
  1017. package/lib/plugin/languages/inline-values.d.ts.map +0 -1
  1018. package/lib/plugin/languages/inline-values.js +0 -45
  1019. package/lib/plugin/languages/inline-values.js.map +0 -1
  1020. package/lib/plugin/languages/lens.d.ts +0 -20
  1021. package/lib/plugin/languages/lens.d.ts.map +0 -1
  1022. package/lib/plugin/languages/lens.js +0 -90
  1023. package/lib/plugin/languages/lens.js.map +0 -1
  1024. package/lib/plugin/languages/link-provider.d.ts +0 -15
  1025. package/lib/plugin/languages/link-provider.d.ts.map +0 -1
  1026. package/lib/plugin/languages/link-provider.js +0 -74
  1027. package/lib/plugin/languages/link-provider.js.map +0 -1
  1028. package/lib/plugin/languages/linked-editing-range.d.ts +0 -12
  1029. package/lib/plugin/languages/linked-editing-range.d.ts.map +0 -1
  1030. package/lib/plugin/languages/linked-editing-range.js +0 -41
  1031. package/lib/plugin/languages/linked-editing-range.js.map +0 -1
  1032. package/lib/plugin/languages/on-type-formatting.d.ts +0 -12
  1033. package/lib/plugin/languages/on-type-formatting.d.ts.map +0 -1
  1034. package/lib/plugin/languages/on-type-formatting.js +0 -42
  1035. package/lib/plugin/languages/on-type-formatting.js.map +0 -1
  1036. package/lib/plugin/languages/outline.d.ts +0 -21
  1037. package/lib/plugin/languages/outline.d.ts.map +0 -1
  1038. package/lib/plugin/languages/outline.js +0 -116
  1039. package/lib/plugin/languages/outline.js.map +0 -1
  1040. package/lib/plugin/languages/range-formatting.d.ts +0 -11
  1041. package/lib/plugin/languages/range-formatting.d.ts.map +0 -1
  1042. package/lib/plugin/languages/range-formatting.js +0 -42
  1043. package/lib/plugin/languages/range-formatting.js.map +0 -1
  1044. package/lib/plugin/languages/reference.d.ts +0 -12
  1045. package/lib/plugin/languages/reference.d.ts.map +0 -1
  1046. package/lib/plugin/languages/reference.js +0 -48
  1047. package/lib/plugin/languages/reference.js.map +0 -1
  1048. package/lib/plugin/languages/rename.d.ts +0 -15
  1049. package/lib/plugin/languages/rename.d.ts.map +0 -1
  1050. package/lib/plugin/languages/rename.js +0 -115
  1051. package/lib/plugin/languages/rename.js.map +0 -1
  1052. package/lib/plugin/languages/selection-range.d.ts +0 -12
  1053. package/lib/plugin/languages/selection-range.d.ts.map +0 -1
  1054. package/lib/plugin/languages/selection-range.js +0 -66
  1055. package/lib/plugin/languages/selection-range.js.map +0 -1
  1056. package/lib/plugin/languages/semantic-highlighting.d.ts +0 -29
  1057. package/lib/plugin/languages/semantic-highlighting.d.ts.map +0 -1
  1058. package/lib/plugin/languages/semantic-highlighting.js +0 -176
  1059. package/lib/plugin/languages/semantic-highlighting.js.map +0 -1
  1060. package/lib/plugin/languages/signature.d.ts +0 -16
  1061. package/lib/plugin/languages/signature.d.ts.map +0 -1
  1062. package/lib/plugin/languages/signature.js +0 -72
  1063. package/lib/plugin/languages/signature.js.map +0 -1
  1064. package/lib/plugin/languages/type-definition.d.ts +0 -12
  1065. package/lib/plugin/languages/type-definition.d.ts.map +0 -1
  1066. package/lib/plugin/languages/type-definition.js +0 -59
  1067. package/lib/plugin/languages/type-definition.js.map +0 -1
  1068. package/lib/plugin/languages/type-hierarchy.d.ts +0 -19
  1069. package/lib/plugin/languages/type-hierarchy.d.ts.map +0 -1
  1070. package/lib/plugin/languages/type-hierarchy.js +0 -96
  1071. package/lib/plugin/languages/type-hierarchy.js.map +0 -1
  1072. package/lib/plugin/languages/util.d.ts +0 -5
  1073. package/lib/plugin/languages/util.d.ts.map +0 -1
  1074. package/lib/plugin/languages/util.js +0 -28
  1075. package/lib/plugin/languages/util.js.map +0 -1
  1076. package/lib/plugin/languages/workspace-symbol.d.ts +0 -9
  1077. package/lib/plugin/languages/workspace-symbol.d.ts.map +0 -1
  1078. package/lib/plugin/languages/workspace-symbol.js +0 -62
  1079. package/lib/plugin/languages/workspace-symbol.js.map +0 -1
  1080. package/lib/plugin/languages-utils.d.ts +0 -7
  1081. package/lib/plugin/languages-utils.d.ts.map +0 -1
  1082. package/lib/plugin/languages-utils.js +0 -66
  1083. package/lib/plugin/languages-utils.js.map +0 -1
  1084. package/lib/plugin/languages.d.ts +0 -128
  1085. package/lib/plugin/languages.d.ts.map +0 -1
  1086. package/lib/plugin/languages.js +0 -713
  1087. package/lib/plugin/languages.js.map +0 -1
  1088. package/lib/plugin/lm-ext.d.ts +0 -28
  1089. package/lib/plugin/lm-ext.d.ts.map +0 -1
  1090. package/lib/plugin/lm-ext.js +0 -131
  1091. package/lib/plugin/lm-ext.js.map +0 -1
  1092. package/lib/plugin/localization-ext.d.ts +0 -19
  1093. package/lib/plugin/localization-ext.d.ts.map +0 -1
  1094. package/lib/plugin/localization-ext.js +0 -94
  1095. package/lib/plugin/localization-ext.js.map +0 -1
  1096. package/lib/plugin/logger.d.ts +0 -16
  1097. package/lib/plugin/logger.d.ts.map +0 -1
  1098. package/lib/plugin/logger.js +0 -56
  1099. package/lib/plugin/logger.js.map +0 -1
  1100. package/lib/plugin/markdown-string.d.ts +0 -25
  1101. package/lib/plugin/markdown-string.d.ts.map +0 -1
  1102. package/lib/plugin/markdown-string.js +0 -106
  1103. package/lib/plugin/markdown-string.js.map +0 -1
  1104. package/lib/plugin/message-registry.d.ts +0 -10
  1105. package/lib/plugin/message-registry.d.ts.map +0 -1
  1106. package/lib/plugin/message-registry.js +0 -77
  1107. package/lib/plugin/message-registry.js.map +0 -1
  1108. package/lib/plugin/node/debug/debug.spec.d.ts +0 -2
  1109. package/lib/plugin/node/debug/debug.spec.d.ts.map +0 -1
  1110. package/lib/plugin/node/debug/debug.spec.js +0 -88
  1111. package/lib/plugin/node/debug/debug.spec.js.map +0 -1
  1112. package/lib/plugin/node/debug/plugin-node-debug-adapter-creator.d.ts +0 -18
  1113. package/lib/plugin/node/debug/plugin-node-debug-adapter-creator.d.ts.map +0 -1
  1114. package/lib/plugin/node/debug/plugin-node-debug-adapter-creator.js +0 -155
  1115. package/lib/plugin/node/debug/plugin-node-debug-adapter-creator.js.map +0 -1
  1116. package/lib/plugin/node/env-node-ext.d.ts +0 -17
  1117. package/lib/plugin/node/env-node-ext.d.ts.map +0 -1
  1118. package/lib/plugin/node/env-node-ext.js +0 -64
  1119. package/lib/plugin/node/env-node-ext.js.map +0 -1
  1120. package/lib/plugin/node/plugin-container-module.d.ts +0 -75
  1121. package/lib/plugin/node/plugin-container-module.d.ts.map +0 -1
  1122. package/lib/plugin/node/plugin-container-module.js +0 -115
  1123. package/lib/plugin/node/plugin-container-module.js.map +0 -1
  1124. package/lib/plugin/notebook/notebook-document.d.ts +0 -60
  1125. package/lib/plugin/notebook/notebook-document.d.ts.map +0 -1
  1126. package/lib/plugin/notebook/notebook-document.js +0 -383
  1127. package/lib/plugin/notebook/notebook-document.js.map +0 -1
  1128. package/lib/plugin/notebook/notebook-documents.d.ts +0 -17
  1129. package/lib/plugin/notebook/notebook-documents.d.ts.map +0 -1
  1130. package/lib/plugin/notebook/notebook-documents.js +0 -48
  1131. package/lib/plugin/notebook/notebook-documents.js.map +0 -1
  1132. package/lib/plugin/notebook/notebook-editor.d.ts +0 -21
  1133. package/lib/plugin/notebook/notebook-editor.d.ts.map +0 -1
  1134. package/lib/plugin/notebook/notebook-editor.js +0 -99
  1135. package/lib/plugin/notebook/notebook-editor.js.map +0 -1
  1136. package/lib/plugin/notebook/notebook-editors.d.ts +0 -14
  1137. package/lib/plugin/notebook/notebook-editors.d.ts.map +0 -1
  1138. package/lib/plugin/notebook/notebook-editors.js +0 -65
  1139. package/lib/plugin/notebook/notebook-editors.js.map +0 -1
  1140. package/lib/plugin/notebook/notebook-kernels.d.ts +0 -40
  1141. package/lib/plugin/notebook/notebook-kernels.d.ts.map +0 -1
  1142. package/lib/plugin/notebook/notebook-kernels.js +0 -536
  1143. package/lib/plugin/notebook/notebook-kernels.js.map +0 -1
  1144. package/lib/plugin/notebook/notebook-renderers.d.ts +0 -14
  1145. package/lib/plugin/notebook/notebook-renderers.d.ts.map +0 -1
  1146. package/lib/plugin/notebook/notebook-renderers.js +0 -63
  1147. package/lib/plugin/notebook/notebook-renderers.js.map +0 -1
  1148. package/lib/plugin/notebook/notebooks.d.ts +0 -62
  1149. package/lib/plugin/notebook/notebooks.d.ts.map +0 -1
  1150. package/lib/plugin/notebook/notebooks.js +0 -381
  1151. package/lib/plugin/notebook/notebooks.js.map +0 -1
  1152. package/lib/plugin/notification.d.ts +0 -18
  1153. package/lib/plugin/notification.d.ts.map +0 -1
  1154. package/lib/plugin/notification.js +0 -68
  1155. package/lib/plugin/notification.js.map +0 -1
  1156. package/lib/plugin/output-channel/log-output-channel.d.ts +0 -24
  1157. package/lib/plugin/output-channel/log-output-channel.d.ts.map +0 -1
  1158. package/lib/plugin/output-channel/log-output-channel.js +0 -101
  1159. package/lib/plugin/output-channel/log-output-channel.js.map +0 -1
  1160. package/lib/plugin/output-channel/output-channel-item.d.ts +0 -18
  1161. package/lib/plugin/output-channel/output-channel-item.d.ts.map +0 -1
  1162. package/lib/plugin/output-channel/output-channel-item.js +0 -60
  1163. package/lib/plugin/output-channel/output-channel-item.js.map +0 -1
  1164. package/lib/plugin/output-channel-registry.d.ts +0 -14
  1165. package/lib/plugin/output-channel-registry.d.ts.map +0 -1
  1166. package/lib/plugin/output-channel-registry.js +0 -45
  1167. package/lib/plugin/output-channel-registry.js.map +0 -1
  1168. package/lib/plugin/path.d.ts +0 -3
  1169. package/lib/plugin/path.d.ts.map +0 -1
  1170. package/lib/plugin/path.js +0 -60
  1171. package/lib/plugin/path.js.map +0 -1
  1172. package/lib/plugin/path.spec.d.ts +0 -2
  1173. package/lib/plugin/path.spec.d.ts.map +0 -1
  1174. package/lib/plugin/path.spec.js +0 -35
  1175. package/lib/plugin/path.spec.js.map +0 -1
  1176. package/lib/plugin/plugin-context.d.ts +0 -60
  1177. package/lib/plugin/plugin-context.d.ts.map +0 -1
  1178. package/lib/plugin/plugin-context.js +0 -1349
  1179. package/lib/plugin/plugin-context.js.map +0 -1
  1180. package/lib/plugin/plugin-icon-path.d.ts +0 -13
  1181. package/lib/plugin/plugin-icon-path.d.ts.map +0 -1
  1182. package/lib/plugin/plugin-icon-path.js +0 -54
  1183. package/lib/plugin/plugin-icon-path.js.map +0 -1
  1184. package/lib/plugin/plugin-manager.d.ts +0 -96
  1185. package/lib/plugin/plugin-manager.d.ts.map +0 -1
  1186. package/lib/plugin/plugin-manager.js +0 -434
  1187. package/lib/plugin/plugin-manager.js.map +0 -1
  1188. package/lib/plugin/plugin-storage.d.ts +0 -45
  1189. package/lib/plugin/plugin-storage.d.ts.map +0 -1
  1190. package/lib/plugin/plugin-storage.js +0 -109
  1191. package/lib/plugin/plugin-storage.js.map +0 -1
  1192. package/lib/plugin/preference-registry.d.ts +0 -41
  1193. package/lib/plugin/preference-registry.d.ts.map +0 -1
  1194. package/lib/plugin/preference-registry.js +0 -337
  1195. package/lib/plugin/preference-registry.js.map +0 -1
  1196. package/lib/plugin/preference-registry.spec.d.ts +0 -2
  1197. package/lib/plugin/preference-registry.spec.d.ts.map +0 -1
  1198. package/lib/plugin/preference-registry.spec.js +0 -247
  1199. package/lib/plugin/preference-registry.spec.js.map +0 -1
  1200. package/lib/plugin/prefix-sum-computer.d.ts +0 -31
  1201. package/lib/plugin/prefix-sum-computer.d.ts.map +0 -1
  1202. package/lib/plugin/prefix-sum-computer.js +0 -173
  1203. package/lib/plugin/prefix-sum-computer.js.map +0 -1
  1204. package/lib/plugin/quick-open.d.ts +0 -182
  1205. package/lib/plugin/quick-open.d.ts.map +0 -1
  1206. package/lib/plugin/quick-open.js +0 -605
  1207. package/lib/plugin/quick-open.js.map +0 -1
  1208. package/lib/plugin/scm.d.ts +0 -55
  1209. package/lib/plugin/scm.d.ts.map +0 -1
  1210. package/lib/plugin/scm.js +0 -740
  1211. package/lib/plugin/scm.js.map +0 -1
  1212. package/lib/plugin/secrets-ext.d.ts +0 -43
  1213. package/lib/plugin/secrets-ext.d.ts.map +0 -1
  1214. package/lib/plugin/secrets-ext.js +0 -84
  1215. package/lib/plugin/secrets-ext.js.map +0 -1
  1216. package/lib/plugin/status-bar/status-bar-item.d.ts +0 -52
  1217. package/lib/plugin/status-bar/status-bar-item.d.ts.map +0 -1
  1218. package/lib/plugin/status-bar/status-bar-item.js +0 -190
  1219. package/lib/plugin/status-bar/status-bar-item.js.map +0 -1
  1220. package/lib/plugin/status-bar-message-registry.d.ts +0 -26
  1221. package/lib/plugin/status-bar-message-registry.d.ts.map +0 -1
  1222. package/lib/plugin/status-bar-message-registry.js +0 -100
  1223. package/lib/plugin/status-bar-message-registry.js.map +0 -1
  1224. package/lib/plugin/tabs.d.ts +0 -23
  1225. package/lib/plugin/tabs.d.ts.map +0 -1
  1226. package/lib/plugin/tabs.js +0 -363
  1227. package/lib/plugin/tabs.js.map +0 -1
  1228. package/lib/plugin/tasks/task-provider.d.ts +0 -9
  1229. package/lib/plugin/tasks/task-provider.d.ts.map +0 -1
  1230. package/lib/plugin/tasks/task-provider.js +0 -54
  1231. package/lib/plugin/tasks/task-provider.js.map +0 -1
  1232. package/lib/plugin/tasks/tasks.d.ts +0 -47
  1233. package/lib/plugin/tasks/tasks.d.ts.map +0 -1
  1234. package/lib/plugin/tasks/tasks.js +0 -216
  1235. package/lib/plugin/tasks/tasks.js.map +0 -1
  1236. package/lib/plugin/telemetry-ext.d.ts +0 -44
  1237. package/lib/plugin/telemetry-ext.d.ts.map +0 -1
  1238. package/lib/plugin/telemetry-ext.js +0 -252
  1239. package/lib/plugin/telemetry-ext.js.map +0 -1
  1240. package/lib/plugin/terminal-ext.d.ts +0 -115
  1241. package/lib/plugin/terminal-ext.d.ts.map +0 -1
  1242. package/lib/plugin/terminal-ext.js +0 -502
  1243. package/lib/plugin/terminal-ext.js.map +0 -1
  1244. package/lib/plugin/test-item.d.ts +0 -47
  1245. package/lib/plugin/test-item.d.ts.map +0 -1
  1246. package/lib/plugin/test-item.js +0 -188
  1247. package/lib/plugin/test-item.js.map +0 -1
  1248. package/lib/plugin/tests.d.ts +0 -141
  1249. package/lib/plugin/tests.d.ts.map +0 -1
  1250. package/lib/plugin/tests.js +0 -469
  1251. package/lib/plugin/tests.js.map +0 -1
  1252. package/lib/plugin/text-editor.d.ts +0 -109
  1253. package/lib/plugin/text-editor.d.ts.map +0 -1
  1254. package/lib/plugin/text-editor.js +0 -474
  1255. package/lib/plugin/text-editor.js.map +0 -1
  1256. package/lib/plugin/text-editors.d.ts +0 -44
  1257. package/lib/plugin/text-editors.d.ts.map +0 -1
  1258. package/lib/plugin/text-editors.js +0 -203
  1259. package/lib/plugin/text-editors.js.map +0 -1
  1260. package/lib/plugin/theming.d.ts +0 -16
  1261. package/lib/plugin/theming.d.ts.map +0 -1
  1262. package/lib/plugin/theming.js +0 -62
  1263. package/lib/plugin/theming.js.map +0 -1
  1264. package/lib/plugin/timeline.d.ts +0 -21
  1265. package/lib/plugin/timeline.d.ts.map +0 -1
  1266. package/lib/plugin/timeline.js +0 -158
  1267. package/lib/plugin/timeline.js.map +0 -1
  1268. package/lib/plugin/tree/tree-views.d.ts +0 -108
  1269. package/lib/plugin/tree/tree-views.d.ts.map +0 -1
  1270. package/lib/plugin/tree/tree-views.js +0 -610
  1271. package/lib/plugin/tree/tree-views.js.map +0 -1
  1272. package/lib/plugin/type-converters.d.ts +0 -216
  1273. package/lib/plugin/type-converters.d.ts.map +0 -1
  1274. package/lib/plugin/type-converters.js +0 -1737
  1275. package/lib/plugin/type-converters.js.map +0 -1
  1276. package/lib/plugin/type-converters.spec.d.ts +0 -2
  1277. package/lib/plugin/type-converters.spec.d.ts.map +0 -1
  1278. package/lib/plugin/type-converters.spec.js +0 -396
  1279. package/lib/plugin/type-converters.spec.js.map +0 -1
  1280. package/lib/plugin/types-impl.d.ts +0 -2110
  1281. package/lib/plugin/types-impl.d.ts.map +0 -1
  1282. package/lib/plugin/types-impl.js +0 -3608
  1283. package/lib/plugin/types-impl.js.map +0 -1
  1284. package/lib/plugin/types-impl.spec.d.ts +0 -2
  1285. package/lib/plugin/types-impl.spec.d.ts.map +0 -1
  1286. package/lib/plugin/types-impl.spec.js +0 -79
  1287. package/lib/plugin/types-impl.spec.js.map +0 -1
  1288. package/lib/plugin/uri-ext.d.ts +0 -13
  1289. package/lib/plugin/uri-ext.d.ts.map +0 -1
  1290. package/lib/plugin/uri-ext.js +0 -49
  1291. package/lib/plugin/uri-ext.js.map +0 -1
  1292. package/lib/plugin/webview-views.d.ts +0 -56
  1293. package/lib/plugin/webview-views.d.ts.map +0 -1
  1294. package/lib/plugin/webview-views.js +0 -157
  1295. package/lib/plugin/webview-views.js.map +0 -1
  1296. package/lib/plugin/webviews.d.ts +0 -113
  1297. package/lib/plugin/webviews.d.ts.map +0 -1
  1298. package/lib/plugin/webviews.js +0 -393
  1299. package/lib/plugin/webviews.js.map +0 -1
  1300. package/lib/plugin/window-state.d.ts +0 -19
  1301. package/lib/plugin/window-state.d.ts.map +0 -1
  1302. package/lib/plugin/window-state.js +0 -67
  1303. package/lib/plugin/window-state.js.map +0 -1
  1304. package/lib/plugin/word-helper.d.ts +0 -22
  1305. package/lib/plugin/word-helper.d.ts.map +0 -1
  1306. package/lib/plugin/word-helper.js +0 -126
  1307. package/lib/plugin/word-helper.js.map +0 -1
  1308. package/lib/plugin/workspace.d.ts +0 -75
  1309. package/lib/plugin/workspace.d.ts.map +0 -1
  1310. package/lib/plugin/workspace.js +0 -476
  1311. package/lib/plugin/workspace.js.map +0 -1
  1312. package/lib/plugin-ext-backend-electron-module.d.ts +0 -4
  1313. package/lib/plugin-ext-backend-electron-module.d.ts.map +0 -1
  1314. package/lib/plugin-ext-backend-electron-module.js +0 -25
  1315. package/lib/plugin-ext-backend-electron-module.js.map +0 -1
  1316. package/lib/plugin-ext-backend-module.d.ts +0 -4
  1317. package/lib/plugin-ext-backend-module.d.ts.map +0 -1
  1318. package/lib/plugin-ext-backend-module.js +0 -25
  1319. package/lib/plugin-ext-backend-module.js.map +0 -1
  1320. package/lib/plugin-ext-frontend-electron-module.d.ts +0 -3
  1321. package/lib/plugin-ext-frontend-electron-module.d.ts.map +0 -1
  1322. package/lib/plugin-ext-frontend-electron-module.js +0 -20
  1323. package/lib/plugin-ext-frontend-electron-module.js.map +0 -1
  1324. package/lib/plugin-ext-frontend-module.d.ts +0 -3
  1325. package/lib/plugin-ext-frontend-module.d.ts.map +0 -1
  1326. package/lib/plugin-ext-frontend-module.js +0 -20
  1327. package/lib/plugin-ext-frontend-module.js.map +0 -1
@@ -1,1737 +0,0 @@
1
- "use strict";
2
- // *****************************************************************************
3
- // Copyright (C) 2018 Red Hat, Inc. and others.
4
- //
5
- // This program and the accompanying materials are made available under the
6
- // terms of the Eclipse Public License v. 2.0 which is available at
7
- // http://www.eclipse.org/legal/epl-2.0.
8
- //
9
- // This Source Code may also be made available under the following Secondary
10
- // Licenses when the conditions for such availability set forth in the Eclipse
11
- // Public License v. 2.0 are satisfied: GNU General Public License, version 2
12
- // with the GNU Classpath Exception which is available at
13
- // https://www.gnu.org/software/classpath/license.html.
14
- //
15
- // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
16
- // *****************************************************************************
17
- Object.defineProperty(exports, "__esModule", { value: true });
18
- exports.isModelCallHierarchyOutgoingCall = exports.isModelCallHierarchyIncomingCall = exports.isModelCallHierarchyItem = exports.isUriComponents = exports.isModelRange = exports.isModelLocation = exports.toMergedSymbol = exports.toSymbolTag = exports.fromSymbolTag = exports.toDocumentSymbol = exports.fromDocumentSymbol = exports.toCodeActionTriggerKind = exports.SymbolKind = exports.fromWorkspaceEdit = exports.SignatureHelp = exports.SignatureInformation = exports.ParameterInformation = exports.fromDocumentHighlight = exports.fromDocumentHighlightKind = exports.DocumentLink = exports.fromDefinitionLink = exports.fromTextDocumentShowOptions = exports.fromLocationToLanguageServerLocation = exports.fromLocation = exports.toInlineValueContext = exports.fromInlineValue = exports.fromEvaluatableExpression = exports.fromHover = exports.convertCode = exports.convertDiagnosticToMarkerData = exports.fromTextEdit = exports.toCompletionItemKind = exports.fromCompletionItemKind = exports.fromGlobPattern = exports.fromDocumentSelector = exports.toMarkdown = exports.fromMarkdownOrString = exports.fromMarkdown = exports.fromManyMarkdown = exports.fromRangeOrRangeWithMessage = exports.isDecorationOptionsArr = exports.toPosition = exports.fromPosition = exports.fromRange = exports.toRange = exports.fromSelection = exports.toSelection = exports.toWebviewPanelShowOptions = exports.fromViewColumn = exports.toViewColumn = void 0;
19
- exports.NotebookCellExecutionSummary = exports.NotebookCellOutputConverter = exports.NotebookCellOutputItem = exports.NotebookCellOutput = exports.NotebookCellKind = exports.NotebookCellData = exports.NotebookData = exports.NotebookStatusBarItem = exports.NotebookDocumentContentOptions = exports.DataTransfer = exports.DataTransferItem = exports.InlayHintKind = exports.pluginToPluginInfo = exports.pathOrURIToURI = exports.ViewColumn = exports.ThemableDecorationAttachmentRenderOptions = exports.ThemableDecorationRenderOptions = exports.DecorationRangeBehavior = exports.DecorationRenderOptions = exports.convertToTransferQuickPickItems = exports.convertQuickInputButton = exports.convertIconPath = exports.fromColorPresentation = exports.toColor = exports.fromColor = exports.fromFoldingRangeKind = exports.fromFoldingRange = exports.fromSelectionRange = exports.toSymbolInformation = exports.fromSymbolInformation = exports.getShellExecutionOptions = exports.getShellArgs = exports.getCustomExecution = exports.getShellExecution = exports.getProcessExecution = exports.fromCustomExecution = exports.fromShellExecution = exports.fromProcessExecution = exports.toTask = exports.fromTask = exports.toWorkspaceFolder = exports.toTypeHierarchyItem = exports.fromTypeHierarchyItem = exports.isModelTypeHierarchyItem = exports.toCallHierarchyOutgoingCall = exports.toCallHierarchyIncomingCall = exports.toCallHierarchyItem = exports.fromCallHierarchyItem = exports.fromHierarchyItem = exports.toLocation = void 0;
20
- exports.TestItem = exports.TestMessageStackFrame = exports.TestMessage = exports.NotebookKernelSourceAction = exports.NotebookRange = void 0;
21
- const lstypes = require("@theia/core/shared/vscode-languageserver-protocol");
22
- const types_impl_1 = require("./types-impl");
23
- const rpc = require("../common/plugin-api-rpc");
24
- const plugin_api_rpc_1 = require("../common/plugin-api-rpc");
25
- const model = require("../common/plugin-api-rpc-model");
26
- const markdown_string_1 = require("./markdown-string");
27
- const types = require("./types-impl");
28
- const arrays_1 = require("../common/arrays");
29
- const common_1 = require("@theia/core/lib/common");
30
- const notebooks = require("@theia/notebook/lib/common");
31
- const buffer_1 = require("@theia/core/lib/common/buffer");
32
- const common_2 = require("@theia/notebook/lib/common");
33
- const markdown_rendering_1 = require("@theia/core/lib/common/markdown-rendering");
34
- const plugin_icon_path_1 = require("./plugin-icon-path");
35
- const SIDE_GROUP = -2;
36
- const ACTIVE_GROUP = -1;
37
- function toViewColumn(ep) {
38
- if (typeof ep !== 'number') {
39
- return undefined;
40
- }
41
- if (ep === plugin_api_rpc_1.EditorPosition.ONE) {
42
- return types.ViewColumn.One;
43
- }
44
- else if (ep === plugin_api_rpc_1.EditorPosition.TWO) {
45
- return types.ViewColumn.Two;
46
- }
47
- else if (ep === plugin_api_rpc_1.EditorPosition.THREE) {
48
- return types.ViewColumn.Three;
49
- }
50
- else if (ep === plugin_api_rpc_1.EditorPosition.FOUR) {
51
- return types.ViewColumn.Four;
52
- }
53
- else if (ep === plugin_api_rpc_1.EditorPosition.FIVE) {
54
- return types.ViewColumn.Five;
55
- }
56
- else if (ep === plugin_api_rpc_1.EditorPosition.SIX) {
57
- return types.ViewColumn.Six;
58
- }
59
- else if (ep === plugin_api_rpc_1.EditorPosition.SEVEN) {
60
- return types.ViewColumn.Seven;
61
- }
62
- else if (ep === plugin_api_rpc_1.EditorPosition.EIGHT) {
63
- return types.ViewColumn.Eight;
64
- }
65
- else if (ep === plugin_api_rpc_1.EditorPosition.NINE) {
66
- return types.ViewColumn.Nine;
67
- }
68
- return undefined;
69
- }
70
- exports.toViewColumn = toViewColumn;
71
- function fromViewColumn(column) {
72
- if (typeof column === 'number' && column >= types.ViewColumn.One) {
73
- return column - 1;
74
- }
75
- if (column === types.ViewColumn.Beside) {
76
- return SIDE_GROUP;
77
- }
78
- return ACTIVE_GROUP;
79
- }
80
- exports.fromViewColumn = fromViewColumn;
81
- function toWebviewPanelShowOptions(options) {
82
- if (typeof options === 'object') {
83
- const showOptions = options;
84
- return {
85
- area: showOptions.area ? showOptions.area : types.WebviewPanelTargetArea.Main,
86
- viewColumn: showOptions.viewColumn ? fromViewColumn(showOptions.viewColumn) : undefined,
87
- preserveFocus: showOptions.preserveFocus ? showOptions.preserveFocus : false
88
- };
89
- }
90
- return {
91
- area: types.WebviewPanelTargetArea.Main,
92
- viewColumn: fromViewColumn(options),
93
- preserveFocus: false
94
- };
95
- }
96
- exports.toWebviewPanelShowOptions = toWebviewPanelShowOptions;
97
- function toSelection(selection) {
98
- const { selectionStartLineNumber, selectionStartColumn, positionLineNumber, positionColumn } = selection;
99
- const start = new types.Position(selectionStartLineNumber - 1, selectionStartColumn - 1);
100
- const end = new types.Position(positionLineNumber - 1, positionColumn - 1);
101
- return new types.Selection(start, end);
102
- }
103
- exports.toSelection = toSelection;
104
- function fromSelection(selection) {
105
- const { active, anchor } = selection;
106
- return {
107
- selectionStartLineNumber: anchor.line + 1,
108
- selectionStartColumn: anchor.character + 1,
109
- positionLineNumber: active.line + 1,
110
- positionColumn: active.character + 1
111
- };
112
- }
113
- exports.fromSelection = fromSelection;
114
- function toRange(range) {
115
- const { startLineNumber, startColumn, endLineNumber, endColumn } = range;
116
- return new types.Range(startLineNumber - 1, startColumn - 1, endLineNumber - 1, endColumn - 1);
117
- }
118
- exports.toRange = toRange;
119
- function fromRange(range) {
120
- if (!range) {
121
- return undefined;
122
- }
123
- const { start, end } = range;
124
- return {
125
- startLineNumber: start.line + 1,
126
- startColumn: start.character + 1,
127
- endLineNumber: end.line + 1,
128
- endColumn: end.character + 1
129
- };
130
- }
131
- exports.fromRange = fromRange;
132
- function fromPosition(position) {
133
- if (!position) {
134
- return undefined;
135
- }
136
- return { lineNumber: position.line + 1, column: position.character + 1 };
137
- }
138
- exports.fromPosition = fromPosition;
139
- function toPosition(position) {
140
- if (!position) {
141
- return undefined;
142
- }
143
- return new types.Position(position.lineNumber - 1, position.column - 1);
144
- }
145
- exports.toPosition = toPosition;
146
- function isDecorationOptions(arg) {
147
- return (0, common_1.isObject)(arg) && typeof arg.range !== 'undefined';
148
- }
149
- function isDecorationOptionsArr(something) {
150
- if (something.length === 0) {
151
- return true;
152
- }
153
- return isDecorationOptions(something[0]) ? true : false;
154
- }
155
- exports.isDecorationOptionsArr = isDecorationOptionsArr;
156
- function fromRangeOrRangeWithMessage(ranges) {
157
- if (isDecorationOptionsArr(ranges)) {
158
- return ranges.map(r => {
159
- let hoverMessage;
160
- if (Array.isArray(r.hoverMessage)) {
161
- hoverMessage = fromManyMarkdown(r.hoverMessage);
162
- }
163
- else if (r.hoverMessage) {
164
- hoverMessage = fromMarkdown(r.hoverMessage);
165
- }
166
- else {
167
- hoverMessage = undefined;
168
- }
169
- return {
170
- range: fromRange(r.range),
171
- hoverMessage: hoverMessage,
172
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
173
- renderOptions: /* URI vs Uri */ r.renderOptions
174
- };
175
- });
176
- }
177
- else {
178
- return ranges.map(r => ({ range: fromRange(r) }));
179
- }
180
- }
181
- exports.fromRangeOrRangeWithMessage = fromRangeOrRangeWithMessage;
182
- function fromManyMarkdown(markup) {
183
- return markup.map(fromMarkdown);
184
- }
185
- exports.fromManyMarkdown = fromManyMarkdown;
186
- function isCodeblock(arg) {
187
- return (0, common_1.isObject)(arg)
188
- && typeof arg.language === 'string'
189
- && typeof arg.value === 'string';
190
- }
191
- function fromMarkdown(markup) {
192
- if (isCodeblock(markup)) {
193
- const { language, value } = markup;
194
- return { value: '```' + language + '\n' + value + '\n```\n' };
195
- }
196
- else if (markup instanceof markdown_string_1.MarkdownString) {
197
- return markup.toJSON();
198
- }
199
- else if (markdown_rendering_1.MarkdownString.is(markup)) {
200
- return markup;
201
- }
202
- else if (typeof markup === 'string') {
203
- return { value: markup };
204
- }
205
- else {
206
- return { value: '' };
207
- }
208
- }
209
- exports.fromMarkdown = fromMarkdown;
210
- function fromMarkdownOrString(value) {
211
- if (value === undefined) {
212
- return undefined;
213
- }
214
- else if (typeof value === 'string') {
215
- return value;
216
- }
217
- else {
218
- return fromMarkdown(value);
219
- }
220
- }
221
- exports.fromMarkdownOrString = fromMarkdownOrString;
222
- function toMarkdown(value) {
223
- const implemented = new markdown_string_1.MarkdownString(value.value, value.supportThemeIcons);
224
- implemented.isTrusted = value.isTrusted;
225
- implemented.supportHtml = value.supportHtml;
226
- implemented.baseUri = value.baseUri && types_impl_1.URI.revive(implemented.baseUri);
227
- return implemented;
228
- }
229
- exports.toMarkdown = toMarkdown;
230
- function fromDocumentSelector(selector) {
231
- if (!selector) {
232
- return undefined;
233
- }
234
- else if ((0, arrays_1.isReadonlyArray)(selector)) {
235
- return selector.map(fromDocumentSelector);
236
- }
237
- else if (typeof selector === 'string') {
238
- return selector;
239
- }
240
- else {
241
- return {
242
- language: selector.language,
243
- scheme: selector.scheme,
244
- pattern: fromGlobPattern(selector.pattern)
245
- };
246
- }
247
- }
248
- exports.fromDocumentSelector = fromDocumentSelector;
249
- function fromGlobPattern(pattern) {
250
- if (typeof pattern === 'string') {
251
- return pattern;
252
- }
253
- if (isRelativePattern(pattern)) {
254
- return new types.RelativePattern(pattern.baseUri, pattern.pattern);
255
- }
256
- return pattern;
257
- }
258
- exports.fromGlobPattern = fromGlobPattern;
259
- function isRelativePattern(obj) {
260
- const rp = obj;
261
- return rp && typeof rp.baseUri === 'string' && typeof rp.pattern === 'string';
262
- }
263
- function fromCompletionItemKind(kind) {
264
- switch (kind) {
265
- case types.CompletionItemKind.Method: return model.CompletionItemKind.Method;
266
- case types.CompletionItemKind.Function: return model.CompletionItemKind.Function;
267
- case types.CompletionItemKind.Constructor: return model.CompletionItemKind.Constructor;
268
- case types.CompletionItemKind.Field: return model.CompletionItemKind.Field;
269
- case types.CompletionItemKind.Variable: return model.CompletionItemKind.Variable;
270
- case types.CompletionItemKind.Class: return model.CompletionItemKind.Class;
271
- case types.CompletionItemKind.Interface: return model.CompletionItemKind.Interface;
272
- case types.CompletionItemKind.Struct: return model.CompletionItemKind.Struct;
273
- case types.CompletionItemKind.Module: return model.CompletionItemKind.Module;
274
- case types.CompletionItemKind.Property: return model.CompletionItemKind.Property;
275
- case types.CompletionItemKind.Unit: return model.CompletionItemKind.Unit;
276
- case types.CompletionItemKind.Value: return model.CompletionItemKind.Value;
277
- case types.CompletionItemKind.Constant: return model.CompletionItemKind.Constant;
278
- case types.CompletionItemKind.Enum: return model.CompletionItemKind.Enum;
279
- case types.CompletionItemKind.EnumMember: return model.CompletionItemKind.EnumMember;
280
- case types.CompletionItemKind.Keyword: return model.CompletionItemKind.Keyword;
281
- case types.CompletionItemKind.Snippet: return model.CompletionItemKind.Snippet;
282
- case types.CompletionItemKind.Text: return model.CompletionItemKind.Text;
283
- case types.CompletionItemKind.Color: return model.CompletionItemKind.Color;
284
- case types.CompletionItemKind.File: return model.CompletionItemKind.File;
285
- case types.CompletionItemKind.Reference: return model.CompletionItemKind.Reference;
286
- case types.CompletionItemKind.Folder: return model.CompletionItemKind.Folder;
287
- case types.CompletionItemKind.Event: return model.CompletionItemKind.Event;
288
- case types.CompletionItemKind.Operator: return model.CompletionItemKind.Operator;
289
- case types.CompletionItemKind.TypeParameter: return model.CompletionItemKind.TypeParameter;
290
- case types.CompletionItemKind.User: return model.CompletionItemKind.User;
291
- case types.CompletionItemKind.Issue: return model.CompletionItemKind.Issue;
292
- }
293
- return model.CompletionItemKind.Property;
294
- }
295
- exports.fromCompletionItemKind = fromCompletionItemKind;
296
- function toCompletionItemKind(kind) {
297
- switch (kind) {
298
- case model.CompletionItemKind.Method: return types.CompletionItemKind.Method;
299
- case model.CompletionItemKind.Function: return types.CompletionItemKind.Function;
300
- case model.CompletionItemKind.Constructor: return types.CompletionItemKind.Constructor;
301
- case model.CompletionItemKind.Field: return types.CompletionItemKind.Field;
302
- case model.CompletionItemKind.Variable: return types.CompletionItemKind.Variable;
303
- case model.CompletionItemKind.Class: return types.CompletionItemKind.Class;
304
- case model.CompletionItemKind.Interface: return types.CompletionItemKind.Interface;
305
- case model.CompletionItemKind.Struct: return types.CompletionItemKind.Struct;
306
- case model.CompletionItemKind.Module: return types.CompletionItemKind.Module;
307
- case model.CompletionItemKind.Property: return types.CompletionItemKind.Property;
308
- case model.CompletionItemKind.Unit: return types.CompletionItemKind.Unit;
309
- case model.CompletionItemKind.Value: return types.CompletionItemKind.Value;
310
- case model.CompletionItemKind.Constant: return types.CompletionItemKind.Constant;
311
- case model.CompletionItemKind.Enum: return types.CompletionItemKind.Enum;
312
- case model.CompletionItemKind.EnumMember: return types.CompletionItemKind.EnumMember;
313
- case model.CompletionItemKind.Keyword: return types.CompletionItemKind.Keyword;
314
- case model.CompletionItemKind.Snippet: return types.CompletionItemKind.Snippet;
315
- case model.CompletionItemKind.Text: return types.CompletionItemKind.Text;
316
- case model.CompletionItemKind.Color: return types.CompletionItemKind.Color;
317
- case model.CompletionItemKind.File: return types.CompletionItemKind.File;
318
- case model.CompletionItemKind.Reference: return types.CompletionItemKind.Reference;
319
- case model.CompletionItemKind.Folder: return types.CompletionItemKind.Folder;
320
- case model.CompletionItemKind.Event: return types.CompletionItemKind.Event;
321
- case model.CompletionItemKind.Operator: return types.CompletionItemKind.Operator;
322
- case model.CompletionItemKind.TypeParameter: return types.CompletionItemKind.TypeParameter;
323
- case model.CompletionItemKind.User: return types.CompletionItemKind.User;
324
- case model.CompletionItemKind.Issue: return types.CompletionItemKind.Issue;
325
- }
326
- return types.CompletionItemKind.Property;
327
- }
328
- exports.toCompletionItemKind = toCompletionItemKind;
329
- function fromTextEdit(edit) {
330
- return {
331
- text: edit.newText,
332
- range: fromRange(edit.range)
333
- };
334
- }
335
- exports.fromTextEdit = fromTextEdit;
336
- function fromSnippetTextEdit(edit) {
337
- return {
338
- text: edit.snippet.value,
339
- range: fromRange(edit.range),
340
- insertAsSnippet: true,
341
- keepWhitespace: edit.keepWhitespace
342
- };
343
- }
344
- function convertDiagnosticToMarkerData(diagnostic) {
345
- return {
346
- code: convertCode(diagnostic.code),
347
- severity: convertSeverity(diagnostic.severity),
348
- message: diagnostic.message,
349
- source: diagnostic.source,
350
- startLineNumber: diagnostic.range.start.line + 1,
351
- startColumn: diagnostic.range.start.character + 1,
352
- endLineNumber: diagnostic.range.end.line + 1,
353
- endColumn: diagnostic.range.end.character + 1,
354
- relatedInformation: convertRelatedInformation(diagnostic.relatedInformation),
355
- tags: convertTags(diagnostic.tags)
356
- };
357
- }
358
- exports.convertDiagnosticToMarkerData = convertDiagnosticToMarkerData;
359
- function convertCode(code) {
360
- if (typeof code === 'number') {
361
- return String(code);
362
- }
363
- if (typeof code === 'string' || typeof code === 'undefined') {
364
- return code;
365
- }
366
- else {
367
- return String(code.value);
368
- }
369
- ;
370
- }
371
- exports.convertCode = convertCode;
372
- function convertSeverity(severity) {
373
- switch (severity) {
374
- case types.DiagnosticSeverity.Error: return types.MarkerSeverity.Error;
375
- case types.DiagnosticSeverity.Warning: return types.MarkerSeverity.Warning;
376
- case types.DiagnosticSeverity.Information: return types.MarkerSeverity.Info;
377
- case types.DiagnosticSeverity.Hint: return types.MarkerSeverity.Hint;
378
- }
379
- }
380
- function convertRelatedInformation(diagnosticsRelatedInformation) {
381
- if (!diagnosticsRelatedInformation) {
382
- return undefined;
383
- }
384
- const relatedInformation = [];
385
- for (const item of diagnosticsRelatedInformation) {
386
- relatedInformation.push({
387
- resource: item.location.uri.toString(),
388
- message: item.message,
389
- startLineNumber: item.location.range.start.line + 1,
390
- startColumn: item.location.range.start.character + 1,
391
- endLineNumber: item.location.range.end.line + 1,
392
- endColumn: item.location.range.end.character + 1
393
- });
394
- }
395
- return relatedInformation;
396
- }
397
- function convertTags(tags) {
398
- if (!tags) {
399
- return undefined;
400
- }
401
- const markerTags = [];
402
- for (const tag of tags) {
403
- switch (tag) {
404
- case types.DiagnosticTag.Unnecessary:
405
- markerTags.push(types.MarkerTag.Unnecessary);
406
- break;
407
- case types.DiagnosticTag.Deprecated:
408
- markerTags.push(types.MarkerTag.Deprecated);
409
- break;
410
- }
411
- }
412
- return markerTags;
413
- }
414
- function fromHover(hover) {
415
- return {
416
- range: fromRange(hover.range),
417
- contents: fromManyMarkdown(hover.contents)
418
- };
419
- }
420
- exports.fromHover = fromHover;
421
- function fromEvaluatableExpression(evaluatableExpression) {
422
- return {
423
- range: fromRange(evaluatableExpression.range),
424
- expression: evaluatableExpression.expression
425
- };
426
- }
427
- exports.fromEvaluatableExpression = fromEvaluatableExpression;
428
- function fromInlineValue(inlineValue) {
429
- if (inlineValue instanceof types_impl_1.InlineValueText) {
430
- return {
431
- type: 'text',
432
- range: fromRange(inlineValue.range),
433
- text: inlineValue.text
434
- };
435
- }
436
- else if (inlineValue instanceof types_impl_1.InlineValueVariableLookup) {
437
- return {
438
- type: 'variable',
439
- range: fromRange(inlineValue.range),
440
- variableName: inlineValue.variableName,
441
- caseSensitiveLookup: inlineValue.caseSensitiveLookup
442
- };
443
- }
444
- else if (inlineValue instanceof types_impl_1.InlineValueEvaluatableExpression) {
445
- return {
446
- type: 'expression',
447
- range: fromRange(inlineValue.range),
448
- expression: inlineValue.expression
449
- };
450
- }
451
- else {
452
- throw new Error('Unknown InlineValue type');
453
- }
454
- }
455
- exports.fromInlineValue = fromInlineValue;
456
- function toInlineValueContext(inlineValueContext) {
457
- const ivLocation = inlineValueContext.stoppedLocation;
458
- return {
459
- frameId: inlineValueContext.frameId,
460
- stoppedLocation: new types.Range(ivLocation.startLineNumber, ivLocation.startColumn, ivLocation.endLineNumber, ivLocation.endColumn)
461
- };
462
- }
463
- exports.toInlineValueContext = toInlineValueContext;
464
- function fromLocation(location) {
465
- if (!location) {
466
- return undefined;
467
- }
468
- return {
469
- uri: location.uri,
470
- range: fromRange(location.range)
471
- };
472
- }
473
- exports.fromLocation = fromLocation;
474
- function fromLocationToLanguageServerLocation(location) {
475
- if (!location) {
476
- return undefined;
477
- }
478
- return {
479
- uri: location.uri.toString(),
480
- range: location.range
481
- };
482
- }
483
- exports.fromLocationToLanguageServerLocation = fromLocationToLanguageServerLocation;
484
- function fromTextDocumentShowOptions(options) {
485
- if (options.selection) {
486
- return {
487
- ...options,
488
- selection: fromRange(options.selection),
489
- };
490
- }
491
- return options;
492
- }
493
- exports.fromTextDocumentShowOptions = fromTextDocumentShowOptions;
494
- function fromDefinitionLink(definitionLink) {
495
- return {
496
- uri: definitionLink.targetUri,
497
- range: fromRange(definitionLink.targetRange),
498
- originSelectionRange: definitionLink.originSelectionRange ? fromRange(definitionLink.originSelectionRange) : undefined,
499
- targetSelectionRange: definitionLink.targetSelectionRange ? fromRange(definitionLink.targetSelectionRange) : undefined
500
- };
501
- }
502
- exports.fromDefinitionLink = fromDefinitionLink;
503
- var DocumentLink;
504
- (function (DocumentLink) {
505
- function from(link) {
506
- return {
507
- range: fromRange(link.range),
508
- url: link.target,
509
- tooltip: link.tooltip
510
- };
511
- }
512
- DocumentLink.from = from;
513
- function to(link) {
514
- let target = undefined;
515
- if (link.url) {
516
- try {
517
- target = typeof link.url === 'string' ? types_impl_1.URI.parse(link.url, true) : types_impl_1.URI.revive(link.url);
518
- }
519
- catch (err) {
520
- // ignore
521
- }
522
- }
523
- return new types.DocumentLink(toRange(link.range), target);
524
- }
525
- DocumentLink.to = to;
526
- })(DocumentLink || (exports.DocumentLink = DocumentLink = {}));
527
- function fromDocumentHighlightKind(kind) {
528
- switch (kind) {
529
- case types.DocumentHighlightKind.Text: return model.DocumentHighlightKind.Text;
530
- case types.DocumentHighlightKind.Read: return model.DocumentHighlightKind.Read;
531
- case types.DocumentHighlightKind.Write: return model.DocumentHighlightKind.Write;
532
- }
533
- return model.DocumentHighlightKind.Text;
534
- }
535
- exports.fromDocumentHighlightKind = fromDocumentHighlightKind;
536
- function fromDocumentHighlight(documentHighlight) {
537
- return {
538
- range: fromRange(documentHighlight.range),
539
- kind: fromDocumentHighlightKind(documentHighlight.kind)
540
- };
541
- }
542
- exports.fromDocumentHighlight = fromDocumentHighlight;
543
- var ParameterInformation;
544
- (function (ParameterInformation) {
545
- function from(info) {
546
- return {
547
- label: info.label,
548
- documentation: info.documentation ? fromMarkdown(info.documentation) : undefined
549
- };
550
- }
551
- ParameterInformation.from = from;
552
- function to(info) {
553
- return {
554
- label: info.label,
555
- documentation: markdown_rendering_1.MarkdownString.is(info.documentation) ? toMarkdown(info.documentation) : info.documentation
556
- };
557
- }
558
- ParameterInformation.to = to;
559
- })(ParameterInformation || (exports.ParameterInformation = ParameterInformation = {}));
560
- var SignatureInformation;
561
- (function (SignatureInformation) {
562
- function from(info) {
563
- return {
564
- label: info.label,
565
- documentation: info.documentation ? fromMarkdown(info.documentation) : undefined,
566
- parameters: info.parameters && info.parameters.map(ParameterInformation.from),
567
- activeParameter: info.activeParameter
568
- };
569
- }
570
- SignatureInformation.from = from;
571
- function to(info) {
572
- return {
573
- label: info.label,
574
- documentation: markdown_rendering_1.MarkdownString.is(info.documentation) ? toMarkdown(info.documentation) : info.documentation,
575
- parameters: info.parameters && info.parameters.map(ParameterInformation.to),
576
- activeParameter: info.activeParameter
577
- };
578
- }
579
- SignatureInformation.to = to;
580
- })(SignatureInformation || (exports.SignatureInformation = SignatureInformation = {}));
581
- var SignatureHelp;
582
- (function (SignatureHelp) {
583
- function from(id, help) {
584
- return {
585
- id,
586
- activeSignature: help.activeSignature,
587
- activeParameter: help.activeParameter,
588
- signatures: help.signatures && help.signatures.map(SignatureInformation.from)
589
- };
590
- }
591
- SignatureHelp.from = from;
592
- function to(help) {
593
- return {
594
- activeSignature: help.activeSignature,
595
- activeParameter: help.activeParameter,
596
- signatures: help.signatures && help.signatures.map(SignatureInformation.to)
597
- };
598
- }
599
- SignatureHelp.to = to;
600
- })(SignatureHelp || (exports.SignatureHelp = SignatureHelp = {}));
601
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
602
- function fromWorkspaceEdit(value, documents) {
603
- const result = {
604
- edits: []
605
- };
606
- for (const entry of value._allEntries()) {
607
- if ((entry === null || entry === void 0 ? void 0 : entry._type) === 2 /* types.FileEditType.Text */) {
608
- const doc = documents ? documents.getDocument(entry.uri.toString()) : undefined;
609
- const workspaceTextEditDto = {
610
- resource: entry.uri,
611
- modelVersionId: doc === null || doc === void 0 ? void 0 : doc.version,
612
- textEdit: fromTextEdit(entry.edit),
613
- metadata: entry.metadata
614
- };
615
- result.edits.push(workspaceTextEditDto);
616
- }
617
- else if ((entry === null || entry === void 0 ? void 0 : entry._type) === 6 /* types.FileEditType.Snippet */) {
618
- const doc = documents ? documents.getDocument(entry.uri.toString()) : undefined;
619
- const workspaceTextEditDto = {
620
- resource: entry.uri,
621
- modelVersionId: doc === null || doc === void 0 ? void 0 : doc.version,
622
- textEdit: fromSnippetTextEdit(entry.edit),
623
- metadata: entry.metadata
624
- };
625
- result.edits.push(workspaceTextEditDto);
626
- }
627
- else if ((entry === null || entry === void 0 ? void 0 : entry._type) === 1 /* types.FileEditType.File */) {
628
- const workspaceFileEditDto = {
629
- oldResource: entry.from,
630
- newResource: entry.to,
631
- options: entry.options,
632
- metadata: entry.metadata
633
- };
634
- result.edits.push(workspaceFileEditDto);
635
- }
636
- else if ((entry === null || entry === void 0 ? void 0 : entry._type) === 3 /* types.FileEditType.Cell */) {
637
- if (entry.edit) {
638
- result.edits.push({
639
- metadata: entry.metadata,
640
- resource: entry.uri,
641
- cellEdit: entry.edit,
642
- });
643
- }
644
- }
645
- else if ((entry === null || entry === void 0 ? void 0 : entry._type) === 5 /* types.FileEditType.CellReplace */) {
646
- result.edits.push({
647
- metadata: entry.metadata,
648
- resource: entry.uri,
649
- cellEdit: {
650
- editType: 1 /* notebooks.CellEditType.Replace */,
651
- index: entry.index,
652
- count: entry.count,
653
- cells: entry.cells.map(NotebookCellData.from)
654
- }
655
- });
656
- }
657
- }
658
- return result;
659
- }
660
- exports.fromWorkspaceEdit = fromWorkspaceEdit;
661
- var SymbolKind;
662
- (function (SymbolKind) {
663
- const fromMapping = Object.create(null);
664
- fromMapping[model.SymbolKind.File] = model.SymbolKind.File;
665
- fromMapping[model.SymbolKind.Module] = model.SymbolKind.Module;
666
- fromMapping[model.SymbolKind.Namespace] = model.SymbolKind.Namespace;
667
- fromMapping[model.SymbolKind.Package] = model.SymbolKind.Package;
668
- fromMapping[model.SymbolKind.Class] = model.SymbolKind.Class;
669
- fromMapping[model.SymbolKind.Method] = model.SymbolKind.Method;
670
- fromMapping[model.SymbolKind.Property] = model.SymbolKind.Property;
671
- fromMapping[model.SymbolKind.Field] = model.SymbolKind.Field;
672
- fromMapping[model.SymbolKind.Constructor] = model.SymbolKind.Constructor;
673
- fromMapping[model.SymbolKind.Enum] = model.SymbolKind.Enum;
674
- fromMapping[model.SymbolKind.Interface] = model.SymbolKind.Interface;
675
- fromMapping[model.SymbolKind.Function] = model.SymbolKind.Function;
676
- fromMapping[model.SymbolKind.Variable] = model.SymbolKind.Variable;
677
- fromMapping[model.SymbolKind.Constant] = model.SymbolKind.Constant;
678
- fromMapping[model.SymbolKind.String] = model.SymbolKind.String;
679
- fromMapping[model.SymbolKind.Number] = model.SymbolKind.Number;
680
- fromMapping[model.SymbolKind.Boolean] = model.SymbolKind.Boolean;
681
- fromMapping[model.SymbolKind.Array] = model.SymbolKind.Array;
682
- fromMapping[model.SymbolKind.Object] = model.SymbolKind.Object;
683
- fromMapping[model.SymbolKind.Key] = model.SymbolKind.Key;
684
- fromMapping[model.SymbolKind.Null] = model.SymbolKind.Null;
685
- fromMapping[model.SymbolKind.EnumMember] = model.SymbolKind.EnumMember;
686
- fromMapping[model.SymbolKind.Struct] = model.SymbolKind.Struct;
687
- fromMapping[model.SymbolKind.Event] = model.SymbolKind.Event;
688
- fromMapping[model.SymbolKind.Operator] = model.SymbolKind.Operator;
689
- fromMapping[model.SymbolKind.TypeParameter] = model.SymbolKind.TypeParameter;
690
- function fromSymbolKind(kind) {
691
- return fromMapping[kind] || model.SymbolKind.Property;
692
- }
693
- SymbolKind.fromSymbolKind = fromSymbolKind;
694
- function toSymbolKind(kind) {
695
- for (const k in fromMapping) {
696
- if (fromMapping[k] === kind) {
697
- return Number(k);
698
- }
699
- }
700
- return model.SymbolKind.Property;
701
- }
702
- SymbolKind.toSymbolKind = toSymbolKind;
703
- })(SymbolKind || (exports.SymbolKind = SymbolKind = {}));
704
- function toCodeActionTriggerKind(triggerKind) {
705
- switch (triggerKind) {
706
- case model.CodeActionTriggerKind.Invoke:
707
- return types.CodeActionTriggerKind.Invoke;
708
- case model.CodeActionTriggerKind.Automatic:
709
- return types.CodeActionTriggerKind.Automatic;
710
- }
711
- }
712
- exports.toCodeActionTriggerKind = toCodeActionTriggerKind;
713
- function fromDocumentSymbol(info) {
714
- const result = {
715
- name: info.name,
716
- detail: info.detail,
717
- range: fromRange(info.range),
718
- tags: info.tags ? info.tags.map(fromSymbolTag) : [],
719
- selectionRange: fromRange(info.selectionRange),
720
- kind: SymbolKind.fromSymbolKind(info.kind)
721
- };
722
- if (info.children) {
723
- result.children = info.children.map(fromDocumentSymbol);
724
- }
725
- return result;
726
- }
727
- exports.fromDocumentSymbol = fromDocumentSymbol;
728
- function toDocumentSymbol(symbol) {
729
- return {
730
- name: symbol.name,
731
- detail: symbol.detail,
732
- range: toRange(symbol.range),
733
- tags: symbol.tags && symbol.tags.length > 0 ? symbol.tags.map(toSymbolTag) : [],
734
- selectionRange: toRange(symbol.selectionRange),
735
- children: symbol.children ? symbol.children.map(toDocumentSymbol) : [],
736
- kind: SymbolKind.toSymbolKind(symbol.kind)
737
- };
738
- }
739
- exports.toDocumentSymbol = toDocumentSymbol;
740
- function fromSymbolTag(kind) {
741
- switch (kind) {
742
- case types.SymbolTag.Deprecated: return model.SymbolTag.Deprecated;
743
- }
744
- }
745
- exports.fromSymbolTag = fromSymbolTag;
746
- function toSymbolTag(kind) {
747
- switch (kind) {
748
- case model.SymbolTag.Deprecated: return types.SymbolTag.Deprecated;
749
- }
750
- }
751
- exports.toSymbolTag = toSymbolTag;
752
- /**
753
- * Creates a merged symbol of type theia.SymbolInformation & theia.DocumentSymbol.
754
- * Is only used as the result type of the `vscode.executeDocumentSymbolProvider` command.
755
- */
756
- function toMergedSymbol(uri, symbol) {
757
- var _a, _b, _c;
758
- const uriValue = types_impl_1.URI.revive(uri);
759
- const location = new types.Location(uriValue, toRange(symbol.range));
760
- return {
761
- name: symbol.name,
762
- containerName: (_a = symbol.containerName) !== null && _a !== void 0 ? _a : '',
763
- kind: SymbolKind.toSymbolKind(symbol.kind),
764
- tags: [],
765
- location,
766
- detail: symbol.detail,
767
- range: location.range,
768
- selectionRange: toRange(symbol.selectionRange),
769
- children: (_c = (_b = symbol.children) === null || _b === void 0 ? void 0 : _b.map(child => toMergedSymbol(uri, child))) !== null && _c !== void 0 ? _c : []
770
- };
771
- }
772
- exports.toMergedSymbol = toMergedSymbol;
773
- function isModelLocation(arg) {
774
- return (0, common_1.isObject)(arg) &&
775
- isModelRange(arg.range) &&
776
- isUriComponents(arg.uri);
777
- }
778
- exports.isModelLocation = isModelLocation;
779
- function isModelRange(arg) {
780
- return (0, common_1.isObject)(arg) &&
781
- typeof arg.startLineNumber === 'number' &&
782
- typeof arg.startColumn === 'number' &&
783
- typeof arg.endLineNumber === 'number' &&
784
- typeof arg.endColumn === 'number';
785
- }
786
- exports.isModelRange = isModelRange;
787
- function isUriComponents(arg) {
788
- return (0, common_1.isObject)(arg) &&
789
- typeof arg.scheme === 'string' &&
790
- (arg['$mid'] === 1 || (typeof arg.path === 'string' &&
791
- typeof arg.query === 'string' &&
792
- typeof arg.fragment === 'string'));
793
- }
794
- exports.isUriComponents = isUriComponents;
795
- function isModelCallHierarchyItem(arg) {
796
- return (0, common_1.isObject)(arg)
797
- && isModelRange(arg.range)
798
- && isModelRange(arg.selectionRange)
799
- && isUriComponents(arg.uri)
800
- && !!arg.name;
801
- }
802
- exports.isModelCallHierarchyItem = isModelCallHierarchyItem;
803
- function isModelCallHierarchyIncomingCall(arg) {
804
- return (0, common_1.isObject)(arg) &&
805
- 'from' in arg &&
806
- 'fromRanges' in arg &&
807
- isModelCallHierarchyItem(arg.from);
808
- }
809
- exports.isModelCallHierarchyIncomingCall = isModelCallHierarchyIncomingCall;
810
- function isModelCallHierarchyOutgoingCall(arg) {
811
- return (0, common_1.isObject)(arg) &&
812
- 'to' in arg &&
813
- 'fromRanges' in arg &&
814
- isModelCallHierarchyItem(arg.to);
815
- }
816
- exports.isModelCallHierarchyOutgoingCall = isModelCallHierarchyOutgoingCall;
817
- function toLocation(value) {
818
- return new types.Location(types_impl_1.URI.revive(value.uri), toRange(value.range));
819
- }
820
- exports.toLocation = toLocation;
821
- function fromHierarchyItem(item) {
822
- return {
823
- kind: SymbolKind.fromSymbolKind(item.kind),
824
- name: item.name,
825
- detail: item.detail,
826
- uri: item.uri,
827
- range: fromRange(item.range),
828
- selectionRange: fromRange(item.selectionRange),
829
- tags: item.tags,
830
- _itemId: item._itemId,
831
- _sessionId: item._sessionId,
832
- };
833
- }
834
- exports.fromHierarchyItem = fromHierarchyItem;
835
- function fromCallHierarchyItem(item) {
836
- return fromHierarchyItem(item);
837
- }
838
- exports.fromCallHierarchyItem = fromCallHierarchyItem;
839
- function toCallHierarchyItem(value) {
840
- const item = new types.CallHierarchyItem(SymbolKind.toSymbolKind(value.kind), value.name, value.detail ? value.detail : '', types_impl_1.URI.revive(value.uri), toRange(value.range), toRange(value.selectionRange));
841
- item.tags = value.tags;
842
- item._itemId = value._itemId;
843
- item._sessionId = value._sessionId;
844
- return item;
845
- }
846
- exports.toCallHierarchyItem = toCallHierarchyItem;
847
- function toCallHierarchyIncomingCall(value) {
848
- return new types.CallHierarchyIncomingCall(toCallHierarchyItem(value.from), value.fromRanges && value.fromRanges.map(toRange));
849
- }
850
- exports.toCallHierarchyIncomingCall = toCallHierarchyIncomingCall;
851
- function toCallHierarchyOutgoingCall(value) {
852
- return new types.CallHierarchyOutgoingCall(toCallHierarchyItem(value.to), value.fromRanges && value.fromRanges.map(toRange));
853
- }
854
- exports.toCallHierarchyOutgoingCall = toCallHierarchyOutgoingCall;
855
- function isModelTypeHierarchyItem(arg) {
856
- return (0, common_1.isObject)(arg)
857
- && isModelRange(arg.range)
858
- && isModelRange(arg.selectionRange)
859
- && isUriComponents(arg.uri)
860
- && !!arg.name;
861
- }
862
- exports.isModelTypeHierarchyItem = isModelTypeHierarchyItem;
863
- function fromTypeHierarchyItem(item) {
864
- return fromHierarchyItem(item);
865
- }
866
- exports.fromTypeHierarchyItem = fromTypeHierarchyItem;
867
- function toTypeHierarchyItem(value) {
868
- const item = new types.TypeHierarchyItem(SymbolKind.toSymbolKind(value.kind), value.name, value.detail ? value.detail : '', types_impl_1.URI.revive(value.uri), toRange(value.selectionRange), toRange(value.range));
869
- item.tags = value.tags;
870
- item._itemId = value._itemId;
871
- item._sessionId = value._sessionId;
872
- return item;
873
- }
874
- exports.toTypeHierarchyItem = toTypeHierarchyItem;
875
- function toWorkspaceFolder(folder) {
876
- return {
877
- uri: types_impl_1.URI.revive(folder.uri),
878
- name: folder.name,
879
- index: folder.index
880
- };
881
- }
882
- exports.toWorkspaceFolder = toWorkspaceFolder;
883
- function fromTask(task) {
884
- if (!task) {
885
- return undefined;
886
- }
887
- const taskDto = {};
888
- taskDto.label = task.name;
889
- taskDto.source = task.source;
890
- taskDto.runOptions = { reevaluateOnRerun: task.runOptions.reevaluateOnRerun };
891
- if (task.hasProblemMatchers) {
892
- taskDto.problemMatcher = task.problemMatchers;
893
- }
894
- if ('detail' in task) {
895
- taskDto.detail = task.detail;
896
- }
897
- if (typeof task.scope === 'number') {
898
- taskDto.scope = task.scope;
899
- }
900
- else if (task.scope !== undefined) {
901
- taskDto.scope = task.scope.uri.toString();
902
- }
903
- else {
904
- taskDto.scope = types.TaskScope.Workspace;
905
- }
906
- if (task.presentationOptions) {
907
- taskDto.presentation = task.presentationOptions;
908
- }
909
- if (task.group) {
910
- taskDto.group = {
911
- kind: task.group.id,
912
- isDefault: !!task.group.isDefault
913
- };
914
- }
915
- const taskDefinition = task.definition;
916
- if (!taskDefinition) {
917
- return taskDto;
918
- }
919
- taskDto.type = taskDefinition.type;
920
- const { type, ...properties } = taskDefinition;
921
- for (const key in properties) {
922
- if (properties.hasOwnProperty(key)) {
923
- taskDto[key] = properties[key];
924
- }
925
- }
926
- const execution = task.execution;
927
- if (!execution) {
928
- return taskDto;
929
- }
930
- if (types.ShellExecution.is(execution)) {
931
- return fromShellExecution(execution, taskDto);
932
- }
933
- if (types.ProcessExecution.is(execution)) {
934
- return fromProcessExecution(execution, taskDto);
935
- }
936
- if (types.CustomExecution.is(execution)) {
937
- return fromCustomExecution(execution, taskDto);
938
- }
939
- return taskDto;
940
- }
941
- exports.fromTask = fromTask;
942
- function toTask(taskDto) {
943
- if (!taskDto) {
944
- throw new Error('Task should be provided for converting');
945
- }
946
- const { type, executionType, label, source, scope, problemMatcher, detail, command, args, options, group, presentation, runOptions, ...properties } = taskDto;
947
- const result = {};
948
- result.name = label;
949
- result.source = source;
950
- result.runOptions = runOptions !== null && runOptions !== void 0 ? runOptions : {};
951
- if (detail) {
952
- result.detail = detail;
953
- }
954
- if (typeof scope === 'string') {
955
- const uri = types_impl_1.URI.parse(scope);
956
- result.scope = {
957
- uri,
958
- name: uri.toString(),
959
- index: 0
960
- };
961
- }
962
- else {
963
- result.scope = scope;
964
- }
965
- const taskDefinition = {
966
- type: type
967
- };
968
- result.definition = taskDefinition;
969
- if (executionType === 'process') {
970
- result.execution = getProcessExecution(taskDto);
971
- }
972
- const execution = { command, args, options };
973
- if (executionType === 'shell' || types.ShellExecution.is(execution)) {
974
- result.execution = getShellExecution(taskDto);
975
- }
976
- if (executionType === 'customExecution' || types.CustomExecution.is(execution)) {
977
- result.execution = getCustomExecution(taskDto);
978
- // if taskType is customExecution, we need to put all the information into taskDefinition,
979
- // because some parameters may be in taskDefinition.
980
- taskDefinition.label = label;
981
- taskDefinition.command = command;
982
- taskDefinition.args = args;
983
- taskDefinition.options = options;
984
- }
985
- if (group) {
986
- result.group = new types.TaskGroup(group.kind, group.kind, group.isDefault);
987
- }
988
- if (presentation) {
989
- result.presentationOptions = presentation;
990
- }
991
- if (!properties) {
992
- return result;
993
- }
994
- for (const key in properties) {
995
- if (properties.hasOwnProperty(key)) {
996
- taskDefinition[key] = properties[key];
997
- }
998
- }
999
- return result;
1000
- }
1001
- exports.toTask = toTask;
1002
- function fromProcessExecution(execution, taskDto) {
1003
- taskDto.executionType = 'process';
1004
- taskDto.command = execution.process;
1005
- taskDto.args = execution.args;
1006
- const options = execution.options;
1007
- if (options) {
1008
- taskDto.options = options;
1009
- }
1010
- return taskDto;
1011
- }
1012
- exports.fromProcessExecution = fromProcessExecution;
1013
- function fromShellExecution(execution, taskDto) {
1014
- taskDto.executionType = 'shell';
1015
- const options = execution.options;
1016
- if (options) {
1017
- taskDto.options = getShellExecutionOptions(options);
1018
- }
1019
- const commandLine = execution.commandLine;
1020
- if (commandLine) {
1021
- taskDto.command = commandLine;
1022
- return taskDto;
1023
- }
1024
- if (execution.command) {
1025
- taskDto.command = getCommand(execution.command);
1026
- taskDto.args = getShellArgs(execution.args);
1027
- return taskDto;
1028
- }
1029
- else {
1030
- throw new Error('Command is undefined');
1031
- }
1032
- }
1033
- exports.fromShellExecution = fromShellExecution;
1034
- function fromCustomExecution(execution, taskDto) {
1035
- taskDto.executionType = 'customExecution';
1036
- const callback = execution.callback;
1037
- if (callback) {
1038
- taskDto.callback = callback;
1039
- return taskDto;
1040
- }
1041
- else {
1042
- throw new Error('Converting CustomExecution callback is not implemented');
1043
- }
1044
- }
1045
- exports.fromCustomExecution = fromCustomExecution;
1046
- function getProcessExecution(taskDto) {
1047
- return new types.ProcessExecution(taskDto.command, taskDto.args || [], taskDto.options || {});
1048
- }
1049
- exports.getProcessExecution = getProcessExecution;
1050
- function getShellExecution(taskDto) {
1051
- if (taskDto.command && Array.isArray(taskDto.args) && taskDto.args.length !== 0) {
1052
- return new types.ShellExecution(taskDto.command, taskDto.args, taskDto.options || {});
1053
- }
1054
- return new types.ShellExecution(taskDto.command || taskDto.commandLine, taskDto.options || {});
1055
- }
1056
- exports.getShellExecution = getShellExecution;
1057
- function getCustomExecution(taskDto) {
1058
- return new types.CustomExecution(taskDto.callback);
1059
- }
1060
- exports.getCustomExecution = getCustomExecution;
1061
- function getShellArgs(args) {
1062
- if (!args || args.length === 0) {
1063
- return [];
1064
- }
1065
- const element = args[0];
1066
- if (typeof element === 'string') {
1067
- return args;
1068
- }
1069
- const result = [];
1070
- const shellQuotedArgs = args;
1071
- shellQuotedArgs.forEach(arg => {
1072
- result.push(arg.value);
1073
- });
1074
- return result;
1075
- }
1076
- exports.getShellArgs = getShellArgs;
1077
- function getCommand(command) {
1078
- return typeof command === 'string' ? command : command.value;
1079
- }
1080
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
1081
- function getShellExecutionOptions(options) {
1082
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
1083
- const result = {};
1084
- const env = options.env;
1085
- if (env) {
1086
- result['env'] = env;
1087
- }
1088
- const executable = options.executable;
1089
- if (executable) {
1090
- result['executable'] = executable;
1091
- }
1092
- const shellQuoting = options.shellQuoting;
1093
- if (shellQuoting) {
1094
- result['shellQuoting'] = shellQuoting;
1095
- }
1096
- const shellArgs = options.shellArgs;
1097
- if (shellArgs) {
1098
- result['shellArgs'] = shellArgs;
1099
- }
1100
- const cwd = options.cwd;
1101
- if (cwd) {
1102
- Object.assign(result, { cwd });
1103
- }
1104
- return result;
1105
- }
1106
- exports.getShellExecutionOptions = getShellExecutionOptions;
1107
- function fromSymbolInformation(symbolInformation) {
1108
- if (!symbolInformation) {
1109
- return undefined;
1110
- }
1111
- if (symbolInformation.location && symbolInformation.location.range) {
1112
- const p1 = lstypes.Position.create(symbolInformation.location.range.start.line, symbolInformation.location.range.start.character);
1113
- const p2 = lstypes.Position.create(symbolInformation.location.range.end.line, symbolInformation.location.range.end.character);
1114
- return lstypes.SymbolInformation.create(symbolInformation.name, symbolInformation.kind++, lstypes.Range.create(p1, p2), symbolInformation.location.uri.toString(), symbolInformation.containerName);
1115
- }
1116
- return {
1117
- name: symbolInformation.name,
1118
- containerName: symbolInformation.containerName,
1119
- kind: symbolInformation.kind++,
1120
- location: {
1121
- uri: symbolInformation.location.uri.toString(),
1122
- range: symbolInformation.location.range,
1123
- }
1124
- };
1125
- }
1126
- exports.fromSymbolInformation = fromSymbolInformation;
1127
- function toSymbolInformation(symbolInformation) {
1128
- if (!symbolInformation) {
1129
- return undefined;
1130
- }
1131
- return {
1132
- name: symbolInformation.name,
1133
- containerName: symbolInformation.containerName,
1134
- kind: symbolInformation.kind,
1135
- location: {
1136
- uri: types_impl_1.URI.parse(symbolInformation.location.uri),
1137
- range: symbolInformation.location.range
1138
- }
1139
- };
1140
- }
1141
- exports.toSymbolInformation = toSymbolInformation;
1142
- function fromSelectionRange(selectionRange) {
1143
- return { range: fromRange(selectionRange.range) };
1144
- }
1145
- exports.fromSelectionRange = fromSelectionRange;
1146
- function fromFoldingRange(foldingRange) {
1147
- const range = {
1148
- start: foldingRange.start + 1,
1149
- end: foldingRange.end + 1
1150
- };
1151
- if (foldingRange.kind) {
1152
- range.kind = fromFoldingRangeKind(foldingRange.kind);
1153
- }
1154
- return range;
1155
- }
1156
- exports.fromFoldingRange = fromFoldingRange;
1157
- function fromFoldingRangeKind(kind) {
1158
- if (kind) {
1159
- switch (kind) {
1160
- case types.FoldingRangeKind.Comment:
1161
- return model.FoldingRangeKind.Comment;
1162
- case types.FoldingRangeKind.Imports:
1163
- return model.FoldingRangeKind.Imports;
1164
- case types.FoldingRangeKind.Region:
1165
- return model.FoldingRangeKind.Region;
1166
- }
1167
- }
1168
- return undefined;
1169
- }
1170
- exports.fromFoldingRangeKind = fromFoldingRangeKind;
1171
- function fromColor(color) {
1172
- return [color.red, color.green, color.blue, color.alpha];
1173
- }
1174
- exports.fromColor = fromColor;
1175
- function toColor(color) {
1176
- return new types.Color(color[0], color[1], color[2], color[3]);
1177
- }
1178
- exports.toColor = toColor;
1179
- function fromColorPresentation(colorPresentation) {
1180
- return {
1181
- label: colorPresentation.label,
1182
- textEdit: colorPresentation.textEdit ? fromTextEdit(colorPresentation.textEdit) : undefined,
1183
- additionalTextEdits: colorPresentation.additionalTextEdits ? colorPresentation.additionalTextEdits.map(value => fromTextEdit(value)) : undefined
1184
- };
1185
- }
1186
- exports.fromColorPresentation = fromColorPresentation;
1187
- function convertIconPath(iconPath) {
1188
- var _a;
1189
- if (!iconPath) {
1190
- return undefined;
1191
- }
1192
- if (iconPath instanceof types.URI) {
1193
- return iconPath.toJSON();
1194
- }
1195
- else if ('dark' in iconPath) {
1196
- return {
1197
- dark: iconPath.dark.toJSON(),
1198
- light: (_a = iconPath.light) === null || _a === void 0 ? void 0 : _a.toJSON()
1199
- };
1200
- }
1201
- else if (types_impl_1.ThemeIcon.is(iconPath)) {
1202
- return {
1203
- id: iconPath.id,
1204
- color: iconPath.color ? { id: iconPath.color.id } : undefined
1205
- };
1206
- }
1207
- else {
1208
- return undefined;
1209
- }
1210
- }
1211
- exports.convertIconPath = convertIconPath;
1212
- function convertQuickInputButton(plugin, button, index) {
1213
- var _a;
1214
- const iconPath = convertIconPath(button.iconPath);
1215
- if (!iconPath) {
1216
- throw new Error(`Could not convert icon path: '${button.iconPath}'`);
1217
- }
1218
- return {
1219
- handle: index,
1220
- iconUrl: (_a = plugin_icon_path_1.PluginIconPath.toUrl(iconPath, plugin)) !== null && _a !== void 0 ? _a : types_impl_1.ThemeIcon.get(iconPath),
1221
- tooltip: button.tooltip
1222
- };
1223
- }
1224
- exports.convertQuickInputButton = convertQuickInputButton;
1225
- function convertToTransferQuickPickItems(plugin, items) {
1226
- return items.map((item, index) => {
1227
- var _a;
1228
- if (typeof item === 'string') {
1229
- return { kind: 'item', label: item, handle: index };
1230
- }
1231
- else if (item.kind === types_impl_1.QuickPickItemKind.Separator) {
1232
- return { kind: 'separator', label: item.label, handle: index };
1233
- }
1234
- else {
1235
- const { label, description, iconPath, detail, picked, alwaysShow, buttons } = item;
1236
- return {
1237
- kind: 'item',
1238
- label,
1239
- description,
1240
- iconUrl: (_a = plugin_icon_path_1.PluginIconPath.toUrl(iconPath, plugin)) !== null && _a !== void 0 ? _a : types_impl_1.ThemeIcon.get(iconPath),
1241
- detail,
1242
- picked,
1243
- alwaysShow,
1244
- buttons: buttons ? buttons.map((button, i) => convertQuickInputButton(plugin, button, i)) : undefined,
1245
- handle: index,
1246
- };
1247
- }
1248
- });
1249
- }
1250
- exports.convertToTransferQuickPickItems = convertToTransferQuickPickItems;
1251
- var DecorationRenderOptions;
1252
- (function (DecorationRenderOptions) {
1253
- function from(options) {
1254
- return {
1255
- isWholeLine: options.isWholeLine,
1256
- rangeBehavior: options.rangeBehavior ? DecorationRangeBehavior.from(options.rangeBehavior) : undefined,
1257
- overviewRulerLane: options.overviewRulerLane,
1258
- light: options.light ? ThemableDecorationRenderOptions.from(options.light) : undefined,
1259
- dark: options.dark ? ThemableDecorationRenderOptions.from(options.dark) : undefined,
1260
- backgroundColor: options.backgroundColor,
1261
- outline: options.outline,
1262
- outlineColor: options.outlineColor,
1263
- outlineStyle: options.outlineStyle,
1264
- outlineWidth: options.outlineWidth,
1265
- border: options.border,
1266
- borderColor: options.borderColor,
1267
- borderRadius: options.borderRadius,
1268
- borderSpacing: options.borderSpacing,
1269
- borderStyle: options.borderStyle,
1270
- borderWidth: options.borderWidth,
1271
- fontStyle: options.fontStyle,
1272
- fontWeight: options.fontWeight,
1273
- textDecoration: options.textDecoration,
1274
- cursor: options.cursor,
1275
- color: options.color,
1276
- opacity: options.opacity,
1277
- letterSpacing: options.letterSpacing,
1278
- gutterIconPath: options.gutterIconPath ? pathOrURIToURI(options.gutterIconPath) : undefined,
1279
- gutterIconSize: options.gutterIconSize,
1280
- overviewRulerColor: options.overviewRulerColor,
1281
- before: options.before ? ThemableDecorationAttachmentRenderOptions.from(options.before) : undefined,
1282
- after: options.after ? ThemableDecorationAttachmentRenderOptions.from(options.after) : undefined,
1283
- };
1284
- }
1285
- DecorationRenderOptions.from = from;
1286
- })(DecorationRenderOptions || (exports.DecorationRenderOptions = DecorationRenderOptions = {}));
1287
- var DecorationRangeBehavior;
1288
- (function (DecorationRangeBehavior) {
1289
- function from(value) {
1290
- if (typeof value === 'undefined') {
1291
- return value;
1292
- }
1293
- switch (value) {
1294
- case types.DecorationRangeBehavior.OpenOpen:
1295
- return rpc.TrackedRangeStickiness.AlwaysGrowsWhenTypingAtEdges;
1296
- case types.DecorationRangeBehavior.ClosedClosed:
1297
- return rpc.TrackedRangeStickiness.NeverGrowsWhenTypingAtEdges;
1298
- case types.DecorationRangeBehavior.OpenClosed:
1299
- return rpc.TrackedRangeStickiness.GrowsOnlyWhenTypingBefore;
1300
- case types.DecorationRangeBehavior.ClosedOpen:
1301
- return rpc.TrackedRangeStickiness.GrowsOnlyWhenTypingAfter;
1302
- }
1303
- }
1304
- DecorationRangeBehavior.from = from;
1305
- })(DecorationRangeBehavior || (exports.DecorationRangeBehavior = DecorationRangeBehavior = {}));
1306
- var ThemableDecorationRenderOptions;
1307
- (function (ThemableDecorationRenderOptions) {
1308
- function from(options) {
1309
- if (typeof options === 'undefined') {
1310
- return options;
1311
- }
1312
- return {
1313
- backgroundColor: options.backgroundColor,
1314
- outline: options.outline,
1315
- outlineColor: options.outlineColor,
1316
- outlineStyle: options.outlineStyle,
1317
- outlineWidth: options.outlineWidth,
1318
- border: options.border,
1319
- borderColor: options.borderColor,
1320
- borderRadius: options.borderRadius,
1321
- borderSpacing: options.borderSpacing,
1322
- borderStyle: options.borderStyle,
1323
- borderWidth: options.borderWidth,
1324
- fontStyle: options.fontStyle,
1325
- fontWeight: options.fontWeight,
1326
- textDecoration: options.textDecoration,
1327
- cursor: options.cursor,
1328
- color: options.color,
1329
- opacity: options.opacity,
1330
- letterSpacing: options.letterSpacing,
1331
- gutterIconPath: options.gutterIconPath ? pathOrURIToURI(options.gutterIconPath) : undefined,
1332
- gutterIconSize: options.gutterIconSize,
1333
- overviewRulerColor: options.overviewRulerColor,
1334
- before: options.before ? ThemableDecorationAttachmentRenderOptions.from(options.before) : undefined,
1335
- after: options.after ? ThemableDecorationAttachmentRenderOptions.from(options.after) : undefined,
1336
- };
1337
- }
1338
- ThemableDecorationRenderOptions.from = from;
1339
- })(ThemableDecorationRenderOptions || (exports.ThemableDecorationRenderOptions = ThemableDecorationRenderOptions = {}));
1340
- var ThemableDecorationAttachmentRenderOptions;
1341
- (function (ThemableDecorationAttachmentRenderOptions) {
1342
- function from(options) {
1343
- if (typeof options === 'undefined') {
1344
- return options;
1345
- }
1346
- return {
1347
- contentText: options.contentText,
1348
- contentIconPath: options.contentIconPath ? pathOrURIToURI(options.contentIconPath) : undefined,
1349
- border: options.border,
1350
- borderColor: options.borderColor,
1351
- fontStyle: options.fontStyle,
1352
- fontWeight: options.fontWeight,
1353
- textDecoration: options.textDecoration,
1354
- color: options.color,
1355
- backgroundColor: options.backgroundColor,
1356
- margin: options.margin,
1357
- width: options.width,
1358
- height: options.height,
1359
- };
1360
- }
1361
- ThemableDecorationAttachmentRenderOptions.from = from;
1362
- })(ThemableDecorationAttachmentRenderOptions || (exports.ThemableDecorationAttachmentRenderOptions = ThemableDecorationAttachmentRenderOptions = {}));
1363
- var ViewColumn;
1364
- (function (ViewColumn) {
1365
- function from(column) {
1366
- if (typeof column === 'number' && column >= types.ViewColumn.One) {
1367
- return column - 1; // adjust zero index (ViewColumn.ONE => 0)
1368
- }
1369
- if (column === types.ViewColumn.Beside) {
1370
- return SIDE_GROUP;
1371
- }
1372
- return ACTIVE_GROUP; // default is always the active group
1373
- }
1374
- ViewColumn.from = from;
1375
- function to(position) {
1376
- if (typeof position === 'number' && position >= 0) {
1377
- return position + 1; // adjust to index (ViewColumn.ONE => 1)
1378
- }
1379
- throw new Error('invalid \'EditorGroupColumn\'');
1380
- }
1381
- ViewColumn.to = to;
1382
- })(ViewColumn || (exports.ViewColumn = ViewColumn = {}));
1383
- function pathOrURIToURI(value) {
1384
- if (typeof value === 'undefined') {
1385
- return value;
1386
- }
1387
- if (typeof value === 'string') {
1388
- return types_impl_1.URI.file(value);
1389
- }
1390
- else {
1391
- return value;
1392
- }
1393
- }
1394
- exports.pathOrURIToURI = pathOrURIToURI;
1395
- function pluginToPluginInfo(plugin) {
1396
- return {
1397
- id: plugin.model.id,
1398
- name: plugin.model.name,
1399
- displayName: plugin.model.displayName
1400
- };
1401
- }
1402
- exports.pluginToPluginInfo = pluginToPluginInfo;
1403
- var InlayHintKind;
1404
- (function (InlayHintKind) {
1405
- function from(kind) {
1406
- return kind;
1407
- }
1408
- InlayHintKind.from = from;
1409
- function to(kind) {
1410
- return kind;
1411
- }
1412
- InlayHintKind.to = to;
1413
- })(InlayHintKind || (exports.InlayHintKind = InlayHintKind = {}));
1414
- var DataTransferItem;
1415
- (function (DataTransferItem) {
1416
- function to(mime, item, resolveFileData) {
1417
- const file = item.fileData;
1418
- if (file) {
1419
- return new class extends types.DataTransferItem {
1420
- asFile() {
1421
- return {
1422
- name: file.name,
1423
- uri: types_impl_1.URI.revive(file.uri),
1424
- data: () => resolveFileData(file.id),
1425
- };
1426
- }
1427
- }('');
1428
- }
1429
- if (mime === 'text/uri-list' && item.uriListData) {
1430
- return new types.DataTransferItem(reviveUriList(item.uriListData));
1431
- }
1432
- return new types.DataTransferItem(item.asString);
1433
- }
1434
- DataTransferItem.to = to;
1435
- function reviveUriList(parts) {
1436
- return parts.map(part => typeof part === 'string' ? part : types_impl_1.URI.revive(part).toString()).join('\r\n');
1437
- }
1438
- })(DataTransferItem || (exports.DataTransferItem = DataTransferItem = {}));
1439
- var DataTransfer;
1440
- (function (DataTransfer) {
1441
- function toDataTransfer(value, resolveFileData) {
1442
- const dataTransfer = new types.DataTransfer();
1443
- for (const [mimeType, item] of value.items) {
1444
- dataTransfer.set(mimeType, DataTransferItem.to(mimeType, item, resolveFileData));
1445
- }
1446
- return dataTransfer;
1447
- }
1448
- DataTransfer.toDataTransfer = toDataTransfer;
1449
- })(DataTransfer || (exports.DataTransfer = DataTransfer = {}));
1450
- var NotebookDocumentContentOptions;
1451
- (function (NotebookDocumentContentOptions) {
1452
- function from(options) {
1453
- var _a, _b, _c;
1454
- return {
1455
- transientOutputs: (_a = options === null || options === void 0 ? void 0 : options.transientOutputs) !== null && _a !== void 0 ? _a : false,
1456
- transientCellMetadata: (_b = options === null || options === void 0 ? void 0 : options.transientCellMetadata) !== null && _b !== void 0 ? _b : {},
1457
- transientDocumentMetadata: (_c = options === null || options === void 0 ? void 0 : options.transientDocumentMetadata) !== null && _c !== void 0 ? _c : {},
1458
- };
1459
- }
1460
- NotebookDocumentContentOptions.from = from;
1461
- })(NotebookDocumentContentOptions || (exports.NotebookDocumentContentOptions = NotebookDocumentContentOptions = {}));
1462
- var NotebookStatusBarItem;
1463
- (function (NotebookStatusBarItem) {
1464
- function from(item, commandsConverter, disposables) {
1465
- const command = typeof item.command === 'string' ? { title: '', command: item.command } : item.command;
1466
- return {
1467
- alignment: item.alignment === types.NotebookCellStatusBarAlignment.Left ? 1 /* notebooks.CellStatusbarAlignment.Left */ : 2 /* notebooks.CellStatusbarAlignment.Right */,
1468
- command: commandsConverter.toSafeCommand(command, disposables),
1469
- text: item.text,
1470
- tooltip: item.tooltip,
1471
- priority: item.priority
1472
- };
1473
- }
1474
- NotebookStatusBarItem.from = from;
1475
- })(NotebookStatusBarItem || (exports.NotebookStatusBarItem = NotebookStatusBarItem = {}));
1476
- var NotebookData;
1477
- (function (NotebookData) {
1478
- function from(data) {
1479
- var _a;
1480
- const res = {
1481
- metadata: (_a = data.metadata) !== null && _a !== void 0 ? _a : Object.create(null),
1482
- cells: [],
1483
- };
1484
- for (const cell of data.cells) {
1485
- // types.NotebookCellData.validate(cell);
1486
- res.cells.push(NotebookCellData.from(cell));
1487
- }
1488
- return res;
1489
- }
1490
- NotebookData.from = from;
1491
- function to(data) {
1492
- const res = new types.NotebookData(data.cells.map(NotebookCellData.to));
1493
- if (!(0, common_1.isEmptyObject)(data.metadata)) {
1494
- res.metadata = data.metadata;
1495
- }
1496
- return res;
1497
- }
1498
- NotebookData.to = to;
1499
- })(NotebookData || (exports.NotebookData = NotebookData = {}));
1500
- var NotebookCellData;
1501
- (function (NotebookCellData) {
1502
- function from(data) {
1503
- var _a;
1504
- return {
1505
- cellKind: NotebookCellKind.from(data.kind),
1506
- language: data.languageId,
1507
- source: data.value,
1508
- metadata: data.metadata,
1509
- internalMetadata: NotebookCellExecutionSummary.from((_a = data.executionSummary) !== null && _a !== void 0 ? _a : {}),
1510
- outputs: data.outputs ? data.outputs.map(NotebookCellOutputConverter.from) : []
1511
- };
1512
- }
1513
- NotebookCellData.from = from;
1514
- function to(data) {
1515
- return new types.NotebookCellData(NotebookCellKind.to(data.cellKind), data.source, data.language, data.outputs ? data.outputs.map(NotebookCellOutput.to) : undefined, data.metadata, data.internalMetadata ? NotebookCellExecutionSummary.to(data.internalMetadata) : undefined);
1516
- }
1517
- NotebookCellData.to = to;
1518
- })(NotebookCellData || (exports.NotebookCellData = NotebookCellData = {}));
1519
- var NotebookCellKind;
1520
- (function (NotebookCellKind) {
1521
- function from(data) {
1522
- switch (data) {
1523
- case types.NotebookCellKind.Markup:
1524
- return notebooks.CellKind.Markup;
1525
- case types.NotebookCellKind.Code:
1526
- default:
1527
- return notebooks.CellKind.Code;
1528
- }
1529
- }
1530
- NotebookCellKind.from = from;
1531
- function to(data) {
1532
- switch (data) {
1533
- case notebooks.CellKind.Markup:
1534
- return types.NotebookCellKind.Markup;
1535
- case notebooks.CellKind.Code:
1536
- default:
1537
- return types.NotebookCellKind.Code;
1538
- }
1539
- }
1540
- NotebookCellKind.to = to;
1541
- })(NotebookCellKind || (exports.NotebookCellKind = NotebookCellKind = {}));
1542
- var NotebookCellOutput;
1543
- (function (NotebookCellOutput) {
1544
- function from(output) {
1545
- return {
1546
- outputId: output.outputId,
1547
- items: output.items.map(NotebookCellOutputItem.from),
1548
- metadata: output.metadata
1549
- };
1550
- }
1551
- NotebookCellOutput.from = from;
1552
- function to(output) {
1553
- const items = output.items.map(NotebookCellOutputItem.to);
1554
- return new types.NotebookCellOutput(items, output.outputId, output.metadata);
1555
- }
1556
- NotebookCellOutput.to = to;
1557
- })(NotebookCellOutput || (exports.NotebookCellOutput = NotebookCellOutput = {}));
1558
- var NotebookCellOutputItem;
1559
- (function (NotebookCellOutputItem) {
1560
- function from(item) {
1561
- return {
1562
- mime: item.mime,
1563
- valueBytes: buffer_1.BinaryBuffer.wrap(item.data),
1564
- };
1565
- }
1566
- NotebookCellOutputItem.from = from;
1567
- function to(item) {
1568
- return new types.NotebookCellOutputItem(item.valueBytes.buffer, item.mime);
1569
- }
1570
- NotebookCellOutputItem.to = to;
1571
- })(NotebookCellOutputItem || (exports.NotebookCellOutputItem = NotebookCellOutputItem = {}));
1572
- var NotebookCellOutputConverter;
1573
- (function (NotebookCellOutputConverter) {
1574
- function from(output) {
1575
- return {
1576
- outputId: output.outputId,
1577
- items: output.items.map(NotebookCellOutputItem.from),
1578
- metadata: output.metadata
1579
- };
1580
- }
1581
- NotebookCellOutputConverter.from = from;
1582
- function to(output) {
1583
- const items = output.items.map(NotebookCellOutputItem.to);
1584
- return new types.NotebookCellOutput(items, output.outputId, output.metadata);
1585
- }
1586
- NotebookCellOutputConverter.to = to;
1587
- function ensureUniqueMimeTypes(items, warn = false) {
1588
- const seen = new Set();
1589
- const removeIdx = new Set();
1590
- for (let i = 0; i < items.length; i++) {
1591
- const item = items[i];
1592
- // We can have multiple text stream mime types in the same output.
1593
- if (!seen.has(item.mime) || (0, common_2.isTextStreamMime)(item.mime)) {
1594
- seen.add(item.mime);
1595
- continue;
1596
- }
1597
- // duplicated mime types... first has won
1598
- removeIdx.add(i);
1599
- if (warn) {
1600
- console.warn(`DUPLICATED mime type '${item.mime}' will be dropped`);
1601
- }
1602
- }
1603
- if (removeIdx.size === 0) {
1604
- return items;
1605
- }
1606
- return items.filter((_, index) => !removeIdx.has(index));
1607
- }
1608
- NotebookCellOutputConverter.ensureUniqueMimeTypes = ensureUniqueMimeTypes;
1609
- })(NotebookCellOutputConverter || (exports.NotebookCellOutputConverter = NotebookCellOutputConverter = {}));
1610
- var NotebookCellExecutionSummary;
1611
- (function (NotebookCellExecutionSummary) {
1612
- function to(data) {
1613
- return {
1614
- timing: typeof data.runStartTime === 'number' && typeof data.runEndTime === 'number' ? { startTime: data.runStartTime, endTime: data.runEndTime } : undefined,
1615
- executionOrder: data.executionOrder,
1616
- success: data.lastRunSuccess
1617
- };
1618
- }
1619
- NotebookCellExecutionSummary.to = to;
1620
- function from(data) {
1621
- var _a, _b;
1622
- return {
1623
- lastRunSuccess: data.success,
1624
- runStartTime: (_a = data.timing) === null || _a === void 0 ? void 0 : _a.startTime,
1625
- runEndTime: (_b = data.timing) === null || _b === void 0 ? void 0 : _b.endTime,
1626
- executionOrder: data.executionOrder
1627
- };
1628
- }
1629
- NotebookCellExecutionSummary.from = from;
1630
- })(NotebookCellExecutionSummary || (exports.NotebookCellExecutionSummary = NotebookCellExecutionSummary = {}));
1631
- var NotebookRange;
1632
- (function (NotebookRange) {
1633
- function from(range) {
1634
- return { start: range.start, end: range.end };
1635
- }
1636
- NotebookRange.from = from;
1637
- function to(range) {
1638
- return new types.NotebookRange(range.start, range.end);
1639
- }
1640
- NotebookRange.to = to;
1641
- })(NotebookRange || (exports.NotebookRange = NotebookRange = {}));
1642
- var NotebookKernelSourceAction;
1643
- (function (NotebookKernelSourceAction) {
1644
- function from(item, commandsConverter, disposables) {
1645
- const command = typeof item.command === 'string' ? { title: '', command: item.command } : item.command;
1646
- return {
1647
- command: commandsConverter.toSafeCommand(command, disposables),
1648
- label: item.label,
1649
- description: item.description,
1650
- detail: item.detail,
1651
- documentation: item.documentation
1652
- };
1653
- }
1654
- NotebookKernelSourceAction.from = from;
1655
- })(NotebookKernelSourceAction || (exports.NotebookKernelSourceAction = NotebookKernelSourceAction = {}));
1656
- var TestMessage;
1657
- (function (TestMessage) {
1658
- function from(message) {
1659
- if ((0, arrays_1.isReadonlyArray)(message)) {
1660
- return message.map(msg => TestMessage.from(msg)[0]);
1661
- }
1662
- return [{
1663
- location: fromLocationToLanguageServerLocation(message.location),
1664
- message: fromMarkdown(message.message),
1665
- expected: message.expectedOutput,
1666
- actual: message.actualOutput,
1667
- contextValue: message.contextValue,
1668
- stackTrace: message.stackTrace && message.stackTrace.map(frame => TestMessageStackFrame.from(frame))
1669
- }];
1670
- }
1671
- TestMessage.from = from;
1672
- })(TestMessage || (exports.TestMessage = TestMessage = {}));
1673
- var TestMessageStackFrame;
1674
- (function (TestMessageStackFrame) {
1675
- function from(stackTrace) {
1676
- var _a;
1677
- return {
1678
- label: stackTrace.label,
1679
- position: stackTrace.position,
1680
- uri: (_a = stackTrace === null || stackTrace === void 0 ? void 0 : stackTrace.uri) === null || _a === void 0 ? void 0 : _a.toString()
1681
- };
1682
- }
1683
- TestMessageStackFrame.from = from;
1684
- })(TestMessageStackFrame || (exports.TestMessageStackFrame = TestMessageStackFrame = {}));
1685
- var TestItem;
1686
- (function (TestItem) {
1687
- function from(test) {
1688
- return TestItem.fromPartial(test);
1689
- }
1690
- TestItem.from = from;
1691
- function fromPartial(test) {
1692
- const result = {};
1693
- if ('id' in test) {
1694
- result.id = test.id;
1695
- }
1696
- if ('uri' in test) {
1697
- result.uri = test.uri;
1698
- }
1699
- if ('label' in test) {
1700
- result.label = test.label;
1701
- }
1702
- if ('range' in test) {
1703
- result.range = fromRange(test.range);
1704
- }
1705
- if ('sortKey' in test) {
1706
- result.sortKey = test.sortText;
1707
- }
1708
- if ('tags' in test) {
1709
- result.tags = test.tags ? test.tags.map(tag => tag.id) : [];
1710
- }
1711
- if ('busy' in test) {
1712
- result.busy = test.busy;
1713
- }
1714
- if ('sortKey' in test) {
1715
- result.sortKey = test.sortText;
1716
- }
1717
- if ('canResolveChildren' in test) {
1718
- result.canResolveChildren = test.canResolveChildren;
1719
- }
1720
- if ('description' in test) {
1721
- result.description = test.description;
1722
- }
1723
- if ('description' in test) {
1724
- result.error = test.error;
1725
- }
1726
- if (test.children) {
1727
- const children = [];
1728
- test.children.forEach(item => {
1729
- children.push(TestItem.from(item));
1730
- });
1731
- result.children = children;
1732
- }
1733
- return result;
1734
- }
1735
- TestItem.fromPartial = fromPartial;
1736
- })(TestItem || (exports.TestItem = TestItem = {}));
1737
- //# sourceMappingURL=type-converters.js.map