@codingame/monaco-vscode-api 1.83.1 → 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 (233) 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/platform/workspaces/common/workspaces.js +15 -15
  35. package/vscode/src/vs/workbench/api/browser/mainThreadAuthentication.js +13 -32
  36. package/vscode/src/vs/workbench/api/browser/mainThreadComments.js +2 -2
  37. package/vscode/src/vs/workbench/api/browser/mainThreadCustomEditors.js +50 -52
  38. package/vscode/src/vs/workbench/api/browser/mainThreadDocumentsAndEditors.js +58 -69
  39. package/vscode/src/vs/workbench/api/browser/mainThreadEditSessionIdentityParticipant.js +4 -5
  40. package/vscode/src/vs/workbench/api/browser/mainThreadExtensionService.js +38 -50
  41. package/vscode/src/vs/workbench/api/browser/mainThreadFileSystem.js +23 -23
  42. package/vscode/src/vs/workbench/api/browser/mainThreadFileSystemEventService.js +21 -53
  43. package/vscode/src/vs/workbench/api/browser/mainThreadMessageService.js +4 -4
  44. package/vscode/src/vs/workbench/api/browser/mainThreadNotebookSaveParticipant.js +4 -5
  45. package/vscode/src/vs/workbench/api/browser/mainThreadProgress.js +6 -2
  46. package/vscode/src/vs/workbench/api/browser/mainThreadSaveParticipant.js +4 -2
  47. package/vscode/src/vs/workbench/api/browser/mainThreadTask.js +1 -1
  48. package/vscode/src/vs/workbench/api/browser/mainThreadTunnelService.js +2 -12
  49. package/vscode/src/vs/workbench/api/browser/mainThreadUriOpeners.js +15 -9
  50. package/vscode/src/vs/workbench/api/browser/mainThreadWebviews.js +16 -20
  51. package/vscode/src/vs/workbench/api/browser/mainThreadWorkspace.js +6 -28
  52. package/vscode/src/vs/workbench/api/browser/statusBarExtensionPoint.js +60 -0
  53. package/vscode/src/vs/workbench/api/common/extHostChat.js +3 -3
  54. package/vscode/src/vs/workbench/api/common/extHostCommands.js +59 -65
  55. package/vscode/src/vs/workbench/api/common/extHostConsoleForwarder.js +8 -8
  56. package/vscode/src/vs/workbench/api/common/extHostDiagnostics.js +2 -6
  57. package/vscode/src/vs/workbench/api/common/extHostExtensionService.js +2 -2
  58. package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +150 -222
  59. package/vscode/src/vs/workbench/api/common/extHostLogService.js +2 -2
  60. package/vscode/src/vs/workbench/api/common/extHostNotebook.js +3 -3
  61. package/vscode/src/vs/workbench/api/common/extHostProgress.js +2 -6
  62. package/vscode/src/vs/workbench/api/common/extHostSCM.js +54 -58
  63. package/vscode/src/vs/workbench/api/common/extHostStatusBar.js +3 -7
  64. package/vscode/src/vs/workbench/api/common/extHostTelemetry.js +2 -6
  65. package/vscode/src/vs/workbench/api/common/extHostTerminalService.js +2 -6
  66. package/vscode/src/vs/workbench/api/common/extHostTreeViews.js +55 -57
  67. package/vscode/src/vs/workbench/api/common/extHostTunnelService.js +28 -28
  68. package/vscode/src/vs/workbench/api/common/extHostTypeConverters.js +265 -277
  69. package/vscode/src/vs/workbench/api/common/extHostWorkspace.js +2 -7
  70. package/vscode/src/vs/workbench/api/common/extensionHostMain.js +17 -19
  71. package/vscode/src/vs/workbench/api/common/jsonValidationExtensionPoint.js +9 -34
  72. package/vscode/src/vs/workbench/api/worker/extHostExtensionService.js +5 -5
  73. package/vscode/src/vs/workbench/browser/actions/layoutActions.js +898 -68
  74. package/vscode/src/vs/workbench/browser/actions/quickAccessActions.js +7 -7
  75. package/vscode/src/vs/workbench/browser/actions/windowActions.js +32 -38
  76. package/vscode/src/vs/workbench/browser/actions/workspaceActions.js +103 -13
  77. package/vscode/src/vs/workbench/browser/actions/workspaceCommands.js +2 -2
  78. package/vscode/src/vs/workbench/browser/editor.js +3 -3
  79. package/vscode/src/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarActions.js +12 -27
  80. package/vscode/src/vs/workbench/browser/parts/compositeBarActions.js +12 -12
  81. package/vscode/src/vs/workbench/browser/parts/editor/binaryDiffEditor.js +2 -7
  82. package/vscode/src/vs/workbench/browser/parts/editor/binaryEditor.js +4 -7
  83. package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbs.js +42 -90
  84. package/vscode/src/vs/workbench/browser/parts/editor/editor.contribution.js +140 -272
  85. package/vscode/src/vs/workbench/browser/parts/editor/editorActions.js +115 -148
  86. package/vscode/src/vs/workbench/browser/parts/editor/editorCommands.js +21 -33
  87. package/vscode/src/vs/workbench/browser/parts/editor/editorConfiguration.js +7 -19
  88. package/vscode/src/vs/workbench/browser/parts/editor/editorPlaceholder.js +10 -26
  89. package/vscode/src/vs/workbench/browser/parts/editor/editorQuickAccess.js +7 -17
  90. package/vscode/src/vs/workbench/browser/parts/editor/editorStatus.js +60 -81
  91. package/vscode/src/vs/workbench/browser/parts/editor/sideBySideEditor.js +27 -33
  92. package/vscode/src/vs/workbench/browser/parts/editor/textCodeEditor.js +2 -2
  93. package/vscode/src/vs/workbench/browser/parts/editor/textDiffEditor.js +19 -32
  94. package/vscode/src/vs/workbench/browser/parts/editor/textEditor.js +2 -2
  95. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCommands.js +8 -8
  96. package/vscode/src/vs/workbench/browser/parts/panel/panelActions.js +69 -34
  97. package/vscode/src/vs/workbench/browser/parts/titlebar/menubarControl.js +58 -34
  98. package/vscode/src/vs/workbench/browser/parts/views/viewFilter.js +2 -2
  99. package/vscode/src/vs/workbench/browser/parts/views/viewPane.js +3 -9
  100. package/vscode/src/vs/workbench/browser/parts/views/viewPaneContainer.js +6 -6
  101. package/vscode/src/vs/workbench/browser/parts/views/viewsService.js +7 -11
  102. package/vscode/src/vs/workbench/browser/quickaccess.js +7 -3
  103. package/vscode/src/vs/workbench/browser/workbench.contribution.js +186 -683
  104. package/vscode/src/vs/workbench/common/configuration.js +12 -15
  105. package/vscode/src/vs/workbench/common/contextkeys.js +272 -90
  106. package/vscode/src/vs/workbench/common/editor/diffEditorInput.js +2 -2
  107. package/vscode/src/vs/workbench/common/editor/sideBySideEditorInput.js +2 -7
  108. package/vscode/src/vs/workbench/common/editor/textEditorModel.js +2 -6
  109. package/vscode/src/vs/workbench/common/editor.js +5 -5
  110. package/vscode/src/vs/workbench/common/theme.js +137 -527
  111. package/vscode/src/vs/workbench/common/views.js +4 -8
  112. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +15 -55
  113. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityContributions.js +3 -8
  114. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleView.js +22 -60
  115. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleViewActions.js +9 -15
  116. package/vscode/src/vs/workbench/contrib/bulkEdit/browser/bulkEditService.js +18 -48
  117. package/vscode/src/vs/workbench/contrib/bulkEdit/browser/bulkFileEdits.js +58 -74
  118. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatActions.js +2 -0
  119. package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.js +5 -10
  120. package/vscode/src/vs/workbench/contrib/chat/common/chatSlashCommands.js +5 -13
  121. package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +8 -27
  122. package/vscode/src/vs/workbench/contrib/codeActions/common/codeActionsExtensionPoint.js +5 -17
  123. package/vscode/src/vs/workbench/contrib/codeActions/common/documentationExtensionPoint.js +6 -15
  124. package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +7 -20
  125. package/vscode/src/vs/workbench/contrib/codeEditor/browser/inspectEditorTokens/inspectEditorTokens.js +2 -2
  126. package/vscode/src/vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint.js +63 -216
  127. package/vscode/src/vs/workbench/contrib/codeEditor/browser/largeFileOptimizations.js +4 -7
  128. package/vscode/src/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoLineQuickAccess.js +5 -8
  129. package/vscode/src/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoSymbolQuickAccess.js +8 -11
  130. package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +5 -15
  131. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMinimap.js +3 -3
  132. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMultiCursorModifier.js +5 -5
  133. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderControlCharacter.js +3 -6
  134. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderWhitespace.js +3 -6
  135. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +10 -9
  136. package/vscode/src/vs/workbench/contrib/comments/browser/commentColors.js +6 -15
  137. package/vscode/src/vs/workbench/contrib/comments/browser/commentGlyphWidget.js +5 -20
  138. package/vscode/src/vs/workbench/contrib/comments/browser/commentNode.js +3 -10
  139. package/vscode/src/vs/workbench/contrib/comments/browser/commentReply.js +4 -4
  140. package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadBody.js +3 -20
  141. package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadHeader.js +9 -3
  142. package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadWidget.js +4 -13
  143. package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadZoneWidget.js +19 -19
  144. package/vscode/src/vs/workbench/contrib/comments/browser/comments.contribution.js +26 -77
  145. package/vscode/src/vs/workbench/contrib/comments/browser/commentsController.js +5 -17
  146. package/vscode/src/vs/workbench/contrib/comments/browser/commentsTreeViewer.js +31 -40
  147. package/vscode/src/vs/workbench/contrib/comments/browser/commentsView.js +10 -29
  148. package/vscode/src/vs/workbench/contrib/comments/browser/commentsViewActions.js +10 -10
  149. package/vscode/src/vs/workbench/contrib/comments/browser/reactionsAction.js +8 -8
  150. package/vscode/src/vs/workbench/contrib/comments/common/commentContextKeys.js +25 -21
  151. package/vscode/src/vs/workbench/contrib/comments/common/commentModel.js +2 -2
  152. package/vscode/src/vs/workbench/contrib/customEditor/common/customEditor.js +1 -4
  153. package/vscode/src/vs/workbench/contrib/debug/browser/debugColors.js +20 -20
  154. package/vscode/src/vs/workbench/contrib/debug/browser/debugIcons.js +56 -98
  155. package/vscode/src/vs/workbench/contrib/debug/common/abstractDebugAdapter.js +2 -2
  156. package/vscode/src/vs/workbench/contrib/debug/common/debug.js +96 -180
  157. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsIcons.js +25 -79
  158. package/vscode/src/vs/workbench/contrib/externalUriOpener/common/configuration.js +4 -15
  159. package/vscode/src/vs/workbench/contrib/externalUriOpener/common/externalUriOpenerService.js +4 -8
  160. package/vscode/src/vs/workbench/contrib/files/browser/explorerViewlet.js +56 -19
  161. package/vscode/src/vs/workbench/contrib/files/browser/fileActions.js +76 -230
  162. package/vscode/src/vs/workbench/contrib/files/browser/fileConstants.js +6 -5
  163. package/vscode/src/vs/workbench/contrib/files/browser/fileImportExport.js +33 -103
  164. package/vscode/src/vs/workbench/contrib/files/browser/files.contribution.js +228 -99
  165. package/vscode/src/vs/workbench/contrib/files/browser/views/emptyView.js +1 -1
  166. package/vscode/src/vs/workbench/contrib/files/browser/views/explorerDecorationsProvider.js +5 -9
  167. package/vscode/src/vs/workbench/contrib/files/browser/views/explorerView.js +5 -5
  168. package/vscode/src/vs/workbench/contrib/files/browser/views/explorerViewer.js +15 -35
  169. package/vscode/src/vs/workbench/contrib/files/browser/views/openEditorsView.js +5 -8
  170. package/vscode/src/vs/workbench/contrib/files/common/files.js +27 -48
  171. package/vscode/src/vs/workbench/contrib/folding/browser/folding.contribution.js +3 -6
  172. package/vscode/src/vs/workbench/contrib/format/browser/formatModified.js +1 -1
  173. package/vscode/src/vs/workbench/contrib/inlayHints/browser/inlayHintsAccessibilty.js +5 -8
  174. package/vscode/src/vs/workbench/contrib/inlineChat/common/inlineChat.js +112 -52
  175. package/vscode/src/vs/workbench/contrib/keybindings/browser/keybindings.contribution.js +1 -1
  176. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInput.js +2 -2
  177. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInputModel.js +30 -96
  178. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/mapping.js +73 -126
  179. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/mergeEditorModel.js +3 -3
  180. package/vscode/src/vs/workbench/contrib/mergeEditor/common/mergeEditor.js +42 -0
  181. package/vscode/src/vs/workbench/contrib/output/browser/output.contribution.js +23 -29
  182. package/vscode/src/vs/workbench/contrib/output/browser/outputView.js +3 -3
  183. package/vscode/src/vs/workbench/contrib/quickaccess/browser/commandsQuickAccess.js +13 -16
  184. package/vscode/src/vs/workbench/contrib/quickaccess/browser/quickAccess.contribution.js +15 -34
  185. package/vscode/src/vs/workbench/contrib/quickaccess/browser/viewQuickAccess.js +12 -17
  186. package/vscode/src/vs/workbench/contrib/scm/browser/dirtyDiffSwitcher.js +2 -2
  187. package/vscode/src/vs/workbench/contrib/scm/browser/dirtydiffDecorator.js +26 -75
  188. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCompletionProvider.js +4 -19
  189. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsFile.js +4 -4
  190. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsService.js +60 -99
  191. package/vscode/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.js +5 -14
  192. package/vscode/src/vs/workbench/contrib/tasks/common/taskService.js +26 -13
  193. package/vscode/src/vs/workbench/contrib/tasks/common/tasks.js +88 -96
  194. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalEditorInput.js +5 -17
  195. package/vscode/src/vs/workbench/contrib/terminal/common/terminal.js +7 -28
  196. package/vscode/src/vs/workbench/contrib/terminal/common/terminalColorRegistry.js +21 -78
  197. package/vscode/src/vs/workbench/contrib/terminal/common/terminalContextKey.js +21 -53
  198. package/vscode/src/vs/workbench/contrib/testing/common/testResult.js +2 -2
  199. package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditor.js +2 -5
  200. package/vscode/src/vs/workbench/services/actions/common/menusExtensionPoint.js +113 -348
  201. package/vscode/src/vs/workbench/services/assignment/common/assignmentService.js +2 -5
  202. package/vscode/src/vs/workbench/services/authentication/browser/authenticationService.js +31 -1
  203. package/vscode/src/vs/workbench/services/configuration/common/jsonEditingService.js +1 -4
  204. package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +16 -16
  205. package/vscode/src/vs/workbench/services/decorations/browser/decorationsService.js +2 -2
  206. package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +2 -5
  207. package/vscode/src/vs/workbench/services/extensions/browser/extensionUrlHandler.js +4 -4
  208. package/vscode/src/vs/workbench/services/extensions/browser/webWorkerExtensionHost.js +27 -29
  209. package/vscode/src/vs/workbench/services/extensions/common/abstractExtensionService.js +104 -141
  210. package/vscode/src/vs/workbench/services/extensions/common/extensionHostManager.js +35 -39
  211. package/vscode/src/vs/workbench/services/extensions/common/extensionRunningLocationTracker.js +25 -25
  212. package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +80 -296
  213. package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.js +6 -21
  214. package/vscode/src/vs/workbench/services/host/browser/browserHostService.js +3 -6
  215. package/vscode/src/vs/workbench/services/keybinding/browser/keybindingService.js +24 -81
  216. package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayoutService.js +2 -2
  217. package/vscode/src/vs/workbench/services/keybinding/common/keybindingEditing.js +11 -17
  218. package/vscode/src/vs/workbench/services/keybinding/common/macLinuxKeyboardMapper.js +30 -32
  219. package/vscode/src/vs/workbench/services/language/common/languageService.js +23 -98
  220. package/vscode/src/vs/workbench/services/remote/common/tunnelModel.js +83 -95
  221. package/vscode/src/vs/workbench/services/search/common/queryBuilder.js +1 -5
  222. package/vscode/src/vs/workbench/services/textfile/browser/textFileService.js +11 -23
  223. package/vscode/src/vs/workbench/services/textfile/common/textFileEditorModel.js +32 -32
  224. package/vscode/src/vs/workbench/services/textfile/common/textFileEditorModelManager.js +2 -7
  225. package/vscode/src/vs/workbench/services/textfile/common/textFileSaveParticipant.js +2 -2
  226. package/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.js +16 -53
  227. package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +50 -1
  228. package/vscode/src/vs/workbench/services/themes/common/tokenClassificationExtensionPoint.js +25 -99
  229. package/vscode/src/vs/workbench/services/untitled/common/untitledTextEditorService.js +16 -16
  230. package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfile.js +6 -3
  231. package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +15 -3
  232. package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopySaveParticipant.js +2 -2
  233. package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyBackupService.js +32 -42
