@codingame/monaco-vscode-api 1.83.5 → 1.83.7

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 (213) hide show
  1. package/assets.js +3 -14
  2. package/lifecycle.js +3 -1
  3. package/missing-services.js +32 -28
  4. package/monaco-editor-treemending.patch +26330 -3867
  5. package/monaco.js +4 -0
  6. package/package.json +1 -1
  7. package/service-override/extensions.js +5 -5
  8. package/service-override/files.js +37 -13
  9. package/service-override/keybindings.js +10 -4
  10. package/service-override/layout.js +1 -3
  11. package/services.d.ts +13 -2
  12. package/services.js +35 -5
  13. package/vscode/src/vs/base/browser/broadcast.js +52 -0
  14. package/vscode/src/vs/base/browser/ui/menu/menubar.js +1 -1
  15. package/vscode/src/vs/base/browser/ui/splitview/paneview.js +6 -1
  16. package/vscode/src/vs/base/common/date.js +244 -54
  17. package/vscode/src/vs/base/common/jsonErrorMessages.js +45 -9
  18. package/vscode/src/vs/editor/common/services/textResourceConfiguration.d.ts +65 -0
  19. package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess.js +33 -5
  20. package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess.js +165 -32
  21. package/vscode/src/vs/platform/dialogs/common/dialogs.js +30 -9
  22. package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +0 -3
  23. package/vscode/src/vs/platform/extensionManagement/common/extensionNls.js +6 -1
  24. package/vscode/src/vs/platform/files/browser/indexedDBFileSystemProvider.js +404 -0
  25. package/vscode/src/vs/platform/files/common/fileService.js +13 -2
  26. package/vscode/src/vs/platform/files/common/files.js +25 -5
  27. package/vscode/src/vs/platform/keyboardLayout/common/keyboardConfig.js +15 -3
  28. package/vscode/src/vs/platform/quickinput/browser/commandsQuickAccess.js +38 -7
  29. package/vscode/src/vs/platform/quickinput/browser/helpQuickAccess.js +7 -1
  30. package/vscode/src/vs/platform/request/common/request.js +1 -1
  31. package/vscode/src/vs/platform/theme/common/tokenClassificationRegistry.js +210 -42
  32. package/vscode/src/vs/workbench/api/browser/mainThreadAuthentication.js +73 -13
  33. package/vscode/src/vs/workbench/api/browser/mainThreadComments.js +5 -1
  34. package/vscode/src/vs/workbench/api/browser/mainThreadCustomEditors.js +11 -2
  35. package/vscode/src/vs/workbench/api/browser/mainThreadEditSessionIdentityParticipant.js +5 -3
  36. package/vscode/src/vs/workbench/api/browser/mainThreadExtensionService.js +70 -35
  37. package/vscode/src/vs/workbench/api/browser/mainThreadFileSystemEventService.js +108 -20
  38. package/vscode/src/vs/workbench/api/browser/mainThreadMessageService.js +17 -4
  39. package/vscode/src/vs/workbench/api/browser/mainThreadNotebookSaveParticipant.js +5 -3
  40. package/vscode/src/vs/workbench/api/browser/mainThreadProgress.js +5 -5
  41. package/vscode/src/vs/workbench/api/browser/mainThreadSaveParticipant.js +5 -3
  42. package/vscode/src/vs/workbench/api/browser/mainThreadTask.js +7 -1
  43. package/vscode/src/vs/workbench/api/browser/mainThreadTunnelService.js +14 -2
  44. package/vscode/src/vs/workbench/api/browser/mainThreadUriOpeners.js +12 -14
  45. package/vscode/src/vs/workbench/api/browser/mainThreadWebviews.js +6 -1
  46. package/vscode/src/vs/workbench/api/browser/mainThreadWorkspace.js +32 -5
  47. package/vscode/src/vs/workbench/api/browser/statusBarExtensionPoint.js +0 -60
  48. package/vscode/src/vs/workbench/api/common/extHostChat.js +11 -2
  49. package/vscode/src/vs/workbench/api/common/extHostDiagnostics.js +6 -1
  50. package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +12 -2
  51. package/vscode/src/vs/workbench/api/common/extHostLogService.js +9 -1
  52. package/vscode/src/vs/workbench/api/common/extHostProgress.js +6 -1
  53. package/vscode/src/vs/workbench/api/common/extHostStatusBar.js +11 -2
  54. package/vscode/src/vs/workbench/api/common/extHostTelemetry.js +6 -1
  55. package/vscode/src/vs/workbench/api/common/extHostTerminalService.js +6 -1
  56. package/vscode/src/vs/workbench/api/common/extHostTunnelService.js +10 -2
  57. package/vscode/src/vs/workbench/api/common/extHostWorkspace.js +7 -1
  58. package/vscode/src/vs/workbench/api/common/jsonValidationExtensionPoint.js +49 -9
  59. package/vscode/src/vs/workbench/browser/actions/layoutActions.js +397 -274
  60. package/vscode/src/vs/workbench/browser/actions/quickAccessActions.js +30 -6
  61. package/vscode/src/vs/workbench/browser/actions/windowActions.js +85 -31
  62. package/vscode/src/vs/workbench/browser/actions/workspaceActions.js +56 -102
  63. package/vscode/src/vs/workbench/browser/actions/workspaceCommands.js +5 -1
  64. package/vscode/src/vs/workbench/browser/editor.js +2 -2
  65. package/vscode/src/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarActions.js +55 -11
  66. package/vscode/src/vs/workbench/browser/parts/compositeBarActions.js +63 -11
  67. package/vscode/src/vs/workbench/browser/parts/editor/binaryDiffEditor.js +7 -1
  68. package/vscode/src/vs/workbench/browser/parts/editor/binaryEditor.js +15 -3
  69. package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbs.js +205 -41
  70. package/vscode/src/vs/workbench/browser/parts/editor/editor.contribution.js +617 -139
  71. package/vscode/src/vs/workbench/browser/parts/editor/editorActions.js +578 -114
  72. package/vscode/src/vs/workbench/browser/parts/editor/editorCommands.js +96 -20
  73. package/vscode/src/vs/workbench/browser/parts/editor/editorConfiguration.js +30 -6
  74. package/vscode/src/vs/workbench/browser/parts/editor/editorPlaceholder.js +46 -9
  75. package/vscode/src/vs/workbench/browser/parts/editor/editorQuickAccess.js +30 -5
  76. package/vscode/src/vs/workbench/browser/parts/editor/editorStatus.js +309 -59
  77. package/vscode/src/vs/workbench/browser/parts/editor/sideBySideEditor.js +5 -1
  78. package/vscode/src/vs/workbench/browser/parts/editor/textCodeEditor.js +5 -1
  79. package/vscode/src/vs/workbench/browser/parts/editor/textDiffEditor.js +16 -3
  80. package/vscode/src/vs/workbench/browser/parts/editor/textEditor.js +1 -1
  81. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCommands.js +35 -7
  82. package/vscode/src/vs/workbench/browser/parts/panel/panelActions.js +185 -33
  83. package/vscode/src/vs/workbench/browser/parts/titlebar/menubarControl.js +90 -57
  84. package/vscode/src/vs/workbench/browser/parts/views/viewFilter.js +5 -1
  85. package/vscode/src/vs/workbench/browser/parts/views/viewPane.js +16 -3
  86. package/vscode/src/vs/workbench/browser/parts/views/viewPaneContainer.js +26 -6
  87. package/vscode/src/vs/workbench/browser/parts/views/viewsService.js +35 -6
  88. package/vscode/src/vs/workbench/browser/quickaccess.js +6 -6
  89. package/vscode/src/vs/workbench/browser/workbench.contribution.js +918 -185
  90. package/vscode/src/vs/workbench/common/configuration.js +25 -11
  91. package/vscode/src/vs/workbench/common/contextkeys.js +244 -228
  92. package/vscode/src/vs/workbench/common/editor/diffEditorInput.js +7 -1
  93. package/vscode/src/vs/workbench/common/editor/resourceEditorInput.d.ts +44 -0
  94. package/vscode/src/vs/workbench/common/editor/sideBySideEditorInput.js +7 -1
  95. package/vscode/src/vs/workbench/common/editor/textEditorModel.js +6 -1
  96. package/vscode/src/vs/workbench/common/editor/textResourceEditorInput.d.ts +23 -0
  97. package/vscode/src/vs/workbench/common/editor.d.ts +26 -1
  98. package/vscode/src/vs/workbench/common/editor.js +26 -5
  99. package/vscode/src/vs/workbench/common/theme.js +676 -136
  100. package/vscode/src/vs/workbench/common/views.js +8 -3
  101. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +71 -14
  102. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityContributions.js +21 -2
  103. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleView.js +133 -21
  104. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleViewActions.js +36 -8
  105. package/vscode/src/vs/workbench/contrib/bulkEdit/browser/bulkEditService.js +96 -17
  106. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatActions.js +0 -2
  107. package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.js +22 -4
  108. package/vscode/src/vs/workbench/contrib/chat/common/chatSlashCommands.js +22 -4
  109. package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +41 -8
  110. package/vscode/src/vs/workbench/contrib/codeActions/common/codeActionsExtensionPoint.js +25 -5
  111. package/vscode/src/vs/workbench/contrib/codeActions/common/documentationExtensionPoint.js +30 -6
  112. package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +34 -6
  113. package/vscode/src/vs/workbench/contrib/codeEditor/browser/editorFeatures.js +44 -0
  114. package/vscode/src/vs/workbench/contrib/codeEditor/browser/inspectEditorTokens/inspectEditorTokens.js +10 -2
  115. package/vscode/src/vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint.js +320 -63
  116. package/vscode/src/vs/workbench/contrib/codeEditor/browser/largeFileOptimizations.js +12 -4
  117. package/vscode/src/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoLineQuickAccess.js +15 -3
  118. package/vscode/src/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoSymbolQuickAccess.js +30 -6
  119. package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +25 -4
  120. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMinimap.js +10 -2
  121. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMultiCursorModifier.js +20 -4
  122. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderControlCharacter.js +10 -2
  123. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderWhitespace.js +10 -2
  124. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +25 -9
  125. package/vscode/src/vs/workbench/contrib/comments/browser/commentColors.js +30 -6
  126. package/vscode/src/vs/workbench/contrib/comments/browser/commentGlyphWidget.js +25 -5
  127. package/vscode/src/vs/workbench/contrib/comments/browser/commentNode.js +16 -3
  128. package/vscode/src/vs/workbench/contrib/comments/browser/commentReply.js +8 -4
  129. package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadBody.js +23 -3
  130. package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadHeader.js +15 -9
  131. package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadWidget.js +18 -3
  132. package/vscode/src/vs/workbench/contrib/comments/browser/comments.contribution.js +142 -26
  133. package/vscode/src/vs/workbench/contrib/comments/browser/commentsController.js +33 -5
  134. package/vscode/src/vs/workbench/contrib/comments/browser/commentsTreeViewer.js +45 -7
  135. package/vscode/src/vs/workbench/contrib/comments/browser/commentsView.js +63 -10
  136. package/vscode/src/vs/workbench/contrib/comments/browser/commentsViewActions.js +45 -9
  137. package/vscode/src/vs/workbench/contrib/comments/browser/reactionsAction.js +16 -8
  138. package/vscode/src/vs/workbench/contrib/comments/common/commentContextKeys.js +41 -21
  139. package/vscode/src/vs/workbench/contrib/comments/common/commentModel.js +5 -1
  140. package/vscode/src/vs/workbench/contrib/customEditor/common/customEditor.js +5 -1
  141. package/vscode/src/vs/workbench/contrib/debug/browser/debugColors.js +60 -12
  142. package/vscode/src/vs/workbench/contrib/debug/browser/debugIcons.js +275 -55
  143. package/vscode/src/vs/workbench/contrib/debug/common/abstractDebugAdapter.js +7 -1
  144. package/vscode/src/vs/workbench/contrib/debug/common/debug.js +255 -94
  145. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsIcons.js +120 -24
  146. package/vscode/src/vs/workbench/contrib/externalUriOpener/common/configuration.js +22 -4
  147. package/vscode/src/vs/workbench/contrib/externalUriOpener/common/externalUriOpenerService.js +21 -4
  148. package/vscode/src/vs/workbench/contrib/files/browser/explorerViewlet.js +39 -51
  149. package/vscode/src/vs/workbench/contrib/files/browser/fileActions.js +394 -75
  150. package/vscode/src/vs/workbench/contrib/files/browser/fileConstants.js +17 -6
  151. package/vscode/src/vs/workbench/contrib/files/browser/fileImportExport.js +190 -32
  152. package/vscode/src/vs/workbench/contrib/files/browser/views/emptyView.js +5 -1
  153. package/vscode/src/vs/workbench/contrib/files/browser/views/explorerDecorationsProvider.js +21 -4
  154. package/vscode/src/vs/workbench/contrib/files/browser/views/explorerView.js +26 -5
  155. package/vscode/src/vs/workbench/contrib/files/browser/views/explorerViewer.js +81 -14
  156. package/vscode/src/vs/workbench/contrib/files/browser/views/openEditorsView.js +26 -5
  157. package/vscode/src/vs/workbench/contrib/files/common/files.js +70 -26
  158. package/vscode/src/vs/workbench/contrib/folding/browser/folding.contribution.js +11 -3
  159. package/vscode/src/vs/workbench/contrib/format/browser/formatModified.js +5 -1
  160. package/vscode/src/vs/workbench/contrib/inlayHints/browser/inlayHintsAccessibilty.js +20 -4
  161. package/vscode/src/vs/workbench/contrib/inlineChat/common/inlineChat.js +75 -111
  162. package/vscode/src/vs/workbench/contrib/keybindings/browser/keybindings.contribution.js +5 -1
  163. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInput.js +6 -1
  164. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInputModel.js +151 -29
  165. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/mergeEditorModel.js +10 -2
  166. package/vscode/src/vs/workbench/contrib/mergeEditor/common/mergeEditor.js +0 -42
  167. package/vscode/src/vs/workbench/contrib/output/browser/output.contribution.js +115 -23
  168. package/vscode/src/vs/workbench/contrib/output/browser/outputView.js +17 -3
  169. package/vscode/src/vs/workbench/contrib/quickaccess/browser/commandsQuickAccess.js +49 -9
  170. package/vscode/src/vs/workbench/contrib/quickaccess/browser/quickAccess.contribution.js +66 -13
  171. package/vscode/src/vs/workbench/contrib/quickaccess/browser/viewQuickAccess.js +52 -10
  172. package/vscode/src/vs/workbench/contrib/scm/browser/dirtyDiffSwitcher.js +10 -2
  173. package/vscode/src/vs/workbench/contrib/scm/browser/dirtydiffDecorator.js +110 -26
  174. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCompletionProvider.js +21 -3
  175. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsFile.js +15 -3
  176. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsService.js +56 -9
  177. package/vscode/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.js +25 -5
  178. package/vscode/src/vs/workbench/contrib/tasks/common/taskService.js +16 -26
  179. package/vscode/src/vs/workbench/contrib/tasks/common/tasks.js +7 -8
  180. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalEditorInput.js +20 -4
  181. package/vscode/src/vs/workbench/contrib/terminal/common/terminal.js +35 -7
  182. package/vscode/src/vs/workbench/contrib/terminal/common/terminalColorRegistry.js +106 -21
  183. package/vscode/src/vs/workbench/contrib/terminal/common/terminalContextKey.js +81 -21
  184. package/vscode/src/vs/workbench/contrib/testing/common/testResult.js +6 -1
  185. package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditor.js +6 -2
  186. package/vscode/src/vs/workbench/services/actions/common/menusExtensionPoint.js +592 -112
  187. package/vscode/src/vs/workbench/services/assignment/common/assignmentService.js +5 -1
  188. package/vscode/src/vs/workbench/services/authentication/browser/authenticationService.js +6 -32
  189. package/vscode/src/vs/workbench/services/configuration/common/jsonEditingService.js +5 -1
  190. package/vscode/src/vs/workbench/services/decorations/browser/decorationsService.js +5 -1
  191. package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +5 -1
  192. package/vscode/src/vs/workbench/services/extensions/browser/extensionUrlHandler.js +15 -3
  193. package/vscode/src/vs/workbench/services/extensions/common/abstractExtensionService.js +58 -10
  194. package/vscode/src/vs/workbench/services/extensions/common/extensionHostManager.js +5 -1
  195. package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +392 -80
  196. package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.js +28 -5
  197. package/vscode/src/vs/workbench/services/host/browser/browserHostService.js +10 -2
  198. package/vscode/src/vs/workbench/services/keybinding/browser/keybindingService.js +129 -24
  199. package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayoutService.js +10 -2
  200. package/vscode/src/vs/workbench/services/keybinding/common/keybindingEditing.js +20 -10
  201. package/vscode/src/vs/workbench/services/language/common/languageService.js +122 -22
  202. package/vscode/src/vs/workbench/services/remote/common/tunnelModel.js +28 -9
  203. package/vscode/src/vs/workbench/services/search/common/queryBuilder.js +6 -1
  204. package/vscode/src/vs/workbench/services/textfile/browser/textFileService.js +48 -9
  205. package/vscode/src/vs/workbench/services/textfile/common/textFileEditorModel.js +5 -1
  206. package/vscode/src/vs/workbench/services/textfile/common/textFileEditorModelManager.js +7 -1
  207. package/vscode/src/vs/workbench/services/textfile/common/textFileSaveParticipant.js +6 -1
  208. package/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.js +81 -16
  209. package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +1 -50
  210. package/vscode/src/vs/workbench/services/themes/common/tokenClassificationExtensionPoint.js +126 -25
  211. package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfile.js +6 -5
  212. package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +6 -14
  213. package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopySaveParticipant.js +6 -1
