@codingame/monaco-vscode-api 1.78.4 → 1.78.5

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 (792) hide show
  1. package/README.md +28 -9
  2. package/dist/api.js +192 -2
  3. package/dist/assets/breakpointWidget.css +31 -0
  4. package/dist/assets/callStackEditorContribution.css +12 -0
  5. package/dist/assets/debug.contribution.css +138 -0
  6. package/dist/assets/debugHover.css +80 -0
  7. package/dist/assets/debugToolBar.css +49 -0
  8. package/dist/assets/editorquickaccess.css +8 -0
  9. package/dist/assets/editorstatus.css +51 -0
  10. package/dist/assets/exceptionWidget.css +52 -0
  11. package/dist/assets/notificationsActions.css +14 -0
  12. package/dist/assets/notificationsCenter.css +69 -0
  13. package/dist/assets/notificationsList.css +152 -0
  14. package/dist/assets/notificationsToasts.css +63 -0
  15. package/dist/assets/panelpart.css +75 -0
  16. package/dist/assets/paneview.css +148 -0
  17. package/dist/assets/paneviewlet.css +79 -0
  18. package/dist/assets/sidebysideeditor.css +9 -0
  19. package/dist/assets.js +15 -0
  20. package/dist/default-extensions/bat.js +6 -6
  21. package/dist/default-extensions/clojure.js +5 -5
  22. package/dist/default-extensions/coffeescript.js +6 -6
  23. package/dist/default-extensions/cpp.js +11 -11
  24. package/dist/default-extensions/csharp.js +6 -6
  25. package/dist/default-extensions/css.js +5 -5
  26. package/dist/default-extensions/dart.js +5 -5
  27. package/dist/default-extensions/diff.js +5 -5
  28. package/dist/default-extensions/docker.js +5 -5
  29. package/dist/default-extensions/fsharp.js +6 -6
  30. package/dist/default-extensions/go.js +5 -5
  31. package/dist/default-extensions/groovy.js +6 -6
  32. package/dist/default-extensions/handlebars.js +5 -5
  33. package/dist/default-extensions/hlsl.js +5 -5
  34. package/dist/default-extensions/html.js +7 -7
  35. package/dist/default-extensions/ini.js +6 -6
  36. package/dist/default-extensions/java.js +6 -6
  37. package/dist/default-extensions/javascript.js +9 -9
  38. package/dist/default-extensions/json.js +6 -6
  39. package/dist/default-extensions/julia.js +5 -5
  40. package/dist/default-extensions/latex.js +11 -11
  41. package/dist/default-extensions/less.js +5 -5
  42. package/dist/default-extensions/log.js +4 -4
  43. package/dist/default-extensions/lua.js +5 -5
  44. package/dist/default-extensions/make.js +5 -5
  45. package/dist/default-extensions/markdown-basics.js +6 -6
  46. package/dist/default-extensions/objective-c.js +6 -6
  47. package/dist/default-extensions/perl.js +7 -7
  48. package/dist/default-extensions/php.js +7 -7
  49. package/dist/default-extensions/powershell.js +5 -5
  50. package/dist/default-extensions/pug.js +5 -5
  51. package/dist/default-extensions/python.js +6 -6
  52. package/dist/default-extensions/r.js +5 -5
  53. package/dist/default-extensions/razor.js +5 -5
  54. package/dist/default-extensions/ruby.js +5 -5
  55. package/dist/default-extensions/rust.js +5 -5
  56. package/dist/default-extensions/scss.js +6 -6
  57. package/dist/default-extensions/shaderlab.js +5 -5
  58. package/dist/default-extensions/shellscript.js +5 -5
  59. package/dist/default-extensions/sql.js +5 -5
  60. package/dist/default-extensions/swift.js +6 -6
  61. package/dist/default-extensions/theme-abyss.js +4 -4
  62. package/dist/default-extensions/theme-defaults.js +12 -12
  63. package/dist/default-extensions/theme-kimbie-dark.js +4 -4
  64. package/dist/default-extensions/theme-monokai-dimmed.js +4 -4
  65. package/dist/default-extensions/theme-monokai.js +4 -4
  66. package/dist/default-extensions/theme-quietlight.js +4 -4
  67. package/dist/default-extensions/theme-red.js +4 -4
  68. package/dist/default-extensions/theme-seti.js +4 -4
  69. package/dist/default-extensions/theme-solarized-dark.js +4 -4
  70. package/dist/default-extensions/theme-solarized-light.js +4 -4
  71. package/dist/default-extensions/theme-tomorrow-night-blue.js +4 -4
  72. package/dist/default-extensions/typescript-basics.js +9 -9
  73. package/dist/default-extensions/typescript-language-features.js +3 -3
  74. package/dist/default-extensions/vb.js +6 -6
  75. package/dist/default-extensions/xml.js +7 -7
  76. package/dist/default-extensions/yaml.js +5 -5
  77. package/dist/{extension-tools-b2d018a3.js → extension-tools-b68a64de.js} +2 -15
  78. package/dist/extensions.js +150 -4
  79. package/dist/json.js +92 -0
  80. package/dist/monaco-treemending.js +882 -0
  81. package/dist/monaco.js +24 -458
  82. package/dist/node_modules/tslib/tslib.es6.js +21 -0
  83. package/dist/override/vs/workbench/browser/parts/editor/textEditor.js +2 -0
  84. package/dist/rollup-extension-directory-plugin.js +1 -1
  85. package/dist/rollup-vsix-plugin.js +1 -1
  86. package/dist/service-override/_46__46__47__46__46__47_vscode_47_vs_47_platform_47_audioCues_47_browser_47_media_47__42__46_mp3.js +11 -0
  87. package/dist/service-override/audioCue.js +13 -0
  88. package/dist/service-override/configuration.js +100 -0
  89. package/dist/service-override/debug.js +23 -0
  90. package/dist/service-override/dialogs.js +13 -0
  91. package/dist/service-override/files.js +244 -0
  92. package/dist/service-override/keybindings.js +100 -0
  93. package/dist/service-override/languages.js +27 -0
  94. package/dist/service-override/layout.js +41 -0
  95. package/dist/service-override/modelEditor.js +128 -0
  96. package/dist/service-override/notifications.js +34 -0
  97. package/dist/service-override/preferences.js +10 -0
  98. package/dist/{snippets.js → service-override/snippets.js} +5 -3
  99. package/dist/service-override/textmate.js +36 -0
  100. package/dist/service-override/theme.js +26 -0
  101. package/dist/services.d.ts +118 -1
  102. package/dist/services.js +59 -3
  103. package/dist/tools.js +20 -0
  104. package/dist/vscode/vs/base/browser/ui/splitview/paneview.js +289 -0
  105. package/dist/vscode/vs/base/common/console.js +58 -0
  106. package/dist/vscode/vs/base/common/date.js +204 -0
  107. package/dist/vscode/vs/base/common/jsonEdit.js +164 -0
  108. package/dist/vscode/vs/base/common/jsonFormatter.js +187 -0
  109. package/dist/vscode/vs/base/common/keybindingParser.js +87 -0
  110. package/dist/vscode/vs/base/common/skipList.js +160 -0
  111. package/dist/vscode/vs/base/common/uriIpc.js +32 -0
  112. package/dist/vscode/vs/base/parts/ipc/common/ipc.net.js +45 -0
  113. package/dist/vscode/vs/base/parts/request/browser/request.js +60 -0
  114. package/dist/vscode/vs/base/parts/request/common/request.js +8 -0
  115. package/dist/vscode/vs/editor/browser/config/editorConfiguration.js +91 -0
  116. package/dist/vscode/vs/editor/common/services/languageFeaturesService.js +41 -0
  117. package/dist/vscode/vs/editor/common/services/modelUndoRedoParticipant.js +56 -0
  118. package/dist/vscode/vs/editor/common/services/textResourceConfigurationService.js +112 -0
  119. package/dist/vscode/vs/platform/actions/browser/dropdownWithPrimaryActionViewItem.js +112 -0
  120. package/dist/vscode/vs/platform/debug/common/extensionHostDebug.js +3 -0
  121. package/dist/{extensionManagement.js → vscode/vs/platform/extensionManagement/common/extensionManagement.js} +2 -1
  122. package/dist/vscode/vs/platform/extensionManagement/common/extensionManagementUtil.js +14 -0
  123. package/dist/vscode/vs/platform/extensionManagement/common/extensionNls.js +66 -0
  124. package/dist/vscode/vs/platform/extensionManagement/common/implicitActivationEvents.js +53 -0
  125. package/dist/vscode/vs/platform/extensionResourceLoader/common/extensionResourceLoader.js +69 -0
  126. package/dist/vscode/vs/platform/externalServices/common/serviceMachineId.js +27 -0
  127. package/dist/vscode/vs/platform/files/common/fileService.js +920 -0
  128. package/dist/vscode/vs/platform/files/common/inMemoryFilesystemProvider.js +175 -0
  129. package/dist/vscode/vs/platform/files/common/io.js +80 -0
  130. package/dist/vscode/vs/platform/files/common/watcher.js +69 -0
  131. package/dist/vscode/vs/platform/keyboardLayout/common/keyboardConfig.js +42 -0
  132. package/dist/vscode/vs/platform/keyboardLayout/common/keyboardLayout.js +12 -0
  133. package/dist/vscode/vs/platform/keyboardLayout/common/keyboardMapper.js +23 -0
  134. package/dist/vscode/vs/platform/remote/common/remoteAuthorityResolver.js +17 -0
  135. package/dist/vscode/vs/platform/request/browser/requestService.js +25 -0
  136. package/dist/vscode/vs/platform/request/common/request.js +50 -0
  137. package/dist/vscode/vs/platform/telemetry/common/telemetryUtils.js +119 -0
  138. package/dist/{tokenClassificationRegistry.js → vscode/vs/platform/theme/common/tokenClassificationRegistry.js} +82 -136
  139. package/dist/vscode/vs/platform/tunnel/common/tunnel.js +3 -0
  140. package/dist/vscode/vs/platform/uriIdentity/common/uriIdentityService.js +80 -0
  141. package/dist/vscode/vs/platform/userDataSync/common/content.js +9 -0
  142. package/dist/vscode/vs/platform/userDataSync/common/settingsMerge.js +299 -0
  143. package/dist/vscode/vs/platform/workspace/common/editSessions.js +3 -0
  144. package/dist/vscode/vs/platform/workspace/common/virtualWorkspace.js +17 -0
  145. package/dist/vscode/vs/platform/workspaces/common/workspaces.js +195 -0
  146. package/dist/vscode/vs/workbench/api/browser/mainThreadBulkEdits.js +49 -0
  147. package/dist/vscode/vs/workbench/api/browser/mainThreadClipboard.js +22 -0
  148. package/dist/vscode/vs/workbench/api/browser/mainThreadCommands.js +93 -0
  149. package/dist/vscode/vs/workbench/api/browser/mainThreadConfiguration.js +78 -0
  150. package/dist/vscode/vs/workbench/api/browser/mainThreadConsole.js +33 -0
  151. package/dist/vscode/vs/workbench/api/browser/mainThreadDebugService.js +347 -0
  152. package/dist/vscode/vs/workbench/api/browser/mainThreadDiagnostics.js +67 -0
  153. package/dist/vscode/vs/workbench/api/browser/mainThreadDocumentContentProviders.js +73 -0
  154. package/dist/vscode/vs/workbench/api/browser/mainThreadDocuments.js +246 -0
  155. package/dist/vscode/vs/workbench/api/browser/mainThreadDocumentsAndEditors.js +379 -0
  156. package/dist/vscode/vs/workbench/api/browser/mainThreadEditor.js +410 -0
  157. package/dist/vscode/vs/workbench/api/browser/mainThreadEditors.js +223 -0
  158. package/dist/vscode/vs/workbench/api/browser/mainThreadExtensionService.js +213 -0
  159. package/dist/vscode/vs/workbench/api/browser/mainThreadFileSystem.js +270 -0
  160. package/dist/vscode/vs/workbench/api/browser/mainThreadFileSystemEventService.js +223 -0
  161. package/dist/vscode/vs/workbench/api/browser/mainThreadLanguageFeatures.js +909 -0
  162. package/dist/vscode/vs/workbench/api/browser/mainThreadLanguages.js +76 -0
  163. package/dist/vscode/vs/workbench/api/browser/mainThreadMessageService.js +114 -0
  164. package/dist/vscode/vs/workbench/api/browser/mainThreadOutputService.js +73 -0
  165. package/dist/vscode/vs/workbench/api/browser/mainThreadProgress.js +62 -0
  166. package/dist/vscode/vs/workbench/api/browser/mainThreadQuickOpen.js +183 -0
  167. package/dist/vscode/vs/workbench/api/browser/mainThreadSaveParticipant.js +43 -0
  168. package/dist/vscode/vs/workbench/api/browser/mainThreadTelemetry.js +50 -0
  169. package/dist/vscode/vs/workbench/api/browser/mainThreadWindow.js +48 -0
  170. package/dist/vscode/vs/workbench/api/browser/mainThreadWorkspace.js +227 -0
  171. package/dist/vscode/vs/workbench/api/common/cache.js +28 -0
  172. package/dist/vscode/vs/workbench/api/common/configurationExtensionPoint.js +450 -0
  173. package/dist/vscode/vs/workbench/api/common/extHost.protocol.js +131 -0
  174. package/dist/vscode/vs/workbench/api/common/extHostApiCommands.js +656 -0
  175. package/dist/vscode/vs/workbench/api/common/extHostApiDeprecationService.js +35 -0
  176. package/dist/vscode/vs/workbench/api/common/extHostBulkEdits.js +21 -0
  177. package/dist/vscode/vs/workbench/api/common/extHostClipboard.js +15 -0
  178. package/dist/vscode/vs/workbench/api/common/extHostCommands.js +415 -0
  179. package/dist/vscode/vs/workbench/api/common/extHostConfiguration.js +264 -0
  180. package/dist/vscode/vs/workbench/api/common/extHostDebugService.js +786 -0
  181. package/dist/vscode/vs/workbench/api/common/extHostDecorations.js +94 -0
  182. package/dist/vscode/vs/workbench/api/common/extHostDiagnostics.js +292 -0
  183. package/dist/vscode/vs/workbench/api/common/extHostDocumentContentProviders.js +65 -0
  184. package/dist/vscode/vs/workbench/api/common/extHostDocumentData.js +212 -0
  185. package/dist/vscode/vs/workbench/api/common/extHostDocumentSaveParticipant.js +126 -0
  186. package/dist/vscode/vs/workbench/api/common/extHostDocuments.js +144 -0
  187. package/dist/vscode/vs/workbench/api/common/extHostDocumentsAndEditors.js +147 -0
  188. package/dist/vscode/vs/workbench/api/common/extHostEditorTabs.js +328 -0
  189. package/dist/vscode/vs/workbench/api/common/extHostExtensionActivator.js +309 -0
  190. package/dist/vscode/vs/workbench/api/common/extHostExtensionService.js +814 -0
  191. package/dist/vscode/vs/workbench/api/common/extHostFileSystem.js +272 -0
  192. package/dist/vscode/vs/workbench/api/common/extHostFileSystemConsumer.js +153 -0
  193. package/dist/vscode/vs/workbench/api/common/extHostFileSystemEventService.js +193 -0
  194. package/dist/vscode/vs/workbench/api/common/extHostFileSystemInfo.js +35 -0
  195. package/dist/vscode/vs/workbench/api/common/extHostInitDataService.js +3 -0
  196. package/dist/vscode/vs/workbench/api/common/extHostLanguageFeatures.js +2038 -0
  197. package/dist/vscode/vs/workbench/api/common/extHostLanguages.js +164 -0
  198. package/dist/vscode/vs/workbench/api/common/extHostLocalizationService.js +85 -0
  199. package/dist/vscode/vs/workbench/api/common/extHostMemento.js +74 -0
  200. package/dist/vscode/vs/workbench/api/common/extHostMessageService.js +55 -0
  201. package/dist/vscode/vs/workbench/api/common/extHostOutput.js +257 -0
  202. package/dist/vscode/vs/workbench/api/common/extHostProgress.js +80 -0
  203. package/dist/vscode/vs/workbench/api/common/extHostQuickOpen.js +580 -0
  204. package/dist/vscode/vs/workbench/api/common/extHostRpcService.js +12 -0
  205. package/dist/vscode/vs/workbench/api/common/extHostSecretState.js +24 -0
  206. package/dist/vscode/vs/workbench/api/common/extHostSecrets.js +29 -0
  207. package/dist/vscode/vs/workbench/api/common/extHostStorage.js +42 -0
  208. package/dist/vscode/vs/workbench/api/common/extHostStoragePaths.js +64 -0
  209. package/dist/vscode/vs/workbench/api/common/extHostTelemetry.js +266 -0
  210. package/dist/vscode/vs/workbench/api/common/extHostTerminalService.js +3 -0
  211. package/dist/vscode/vs/workbench/api/common/extHostTestItem.js +122 -0
  212. package/dist/vscode/vs/workbench/api/common/extHostTestingPrivateApi.js +15 -0
  213. package/dist/vscode/vs/workbench/api/common/extHostTextEditor.js +511 -0
  214. package/dist/vscode/vs/workbench/api/common/extHostTextEditors.js +128 -0
  215. package/dist/vscode/vs/workbench/api/common/extHostTunnelService.js +36 -0
  216. package/dist/vscode/vs/workbench/api/common/extHostTypeConverters.js +1766 -0
  217. package/dist/vscode/vs/workbench/api/common/extHostTypes.js +2810 -0
  218. package/dist/vscode/vs/workbench/api/common/extHostUriTransformerService.js +19 -0
  219. package/dist/vscode/vs/workbench/api/common/extHostVariableResolverService.js +138 -0
  220. package/dist/vscode/vs/workbench/api/common/extHostWindow.js +59 -0
  221. package/dist/vscode/vs/workbench/api/common/extHostWorkspace.js +534 -0
  222. package/dist/vscode/vs/workbench/api/common/jsonValidationExtensionPoint.js +97 -0
  223. package/dist/vscode/vs/workbench/api/common/shared/dataTransferCache.js +36 -0
  224. package/dist/vscode/vs/workbench/browser/actions/layoutActions.js +1201 -0
  225. package/dist/vscode/vs/workbench/browser/actions.js +77 -0
  226. package/dist/vscode/vs/workbench/browser/codeeditor.js +185 -0
  227. package/dist/vscode/vs/workbench/browser/composite.js +102 -0
  228. package/dist/vscode/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarActions.js +146 -0
  229. package/dist/vscode/vs/workbench/browser/parts/dialogs/dialog.web.contribution.js +68 -0
  230. package/dist/vscode/vs/workbench/browser/parts/dialogs/dialogHandler.js +124 -0
  231. package/dist/vscode/vs/workbench/browser/parts/editor/editor.contribution.js +876 -0
  232. package/dist/vscode/vs/workbench/browser/parts/editor/editor.js +4 -0
  233. package/dist/vscode/vs/workbench/browser/parts/editor/editorActions.js +1946 -0
  234. package/dist/vscode/vs/workbench/browser/parts/editor/editorAutoSave.js +157 -0
  235. package/dist/vscode/vs/workbench/browser/parts/editor/editorCommands.js +1289 -0
  236. package/dist/vscode/vs/workbench/browser/parts/editor/editorPane.js +242 -0
  237. package/dist/vscode/vs/workbench/browser/parts/editor/editorQuickAccess.js +213 -0
  238. package/dist/vscode/vs/workbench/browser/parts/editor/editorStatus.js +460 -0
  239. package/dist/vscode/vs/workbench/browser/parts/editor/editorWithViewState.js +139 -0
  240. package/dist/vscode/vs/workbench/browser/parts/editor/sideBySideEditor.js +387 -0
  241. package/dist/vscode/vs/workbench/browser/parts/editor/textDiffEditor.js +289 -0
  242. package/dist/vscode/vs/workbench/browser/parts/notifications/notificationsActions.js +124 -0
  243. package/dist/vscode/vs/workbench/browser/parts/notifications/notificationsAlerts.js +58 -0
  244. package/dist/vscode/vs/workbench/browser/parts/notifications/notificationsCenter.js +224 -0
  245. package/dist/vscode/vs/workbench/browser/parts/notifications/notificationsCommands.js +241 -0
  246. package/dist/vscode/vs/workbench/browser/parts/notifications/notificationsList.js +185 -0
  247. package/dist/vscode/vs/workbench/browser/parts/notifications/notificationsTelemetry.js +35 -0
  248. package/dist/vscode/vs/workbench/browser/parts/notifications/notificationsToasts.js +417 -0
  249. package/dist/vscode/vs/workbench/browser/parts/notifications/notificationsViewer.js +392 -0
  250. package/dist/vscode/vs/workbench/browser/parts/panel/panelActions.js +422 -0
  251. package/dist/vscode/vs/workbench/browser/parts/views/viewPane.js +520 -0
  252. package/dist/vscode/vs/workbench/browser/quickaccess.js +17 -0
  253. package/dist/vscode/vs/workbench/common/component.js +23 -0
  254. package/dist/vscode/vs/workbench/common/configuration.js +8 -0
  255. package/dist/vscode/vs/workbench/common/contextkeys.js +170 -0
  256. package/dist/vscode/vs/workbench/common/contributions.js +111 -0
  257. package/dist/vscode/vs/workbench/common/dialogs.js +31 -0
  258. package/dist/vscode/vs/workbench/common/editor/binaryEditorModel.js +39 -0
  259. package/dist/vscode/vs/workbench/common/editor/diffEditorInput.js +164 -0
  260. package/dist/vscode/vs/workbench/common/editor/diffEditorModel.js +23 -0
  261. package/dist/vscode/vs/workbench/common/editor/editorInput.js +97 -0
  262. package/dist/vscode/vs/workbench/common/editor/editorModel.js +26 -0
  263. package/dist/vscode/vs/workbench/common/editor/editorOptions.js +48 -0
  264. package/dist/vscode/vs/workbench/common/editor/resourceEditorInput.js +133 -0
  265. package/dist/vscode/vs/workbench/common/editor/sideBySideEditorInput.js +228 -0
  266. package/dist/vscode/vs/workbench/common/editor/textDiffEditorModel.js +42 -0
  267. package/dist/vscode/vs/workbench/common/editor/textEditorModel.js +165 -0
  268. package/dist/vscode/vs/workbench/common/editor/textResourceEditorInput.js +146 -0
  269. package/dist/vscode/vs/workbench/common/editor/textResourceEditorModel.js +24 -0
  270. package/dist/vscode/vs/workbench/common/editor.js +307 -0
  271. package/dist/{memento.js → vscode/vs/workbench/common/memento.js} +1 -1
  272. package/dist/vscode/vs/workbench/common/notifications.js +448 -0
  273. package/dist/vscode/vs/workbench/common/resources.js +86 -0
  274. package/dist/{theme2.js → vscode/vs/workbench/common/theme.js} +1 -168
  275. package/dist/vscode/vs/workbench/common/views.js +20 -0
  276. package/dist/vscode/vs/workbench/contrib/audioCues/browser/audioCueDebuggerContribution.js +45 -0
  277. package/dist/vscode/vs/workbench/contrib/audioCues/browser/audioCueLineFeatureContribution.js +170 -0
  278. package/dist/vscode/vs/workbench/contrib/audioCues/browser/audioCues.contribution.js +160 -0
  279. package/dist/vscode/vs/workbench/contrib/audioCues/browser/commands.js +49 -0
  280. package/dist/vscode/vs/workbench/contrib/bulkEdit/browser/bulkCellEdits.js +25 -0
  281. package/dist/vscode/vs/workbench/contrib/callHierarchy/common/callHierarchy.js +126 -0
  282. package/dist/vscode/vs/workbench/contrib/codeEditor/browser/editorLineNumberMenu.js +100 -0
  283. package/dist/{languages.js → vscode/vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint.js} +154 -180
  284. package/dist/vscode/vs/workbench/contrib/codeEditor/browser/menuPreventer.js +35 -0
  285. package/dist/vscode/vs/workbench/contrib/codeEditor/browser/selectionClipboard.js +2 -0
  286. package/dist/vscode/vs/workbench/contrib/codeEditor/browser/simpleEditorOptions.js +50 -0
  287. package/dist/vscode/vs/workbench/contrib/debug/browser/baseDebugView.js +192 -0
  288. package/dist/vscode/vs/workbench/contrib/debug/browser/breakpointEditorContribution.js +776 -0
  289. package/dist/vscode/vs/workbench/contrib/debug/browser/breakpointWidget.js +378 -0
  290. package/dist/vscode/vs/workbench/contrib/debug/browser/breakpointsView.js +714 -0
  291. package/dist/vscode/vs/workbench/contrib/debug/browser/callStackEditorContribution.js +172 -0
  292. package/dist/vscode/vs/workbench/contrib/debug/browser/debug.contribution.js +451 -0
  293. package/dist/vscode/vs/workbench/contrib/debug/browser/debugActionViewItems.js +294 -0
  294. package/dist/vscode/vs/workbench/contrib/debug/browser/debugAdapterManager.js +397 -0
  295. package/dist/vscode/vs/workbench/contrib/debug/browser/debugColors.js +309 -0
  296. package/dist/vscode/vs/workbench/contrib/debug/browser/debugCommands.js +749 -0
  297. package/dist/vscode/vs/workbench/contrib/debug/browser/debugConfigurationManager.js +619 -0
  298. package/dist/vscode/vs/workbench/contrib/debug/browser/debugConsoleQuickAccess.js +58 -0
  299. package/dist/vscode/vs/workbench/contrib/debug/browser/debugEditorContribution.js +675 -0
  300. package/dist/vscode/vs/workbench/contrib/debug/browser/debugHover.js +317 -0
  301. package/dist/vscode/vs/workbench/contrib/debug/browser/debugIcons.js +135 -0
  302. package/dist/vscode/vs/workbench/contrib/debug/browser/debugMemory.js +204 -0
  303. package/dist/vscode/vs/workbench/contrib/debug/browser/debugQuickAccess.js +142 -0
  304. package/dist/vscode/vs/workbench/contrib/debug/browser/debugService.js +1171 -0
  305. package/dist/vscode/vs/workbench/contrib/debug/browser/debugSession.js +1134 -0
  306. package/dist/vscode/vs/workbench/contrib/debug/browser/debugSessionPicker.js +104 -0
  307. package/dist/vscode/vs/workbench/contrib/debug/browser/debugTaskRunner.js +273 -0
  308. package/dist/vscode/vs/workbench/contrib/debug/browser/debugToolBar.js +312 -0
  309. package/dist/vscode/vs/workbench/contrib/debug/browser/exceptionWidget.js +103 -0
  310. package/dist/vscode/vs/workbench/contrib/debug/browser/linkDetector.js +229 -0
  311. package/dist/vscode/vs/workbench/contrib/debug/browser/rawDebugSession.js +666 -0
  312. package/dist/vscode/vs/workbench/contrib/debug/browser/variablesView.js +287 -0
  313. package/dist/vscode/vs/workbench/contrib/debug/common/abstractDebugAdapter.js +150 -0
  314. package/dist/vscode/vs/workbench/contrib/debug/common/breakpoints.js +19 -0
  315. package/dist/vscode/vs/workbench/contrib/debug/common/debug.js +285 -0
  316. package/dist/vscode/vs/workbench/contrib/debug/common/debugCompoundRoot.js +15 -0
  317. package/dist/vscode/vs/workbench/contrib/debug/common/debugContentProvider.js +96 -0
  318. package/dist/vscode/vs/workbench/contrib/debug/common/debugModel.js +1451 -0
  319. package/dist/vscode/vs/workbench/contrib/debug/common/debugSchemas.js +344 -0
  320. package/dist/vscode/vs/workbench/contrib/debug/common/debugSource.js +121 -0
  321. package/dist/vscode/vs/workbench/contrib/debug/common/debugStorage.js +148 -0
  322. package/dist/vscode/vs/workbench/contrib/debug/common/debugTelemetry.js +34 -0
  323. package/dist/vscode/vs/workbench/contrib/debug/common/debugUtils.js +292 -0
  324. package/dist/vscode/vs/workbench/contrib/debug/common/debugViewModel.js +107 -0
  325. package/dist/vscode/vs/workbench/contrib/debug/common/debugger.js +254 -0
  326. package/dist/vscode/vs/workbench/contrib/debug/common/disassemblyViewInput.js +25 -0
  327. package/dist/vscode/vs/workbench/contrib/debug/common/loadedScriptsPicker.js +81 -0
  328. package/dist/vscode/vs/workbench/contrib/debug/common/replModel.js +230 -0
  329. package/dist/vscode/vs/workbench/contrib/extensions/common/extensions.js +3 -0
  330. package/dist/vscode/vs/workbench/contrib/files/browser/editors/fileEditorInput.js +321 -0
  331. package/dist/vscode/vs/workbench/contrib/files/browser/explorerService.js +398 -0
  332. package/dist/vscode/vs/workbench/contrib/files/browser/files.contribution.js +389 -0
  333. package/dist/vscode/vs/workbench/contrib/files/browser/files.js +3 -0
  334. package/dist/vscode/vs/workbench/contrib/files/common/explorerFileNestingTrie.js +212 -0
  335. package/dist/vscode/vs/workbench/contrib/files/common/explorerModel.js +369 -0
  336. package/dist/{files2.js → vscode/vs/workbench/contrib/files/common/files.js} +1 -1
  337. package/dist/vscode/vs/workbench/contrib/markers/common/markers.js +20 -0
  338. package/dist/vscode/vs/workbench/contrib/notebook/common/notebookCommon.js +9 -0
  339. package/dist/vscode/vs/workbench/contrib/output/browser/outputLinkProvider.js +74 -0
  340. package/dist/vscode/vs/workbench/contrib/output/browser/outputServices.js +166 -0
  341. package/dist/vscode/vs/workbench/contrib/output/common/outputChannelModel.js +317 -0
  342. package/dist/vscode/vs/workbench/contrib/output/common/outputChannelModelService.js +31 -0
  343. package/dist/vscode/vs/workbench/contrib/quickaccess/browser/commandsQuickAccess.js +153 -0
  344. package/dist/vscode/vs/workbench/contrib/search/common/search.js +27 -0
  345. package/dist/vscode/vs/workbench/contrib/snippets/browser/snippetCompletionProvider.js +159 -0
  346. package/dist/vscode/vs/workbench/contrib/snippets/browser/snippets.js +3 -0
  347. package/dist/vscode/vs/workbench/contrib/snippets/browser/snippetsFile.js +229 -0
  348. package/dist/{snippetsService.js → vscode/vs/workbench/contrib/snippets/browser/snippetsService.js} +28 -412
  349. package/dist/vscode/vs/workbench/contrib/snippets/browser/tabCompletion.js +166 -0
  350. package/dist/vscode/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.js +161 -0
  351. package/dist/vscode/vs/workbench/contrib/tasks/common/taskService.js +3 -0
  352. package/dist/vscode/vs/workbench/contrib/testing/common/testId.js +109 -0
  353. package/dist/vscode/vs/workbench/contrib/testing/common/testItemCollection.js +75 -0
  354. package/dist/vscode/vs/workbench/contrib/testing/common/testTypes.js +7 -0
  355. package/dist/vscode/vs/workbench/contrib/typeHierarchy/common/typeHierarchy.js +133 -0
  356. package/dist/vscode/vs/workbench/services/actions/common/menusExtensionPoint.js +829 -0
  357. package/dist/vscode/vs/workbench/services/activity/common/activity.js +22 -0
  358. package/dist/vscode/vs/workbench/services/configuration/browser/configuration.js +847 -0
  359. package/dist/vscode/vs/workbench/services/configuration/browser/configurationService.js +1104 -0
  360. package/dist/{configuration2.js → vscode/vs/workbench/services/configuration/common/configuration.js} +1 -1
  361. package/dist/vscode/vs/workbench/services/configuration/common/configurationCache.js +80 -0
  362. package/dist/vscode/vs/workbench/services/configuration/common/configurationEditing.js +590 -0
  363. package/dist/vscode/vs/workbench/services/configuration/common/configurationModels.js +119 -0
  364. package/dist/vscode/vs/workbench/services/configuration/common/jsonEditing.js +9 -0
  365. package/dist/vscode/vs/workbench/services/configuration/common/jsonEditingService.js +119 -0
  366. package/dist/vscode/vs/workbench/services/configurationResolver/browser/baseConfigurationResolverService.js +303 -0
  367. package/dist/vscode/vs/workbench/services/configurationResolver/browser/configurationResolverService.js +26 -0
  368. package/dist/vscode/vs/workbench/services/configurationResolver/common/configurationResolver.js +36 -0
  369. package/dist/vscode/vs/workbench/services/configurationResolver/common/configurationResolverSchema.js +174 -0
  370. package/dist/vscode/vs/workbench/services/configurationResolver/common/configurationResolverUtils.js +10 -0
  371. package/dist/vscode/vs/workbench/services/configurationResolver/common/variableResolver.js +299 -0
  372. package/dist/vscode/vs/workbench/services/decorations/browser/decorationsService.js +312 -0
  373. package/dist/vscode/vs/workbench/services/decorations/common/decorations.js +3 -0
  374. package/dist/vscode/vs/workbench/services/dialogs/common/dialogService.js +65 -0
  375. package/dist/vscode/vs/workbench/services/editor/browser/codeEditorService.js +80 -0
  376. package/dist/vscode/vs/workbench/services/editor/common/editorGroupColumn.js +23 -0
  377. package/dist/vscode/vs/workbench/services/editor/common/editorGroupsService.js +14 -0
  378. package/dist/vscode/vs/workbench/services/editor/common/editorResolverService.js +31 -0
  379. package/dist/vscode/vs/workbench/services/editor/common/editorService.js +10 -0
  380. package/dist/vscode/vs/workbench/services/environment/browser/environmentService.js +4 -0
  381. package/dist/vscode/vs/workbench/services/environment/common/environmentService.js +4 -0
  382. package/dist/vscode/vs/workbench/services/extensionManagement/common/extensionManagement.js +6 -0
  383. package/dist/vscode/vs/workbench/services/extensions/common/extHostCustomers.js +40 -0
  384. package/dist/vscode/vs/workbench/services/extensions/common/extensionDescriptionRegistry.js +189 -0
  385. package/dist/vscode/vs/workbench/services/extensions/common/extensionDevOptions.js +23 -0
  386. package/dist/vscode/vs/workbench/services/extensions/common/extensionHostProtocol.js +6 -0
  387. package/dist/vscode/vs/workbench/services/extensions/common/extensions.js +57 -0
  388. package/dist/vscode/vs/workbench/services/extensions/common/extensionsApiProposals.js +74 -0
  389. package/dist/{extensionsRegistry.js → vscode/vs/workbench/services/extensions/common/extensionsRegistry.js} +87 -208
  390. package/dist/vscode/vs/workbench/services/extensions/common/lazyPromise.js +70 -0
  391. package/dist/vscode/vs/workbench/services/extensions/common/proxyIdentifier.js +23 -0
  392. package/dist/vscode/vs/workbench/services/extensions/common/remoteConsoleUtil.js +47 -0
  393. package/dist/vscode/vs/workbench/services/extensions/common/rpcProtocol.js +762 -0
  394. package/dist/vscode/vs/workbench/services/extensions/common/workspaceContains.js +92 -0
  395. package/dist/vscode/vs/workbench/services/files/browser/elevatedFileService.js +9 -0
  396. package/dist/vscode/vs/workbench/services/files/common/elevatedFileService.js +3 -0
  397. package/dist/vscode/vs/workbench/services/files/common/files.js +4 -0
  398. package/dist/vscode/vs/workbench/services/filesConfiguration/common/filesConfigurationService.js +124 -0
  399. package/dist/vscode/vs/workbench/services/history/common/history.js +3 -0
  400. package/dist/vscode/vs/workbench/services/host/browser/host.js +3 -0
  401. package/dist/vscode/vs/workbench/services/keybinding/browser/keybindingService.js +855 -0
  402. package/dist/vscode/vs/workbench/services/keybinding/browser/keyboardLayoutService.js +490 -0
  403. package/dist/vscode/vs/workbench/services/keybinding/browser/keyboardLayouts/cz.win.js +162 -0
  404. package/dist/vscode/vs/workbench/services/keybinding/browser/keyboardLayouts/de-swiss.win.js +162 -0
  405. package/dist/vscode/vs/workbench/services/keybinding/browser/keyboardLayouts/de.darwin.js +125 -0
  406. package/dist/vscode/vs/workbench/services/keybinding/browser/keyboardLayouts/de.linux.js +180 -0
  407. package/dist/vscode/vs/workbench/services/keybinding/browser/keyboardLayouts/de.win.js +162 -0
  408. package/dist/vscode/vs/workbench/services/keybinding/browser/keyboardLayouts/dk.win.js +162 -0
  409. package/dist/vscode/vs/workbench/services/keybinding/browser/keyboardLayouts/dvorak.darwin.js +125 -0
  410. package/dist/vscode/vs/workbench/services/keybinding/browser/keyboardLayouts/en-belgian.win.js +162 -0
  411. package/dist/vscode/vs/workbench/services/keybinding/browser/keyboardLayouts/en-ext.darwin.js +125 -0
  412. package/dist/vscode/vs/workbench/services/keybinding/browser/keyboardLayouts/en-in.win.js +162 -0
  413. package/dist/vscode/vs/workbench/services/keybinding/browser/keyboardLayouts/en-intl.darwin.js +125 -0
  414. package/dist/vscode/vs/workbench/services/keybinding/browser/keyboardLayouts/en-intl.win.js +162 -0
  415. package/dist/vscode/vs/workbench/services/keybinding/browser/keyboardLayouts/en-uk.darwin.js +125 -0
  416. package/dist/vscode/vs/workbench/services/keybinding/browser/keyboardLayouts/en-uk.win.js +162 -0
  417. package/dist/vscode/vs/workbench/services/keybinding/browser/keyboardLayouts/en.darwin.js +133 -0
  418. package/dist/vscode/vs/workbench/services/keybinding/browser/keyboardLayouts/en.linux.js +182 -0
  419. package/dist/vscode/vs/workbench/services/keybinding/browser/keyboardLayouts/en.win.js +167 -0
  420. package/dist/vscode/vs/workbench/services/keybinding/browser/keyboardLayouts/es-latin.win.js +162 -0
  421. package/dist/vscode/vs/workbench/services/keybinding/browser/keyboardLayouts/es.darwin.js +125 -0
  422. package/dist/vscode/vs/workbench/services/keybinding/browser/keyboardLayouts/es.linux.js +180 -0
  423. package/dist/vscode/vs/workbench/services/keybinding/browser/keyboardLayouts/es.win.js +162 -0
  424. package/dist/vscode/vs/workbench/services/keybinding/browser/keyboardLayouts/fr.darwin.js +125 -0
  425. package/dist/vscode/vs/workbench/services/keybinding/browser/keyboardLayouts/fr.linux.js +180 -0
  426. package/dist/vscode/vs/workbench/services/keybinding/browser/keyboardLayouts/fr.win.js +162 -0
  427. package/dist/vscode/vs/workbench/services/keybinding/browser/keyboardLayouts/hu.win.js +162 -0
  428. package/dist/vscode/vs/workbench/services/keybinding/browser/keyboardLayouts/it.darwin.js +125 -0
  429. package/dist/vscode/vs/workbench/services/keybinding/browser/keyboardLayouts/it.win.js +162 -0
  430. package/dist/vscode/vs/workbench/services/keybinding/browser/keyboardLayouts/jp-roman.darwin.js +125 -0
  431. package/dist/vscode/vs/workbench/services/keybinding/browser/keyboardLayouts/jp.darwin.js +125 -0
  432. package/dist/vscode/vs/workbench/services/keybinding/browser/keyboardLayouts/ko.darwin.js +125 -0
  433. package/dist/vscode/vs/workbench/services/keybinding/browser/keyboardLayouts/layout.contribution.darwin.js +17 -0
  434. package/dist/vscode/vs/workbench/services/keybinding/browser/keyboardLayouts/layout.contribution.linux.js +6 -0
  435. package/dist/vscode/vs/workbench/services/keybinding/browser/keyboardLayouts/layout.contribution.win.js +23 -0
  436. package/dist/vscode/vs/workbench/services/keybinding/browser/keyboardLayouts/no.win.js +162 -0
  437. package/dist/vscode/vs/workbench/services/keybinding/browser/keyboardLayouts/pl.darwin.js +125 -0
  438. package/dist/vscode/vs/workbench/services/keybinding/browser/keyboardLayouts/pl.win.js +162 -0
  439. package/dist/vscode/vs/workbench/services/keybinding/browser/keyboardLayouts/pt-br.win.js +162 -0
  440. package/dist/vscode/vs/workbench/services/keybinding/browser/keyboardLayouts/pt.darwin.js +125 -0
  441. package/dist/vscode/vs/workbench/services/keybinding/browser/keyboardLayouts/pt.win.js +162 -0
  442. package/dist/vscode/vs/workbench/services/keybinding/browser/keyboardLayouts/ru.darwin.js +125 -0
  443. package/dist/vscode/vs/workbench/services/keybinding/browser/keyboardLayouts/ru.linux.js +180 -0
  444. package/dist/vscode/vs/workbench/services/keybinding/browser/keyboardLayouts/ru.win.js +162 -0
  445. package/dist/vscode/vs/workbench/services/keybinding/browser/keyboardLayouts/sv.win.js +164 -0
  446. package/dist/vscode/vs/workbench/services/keybinding/browser/keyboardLayouts/thai.win.js +162 -0
  447. package/dist/vscode/vs/workbench/services/keybinding/browser/keyboardLayouts/tr.win.js +162 -0
  448. package/dist/vscode/vs/workbench/services/keybinding/browser/keyboardLayouts/zh-hans.darwin.js +125 -0
  449. package/dist/vscode/vs/workbench/services/keybinding/common/fallbackKeyboardMapper.js +28 -0
  450. package/dist/vscode/vs/workbench/services/keybinding/common/keybindingIO.js +72 -0
  451. package/dist/vscode/vs/workbench/services/keybinding/common/keymapInfo.js +108 -0
  452. package/dist/vscode/vs/workbench/services/keybinding/common/macLinuxKeyboardMapper.js +888 -0
  453. package/dist/vscode/vs/workbench/services/keybinding/common/windowsKeyboardMapper.js +350 -0
  454. package/dist/vscode/vs/workbench/services/label/common/labelService.js +302 -0
  455. package/dist/{languageService.js → vscode/vs/workbench/services/language/common/languageService.js} +8 -163
  456. package/dist/vscode/vs/workbench/services/languageDetection/common/languageDetectionWorkerService.js +5 -0
  457. package/dist/vscode/vs/workbench/services/languageStatus/common/languageStatusService.js +3 -0
  458. package/dist/vscode/vs/workbench/services/layout/browser/layoutService.js +12 -0
  459. package/dist/vscode/vs/workbench/services/lifecycle/common/lifecycle.js +11 -0
  460. package/dist/vscode/vs/workbench/services/lifecycle/common/lifecycleService.js +85 -0
  461. package/dist/vscode/vs/workbench/services/notification/common/notificationService.js +186 -0
  462. package/dist/vscode/vs/workbench/services/output/common/output.js +51 -0
  463. package/dist/vscode/vs/workbench/services/panecomposite/browser/panecomposite.js +3 -0
  464. package/dist/vscode/vs/workbench/services/path/browser/pathService.js +34 -0
  465. package/dist/vscode/vs/workbench/services/path/common/pathService.js +107 -0
  466. package/dist/vscode/vs/workbench/services/preferences/browser/keybindingsEditorInput.js +35 -0
  467. package/dist/vscode/vs/workbench/services/preferences/browser/keybindingsEditorModel.js +555 -0
  468. package/dist/vscode/vs/workbench/services/preferences/browser/preferencesService.js +547 -0
  469. package/dist/vscode/vs/workbench/services/preferences/common/preferences.js +20 -0
  470. package/dist/vscode/vs/workbench/services/preferences/common/preferencesEditorInput.js +37 -0
  471. package/dist/vscode/vs/workbench/services/preferences/common/preferencesModels.js +1031 -0
  472. package/dist/vscode/vs/workbench/services/preferences/common/preferencesValidation.js +357 -0
  473. package/dist/vscode/vs/workbench/services/progress/browser/progressIndicator.js +174 -0
  474. package/dist/vscode/vs/workbench/services/remote/common/remoteAgentService.js +3 -0
  475. package/dist/vscode/vs/workbench/services/search/common/queryBuilder.js +428 -0
  476. package/dist/vscode/vs/workbench/services/search/common/search.js +158 -0
  477. package/dist/vscode/vs/workbench/services/search/common/searchHelpers.js +72 -0
  478. package/dist/vscode/vs/workbench/services/search/common/searchService.js +355 -0
  479. package/dist/vscode/vs/workbench/services/textMate/browser/arrayOperation.js +62 -0
  480. package/dist/vscode/vs/workbench/services/textMate/browser/textMateTokenizationFeature.js +3 -0
  481. package/dist/vscode/vs/workbench/services/textMate/browser/textMateTokenizationFeatureImpl.js +422 -0
  482. package/dist/vscode/vs/workbench/services/textMate/browser/tokenizationSupport/textMateTokenizationSupport.js +60 -0
  483. package/dist/vscode/vs/workbench/services/textMate/browser/tokenizationSupport/tokenizationSupportWithLineLimit.js +36 -0
  484. package/dist/vscode/vs/workbench/services/textMate/browser/workerHost/textMateWorkerHost.js +198 -0
  485. package/dist/vscode/vs/workbench/services/textMate/browser/workerHost/textMateWorkerTokenizerController.js +151 -0
  486. package/dist/vscode/vs/workbench/services/textMate/common/TMGrammarFactory.js +117 -0
  487. package/dist/vscode/vs/workbench/services/textMate/common/TMGrammars.js +93 -0
  488. package/dist/vscode/vs/workbench/services/textMate/common/TMScopeRegistry.js +24 -0
  489. package/dist/vscode/vs/workbench/services/textfile/browser/browserTextFileService.js +55 -0
  490. package/dist/vscode/vs/workbench/services/textfile/browser/textFileService.js +578 -0
  491. package/dist/vscode/vs/workbench/services/textfile/common/encoding.js +493 -0
  492. package/dist/vscode/vs/workbench/services/textfile/common/textEditorService.js +150 -0
  493. package/dist/vscode/vs/workbench/services/textfile/common/textFileEditorModel.js +711 -0
  494. package/dist/vscode/vs/workbench/services/textfile/common/textFileEditorModelManager.js +401 -0
  495. package/dist/vscode/vs/workbench/services/textfile/common/textFileSaveParticipant.js +54 -0
  496. package/dist/vscode/vs/workbench/services/textfile/common/textfiles.js +45 -0
  497. package/dist/vscode/vs/workbench/services/textmodelResolver/common/textModelResolverService.js +187 -0
  498. package/dist/vscode/vs/workbench/services/themes/browser/browserHostColorSchemeService.js +37 -0
  499. package/dist/vscode/vs/workbench/services/themes/browser/fileIconThemeData.js +353 -0
  500. package/dist/vscode/vs/workbench/services/themes/browser/productIconThemeData.js +291 -0
  501. package/dist/vscode/vs/workbench/services/themes/browser/workbenchThemeService.js +736 -0
  502. package/dist/vscode/vs/workbench/services/themes/common/colorExtensionPoint.js +171 -0
  503. package/dist/vscode/vs/workbench/services/themes/common/colorThemeData.js +864 -0
  504. package/dist/vscode/vs/workbench/services/themes/common/colorThemeSchema.js +265 -0
  505. package/dist/vscode/vs/workbench/services/themes/common/fileIconThemeSchema.js +303 -0
  506. package/dist/vscode/vs/workbench/services/themes/common/hostColorSchemeService.js +3 -0
  507. package/dist/vscode/vs/workbench/services/themes/common/plistParser.js +439 -0
  508. package/dist/vscode/vs/workbench/services/themes/common/productIconThemeSchema.js +94 -0
  509. package/dist/vscode/vs/workbench/services/themes/common/textMateScopeMatcher.js +120 -0
  510. package/dist/vscode/vs/workbench/services/themes/common/themeCompatibility.js +66 -0
  511. package/dist/vscode/vs/workbench/services/themes/common/themeConfiguration.js +374 -0
  512. package/dist/vscode/vs/workbench/services/themes/common/themeExtensionPoints.js +258 -0
  513. package/dist/vscode/vs/workbench/services/themes/common/tokenClassificationExtensionPoint.js +268 -0
  514. package/dist/vscode/vs/workbench/services/themes/common/workbenchThemeService.js +46 -0
  515. package/dist/vscode/vs/workbench/services/timer/browser/timerService.js +3 -0
  516. package/dist/vscode/vs/workbench/services/untitled/common/untitledTextEditorInput.js +122 -0
  517. package/dist/vscode/vs/workbench/services/untitled/common/untitledTextEditorModel.js +240 -0
  518. package/dist/vscode/vs/workbench/services/untitled/common/untitledTextEditorService.js +3 -0
  519. package/dist/vscode/vs/workbench/services/userData/browser/userDataInit.js +3 -0
  520. package/dist/vscode/vs/workbench/services/userDataProfile/common/userDataProfile.js +7 -0
  521. package/dist/vscode/vs/workbench/services/userDataProfile/common/userDataProfileService.js +52 -0
  522. package/dist/vscode/vs/workbench/services/workingCopy/common/storedFileWorkingCopySaveParticipant.js +55 -0
  523. package/dist/vscode/vs/workbench/services/workingCopy/common/workingCopy.js +2 -0
  524. package/dist/vscode/vs/workbench/services/workingCopy/common/workingCopyBackup.js +3 -0
  525. package/dist/vscode/vs/workbench/services/workingCopy/common/workingCopyBackupService.js +414 -0
  526. package/dist/vscode/vs/workbench/services/workingCopy/common/workingCopyFileOperationParticipant.js +39 -0
  527. package/dist/vscode/vs/workbench/services/workingCopy/common/workingCopyFileService.js +181 -0
  528. package/dist/vscode/vs/workbench/services/workingCopy/common/workingCopyService.js +112 -0
  529. package/dist/vscode/vs/workbench/services/workspaces/browser/abstractWorkspaceEditingService.js +325 -0
  530. package/dist/vscode/vs/workbench/services/workspaces/browser/workspaces.js +11 -0
  531. package/dist/vscode/vs/workbench/services/workspaces/browser/workspacesService.js +154 -0
  532. package/dist/vscode/vs/workbench/services/workspaces/common/workspaceEditing.js +3 -0
  533. package/dist/vscode-default-extensions/bat/package.json.js +2 -0
  534. package/dist/vscode-default-extensions/clojure/package.json.js +2 -0
  535. package/dist/vscode-default-extensions/coffeescript/package.json.js +2 -0
  536. package/dist/vscode-default-extensions/cpp/package.json.js +2 -0
  537. package/dist/vscode-default-extensions/csharp/package.json.js +2 -0
  538. package/dist/vscode-default-extensions/css/package.json.js +2 -0
  539. package/dist/vscode-default-extensions/dart/package.json.js +2 -0
  540. package/dist/vscode-default-extensions/diff/package.json.js +2 -0
  541. package/dist/vscode-default-extensions/docker/package.json.js +2 -0
  542. package/dist/vscode-default-extensions/fsharp/package.json.js +2 -0
  543. package/dist/vscode-default-extensions/go/package.json.js +2 -0
  544. package/dist/vscode-default-extensions/groovy/package.json.js +2 -0
  545. package/dist/vscode-default-extensions/handlebars/package.json.js +2 -0
  546. package/dist/vscode-default-extensions/hlsl/package.json.js +2 -0
  547. package/dist/vscode-default-extensions/html/package.json.js +2 -0
  548. package/dist/vscode-default-extensions/ini/package.json.js +2 -0
  549. package/dist/vscode-default-extensions/java/package.json.js +2 -0
  550. package/dist/vscode-default-extensions/javascript/package.json.js +2 -0
  551. package/dist/vscode-default-extensions/json/package.json.js +2 -0
  552. package/dist/vscode-default-extensions/julia/package.json.js +2 -0
  553. package/dist/vscode-default-extensions/latex/package.json.js +2 -0
  554. package/dist/vscode-default-extensions/less/package.json.js +2 -0
  555. package/dist/vscode-default-extensions/log/package.json.js +2 -0
  556. package/dist/vscode-default-extensions/lua/package.json.js +2 -0
  557. package/dist/vscode-default-extensions/make/package.json.js +2 -0
  558. package/dist/vscode-default-extensions/markdown-basics/package.json.js +2 -0
  559. package/dist/vscode-default-extensions/objective-c/package.json.js +2 -0
  560. package/dist/vscode-default-extensions/perl/package.json.js +2 -0
  561. package/dist/vscode-default-extensions/php/package.json.js +2 -0
  562. package/dist/vscode-default-extensions/powershell/package.json.js +2 -0
  563. package/dist/vscode-default-extensions/pug/package.json.js +2 -0
  564. package/dist/vscode-default-extensions/python/package.json.js +2 -0
  565. package/dist/vscode-default-extensions/r/package.json.js +2 -0
  566. package/dist/vscode-default-extensions/razor/package.json.js +2 -0
  567. package/dist/vscode-default-extensions/ruby/package.json.js +2 -0
  568. package/dist/vscode-default-extensions/rust/package.json.js +2 -0
  569. package/dist/vscode-default-extensions/scss/package.json.js +2 -0
  570. package/dist/vscode-default-extensions/shaderlab/package.json.js +2 -0
  571. package/dist/vscode-default-extensions/shellscript/package.json.js +2 -0
  572. package/dist/vscode-default-extensions/sql/package.json.js +2 -0
  573. package/dist/vscode-default-extensions/swift/package.json.js +2 -0
  574. package/dist/vscode-default-extensions/theme-abyss/package.json.js +2 -0
  575. package/dist/vscode-default-extensions/theme-defaults/package.json.js +2 -0
  576. package/dist/vscode-default-extensions/theme-kimbie-dark/package.json.js +2 -0
  577. package/dist/vscode-default-extensions/theme-monokai/package.json.js +2 -0
  578. package/dist/vscode-default-extensions/theme-monokai-dimmed/package.json.js +2 -0
  579. package/dist/vscode-default-extensions/theme-quietlight/package.json.js +2 -0
  580. package/dist/vscode-default-extensions/theme-red/package.json.js +2 -0
  581. package/dist/vscode-default-extensions/theme-seti/package.json.js +2 -0
  582. package/dist/vscode-default-extensions/theme-solarized-dark/package.json.js +2 -0
  583. package/dist/vscode-default-extensions/theme-solarized-light/package.json.js +2 -0
  584. package/dist/vscode-default-extensions/theme-tomorrow-night-blue/package.json.js +2 -0
  585. package/dist/vscode-default-extensions/typescript-basics/package.json.js +2 -0
  586. package/dist/vscode-default-extensions/typescript-language-features/package.json.js +2 -0
  587. package/dist/vscode-default-extensions/vb/package.json.js +2 -0
  588. package/dist/vscode-default-extensions/xml/package.json.js +2 -0
  589. package/dist/vscode-default-extensions/yaml/package.json.js +2 -0
  590. package/dist/vscode-services/commands.js +37 -0
  591. package/dist/vscode-services/debug.js +74 -0
  592. package/dist/vscode-services/env.js +69 -0
  593. package/dist/vscode-services/extHost.js +385 -0
  594. package/dist/vscode-services/extensions.js +46 -0
  595. package/dist/vscode-services/languages.js +203 -0
  596. package/dist/vscode-services/missing-services.js +959 -0
  597. package/dist/vscode-services/window.js +189 -0
  598. package/dist/vscode-services/workspace.js +164 -0
  599. package/monaco-editor-treemending.patch +23574 -0
  600. package/monaco-treemending.js +3 -0
  601. package/package.json +57 -60
  602. package/dist/api2.js +0 -1294
  603. package/dist/audioCue.js +0 -805
  604. package/dist/button.js +0 -352
  605. package/dist/configuration.js +0 -4438
  606. package/dist/debug.js +0 -15673
  607. package/dist/dialogs.js +0 -752
  608. package/dist/dom.js +0 -101
  609. package/dist/files.js +0 -3167
  610. package/dist/keybindings.js +0 -4310
  611. package/dist/layout.contribution.darwin.js +0 -1994
  612. package/dist/layout.contribution.linux.js +0 -899
  613. package/dist/layout.contribution.win.js +0 -3551
  614. package/dist/modelEditor.js +0 -8893
  615. package/dist/notifications.js +0 -2302
  616. package/dist/platform.js +0 -105
  617. package/dist/polyfill.js +0 -55651
  618. package/dist/preferences.js +0 -2532
  619. package/dist/textmate.js +0 -1428
  620. package/dist/theme.js +0 -4116
  621. package/dist/utils.js +0 -345
  622. package/dist/webpack-loader.cjs +0 -18
  623. package/dist/webpack-loader.d.ts +0 -4
  624. package/dist/{iconv.js → override/iconv.js} +0 -0
  625. package/dist/{jschardet.js → override/jschardet.js} +0 -0
  626. package/dist/{audioCue.d.ts → service-override/audioCue.d.ts} +0 -0
  627. package/dist/{configuration.d.ts → service-override/configuration.d.ts} +0 -0
  628. package/dist/{debug.d.ts → service-override/debug.d.ts} +0 -0
  629. package/dist/{dialogs.d.ts → service-override/dialogs.d.ts} +0 -0
  630. package/dist/{files.d.ts → service-override/files.d.ts} +0 -0
  631. package/dist/{keybindings.d.ts → service-override/keybindings.d.ts} +0 -0
  632. package/dist/{languages.d.ts → service-override/languages.d.ts} +0 -0
  633. package/dist/{modelEditor.d.ts → service-override/modelEditor.d.ts} +0 -0
  634. package/dist/{notifications.d.ts → service-override/notifications.d.ts} +0 -0
  635. package/dist/{preferences.d.ts → service-override/preferences.d.ts} +0 -0
  636. package/dist/{snippets.d.ts → service-override/snippets.d.ts} +0 -0
  637. package/dist/{textmate.d.ts → service-override/textmate.d.ts} +0 -0
  638. package/dist/{theme.d.ts → service-override/theme.d.ts} +0 -0
  639. package/dist/{injection.js → tools/injection.js} +0 -0
  640. package/dist/{jsonErrorMessages.js → vscode/vs/base/common/jsonErrorMessages.js} +0 -0
  641. package/dist/{_.contribution.js → vscode/vs/workbench/services/keybinding/browser/keyboardLayouts/_.contribution.js} +0 -0
  642. package/dist/{unboundCommands.js → vscode/vs/workbench/services/keybinding/browser/unboundCommands.js} +2 -2
  643. /package/dist/{language-configuration.js → vscode-default-extensions/bat/language-configuration.json.js} +0 -0
  644. /package/dist/{batchfile.js → vscode-default-extensions/bat/snippets/batchfile.code-snippets.js} +0 -0
  645. /package/dist/{batchfile.tmLanguage.js → vscode-default-extensions/bat/syntaxes/batchfile.tmLanguage.json.js} +0 -0
  646. /package/dist/{language-configuration2.js → vscode-default-extensions/clojure/language-configuration.json.js} +0 -0
  647. /package/dist/{clojure.tmLanguage.js → vscode-default-extensions/clojure/syntaxes/clojure.tmLanguage.json.js} +0 -0
  648. /package/dist/{language-configuration3.js → vscode-default-extensions/coffeescript/language-configuration.json.js} +0 -0
  649. /package/dist/{coffeescript.js → vscode-default-extensions/coffeescript/snippets/coffeescript.code-snippets.js} +0 -0
  650. /package/dist/{coffeescript.tmLanguage.js → vscode-default-extensions/coffeescript/syntaxes/coffeescript.tmLanguage.json.js} +0 -0
  651. /package/dist/{language-configuration4.js → vscode-default-extensions/cpp/language-configuration.json.js} +0 -0
  652. /package/dist/{c.js → vscode-default-extensions/cpp/snippets/c.code-snippets.js} +0 -0
  653. /package/dist/{cpp.js → vscode-default-extensions/cpp/snippets/cpp.code-snippets.js} +0 -0
  654. /package/dist/{c.tmLanguage.js → vscode-default-extensions/cpp/syntaxes/c.tmLanguage.json.js} +0 -0
  655. /package/dist/{cpp.embedded.macro.tmLanguage.js → vscode-default-extensions/cpp/syntaxes/cpp.embedded.macro.tmLanguage.json.js} +0 -0
  656. /package/dist/{cpp.tmLanguage.js → vscode-default-extensions/cpp/syntaxes/cpp.tmLanguage.json.js} +0 -0
  657. /package/dist/{cuda-cpp.tmLanguage.js → vscode-default-extensions/cpp/syntaxes/cuda-cpp.tmLanguage.json.js} +0 -0
  658. /package/dist/{platform.tmLanguage.js → vscode-default-extensions/cpp/syntaxes/platform.tmLanguage.json.js} +0 -0
  659. /package/dist/{language-configuration5.js → vscode-default-extensions/csharp/language-configuration.json.js} +0 -0
  660. /package/dist/{csharp.js → vscode-default-extensions/csharp/snippets/csharp.code-snippets.js} +0 -0
  661. /package/dist/{csharp.tmLanguage.js → vscode-default-extensions/csharp/syntaxes/csharp.tmLanguage.json.js} +0 -0
  662. /package/dist/{language-configuration6.js → vscode-default-extensions/css/language-configuration.json.js} +0 -0
  663. /package/dist/{css.tmLanguage.js → vscode-default-extensions/css/syntaxes/css.tmLanguage.json.js} +0 -0
  664. /package/dist/{language-configuration7.js → vscode-default-extensions/dart/language-configuration.json.js} +0 -0
  665. /package/dist/{dart.tmLanguage.js → vscode-default-extensions/dart/syntaxes/dart.tmLanguage.json.js} +0 -0
  666. /package/dist/{language-configuration8.js → vscode-default-extensions/diff/language-configuration.json.js} +0 -0
  667. /package/dist/{diff.tmLanguage.js → vscode-default-extensions/diff/syntaxes/diff.tmLanguage.json.js} +0 -0
  668. /package/dist/{language-configuration9.js → vscode-default-extensions/docker/language-configuration.json.js} +0 -0
  669. /package/dist/{docker.tmLanguage.js → vscode-default-extensions/docker/syntaxes/docker.tmLanguage.json.js} +0 -0
  670. /package/dist/{language-configuration10.js → vscode-default-extensions/fsharp/language-configuration.json.js} +0 -0
  671. /package/dist/{fsharp.js → vscode-default-extensions/fsharp/snippets/fsharp.code-snippets.js} +0 -0
  672. /package/dist/{fsharp.tmLanguage.js → vscode-default-extensions/fsharp/syntaxes/fsharp.tmLanguage.json.js} +0 -0
  673. /package/dist/{language-configuration11.js → vscode-default-extensions/go/language-configuration.json.js} +0 -0
  674. /package/dist/{go.tmLanguage.js → vscode-default-extensions/go/syntaxes/go.tmLanguage.json.js} +0 -0
  675. /package/dist/{language-configuration12.js → vscode-default-extensions/groovy/language-configuration.json.js} +0 -0
  676. /package/dist/{groovy.js → vscode-default-extensions/groovy/snippets/groovy.code-snippets.js} +0 -0
  677. /package/dist/{groovy.tmLanguage.js → vscode-default-extensions/groovy/syntaxes/groovy.tmLanguage.json.js} +0 -0
  678. /package/dist/{language-configuration13.js → vscode-default-extensions/handlebars/language-configuration.json.js} +0 -0
  679. /package/dist/{Handlebars.tmLanguage.js → vscode-default-extensions/handlebars/syntaxes/Handlebars.tmLanguage.json.js} +0 -0
  680. /package/dist/{language-configuration14.js → vscode-default-extensions/hlsl/language-configuration.json.js} +0 -0
  681. /package/dist/{hlsl.tmLanguage.js → vscode-default-extensions/hlsl/syntaxes/hlsl.tmLanguage.json.js} +0 -0
  682. /package/dist/{language-configuration15.js → vscode-default-extensions/html/language-configuration.json.js} +0 -0
  683. /package/dist/{html.js → vscode-default-extensions/html/snippets/html.code-snippets.js} +0 -0
  684. /package/dist/{html-derivative.tmLanguage.js → vscode-default-extensions/html/syntaxes/html-derivative.tmLanguage.json.js} +0 -0
  685. /package/dist/{html.tmLanguage.js → vscode-default-extensions/html/syntaxes/html.tmLanguage.json.js} +0 -0
  686. /package/dist/{ini.language-configuration.js → vscode-default-extensions/ini/ini.language-configuration.json.js} +0 -0
  687. /package/dist/{properties.language-configuration.js → vscode-default-extensions/ini/properties.language-configuration.json.js} +0 -0
  688. /package/dist/{ini.tmLanguage.js → vscode-default-extensions/ini/syntaxes/ini.tmLanguage.json.js} +0 -0
  689. /package/dist/{language-configuration16.js → vscode-default-extensions/java/language-configuration.json.js} +0 -0
  690. /package/dist/{java.js → vscode-default-extensions/java/snippets/java.code-snippets.js} +0 -0
  691. /package/dist/{java.tmLanguage.js → vscode-default-extensions/java/syntaxes/java.tmLanguage.json.js} +0 -0
  692. /package/dist/{javascript-language-configuration.js → vscode-default-extensions/javascript/javascript-language-configuration.json.js} +0 -0
  693. /package/dist/{javascript.js → vscode-default-extensions/javascript/snippets/javascript.code-snippets.js} +0 -0
  694. /package/dist/{JavaScript.tmLanguage.js → vscode-default-extensions/javascript/syntaxes/JavaScript.tmLanguage.json.js} +0 -0
  695. /package/dist/{JavaScriptReact.tmLanguage.js → vscode-default-extensions/javascript/syntaxes/JavaScriptReact.tmLanguage.json.js} +0 -0
  696. /package/dist/{Regular Expressions (JavaScript).js → vscode-default-extensions/javascript/syntaxes/Regular Expressions (JavaScript).tmLanguage.js} +0 -0
  697. /package/dist/{tags-language-configuration.js → vscode-default-extensions/javascript/tags-language-configuration.json.js} +0 -0
  698. /package/dist/{language-configuration17.js → vscode-default-extensions/json/language-configuration.json.js} +0 -0
  699. /package/dist/{JSON.tmLanguage.js → vscode-default-extensions/json/syntaxes/JSON.tmLanguage.json.js} +0 -0
  700. /package/dist/{JSONC.tmLanguage.js → vscode-default-extensions/json/syntaxes/JSONC.tmLanguage.json.js} +0 -0
  701. /package/dist/{language-configuration18.js → vscode-default-extensions/julia/language-configuration.json.js} +0 -0
  702. /package/dist/{julia.tmLanguage.js → vscode-default-extensions/julia/syntaxes/julia.tmLanguage.json.js} +0 -0
  703. /package/dist/{latex-cpp-embedded-language-configuration.js → vscode-default-extensions/latex/latex-cpp-embedded-language-configuration.json.js} +0 -0
  704. /package/dist/{latex-language-configuration.js → vscode-default-extensions/latex/latex-language-configuration.json.js} +0 -0
  705. /package/dist/{markdown-latex-combined-language-configuration.js → vscode-default-extensions/latex/markdown-latex-combined-language-configuration.json.js} +0 -0
  706. /package/dist/{Bibtex.tmLanguage.js → vscode-default-extensions/latex/syntaxes/Bibtex.tmLanguage.json.js} +0 -0
  707. /package/dist/{LaTeX.tmLanguage.js → vscode-default-extensions/latex/syntaxes/LaTeX.tmLanguage.json.js} +0 -0
  708. /package/dist/{TeX.tmLanguage.js → vscode-default-extensions/latex/syntaxes/TeX.tmLanguage.json.js} +0 -0
  709. /package/dist/{cpp-grammar-bailout.tmLanguage.js → vscode-default-extensions/latex/syntaxes/cpp-grammar-bailout.tmLanguage.json.js} +0 -0
  710. /package/dist/{markdown-latex-combined.tmLanguage.js → vscode-default-extensions/latex/syntaxes/markdown-latex-combined.tmLanguage.json.js} +0 -0
  711. /package/dist/{language-configuration19.js → vscode-default-extensions/less/language-configuration.json.js} +0 -0
  712. /package/dist/{less.tmLanguage.js → vscode-default-extensions/less/syntaxes/less.tmLanguage.json.js} +0 -0
  713. /package/dist/{log.tmLanguage.js → vscode-default-extensions/log/syntaxes/log.tmLanguage.json.js} +0 -0
  714. /package/dist/{language-configuration20.js → vscode-default-extensions/lua/language-configuration.json.js} +0 -0
  715. /package/dist/{lua.tmLanguage.js → vscode-default-extensions/lua/syntaxes/lua.tmLanguage.json.js} +0 -0
  716. /package/dist/{language-configuration21.js → vscode-default-extensions/make/language-configuration.json.js} +0 -0
  717. /package/dist/{make.tmLanguage.js → vscode-default-extensions/make/syntaxes/make.tmLanguage.json.js} +0 -0
  718. /package/dist/{language-configuration22.js → vscode-default-extensions/markdown-basics/language-configuration.json.js} +0 -0
  719. /package/dist/{markdown.js → vscode-default-extensions/markdown-basics/snippets/markdown.code-snippets.js} +0 -0
  720. /package/dist/{markdown.tmLanguage.js → vscode-default-extensions/markdown-basics/syntaxes/markdown.tmLanguage.json.js} +0 -0
  721. /package/dist/{language-configuration23.js → vscode-default-extensions/objective-c/language-configuration.json.js} +0 -0
  722. /package/dist/{objective-c.tmLanguage.js → vscode-default-extensions/objective-c/syntaxes/objective-c.tmLanguage.json.js} +0 -0
  723. /package/dist/{objective-c__.tmLanguage.js → vscode-default-extensions/objective-c/syntaxes/objective-c__.tmLanguage.json.js} +0 -0
  724. /package/dist/{perl.language-configuration.js → vscode-default-extensions/perl/perl.language-configuration.json.js} +0 -0
  725. /package/dist/{perl6.language-configuration.js → vscode-default-extensions/perl/perl6.language-configuration.json.js} +0 -0
  726. /package/dist/{perl.tmLanguage.js → vscode-default-extensions/perl/syntaxes/perl.tmLanguage.json.js} +0 -0
  727. /package/dist/{perl6.tmLanguage.js → vscode-default-extensions/perl/syntaxes/perl6.tmLanguage.json.js} +0 -0
  728. /package/dist/{language-configuration24.js → vscode-default-extensions/php/language-configuration.json.js} +0 -0
  729. /package/dist/{php.js → vscode-default-extensions/php/snippets/php.code-snippets.js} +0 -0
  730. /package/dist/{html.tmLanguage2.js → vscode-default-extensions/php/syntaxes/html.tmLanguage.json.js} +0 -0
  731. /package/dist/{php.tmLanguage.js → vscode-default-extensions/php/syntaxes/php.tmLanguage.json.js} +0 -0
  732. /package/dist/{language-configuration25.js → vscode-default-extensions/powershell/language-configuration.json.js} +0 -0
  733. /package/dist/{powershell.tmLanguage.js → vscode-default-extensions/powershell/syntaxes/powershell.tmLanguage.json.js} +0 -0
  734. /package/dist/{language-configuration26.js → vscode-default-extensions/pug/language-configuration.json.js} +0 -0
  735. /package/dist/{pug.tmLanguage.js → vscode-default-extensions/pug/syntaxes/pug.tmLanguage.json.js} +0 -0
  736. /package/dist/{language-configuration27.js → vscode-default-extensions/python/language-configuration.json.js} +0 -0
  737. /package/dist/{MagicPython.tmLanguage.js → vscode-default-extensions/python/syntaxes/MagicPython.tmLanguage.json.js} +0 -0
  738. /package/dist/{MagicRegExp.tmLanguage.js → vscode-default-extensions/python/syntaxes/MagicRegExp.tmLanguage.json.js} +0 -0
  739. /package/dist/{language-configuration28.js → vscode-default-extensions/r/language-configuration.json.js} +0 -0
  740. /package/dist/{r.tmLanguage.js → vscode-default-extensions/r/syntaxes/r.tmLanguage.json.js} +0 -0
  741. /package/dist/{language-configuration29.js → vscode-default-extensions/razor/language-configuration.json.js} +0 -0
  742. /package/dist/{cshtml.tmLanguage.js → vscode-default-extensions/razor/syntaxes/cshtml.tmLanguage.json.js} +0 -0
  743. /package/dist/{language-configuration30.js → vscode-default-extensions/ruby/language-configuration.json.js} +0 -0
  744. /package/dist/{ruby.tmLanguage.js → vscode-default-extensions/ruby/syntaxes/ruby.tmLanguage.json.js} +0 -0
  745. /package/dist/{language-configuration31.js → vscode-default-extensions/rust/language-configuration.json.js} +0 -0
  746. /package/dist/{rust.tmLanguage.js → vscode-default-extensions/rust/syntaxes/rust.tmLanguage.json.js} +0 -0
  747. /package/dist/{language-configuration32.js → vscode-default-extensions/scss/language-configuration.json.js} +0 -0
  748. /package/dist/{sassdoc.tmLanguage.js → vscode-default-extensions/scss/syntaxes/sassdoc.tmLanguage.json.js} +0 -0
  749. /package/dist/{scss.tmLanguage.js → vscode-default-extensions/scss/syntaxes/scss.tmLanguage.json.js} +0 -0
  750. /package/dist/{language-configuration33.js → vscode-default-extensions/shaderlab/language-configuration.json.js} +0 -0
  751. /package/dist/{shaderlab.tmLanguage.js → vscode-default-extensions/shaderlab/syntaxes/shaderlab.tmLanguage.json.js} +0 -0
  752. /package/dist/{language-configuration34.js → vscode-default-extensions/shellscript/language-configuration.json.js} +0 -0
  753. /package/dist/{shell-unix-bash.tmLanguage.js → vscode-default-extensions/shellscript/syntaxes/shell-unix-bash.tmLanguage.json.js} +0 -0
  754. /package/dist/{language-configuration35.js → vscode-default-extensions/sql/language-configuration.json.js} +0 -0
  755. /package/dist/{sql.tmLanguage.js → vscode-default-extensions/sql/syntaxes/sql.tmLanguage.json.js} +0 -0
  756. /package/dist/{language-configuration36.js → vscode-default-extensions/swift/language-configuration.json.js} +0 -0
  757. /package/dist/{swift.js → vscode-default-extensions/swift/snippets/swift.code-snippets.js} +0 -0
  758. /package/dist/{swift.tmLanguage.js → vscode-default-extensions/swift/syntaxes/swift.tmLanguage.json.js} +0 -0
  759. /package/dist/{abyss-color-theme.js → vscode-default-extensions/theme-abyss/themes/abyss-color-theme.json.js} +0 -0
  760. /package/dist/{vs_minimal-icon-theme.js → vscode-default-extensions/theme-defaults/fileicons/vs_minimal-icon-theme.json.js} +0 -0
  761. /package/dist/{dark_plus.js → vscode-default-extensions/theme-defaults/themes/dark_plus.json.js} +0 -0
  762. /package/dist/{dark_plus_experimental.js → vscode-default-extensions/theme-defaults/themes/dark_plus_experimental.json.js} +0 -0
  763. /package/dist/{dark_vs.js → vscode-default-extensions/theme-defaults/themes/dark_vs.json.js} +0 -0
  764. /package/dist/{hc_black.js → vscode-default-extensions/theme-defaults/themes/hc_black.json.js} +0 -0
  765. /package/dist/{hc_light.js → vscode-default-extensions/theme-defaults/themes/hc_light.json.js} +0 -0
  766. /package/dist/{light_plus.js → vscode-default-extensions/theme-defaults/themes/light_plus.json.js} +0 -0
  767. /package/dist/{light_plus_experimental.js → vscode-default-extensions/theme-defaults/themes/light_plus_experimental.json.js} +0 -0
  768. /package/dist/{light_vs.js → vscode-default-extensions/theme-defaults/themes/light_vs.json.js} +0 -0
  769. /package/dist/{kimbie-dark-color-theme.js → vscode-default-extensions/theme-kimbie-dark/themes/kimbie-dark-color-theme.json.js} +0 -0
  770. /package/dist/{monokai-color-theme.js → vscode-default-extensions/theme-monokai/themes/monokai-color-theme.json.js} +0 -0
  771. /package/dist/{dimmed-monokai-color-theme.js → vscode-default-extensions/theme-monokai-dimmed/themes/dimmed-monokai-color-theme.json.js} +0 -0
  772. /package/dist/{quietlight-color-theme.js → vscode-default-extensions/theme-quietlight/themes/quietlight-color-theme.json.js} +0 -0
  773. /package/dist/{Red-color-theme.js → vscode-default-extensions/theme-red/themes/Red-color-theme.json.js} +0 -0
  774. /package/dist/{vs-seti-icon-theme.js → vscode-default-extensions/theme-seti/icons/vs-seti-icon-theme.json.js} +0 -0
  775. /package/dist/{solarized-dark-color-theme.js → vscode-default-extensions/theme-solarized-dark/themes/solarized-dark-color-theme.json.js} +0 -0
  776. /package/dist/{solarized-light-color-theme.js → vscode-default-extensions/theme-solarized-light/themes/solarized-light-color-theme.json.js} +0 -0
  777. /package/dist/{tomorrow-night-blue-color-theme.js → vscode-default-extensions/theme-tomorrow-night-blue/themes/tomorrow-night-blue-color-theme.json.js} +0 -0
  778. /package/dist/{language-configuration37.js → vscode-default-extensions/typescript-basics/language-configuration.json.js} +0 -0
  779. /package/dist/{typescript.js → vscode-default-extensions/typescript-basics/snippets/typescript.code-snippets.js} +0 -0
  780. /package/dist/{TypeScript.tmLanguage.js → vscode-default-extensions/typescript-basics/syntaxes/TypeScript.tmLanguage.json.js} +0 -0
  781. /package/dist/{TypeScriptReact.tmLanguage.js → vscode-default-extensions/typescript-basics/syntaxes/TypeScriptReact.tmLanguage.json.js} +0 -0
  782. /package/dist/{jsdoc.js.injection.tmLanguage.js → vscode-default-extensions/typescript-basics/syntaxes/jsdoc.js.injection.tmLanguage.json.js} +0 -0
  783. /package/dist/{jsdoc.ts.injection.tmLanguage.js → vscode-default-extensions/typescript-basics/syntaxes/jsdoc.ts.injection.tmLanguage.json.js} +0 -0
  784. /package/dist/{language-configuration38.js → vscode-default-extensions/vb/language-configuration.json.js} +0 -0
  785. /package/dist/{vb.js → vscode-default-extensions/vb/snippets/vb.code-snippets.js} +0 -0
  786. /package/dist/{asp-vb-net.tmlanguage.js → vscode-default-extensions/vb/syntaxes/asp-vb-net.tmlanguage.json.js} +0 -0
  787. /package/dist/{xml.tmLanguage.js → vscode-default-extensions/xml/syntaxes/xml.tmLanguage.json.js} +0 -0
  788. /package/dist/{xsl.tmLanguage.js → vscode-default-extensions/xml/syntaxes/xsl.tmLanguage.json.js} +0 -0
  789. /package/dist/{xml.language-configuration.js → vscode-default-extensions/xml/xml.language-configuration.json.js} +0 -0
  790. /package/dist/{xsl.language-configuration.js → vscode-default-extensions/xml/xsl.language-configuration.json.js} +0 -0
  791. /package/dist/{language-configuration39.js → vscode-default-extensions/yaml/language-configuration.json.js} +0 -0
  792. /package/dist/{yaml.tmLanguage.js → vscode-default-extensions/yaml/syntaxes/yaml.tmLanguage.json.js} +0 -0
