@codingame/monaco-vscode-api 1.85.0-next.2 → 1.85.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (239) hide show
  1. package/README.md +19 -10
  2. package/contributions.js +1 -0
  3. package/missing-services.js +91 -5
  4. package/monaco-editor-treemending.patch +2540 -2533
  5. package/package.json +6 -6
  6. package/vscode/src/vs/base/common/jsonFormatter.js +8 -1
  7. package/vscode/src/vs/platform/actions/browser/buttonbar.js +128 -0
  8. package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +2 -1
  9. package/vscode/src/vs/platform/layout/browser/zIndexRegistry.js +58 -0
  10. package/vscode/src/vs/platform/terminal/common/capabilities/commandDetectionCapability.js +56 -1
  11. package/vscode/src/vs/workbench/browser/actions/layoutActions.js +186 -4
  12. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAccessibilityHelp.js +191 -0
  13. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatActions.js +238 -2
  14. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatExecuteActions.js +75 -0
  15. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatQuickInputActions.js +205 -1
  16. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditorInput.js +168 -0
  17. package/vscode/src/vs/workbench/contrib/chat/browser/chatFollowups.js +35 -0
  18. package/vscode/src/vs/workbench/contrib/chat/browser/chatInputPart.js +340 -0
  19. package/vscode/src/vs/workbench/contrib/chat/browser/chatListRenderer.js +1195 -0
  20. package/vscode/src/vs/workbench/contrib/chat/browser/chatMarkdownDecorationsRenderer.js +115 -0
  21. package/vscode/src/vs/workbench/contrib/chat/browser/chatOptions.js +81 -0
  22. package/vscode/src/vs/workbench/contrib/chat/browser/chatSlashCommandContentWidget.css.js +4 -0
  23. package/vscode/src/vs/workbench/contrib/chat/browser/chatSlashCommandContentWidget.js +62 -0
  24. package/vscode/src/vs/workbench/contrib/chat/browser/chatWidget.js +583 -0
  25. package/vscode/src/vs/workbench/contrib/chat/browser/codeBlockPart.css.js +4 -0
  26. package/vscode/src/vs/workbench/contrib/chat/browser/codeBlockPart.js +290 -0
  27. package/vscode/src/vs/workbench/contrib/chat/browser/contrib/chatDynamicVariables.js +167 -0
  28. package/vscode/src/vs/workbench/contrib/chat/browser/media/chat.css.js +4 -0
  29. package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.js +6 -1
  30. package/vscode/src/vs/workbench/contrib/chat/common/chatModel.js +562 -0
  31. package/vscode/src/vs/workbench/contrib/chat/common/chatParserTypes.js +31 -1
  32. package/vscode/src/vs/workbench/contrib/chat/common/chatProvider.js +24 -1
  33. package/vscode/src/vs/workbench/contrib/chat/common/chatRequestParser.js +193 -0
  34. package/vscode/src/vs/workbench/contrib/chat/common/chatService.js +22 -1
  35. package/vscode/src/vs/workbench/contrib/chat/common/chatSlashCommands.js +52 -1
  36. package/vscode/src/vs/workbench/contrib/chat/common/chatViewModel.js +258 -0
  37. package/vscode/src/vs/workbench/contrib/chat/common/chatWidgetHistoryService.js +37 -0
  38. package/vscode/src/vs/workbench/contrib/chat/common/chatWordCounter.js +25 -0
  39. package/vscode/src/vs/workbench/contrib/codeEditor/browser/find/simpleFindWidget.css.js +4 -0
  40. package/vscode/src/vs/workbench/contrib/codeEditor/browser/find/simpleFindWidget.js +388 -0
  41. package/vscode/src/vs/workbench/contrib/comments/browser/commentColors.js +61 -0
  42. package/vscode/src/vs/workbench/contrib/comments/browser/commentFormActions.js +49 -0
  43. package/vscode/src/vs/workbench/contrib/comments/browser/commentNode.js +647 -0
  44. package/vscode/src/vs/workbench/contrib/comments/browser/commentReply.js +300 -0
  45. package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadAdditionalActions.js +60 -0
  46. package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadBody.js +249 -0
  47. package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadHeader.js +107 -0
  48. package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadWidget.js +333 -0
  49. package/vscode/src/vs/workbench/contrib/comments/browser/media/review.css.js +4 -0
  50. package/vscode/src/vs/workbench/contrib/comments/browser/reactionsAction.js +99 -0
  51. package/vscode/src/vs/workbench/contrib/comments/browser/timestamp.js +55 -0
  52. package/vscode/src/vs/workbench/contrib/comments/common/commentsConfiguration.js +2 -0
  53. package/vscode/src/vs/workbench/contrib/contextmenu/browser/contextmenu.contribution.js +20 -0
  54. package/vscode/src/vs/workbench/contrib/debug/browser/breakpointEditorContribution.js +855 -0
  55. package/vscode/src/vs/workbench/contrib/debug/browser/breakpointWidget.js +410 -0
  56. package/vscode/src/vs/workbench/contrib/debug/browser/breakpointsView.js +1591 -0
  57. package/vscode/src/vs/workbench/contrib/debug/browser/callStackEditorContribution.js +178 -0
  58. package/vscode/src/vs/workbench/contrib/debug/browser/media/breakpointWidget.css.js +4 -0
  59. package/vscode/src/vs/workbench/contrib/debug/browser/media/callStackEditorContribution.css.js +4 -0
  60. package/vscode/src/vs/workbench/contrib/debug/common/debugModel.js +1485 -0
  61. package/vscode/src/vs/workbench/contrib/debug/common/debugSource.js +125 -0
  62. package/vscode/src/vs/workbench/contrib/debug/common/disassemblyViewInput.js +29 -0
  63. package/vscode/src/vs/workbench/contrib/extensions/common/extensionsInput.js +41 -0
  64. package/vscode/src/vs/workbench/contrib/extensions/common/extensionsUtils.js +102 -0
  65. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChat.css.js +4 -0
  66. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatController.js +988 -0
  67. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatLivePreviewWidget.js +431 -0
  68. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSession.js +417 -0
  69. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatStrategies.js +806 -0
  70. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatWidget.js +915 -0
  71. package/vscode/src/vs/workbench/contrib/inlineChat/browser/utils.js +19 -0
  72. package/vscode/src/vs/workbench/contrib/inlineChat/common/inlineChat.js +129 -10
  73. package/vscode/src/vs/workbench/contrib/markdown/browser/markdownDocumentRenderer.js +205 -0
  74. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInput.js +150 -0
  75. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInputModel.js +480 -0
  76. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeMarkers/mergeMarkersController.js +5 -0
  77. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/diffComputer.js +90 -0
  78. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/editing.js +54 -0
  79. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/lineRange.js +108 -0
  80. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/mapping.js +258 -0
  81. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/mergeEditorModel.js +614 -0
  82. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/modifiedBaseRange.js +307 -0
  83. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/rangeUtils.js +44 -0
  84. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/textModelDiffs.js +165 -0
  85. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/telemetry.js +78 -0
  86. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/utils.js +169 -0
  87. package/vscode/src/vs/workbench/contrib/mergeEditor/common/mergeEditor.js +64 -0
  88. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/clipboard/cellOutputClipboard.js +49 -0
  89. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/findFilters.js +70 -0
  90. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/findMatchDecorationModel.js +120 -0
  91. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/findModel.js +416 -0
  92. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindReplaceWidget.css.js +4 -0
  93. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindReplaceWidget.js +663 -0
  94. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOperations.js +593 -0
  95. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOutputActions.js +72 -0
  96. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/coreActions.js +326 -0
  97. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/editActions.js +539 -0
  98. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/foldingController.js +265 -0
  99. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/insertCellActions.js +348 -0
  100. package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebook.css.js +4 -0
  101. package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookCellChat.css.js +4 -0
  102. package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookCellEditorHint.css.js +4 -0
  103. package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookCellInsertToolbar.css.js +4 -0
  104. package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookCellOutput.css.js +4 -0
  105. package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookCellStatusBar.css.js +4 -0
  106. package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookCellTitleToolbar.css.js +4 -0
  107. package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookDnd.css.js +4 -0
  108. package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookEditorStickyScroll.css.js +4 -0
  109. package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookFocusIndicator.css.js +4 -0
  110. package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookFolding.css.js +4 -0
  111. package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookKernelActionViewItem.css.js +4 -0
  112. package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookOutline.css.js +4 -0
  113. package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookToolbar.css.js +4 -0
  114. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookBrowser.js +95 -3
  115. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditor.js +437 -0
  116. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditorExtensions.js +29 -0
  117. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditorWidget.js +2730 -0
  118. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookIcons.js +139 -0
  119. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookLogger.js +17 -0
  120. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookOptions.js +564 -0
  121. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookViewEvents.js +27 -0
  122. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellPart.js +119 -0
  123. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellActionView.js +27 -0
  124. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellComments.js +135 -0
  125. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellContextKeys.js +178 -0
  126. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellDecorations.js +35 -0
  127. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellDnd.js +377 -0
  128. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellDragRenderer.js +97 -0
  129. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellEditorOptions.js +194 -0
  130. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellExecution.js +71 -0
  131. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellFocus.js +20 -0
  132. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellFocusIndicator.js +85 -0
  133. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellOutput.js +652 -0
  134. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellProgressBar.js +59 -0
  135. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellStatusPart.js +303 -0
  136. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellToolbarStickyScroll.js +24 -0
  137. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellToolbars.js +228 -0
  138. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/chat/cellChatActions.js +302 -0
  139. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/chat/cellChatController.js +438 -0
  140. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/chat/cellChatPart.js +45 -0
  141. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCell.js +435 -0
  142. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCellExecutionIcon.js +95 -0
  143. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCellRunToolbar.js +107 -0
  144. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/collapsedCellInput.js +29 -0
  145. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/collapsedCellOutput.js +59 -0
  146. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/foldedCellHint.js +67 -0
  147. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/markupCell.js +430 -0
  148. package/vscode/src/vs/workbench/contrib/notebook/browser/view/notebookCellAnchor.js +54 -0
  149. package/vscode/src/vs/workbench/contrib/notebook/browser/view/notebookCellList.js +1131 -0
  150. package/vscode/src/vs/workbench/contrib/notebook/browser/view/notebookCellListView.js +21 -0
  151. package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/backLayerWebView.js +1591 -0
  152. package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/cellRenderer.js +341 -0
  153. package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/webviewPreloads.js +2155 -0
  154. package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/webviewThemeMapping.js +65 -0
  155. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/OutlineEntry.js +95 -0
  156. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/baseCellViewModel.js +507 -0
  157. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/cellEditorOptions.js +85 -0
  158. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/cellOutputViewModel.js +47 -0
  159. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/cellSelectionCollection.js +40 -0
  160. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/codeCellViewModel.js +435 -0
  161. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/eventDispatcher.js +31 -0
  162. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/foldingModel.js +257 -0
  163. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/markupCellViewModel.js +239 -0
  164. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookOutlineEntryFactory.js +103 -0
  165. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookOutlineProvider.js +211 -0
  166. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookViewModelImpl.js +808 -0
  167. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/viewContext.js +8 -0
  168. package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookEditorStickyScroll.js +381 -0
  169. package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookEditorToolbar.js +527 -0
  170. package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookEditorWidgetContextKeys.js +163 -0
  171. package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelQuickPickStrategy.js +651 -0
  172. package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelView.js +173 -0
  173. package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookOverviewRuler.js +98 -0
  174. package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookTopCellToolbar.js +62 -0
  175. package/vscode/src/vs/workbench/contrib/notebook/common/model/notebookCellOutputTextModel.js +101 -0
  176. package/vscode/src/vs/workbench/contrib/notebook/common/model/notebookCellTextModel.js +346 -0
  177. package/vscode/src/vs/workbench/contrib/notebook/common/notebookCommon.js +152 -1
  178. package/vscode/src/vs/workbench/contrib/notebook/common/notebookContextKeys.js +39 -0
  179. package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorInput.js +296 -0
  180. package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorModel.js +261 -0
  181. package/vscode/src/vs/workbench/contrib/notebook/common/notebookExecutionService.js +3 -1
  182. package/vscode/src/vs/workbench/contrib/notebook/common/notebookKernelService.js +2 -1
  183. package/vscode/src/vs/workbench/contrib/notebook/common/notebookKeymapService.js +3 -0
  184. package/vscode/src/vs/workbench/contrib/notebook/common/notebookLoggingService.js +3 -0
  185. package/vscode/src/vs/workbench/contrib/notebook/common/notebookPerformance.js +16 -0
  186. package/vscode/src/vs/workbench/contrib/notebook/common/notebookRange.js +66 -0
  187. package/vscode/src/vs/workbench/contrib/notebook/common/services/notebookWorkerService.js +4 -0
  188. package/vscode/src/vs/workbench/contrib/preferences/common/settingsEditorColorRegistry.js +130 -0
  189. package/vscode/src/vs/workbench/contrib/remote/browser/media/tunnelView.css.js +4 -0
  190. package/vscode/src/vs/workbench/contrib/remote/browser/remoteExplorer.js +847 -0
  191. package/vscode/src/vs/workbench/contrib/remote/browser/remoteIcons.js +89 -0
  192. package/vscode/src/vs/workbench/contrib/remote/browser/tunnelView.js +1942 -0
  193. package/vscode/src/vs/workbench/contrib/remote/browser/urlFinder.js +107 -0
  194. package/vscode/src/vs/workbench/contrib/search/browser/searchActionsBase.js +49 -0
  195. package/vscode/src/vs/workbench/contrib/search/browser/searchActionsFind.js +387 -0
  196. package/vscode/src/vs/workbench/contrib/search/browser/searchModel.js +2 -2
  197. package/vscode/src/vs/workbench/contrib/search/common/constants.js +66 -0
  198. package/vscode/src/vs/workbench/contrib/searchEditor/browser/constants.js +11 -0
  199. package/vscode/src/vs/workbench/contrib/snippets/browser/commands/abstractSnippetsActions.js +24 -0
  200. package/vscode/src/vs/workbench/contrib/snippets/browser/commands/fileTemplateSnippets.js +95 -0
  201. package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.js +4 -1
  202. package/vscode/src/vs/workbench/contrib/terminal/common/terminal.js +2 -1
  203. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/featuredExtensionService.js +159 -0
  204. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedExtensionPoint.js +375 -0
  205. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedService.js +563 -0
  206. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent.js +932 -0
  207. package/vscode/src/vs/workbench/services/layout/browser/layoutService.js +15 -1
  208. package/vscode/src/vs/workbench/services/remote/common/remoteExplorerService.d.ts +2 -2
  209. package/vscode/src/vs/workbench/services/remote/common/remoteExplorerService.js +190 -2
  210. package/vscode/src/vs/workbench/services/workingCopy/common/resourceWorkingCopy.js +77 -0
  211. package/assets/break.mp3 +0 -0
  212. package/assets/chatRequestSent.mp3 +0 -0
  213. package/assets/chatResponsePending.mp3 +0 -0
  214. package/assets/chatResponseReceived1.mp3 +0 -0
  215. package/assets/chatResponseReceived2.mp3 +0 -0
  216. package/assets/chatResponseReceived3.mp3 +0 -0
  217. package/assets/chatResponseReceived4.mp3 +0 -0
  218. package/assets/clear.mp3 +0 -0
  219. package/assets/defaultIcon.png +0 -0
  220. package/assets/diffLineDeleted.mp3 +0 -0
  221. package/assets/diffLineInserted.mp3 +0 -0
  222. package/assets/diffLineModified.mp3 +0 -0
  223. package/assets/error.mp3 +0 -0
  224. package/assets/fake.html +0 -10
  225. package/assets/foldedAreas.mp3 +0 -0
  226. package/assets/format.mp3 +0 -0
  227. package/assets/index-no-csp.html +0 -1226
  228. package/assets/index.html +0 -1227
  229. package/assets/quickFixes.mp3 +0 -0
  230. package/assets/save.mp3 +0 -0
  231. package/assets/service-worker.js +0 -457
  232. package/assets/taskCompleted.mp3 +0 -0
  233. package/assets/taskFailed.mp3 +0 -0
  234. package/assets/terminalBell.mp3 +0 -0
  235. package/assets/warning.mp3 +0 -0
  236. package/assets/webWorkerExtensionHostIframe.html +0 -123
  237. package/override/vs/workbench/contrib/notebook/browser/contrib/find/findMatchDecorationModel.js +0 -2
  238. package/override/vs/workbench/contrib/notebook/browser/notebookEditorWidget.js +0 -2
  239. package/override/vs/workbench/contrib/notebook/common/notebookEditorInput.js +0 -5