@@ -98,8 +98,16 @@ const extensionKindSchema = {
98
98
  'workspace'
99
99
  ],
100
100
  enumDescriptions: [
101
- nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'ui', "UI extension kind. In a remote window, such extensions are enabled only when available on the local machine."),
102
- nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'workspace', "Workspace extension kind. In a remote window, such extensions are enabled only when available on the remote."),
101
+ ( nls.localizeWithPath(
102
+ 'vs/workbench/services/extensions/common/extensionsRegistry',
103
+ 'ui',
104
+ "UI extension kind. In a remote window, such extensions are enabled only when available on the local machine."
105
+ )),
106
+ ( nls.localizeWithPath(
107
+ 'vs/workbench/services/extensions/common/extensionsRegistry',
108
+ 'workspace',
109
+ "Workspace extension kind. In a remote window, such extensions are enabled only when available on the remote."
110
+ )),
103
111
  ],
104
112
  };
105
113
  const schemaId = 'vscode://schemas/vscode-extensions';
@@ -107,25 +115,45 @@ const schema = {
107
115
  properties: {
108
116
  engines: {
109
117
  type: 'object',
110
- description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.engines', "Engine compatibility."),
118
+ description: ( nls.localizeWithPath(
119
+ 'vs/workbench/services/extensions/common/extensionsRegistry',
120
+ 'vscode.extension.engines',
121
+ "Engine compatibility."
122
+ )),
111
123
  properties: {
112
124
  'vscode': {
113
125
  type: 'string',
114
- description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.engines.vscode', 'For VS Code extensions, specifies the VS Code version that the extension is compatible with. Cannot be *. For example: ^0.10.5 indicates compatibility with a minimum VS Code version of 0.10.5.'),
126
+ description: ( nls.localizeWithPath(
127
+ 'vs/workbench/services/extensions/common/extensionsRegistry',
128
+ 'vscode.extension.engines.vscode',
129
+ 'For VS Code extensions, specifies the VS Code version that the extension is compatible with. Cannot be *. For example: ^0.10.5 indicates compatibility with a minimum VS Code version of 0.10.5.'
130
+ )),
115
131
  default: '^1.22.0',
116
132
  }
117
133
  }
118
134
  },
119
135
  publisher: {
120
- description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.publisher', 'The publisher of the VS Code extension.'),
136
+ description: ( nls.localizeWithPath(
137
+ 'vs/workbench/services/extensions/common/extensionsRegistry',
138
+ 'vscode.extension.publisher',
139
+ 'The publisher of the VS Code extension.'
140
+ )),
121
141
  type: 'string'
122
142
  },
123
143
  displayName: {
124
- description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.displayName', 'The display name for the extension used in the VS Code gallery.'),
144
+ description: ( nls.localizeWithPath(
145
+ 'vs/workbench/services/extensions/common/extensionsRegistry',
146
+ 'vscode.extension.displayName',
147
+ 'The display name for the extension used in the VS Code gallery.'
148
+ )),
125
149
  type: 'string'
126
150
  },
127
151
  categories: {
128
- description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.categories', 'The categories used by the VS Code gallery to categorize the extension.'),
152
+ description: ( nls.localizeWithPath(
153
+ 'vs/workbench/services/extensions/common/extensionsRegistry',
154
+ 'vscode.extension.categories',
155
+ 'The categories used by the VS Code gallery to categorize the extension.'
156
+ )),
129
157
  type: 'array',
130
158
  uniqueItems: true,
131
159
  items: {
@@ -136,27 +164,47 @@ const schema = {
136
164
  {
137
165
  type: 'string',
138
166
  const: 'Languages',
139
- deprecationMessage: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.category.languages.deprecated', 'Use \'Programming Languages\' instead'),
167
+ deprecationMessage: ( nls.localizeWithPath(
168
+ 'vs/workbench/services/extensions/common/extensionsRegistry',
169
+ 'vscode.extension.category.languages.deprecated',
170
+ 'Use \'Programming Languages\' instead'
171
+ )),
140
172
  }]
141
173
  }
142
174
  },
143
175
  galleryBanner: {
144
176
  type: 'object',
145
- description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.galleryBanner', 'Banner used in the VS Code marketplace.'),
177
+ description: ( nls.localizeWithPath(
178
+ 'vs/workbench/services/extensions/common/extensionsRegistry',
179
+ 'vscode.extension.galleryBanner',
180
+ 'Banner used in the VS Code marketplace.'
181
+ )),
146
182
  properties: {
147
183
  color: {
148
- description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.galleryBanner.color', 'The banner color on the VS Code marketplace page header.'),
184
+ description: ( nls.localizeWithPath(
185
+ 'vs/workbench/services/extensions/common/extensionsRegistry',
186
+ 'vscode.extension.galleryBanner.color',
187
+ 'The banner color on the VS Code marketplace page header.'
188
+ )),
149
189
  type: 'string'
150
190
  },
151
191
  theme: {
152
- description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.galleryBanner.theme', 'The color theme for the font used in the banner.'),
192
+ description: ( nls.localizeWithPath(
193
+ 'vs/workbench/services/extensions/common/extensionsRegistry',
194
+ 'vscode.extension.galleryBanner.theme',
195
+ 'The color theme for the font used in the banner.'
196
+ )),
153
197
  type: 'string',
154
198
  enum: ['dark', 'light']
155
199
  }
156
200
  }
157
201
  },
158
202
  contributes: {
159
- description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.contributes', 'All contributions of the VS Code extension represented by this package.'),
203
+ description: ( nls.localizeWithPath(
204
+ 'vs/workbench/services/extensions/common/extensionsRegistry',
205
+ 'vscode.extension.contributes',
206
+ 'All contributions of the VS Code extension represented by this package.'
207
+ )),
160
208
  type: 'object',
161
209
  properties: {
162
210
  },
@@ -164,14 +212,26 @@ const schema = {
164
212
  },
165
213
  preview: {
166
214
  type: 'boolean',
167
- description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.preview', 'Sets the extension to be flagged as a Preview in the Marketplace.'),
215
+ description: ( nls.localizeWithPath(
216
+ 'vs/workbench/services/extensions/common/extensionsRegistry',
217
+ 'vscode.extension.preview',
218
+ 'Sets the extension to be flagged as a Preview in the Marketplace.'
219
+ )),
168
220
  },
169
221
  enableProposedApi: {
170
222
  type: 'boolean',
171
- deprecationMessage: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.enableProposedApi.deprecated', 'Use `enabledApiProposals` instead.'),
223
+ deprecationMessage: ( nls.localizeWithPath(
224
+ 'vs/workbench/services/extensions/common/extensionsRegistry',
225
+ 'vscode.extension.enableProposedApi.deprecated',
226
+ 'Use `enabledApiProposals` instead.'
227
+ )),
172
228
  },
173
229
  enabledApiProposals: {
174
- markdownDescription: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.enabledApiProposals', 'Enable API proposals to try them out. Only valid **during development**. Extensions **cannot be published** with this property. For more details visit: https://code.visualstudio.com/api/advanced-topics/using-proposed-api'),
230
+ markdownDescription: ( nls.localizeWithPath(
231
+ 'vs/workbench/services/extensions/common/extensionsRegistry',
232
+ 'vscode.extension.enabledApiProposals',
233
+ 'Enable API proposals to try them out. Only valid **during development**. Extensions **cannot be published** with this property. For more details visit: https://code.visualstudio.com/api/advanced-topics/using-proposed-api'
234
+ )),
175
235
  type: 'array',
176
236
  uniqueItems: true,
177
237
  items: {
@@ -181,142 +241,254 @@ const schema = {
181
241
  }
182
242
  },
183
243
  api: {
184
- markdownDescription: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.api', 'Describe the API provided by this extension. For more details visit: https://code.visualstudio.com/api/advanced-topics/remote-extensions#handling-dependencies-with-remote-extensions'),
244
+ markdownDescription: ( nls.localizeWithPath(
245
+ 'vs/workbench/services/extensions/common/extensionsRegistry',
246
+ 'vscode.extension.api',
247
+ 'Describe the API provided by this extension. For more details visit: https://code.visualstudio.com/api/advanced-topics/remote-extensions#handling-dependencies-with-remote-extensions'
248
+ )),
185
249
  type: 'string',
186
250
  enum: ['none'],
187
251
  enumDescriptions: [
188
- nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.api.none', "Give up entirely the ability to export any APIs. This allows other extensions that depend on this extension to run in a separate extension host process or in a remote machine.")
252
+ ( nls.localizeWithPath(
253
+ 'vs/workbench/services/extensions/common/extensionsRegistry',
254
+ 'vscode.extension.api.none',
255
+ "Give up entirely the ability to export any APIs. This allows other extensions that depend on this extension to run in a separate extension host process or in a remote machine."
256
+ ))
189
257
  ]
190
258
  },
191
259
  activationEvents: {
192
- description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.activationEvents', 'Activation events for the VS Code extension.'),
260
+ description: ( nls.localizeWithPath(
261
+ 'vs/workbench/services/extensions/common/extensionsRegistry',
262
+ 'vscode.extension.activationEvents',
263
+ 'Activation events for the VS Code extension.'
264
+ )),
193
265
  type: 'array',
194
266
  items: {
195
267
  type: 'string',
196
268
  defaultSnippets: [
197
269
  {
198
270
  label: 'onWebviewPanel',
199
- description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.activationEvents.onWebviewPanel', 'An activation event emmited when a webview is loaded of a certain viewType'),
271
+ description: ( nls.localizeWithPath(
272
+ 'vs/workbench/services/extensions/common/extensionsRegistry',
273
+ 'vscode.extension.activationEvents.onWebviewPanel',
274
+ 'An activation event emmited when a webview is loaded of a certain viewType'
275
+ )),
200
276
  body: 'onWebviewPanel:viewType'
201
277
  },
202
278
  {
203
279
  label: 'onLanguage',
204
- description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.activationEvents.onLanguage', 'An activation event emitted whenever a file that resolves to the specified language gets opened.'),
280
+ description: ( nls.localizeWithPath(
281
+ 'vs/workbench/services/extensions/common/extensionsRegistry',
282
+ 'vscode.extension.activationEvents.onLanguage',
283
+ 'An activation event emitted whenever a file that resolves to the specified language gets opened.'
284
+ )),
205
285
  body: 'onLanguage:${1:languageId}'
206
286
  },
207
287
  {
208
288
  label: 'onCommand',
209
- description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.activationEvents.onCommand', 'An activation event emitted whenever the specified command gets invoked.'),
289
+ description: ( nls.localizeWithPath(
290
+ 'vs/workbench/services/extensions/common/extensionsRegistry',
291
+ 'vscode.extension.activationEvents.onCommand',
292
+ 'An activation event emitted whenever the specified command gets invoked.'
293
+ )),
210
294
  body: 'onCommand:${2:commandId}'
211
295
  },
212
296
  {
213
297
  label: 'onDebug',
214
- description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.activationEvents.onDebug', 'An activation event emitted whenever a user is about to start debugging or about to setup debug configurations.'),
298
+ description: ( nls.localizeWithPath(
299
+ 'vs/workbench/services/extensions/common/extensionsRegistry',
300
+ 'vscode.extension.activationEvents.onDebug',
301
+ 'An activation event emitted whenever a user is about to start debugging or about to setup debug configurations.'
302
+ )),
215
303
  body: 'onDebug'
216
304
  },
217
305
  {
218
306
  label: 'onDebugInitialConfigurations',
219
- description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.activationEvents.onDebugInitialConfigurations', 'An activation event emitted whenever a "launch.json" needs to be created (and all provideDebugConfigurations methods need to be called).'),
307
+ description: ( nls.localizeWithPath(
308
+ 'vs/workbench/services/extensions/common/extensionsRegistry',
309
+ 'vscode.extension.activationEvents.onDebugInitialConfigurations',
310
+ 'An activation event emitted whenever a "launch.json" needs to be created (and all provideDebugConfigurations methods need to be called).'
311
+ )),
220
312
  body: 'onDebugInitialConfigurations'
221
313
  },
222
314
  {
223
315
  label: 'onDebugDynamicConfigurations',
224
- description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.activationEvents.onDebugDynamicConfigurations', 'An activation event emitted whenever a list of all debug configurations needs to be created (and all provideDebugConfigurations methods for the "dynamic" scope need to be called).'),
316
+ description: ( nls.localizeWithPath(
317
+ 'vs/workbench/services/extensions/common/extensionsRegistry',
318
+ 'vscode.extension.activationEvents.onDebugDynamicConfigurations',
319
+ 'An activation event emitted whenever a list of all debug configurations needs to be created (and all provideDebugConfigurations methods for the "dynamic" scope need to be called).'
320
+ )),
225
321
  body: 'onDebugDynamicConfigurations'
226
322
  },
227
323
  {
228
324
  label: 'onDebugResolve',
229
- description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.activationEvents.onDebugResolve', 'An activation event emitted whenever a debug session with the specific type is about to be launched (and a corresponding resolveDebugConfiguration method needs to be called).'),
325
+ description: ( nls.localizeWithPath(
326
+ 'vs/workbench/services/extensions/common/extensionsRegistry',
327
+ 'vscode.extension.activationEvents.onDebugResolve',
328
+ 'An activation event emitted whenever a debug session with the specific type is about to be launched (and a corresponding resolveDebugConfiguration method needs to be called).'
329
+ )),
230
330
  body: 'onDebugResolve:${6:type}'
231
331
  },
232
332
  {
233
333
  label: 'onDebugAdapterProtocolTracker',
234
- description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.activationEvents.onDebugAdapterProtocolTracker', 'An activation event emitted whenever a debug session with the specific type is about to be launched and a debug protocol tracker might be needed.'),
334
+ description: ( nls.localizeWithPath(
335
+ 'vs/workbench/services/extensions/common/extensionsRegistry',
336
+ 'vscode.extension.activationEvents.onDebugAdapterProtocolTracker',
337
+ 'An activation event emitted whenever a debug session with the specific type is about to be launched and a debug protocol tracker might be needed.'
338
+ )),
235
339
  body: 'onDebugAdapterProtocolTracker:${6:type}'
236
340
  },
237
341
  {
238
342
  label: 'workspaceContains',
239
- description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.activationEvents.workspaceContains', 'An activation event emitted whenever a folder is opened that contains at least a file matching the specified glob pattern.'),
343
+ description: ( nls.localizeWithPath(
344
+ 'vs/workbench/services/extensions/common/extensionsRegistry',
345
+ 'vscode.extension.activationEvents.workspaceContains',
346
+ 'An activation event emitted whenever a folder is opened that contains at least a file matching the specified glob pattern.'
347
+ )),
240
348
  body: 'workspaceContains:${4:filePattern}'
241
349
  },
242
350
  {
243
351
  label: 'onStartupFinished',
244
- description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.activationEvents.onStartupFinished', 'An activation event emitted after the start-up finished (after all `*` activated extensions have finished activating).'),
352
+ description: ( nls.localizeWithPath(
353
+ 'vs/workbench/services/extensions/common/extensionsRegistry',
354
+ 'vscode.extension.activationEvents.onStartupFinished',
355
+ 'An activation event emitted after the start-up finished (after all `*` activated extensions have finished activating).'
356
+ )),
245
357
  body: 'onStartupFinished'
246
358
  },
247
359
  {
248
360
  label: 'onTaskType',
249
- description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.activationEvents.onTaskType', 'An activation event emitted whenever tasks of a certain type need to be listed or resolved.'),
361
+ description: ( nls.localizeWithPath(
362
+ 'vs/workbench/services/extensions/common/extensionsRegistry',
363
+ 'vscode.extension.activationEvents.onTaskType',
364
+ 'An activation event emitted whenever tasks of a certain type need to be listed or resolved.'
365
+ )),
250
366
  body: 'onTaskType:${1:taskType}'
251
367
  },
252
368
  {
253
369
  label: 'onFileSystem',
254
- description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.activationEvents.onFileSystem', 'An activation event emitted whenever a file or folder is accessed with the given scheme.'),
370
+ description: ( nls.localizeWithPath(
371
+ 'vs/workbench/services/extensions/common/extensionsRegistry',
372
+ 'vscode.extension.activationEvents.onFileSystem',
373
+ 'An activation event emitted whenever a file or folder is accessed with the given scheme.'
374
+ )),
255
375
  body: 'onFileSystem:${1:scheme}'
256
376
  },
257
377
  {
258
378
  label: 'onEditSession',
259
- description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.activationEvents.onEditSession', 'An activation event emitted whenever an edit session is accessed with the given scheme.'),
379
+ description: ( nls.localizeWithPath(
380
+ 'vs/workbench/services/extensions/common/extensionsRegistry',
381
+ 'vscode.extension.activationEvents.onEditSession',
382
+ 'An activation event emitted whenever an edit session is accessed with the given scheme.'
383
+ )),
260
384
  body: 'onEditSession:${1:scheme}'
261
385
  },
262
386
  {
263
387
  label: 'onSearch',
264
- description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.activationEvents.onSearch', 'An activation event emitted whenever a search is started in the folder with the given scheme.'),
388
+ description: ( nls.localizeWithPath(
389
+ 'vs/workbench/services/extensions/common/extensionsRegistry',
390
+ 'vscode.extension.activationEvents.onSearch',
391
+ 'An activation event emitted whenever a search is started in the folder with the given scheme.'
392
+ )),
265
393
  body: 'onSearch:${7:scheme}'
266
394
  },
267
395
  {
268
396
  label: 'onView',
269
397
  body: 'onView:${5:viewId}',
270
- description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.activationEvents.onView', 'An activation event emitted whenever the specified view is expanded.'),
398
+ description: ( nls.localizeWithPath(
399
+ 'vs/workbench/services/extensions/common/extensionsRegistry',
400
+ 'vscode.extension.activationEvents.onView',
401
+ 'An activation event emitted whenever the specified view is expanded.'
402
+ )),
271
403
  },
272
404
  {
273
405
  label: 'onUri',
274
406
  body: 'onUri',
275
- description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.activationEvents.onUri', 'An activation event emitted whenever a system-wide Uri directed towards this extension is open.'),
407
+ description: ( nls.localizeWithPath(
408
+ 'vs/workbench/services/extensions/common/extensionsRegistry',
409
+ 'vscode.extension.activationEvents.onUri',
410
+ 'An activation event emitted whenever a system-wide Uri directed towards this extension is open.'
411
+ )),
276
412
  },
277
413
  {
278
414
  label: 'onOpenExternalUri',
279
415
  body: 'onOpenExternalUri',
280
- description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.activationEvents.onOpenExternalUri', 'An activation event emitted whenever a external uri (such as an http or https link) is being opened.'),
416
+ description: ( nls.localizeWithPath(
417
+ 'vs/workbench/services/extensions/common/extensionsRegistry',
418
+ 'vscode.extension.activationEvents.onOpenExternalUri',
419
+ 'An activation event emitted whenever a external uri (such as an http or https link) is being opened.'
420
+ )),
281
421
  },
282
422
  {
283
423
  label: 'onCustomEditor',
284
424
  body: 'onCustomEditor:${9:viewType}',
285
- description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.activationEvents.onCustomEditor', 'An activation event emitted whenever the specified custom editor becomes visible.'),
425
+ description: ( nls.localizeWithPath(
426
+ 'vs/workbench/services/extensions/common/extensionsRegistry',
427
+ 'vscode.extension.activationEvents.onCustomEditor',
428
+ 'An activation event emitted whenever the specified custom editor becomes visible.'
429
+ )),
286
430
  },
287
431
  {
288
432
  label: 'onNotebook',
289
433
  body: 'onNotebook:${1:type}',
290
- description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.activationEvents.onNotebook', 'An activation event emitted whenever the specified notebook document is opened.'),
434
+ description: ( nls.localizeWithPath(
435
+ 'vs/workbench/services/extensions/common/extensionsRegistry',
436
+ 'vscode.extension.activationEvents.onNotebook',
437
+ 'An activation event emitted whenever the specified notebook document is opened.'
438
+ )),
291
439
  },
292
440
  {
293
441
  label: 'onAuthenticationRequest',
294
442
  body: 'onAuthenticationRequest:${11:authenticationProviderId}',
295
- description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.activationEvents.onAuthenticationRequest', 'An activation event emitted whenever sessions are requested from the specified authentication provider.')
443
+ description: ( nls.localizeWithPath(
444
+ 'vs/workbench/services/extensions/common/extensionsRegistry',
445
+ 'vscode.extension.activationEvents.onAuthenticationRequest',
446
+ 'An activation event emitted whenever sessions are requested from the specified authentication provider.'
447
+ ))
296
448
  },
297
449
  {
298
450
  label: 'onRenderer',
299
- description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.activationEvents.onRenderer', 'An activation event emitted whenever a notebook output renderer is used.'),
451
+ description: ( nls.localizeWithPath(
452
+ 'vs/workbench/services/extensions/common/extensionsRegistry',
453
+ 'vscode.extension.activationEvents.onRenderer',
454
+ 'An activation event emitted whenever a notebook output renderer is used.'
455
+ )),
300
456
  body: 'onRenderer:${11:rendererId}'
301
457
  },
302
458
  {
303
459
  label: 'onTerminalProfile',
304
460
  body: 'onTerminalProfile:${1:terminalId}',
305
- description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.activationEvents.onTerminalProfile', 'An activation event emitted when a specific terminal profile is launched.'),
461
+ description: ( nls.localizeWithPath(
462
+ 'vs/workbench/services/extensions/common/extensionsRegistry',
463
+ 'vscode.extension.activationEvents.onTerminalProfile',
464
+ 'An activation event emitted when a specific terminal profile is launched.'
465
+ )),
306
466
  },
307
467
  {
308
468
  label: 'onTerminalQuickFixRequest',
309
469
  body: 'onTerminalQuickFixRequest:${1:quickFixId}',
310
- description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.activationEvents.onTerminalQuickFixRequest', 'An activation event emitted when a command matches the selector associated with this ID'),
470
+ description: ( nls.localizeWithPath(
471
+ 'vs/workbench/services/extensions/common/extensionsRegistry',
472
+ 'vscode.extension.activationEvents.onTerminalQuickFixRequest',
473
+ 'An activation event emitted when a command matches the selector associated with this ID'
474
+ )),
311
475
  },
312
476
  {
313
477
  label: 'onWalkthrough',
314
478
  body: 'onWalkthrough:${1:walkthroughID}',
315
- description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.activationEvents.onWalkthrough', 'An activation event emitted when a specified walkthrough is opened.'),
479
+ description: ( nls.localizeWithPath(
480
+ 'vs/workbench/services/extensions/common/extensionsRegistry',
481
+ 'vscode.extension.activationEvents.onWalkthrough',
482
+ 'An activation event emitted when a specified walkthrough is opened.'
483
+ )),
316
484
  },
317
485
  {
318
486
  label: '*',
319
- description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.activationEvents.star', 'An activation event emitted on VS Code startup. To ensure a great end user experience, please use this activation event in your extension only when no other activation events combination works in your use-case.'),
487
+ description: ( nls.localizeWithPath(
488
+ 'vs/workbench/services/extensions/common/extensionsRegistry',
489
+ 'vscode.extension.activationEvents.star',
490
+ 'An activation event emitted on VS Code startup. To ensure a great end user experience, please use this activation event in your extension only when no other activation events combination works in your use-case.'
491
+ )),
320
492
  body: '*'
321
493
  }
322
494
  ],
@@ -324,35 +496,59 @@ const schema = {
324
496
  },
325
497
  badges: {
326
498
  type: 'array',
327
- description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.badges', 'Array of badges to display in the sidebar of the Marketplace\'s extension page.'),
499
+ description: ( nls.localizeWithPath(
500
+ 'vs/workbench/services/extensions/common/extensionsRegistry',
501
+ 'vscode.extension.badges',
502
+ 'Array of badges to display in the sidebar of the Marketplace\'s extension page.'
503
+ )),
328
504
  items: {
329
505
  type: 'object',
330
506
  required: ['url', 'href', 'description'],
331
507
  properties: {
332
508
  url: {
333
509
  type: 'string',
334
- description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.badges.url', 'Badge image URL.')
510
+ description: ( nls.localizeWithPath(
511
+ 'vs/workbench/services/extensions/common/extensionsRegistry',
512
+ 'vscode.extension.badges.url',
513
+ 'Badge image URL.'
514
+ ))
335
515
  },
336
516
  href: {
337
517
  type: 'string',
338
- description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.badges.href', 'Badge link.')
518
+ description: ( nls.localizeWithPath(
519
+ 'vs/workbench/services/extensions/common/extensionsRegistry',
520
+ 'vscode.extension.badges.href',
521
+ 'Badge link.'
522
+ ))
339
523
  },
340
524
  description: {
341
525
  type: 'string',
342
- description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.badges.description', 'Badge description.')
526
+ description: ( nls.localizeWithPath(
527
+ 'vs/workbench/services/extensions/common/extensionsRegistry',
528
+ 'vscode.extension.badges.description',
529
+ 'Badge description.'
530
+ ))
343
531
  }
344
532
  }
345
533
  }
346
534
  },
347
535
  markdown: {
348
536
  type: 'string',
349
- description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.markdown', "Controls the Markdown rendering engine used in the Marketplace. Either github (default) or standard."),
537
+ description: ( nls.localizeWithPath(
538
+ 'vs/workbench/services/extensions/common/extensionsRegistry',
539
+ 'vscode.extension.markdown',
540
+ "Controls the Markdown rendering engine used in the Marketplace. Either github (default) or standard."
541
+ )),
350
542
  enum: ['github', 'standard'],
351
543
  default: 'github'
352
544
  },
353
545
  qna: {
354
546
  default: 'marketplace',
355
- description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.qna', "Controls the Q&A link in the Marketplace. Set to marketplace to enable the default Marketplace Q & A site. Set to a string to provide the URL of a custom Q & A site. Set to false to disable Q & A altogether."),
547
+ description: ( nls.localizeWithPath(
548
+ 'vs/workbench/services/extensions/common/extensionsRegistry',
549
+ 'vscode.extension.qna',
550
+ "Controls the Q&A link in the Marketplace. Set to marketplace to enable the default Marketplace Q & A site. Set to a string to provide the URL of a custom Q & A site. Set to false to disable Q & A altogether."
551
+ )),
356
552
  anyOf: [
357
553
  {
358
554
  type: ['string', 'boolean'],
@@ -364,7 +560,11 @@ const schema = {
364
560
  ]
365
561
  },
366
562
  extensionDependencies: {
367
- description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.extensionDependencies', 'Dependencies to other extensions. The identifier of an extension is always ${publisher}.${name}. For example: vscode.csharp.'),
563
+ description: ( nls.localizeWithPath(
564
+ 'vs/workbench/services/extensions/common/extensionsRegistry',
565
+ 'vscode.extension.extensionDependencies',
566
+ 'Dependencies to other extensions. The identifier of an extension is always ${publisher}.${name}. For example: vscode.csharp.'
567
+ )),
368
568
  type: 'array',
369
569
  uniqueItems: true,
370
570
  items: {
@@ -373,7 +573,11 @@ const schema = {
373
573
  }
374
574
  },
375
575
  extensionPack: {
376
- description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.contributes.extensionPack', "A set of extensions that can be installed together. The identifier of an extension is always ${publisher}.${name}. For example: vscode.csharp."),
576
+ description: ( nls.localizeWithPath(
577
+ 'vs/workbench/services/extensions/common/extensionsRegistry',
578
+ 'vscode.extension.contributes.extensionPack',
579
+ "A set of extensions that can be installed together. The identifier of an extension is always ${publisher}.${name}. For example: vscode.csharp."
580
+ )),
377
581
  type: 'array',
378
582
  uniqueItems: true,
379
583
  items: {
@@ -382,39 +586,71 @@ const schema = {
382
586
  }
383
587
  },
384
588
  extensionKind: {
385
- description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'extensionKind', "Define the kind of an extension. `ui` extensions are installed and run on the local machine while `workspace` extensions run on the remote."),
589
+ description: ( nls.localizeWithPath(
590
+ 'vs/workbench/services/extensions/common/extensionsRegistry',
591
+ 'extensionKind',
592
+ "Define the kind of an extension. `ui` extensions are installed and run on the local machine while `workspace` extensions run on the remote."
593
+ )),
386
594
  type: 'array',
387
595
  items: extensionKindSchema,
388
596
  default: ['workspace'],
389
597
  defaultSnippets: [
390
598
  {
391
599
  body: ['ui'],
392
- description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'extensionKind.ui', "Define an extension which can run only on the local machine when connected to remote window.")
600
+ description: ( nls.localizeWithPath(
601
+ 'vs/workbench/services/extensions/common/extensionsRegistry',
602
+ 'extensionKind.ui',
603
+ "Define an extension which can run only on the local machine when connected to remote window."
604
+ ))
393
605
  },
394
606
  {
395
607
  body: ['workspace'],
396
- description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'extensionKind.workspace', "Define an extension which can run only on the remote machine when connected remote window.")
608
+ description: ( nls.localizeWithPath(
609
+ 'vs/workbench/services/extensions/common/extensionsRegistry',
610
+ 'extensionKind.workspace',
611
+ "Define an extension which can run only on the remote machine when connected remote window."
612
+ ))
397
613
  },
398
614
  {
399
615
  body: ['ui', 'workspace'],
400
- description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'extensionKind.ui-workspace', "Define an extension which can run on either side, with a preference towards running on the local machine.")
616
+ description: ( nls.localizeWithPath(
617
+ 'vs/workbench/services/extensions/common/extensionsRegistry',
618
+ 'extensionKind.ui-workspace',
619
+ "Define an extension which can run on either side, with a preference towards running on the local machine."
620
+ ))
401
621
  },
402
622
  {
403
623
  body: ['workspace', 'ui'],
404
- description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'extensionKind.workspace-ui', "Define an extension which can run on either side, with a preference towards running on the remote machine.")
624
+ description: ( nls.localizeWithPath(
625
+ 'vs/workbench/services/extensions/common/extensionsRegistry',
626
+ 'extensionKind.workspace-ui',
627
+ "Define an extension which can run on either side, with a preference towards running on the remote machine."
628
+ ))
405
629
  },
406
630
  {
407
631
  body: [],
408
- description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'extensionKind.empty', "Define an extension which cannot run in a remote context, neither on the local, nor on the remote machine.")
632
+ description: ( nls.localizeWithPath(
633
+ 'vs/workbench/services/extensions/common/extensionsRegistry',
634
+ 'extensionKind.empty',
635
+ "Define an extension which cannot run in a remote context, neither on the local, nor on the remote machine."
636
+ ))
409
637
  }
410
638
  ]
411
639
  },
412
640
  capabilities: {
413
- description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.capabilities', "Declare the set of supported capabilities by the extension."),
641
+ description: ( nls.localizeWithPath(
642
+ 'vs/workbench/services/extensions/common/extensionsRegistry',
643
+ 'vscode.extension.capabilities',
644
+ "Declare the set of supported capabilities by the extension."
645
+ )),
414
646
  type: 'object',
415
647
  properties: {
416
648
  virtualWorkspaces: {
417
- description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.capabilities.virtualWorkspaces', "Declares whether the extension should be enabled in virtual workspaces. A virtual workspace is a workspace which is not backed by any on-disk resources. When false, this extension will be automatically disabled in virtual workspaces. Default is true."),
649
+ description: ( nls.localizeWithPath(
650
+ 'vs/workbench/services/extensions/common/extensionsRegistry',
651
+ 'vscode.extension.capabilities.virtualWorkspaces',
652
+ "Declares whether the extension should be enabled in virtual workspaces. A virtual workspace is a workspace which is not backed by any on-disk resources. When false, this extension will be automatically disabled in virtual workspaces. Default is true."
653
+ )),
418
654
  type: ['boolean', 'object'],
419
655
  defaultSnippets: [
420
656
  { label: 'limited', body: { supported: '${1:limited}', description: '${2}' } },
@@ -423,23 +659,47 @@ const schema = {
423
659
  default: true.valueOf,
424
660
  properties: {
425
661
  supported: {
426
- markdownDescription: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.capabilities.virtualWorkspaces.supported', "Declares the level of support for virtual workspaces by the extension."),
662
+ markdownDescription: ( nls.localizeWithPath(
663
+ 'vs/workbench/services/extensions/common/extensionsRegistry',
664
+ 'vscode.extension.capabilities.virtualWorkspaces.supported',
665
+ "Declares the level of support for virtual workspaces by the extension."
666
+ )),
427
667
  type: ['string', 'boolean'],
428
668
  enum: ['limited', true, false],
429
669
  enumDescriptions: [
430
- nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.capabilities.virtualWorkspaces.supported.limited', "The extension will be enabled in virtual workspaces with some functionality disabled."),
431
- nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.capabilities.virtualWorkspaces.supported.true', "The extension will be enabled in virtual workspaces with all functionality enabled."),
432
- nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.capabilities.virtualWorkspaces.supported.false', "The extension will not be enabled in virtual workspaces."),
670
+ ( nls.localizeWithPath(
671
+ 'vs/workbench/services/extensions/common/extensionsRegistry',
672
+ 'vscode.extension.capabilities.virtualWorkspaces.supported.limited',
673
+ "The extension will be enabled in virtual workspaces with some functionality disabled."
674
+ )),
675
+ ( nls.localizeWithPath(
676
+ 'vs/workbench/services/extensions/common/extensionsRegistry',
677
+ 'vscode.extension.capabilities.virtualWorkspaces.supported.true',
678
+ "The extension will be enabled in virtual workspaces with all functionality enabled."
679
+ )),
680
+ ( nls.localizeWithPath(
681
+ 'vs/workbench/services/extensions/common/extensionsRegistry',
682
+ 'vscode.extension.capabilities.virtualWorkspaces.supported.false',
683
+ "The extension will not be enabled in virtual workspaces."
684
+ )),
433
685
  ]
434
686
  },
435
687
  description: {
436
688
  type: 'string',
437
- markdownDescription: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.capabilities.virtualWorkspaces.description', "A description of how virtual workspaces affects the extensions behavior and why it is needed. This only applies when `supported` is not `true`."),
689
+ markdownDescription: ( nls.localizeWithPath(
690
+ 'vs/workbench/services/extensions/common/extensionsRegistry',
691
+ 'vscode.extension.capabilities.virtualWorkspaces.description',
692
+ "A description of how virtual workspaces affects the extensions behavior and why it is needed. This only applies when `supported` is not `true`."
693
+ )),
438
694
  }
439
695
  }
440
696
  },
441
697
  untrustedWorkspaces: {
442
- description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.capabilities.untrustedWorkspaces', 'Declares how the extension should be handled in untrusted workspaces.'),
698
+ description: ( nls.localizeWithPath(
699
+ 'vs/workbench/services/extensions/common/extensionsRegistry',
700
+ 'vscode.extension.capabilities.untrustedWorkspaces',
701
+ 'Declares how the extension should be handled in untrusted workspaces.'
702
+ )),
443
703
  type: 'object',
444
704
  required: ['supported'],
445
705
  defaultSnippets: [
@@ -447,17 +707,37 @@ const schema = {
447
707
  ],
448
708
  properties: {
449
709
  supported: {
450
- markdownDescription: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.capabilities.untrustedWorkspaces.supported', "Declares the level of support for untrusted workspaces by the extension."),
710
+ markdownDescription: ( nls.localizeWithPath(
711
+ 'vs/workbench/services/extensions/common/extensionsRegistry',
712
+ 'vscode.extension.capabilities.untrustedWorkspaces.supported',
713
+ "Declares the level of support for untrusted workspaces by the extension."
714
+ )),
451
715
  type: ['string', 'boolean'],
452
716
  enum: ['limited', true, false],
453
717
  enumDescriptions: [
454
- nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.capabilities.untrustedWorkspaces.supported.limited', "The extension will be enabled in untrusted workspaces with some functionality disabled."),
455
- nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.capabilities.untrustedWorkspaces.supported.true', "The extension will be enabled in untrusted workspaces with all functionality enabled."),
456
- nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.capabilities.untrustedWorkspaces.supported.false', "The extension will not be enabled in untrusted workspaces."),
718
+ ( nls.localizeWithPath(
719
+ 'vs/workbench/services/extensions/common/extensionsRegistry',
720
+ 'vscode.extension.capabilities.untrustedWorkspaces.supported.limited',
721
+ "The extension will be enabled in untrusted workspaces with some functionality disabled."
722
+ )),
723
+ ( nls.localizeWithPath(
724
+ 'vs/workbench/services/extensions/common/extensionsRegistry',
725
+ 'vscode.extension.capabilities.untrustedWorkspaces.supported.true',
726
+ "The extension will be enabled in untrusted workspaces with all functionality enabled."
727
+ )),
728
+ ( nls.localizeWithPath(
729
+ 'vs/workbench/services/extensions/common/extensionsRegistry',
730
+ 'vscode.extension.capabilities.untrustedWorkspaces.supported.false',
731
+ "The extension will not be enabled in untrusted workspaces."
732
+ )),
457
733
  ]
458
734
  },
459
735
  restrictedConfigurations: {
460
- description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.capabilities.untrustedWorkspaces.restrictedConfigurations', "A list of configuration keys contributed by the extension that should not use workspace values in untrusted workspaces."),
736
+ description: ( nls.localizeWithPath(
737
+ 'vs/workbench/services/extensions/common/extensionsRegistry',
738
+ 'vscode.extension.capabilities.untrustedWorkspaces.restrictedConfigurations',
739
+ "A list of configuration keys contributed by the extension that should not use workspace values in untrusted workspaces."
740
+ )),
461
741
  type: 'array',
462
742
  items: {
463
743
  type: 'string'
@@ -465,21 +745,33 @@ const schema = {
465
745
  },
466
746
  description: {
467
747
  type: 'string',
468
- markdownDescription: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.capabilities.untrustedWorkspaces.description', "A description of how workspace trust affects the extensions behavior and why it is needed. This only applies when `supported` is not `true`."),
748
+ markdownDescription: ( nls.localizeWithPath(
749
+ 'vs/workbench/services/extensions/common/extensionsRegistry',
750
+ 'vscode.extension.capabilities.untrustedWorkspaces.description',
751
+ "A description of how workspace trust affects the extensions behavior and why it is needed. This only applies when `supported` is not `true`."
752
+ )),
469
753
  }
470
754
  }
471
755
  }
472
756
  }
473
757
  },
474
758
  sponsor: {
475
- description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.contributes.sponsor', "Specify the location from where users can sponsor your extension."),
759
+ description: ( nls.localizeWithPath(
760
+ 'vs/workbench/services/extensions/common/extensionsRegistry',
761
+ 'vscode.extension.contributes.sponsor',
762
+ "Specify the location from where users can sponsor your extension."
763
+ )),
476
764
  type: 'object',
477
765
  defaultSnippets: [
478
766
  { body: { url: '${1:https:}' } },
479
767
  ],
480
768
  properties: {
481
769
  'url': {
482
- description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.contributes.sponsor.url', "URL from where users can sponsor your extension. It must be a valid URL with a HTTP or HTTPS protocol. Example value: https://github.com/sponsors/nvaccess"),
770
+ description: ( nls.localizeWithPath(
771
+ 'vs/workbench/services/extensions/common/extensionsRegistry',
772
+ 'vscode.extension.contributes.sponsor.url',
773
+ "URL from where users can sponsor your extension. It must be a valid URL with a HTTP or HTTPS protocol. Example value: https://github.com/sponsors/nvaccess"
774
+ )),
483
775
  type: 'string',
484
776
  }
485
777
  }
@@ -488,32 +780,48 @@ const schema = {
488
780
  type: 'object',
489
781
  properties: {
490
782
  'vscode:prepublish': {
491
- description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.scripts.prepublish', 'Script executed before the package is published as a VS Code extension.'),
783
+ description: ( nls.localizeWithPath(
784
+ 'vs/workbench/services/extensions/common/extensionsRegistry',
785
+ 'vscode.extension.scripts.prepublish',
786
+ 'Script executed before the package is published as a VS Code extension.'
787
+ )),
492
788
  type: 'string'
493
789
  },
494
790
  'vscode:uninstall': {
495
- description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.scripts.uninstall', 'Uninstall hook for VS Code extension. Script that gets executed when the extension is completely uninstalled from VS Code which is when VS Code is restarted (shutdown and start) after the extension is uninstalled. Only Node scripts are supported.'),
791
+ description: ( nls.localizeWithPath(
792
+ 'vs/workbench/services/extensions/common/extensionsRegistry',
793
+ 'vscode.extension.scripts.uninstall',
794
+ 'Uninstall hook for VS Code extension. Script that gets executed when the extension is completely uninstalled from VS Code which is when VS Code is restarted (shutdown and start) after the extension is uninstalled. Only Node scripts are supported.'
795
+ )),
496
796
  type: 'string'
497
797
  }
498
798
  }
499
799
  },
500
800
  icon: {
501
801
  type: 'string',
502
- description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.icon', 'The path to a 128x128 pixel icon.')
802
+ description: ( nls.localizeWithPath(
803
+ 'vs/workbench/services/extensions/common/extensionsRegistry',
804
+ 'vscode.extension.icon',
805
+ 'The path to a 128x128 pixel icon.'
806
+ ))
503
807
  },
504
808
  l10n: {
505
809
  type: 'string',
506
- description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', {
810
+ description: ( nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', {
507
811
  key: 'vscode.extension.l10n',
508
812
  comment: [
509
813
  '{Locked="bundle.l10n._locale_.json"}',
510
814
  '{Locked="vscode.l10n API"}'
511
815
  ]
512
- }, 'The relative path to a folder containing localization (bundle.l10n.*.json) files. Must be specified if you are using the vscode.l10n API.')
816
+ }, 'The relative path to a folder containing localization (bundle.l10n.*.json) files. Must be specified if you are using the vscode.l10n API.'))
513
817
  },
514
818
  pricing: {
515
819
  type: 'string',
516
- markdownDescription: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.pricing', 'The pricing information for the extension. Can be Free (default) or Trial. For more details visit: https://code.visualstudio.com/api/working-with-extensions/publishing-extension#extension-pricing-label'),
820
+ markdownDescription: ( nls.localizeWithPath(
821
+ 'vs/workbench/services/extensions/common/extensionsRegistry',
822
+ 'vscode.extension.pricing',
823
+ 'The pricing information for the extension. Can be Free (default) or Trial. For more details visit: https://code.visualstudio.com/api/working-with-extensions/publishing-extension#extension-pricing-label'
824
+ )),
517
825
  enum: ['Free', 'Trial'],
518
826
  default: 'Free'
519
827
  }
@@ -549,7 +857,11 @@ schemaRegistry.registerSchema(schemaId, schema);
549
857
  schemaRegistry.registerSchema(productSchemaId, {
550
858
  properties: {
551
859
  extensionEnabledApiProposals: {
552
- description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'product.extensionEnabledApiProposals', "API proposals that the respective extensions can freely use."),
860
+ description: ( nls.localizeWithPath(
861
+ 'vs/workbench/services/extensions/common/extensionsRegistry',
862
+ 'product.extensionEnabledApiProposals',
863
+ "API proposals that the respective extensions can freely use."
864
+ )),
553
865
  type: 'object',
554
866
  properties: {},
555
867
  additionalProperties: {