@@ -0,0 +1,112 @@
1
+ import { createDecorator } from 'monaco-editor/esm/vs/platform/instantiation/common/instantiation.js';
2
+ import { Emitter } from 'monaco-editor/esm/vs/base/common/event.js';
3
+ import { URI } from 'monaco-editor/esm/vs/base/common/uri.js';
4
+ import { Disposable, toDisposable, dispose, DisposableStore } from 'monaco-editor/esm/vs/base/common/lifecycle.js';
5
+ import { ResourceMap } from 'monaco-editor/esm/vs/base/common/map.js';
6
+ const IWorkingCopyService = ( createDecorator('workingCopyService'));
7
+ class WorkingCopyService extends Disposable {
8
+ constructor() {
9
+ super(...arguments);
10
+ this._onDidRegister = this._register(( new Emitter()));
11
+ this.onDidRegister = this._onDidRegister.event;
12
+ this._onDidUnregister = this._register(( new Emitter()));
13
+ this.onDidUnregister = this._onDidUnregister.event;
14
+ this._onDidChangeDirty = this._register(( new Emitter()));
15
+ this.onDidChangeDirty = this._onDidChangeDirty.event;
16
+ this._onDidChangeContent = this._register(( new Emitter()));
17
+ this.onDidChangeContent = this._onDidChangeContent.event;
18
+ this._onDidSave = this._register(( new Emitter()));
19
+ this.onDidSave = this._onDidSave.event;
20
+ this._workingCopies = ( new Set());
21
+ this.mapResourceToWorkingCopies = ( new ResourceMap());
22
+ }
23
+ get workingCopies() { return Array.from(( this._workingCopies.values())); }
24
+ registerWorkingCopy(workingCopy) {
25
+ let workingCopiesForResource = this.mapResourceToWorkingCopies.get(workingCopy.resource);
26
+ if (workingCopiesForResource?.has(workingCopy.typeId)) {
27
+ throw new Error(`Cannot register more than one working copy with the same resource ${workingCopy.resource.toString()} and type ${workingCopy.typeId}.`);
28
+ }
29
+ this._workingCopies.add(workingCopy);
30
+ if (!workingCopiesForResource) {
31
+ workingCopiesForResource = ( new Map());
32
+ this.mapResourceToWorkingCopies.set(workingCopy.resource, workingCopiesForResource);
33
+ }
34
+ workingCopiesForResource.set(workingCopy.typeId, workingCopy);
35
+ const disposables = ( new DisposableStore());
36
+ disposables.add(workingCopy.onDidChangeContent(() => this._onDidChangeContent.fire(workingCopy)));
37
+ disposables.add(workingCopy.onDidChangeDirty(() => this._onDidChangeDirty.fire(workingCopy)));
38
+ disposables.add(workingCopy.onDidSave(e => this._onDidSave.fire({ workingCopy, ...e })));
39
+ this._onDidRegister.fire(workingCopy);
40
+ if (workingCopy.isDirty()) {
41
+ this._onDidChangeDirty.fire(workingCopy);
42
+ }
43
+ return toDisposable(() => {
44
+ this.unregisterWorkingCopy(workingCopy);
45
+ dispose(disposables);
46
+ this._onDidUnregister.fire(workingCopy);
47
+ });
48
+ }
49
+ unregisterWorkingCopy(workingCopy) {
50
+ this._workingCopies.delete(workingCopy);
51
+ const workingCopiesForResource = this.mapResourceToWorkingCopies.get(workingCopy.resource);
52
+ if (workingCopiesForResource?.delete(workingCopy.typeId) && workingCopiesForResource.size === 0) {
53
+ this.mapResourceToWorkingCopies.delete(workingCopy.resource);
54
+ }
55
+ if (workingCopy.isDirty()) {
56
+ this._onDidChangeDirty.fire(workingCopy);
57
+ }
58
+ }
59
+ has(resourceOrIdentifier) {
60
+ if (URI.isUri(resourceOrIdentifier)) {
61
+ return this.mapResourceToWorkingCopies.has(resourceOrIdentifier);
62
+ }
63
+ return this.mapResourceToWorkingCopies.get(resourceOrIdentifier.resource)?.has(resourceOrIdentifier.typeId) ?? false;
64
+ }
65
+ get(identifier) {
66
+ return this.mapResourceToWorkingCopies.get(identifier.resource)?.get(identifier.typeId);
67
+ }
68
+ getAll(resource) {
69
+ const workingCopies = this.mapResourceToWorkingCopies.get(resource);
70
+ if (!workingCopies) {
71
+ return undefined;
72
+ }
73
+ return Array.from(( workingCopies.values()));
74
+ }
75
+ get hasDirty() {
76
+ for (const workingCopy of this._workingCopies) {
77
+ if (workingCopy.isDirty()) {
78
+ return true;
79
+ }
80
+ }
81
+ return false;
82
+ }
83
+ get dirtyCount() {
84
+ let totalDirtyCount = 0;
85
+ for (const workingCopy of this._workingCopies) {
86
+ if (workingCopy.isDirty()) {
87
+ totalDirtyCount++;
88
+ }
89
+ }
90
+ return totalDirtyCount;
91
+ }
92
+ get dirtyWorkingCopies() {
93
+ return this.workingCopies.filter(workingCopy => workingCopy.isDirty());
94
+ }
95
+ isDirty(resource, typeId) {
96
+ const workingCopies = this.mapResourceToWorkingCopies.get(resource);
97
+ if (workingCopies) {
98
+ if (typeof typeId === 'string') {
99
+ return workingCopies.get(typeId)?.isDirty() ?? false;
100
+ }
101
+ else {
102
+ for (const [, workingCopy] of workingCopies) {
103
+ if (workingCopy.isDirty()) {
104
+ return true;
105
+ }
106
+ }
107
+ }
108
+ }
109
+ return false;
110
+ }
111
+ }
112
+ export { IWorkingCopyService, WorkingCopyService };
@@ -0,0 +1,325 @@
1
+ import { __decorate, __param } from '../../../../../../node_modules/tslib/tslib.es6.js';
2
+ import { localize } from 'monaco-editor/esm/vs/nls.js';
3
+ import { WORKSPACE_FILTER, hasWorkspaceFileExtension, WORKSPACE_EXTENSION, isSavedWorkspace, isUntitledWorkspace, toWorkspaceIdentifier, isWorkspaceIdentifier, IWorkspaceContextService } from 'monaco-editor/esm/vs/platform/workspace/common/workspace.js';
4
+ import { IJSONEditingService } from '../../configuration/common/jsonEditing.js';
5
+ import { rewriteWorkspaceFileForNewLocation, IWorkspacesService } from '../../../../platform/workspaces/common/workspaces.js';
6
+ import { Extensions } from 'monaco-editor/esm/vs/platform/configuration/common/configurationRegistry.js';
7
+ import { Registry } from 'monaco-editor/esm/vs/platform/registry/common/platform.js';
8
+ import { ICommandService } from 'monaco-editor/esm/vs/platform/commands/common/commands.js';
9
+ import { firstOrDefault, distinct } from 'monaco-editor/esm/vs/base/common/arrays.js';
10
+ import { joinPath, basename, isEqualAuthority, isEqual, removeTrailingPathSeparator } from 'monaco-editor/esm/vs/base/common/resources.js';
11
+ import { Severity, INotificationService } from 'monaco-editor/esm/vs/platform/notification/common/notification.js';
12
+ import { IFileService } from 'monaco-editor/esm/vs/platform/files/common/files.js';
13
+ import { IWorkbenchEnvironmentService } from '../../environment/common/environmentService.js';
14
+ import { IFileDialogService, IDialogService } from 'monaco-editor/esm/vs/platform/dialogs/common/dialogs.js';
15
+ import { mnemonicButtonLabel } from 'monaco-editor/esm/vs/base/common/labels.js';
16
+ import { ITextFileService } from '../../textfile/common/textfiles.js';
17
+ import { IHostService } from '../../host/browser/host.js';
18
+ import { Schemas } from 'monaco-editor/esm/vs/base/common/network.js';
19
+ import { IUriIdentityService } from 'monaco-editor/esm/vs/platform/uriIdentity/common/uriIdentity.js';
20
+ import { IWorkspaceTrustManagementService } from 'monaco-editor/esm/vs/platform/workspace/common/workspaceTrust.js';
21
+ import { IWorkbenchConfigurationService } from '../../configuration/common/configuration.js';
22
+ import { IUserDataProfilesService } from 'monaco-editor/esm/vs/platform/userDataProfile/common/userDataProfile.js';
23
+ import { IUserDataProfileService } from '../../userDataProfile/common/userDataProfile.js';
24
+ let AbstractWorkspaceEditingService = class AbstractWorkspaceEditingService {
25
+ constructor(jsonEditingService, contextService, configurationService, notificationService, commandService, fileService, textFileService, workspacesService, environmentService, fileDialogService, dialogService, hostService, uriIdentityService, workspaceTrustManagementService, userDataProfilesService, userDataProfileService) {
26
+ this.jsonEditingService = jsonEditingService;
27
+ this.contextService = contextService;
28
+ this.configurationService = configurationService;
29
+ this.notificationService = notificationService;
30
+ this.commandService = commandService;
31
+ this.fileService = fileService;
32
+ this.textFileService = textFileService;
33
+ this.workspacesService = workspacesService;
34
+ this.environmentService = environmentService;
35
+ this.fileDialogService = fileDialogService;
36
+ this.dialogService = dialogService;
37
+ this.hostService = hostService;
38
+ this.uriIdentityService = uriIdentityService;
39
+ this.workspaceTrustManagementService = workspaceTrustManagementService;
40
+ this.userDataProfilesService = userDataProfilesService;
41
+ this.userDataProfileService = userDataProfileService;
42
+ }
43
+ async pickNewWorkspacePath() {
44
+ const availableFileSystems = [Schemas.file];
45
+ if (this.environmentService.remoteAuthority) {
46
+ availableFileSystems.unshift(Schemas.vscodeRemote);
47
+ }
48
+ let workspacePath = await this.fileDialogService.showSaveDialog({
49
+ saveLabel: mnemonicButtonLabel(( localize('save', "Save"))),
50
+ title: ( localize('saveWorkspace', "Save Workspace")),
51
+ filters: WORKSPACE_FILTER,
52
+ defaultUri: joinPath(await this.fileDialogService.defaultWorkspacePath(), this.getNewWorkspaceName()),
53
+ availableFileSystems
54
+ });
55
+ if (!workspacePath) {
56
+ return;
57
+ }
58
+ if (!hasWorkspaceFileExtension(workspacePath)) {
59
+ workspacePath = workspacePath.with({ path: `${workspacePath.path}.${WORKSPACE_EXTENSION}` });
60
+ }
61
+ return workspacePath;
62
+ }
63
+ getNewWorkspaceName() {
64
+ const configPathURI = this.getCurrentWorkspaceIdentifier()?.configPath;
65
+ if (configPathURI && isSavedWorkspace(configPathURI, this.environmentService)) {
66
+ return basename(configPathURI);
67
+ }
68
+ const folder = firstOrDefault(this.contextService.getWorkspace().folders);
69
+ if (folder) {
70
+ return `${basename(folder.uri)}.${WORKSPACE_EXTENSION}`;
71
+ }
72
+ return `workspace.${WORKSPACE_EXTENSION}`;
73
+ }
74
+ async updateFolders(index, deleteCount, foldersToAddCandidates, donotNotifyError) {
75
+ const folders = this.contextService.getWorkspace().folders;
76
+ let foldersToDelete = [];
77
+ if (typeof deleteCount === 'number') {
78
+ foldersToDelete = ( folders.slice(index, index + deleteCount).map(folder => folder.uri));
79
+ }
80
+ let foldersToAdd = [];
81
+ if (Array.isArray(foldersToAddCandidates)) {
82
+ foldersToAdd = ( foldersToAddCandidates.map(
83
+ folderToAdd => ({ uri: removeTrailingPathSeparator(folderToAdd.uri), name: folderToAdd.name })
84
+ ));
85
+ }
86
+ const wantsToDelete = foldersToDelete.length > 0;
87
+ const wantsToAdd = foldersToAdd.length > 0;
88
+ if (!wantsToAdd && !wantsToDelete) {
89
+ return;
90
+ }
91
+ if (wantsToAdd && !wantsToDelete) {
92
+ return this.doAddFolders(foldersToAdd, index, donotNotifyError);
93
+ }
94
+ if (wantsToDelete && !wantsToAdd) {
95
+ return this.removeFolders(foldersToDelete);
96
+ }
97
+ else {
98
+ if (this.includesSingleFolderWorkspace(foldersToDelete)) {
99
+ return this.createAndEnterWorkspace(foldersToAdd);
100
+ }
101
+ if (this.contextService.getWorkbenchState() !== 3 ) {
102
+ return this.doAddFolders(foldersToAdd, index, donotNotifyError);
103
+ }
104
+ return this.doUpdateFolders(foldersToAdd, foldersToDelete, index, donotNotifyError);
105
+ }
106
+ }
107
+ async doUpdateFolders(foldersToAdd, foldersToDelete, index, donotNotifyError = false) {
108
+ try {
109
+ await this.contextService.updateFolders(foldersToAdd, foldersToDelete, index);
110
+ }
111
+ catch (error) {
112
+ if (donotNotifyError) {
113
+ throw error;
114
+ }
115
+ this.handleWorkspaceConfigurationEditingError(error);
116
+ }
117
+ }
118
+ addFolders(foldersToAddCandidates, donotNotifyError = false) {
119
+ const foldersToAdd = ( foldersToAddCandidates.map(
120
+ folderToAdd => ({ uri: removeTrailingPathSeparator(folderToAdd.uri), name: folderToAdd.name })
121
+ ));
122
+ return this.doAddFolders(foldersToAdd, undefined, donotNotifyError);
123
+ }
124
+ async doAddFolders(foldersToAdd, index, donotNotifyError = false) {
125
+ const state = this.contextService.getWorkbenchState();
126
+ const remoteAuthority = this.environmentService.remoteAuthority;
127
+ if (remoteAuthority) {
128
+ foldersToAdd = foldersToAdd.filter(folder => folder.uri.scheme !== Schemas.file && (folder.uri.scheme !== Schemas.vscodeRemote || isEqualAuthority(folder.uri.authority, remoteAuthority)));
129
+ }
130
+ if (state !== 3 ) {
131
+ let newWorkspaceFolders = ( this.contextService.getWorkspace().folders.map(folder => ({ uri: folder.uri })));
132
+ newWorkspaceFolders.splice(typeof index === 'number' ? index : newWorkspaceFolders.length, 0, ...foldersToAdd);
133
+ newWorkspaceFolders = distinct(newWorkspaceFolders, folder => this.uriIdentityService.extUri.getComparisonKey(folder.uri));
134
+ if (state === 1 && newWorkspaceFolders.length === 0 || state === 2 && newWorkspaceFolders.length === 1) {
135
+ return;
136
+ }
137
+ return this.createAndEnterWorkspace(newWorkspaceFolders);
138
+ }
139
+ try {
140
+ await this.contextService.addFolders(foldersToAdd, index);
141
+ }
142
+ catch (error) {
143
+ if (donotNotifyError) {
144
+ throw error;
145
+ }
146
+ this.handleWorkspaceConfigurationEditingError(error);
147
+ }
148
+ }
149
+ async removeFolders(foldersToRemove, donotNotifyError = false) {
150
+ if (this.includesSingleFolderWorkspace(foldersToRemove)) {
151
+ return this.createAndEnterWorkspace([]);
152
+ }
153
+ try {
154
+ await this.contextService.removeFolders(foldersToRemove);
155
+ }
156
+ catch (error) {
157
+ if (donotNotifyError) {
158
+ throw error;
159
+ }
160
+ this.handleWorkspaceConfigurationEditingError(error);
161
+ }
162
+ }
163
+ includesSingleFolderWorkspace(folders) {
164
+ if (this.contextService.getWorkbenchState() === 2 ) {
165
+ const workspaceFolder = this.contextService.getWorkspace().folders[0];
166
+ return ( folders.some(
167
+ folder => this.uriIdentityService.extUri.isEqual(folder, workspaceFolder.uri)
168
+ ));
169
+ }
170
+ return false;
171
+ }
172
+ async createAndEnterWorkspace(folders, path) {
173
+ if (path && !(await this.isValidTargetWorkspacePath(path))) {
174
+ return;
175
+ }
176
+ const remoteAuthority = this.environmentService.remoteAuthority;
177
+ const untitledWorkspace = await this.workspacesService.createUntitledWorkspace(folders, remoteAuthority);
178
+ if (path) {
179
+ try {
180
+ await this.saveWorkspaceAs(untitledWorkspace, path);
181
+ }
182
+ finally {
183
+ await this.workspacesService.deleteUntitledWorkspace(untitledWorkspace);
184
+ }
185
+ }
186
+ else {
187
+ path = untitledWorkspace.configPath;
188
+ if (!this.userDataProfileService.currentProfile.isDefault) {
189
+ await this.userDataProfilesService.setProfileForWorkspace(untitledWorkspace, this.userDataProfileService.currentProfile);
190
+ }
191
+ }
192
+ return this.enterWorkspace(path);
193
+ }
194
+ async saveAndEnterWorkspace(workspaceUri) {
195
+ const workspaceIdentifier = this.getCurrentWorkspaceIdentifier();
196
+ if (!workspaceIdentifier) {
197
+ return;
198
+ }
199
+ if (isEqual(workspaceIdentifier.configPath, workspaceUri)) {
200
+ return this.saveWorkspace(workspaceIdentifier);
201
+ }
202
+ if (!(await this.isValidTargetWorkspacePath(workspaceUri))) {
203
+ return;
204
+ }
205
+ await this.saveWorkspaceAs(workspaceIdentifier, workspaceUri);
206
+ return this.enterWorkspace(workspaceUri);
207
+ }
208
+ async isValidTargetWorkspacePath(workspaceUri) {
209
+ return true;
210
+ }
211
+ async saveWorkspaceAs(workspace, targetConfigPathURI) {
212
+ const configPathURI = workspace.configPath;
213
+ const isNotUntitledWorkspace = !isUntitledWorkspace(targetConfigPathURI, this.environmentService);
214
+ if (isNotUntitledWorkspace && !this.userDataProfileService.currentProfile.isDefault) {
215
+ const newWorkspace = await this.workspacesService.getWorkspaceIdentifier(targetConfigPathURI);
216
+ await this.userDataProfilesService.setProfileForWorkspace(newWorkspace, this.userDataProfileService.currentProfile);
217
+ }
218
+ if (this.uriIdentityService.extUri.isEqual(configPathURI, targetConfigPathURI)) {
219
+ return;
220
+ }
221
+ const isFromUntitledWorkspace = isUntitledWorkspace(configPathURI, this.environmentService);
222
+ const raw = await this.fileService.readFile(configPathURI);
223
+ const newRawWorkspaceContents = rewriteWorkspaceFileForNewLocation(( raw.value.toString()), configPathURI, isFromUntitledWorkspace, targetConfigPathURI, this.uriIdentityService.extUri);
224
+ await this.textFileService.create([{ resource: targetConfigPathURI, value: newRawWorkspaceContents, options: { overwrite: true } }]);
225
+ await this.trustWorkspaceConfiguration(targetConfigPathURI);
226
+ }
227
+ async saveWorkspace(workspace) {
228
+ const configPathURI = workspace.configPath;
229
+ const existingModel = this.textFileService.files.get(configPathURI);
230
+ if (existingModel) {
231
+ await existingModel.save({ force: true, reason: 1 });
232
+ return;
233
+ }
234
+ const workspaceFileExists = await this.fileService.exists(configPathURI);
235
+ if (workspaceFileExists) {
236
+ return;
237
+ }
238
+ const newWorkspace = { folders: [] };
239
+ const newRawWorkspaceContents = rewriteWorkspaceFileForNewLocation(JSON.stringify(newWorkspace, null, '\t'), configPathURI, false, configPathURI, this.uriIdentityService.extUri);
240
+ await this.textFileService.create([{ resource: configPathURI, value: newRawWorkspaceContents }]);
241
+ }
242
+ handleWorkspaceConfigurationEditingError(error) {
243
+ switch (error.code) {
244
+ case 0 :
245
+ this.onInvalidWorkspaceConfigurationFileError();
246
+ break;
247
+ default:
248
+ this.notificationService.error(error.message);
249
+ }
250
+ }
251
+ onInvalidWorkspaceConfigurationFileError() {
252
+ const message = ( localize(
253
+ 'errorInvalidTaskConfiguration',
254
+ "Unable to write into workspace configuration file. Please open the file to correct errors/warnings in it and try again."
255
+ ));
256
+ this.askToOpenWorkspaceConfigurationFile(message);
257
+ }
258
+ askToOpenWorkspaceConfigurationFile(message) {
259
+ this.notificationService.prompt(Severity.Error, message, [{
260
+ label: ( localize('openWorkspaceConfigurationFile', "Open Workspace Configuration")),
261
+ run: () => this.commandService.executeCommand('workbench.action.openWorkspaceConfigFile')
262
+ }]);
263
+ }
264
+ async doEnterWorkspace(workspaceUri) {
265
+ if (!!this.environmentService.extensionTestsLocationURI) {
266
+ throw new Error('Entering a new workspace is not possible in tests.');
267
+ }
268
+ const workspace = await this.workspacesService.getWorkspaceIdentifier(workspaceUri);
269
+ if (this.contextService.getWorkbenchState() === 2 ) {
270
+ await this.migrateWorkspaceSettings(workspace);
271
+ }
272
+ await this.configurationService.initialize(workspace);
273
+ return this.workspacesService.enterWorkspace(workspaceUri);
274
+ }
275
+ migrateWorkspaceSettings(toWorkspace) {
276
+ return this.doCopyWorkspaceSettings(toWorkspace, setting => setting.scope === 3 );
277
+ }
278
+ copyWorkspaceSettings(toWorkspace) {
279
+ return this.doCopyWorkspaceSettings(toWorkspace);
280
+ }
281
+ doCopyWorkspaceSettings(toWorkspace, filter) {
282
+ const configurationProperties = ( Registry.as(Extensions.Configuration)).getConfigurationProperties();
283
+ const targetWorkspaceConfiguration = {};
284
+ for (const key of ( this.configurationService.keys()).workspace) {
285
+ if (configurationProperties[key]) {
286
+ if (filter && !filter(configurationProperties[key])) {
287
+ continue;
288
+ }
289
+ targetWorkspaceConfiguration[key] = this.configurationService.inspect(key).workspaceValue;
290
+ }
291
+ }
292
+ return this.jsonEditingService.write(toWorkspace.configPath, [{ path: ['settings'], value: targetWorkspaceConfiguration }], true);
293
+ }
294
+ async trustWorkspaceConfiguration(configPathURI) {
295
+ if (this.contextService.getWorkbenchState() !== 1 && this.workspaceTrustManagementService.isWorkspaceTrusted()) {
296
+ await this.workspaceTrustManagementService.setUrisTrust([configPathURI], true);
297
+ }
298
+ }
299
+ getCurrentWorkspaceIdentifier() {
300
+ const identifier = toWorkspaceIdentifier(this.contextService.getWorkspace());
301
+ if (isWorkspaceIdentifier(identifier)) {
302
+ return identifier;
303
+ }
304
+ return undefined;
305
+ }
306
+ };
307
+ AbstractWorkspaceEditingService = ( __decorate([
308
+ ( __param(0, IJSONEditingService)),
309
+ ( __param(1, IWorkspaceContextService)),
310
+ ( __param(2, IWorkbenchConfigurationService)),
311
+ ( __param(3, INotificationService)),
312
+ ( __param(4, ICommandService)),
313
+ ( __param(5, IFileService)),
314
+ ( __param(6, ITextFileService)),
315
+ ( __param(7, IWorkspacesService)),
316
+ ( __param(8, IWorkbenchEnvironmentService)),
317
+ ( __param(9, IFileDialogService)),
318
+ ( __param(10, IDialogService)),
319
+ ( __param(11, IHostService)),
320
+ ( __param(12, IUriIdentityService)),
321
+ ( __param(13, IWorkspaceTrustManagementService)),
322
+ ( __param(14, IUserDataProfilesService)),
323
+ ( __param(15, IUserDataProfileService))
324
+ ], AbstractWorkspaceEditingService));
325
+ export { AbstractWorkspaceEditingService };
@@ -0,0 +1,11 @@
1
+ import { hash } from 'monaco-editor/esm/vs/base/common/hash.js';
2
+ function getWorkspaceIdentifier(workspaceUri) {
3
+ return {
4
+ id: getWorkspaceId(workspaceUri),
5
+ configPath: workspaceUri
6
+ };
7
+ }
8
+ function getWorkspaceId(uri) {
9
+ return ( hash(( uri.toString())).toString(16));
10
+ }
11
+ export { getWorkspaceIdentifier };
@@ -0,0 +1,154 @@
1
+ import { __decorate, __param } from '../../../../../../node_modules/tslib/tslib.es6.js';
2
+ import { restoreRecentlyOpened, isRecentFolder, isRecentWorkspace, isRecentFile, toStoreData, getStoredWorkspaceFolder } from '../../../../platform/workspaces/common/workspaces.js';
3
+ import { Emitter } from 'monaco-editor/esm/vs/base/common/event.js';
4
+ import { IStorageService } from 'monaco-editor/esm/vs/platform/storage/common/storage.js';
5
+ import { isTemporaryWorkspace, WORKSPACE_EXTENSION, IWorkspaceContextService } from 'monaco-editor/esm/vs/platform/workspace/common/workspace.js';
6
+ import { ILogService } from 'monaco-editor/esm/vs/platform/log/common/log.js';
7
+ import { Disposable } from 'monaco-editor/esm/vs/base/common/lifecycle.js';
8
+ import { getWorkspaceIdentifier } from './workspaces.js';
9
+ import { IFileService } from 'monaco-editor/esm/vs/platform/files/common/files.js';
10
+ import { IWorkbenchEnvironmentService } from '../../environment/common/environmentService.js';
11
+ import { joinPath } from 'monaco-editor/esm/vs/base/common/resources.js';
12
+ import { VSBuffer } from 'monaco-editor/esm/vs/base/common/buffer.js';
13
+ import { IUriIdentityService } from 'monaco-editor/esm/vs/platform/uriIdentity/common/uriIdentity.js';
14
+ import { Schemas } from 'monaco-editor/esm/vs/base/common/network.js';
15
+ let BrowserWorkspacesService = class BrowserWorkspacesService extends Disposable {
16
+ constructor(storageService, contextService, logService, fileService, environmentService, uriIdentityService) {
17
+ super();
18
+ this.storageService = storageService;
19
+ this.contextService = contextService;
20
+ this.logService = logService;
21
+ this.fileService = fileService;
22
+ this.environmentService = environmentService;
23
+ this.uriIdentityService = uriIdentityService;
24
+ this._onRecentlyOpenedChange = this._register(( new Emitter()));
25
+ this.onDidChangeRecentlyOpened = this._onRecentlyOpenedChange.event;
26
+ this.addWorkspaceToRecentlyOpened();
27
+ this.registerListeners();
28
+ }
29
+ registerListeners() {
30
+ this._register(this.storageService.onDidChangeValue(e => this.onDidChangeStorage(e)));
31
+ this._register(this.contextService.onDidChangeWorkspaceFolders(e => this.onDidChangeWorkspaceFolders(e)));
32
+ }
33
+ onDidChangeStorage(e) {
34
+ if (e.key === BrowserWorkspacesService.RECENTLY_OPENED_KEY && e.scope === -1 ) {
35
+ this._onRecentlyOpenedChange.fire();
36
+ }
37
+ }
38
+ onDidChangeWorkspaceFolders(e) {
39
+ if (!isTemporaryWorkspace(this.contextService.getWorkspace())) {
40
+ return;
41
+ }
42
+ for (const folder of e.added) {
43
+ this.addRecentlyOpened([{ folderUri: folder.uri }]);
44
+ }
45
+ }
46
+ addWorkspaceToRecentlyOpened() {
47
+ const workspace = this.contextService.getWorkspace();
48
+ const remoteAuthority = this.environmentService.remoteAuthority;
49
+ switch (this.contextService.getWorkbenchState()) {
50
+ case 2 :
51
+ this.addRecentlyOpened([{ folderUri: workspace.folders[0].uri, remoteAuthority }]);
52
+ break;
53
+ case 3 :
54
+ this.addRecentlyOpened([{ workspace: { id: workspace.id, configPath: workspace.configuration }, remoteAuthority }]);
55
+ break;
56
+ }
57
+ }
58
+ async getRecentlyOpened() {
59
+ const recentlyOpenedRaw = this.storageService.get(BrowserWorkspacesService.RECENTLY_OPENED_KEY, -1 );
60
+ if (recentlyOpenedRaw) {
61
+ const recentlyOpened = restoreRecentlyOpened(JSON.parse(recentlyOpenedRaw), this.logService);
62
+ recentlyOpened.workspaces = recentlyOpened.workspaces.filter(recent => {
63
+ if (isRecentFolder(recent) && recent.folderUri.scheme === Schemas.file && !isTemporaryWorkspace(this.contextService.getWorkspace())) {
64
+ return false;
65
+ }
66
+ if (isRecentWorkspace(recent) && isTemporaryWorkspace(recent.workspace.configPath)) {
67
+ return false;
68
+ }
69
+ return true;
70
+ });
71
+ return recentlyOpened;
72
+ }
73
+ return { workspaces: [], files: [] };
74
+ }
75
+ async addRecentlyOpened(recents) {
76
+ const recentlyOpened = await this.getRecentlyOpened();
77
+ for (const recent of recents) {
78
+ if (isRecentFile(recent)) {
79
+ this.doRemoveRecentlyOpened(recentlyOpened, [recent.fileUri]);
80
+ recentlyOpened.files.unshift(recent);
81
+ }
82
+ else if (isRecentFolder(recent)) {
83
+ this.doRemoveRecentlyOpened(recentlyOpened, [recent.folderUri]);
84
+ recentlyOpened.workspaces.unshift(recent);
85
+ }
86
+ else {
87
+ this.doRemoveRecentlyOpened(recentlyOpened, [recent.workspace.configPath]);
88
+ recentlyOpened.workspaces.unshift(recent);
89
+ }
90
+ }
91
+ return this.saveRecentlyOpened(recentlyOpened);
92
+ }
93
+ async removeRecentlyOpened(paths) {
94
+ const recentlyOpened = await this.getRecentlyOpened();
95
+ this.doRemoveRecentlyOpened(recentlyOpened, paths);
96
+ return this.saveRecentlyOpened(recentlyOpened);
97
+ }
98
+ doRemoveRecentlyOpened(recentlyOpened, paths) {
99
+ recentlyOpened.files = recentlyOpened.files.filter(file => {
100
+ return !( paths.some(path => ( path.toString()) === ( file.fileUri.toString())));
101
+ });
102
+ recentlyOpened.workspaces = recentlyOpened.workspaces.filter(workspace => {
103
+ return !( paths.some(path => ( path.toString()) === (isRecentFolder(workspace) ? ( workspace.folderUri.toString()) : ( workspace.workspace.configPath.toString()))));
104
+ });
105
+ }
106
+ async saveRecentlyOpened(data) {
107
+ return this.storageService.store(BrowserWorkspacesService.RECENTLY_OPENED_KEY, JSON.stringify(toStoreData(data)), -1 , 0 );
108
+ }
109
+ async clearRecentlyOpened() {
110
+ this.storageService.remove(BrowserWorkspacesService.RECENTLY_OPENED_KEY, -1 );
111
+ }
112
+ async enterWorkspace(workspaceUri) {
113
+ return { workspace: await this.getWorkspaceIdentifier(workspaceUri) };
114
+ }
115
+ async createUntitledWorkspace(folders, remoteAuthority) {
116
+ const randomId = ( (Date.now() + Math.round(Math.random() * 1000)).toString());
117
+ const newUntitledWorkspacePath = joinPath(this.environmentService.untitledWorkspacesHome, `Untitled-${randomId}.${WORKSPACE_EXTENSION}`);
118
+ const storedWorkspaceFolder = [];
119
+ if (folders) {
120
+ for (const folder of folders) {
121
+ storedWorkspaceFolder.push(getStoredWorkspaceFolder(folder.uri, true, folder.name, this.environmentService.untitledWorkspacesHome, this.uriIdentityService.extUri));
122
+ }
123
+ }
124
+ const storedWorkspace = { folders: storedWorkspaceFolder, remoteAuthority };
125
+ await this.fileService.writeFile(newUntitledWorkspacePath, VSBuffer.fromString(JSON.stringify(storedWorkspace, null, '\t')));
126
+ return this.getWorkspaceIdentifier(newUntitledWorkspacePath);
127
+ }
128
+ async deleteUntitledWorkspace(workspace) {
129
+ try {
130
+ await this.fileService.del(workspace.configPath);
131
+ }
132
+ catch (error) {
133
+ if (error.fileOperationResult !== 1 ) {
134
+ throw error;
135
+ }
136
+ }
137
+ }
138
+ async getWorkspaceIdentifier(workspaceUri) {
139
+ return getWorkspaceIdentifier(workspaceUri);
140
+ }
141
+ async getDirtyWorkspaces() {
142
+ return [];
143
+ }
144
+ };
145
+ BrowserWorkspacesService.RECENTLY_OPENED_KEY = 'recently.opened';
146
+ BrowserWorkspacesService = ( __decorate([
147
+ ( __param(0, IStorageService)),
148
+ ( __param(1, IWorkspaceContextService)),
149
+ ( __param(2, ILogService)),
150
+ ( __param(3, IFileService)),
151
+ ( __param(4, IWorkbenchEnvironmentService)),
152
+ ( __param(5, IUriIdentityService))
153
+ ], BrowserWorkspacesService));
154
+ export { BrowserWorkspacesService };
@@ -0,0 +1,3 @@
1
+ import { createDecorator } from 'monaco-editor/esm/vs/platform/instantiation/common/instantiation.js';
2
+ const IWorkspaceEditingService = ( createDecorator('workspaceEditingService'));
3
+ export { IWorkspaceEditingService };
@@ -0,0 +1,2 @@
1
+ var manifest = {name:"bat",displayName:"Windows Bat Language Basics",description:"Provides snippets, syntax highlighting, bracket matching and folding in Windows batch files.",version:"1.0.0",publisher:"vscode",license:"MIT",engines:{vscode:"^1.52.0"},scripts:{"update-grammar":"node ../node_modules/vscode-grammar-updater/bin mmims/language-batchfile grammars/batchfile.cson ./syntaxes/batchfile.tmLanguage.json"},contributes:{languages:[{id:"bat",extensions:[".bat",".cmd"],aliases:["Batch","bat"],configuration:"./language-configuration.json"}],grammars:[{language:"bat",scopeName:"source.batchfile",path:"./syntaxes/batchfile.tmLanguage.json"}],snippets:[{language:"bat",path:"./snippets/batchfile.code-snippets"}]},repository:{type:"git",url:"https://github.com/microsoft/vscode.git"}};
2
+ export { manifest as default };
@@ -0,0 +1,2 @@
1
+ var manifest = {name:"clojure",displayName:"Clojure Language Basics",description:"Provides syntax highlighting and bracket matching in Clojure files.",version:"1.0.0",publisher:"vscode",license:"MIT",engines:{vscode:"*"},scripts:{"update-grammar":"node ../node_modules/vscode-grammar-updater/bin atom/language-clojure grammars/clojure.cson ./syntaxes/clojure.tmLanguage.json"},contributes:{languages:[{id:"clojure",aliases:["Clojure","clojure"],extensions:[".clj",".cljs",".cljc",".cljx",".clojure",".edn"],configuration:"./language-configuration.json"}],grammars:[{language:"clojure",scopeName:"source.clojure",path:"./syntaxes/clojure.tmLanguage.json"}],configurationDefaults:{"[clojure]":{"diffEditor.ignoreTrimWhitespace":false}}},repository:{type:"git",url:"https://github.com/microsoft/vscode.git"}};
2
+ export { manifest as default };
@@ -0,0 +1,2 @@
1
+ var manifest = {name:"coffeescript",displayName:"CoffeeScript Language Basics",description:"Provides snippets, syntax highlighting, bracket matching and folding in CoffeeScript files.",version:"1.0.0",publisher:"vscode",license:"MIT",engines:{vscode:"*"},scripts:{"update-grammar":"node ../node_modules/vscode-grammar-updater/bin atom/language-coffee-script grammars/coffeescript.cson ./syntaxes/coffeescript.tmLanguage.json"},contributes:{languages:[{id:"coffeescript",extensions:[".coffee",".cson",".iced"],aliases:["CoffeeScript","coffeescript","coffee"],configuration:"./language-configuration.json"}],grammars:[{language:"coffeescript",scopeName:"source.coffee",path:"./syntaxes/coffeescript.tmLanguage.json"}],breakpoints:[{language:"coffeescript"}],snippets:[{language:"coffeescript",path:"./snippets/coffeescript.code-snippets"}],configurationDefaults:{"[coffeescript]":{"diffEditor.ignoreTrimWhitespace":false}}},repository:{type:"git",url:"https://github.com/microsoft/vscode.git"}};
2
+ export { manifest as default };
@@ -0,0 +1,2 @@
1
+ var manifest = {name:"cpp",displayName:"C/C++ Language Basics",description:"Provides snippets, syntax highlighting, bracket matching and folding in C/C++ files.",version:"1.0.0",publisher:"vscode",license:"MIT",engines:{vscode:"*"},scripts:{"update-grammar":"node ./build/update-grammars.js"},contributes:{languages:[{id:"c",extensions:[".c",".i"],aliases:["C","c"],configuration:"./language-configuration.json"},{id:"cpp",extensions:[".cpp",".cc",".cxx",".c++",".hpp",".hh",".hxx",".h++",".h",".ii",".ino",".inl",".ipp",".ixx",".tpp",".txx",".hpp.in",".h.in"],aliases:["C++","Cpp","cpp"],configuration:"./language-configuration.json"},{id:"cuda-cpp",extensions:[".cu",".cuh"],aliases:["CUDA C++"],configuration:"./language-configuration.json"}],grammars:[{language:"c",scopeName:"source.c",path:"./syntaxes/c.tmLanguage.json"},{language:"cpp",scopeName:"source.cpp.embedded.macro",path:"./syntaxes/cpp.embedded.macro.tmLanguage.json"},{language:"cpp",scopeName:"source.cpp",path:"./syntaxes/cpp.tmLanguage.json"},{scopeName:"source.c.platform",path:"./syntaxes/platform.tmLanguage.json"},{language:"cuda-cpp",scopeName:"source.cuda-cpp",path:"./syntaxes/cuda-cpp.tmLanguage.json"}],problemPatterns:[{name:"nvcc-location",regexp:"^(.*)\\((\\d+)\\):\\s+(warning|error):\\s+(.*)",kind:"location",file:1,location:2,severity:3,message:4}],problemMatchers:[{name:"nvcc",owner:"cuda-cpp",fileLocation:["relative","${workspaceFolder}"],pattern:"$nvcc-location"}],snippets:[{language:"c",path:"./snippets/c.code-snippets"},{language:"cpp",path:"./snippets/cpp.code-snippets"}]},repository:{type:"git",url:"https://github.com/microsoft/vscode.git"}};
2
+ export { manifest as default };
@@ -0,0 +1,2 @@
1
+ var manifest = {name:"csharp",displayName:"C# Language Basics",description:"Provides snippets, syntax highlighting, bracket matching and folding in C# files.",version:"1.0.0",publisher:"vscode",license:"MIT",engines:{vscode:"0.10.x"},scripts:{"update-grammar":"node ../node_modules/vscode-grammar-updater/bin dotnet/csharp-tmLanguage grammars/csharp.tmLanguage ./syntaxes/csharp.tmLanguage.json"},contributes:{configurationDefaults:{"[csharp]":{"editor.maxTokenizationLineLength":2500}},languages:[{id:"csharp",extensions:[".cs",".csx",".cake"],aliases:["C#","csharp"],configuration:"./language-configuration.json"}],grammars:[{language:"csharp",scopeName:"source.cs",path:"./syntaxes/csharp.tmLanguage.json"}],snippets:[{language:"csharp",path:"./snippets/csharp.code-snippets"}]},repository:{type:"git",url:"https://github.com/microsoft/vscode.git"}};
2
+ export { manifest as default };
@@ -0,0 +1,2 @@
1
+ var manifest = {name:"css",displayName:"CSS Language Basics",description:"Provides syntax highlighting and bracket matching for CSS, LESS and SCSS files.",version:"1.0.0",publisher:"vscode",license:"MIT",engines:{vscode:"0.10.x"},scripts:{"update-grammar":"node ../node_modules/vscode-grammar-updater/bin microsoft/vscode-css grammars/css.cson ./syntaxes/css.tmLanguage.json"},contributes:{languages:[{id:"css",aliases:["CSS","css"],extensions:[".css"],mimetypes:["text/css"],configuration:"./language-configuration.json"}],grammars:[{language:"css",scopeName:"source.css",path:"./syntaxes/css.tmLanguage.json",tokenTypes:{"meta.function.url string.quoted":"other"}}]},repository:{type:"git",url:"https://github.com/microsoft/vscode.git"}};
2
+ export { manifest as default };
@@ -0,0 +1,2 @@
1
+ var manifest = {name:"dart",displayName:"Dart Language Basics",description:"Provides syntax highlighting & bracket matching in Dart files.",version:"1.0.0",publisher:"vscode",license:"MIT",engines:{vscode:"0.10.x"},scripts:{"update-grammar":"node ../node_modules/vscode-grammar-updater/bin dart-lang/dart-syntax-highlight grammars/dart.json ./syntaxes/dart.tmLanguage.json"},contributes:{languages:[{id:"dart",extensions:[".dart"],aliases:["Dart"],configuration:"./language-configuration.json"}],grammars:[{language:"dart",scopeName:"source.dart",path:"./syntaxes/dart.tmLanguage.json"}]}};
2
+ export { manifest as default };
@@ -0,0 +1,2 @@
1
+ var manifest = {name:"diff",displayName:"Diff Language Basics",description:"Provides syntax highlighting & bracket matching in Diff files.",version:"1.0.0",publisher:"vscode",license:"MIT",engines:{vscode:"0.10.x"},scripts:{"update-grammar":"node ../node_modules/vscode-grammar-updater/bin textmate/diff.tmbundle Syntaxes/Diff.plist ./syntaxes/diff.tmLanguage.json"},contributes:{languages:[{id:"diff",aliases:["Diff","diff"],extensions:[".diff",".patch",".rej"],configuration:"./language-configuration.json"}],grammars:[{language:"diff",scopeName:"source.diff",path:"./syntaxes/diff.tmLanguage.json"}]}};
2
+ export { manifest as default };