@@ -1,5 +1,5 @@
1
1
  import { Registry } from 'monaco-editor/esm/vs/platform/registry/common/platform.js';
2
- import { localize } from 'monaco-editor/esm/vs/nls.js';
2
+ import { localizeWithPath } from 'monaco-editor/esm/vs/nls.js';
3
3
  import { Extensions as Extensions$1 } from 'monaco-editor/esm/vs/platform/configuration/common/configurationRegistry.js';
4
4
  import { isMacintosh, isWeb, isNative, isWindows, isLinux } from 'monaco-editor/esm/vs/base/common/platform.js';
5
5
  import { DynamicWorkbenchConfigurationWorkbenchContribution, workbenchConfigurationNodeBase } from '../common/configuration.js';
@@ -15,171 +15,108 @@ const registry = ( Registry.as(Extensions$1.Configuration));
15
15
  type: 'string',
16
16
  enum: ['default', 'large'],
17
17
  enumDescriptions: [
18
- ( localize('workbench.editor.titleScrollbarSizing.default', "The default size.")),
19
- ( localize(
20
- 'workbench.editor.titleScrollbarSizing.large',
21
- "Increases the size, so it can be grabbed more easily with the mouse."
22
- ))
18
+ localizeWithPath('vs/workbench/browser/workbench.contribution', 'workbench.editor.titleScrollbarSizing.default', "The default size."),
19
+ localizeWithPath('vs/workbench/browser/workbench.contribution', 'workbench.editor.titleScrollbarSizing.large', "Increases the size, so it can be grabbed more easily with the mouse.")
23
20
  ],
24
- description: ( localize(
25
- 'tabScrollbarHeight',
26
- "Controls the height of the scrollbars used for tabs and breadcrumbs in the editor title area."
27
- )),
21
+ description: localizeWithPath('vs/workbench/browser/workbench.contribution', 'tabScrollbarHeight', "Controls the height of the scrollbars used for tabs and breadcrumbs in the editor title area."),
28
22
  default: 'default',
29
23
  },
30
24
  'workbench.editor.showTabs': {
31
25
  'type': 'boolean',
32
- 'description': ( localize(
33
- 'showEditorTabs',
34
- "Controls whether opened editors should show in tabs or not."
35
- )),
26
+ 'description': localizeWithPath('vs/workbench/browser/workbench.contribution', 'showEditorTabs', "Controls whether opened editors should show in tabs or not."),
36
27
  'default': true
37
28
  },
38
29
  'workbench.editor.wrapTabs': {
39
30
  'type': 'boolean',
40
- 'markdownDescription': ( localize(
41
- 'wrapTabs',
42
- "Controls whether tabs should be wrapped over multiple lines when exceeding available space or whether a scrollbar should appear instead. This value is ignored when `#workbench.editor.showTabs#` is disabled."
43
- )),
31
+ 'markdownDescription': localizeWithPath('vs/workbench/browser/workbench.contribution', 'wrapTabs', "Controls whether tabs should be wrapped over multiple lines when exceeding available space or whether a scrollbar should appear instead. This value is ignored when `#workbench.editor.showTabs#` is disabled."),
44
32
  'default': false
45
33
  },
46
34
  'workbench.editor.scrollToSwitchTabs': {
47
35
  'type': 'boolean',
48
- 'markdownDescription': ( localize(
49
- { comment: ['This is the description for a setting. Values surrounded by single quotes are not to be translated.'], key: 'scrollToSwitchTabs' },
50
- "Controls whether scrolling over tabs will open them or not. By default tabs will only reveal upon scrolling, but not open. You can press and hold the Shift-key while scrolling to change this behavior for that duration. This value is ignored when `#workbench.editor.showTabs#` is disabled."
51
- )),
36
+ 'markdownDescription': localizeWithPath('vs/workbench/browser/workbench.contribution', { comment: ['This is the description for a setting. Values surrounded by single quotes are not to be translated.'], key: 'scrollToSwitchTabs' }, "Controls whether scrolling over tabs will open them or not. By default tabs will only reveal upon scrolling, but not open. You can press and hold the Shift-key while scrolling to change this behavior for that duration. This value is ignored when `#workbench.editor.showTabs#` is disabled."),
52
37
  'default': false
53
38
  },
54
39
  'workbench.editor.highlightModifiedTabs': {
55
40
  'type': 'boolean',
56
- 'markdownDescription': ( localize(
57
- 'highlightModifiedTabs',
58
- "Controls whether a top border is drawn on tabs for editors that have unsaved changes. This value is ignored when `#workbench.editor.showTabs#` is disabled."
59
- )),
41
+ 'markdownDescription': localizeWithPath('vs/workbench/browser/workbench.contribution', 'highlightModifiedTabs', "Controls whether a top border is drawn on tabs for editors that have unsaved changes. This value is ignored when `#workbench.editor.showTabs#` is disabled."),
60
42
  'default': false
61
43
  },
62
44
  'workbench.editor.decorations.badges': {
63
45
  'type': 'boolean',
64
- 'markdownDescription': ( localize(
65
- 'decorations.badges',
66
- "Controls whether editor file decorations should use badges."
67
- )),
46
+ 'markdownDescription': localizeWithPath('vs/workbench/browser/workbench.contribution', 'decorations.badges', "Controls whether editor file decorations should use badges."),
68
47
  'default': true
69
48
  },
70
49
  'workbench.editor.decorations.colors': {
71
50
  'type': 'boolean',
72
- 'markdownDescription': ( localize(
73
- 'decorations.colors',
74
- "Controls whether editor file decorations should use colors."
75
- )),
51
+ 'markdownDescription': localizeWithPath('vs/workbench/browser/workbench.contribution', 'decorations.colors', "Controls whether editor file decorations should use colors."),
76
52
  'default': true
77
53
  },
78
54
  'workbench.editor.labelFormat': {
79
55
  'type': 'string',
80
56
  'enum': ['default', 'short', 'medium', 'long'],
81
57
  'enumDescriptions': [
82
- ( localize(
83
- 'workbench.editor.labelFormat.default',
84
- "Show the name of the file. When tabs are enabled and two files have the same name in one group the distinguishing sections of each file's path are added. When tabs are disabled, the path relative to the workspace folder is shown if the editor is active."
85
- )),
86
- ( localize(
87
- 'workbench.editor.labelFormat.short',
88
- "Show the name of the file followed by its directory name."
89
- )),
90
- ( localize(
91
- 'workbench.editor.labelFormat.medium',
92
- "Show the name of the file followed by its path relative to the workspace folder."
93
- )),
94
- ( localize(
95
- 'workbench.editor.labelFormat.long',
96
- "Show the name of the file followed by its absolute path."
97
- ))
58
+ localizeWithPath('vs/workbench/browser/workbench.contribution', 'workbench.editor.labelFormat.default', "Show the name of the file. When tabs are enabled and two files have the same name in one group the distinguishing sections of each file's path are added. When tabs are disabled, the path relative to the workspace folder is shown if the editor is active."),
59
+ localizeWithPath('vs/workbench/browser/workbench.contribution', 'workbench.editor.labelFormat.short', "Show the name of the file followed by its directory name."),
60
+ localizeWithPath('vs/workbench/browser/workbench.contribution', 'workbench.editor.labelFormat.medium', "Show the name of the file followed by its path relative to the workspace folder."),
61
+ localizeWithPath('vs/workbench/browser/workbench.contribution', 'workbench.editor.labelFormat.long', "Show the name of the file followed by its absolute path.")
98
62
  ],
99
63
  'default': 'default',
100
- 'description': ( localize({
64
+ 'description': localizeWithPath('vs/workbench/browser/workbench.contribution', {
101
65
  comment: ['This is the description for a setting. Values surrounded by parenthesis are not to be translated.'],
102
66
  key: 'tabDescription'
103
- }, "Controls the format of the label for an editor.")),
67
+ }, "Controls the format of the label for an editor."),
104
68
  },
105
69
  'workbench.editor.untitled.labelFormat': {
106
70
  'type': 'string',
107
71
  'enum': ['content', 'name'],
108
72
  'enumDescriptions': [
109
- ( localize(
110
- 'workbench.editor.untitled.labelFormat.content',
111
- "The name of the untitled file is derived from the contents of its first line unless it has an associated file path. It will fallback to the name in case the line is empty or contains no word characters."
112
- )),
113
- ( localize(
114
- 'workbench.editor.untitled.labelFormat.name',
115
- "The name of the untitled file is not derived from the contents of the file."
116
- )),
73
+ localizeWithPath('vs/workbench/browser/workbench.contribution', 'workbench.editor.untitled.labelFormat.content', "The name of the untitled file is derived from the contents of its first line unless it has an associated file path. It will fallback to the name in case the line is empty or contains no word characters."),
74
+ localizeWithPath('vs/workbench/browser/workbench.contribution', 'workbench.editor.untitled.labelFormat.name', "The name of the untitled file is not derived from the contents of the file."),
117
75
  ],
118
76
  'default': 'content',
119
- 'description': ( localize({
77
+ 'description': localizeWithPath('vs/workbench/browser/workbench.contribution', {
120
78
  comment: ['This is the description for a setting. Values surrounded by parenthesis are not to be translated.'],
121
79
  key: 'untitledLabelFormat'
122
- }, "Controls the format of the label for an untitled editor.")),
80
+ }, "Controls the format of the label for an untitled editor."),
123
81
  },
124
82
  'workbench.editor.empty.hint': {
125
83
  'type': 'string',
126
84
  'enum': ['text', 'hidden'],
127
85
  'default': 'text',
128
- 'markdownDescription': ( localize(
129
- { comment: ['This is the description for a setting. Values surrounded by single quotes are not to be translated.'], key: 'emptyEditorHint' },
130
- "Controls if the empty editor text hint should be visible in the editor."
131
- ))
86
+ 'markdownDescription': localizeWithPath('vs/workbench/browser/workbench.contribution', { comment: ['This is the description for a setting. Values surrounded by single quotes are not to be translated.'], key: 'emptyEditorHint' }, "Controls if the empty editor text hint should be visible in the editor.")
132
87
  },
133
88
  'workbench.editor.languageDetection': {
134
89
  type: 'boolean',
135
90
  default: true,
136
- description: ( localize(
137
- 'workbench.editor.languageDetection',
138
- "Controls whether the language in a text editor is automatically detected unless the language has been explicitly set by the language picker. This can also be scoped by language so you can specify which languages you do not want to be switched off of. This is useful for languages like Markdown that often contain other languages that might trick language detection into thinking it's the embedded language and not Markdown."
139
- )),
91
+ description: localizeWithPath('vs/workbench/browser/workbench.contribution', 'workbench.editor.languageDetection', "Controls whether the language in a text editor is automatically detected unless the language has been explicitly set by the language picker. This can also be scoped by language so you can specify which languages you do not want to be switched off of. This is useful for languages like Markdown that often contain other languages that might trick language detection into thinking it's the embedded language and not Markdown."),
140
92
  scope: 5
141
93
  },