@@ -12,6 +12,12 @@ var Parts;
12
12
  Parts["EDITOR_PART"] = "workbench.parts.editor";
13
13
  Parts["STATUSBAR_PART"] = "workbench.parts.statusbar";
14
14
  })(Parts || (Parts = {})));
15
+ var Position;
16
+ ( (function(Position) {
17
+ Position[Position["LEFT"] = 0] = "LEFT";
18
+ Position[Position["RIGHT"] = 1] = "RIGHT";
19
+ Position[Position["BOTTOM"] = 2] = "BOTTOM";
20
+ })(Position || (Position = {})));
15
21
  function positionToString(position) {
16
22
  switch (position) {
17
23
  case 0 : return 'left';
@@ -20,4 +26,12 @@ function positionToString(position) {
20
26
  default: return 'bottom';
21
27
  }
22
28
  }
23
- export { IWorkbenchLayoutService, Parts, positionToString };
29
+ const positionsByString = {
30
+ [positionToString(0 )]: 0 ,
31
+ [positionToString(1 )]: 1 ,
32
+ [positionToString(2 )]: 2
33
+ };
34
+ function positionFromString(str) {
35
+ return positionsByString[str];
36
+ }
37
+ export { IWorkbenchLayoutService, Parts, Position, positionFromString, positionToString };
@@ -1,10 +1,10 @@
1
1
  import { ServiceIdentifier } from '../../../../platform/instantiation/common/instantiation.js';
2
2
  import { Event } from '../../../../base/common/event.js';
3
- import { RemoteTunnel, TunnelProtocol } from '../../../../platform/tunnel/common/tunnel.js';
4
3
  import { IDisposable } from '../../../../base/common/lifecycle.js';
4
+ import { URI } from '../../../../base/common/uri.js';
5
+ import { RemoteTunnel, TunnelProtocol } from '../../../../platform/tunnel/common/tunnel.js';
5
6
  import { IEditableData } from '../../../common/views.js';
6
7
  import { TunnelInformation, TunnelPrivacy } from '../../../../platform/remote/common/remoteAuthorityResolver.js';
7
- import { URI } from '../../../../base/common/uri.js';
8
8
  import { TunnelModel, TunnelProperties, Attributes, TunnelCloseReason, CandidatePort, TunnelSource } from './tunnelModel.js';
9
9
  import { IExtensionPointUser } from '../../extensions/common/extensionsRegistry.js';
10
10
  import { IExtensionDescription } from '../../../../platform/extensions/common/extensions.js';
@@ -1,9 +1,20 @@
1
- import { createDecorator } from 'monaco-editor/esm/vs/platform/instantiation/common/instantiation.js';
1
+ import { __decorate, __param } from '../../../../../../../external/tslib/tslib.es6.js';
2
+ import * as nls from 'monaco-editor/esm/vs/nls.js';
3
+ import { Emitter } from 'monaco-editor/esm/vs/base/common/event.js';
4
+ import { createDecorator, IInstantiationService } from 'monaco-editor/esm/vs/platform/instantiation/common/instantiation.js';
5
+ import { IStorageService } from 'monaco-editor/esm/vs/platform/storage/common/storage.js';
6
+ import { ITunnelService } from '../../../../platform/tunnel/common/tunnel.js';
7
+ import { TunnelModel } from './tunnelModel.js';
8
+ import { ExtensionsRegistry } from '../../extensions/common/extensionsRegistry.js';
2
9
  const IRemoteExplorerService = ( createDecorator('remoteExplorerService'));
10
+ const REMOTE_EXPLORER_TYPE_KEY = 'remote.explorerType';
3
11
  const TUNNEL_VIEW_ID = '~remote.forwardedPorts';
12
+ const TUNNEL_VIEW_CONTAINER_ID = '~remote.forwardedPortsContainer';
4
13
  const PORT_AUTO_FORWARD_SETTING = 'remote.autoForwardPorts';
5
14
  const PORT_AUTO_SOURCE_SETTING = 'remote.autoForwardPortsSource';
15
+ const PORT_AUTO_SOURCE_SETTING_PROCESS = 'process';
6
16
  const PORT_AUTO_SOURCE_SETTING_OUTPUT = 'output';
17
+ const PORT_AUTO_SOURCE_SETTING_HYBRID = 'hybrid';
7
18
  var TunnelType;
8
19
  ( (function(TunnelType) {
9
20
  TunnelType["Candidate"] = "Candidate";
@@ -18,4 +29,181 @@ var TunnelEditId;
18
29
  TunnelEditId[TunnelEditId["Label"] = 2] = "Label";
19
30
  TunnelEditId[TunnelEditId["LocalPort"] = 3] = "LocalPort";
20
31
  })(TunnelEditId || (TunnelEditId = {})));
21
- export { IRemoteExplorerService, PORT_AUTO_FORWARD_SETTING, PORT_AUTO_SOURCE_SETTING, PORT_AUTO_SOURCE_SETTING_OUTPUT, TUNNEL_VIEW_ID, TunnelEditId, TunnelType };
32
+ const getStartedWalkthrough = {
33
+ type: 'object',
34
+ required: ['id'],
35
+ properties: {
36
+ id: {
37
+ description: ( nls.localizeWithPath(
38
+ 'vs/workbench/services/remote/common/remoteExplorerService',
39
+ 'getStartedWalkthrough.id',
40
+ 'The ID of a Get Started walkthrough to open.'
41
+ )),
42
+ type: 'string'
43
+ },
44
+ }
45
+ };
46
+ const remoteHelpExtPoint = ( ExtensionsRegistry.registerExtensionPoint({
47
+ extensionPoint: 'remoteHelp',
48
+ jsonSchema: {
49
+ description: ( nls.localizeWithPath(
50
+ 'vs/workbench/services/remote/common/remoteExplorerService',
51
+ 'RemoteHelpInformationExtPoint',
52
+ 'Contributes help information for Remote'
53
+ )),
54
+ type: 'object',
55
+ properties: {
56
+ 'getStarted': {
57
+ description: ( nls.localizeWithPath(
58
+ 'vs/workbench/services/remote/common/remoteExplorerService',
59
+ 'RemoteHelpInformationExtPoint.getStarted',
60
+ "The url, or a command that returns the url, to your project's Getting Started page, or a walkthrough ID contributed by your project's extension"
61
+ )),
62
+ oneOf: [
63
+ { type: 'string' },
64
+ getStartedWalkthrough
65
+ ]
66
+ },
67
+ 'documentation': {
68
+ description: ( nls.localizeWithPath(
69
+ 'vs/workbench/services/remote/common/remoteExplorerService',
70
+ 'RemoteHelpInformationExtPoint.documentation',
71
+ "The url, or a command that returns the url, to your project's documentation page"
72
+ )),
73
+ type: 'string'
74
+ },
75
+ 'feedback': {
76
+ description: ( nls.localizeWithPath(
77
+ 'vs/workbench/services/remote/common/remoteExplorerService',
78
+ 'RemoteHelpInformationExtPoint.feedback',
79
+ "The url, or a command that returns the url, to your project's feedback reporter"
80
+ )),
81
+ type: 'string',
82
+ markdownDeprecationMessage: ( nls.localizeWithPath(
83
+ 'vs/workbench/services/remote/common/remoteExplorerService',
84
+ 'RemoteHelpInformationExtPoint.feedback.deprecated',
85
+ "Use {0} instead",
86
+ '`reportIssue`'
87
+ ))
88
+ },
89
+ 'reportIssue': {
90
+ description: ( nls.localizeWithPath(
91
+ 'vs/workbench/services/remote/common/remoteExplorerService',
92
+ 'RemoteHelpInformationExtPoint.reportIssue',
93
+ "The url, or a command that returns the url, to your project's issue reporter"
94
+ )),
95
+ type: 'string'
96
+ },
97
+ 'issues': {
98
+ description: ( nls.localizeWithPath(
99
+ 'vs/workbench/services/remote/common/remoteExplorerService',
100
+ 'RemoteHelpInformationExtPoint.issues',
101
+ "The url, or a command that returns the url, to your project's issues list"
102
+ )),
103
+ type: 'string'
104
+ }
105
+ }
106
+ }
107
+ }));
108
+ let RemoteExplorerService = class RemoteExplorerService {
109
+ constructor(storageService, tunnelService, instantiationService) {
110
+ this.storageService = storageService;
111
+ this.tunnelService = tunnelService;
112
+ this._targetType = [];
113
+ this._onDidChangeTargetType = ( new Emitter());
114
+ this.onDidChangeTargetType = this._onDidChangeTargetType.event;
115
+ this._onDidChangeHelpInformation = ( new Emitter());
116
+ this.onDidChangeHelpInformation = this._onDidChangeHelpInformation.event;
117
+ this._helpInformation = [];
118
+ this._onDidChangeEditable = ( new Emitter());
119
+ this.onDidChangeEditable = this._onDidChangeEditable.event;
120
+ this._onEnabledPortsFeatures = ( new Emitter());
121
+ this.onEnabledPortsFeatures = this._onEnabledPortsFeatures.event;
122
+ this._portsFeaturesEnabled = false;
123
+ this.namedProcesses = ( new Map());
124
+ this._tunnelModel = instantiationService.createInstance(TunnelModel);
125
+ remoteHelpExtPoint.setHandler((extensions) => {
126
+ this._helpInformation.push(...extensions);
127
+ this._onDidChangeHelpInformation.fire(extensions);
128
+ });
129
+ }
130
+ get helpInformation() {
131
+ return this._helpInformation;
132
+ }
133
+ set targetType(name) {
134
+ const current = this._targetType.length > 0 ? this._targetType[0] : '';
135
+ const newName = name.length > 0 ? name[0] : '';
136
+ if (current !== newName) {
137
+ this._targetType = name;
138
+ this.storageService.store(REMOTE_EXPLORER_TYPE_KEY, ( this._targetType.toString()), 1 , 1 );
139
+ this.storageService.store(REMOTE_EXPLORER_TYPE_KEY, ( this._targetType.toString()), 0 , 0 );
140
+ this._onDidChangeTargetType.fire(this._targetType);
141
+ }
142
+ }
143
+ get targetType() {
144
+ return this._targetType;
145
+ }
146
+ get tunnelModel() {
147
+ return this._tunnelModel;
148
+ }
149
+ forward(tunnelProperties, attributes) {
150
+ return this.tunnelModel.forward(tunnelProperties, attributes);
151
+ }
152
+ close(remote, reason) {
153
+ return this.tunnelModel.close(remote.host, remote.port, reason);
154
+ }
155
+ setTunnelInformation(tunnelInformation) {
156
+ if (tunnelInformation?.features) {
157
+ this.tunnelService.setTunnelFeatures(tunnelInformation.features);
158
+ }
159
+ this.tunnelModel.addEnvironmentTunnels(tunnelInformation?.environmentTunnels);
160
+ }
161
+ setEditable(tunnelItem, editId, data) {
162
+ if (!data) {
163
+ this._editable = undefined;
164
+ }
165
+ else {
166
+ this._editable = { tunnelItem, data, editId };
167
+ }
168
+ this._onDidChangeEditable.fire(tunnelItem ? { tunnel: tunnelItem, editId } : undefined);
169
+ }
170
+ getEditableData(tunnelItem, editId) {
171
+ return (this._editable &&
172
+ ((!tunnelItem && (tunnelItem === this._editable.tunnelItem)) ||
173
+ (tunnelItem && (this._editable.tunnelItem?.remotePort === tunnelItem.remotePort) && (this._editable.tunnelItem.remoteHost === tunnelItem.remoteHost)
174
+ && (this._editable.editId === editId)))) ?
175
+ this._editable.data : undefined;
176
+ }
177
+ setCandidateFilter(filter) {
178
+ if (!filter) {
179
+ return {
180
+ dispose: () => { }
181
+ };
182
+ }
183
+ this.tunnelModel.setCandidateFilter(filter);
184
+ return {
185
+ dispose: () => {
186
+ this.tunnelModel.setCandidateFilter(undefined);
187
+ }
188
+ };
189
+ }
190
+ onFoundNewCandidates(candidates) {
191
+ this.tunnelModel.setCandidates(candidates);
192
+ }
193
+ restore() {
194
+ return this.tunnelModel.restoreForwarded();
195
+ }
196
+ enablePortsFeatures() {
197
+ this._portsFeaturesEnabled = true;
198
+ this._onEnabledPortsFeatures.fire();
199
+ }
200
+ get portsFeaturesEnabled() {
201
+ return this._portsFeaturesEnabled;
202
+ }
203
+ };
204
+ RemoteExplorerService = ( __decorate([
205
+ ( __param(0, IStorageService)),
206
+ ( __param(1, ITunnelService)),
207
+ ( __param(2, IInstantiationService))
208
+ ], RemoteExplorerService));
209
+ export { IRemoteExplorerService, PORT_AUTO_FORWARD_SETTING, PORT_AUTO_SOURCE_SETTING, PORT_AUTO_SOURCE_SETTING_HYBRID, PORT_AUTO_SOURCE_SETTING_OUTPUT, PORT_AUTO_SOURCE_SETTING_PROCESS, REMOTE_EXPLORER_TYPE_KEY, RemoteExplorerService, TUNNEL_VIEW_CONTAINER_ID, TUNNEL_VIEW_ID, TunnelEditId, TunnelType };
@@ -0,0 +1,77 @@
1
+ import { __decorate, __param } from '../../../../../../../external/tslib/tslib.es6.js';
2
+ import { timeout } from 'monaco-editor/esm/vs/base/common/async.js';
3
+ import { CancellationToken } from 'monaco-editor/esm/vs/base/common/cancellation.js';
4
+ import { Emitter } from 'monaco-editor/esm/vs/base/common/event.js';
5
+ import { Disposable } from 'monaco-editor/esm/vs/base/common/lifecycle.js';
6
+ import { IFileService } from 'monaco-editor/esm/vs/platform/files/common/files.js';
7
+ let ResourceWorkingCopy = class ResourceWorkingCopy extends Disposable {
8
+ constructor(resource, fileService) {
9
+ super();
10
+ this.resource = resource;
11
+ this.fileService = fileService;
12
+ this._onDidChangeOrphaned = this._register(( new Emitter()));
13
+ this.onDidChangeOrphaned = this._onDidChangeOrphaned.event;
14
+ this.orphaned = false;
15
+ this._onWillDispose = this._register(( new Emitter()));
16
+ this.onWillDispose = this._onWillDispose.event;
17
+ this._register(this.fileService.onDidFilesChange(e => this.onDidFilesChange(e)));
18
+ }
19
+ isOrphaned() {
20
+ return this.orphaned;
21
+ }
22
+ async onDidFilesChange(e) {
23
+ let fileEventImpactsUs = false;
24
+ let newInOrphanModeGuess;
25
+ if (this.orphaned) {
26
+ const fileWorkingCopyResourceAdded = e.contains(this.resource, 1 );
27
+ if (fileWorkingCopyResourceAdded) {
28
+ newInOrphanModeGuess = false;
29
+ fileEventImpactsUs = true;
30
+ }
31
+ }
32
+ else {
33
+ const fileWorkingCopyResourceDeleted = e.contains(this.resource, 2 );
34
+ if (fileWorkingCopyResourceDeleted) {
35
+ newInOrphanModeGuess = true;
36
+ fileEventImpactsUs = true;
37
+ }
38
+ }
39
+ if (fileEventImpactsUs && this.orphaned !== newInOrphanModeGuess) {
40
+ let newInOrphanModeValidated = false;
41
+ if (newInOrphanModeGuess) {
42
+ await timeout(100, CancellationToken.None);
43
+ if (this.isDisposed()) {
44
+ newInOrphanModeValidated = true;
45
+ }
46
+ else {
47
+ const exists = await this.fileService.exists(this.resource);
48
+ newInOrphanModeValidated = !exists;
49
+ }
50
+ }
51
+ if (this.orphaned !== newInOrphanModeValidated && !this.isDisposed()) {
52
+ this.setOrphaned(newInOrphanModeValidated);
53
+ }
54
+ }
55
+ }
56
+ setOrphaned(orphaned) {
57
+ if (this.orphaned !== orphaned) {
58
+ this.orphaned = orphaned;
59
+ this._onDidChangeOrphaned.fire();
60
+ }
61
+ }
62
+ isDisposed() {
63
+ return this._store.isDisposed;
64
+ }
65
+ dispose() {
66
+ this.orphaned = false;
67
+ this._onWillDispose.fire();
68
+ super.dispose();
69
+ }
70
+ isModified() {
71
+ return this.isDirty();
72
+ }
73
+ };
74
+ ResourceWorkingCopy = ( __decorate([
75
+ ( __param(1, IFileService))
76
+ ], ResourceWorkingCopy));
77
+ export { ResourceWorkingCopy };
package/assets/break.mp3 DELETED
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
package/assets/clear.mp3 DELETED
Binary file
Binary file
Binary file
Binary file
Binary file
package/assets/error.mp3 DELETED
Binary file
package/assets/fake.html DELETED
@@ -1,10 +0,0 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="UTF-8">
5
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <title>Fake</title>
7
- </head>
8
- <body>
9
- </body>
10
- </html>
Binary file
package/assets/format.mp3 DELETED
Binary file