@codingame/monaco-vscode-api 1.83.2 → 1.83.3-next.0

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