142
94
  'workbench.editor.historyBasedLanguageDetection': {
143
95
  type: 'boolean',
144
96
  default: true,
145
97
  tags: ['experimental'],
146
- description: ( localize(
147
- 'workbench.editor.historyBasedLanguageDetection',
148
- "Enables use of editor history in language detection. This causes automatic language detection to favor languages that have been recently opened and allows for automatic language detection to operate with smaller inputs."
149
- )),
98
+ description: localizeWithPath('vs/workbench/browser/workbench.contribution', 'workbench.editor.historyBasedLanguageDetection', "Enables use of editor history in language detection. This causes automatic language detection to favor languages that have been recently opened and allows for automatic language detection to operate with smaller inputs."),
150
99
  },
151
100
  'workbench.editor.preferHistoryBasedLanguageDetection': {
152
101
  type: 'boolean',
153
102
  default: false,
154
103
  tags: ['experimental'],
155
- description: ( localize(
156
- 'workbench.editor.preferBasedLanguageDetection',
157
- "When enabled, a language detection model that takes into account editor history will be given higher precedence."
158
- )),
104
+ description: localizeWithPath('vs/workbench/browser/workbench.contribution', 'workbench.editor.preferBasedLanguageDetection', "When enabled, a language detection model that takes into account editor history will be given higher precedence."),
159
105
  },
160
106
  'workbench.editor.languageDetectionHints': {
161
107
  type: 'object',
162
108
  default: { 'untitledEditors': true, 'notebookEditors': true },
163
109
  tags: ['experimental'],
164
- description: ( localize(
165
- 'workbench.editor.showLanguageDetectionHints',
166
- "When enabled, shows a Status bar Quick Fix when the editor language doesn't match detected content language."
167
- )),
110
+ description: localizeWithPath('vs/workbench/browser/workbench.contribution', 'workbench.editor.showLanguageDetectionHints', "When enabled, shows a Status bar Quick Fix when the editor language doesn't match detected content language."),
168
111
  additionalProperties: false,
169
112
  properties: {
170
113
  untitledEditors: {
171
114
  type: 'boolean',
172
- description: ( localize(
173
- 'workbench.editor.showLanguageDetectionHints.editors',
174
- "Show in untitled text editors"
175
- )),
115
+ description: localizeWithPath('vs/workbench/browser/workbench.contribution', 'workbench.editor.showLanguageDetectionHints.editors', "Show in untitled text editors"),
176
116
  },
177
117
  notebookEditors: {
178
118
  type: 'boolean',
179
- description: ( localize(
180
- 'workbench.editor.showLanguageDetectionHints.notebook',
181
- "Show in notebook editors"
182
- )),
119
+ description: localizeWithPath('vs/workbench/browser/workbench.contribution', 'workbench.editor.showLanguageDetectionHints.notebook', "Show in notebook editors"),
183
120
  }
184
121
  }
185
122
  },
@@ -187,385 +124,224 @@ const registry = ( Registry.as(Extensions$1.Configuration));
187
124
  'type': 'string',
188
125
  'enum': ['left', 'right', 'off'],
189
126
  'default': 'right',
190
- 'markdownDescription': ( localize(
191
- { comment: ['This is the description for a setting. Values surrounded by single quotes are not to be translated.'], key: 'editorTabCloseButton' },
192
- "Controls the position of the editor's tabs close buttons, or disables them when set to 'off'. This value is ignored when `#workbench.editor.showTabs#` is disabled."
193
- ))
127
+ 'markdownDescription': localizeWithPath('vs/workbench/browser/workbench.contribution', { comment: ['This is the description for a setting. Values surrounded by single quotes are not to be translated.'], key: 'editorTabCloseButton' }, "Controls the position of the editor's tabs close buttons, or disables them when set to 'off'. This value is ignored when `#workbench.editor.showTabs#` is disabled.")
194
128
  },
195
129
  'workbench.editor.tabSizing': {
196
130
  'type': 'string',
197
131
  'enum': ['fit', 'shrink', 'fixed'],
198
132
  'default': 'fit',
199
133
  'enumDescriptions': [
200
- ( localize(
201
- 'workbench.editor.tabSizing.fit',
202
- "Always keep tabs large enough to show the full editor label."
203
- )),
204
- ( localize(
205
- 'workbench.editor.tabSizing.shrink',
206
- "Allow tabs to get smaller when the available space is not enough to show all tabs at once."
207
- )),
208
- ( localize(
209
- 'workbench.editor.tabSizing.fixed',
210
- "Make all tabs the same size, while allowing them to get smaller when the available space is not enough to show all tabs at once."
211
- ))
134
+ localizeWithPath('vs/workbench/browser/workbench.contribution', 'workbench.editor.tabSizing.fit', "Always keep tabs large enough to show the full editor label."),
135
+ localizeWithPath('vs/workbench/browser/workbench.contribution', 'workbench.editor.tabSizing.shrink', "Allow tabs to get smaller when the available space is not enough to show all tabs at once."),
136
+ localizeWithPath('vs/workbench/browser/workbench.contribution', 'workbench.editor.tabSizing.fixed', "Make all tabs the same size, while allowing them to get smaller when the available space is not enough to show all tabs at once.")
212
137
  ],
213
- 'markdownDescription': ( localize(
214
- { comment: ['This is the description for a setting. Values surrounded by single quotes are not to be translated.'], key: 'tabSizing' },
215
- "Controls the size of editor tabs. This value is ignored when `#workbench.editor.showTabs#` is disabled."
216
- ))
138
+ 'markdownDescription': localizeWithPath('vs/workbench/browser/workbench.contribution', { comment: ['This is the description for a setting. Values surrounded by single quotes are not to be translated.'], key: 'tabSizing' }, "Controls the size of editor tabs. This value is ignored when `#workbench.editor.showTabs#` is disabled.")
217
139
  },
218
140
  'workbench.editor.tabSizingFixedMinWidth': {
219
141
  'type': 'number',
220
142
  'default': 50,
221
143
  'minimum': 38,
222
- 'markdownDescription': ( localize(
223
- { comment: ['This is the description for a setting. Values surrounded by single quotes are not to be translated.'], key: 'workbench.editor.tabSizingFixedMinWidth' },
224
- "Controls the minimum width of tabs when `#workbench.editor.tabSizing#` size is set to `fixed`."
225
- ))
144
+ 'markdownDescription': localizeWithPath('vs/workbench/browser/workbench.contribution', { comment: ['This is the description for a setting. Values surrounded by single quotes are not to be translated.'], key: 'workbench.editor.tabSizingFixedMinWidth' }, "Controls the minimum width of tabs when `#workbench.editor.tabSizing#` size is set to `fixed`.")
226
145
  },
227
146
  'workbench.editor.tabSizingFixedMaxWidth': {
228
147
  'type': 'number',
229
148
  'default': 160,
230
149
  'minimum': 38,
231
- 'markdownDescription': ( localize(
232
- { comment: ['This is the description for a setting. Values surrounded by single quotes are not to be translated.'], key: 'workbench.editor.tabSizingFixedMaxWidth' },
233
- "Controls the maximum width of tabs when `#workbench.editor.tabSizing#` size is set to `fixed`."
234
- ))
150
+ 'markdownDescription': localizeWithPath('vs/workbench/browser/workbench.contribution', { comment: ['This is the description for a setting. Values surrounded by single quotes are not to be translated.'], key: 'workbench.editor.tabSizingFixedMaxWidth' }, "Controls the maximum width of tabs when `#workbench.editor.tabSizing#` size is set to `fixed`.")
235
151
  },
236
152
  'window.density.editorTabHeight': {
237
153
  'type': 'string',
238
154
  'enum': ['default', 'compact'],
239
155
  'default': 'default',
240
- 'markdownDescription': ( localize(
241
- { comment: ['This is the description for a setting. Values surrounded by single quotes are not to be translated.'], key: 'workbench.editor.tabHeight' },
242
- "Controls the height of editor tabs. Also applies to the title control bar when `#workbench.editor.showTabs#` is disabled."
243
- ))
156
+ 'markdownDescription': localizeWithPath('vs/workbench/browser/workbench.contribution', { comment: ['This is the description for a setting. Values surrounded by single quotes are not to be translated.'], key: 'workbench.editor.tabHeight' }, "Controls the height of editor tabs. Also applies to the title control bar when `#workbench.editor.showTabs#` is disabled.")
244
157
  },
245
158
  'workbench.editor.pinnedTabSizing': {
246
159
  'type': 'string',
247
160
  'enum': ['normal', 'compact', 'shrink'],
248
161
  'default': 'normal',
249
162
  'enumDescriptions': [
250
- ( localize(
251
- 'workbench.editor.pinnedTabSizing.normal',
252
- "A pinned tab inherits the look of non pinned tabs."
253
- )),
254
- ( localize(
255
- 'workbench.editor.pinnedTabSizing.compact',
256
- "A pinned tab will show in a compact form with only icon or first letter of the editor name."
257
- )),
258
- ( localize(
259
- 'workbench.editor.pinnedTabSizing.shrink',
260
- "A pinned tab shrinks to a compact fixed size showing parts of the editor name."
261
- ))
163
+ localizeWithPath('vs/workbench/browser/workbench.contribution', 'workbench.editor.pinnedTabSizing.normal', "A pinned tab inherits the look of non pinned tabs."),
164
+ localizeWithPath('vs/workbench/browser/workbench.contribution', 'workbench.editor.pinnedTabSizing.compact', "A pinned tab will show in a compact form with only icon or first letter of the editor name."),
165
+ localizeWithPath('vs/workbench/browser/workbench.contribution', 'workbench.editor.pinnedTabSizing.shrink', "A pinned tab shrinks to a compact fixed size showing parts of the editor name.")
262
166
  ],
263
- 'markdownDescription': ( localize(
264
- { comment: ['This is the description for a setting. Values surrounded by single quotes are not to be translated.'], key: 'pinnedTabSizing' },
265
- "Controls the size of pinned editor tabs. Pinned tabs are sorted to the beginning of all opened tabs and typically do not close until unpinned. This value is ignored when `#workbench.editor.showTabs#` is disabled."
266
- ))
167
+ 'markdownDescription': localizeWithPath('vs/workbench/browser/workbench.contribution', { comment: ['This is the description for a setting. Values surrounded by single quotes are not to be translated.'], key: 'pinnedTabSizing' }, "Controls the size of pinned editor tabs. Pinned tabs are sorted to the beginning of all opened tabs and typically do not close until unpinned. This value is ignored when `#workbench.editor.showTabs#` is disabled.")
267
168
  },
268
169
  'workbench.editor.pinnedTabsOnSeparateRow': {
269
170
  'type': 'boolean',
270
171
  'default': false,
271
- 'markdownDescription': ( localize(
272
- 'workbench.editor.pinnedTabsOnSeparateRow',
273
- "When enabled, displays pinned tabs in a separate row above all other tabs. This value is ignored when `#workbench.editor.showTabs#` is disabled."
274
- )),
172
+ 'markdownDescription': localizeWithPath('vs/workbench/browser/workbench.contribution', 'workbench.editor.pinnedTabsOnSeparateRow', "When enabled, displays pinned tabs in a separate row above all other tabs. This value is ignored when `#workbench.editor.showTabs#` is disabled."),
275
173
  },
276
174
  'workbench.editor.preventPinnedEditorClose': {
277
175
  'type': 'string',
278
176
  'enum': ['keyboardAndMouse', 'keyboard', 'mouse', 'never'],
279
177
  'default': 'keyboardAndMouse',
280
178
  'enumDescriptions': [
281
- ( localize(
282
- 'workbench.editor.preventPinnedEditorClose.always',
283
- "Always prevent closing the pinned editor when using mouse middle click or keyboard."
284
- )),
285
- ( localize(
286
- 'workbench.editor.preventPinnedEditorClose.onlyKeyboard',
287
- "Prevent closing the pinned editor when using the keyboard."
288
- )),
289
- ( localize(
290
- 'workbench.editor.preventPinnedEditorClose.onlyMouse',
291
- "Prevent closing the pinned editor when using mouse middle click."
292
- )),
293
- ( localize(
294
- 'workbench.editor.preventPinnedEditorClose.never',
295
- "Never prevent closing a pinned editor."
296
- ))
179
+ localizeWithPath('vs/workbench/browser/workbench.contribution', 'workbench.editor.preventPinnedEditorClose.always', "Always prevent closing the pinned editor when using mouse middle click or keyboard."),
180
+ localizeWithPath('vs/workbench/browser/workbench.contribution', 'workbench.editor.preventPinnedEditorClose.onlyKeyboard', "Prevent closing the pinned editor when using the keyboard."),
181
+ localizeWithPath('vs/workbench/browser/workbench.contribution', 'workbench.editor.preventPinnedEditorClose.onlyMouse', "Prevent closing the pinned editor when using mouse middle click."),
182
+ localizeWithPath('vs/workbench/browser/workbench.contribution', 'workbench.editor.preventPinnedEditorClose.never', "Never prevent closing a pinned editor.")
297
183
  ],
298
- description: ( localize(
299
- 'workbench.editor.preventPinnedEditorClose',
300
- "Controls whether pinned editors should close when keyboard or middle mouse click is used for closing."
301
- )),
184
+ description: localizeWithPath('vs/workbench/browser/workbench.contribution', 'workbench.editor.preventPinnedEditorClose', "Controls whether pinned editors should close when keyboard or middle mouse click is used for closing."),
302
185
  },
303
186
  'workbench.editor.splitSizing': {
304
187
  'type': 'string',
305
188
  'enum': ['auto', 'distribute', 'split'],
306
189
  'default': 'auto',
307
190
  'enumDescriptions': [
308
- ( localize(
309
- 'workbench.editor.splitSizingAuto',
310
- "Splits the active editor group to equal parts, unless all editor groups are already in equal parts. In that case, splits all the editor groups to equal parts."
311
- )),
312
- ( localize(
313
- 'workbench.editor.splitSizingDistribute',
314
- "Splits all the editor groups to equal parts."
315
- )),
316
- ( localize(
317
- 'workbench.editor.splitSizingSplit',
318
- "Splits the active editor group to equal parts."
319
- ))
191
+ localizeWithPath('vs/workbench/browser/workbench.contribution', 'workbench.editor.splitSizingAuto', "Splits the active editor group to equal parts, unless all editor groups are already in equal parts. In that case, splits all the editor groups to equal parts."),
192
+ localizeWithPath('vs/workbench/browser/workbench.contribution', 'workbench.editor.splitSizingDistribute', "Splits all the editor groups to equal parts."),
193
+ localizeWithPath('vs/workbench/browser/workbench.contribution', 'workbench.editor.splitSizingSplit', "Splits the active editor group to equal parts.")
320
194
  ],
321
- 'description': ( localize(
322
- { comment: ['This is the description for a setting. Values surrounded by single quotes are not to be translated.'], key: 'splitSizing' },
323
- "Controls the size of editor groups when splitting them."
324
- ))
195
+ 'description': localizeWithPath('vs/workbench/browser/workbench.contribution', { comment: ['This is the description for a setting. Values surrounded by single quotes are not to be translated.'], key: 'splitSizing' }, "Controls the size of editor groups when splitting them.")
325
196
  },
326
197
  'workbench.editor.splitOnDragAndDrop': {
327
198
  'type': 'boolean',
328
199
  'default': true,
329
- 'description': ( localize(
330
- 'splitOnDragAndDrop',
331
- "Controls if editor groups can be split from drag and drop operations by dropping an editor or file on the edges of the editor area."
332
- ))
200
+ 'description': localizeWithPath('vs/workbench/browser/workbench.contribution', 'splitOnDragAndDrop', "Controls if editor groups can be split from drag and drop operations by dropping an editor or file on the edges of the editor area.")
333
201
  },
334
202
  'workbench.editor.focusRecentEditorAfterClose': {
335
203
  'type': 'boolean',
336
- 'description': ( localize(
337
- 'focusRecentEditorAfterClose',
338
- "Controls whether editors are closed in most recently used order or from left to right."
339
- )),
204
+ 'description': localizeWithPath('vs/workbench/browser/workbench.contribution', 'focusRecentEditorAfterClose', "Controls whether editors are closed in most recently used order or from left to right."),
340
205
  'default': true
341
206
  },
342
207
  'workbench.editor.showIcons': {
343
208
  'type': 'boolean',
344
- 'description': ( localize(
345
- 'showIcons',
346
- "Controls whether opened editors should show with an icon or not. This requires a file icon theme to be enabled as well."
347
- )),
209
+ 'description': localizeWithPath('vs/workbench/browser/workbench.contribution', 'showIcons', "Controls whether opened editors should show with an icon or not. This requires a file icon theme to be enabled as well."),
348
210
  'default': true
349
211
  },
350
212
  'workbench.editor.enablePreview': {
351
213
  'type': 'boolean',
352
- 'description': ( localize(
353
- 'enablePreview',
354
- "Controls whether opened editors show as preview editors. Preview editors do not stay open, are reused until explicitly set to be kept open (via double-click or editing), and show file names in italics."
355
- )),
214
+ 'description': localizeWithPath('vs/workbench/browser/workbench.contribution', 'enablePreview', "Controls whether opened editors show as preview editors. Preview editors do not stay open, are reused until explicitly set to be kept open (via double-click or editing), and show file names in italics."),
356
215
  'default': true
357
216
  },
358
217
  'workbench.editor.enablePreviewFromQuickOpen': {
359
218
  'type': 'boolean',
360
- 'markdownDescription': ( localize(
361
- 'enablePreviewFromQuickOpen',
362
- "Controls whether editors opened from Quick Open show as preview editors. Preview editors do not stay open, and are reused until explicitly set to be kept open (via double-click or editing). When enabled, hold Ctrl before selection to open an editor as a non-preview. This value is ignored when `#workbench.editor.enablePreview#` is disabled."
363
- )),
219
+ 'markdownDescription': localizeWithPath('vs/workbench/browser/workbench.contribution', 'enablePreviewFromQuickOpen', "Controls whether editors opened from Quick Open show as preview editors. Preview editors do not stay open, and are reused until explicitly set to be kept open (via double-click or editing). When enabled, hold Ctrl before selection to open an editor as a non-preview. This value is ignored when `#workbench.editor.enablePreview#` is disabled."),
364
220
  'default': false
365
221
  },
366
222
  'workbench.editor.enablePreviewFromCodeNavigation': {
367
223
  'type': 'boolean',
368
- 'markdownDescription': ( localize(
369
- 'enablePreviewFromCodeNavigation',
370
- "Controls whether editors remain in preview when a code navigation is started from them. Preview editors do not stay open, and are reused until explicitly set to be kept open (via double-click or editing). This value is ignored when `#workbench.editor.enablePreview#` is disabled."
371
- )),
224
+ 'markdownDescription': localizeWithPath('vs/workbench/browser/workbench.contribution', 'enablePreviewFromCodeNavigation', "Controls whether editors remain in preview when a code navigation is started from them. Preview editors do not stay open, and are reused until explicitly set to be kept open (via double-click or editing). This value is ignored when `#workbench.editor.enablePreview#` is disabled."),
372
225
  'default': false
373
226
  },
374
227
  'workbench.editor.closeOnFileDelete': {
375
228
  'type': 'boolean',
376
- 'description': ( localize(
377
- 'closeOnFileDelete',
378
- "Controls whether editors showing a file that was opened during the session should close automatically when getting deleted or renamed by some other process. Disabling this will keep the editor open on such an event. Note that deleting from within the application will always close the editor and that editors with unsaved changes will never close to preserve your data."
379
- )),
229
+ 'description': localizeWithPath('vs/workbench/browser/workbench.contribution', 'closeOnFileDelete', "Controls whether editors showing a file that was opened during the session should close automatically when getting deleted or renamed by some other process. Disabling this will keep the editor open on such an event. Note that deleting from within the application will always close the editor and that editors with unsaved changes will never close to preserve your data."),
380
230
  'default': false
381
231
  },
382
232
  'workbench.editor.openPositioning': {
383
233
  'type': 'string',
384
234
  'enum': ['left', 'right', 'first', 'last'],
385
235
  'default': 'right',
386
- 'markdownDescription': ( localize(
387
- { comment: ['This is the description for a setting. Values surrounded by single quotes are not to be translated.'], key: 'editorOpenPositioning' },
388
- "Controls where editors open. Select `left` or `right` to open editors to the left or right of the currently active one. Select `first` or `last` to open editors independently from the currently active one."
389
- ))
236
+ 'markdownDescription': localizeWithPath('vs/workbench/browser/workbench.contribution', { comment: ['This is the description for a setting. Values surrounded by single quotes are not to be translated.'], key: 'editorOpenPositioning' }, "Controls where editors open. Select `left` or `right` to open editors to the left or right of the currently active one. Select `first` or `last` to open editors independently from the currently active one.")
390
237
  },
391
238
  'workbench.editor.openSideBySideDirection': {
392
239
  'type': 'string',
393
240
  'enum': ['right', 'down'],
394
241
  'default': 'right',
395
- 'markdownDescription': ( localize(
396
- 'sideBySideDirection',
397
- "Controls the default direction of editors that are opened side by side (for example, from the Explorer). By default, editors will open on the right hand side of the currently active one. If changed to `down`, the editors will open below the currently active one."
398
- ))
242
+ 'markdownDescription': localizeWithPath('vs/workbench/browser/workbench.contribution', 'sideBySideDirection', "Controls the default direction of editors that are opened side by side (for example, from the Explorer). By default, editors will open on the right hand side of the currently active one. If changed to `down`, the editors will open below the currently active one.")
399
243
  },
400
244
  'workbench.editor.closeEmptyGroups': {
401
245
  'type': 'boolean',
402
- 'description': ( localize(
403
- 'closeEmptyGroups',
404
- "Controls the behavior of empty editor groups when the last tab in the group is closed. When enabled, empty groups will automatically close. When disabled, empty groups will remain part of the grid."
405
- )),
246
+ 'description': localizeWithPath('vs/workbench/browser/workbench.contribution', 'closeEmptyGroups', "Controls the behavior of empty editor groups when the last tab in the group is closed. When enabled, empty groups will automatically close. When disabled, empty groups will remain part of the grid."),
406
247
  'default': true
407
248
  },
408
249
  'workbench.editor.revealIfOpen': {
409
250
  'type': 'boolean',
410
- 'description': ( localize(
411
- 'revealIfOpen',
412
- "Controls whether an editor is revealed in any of the visible groups if opened. If disabled, an editor will prefer to open in the currently active editor group. If enabled, an already opened editor will be revealed instead of opened again in the currently active editor group. Note that there are some cases where this setting is ignored, such as when forcing an editor to open in a specific group or to the side of the currently active group."
413
- )),
251
+ 'description': localizeWithPath('vs/workbench/browser/workbench.contribution', 'revealIfOpen', "Controls whether an editor is revealed in any of the visible groups if opened. If disabled, an editor will prefer to open in the currently active editor group. If enabled, an already opened editor will be revealed instead of opened again in the currently active editor group. Note that there are some cases where this setting is ignored, such as when forcing an editor to open in a specific group or to the side of the currently active group."),
414
252
  'default': false
415
253
  },
416
254
  'workbench.editor.mouseBackForwardToNavigate': {
417
255
  'type': 'boolean',
418
- 'description': ( localize(
419
- 'mouseBackForwardToNavigate',
420
- "Enables the use of mouse buttons four and five for commands 'Go Back' and 'Go Forward'."
421
- )),
256
+ 'description': localizeWithPath('vs/workbench/browser/workbench.contribution', 'mouseBackForwardToNavigate', "Enables the use of mouse buttons four and five for commands 'Go Back' and 'Go Forward'."),
422
257
  'default': true
423
258
  },
424
259
  'workbench.editor.navigationScope': {
425
260
  'type': 'string',
426
261
  'enum': ['default', 'editorGroup', 'editor'],
427
262
  'default': 'default',
428
- 'markdownDescription': ( localize(
429
- 'navigationScope',
430
- "Controls the scope of history navigation in editors for commands such as 'Go Back' and 'Go Forward'."
431
- )),
263
+ 'markdownDescription': localizeWithPath('vs/workbench/browser/workbench.contribution', 'navigationScope', "Controls the scope of history navigation in editors for commands such as 'Go Back' and 'Go Forward'."),
432
264
  'enumDescriptions': [
433
- ( localize(
434
- 'workbench.editor.navigationScopeDefault',
435
- "Navigate across all opened editors and editor groups."
436
- )),
437
- ( localize(
438
- 'workbench.editor.navigationScopeEditorGroup',
439
- "Navigate only in editors of the active editor group."
440
- )),
441
- ( localize(
442
- 'workbench.editor.navigationScopeEditor',
443
- "Navigate only in the active editor."
444
- ))
265
+ localizeWithPath('vs/workbench/browser/workbench.contribution', 'workbench.editor.navigationScopeDefault', "Navigate across all opened editors and editor groups."),
266
+ localizeWithPath('vs/workbench/browser/workbench.contribution', 'workbench.editor.navigationScopeEditorGroup', "Navigate only in editors of the active editor group."),
267
+ localizeWithPath('vs/workbench/browser/workbench.contribution', 'workbench.editor.navigationScopeEditor', "Navigate only in the active editor.")
445
268
  ],
446
269
  },
447
270
  'workbench.editor.restoreViewState': {
448
271
  'type': 'boolean',
449
- 'markdownDescription': ( localize(
450
- 'restoreViewState',
451
- "Restores the last editor view state (such as scroll position) when re-opening editors after they have been closed. Editor view state is stored per editor group and discarded when a group closes. Use the {0} setting to use the last known view state across all editor groups in case no previous view state was found for a editor group.",
452
- '`#workbench.editor.sharedViewState#`'
453
- )),
272
+ 'markdownDescription': localizeWithPath('vs/workbench/browser/workbench.contribution', 'restoreViewState', "Restores the last editor view state (such as scroll position) when re-opening editors after they have been closed. Editor view state is stored per editor group and discarded when a group closes. Use the {0} setting to use the last known view state across all editor groups in case no previous view state was found for a editor group.", '`#workbench.editor.sharedViewState#`'),
454
273
  'default': true,
455
274
  'scope': 5
456
275
  },
457
276
  'workbench.editor.sharedViewState': {
458
277
  'type': 'boolean',
459
- 'description': ( localize(
460
- 'sharedViewState',
461
- "Preserves the most recent editor view state (such as scroll position) across all editor groups and restores that if no specific editor view state is found for the editor group."
462
- )),
278
+ 'description': localizeWithPath('vs/workbench/browser/workbench.contribution', 'sharedViewState', "Preserves the most recent editor view state (such as scroll position) across all editor groups and restores that if no specific editor view state is found for the editor group."),
463
279
  'default': false
464
280
  },
465
281
  'workbench.editor.splitInGroupLayout': {
466
282
  'type': 'string',
467
283
  'enum': ['vertical', 'horizontal'],
468
284
  'default': 'horizontal',
469
- 'markdownDescription': ( localize(
470
- 'splitInGroupLayout',
471
- "Controls the layout for when an editor is split in an editor group to be either vertical or horizontal."
472
- )),
285
+ 'markdownDescription': localizeWithPath('vs/workbench/browser/workbench.contribution', 'splitInGroupLayout', "Controls the layout for when an editor is split in an editor group to be either vertical or horizontal."),
473
286
  'enumDescriptions': [
474
- ( localize(
475
- 'workbench.editor.splitInGroupLayoutVertical',
476
- "Editors are positioned from top to bottom."
477
- )),
478
- ( localize(
479
- 'workbench.editor.splitInGroupLayoutHorizontal',
480
- "Editors are positioned from left to right."
481
- ))
287
+ localizeWithPath('vs/workbench/browser/workbench.contribution', 'workbench.editor.splitInGroupLayoutVertical', "Editors are positioned from top to bottom."),
288
+ localizeWithPath('vs/workbench/browser/workbench.contribution', 'workbench.editor.splitInGroupLayoutHorizontal', "Editors are positioned from left to right.")
482
289
  ]
483
290
  },
484
291
  'workbench.editor.centeredLayoutAutoResize': {
485
292
  'type': 'boolean',
486
293
  'default': true,
487
- 'description': ( localize(
488
- 'centeredLayoutAutoResize',
489
- "Controls if the centered layout should automatically resize to maximum width when more than one group is open. Once only one group is open it will resize back to the original centered width."
490
- ))
294
+ 'description': localizeWithPath('vs/workbench/browser/workbench.contribution', 'centeredLayoutAutoResize', "Controls if the centered layout should automatically resize to maximum width when more than one group is open. Once only one group is open it will resize back to the original centered width.")
491
295
  },
492
296
  'workbench.editor.centeredLayoutFixedWidth': {
493
297
  'type': 'boolean',
494
298
  'default': false,
495
- 'description': ( localize(
496
- 'centeredLayoutDynamicWidth',
497
- "Controls whether the centered layout tries to maintain constant width when the window is resized."
498
- ))
299
+ 'description': localizeWithPath('vs/workbench/browser/workbench.contribution', 'centeredLayoutDynamicWidth', "Controls whether the centered layout tries to maintain constant width when the window is resized.")
499
300
  },
500
301
  'workbench.editor.doubleClickTabToToggleEditorGroupSizes': {
501
302
  'type': 'boolean',
502
303
  'default': true,
503
- 'markdownDescription': ( localize(
504
- { comment: ['This is the description for a setting. Values surrounded by single quotes are not to be translated.'], key: 'doubleClickTabToToggleEditorGroupSizes' },
505
- "Controls whether to maximize/restore the editor group when double clicking on a tab. This value is ignored when `#workbench.editor.showTabs#` is disabled."
506
- ))
304
+ 'markdownDescription': localizeWithPath('vs/workbench/browser/workbench.contribution', { comment: ['This is the description for a setting. Values surrounded by single quotes are not to be translated.'], key: 'doubleClickTabToToggleEditorGroupSizes' }, "Controls whether to maximize/restore the editor group when double clicking on a tab. This value is ignored when `#workbench.editor.showTabs#` is disabled.")
507
305
  },
508
306
  'workbench.editor.limit.enabled': {
509
307
  'type': 'boolean',
510
308
  'default': false,
511
- 'description': ( localize(
512
- 'limitEditorsEnablement',
513
- "Controls if the number of opened editors should be limited or not. When enabled, less recently used editors will close to make space for newly opening editors."
514
- ))
309
+ 'description': localizeWithPath('vs/workbench/browser/workbench.contribution', 'limitEditorsEnablement', "Controls if the number of opened editors should be limited or not. When enabled, less recently used editors will close to make space for newly opening editors.")
515
310
  },
516
311
  'workbench.editor.limit.value': {
517
312
  'type': 'number',
518
313
  'default': 10,
519
314
  'exclusiveMinimum': 0,
520
- 'markdownDescription': ( localize(
521
- 'limitEditorsMaximum',
522
- "Controls the maximum number of opened editors. Use the {0} setting to control this limit per editor group or across all groups.",
523
- '`#workbench.editor.limit.perEditorGroup#`'
524
- ))
315
+ 'markdownDescription': localizeWithPath('vs/workbench/browser/workbench.contribution', 'limitEditorsMaximum', "Controls the maximum number of opened editors. Use the {0} setting to control this limit per editor group or across all groups.", '`#workbench.editor.limit.perEditorGroup#`')
525
316
  },
526
317
  'workbench.editor.limit.excludeDirty': {
527
318
  'type': 'boolean',
528
319
  'default': false,
529
- 'description': ( localize(
530
- 'limitEditorsExcludeDirty',
531
- "Controls if the maximum number of opened editors should exclude dirty editors for counting towards the configured limit."
532
- ))
320
+ 'description': localizeWithPath('vs/workbench/browser/workbench.contribution', 'limitEditorsExcludeDirty', "Controls if the maximum number of opened editors should exclude dirty editors for counting towards the configured limit.")
533
321
  },
534
322
  'workbench.editor.limit.perEditorGroup': {
535
323
  'type': 'boolean',
536
324
  'default': false,
537
- 'description': ( localize(
538
- 'perEditorGroup',
539
- "Controls if the limit of maximum opened editors should apply per editor group or across all editor groups."
540
- ))
325
+ 'description': localizeWithPath('vs/workbench/browser/workbench.contribution', 'perEditorGroup', "Controls if the limit of maximum opened editors should apply per editor group or across all editor groups.")
541
326
  },
542
327
  'workbench.localHistory.enabled': {
543
328
  'type': 'boolean',
544
329
  'default': true,
545
- 'description': ( localize(
546
- 'localHistoryEnabled',
547
- "Controls whether local file history is enabled. When enabled, the file contents of an editor that is saved will be stored to a backup location to be able to restore or review the contents later. Changing this setting has no effect on existing local file history entries."
548
- )),
330
+ 'description': localizeWithPath('vs/workbench/browser/workbench.contribution', 'localHistoryEnabled', "Controls whether local file history is enabled. When enabled, the file contents of an editor that is saved will be stored to a backup location to be able to restore or review the contents later. Changing this setting has no effect on existing local file history entries."),
549
331
  'scope': 4
550
332
  },
551
333
  'workbench.localHistory.maxFileSize': {
552
334
  'type': 'number',
553
335
  'default': 256,
554
336
  'minimum': 1,
555
- 'description': ( localize(
556
- 'localHistoryMaxFileSize',
557
- "Controls the maximum size of a file (in KB) to be considered for local file history. Files that are larger will not be added to the local file history. Changing this setting has no effect on existing local file history entries."
558
- )),
337
+ 'description': localizeWithPath('vs/workbench/browser/workbench.contribution', 'localHistoryMaxFileSize', "Controls the maximum size of a file (in KB) to be considered for local file history. Files that are larger will not be added to the local file history. Changing this setting has no effect on existing local file history entries."),
559
338
  'scope': 4
560
339
  },
561
340
  'workbench.localHistory.maxFileEntries': {
562
341
  'type': 'number',
563
342
  'default': 50,
564
343
  'minimum': 0,
565
- 'description': ( localize(
566
- 'localHistoryMaxFileEntries',
567
- "Controls the maximum number of local file history entries per file. When the number of local file history entries exceeds this number for a file, the oldest entries will be discarded."
568
- )),
344
+ 'description': localizeWithPath('vs/workbench/browser/workbench.contribution', 'localHistoryMaxFileEntries', "Controls the maximum number of local file history entries per file. When the number of local file history entries exceeds this number for a file, the oldest entries will be discarded."),
569
345
  'scope': 4
570
346
  },
571
347
  'workbench.localHistory.exclude': {
@@ -573,217 +349,133 @@ const registry = ( Registry.as(Extensions$1.Configuration));
573
349
  'patternProperties': {
574
350
  '.*': { 'type': 'boolean' }
575
351
  },
576
- 'markdownDescription': ( localize(
577
- 'exclude',
578
- "Configure paths or [glob patterns](https://aka.ms/vscode-glob-patterns) for excluding files from the local file history. Glob patterns are always evaluated relative to the path of the workspace folder unless they are absolute paths. Changing this setting has no effect on existing local file history entries."
579
- )),
352
+ 'markdownDescription': localizeWithPath('vs/workbench/browser/workbench.contribution', 'exclude', "Configure paths or [glob patterns](https://aka.ms/vscode-glob-patterns) for excluding files from the local file history. Glob patterns are always evaluated relative to the path of the workspace folder unless they are absolute paths. Changing this setting has no effect on existing local file history entries."),
580
353
  'scope': 4
581
354
  },
582
355
  'workbench.localHistory.mergeWindow': {
583
356
  'type': 'number',
584
357
  'default': 10,
585
358
  'minimum': 1,
586
- 'markdownDescription': ( localize(
587
- 'mergeWindow',
588
- "Configure an interval in seconds during which the last entry in local file history is replaced with the entry that is being added. This helps reduce the overall number of entries that are added, for example when auto save is enabled. This setting is only applied to entries that have the same source of origin. Changing this setting has no effect on existing local file history entries."
589
- )),
359
+ 'markdownDescription': localizeWithPath('vs/workbench/browser/workbench.contribution', 'mergeWindow', "Configure an interval in seconds during which the last entry in local file history is replaced with the entry that is being added. This helps reduce the overall number of entries that are added, for example when auto save is enabled. This setting is only applied to entries that have the same source of origin. Changing this setting has no effect on existing local file history entries."),
590
360
  'scope': 4
591
361
  },
592
362
  'workbench.commandPalette.history': {
593
363
  'type': 'number',
594
- 'description': ( localize(
595
- 'commandHistory',
596
- "Controls the number of recently used commands to keep in history for the command palette. Set to 0 to disable command history."
597
- )),
364
+ 'description': localizeWithPath('vs/workbench/browser/workbench.contribution', 'commandHistory', "Controls the number of recently used commands to keep in history for the command palette. Set to 0 to disable command history."),
598
365
  'default': 50,
599
366
  'minimum': 0
600
367
  },
601
368
  'workbench.commandPalette.preserveInput': {
602
369
  'type': 'boolean',
603
- 'description': ( localize(
604
- 'preserveInput',
605
- "Controls whether the last typed input to the command palette should be restored when opening it the next time."
606
- )),
370
+ 'description': localizeWithPath('vs/workbench/browser/workbench.contribution', 'preserveInput', "Controls whether the last typed input to the command palette should be restored when opening it the next time."),
607
371
  'default': false
608
372
  },
609
373
  'workbench.commandPalette.experimental.suggestCommands': {
610
374
  'type': 'boolean',
611
375
  tags: ['experimental'],
612
- 'description': ( localize(
613
- 'suggestCommands',
614
- "Controls whether the command palette should have a list of commonly used commands."
615
- )),
376
+ 'description': localizeWithPath('vs/workbench/browser/workbench.contribution', 'suggestCommands', "Controls whether the command palette should have a list of commonly used commands."),
616
377
  'default': false
617
378
  },
618
379
  'workbench.commandPalette.experimental.askChatLocation': {
619
380
  'type': 'string',
620
381
  tags: ['experimental'],
621
- 'description': ( localize(
622
- 'askChatLocation',
623
- "Controls where the command palette should ask chat questions."
624
- )),
382
+ 'description': localizeWithPath('vs/workbench/browser/workbench.contribution', 'askChatLocation', "Controls where the command palette should ask chat questions."),
625
383
  'default': 'chatView',
626
384
  enum: ['chatView', 'quickChat'],
627
385
  enumDescriptions: [
628
- ( localize('askChatLocation.chatView', "Ask chat questions in the Chat view.")),
629
- ( localize('askChatLocation.quickChat', "Ask chat questions in Quick Chat."))
386
+ localizeWithPath('vs/workbench/browser/workbench.contribution', 'askChatLocation.chatView', "Ask chat questions in the Chat view."),
387
+ localizeWithPath('vs/workbench/browser/workbench.contribution', 'askChatLocation.quickChat', "Ask chat questions in Quick Chat.")
630
388
  ]
631
389
  },
632
390
  'workbench.commandPalette.experimental.enableNaturalLanguageSearch': {
633
391
  'type': 'boolean',
634
392
  tags: ['experimental'],
635
- 'description': ( localize(
636
- 'enableNaturalLanguageSearch',
637
- "Controls whether the command palette should include similar commands. You must have an extension installed that provides Natural Language support."
638
- )),
393
+ 'description': localizeWithPath('vs/workbench/browser/workbench.contribution', 'enableNaturalLanguageSearch', "Controls whether the command palette should include similar commands. You must have an extension installed that provides Natural Language support."),
639
394
  'default': true
640
395
  },
641
396
  'workbench.quickOpen.closeOnFocusLost': {
642
397
  'type': 'boolean',
643
- 'description': ( localize(
644
- 'closeOnFocusLost',
645
- "Controls whether Quick Open should close automatically once it loses focus."
646
- )),
398
+ 'description': localizeWithPath('vs/workbench/browser/workbench.contribution', 'closeOnFocusLost', "Controls whether Quick Open should close automatically once it loses focus."),
647
399
  'default': true
648
400
  },
649
401
  'workbench.quickOpen.preserveInput': {
650
402
  'type': 'boolean',
651
- 'description': ( localize(
652
- 'workbench.quickOpen.preserveInput',
653
- "Controls whether the last typed input to Quick Open should be restored when opening it the next time."
654
- )),
403
+ 'description': localizeWithPath('vs/workbench/browser/workbench.contribution', 'workbench.quickOpen.preserveInput', "Controls whether the last typed input to Quick Open should be restored when opening it the next time."),
655
404
  'default': false
656
405
  },
657
406
  'workbench.settings.openDefaultSettings': {
658
407
  'type': 'boolean',
659
- 'description': ( localize(
660
- 'openDefaultSettings',
661
- "Controls whether opening settings also opens an editor showing all default settings."
662
- )),
408
+ 'description': localizeWithPath('vs/workbench/browser/workbench.contribution', 'openDefaultSettings', "Controls whether opening settings also opens an editor showing all default settings."),
663
409
  'default': false
664
410
  },
665
411
  'workbench.settings.useSplitJSON': {
666
412
  'type': 'boolean',
667
- 'markdownDescription': ( localize(
668
- 'useSplitJSON',
669
- "Controls whether to use the split JSON editor when editing settings as JSON."
670
- )),
413
+ 'markdownDescription': localizeWithPath('vs/workbench/browser/workbench.contribution', 'useSplitJSON', "Controls whether to use the split JSON editor when editing settings as JSON."),
671
414
  'default': false
672
415
  },
673
416
  'workbench.settings.openDefaultKeybindings': {
674
417
  'type': 'boolean',
675
- 'description': ( localize(
676
- 'openDefaultKeybindings',
677
- "Controls whether opening keybinding settings also opens an editor showing all default keybindings."
678
- )),
418
+ 'description': localizeWithPath('vs/workbench/browser/workbench.contribution', 'openDefaultKeybindings', "Controls whether opening keybinding settings also opens an editor showing all default keybindings."),
679
419
  'default': false
680
420
  },
681
421
  'workbench.sideBar.location': {
682
422
  'type': 'string',
683
423
  'enum': ['left', 'right'],
684
424
  'default': 'left',
685
- 'description': ( localize(
686
- 'sideBarLocation',
687
- "Controls the location of the primary side bar and activity bar. They can either show on the left or right of the workbench. The secondary side bar will show on the opposite side of the workbench."
688
- ))
425
+ 'description': localizeWithPath('vs/workbench/browser/workbench.contribution', 'sideBarLocation', "Controls the location of the primary side bar and activity bar. They can either show on the left or right of the workbench. The secondary side bar will show on the opposite side of the workbench.")
689
426
  },
690
427
  'workbench.panel.defaultLocation': {
691
428
  'type': 'string',
692
429
  'enum': ['left', 'bottom', 'right'],
693
430
  'default': 'bottom',
694
- 'description': ( localize(
695
- 'panelDefaultLocation',
696
- "Controls the default location of the panel (Terminal, Debug Console, Output, Problems) in a new workspace. It can either show at the bottom, right, or left of the editor area."
697
- )),
431
+ 'description': localizeWithPath('vs/workbench/browser/workbench.contribution', 'panelDefaultLocation', "Controls the default location of the panel (Terminal, Debug Console, Output, Problems) in a new workspace. It can either show at the bottom, right, or left of the editor area."),
698
432
  },
699
433
  'workbench.panel.opensMaximized': {
700
434
  'type': 'string',
701
435
  'enum': ['always', 'never', 'preserve'],
702
436
  'default': 'preserve',
703
- 'description': ( localize(
704
- 'panelOpensMaximized',
705
- "Controls whether the panel opens maximized. It can either always open maximized, never open maximized, or open to the last state it was in before being closed."
706
- )),
437
+ 'description': localizeWithPath('vs/workbench/browser/workbench.contribution', 'panelOpensMaximized', "Controls whether the panel opens maximized. It can either always open maximized, never open maximized, or open to the last state it was in before being closed."),
707
438
  'enumDescriptions': [
708
- ( localize(
709
- 'workbench.panel.opensMaximized.always',
710
- "Always maximize the panel when opening it."
711
- )),
712
- ( localize(
713
- 'workbench.panel.opensMaximized.never',
714
- "Never maximize the panel when opening it. The panel will open un-maximized."
715
- )),
716
- ( localize(
717
- 'workbench.panel.opensMaximized.preserve',
718
- "Open the panel to the state that it was in, before it was closed."
719
- ))
439
+ localizeWithPath('vs/workbench/browser/workbench.contribution', 'workbench.panel.opensMaximized.always', "Always maximize the panel when opening it."),
440
+ localizeWithPath('vs/workbench/browser/workbench.contribution', 'workbench.panel.opensMaximized.never', "Never maximize the panel when opening it. The panel will open un-maximized."),
441
+ localizeWithPath('vs/workbench/browser/workbench.contribution', 'workbench.panel.opensMaximized.preserve', "Open the panel to the state that it was in, before it was closed.")
720
442
  ]
721
443
  },
722
444
  'workbench.statusBar.visible': {
723
445
  'type': 'boolean',
724
446
  'default': true,
725
- 'description': ( localize(
726
- 'statusBarVisibility',
727
- "Controls the visibility of the status bar at the bottom of the workbench."
728
- ))
447
+ 'description': localizeWithPath('vs/workbench/browser/workbench.contribution', 'statusBarVisibility', "Controls the visibility of the status bar at the bottom of the workbench.")
729
448
  },
730
449
  'workbench.activityBar.visible': {
731
450
  'type': 'boolean',
732
451
  'default': true,
733
- 'description': ( localize(
734
- 'activityBarVisibility',
735
- "Controls the visibility of the activity bar in the workbench."
736
- ))
452
+ 'description': localizeWithPath('vs/workbench/browser/workbench.contribution', 'activityBarVisibility', "Controls the visibility of the activity bar in the workbench.")
737
453
  },
738
454
  'workbench.activityBar.iconClickBehavior': {
739
455
  'type': 'string',
740
456
  'enum': ['toggle', 'focus'],
741
457
  'default': 'toggle',
742
- 'description': ( localize(
743
- 'activityBarIconClickBehavior',
744
- "Controls the behavior of clicking an activity bar icon in the workbench."
745
- )),
458
+ 'description': localizeWithPath('vs/workbench/browser/workbench.contribution', 'activityBarIconClickBehavior', "Controls the behavior of clicking an activity bar icon in the workbench."),
746
459
  'enumDescriptions': [
747
- ( localize(
748
- 'workbench.activityBar.iconClickBehavior.toggle',
749
- "Hide the side bar if the clicked item is already visible."
750
- )),
751
- ( localize(
752
- 'workbench.activityBar.iconClickBehavior.focus',
753
- "Focus side bar if the clicked item is already visible."
754
- ))
460
+ localizeWithPath('vs/workbench/browser/workbench.contribution', 'workbench.activityBar.iconClickBehavior.toggle', "Hide the side bar if the clicked item is already visible."),
461
+ localizeWithPath('vs/workbench/browser/workbench.contribution', 'workbench.activityBar.iconClickBehavior.focus', "Focus side bar if the clicked item is already visible.")
755
462
  ]
756
463
  },
757
464
  'workbench.view.alwaysShowHeaderActions': {
758
465
  'type': 'boolean',
759
466
  'default': false,
760
- 'description': ( localize(
761
- 'viewVisibility',
762
- "Controls the visibility of view header actions. View header actions may either be always visible, or only visible when that view is focused or hovered over."
763
- ))
467
+ 'description': localizeWithPath('vs/workbench/browser/workbench.contribution', 'viewVisibility', "Controls the visibility of view header actions. View header actions may either be always visible, or only visible when that view is focused or hovered over.")
764
468
  },
765
469
  'workbench.fontAliasing': {
766
470
  'type': 'string',
767
471
  'enum': ['default', 'antialiased', 'none', 'auto'],
768
472
  'default': 'default',
769
- 'description': ( localize('fontAliasing', "Controls font aliasing method in the workbench.")),
473
+ 'description': localizeWithPath('vs/workbench/browser/workbench.contribution', 'fontAliasing', "Controls font aliasing method in the workbench."),
770
474
  'enumDescriptions': [
771
- ( localize(
772
- 'workbench.fontAliasing.default',
773
- "Sub-pixel font smoothing. On most non-retina displays this will give the sharpest text."
774
- )),
775
- ( localize(
776
- 'workbench.fontAliasing.antialiased',
777
- "Smooth the font on the level of the pixel, as opposed to the subpixel. Can make the font appear lighter overall."
778
- )),
779
- ( localize(
780
- 'workbench.fontAliasing.none',
781
- "Disables font smoothing. Text will show with jagged sharp edges."
782
- )),
783
- ( localize(
784
- 'workbench.fontAliasing.auto',
785
- "Applies `default` or `antialiased` automatically based on the DPI of displays."
786
- ))
475
+ localizeWithPath('vs/workbench/browser/workbench.contribution', 'workbench.fontAliasing.default', "Sub-pixel font smoothing. On most non-retina displays this will give the sharpest text."),
476
+ localizeWithPath('vs/workbench/browser/workbench.contribution', 'workbench.fontAliasing.antialiased', "Smooth the font on the level of the pixel, as opposed to the subpixel. Can make the font appear lighter overall."),
477
+ localizeWithPath('vs/workbench/browser/workbench.contribution', 'workbench.fontAliasing.none', "Disables font smoothing. Text will show with jagged sharp edges."),
478
+ localizeWithPath('vs/workbench/browser/workbench.contribution', 'workbench.fontAliasing.auto', "Applies `default` or `antialiased` automatically based on the DPI of displays.")
787
479
  ],
788
480
  'included': isMacintosh
789
481
  },
@@ -791,38 +483,26 @@ const registry = ( Registry.as(Extensions$1.Configuration));
791
483
  'type': 'string',
792
484
  'enum': ['ui', 'json'],
793
485
  'enumDescriptions': [
794
- ( localize('settings.editor.ui', "Use the settings UI editor.")),
795
- ( localize('settings.editor.json', "Use the JSON file editor.")),
486
+ localizeWithPath('vs/workbench/browser/workbench.contribution', 'settings.editor.ui', "Use the settings UI editor."),
487
+ localizeWithPath('vs/workbench/browser/workbench.contribution', 'settings.editor.json', "Use the JSON file editor."),
796
488
  ],
797
- 'description': ( localize(
798
- 'settings.editor.desc',
799
- "Determines which settings editor to use by default."
800
- )),
489
+ 'description': localizeWithPath('vs/workbench/browser/workbench.contribution', 'settings.editor.desc', "Determines which settings editor to use by default."),
801
490
  'default': 'ui',
802
491
  'scope': 3
803
492
  },
804
493
  'workbench.hover.delay': {
805
494
  'type': 'number',
806
- 'description': ( localize(
807
- 'workbench.hover.delay',
808
- "Controls the delay in milliseconds after which the hover is shown for workbench items (ex. some extension provided tree view items). Already visible items may require a refresh before reflecting this setting change."
809
- )),
495
+ 'description': localizeWithPath('vs/workbench/browser/workbench.contribution', 'workbench.hover.delay', "Controls the delay in milliseconds after which the hover is shown for workbench items (ex. some extension provided tree view items). Already visible items may require a refresh before reflecting this setting change."),
810
496
  'default': isMacintosh ? 1500 : 500,
811
497
  'minimum': 0
812
498
  },
813
499
  'workbench.reduceMotion': {
814
500
  type: 'string',
815
- description: ( localize(
816
- 'workbench.reduceMotion',
817
- "Controls whether the workbench should render with fewer animations."
818
- )),
501
+ description: localizeWithPath('vs/workbench/browser/workbench.contribution', 'workbench.reduceMotion', "Controls whether the workbench should render with fewer animations."),
819
502
  'enumDescriptions': [
820
- ( localize('workbench.reduceMotion.on', "Always render with reduced motion.")),
821
- ( localize('workbench.reduceMotion.off', "Do not render with reduced motion")),
822
- ( localize(
823
- 'workbench.reduceMotion.auto',
824
- "Render with reduced motion based on OS configuration."
825
- )),
503
+ localizeWithPath('vs/workbench/browser/workbench.contribution', 'workbench.reduceMotion.on', "Always render with reduced motion."),
504
+ localizeWithPath('vs/workbench/browser/workbench.contribution', 'workbench.reduceMotion.off', "Do not render with reduced motion"),
505
+ localizeWithPath('vs/workbench/browser/workbench.contribution', 'workbench.reduceMotion.auto', "Render with reduced motion based on OS configuration."),
826
506
  ],
827
507
  default: 'auto',
828
508
  tags: ['accessibility'],
@@ -832,119 +512,51 @@ const registry = ( Registry.as(Extensions$1.Configuration));
832
512
  'type': 'boolean',
833
513
  'default': true,
834
514
  'markdownDescription': isWeb ?
835
- ( localize(
836
- 'layoutControlEnabledWeb',
837
- "Controls whether the layout control in the title bar is shown."
838
- )) :
839
- ( localize(
840
- { key: 'layoutControlEnabled', comment: ['{0} is a placeholder for a setting identifier.'] },
841
- "Controls whether the layout control is shown in the custom title bar. This setting only has an effect when {0} is set to {1}.",
842
- '`#window.titleBarStyle#`',
843
- '`custom`'
844
- ))
515
+ localizeWithPath('vs/workbench/browser/workbench.contribution', 'layoutControlEnabledWeb', "Controls whether the layout control in the title bar is shown.") :
516
+ localizeWithPath('vs/workbench/browser/workbench.contribution', { key: 'layoutControlEnabled', comment: ['{0} is a placeholder for a setting identifier.'] }, "Controls whether the layout control is shown in the custom title bar. This setting only has an effect when {0} is set to {1}.", '`#window.titleBarStyle#`', '`custom`')
845
517
  },
846
518
  'workbench.layoutControl.type': {
847
519
  'type': 'string',
848
520
  'enum': ['menu', 'toggles', 'both'],
849
521
  'enumDescriptions': [
850
- ( localize(
851
- 'layoutcontrol.type.menu',
852
- "Shows a single button with a dropdown of layout options."
853
- )),
854
- ( localize(
855
- 'layoutcontrol.type.toggles',
856
- "Shows several buttons for toggling the visibility of the panels and side bar."
857
- )),
858
- ( localize('layoutcontrol.type.both', "Shows both the dropdown and toggle buttons.")),
522
+ localizeWithPath('vs/workbench/browser/workbench.contribution', 'layoutcontrol.type.menu', "Shows a single button with a dropdown of layout options."),
523
+ localizeWithPath('vs/workbench/browser/workbench.contribution', 'layoutcontrol.type.toggles', "Shows several buttons for toggling the visibility of the panels and side bar."),
524
+ localizeWithPath('vs/workbench/browser/workbench.contribution', 'layoutcontrol.type.both', "Shows both the dropdown and toggle buttons."),
859
525
  ],
860
526
  'default': 'both',
861
- 'description': ( localize(
862
- 'layoutControlType',
863
- "Controls whether the layout control in the custom title bar is displayed as a single menu button or with multiple UI toggles."
864
- )),
527
+ 'description': localizeWithPath('vs/workbench/browser/workbench.contribution', 'layoutControlType', "Controls whether the layout control in the custom title bar is displayed as a single menu button or with multiple UI toggles."),
865
528
  },
866
529
  'workbench.tips.enabled': {
867
530
  'type': 'boolean',
868
531
  'default': true,
869
- 'description': ( localize(
870
- 'tips.enabled',
871
- "When enabled, will show the watermark tips when no editor is open."
872
- ))
532
+ 'description': localizeWithPath('vs/workbench/browser/workbench.contribution', 'tips.enabled', "When enabled, will show the watermark tips when no editor is open.")
873
533
  },
874
534
  }
875
535
  });
876
- let windowTitleDescription = ( localize(
877
- 'windowTitle',
878
- "Controls the window title based on the current context such as the opened workspace or active editor. Variables are substituted based on the context:"
879
- ));
536
+ let windowTitleDescription = localizeWithPath('vs/workbench/browser/workbench.contribution', 'windowTitle', "Controls the window title based on the current context such as the opened workspace or active editor. Variables are substituted based on the context:");
880
537
  windowTitleDescription += '\n- ' + [
881
- ( localize(
882
- 'activeEditorShort',
883
- "`${activeEditorShort}`: the file name (e.g. myFile.txt)."
884
- )),
885
- ( localize(
886
- 'activeEditorMedium',
887
- "`${activeEditorMedium}`: the path of the file relative to the workspace folder (e.g. myFolder/myFileFolder/myFile.txt)."
888
- )),
889
- ( localize(
890
- 'activeEditorLong',
891
- "`${activeEditorLong}`: the full path of the file (e.g. /Users/Development/myFolder/myFileFolder/myFile.txt)."
892
- )),
893
- ( localize(
894
- 'activeFolderShort',
895
- "`${activeFolderShort}`: the name of the folder the file is contained in (e.g. myFileFolder)."
896
- )),
897
- ( localize(
898
- 'activeFolderMedium',
899
- "`${activeFolderMedium}`: the path of the folder the file is contained in, relative to the workspace folder (e.g. myFolder/myFileFolder)."
900
- )),
901
- ( localize(
902
- 'activeFolderLong',
903
- "`${activeFolderLong}`: the full path of the folder the file is contained in (e.g. /Users/Development/myFolder/myFileFolder)."
904
- )),
905
- ( localize(
906
- 'folderName',
907
- "`${folderName}`: name of the workspace folder the file is contained in (e.g. myFolder)."
908
- )),
909
- ( localize(
910
- 'folderPath',
911
- "`${folderPath}`: file path of the workspace folder the file is contained in (e.g. /Users/Development/myFolder)."
912
- )),
913
- ( localize(
914
- 'rootName',
915
- "`${rootName}`: name of the workspace with optional remote name and workspace indicator if applicable (e.g. myFolder, myRemoteFolder [SSH] or myWorkspace (Workspace))."
916
- )),
917
- ( localize(
918
- 'rootNameShort',
919
- "`${rootNameShort}`: shortened name of the workspace without suffixes (e.g. myFolder, myRemoteFolder or myWorkspace)."
920
- )),
921
- ( localize(
922
- 'rootPath',
923
- "`${rootPath}`: file path of the opened workspace or folder (e.g. /Users/Development/myWorkspace)."
924
- )),
925
- ( localize(
926
- 'profileName',
927
- "`${profileName}`: name of the profile in which the workspace is opened (e.g. Data Science (Profile)). Ignored if default profile is used."
928
- )),
929
- ( localize('appName', "`${appName}`: e.g. VS Code.")),
930
- ( localize('remoteName', "`${remoteName}`: e.g. SSH")),
931
- ( localize(
932
- 'dirty',
933
- "`${dirty}`: an indicator for when the active editor has unsaved changes."
934
- )),
935
- ( localize(
936
- 'focusedView',
937
- "`${focusedView}`: the name of the view that is currently focused."
938
- )),
939
- ( localize(
940
- 'separator',
941
- "`${separator}`: a conditional separator (\" - \") that only shows when surrounded by variables with values or static text."
942
- ))
538
+ localizeWithPath('vs/workbench/browser/workbench.contribution', 'activeEditorShort', "`${activeEditorShort}`: the file name (e.g. myFile.txt)."),
539
+ localizeWithPath('vs/workbench/browser/workbench.contribution', 'activeEditorMedium', "`${activeEditorMedium}`: the path of the file relative to the workspace folder (e.g. myFolder/myFileFolder/myFile.txt)."),
540
+ localizeWithPath('vs/workbench/browser/workbench.contribution', 'activeEditorLong', "`${activeEditorLong}`: the full path of the file (e.g. /Users/Development/myFolder/myFileFolder/myFile.txt)."),
541
+ localizeWithPath('vs/workbench/browser/workbench.contribution', 'activeFolderShort', "`${activeFolderShort}`: the name of the folder the file is contained in (e.g. myFileFolder)."),
542
+ localizeWithPath('vs/workbench/browser/workbench.contribution', 'activeFolderMedium', "`${activeFolderMedium}`: the path of the folder the file is contained in, relative to the workspace folder (e.g. myFolder/myFileFolder)."),
543
+ localizeWithPath('vs/workbench/browser/workbench.contribution', 'activeFolderLong', "`${activeFolderLong}`: the full path of the folder the file is contained in (e.g. /Users/Development/myFolder/myFileFolder)."),
544
+ localizeWithPath('vs/workbench/browser/workbench.contribution', 'folderName', "`${folderName}`: name of the workspace folder the file is contained in (e.g. myFolder)."),
545
+ localizeWithPath('vs/workbench/browser/workbench.contribution', 'folderPath', "`${folderPath}`: file path of the workspace folder the file is contained in (e.g. /Users/Development/myFolder)."),
546
+ localizeWithPath('vs/workbench/browser/workbench.contribution', 'rootName', "`${rootName}`: name of the workspace with optional remote name and workspace indicator if applicable (e.g. myFolder, myRemoteFolder [SSH] or myWorkspace (Workspace))."),
547
+ localizeWithPath('vs/workbench/browser/workbench.contribution', 'rootNameShort', "`${rootNameShort}`: shortened name of the workspace without suffixes (e.g. myFolder, myRemoteFolder or myWorkspace)."),
548
+ localizeWithPath('vs/workbench/browser/workbench.contribution', 'rootPath', "`${rootPath}`: file path of the opened workspace or folder (e.g. /Users/Development/myWorkspace)."),
549
+ localizeWithPath('vs/workbench/browser/workbench.contribution', 'profileName', "`${profileName}`: name of the profile in which the workspace is opened (e.g. Data Science (Profile)). Ignored if default profile is used."),
550
+ localizeWithPath('vs/workbench/browser/workbench.contribution', 'appName', "`${appName}`: e.g. VS Code."),
551
+ localizeWithPath('vs/workbench/browser/workbench.contribution', 'remoteName', "`${remoteName}`: e.g. SSH"),
552
+ localizeWithPath('vs/workbench/browser/workbench.contribution', 'dirty', "`${dirty}`: an indicator for when the active editor has unsaved changes."),
553
+ localizeWithPath('vs/workbench/browser/workbench.contribution', 'focusedView', "`${focusedView}`: the name of the view that is currently focused."),
554
+ localizeWithPath('vs/workbench/browser/workbench.contribution', 'separator', "`${separator}`: a conditional separator (\" - \") that only shows when surrounded by variables with values or static text.")
943
555
  ].join('\n- ');
944
556
  registry.registerConfiguration({
945
557
  'id': 'window',
946
558
  'order': 8,
947
- 'title': ( localize('windowConfigurationTitle', "Window")),
559
+ 'title': localizeWithPath('vs/workbench/browser/workbench.contribution', 'windowConfigurationTitle', "Window"),
948
560
  'type': 'object',
949
561
  'properties': {
950
562
  'window.title': {
@@ -964,181 +576,96 @@ const registry = ( Registry.as(Extensions$1.Configuration));
964
576
  'window.titleSeparator': {
965
577
  'type': 'string',
966
578
  'default': isMacintosh ? ' \u2014 ' : ' - ',
967
- 'markdownDescription': ( localize("window.titleSeparator", "Separator used by {0}.", '`#window.title#`'))
579
+ 'markdownDescription': localizeWithPath('vs/workbench/browser/workbench.contribution', "window.titleSeparator", "Separator used by {0}.", '`#window.title#`')
968
580
  },
969
581
  'window.commandCenter': {
970
582
  type: 'boolean',
971
583
  default: true,
972
584
  markdownDescription: isWeb ?
973
- ( localize(
974
- 'window.commandCenterWeb',
975
- "Show command launcher together with the window title."
976
- )) :
977
- ( localize(
978
- { key: 'window.commandCenter', comment: ['{0} is a placeholder for a setting identifier.'] },
979
- "Show command launcher together with the window title. This setting only has an effect when {0} is set to {1}.",
980
- '`#window.titleBarStyle#`',
981
- '`custom`'
982
- ))
585
+ localizeWithPath('vs/workbench/browser/workbench.contribution', 'window.commandCenterWeb', "Show command launcher together with the window title.") :
586
+ localizeWithPath('vs/workbench/browser/workbench.contribution', { key: 'window.commandCenter', comment: ['{0} is a placeholder for a setting identifier.'] }, "Show command launcher together with the window title. This setting only has an effect when {0} is set to {1}.", '`#window.titleBarStyle#`', '`custom`')
983
587
  },
984
588
  'window.menuBarVisibility': {
985
589
  'type': 'string',
986
590
  'enum': ['classic', 'visible', 'toggle', 'hidden', 'compact'],
987
591
  'markdownEnumDescriptions': [
988
- ( localize(
989
- 'window.menuBarVisibility.classic',
990
- "Menu is displayed at the top of the window and only hidden in full screen mode."
991
- )),
992
- ( localize(
993
- 'window.menuBarVisibility.visible',
994
- "Menu is always visible at the top of the window even in full screen mode."
995
- )),
592
+ localizeWithPath('vs/workbench/browser/workbench.contribution', 'window.menuBarVisibility.classic', "Menu is displayed at the top of the window and only hidden in full screen mode."),
593
+ localizeWithPath('vs/workbench/browser/workbench.contribution', 'window.menuBarVisibility.visible', "Menu is always visible at the top of the window even in full screen mode."),
996
594
  isMacintosh ?
997
- ( localize(
998
- 'window.menuBarVisibility.toggle.mac',
999
- "Menu is hidden but can be displayed at the top of the window by executing the `Focus Application Menu` command."
1000
- )) :
1001
- ( localize(
1002
- 'window.menuBarVisibility.toggle',
1003
- "Menu is hidden but can be displayed at the top of the window via the Alt key."
1004
- )),
1005
- ( localize('window.menuBarVisibility.hidden', "Menu is always hidden.")),
595
+ localizeWithPath('vs/workbench/browser/workbench.contribution', 'window.menuBarVisibility.toggle.mac', "Menu is hidden but can be displayed at the top of the window by executing the `Focus Application Menu` command.") :
596
+ localizeWithPath('vs/workbench/browser/workbench.contribution', 'window.menuBarVisibility.toggle', "Menu is hidden but can be displayed at the top of the window via the Alt key."),
597
+ localizeWithPath('vs/workbench/browser/workbench.contribution', 'window.menuBarVisibility.hidden', "Menu is always hidden."),
1006
598
  isWeb ?
1007
- ( localize(
1008
- 'window.menuBarVisibility.compact.web',
1009
- "Menu is displayed as a compact button in the side bar."
1010
- )) :
1011
- ( localize(
1012
- { key: 'window.menuBarVisibility.compact', comment: ['{0} is a placeholder for a setting identifier.'] },
1013
- "Menu is displayed as a compact button in the side bar. This value is ignored when {0} is {1}.",
1014
- '`#window.titleBarStyle#`',
1015
- '`native`'
1016
- ))
599
+ localizeWithPath('vs/workbench/browser/workbench.contribution', 'window.menuBarVisibility.compact.web', "Menu is displayed as a compact button in the side bar.") :
600
+ localizeWithPath('vs/workbench/browser/workbench.contribution', { key: 'window.menuBarVisibility.compact', comment: ['{0} is a placeholder for a setting identifier.'] }, "Menu is displayed as a compact button in the side bar. This value is ignored when {0} is {1}.", '`#window.titleBarStyle#`', '`native`')
1017
601
  ],
1018
602
  'default': isWeb ? 'compact' : 'classic',
1019
603
  'scope': 1 ,
1020
604
  'markdownDescription': isMacintosh ?
1021
- ( localize(
1022
- 'menuBarVisibility.mac',
1023
- "Control the visibility of the menu bar. A setting of 'toggle' means that the menu bar is hidden and executing `Focus Application Menu` will show it. A setting of 'compact' will move the menu into the side bar."
1024
- )) :
1025
- ( localize(
1026
- 'menuBarVisibility',
1027
- "Control the visibility of the menu bar. A setting of 'toggle' means that the menu bar is hidden and a single press of the Alt key will show it. A setting of 'compact' will move the menu into the side bar."
1028
- )),
605
+ localizeWithPath('vs/workbench/browser/workbench.contribution', 'menuBarVisibility.mac', "Control the visibility of the menu bar. A setting of 'toggle' means that the menu bar is hidden and executing `Focus Application Menu` will show it. A setting of 'compact' will move the menu into the side bar.") :
606
+ localizeWithPath('vs/workbench/browser/workbench.contribution', 'menuBarVisibility', "Control the visibility of the menu bar. A setting of 'toggle' means that the menu bar is hidden and a single press of the Alt key will show it. A setting of 'compact' will move the menu into the side bar."),
1029
607
  'included': isWindows || isLinux || isWeb
1030
608
  },
1031
609
  'window.enableMenuBarMnemonics': {
1032
610
  'type': 'boolean',
1033
611
  'default': true,
1034
612
  'scope': 1 ,
1035
- 'description': ( localize(
1036
- 'enableMenuBarMnemonics',
1037
- "Controls whether the main menus can be opened via Alt-key shortcuts. Disabling mnemonics allows to bind these Alt-key shortcuts to editor commands instead."
1038
- )),
613
+ 'description': localizeWithPath('vs/workbench/browser/workbench.contribution', 'enableMenuBarMnemonics', "Controls whether the main menus can be opened via Alt-key shortcuts. Disabling mnemonics allows to bind these Alt-key shortcuts to editor commands instead."),
1039
614
  'included': isWindows || isLinux
1040
615
  },
1041
616
  'window.customMenuBarAltFocus': {
1042
617
  'type': 'boolean',
1043
618
  'default': true,
1044
619
  'scope': 1 ,
1045
- 'markdownDescription': ( localize(
1046
- 'customMenuBarAltFocus',
1047
- "Controls whether the menu bar will be focused by pressing the Alt-key. This setting has no effect on toggling the menu bar with the Alt-key."
1048
- )),
620
+ 'markdownDescription': localizeWithPath('vs/workbench/browser/workbench.contribution', 'customMenuBarAltFocus', "Controls whether the menu bar will be focused by pressing the Alt-key. This setting has no effect on toggling the menu bar with the Alt-key."),
1049
621
  'included': isWindows || isLinux
1050
622
  },
1051
623
  'window.openFilesInNewWindow': {
1052
624
  'type': 'string',
1053
625
  'enum': ['on', 'off', 'default'],
1054
626
  'enumDescriptions': [
1055
- ( localize('window.openFilesInNewWindow.on', "Files will open in a new window.")),
1056
- ( localize(
1057
- 'window.openFilesInNewWindow.off',
1058
- "Files will open in the window with the files' folder open or the last active window."
1059
- )),
627
+ localizeWithPath('vs/workbench/browser/workbench.contribution', 'window.openFilesInNewWindow.on', "Files will open in a new window."),
628
+ localizeWithPath('vs/workbench/browser/workbench.contribution', 'window.openFilesInNewWindow.off', "Files will open in the window with the files' folder open or the last active window."),
1060
629
  isMacintosh ?
1061
- ( localize(
1062
- 'window.openFilesInNewWindow.defaultMac',
1063
- "Files will open in the window with the files' folder open or the last active window unless opened via the Dock or from Finder."
1064
- )) :
1065
- ( localize(
1066
- 'window.openFilesInNewWindow.default',
1067
- "Files will open in a new window unless picked from within the application (e.g. via the File menu)."
1068
- ))
630
+ localizeWithPath('vs/workbench/browser/workbench.contribution', 'window.openFilesInNewWindow.defaultMac', "Files will open in the window with the files' folder open or the last active window unless opened via the Dock or from Finder.") :
631
+ localizeWithPath('vs/workbench/browser/workbench.contribution', 'window.openFilesInNewWindow.default', "Files will open in a new window unless picked from within the application (e.g. via the File menu).")
1069
632
  ],
1070
633
  'default': 'off',
1071
634
  'scope': 1 ,
1072
635
  'markdownDescription': isMacintosh ?
1073
- ( localize(
1074
- 'openFilesInNewWindowMac',
1075
- "Controls whether files should open in a new window when using a command line or file dialog.\nNote that there can still be cases where this setting is ignored (e.g. when using the `--new-window` or `--reuse-window` command line option)."
1076
- )) :
1077
- ( localize(
1078
- 'openFilesInNewWindow',
1079
- "Controls whether files should open in a new window when using a command line or file dialog.\nNote that there can still be cases where this setting is ignored (e.g. when using the `--new-window` or `--reuse-window` command line option)."
1080
- ))
636
+ localizeWithPath('vs/workbench/browser/workbench.contribution', 'openFilesInNewWindowMac', "Controls whether files should open in a new window when using a command line or file dialog.\nNote that there can still be cases where this setting is ignored (e.g. when using the `--new-window` or `--reuse-window` command line option).") :
637
+ localizeWithPath('vs/workbench/browser/workbench.contribution', 'openFilesInNewWindow', "Controls whether files should open in a new window when using a command line or file dialog.\nNote that there can still be cases where this setting is ignored (e.g. when using the `--new-window` or `--reuse-window` command line option).")
1081
638
  },
1082
639
  'window.openFoldersInNewWindow': {
1083
640
  'type': 'string',
1084
641
  'enum': ['on', 'off', 'default'],
1085
642
  'enumDescriptions': [
1086
- ( localize('window.openFoldersInNewWindow.on', "Folders will open in a new window.")),
1087
- ( localize(
1088
- 'window.openFoldersInNewWindow.off',
1089
- "Folders will replace the last active window."
1090
- )),
1091
- ( localize(
1092
- 'window.openFoldersInNewWindow.default',
1093
- "Folders will open in a new window unless a folder is picked from within the application (e.g. via the File menu)."
1094
- ))
643
+ localizeWithPath('vs/workbench/browser/workbench.contribution', 'window.openFoldersInNewWindow.on', "Folders will open in a new window."),
644
+ localizeWithPath('vs/workbench/browser/workbench.contribution', 'window.openFoldersInNewWindow.off', "Folders will replace the last active window."),
645
+ localizeWithPath('vs/workbench/browser/workbench.contribution', 'window.openFoldersInNewWindow.default', "Folders will open in a new window unless a folder is picked from within the application (e.g. via the File menu).")
1095
646
  ],
1096
647
  'default': 'default',
1097
648
  'scope': 1 ,
1098
- 'markdownDescription': ( localize(
1099
- 'openFoldersInNewWindow',
1100
- "Controls whether folders should open in a new window or replace the last active window.\nNote that there can still be cases where this setting is ignored (e.g. when using the `--new-window` or `--reuse-window` command line option)."
1101
- ))
649
+ 'markdownDescription': localizeWithPath('vs/workbench/browser/workbench.contribution', 'openFoldersInNewWindow', "Controls whether folders should open in a new window or replace the last active window.\nNote that there can still be cases where this setting is ignored (e.g. when using the `--new-window` or `--reuse-window` command line option).")
1102
650
  },
1103
651
  'window.confirmBeforeClose': {
1104
652
  'type': 'string',
1105
653
  'enum': ['always', 'keyboardOnly', 'never'],
1106
654
  'enumDescriptions': [
1107
655
  isWeb ?
1108
- ( localize(
1109
- 'window.confirmBeforeClose.always.web',
1110
- "Always try to ask for confirmation. Note that browsers may still decide to close a tab or window without confirmation."
1111
- )) :
1112
- ( localize('window.confirmBeforeClose.always', "Always ask for confirmation.")),
656
+ localizeWithPath('vs/workbench/browser/workbench.contribution', 'window.confirmBeforeClose.always.web', "Always try to ask for confirmation. Note that browsers may still decide to close a tab or window without confirmation.") :
657
+ localizeWithPath('vs/workbench/browser/workbench.contribution', 'window.confirmBeforeClose.always', "Always ask for confirmation."),
1113
658
  isWeb ?
1114
- ( localize(
1115
- 'window.confirmBeforeClose.keyboardOnly.web',
1116
- "Only ask for confirmation if a keybinding was used to close the window. Note that detection may not be possible in some cases."
1117
- )) :
1118
- ( localize(
1119
- 'window.confirmBeforeClose.keyboardOnly',
1120
- "Only ask for confirmation if a keybinding was used."
1121
- )),
659
+ localizeWithPath('vs/workbench/browser/workbench.contribution', 'window.confirmBeforeClose.keyboardOnly.web', "Only ask for confirmation if a keybinding was used to close the window. Note that detection may not be possible in some cases.") :
660
+ localizeWithPath('vs/workbench/browser/workbench.contribution', 'window.confirmBeforeClose.keyboardOnly', "Only ask for confirmation if a keybinding was used."),
1122
661
  isWeb ?
1123
- ( localize(
1124
- 'window.confirmBeforeClose.never.web',
1125
- "Never explicitly ask for confirmation unless data loss is imminent."
1126
- )) :
1127
- ( localize(
1128
- 'window.confirmBeforeClose.never',
1129
- "Never explicitly ask for confirmation."
1130
- ))
662
+ localizeWithPath('vs/workbench/browser/workbench.contribution', 'window.confirmBeforeClose.never.web', "Never explicitly ask for confirmation unless data loss is imminent.") :
663
+ localizeWithPath('vs/workbench/browser/workbench.contribution', 'window.confirmBeforeClose.never', "Never explicitly ask for confirmation.")
1131
664
  ],
1132
665
  'default': (isWeb && !isStandalone()) ? 'keyboardOnly' : 'never',
1133
666
  'markdownDescription': isWeb ?
1134
- ( localize(
1135
- 'confirmBeforeCloseWeb',
1136
- "Controls whether to show a confirmation dialog before closing the browser tab or window. Note that even if enabled, browsers may still decide to close a tab or window without confirmation and that this setting is only a hint that may not work in all cases."
1137
- )) :
1138
- ( localize(
1139
- 'confirmBeforeClose',
1140
- "Controls whether to show a confirmation dialog before closing the window or quitting the application."
1141
- )),
667
+ localizeWithPath('vs/workbench/browser/workbench.contribution', 'confirmBeforeCloseWeb', "Controls whether to show a confirmation dialog before closing the browser tab or window. Note that even if enabled, browsers may still decide to close a tab or window without confirmation and that this setting is only a hint that may not work in all cases.") :
668
+ localizeWithPath('vs/workbench/browser/workbench.contribution', 'confirmBeforeClose', "Controls whether to show a confirmation dialog before closing the window or quitting the application."),
1142
669
  'scope': 1
1143
670
  }
1144
671
  }
@@ -1146,72 +673,48 @@ const registry = ( Registry.as(Extensions$1.Configuration));
1146
673
  registry.registerConfiguration({
1147
674
  'id': 'zenMode',
1148
675
  'order': 9,
1149
- 'title': ( localize('zenModeConfigurationTitle', "Zen Mode")),
676
+ 'title': localizeWithPath('vs/workbench/browser/workbench.contribution', 'zenModeConfigurationTitle', "Zen Mode"),
1150
677
  'type': 'object',
1151
678
  'properties': {
1152
679
  'zenMode.fullScreen': {
1153
680
  'type': 'boolean',
1154
681
  'default': true,
1155
- 'description': ( localize(
1156
- 'zenMode.fullScreen',
1157
- "Controls whether turning on Zen Mode also puts the workbench into full screen mode."
1158
- ))
682
+ 'description': localizeWithPath('vs/workbench/browser/workbench.contribution', 'zenMode.fullScreen', "Controls whether turning on Zen Mode also puts the workbench into full screen mode.")
1159
683
  },
1160
684
  'zenMode.centerLayout': {
1161
685
  'type': 'boolean',
1162
686
  'default': true,
1163
- 'description': ( localize(
1164
- 'zenMode.centerLayout',
1165
- "Controls whether turning on Zen Mode also centers the layout."
1166
- ))
687
+ 'description': localizeWithPath('vs/workbench/browser/workbench.contribution', 'zenMode.centerLayout', "Controls whether turning on Zen Mode also centers the layout.")
1167
688
  },
1168
689
  'zenMode.hideTabs': {
1169
690
  'type': 'boolean',
1170
691
  'default': true,
1171
- 'description': ( localize(
1172
- 'zenMode.hideTabs',
1173
- "Controls whether turning on Zen Mode also hides workbench tabs."
1174
- ))
692
+ 'description': localizeWithPath('vs/workbench/browser/workbench.contribution', 'zenMode.hideTabs', "Controls whether turning on Zen Mode also hides workbench tabs.")
1175
693
  },
1176
694
  'zenMode.hideStatusBar': {
1177
695
  'type': 'boolean',
1178
696
  'default': true,
1179
- 'description': ( localize(
1180
- 'zenMode.hideStatusBar',
1181
- "Controls whether turning on Zen Mode also hides the status bar at the bottom of the workbench."
1182
- ))
697
+ 'description': localizeWithPath('vs/workbench/browser/workbench.contribution', 'zenMode.hideStatusBar', "Controls whether turning on Zen Mode also hides the status bar at the bottom of the workbench.")
1183
698
  },
1184
699
  'zenMode.hideActivityBar': {
1185
700
  'type': 'boolean',
1186
701
  'default': true,
1187
- 'description': ( localize(
1188
- 'zenMode.hideActivityBar',
1189
- "Controls whether turning on Zen Mode also hides the activity bar either at the left or right of the workbench."
1190
- ))
702
+ 'description': localizeWithPath('vs/workbench/browser/workbench.contribution', 'zenMode.hideActivityBar', "Controls whether turning on Zen Mode also hides the activity bar either at the left or right of the workbench.")
1191
703
  },
1192
704
  'zenMode.hideLineNumbers': {
1193
705
  'type': 'boolean',
1194
706
  'default': true,
1195
- 'description': ( localize(
1196
- 'zenMode.hideLineNumbers',
1197
- "Controls whether turning on Zen Mode also hides the editor line numbers."
1198
- ))
707
+ 'description': localizeWithPath('vs/workbench/browser/workbench.contribution', 'zenMode.hideLineNumbers', "Controls whether turning on Zen Mode also hides the editor line numbers.")
1199
708
  },
1200
709
  'zenMode.restore': {
1201
710
  'type': 'boolean',
1202
711
  'default': true,
1203
- 'description': ( localize(
1204
- 'zenMode.restore',
1205
- "Controls whether a window should restore to Zen Mode if it was exited in Zen Mode."
1206
- ))
712
+ 'description': localizeWithPath('vs/workbench/browser/workbench.contribution', 'zenMode.restore', "Controls whether a window should restore to Zen Mode if it was exited in Zen Mode.")
1207
713
  },
1208
714
  'zenMode.silentNotifications': {
1209
715
  'type': 'boolean',
1210
716
  'default': true,
1211
- 'description': ( localize(
1212
- 'zenMode.silentNotifications',
1213
- "Controls whether notifications do not disturb mode should be enabled while in Zen Mode. If true, only error notifications will pop out."
1214
- ))
717
+ 'description': localizeWithPath('vs/workbench/browser/workbench.contribution', 'zenMode.silentNotifications', "Controls whether notifications do not disturb mode should be enabled while in Zen Mode. If true, only error notifications will pop out.")
1215
718
  }
1216
719
  }
1217
720
  });