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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (216) hide show
  1. package/extensions.d.ts +3 -3
  2. package/extensions.js +31 -33
  3. package/l10n.d.ts +4 -0
  4. package/l10n.js +10 -0
  5. package/missing-services.js +4 -2
  6. package/monaco-editor-treemending.patch +12268 -1070
  7. package/monaco-treemending.js +8 -2
  8. package/package.json +8 -1
  9. package/service-override/extensions.js +2 -2
  10. package/service-override/layout.js +2 -2
  11. package/tools/l10n.js +177 -0
  12. package/tools.js +22 -1
  13. package/vscode/src/vs/base/browser/ui/menu/menubar.js +1 -1
  14. package/vscode/src/vs/base/browser/ui/splitview/paneview.js +2 -2
  15. package/vscode/src/vs/base/common/date.js +55 -55
  16. package/vscode/src/vs/base/common/jsonErrorMessages.js +10 -10
  17. package/vscode/src/vs/base/common/tfIdf.js +137 -0
  18. package/vscode/src/vs/editor/contrib/quickAccess/browser/commandsQuickAccess.js +23 -0
  19. package/vscode/src/vs/editor/contrib/quickAccess/browser/editorNavigationQuickAccess.js +115 -0
  20. package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess.js +112 -0
  21. package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess.js +334 -0
  22. package/vscode/src/vs/platform/dialogs/common/dialogs.js +10 -14
  23. package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +3 -0
  24. package/vscode/src/vs/platform/extensionManagement/common/extensionNls.js +2 -2
  25. package/vscode/src/vs/platform/files/common/fileService.js +28 -37
  26. package/vscode/src/vs/platform/files/common/files.js +6 -6
  27. package/vscode/src/vs/platform/files/common/io.js +2 -2
  28. package/vscode/src/vs/platform/keyboardLayout/common/keyboardConfig.js +3 -9
  29. package/vscode/src/vs/platform/quickinput/browser/commandsQuickAccess.js +300 -0
  30. package/vscode/src/vs/platform/quickinput/browser/helpQuickAccess.js +59 -0
  31. package/vscode/src/vs/platform/quickinput/browser/pickerQuickAccess.js +212 -0
  32. package/vscode/src/vs/platform/request/common/request.js +2 -2
  33. package/vscode/src/vs/platform/theme/common/tokenClassificationRegistry.js +42 -63
  34. package/vscode/src/vs/workbench/api/browser/mainThreadAuthentication.js +13 -32
  35. package/vscode/src/vs/workbench/api/browser/mainThreadComments.js +2 -2
  36. package/vscode/src/vs/workbench/api/browser/mainThreadCustomEditors.js +3 -3
  37. package/vscode/src/vs/workbench/api/browser/mainThreadEditSessionIdentityParticipant.js +4 -5
  38. package/vscode/src/vs/workbench/api/browser/mainThreadExtensionService.js +38 -50
  39. package/vscode/src/vs/workbench/api/browser/mainThreadFileSystemEventService.js +21 -53
  40. package/vscode/src/vs/workbench/api/browser/mainThreadMessageService.js +4 -4
  41. package/vscode/src/vs/workbench/api/browser/mainThreadNotebookSaveParticipant.js +4 -5
  42. package/vscode/src/vs/workbench/api/browser/mainThreadProgress.js +6 -2
  43. package/vscode/src/vs/workbench/api/browser/mainThreadSaveParticipant.js +4 -2
  44. package/vscode/src/vs/workbench/api/browser/mainThreadTask.js +1 -1
  45. package/vscode/src/vs/workbench/api/browser/mainThreadTunnelService.js +2 -12
  46. package/vscode/src/vs/workbench/api/browser/mainThreadUriOpeners.js +15 -9
  47. package/vscode/src/vs/workbench/api/browser/mainThreadWebviews.js +2 -6
  48. package/vscode/src/vs/workbench/api/browser/mainThreadWorkspace.js +6 -28
  49. package/vscode/src/vs/workbench/api/browser/statusBarExtensionPoint.js +60 -0
  50. package/vscode/src/vs/workbench/api/common/extHostChat.js +3 -3
  51. package/vscode/src/vs/workbench/api/common/extHostDiagnostics.js +2 -6
  52. package/vscode/src/vs/workbench/api/common/extHostExtensionService.js +2 -2
  53. package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +3 -11
  54. package/vscode/src/vs/workbench/api/common/extHostLogService.js +2 -2
  55. package/vscode/src/vs/workbench/api/common/extHostNotebook.js +3 -3
  56. package/vscode/src/vs/workbench/api/common/extHostProgress.js +2 -6
  57. package/vscode/src/vs/workbench/api/common/extHostStatusBar.js +3 -7
  58. package/vscode/src/vs/workbench/api/common/extHostTelemetry.js +2 -6
  59. package/vscode/src/vs/workbench/api/common/extHostTerminalService.js +2 -6
  60. package/vscode/src/vs/workbench/api/common/extHostTreeViews.js +2 -2
  61. package/vscode/src/vs/workbench/api/common/extHostTunnelService.js +2 -2
  62. package/vscode/src/vs/workbench/api/common/extHostWorkspace.js +2 -7
  63. package/vscode/src/vs/workbench/api/common/jsonValidationExtensionPoint.js +9 -34
  64. package/vscode/src/vs/workbench/browser/actions/layoutActions.js +898 -68
  65. package/vscode/src/vs/workbench/browser/actions/quickAccessActions.js +7 -7
  66. package/vscode/src/vs/workbench/browser/actions/windowActions.js +32 -38
  67. package/vscode/src/vs/workbench/browser/actions/workspaceActions.js +103 -13
  68. package/vscode/src/vs/workbench/browser/actions/workspaceCommands.js +2 -2
  69. package/vscode/src/vs/workbench/browser/editor.js +3 -3
  70. package/vscode/src/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarActions.js +12 -27
  71. package/vscode/src/vs/workbench/browser/parts/compositeBarActions.js +12 -12
  72. package/vscode/src/vs/workbench/browser/parts/editor/binaryDiffEditor.js +2 -7
  73. package/vscode/src/vs/workbench/browser/parts/editor/binaryEditor.js +4 -7
  74. package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbs.js +42 -90
  75. package/vscode/src/vs/workbench/browser/parts/editor/editor.contribution.js +140 -272
  76. package/vscode/src/vs/workbench/browser/parts/editor/editorActions.js +115 -148
  77. package/vscode/src/vs/workbench/browser/parts/editor/editorCommands.js +21 -33
  78. package/vscode/src/vs/workbench/browser/parts/editor/editorConfiguration.js +7 -19
  79. package/vscode/src/vs/workbench/browser/parts/editor/editorPlaceholder.js +10 -26
  80. package/vscode/src/vs/workbench/browser/parts/editor/editorQuickAccess.js +7 -17
  81. package/vscode/src/vs/workbench/browser/parts/editor/editorStatus.js +60 -81
  82. package/vscode/src/vs/workbench/browser/parts/editor/sideBySideEditor.js +2 -2
  83. package/vscode/src/vs/workbench/browser/parts/editor/textCodeEditor.js +2 -2
  84. package/vscode/src/vs/workbench/browser/parts/editor/textDiffEditor.js +4 -11
  85. package/vscode/src/vs/workbench/browser/parts/editor/textEditor.js +2 -2
  86. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCommands.js +8 -8
  87. package/vscode/src/vs/workbench/browser/parts/panel/panelActions.js +69 -34
  88. package/vscode/src/vs/workbench/browser/parts/titlebar/menubarControl.js +58 -34
  89. package/vscode/src/vs/workbench/browser/parts/views/viewFilter.js +2 -2
  90. package/vscode/src/vs/workbench/browser/parts/views/viewPane.js +3 -9
  91. package/vscode/src/vs/workbench/browser/parts/views/viewPaneContainer.js +6 -6
  92. package/vscode/src/vs/workbench/browser/parts/views/viewsService.js +7 -11
  93. package/vscode/src/vs/workbench/browser/quickaccess.js +7 -3
  94. package/vscode/src/vs/workbench/browser/workbench.contribution.js +186 -683
  95. package/vscode/src/vs/workbench/common/configuration.js +12 -15
  96. package/vscode/src/vs/workbench/common/contextkeys.js +272 -90
  97. package/vscode/src/vs/workbench/common/editor/diffEditorInput.js +2 -2
  98. package/vscode/src/vs/workbench/common/editor/sideBySideEditorInput.js +2 -7
  99. package/vscode/src/vs/workbench/common/editor/textEditorModel.js +2 -6
  100. package/vscode/src/vs/workbench/common/editor.js +5 -5
  101. package/vscode/src/vs/workbench/common/theme.js +137 -527
  102. package/vscode/src/vs/workbench/common/views.js +4 -8
  103. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +15 -55
  104. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityContributions.js +3 -8
  105. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleView.js +22 -60
  106. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleViewActions.js +9 -15
  107. package/vscode/src/vs/workbench/contrib/bulkEdit/browser/bulkEditService.js +18 -48
  108. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatActions.js +2 -0
  109. package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.js +5 -10
  110. package/vscode/src/vs/workbench/contrib/chat/common/chatSlashCommands.js +5 -13
  111. package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +8 -27
  112. package/vscode/src/vs/workbench/contrib/codeActions/common/codeActionsExtensionPoint.js +5 -17
  113. package/vscode/src/vs/workbench/contrib/codeActions/common/documentationExtensionPoint.js +6 -15
  114. package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +7 -20
  115. package/vscode/src/vs/workbench/contrib/codeEditor/browser/inspectEditorTokens/inspectEditorTokens.js +2 -2
  116. package/vscode/src/vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint.js +63 -216
  117. package/vscode/src/vs/workbench/contrib/codeEditor/browser/largeFileOptimizations.js +4 -7
  118. package/vscode/src/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoLineQuickAccess.js +5 -8
  119. package/vscode/src/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoSymbolQuickAccess.js +8 -11
  120. package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +5 -15
  121. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMinimap.js +3 -3
  122. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMultiCursorModifier.js +5 -5
  123. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderControlCharacter.js +3 -6
  124. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderWhitespace.js +3 -6
  125. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +10 -9
  126. package/vscode/src/vs/workbench/contrib/comments/browser/commentColors.js +6 -15
  127. package/vscode/src/vs/workbench/contrib/comments/browser/commentGlyphWidget.js +5 -20
  128. package/vscode/src/vs/workbench/contrib/comments/browser/commentNode.js +3 -10
  129. package/vscode/src/vs/workbench/contrib/comments/browser/commentReply.js +4 -4
  130. package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadBody.js +3 -20
  131. package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadHeader.js +9 -3
  132. package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadWidget.js +4 -13
  133. package/vscode/src/vs/workbench/contrib/comments/browser/comments.contribution.js +26 -77
  134. package/vscode/src/vs/workbench/contrib/comments/browser/commentsController.js +5 -17
  135. package/vscode/src/vs/workbench/contrib/comments/browser/commentsTreeViewer.js +7 -12
  136. package/vscode/src/vs/workbench/contrib/comments/browser/commentsView.js +10 -29
  137. package/vscode/src/vs/workbench/contrib/comments/browser/commentsViewActions.js +10 -10
  138. package/vscode/src/vs/workbench/contrib/comments/browser/reactionsAction.js +8 -8
  139. package/vscode/src/vs/workbench/contrib/comments/common/commentContextKeys.js +25 -21
  140. package/vscode/src/vs/workbench/contrib/comments/common/commentModel.js +2 -2
  141. package/vscode/src/vs/workbench/contrib/customEditor/common/customEditor.js +1 -4
  142. package/vscode/src/vs/workbench/contrib/debug/browser/debugColors.js +13 -13
  143. package/vscode/src/vs/workbench/contrib/debug/browser/debugIcons.js +56 -98
  144. package/vscode/src/vs/workbench/contrib/debug/common/abstractDebugAdapter.js +2 -2
  145. package/vscode/src/vs/workbench/contrib/debug/common/debug.js +96 -180
  146. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsIcons.js +25 -79
  147. package/vscode/src/vs/workbench/contrib/externalUriOpener/common/configuration.js +4 -15
  148. package/vscode/src/vs/workbench/contrib/externalUriOpener/common/externalUriOpenerService.js +4 -8
  149. package/vscode/src/vs/workbench/contrib/files/browser/explorerViewlet.js +56 -19
  150. package/vscode/src/vs/workbench/contrib/files/browser/fileActions.js +76 -230
  151. package/vscode/src/vs/workbench/contrib/files/browser/fileConstants.js +6 -5
  152. package/vscode/src/vs/workbench/contrib/files/browser/fileImportExport.js +33 -103
  153. package/vscode/src/vs/workbench/contrib/files/browser/files.contribution.js +228 -99
  154. package/vscode/src/vs/workbench/contrib/files/browser/views/emptyView.js +1 -1
  155. package/vscode/src/vs/workbench/contrib/files/browser/views/explorerDecorationsProvider.js +5 -9
  156. package/vscode/src/vs/workbench/contrib/files/browser/views/explorerView.js +5 -5
  157. package/vscode/src/vs/workbench/contrib/files/browser/views/explorerViewer.js +15 -35
  158. package/vscode/src/vs/workbench/contrib/files/browser/views/openEditorsView.js +5 -8
  159. package/vscode/src/vs/workbench/contrib/files/common/files.js +27 -48
  160. package/vscode/src/vs/workbench/contrib/folding/browser/folding.contribution.js +3 -6
  161. package/vscode/src/vs/workbench/contrib/format/browser/formatModified.js +1 -1
  162. package/vscode/src/vs/workbench/contrib/inlayHints/browser/inlayHintsAccessibilty.js +5 -8
  163. package/vscode/src/vs/workbench/contrib/inlineChat/common/inlineChat.js +112 -52
  164. package/vscode/src/vs/workbench/contrib/keybindings/browser/keybindings.contribution.js +1 -1
  165. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInput.js +2 -2
  166. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInputModel.js +30 -96
  167. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/mergeEditorModel.js +3 -3
  168. package/vscode/src/vs/workbench/contrib/mergeEditor/common/mergeEditor.js +42 -0
  169. package/vscode/src/vs/workbench/contrib/output/browser/output.contribution.js +23 -29
  170. package/vscode/src/vs/workbench/contrib/output/browser/outputView.js +3 -3
  171. package/vscode/src/vs/workbench/contrib/quickaccess/browser/commandsQuickAccess.js +13 -16
  172. package/vscode/src/vs/workbench/contrib/quickaccess/browser/quickAccess.contribution.js +15 -34
  173. package/vscode/src/vs/workbench/contrib/quickaccess/browser/viewQuickAccess.js +12 -17
  174. package/vscode/src/vs/workbench/contrib/scm/browser/dirtyDiffSwitcher.js +2 -2
  175. package/vscode/src/vs/workbench/contrib/scm/browser/dirtydiffDecorator.js +26 -75
  176. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCompletionProvider.js +4 -19
  177. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsFile.js +4 -4
  178. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsService.js +10 -41
  179. package/vscode/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.js +5 -14
  180. package/vscode/src/vs/workbench/contrib/tasks/common/taskService.js +26 -13
  181. package/vscode/src/vs/workbench/contrib/tasks/common/tasks.js +8 -6
  182. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalEditorInput.js +5 -17
  183. package/vscode/src/vs/workbench/contrib/terminal/common/terminal.js +7 -28
  184. package/vscode/src/vs/workbench/contrib/terminal/common/terminalColorRegistry.js +21 -78
  185. package/vscode/src/vs/workbench/contrib/terminal/common/terminalContextKey.js +21 -53
  186. package/vscode/src/vs/workbench/contrib/testing/common/testResult.js +2 -2
  187. package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditor.js +2 -5
  188. package/vscode/src/vs/workbench/services/actions/common/menusExtensionPoint.js +113 -348
  189. package/vscode/src/vs/workbench/services/assignment/common/assignmentService.js +2 -5
  190. package/vscode/src/vs/workbench/services/authentication/browser/authenticationService.js +31 -1
  191. package/vscode/src/vs/workbench/services/configuration/common/jsonEditingService.js +1 -4
  192. package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +16 -16
  193. package/vscode/src/vs/workbench/services/decorations/browser/decorationsService.js +2 -2
  194. package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +2 -5
  195. package/vscode/src/vs/workbench/services/extensions/browser/extensionUrlHandler.js +4 -4
  196. package/vscode/src/vs/workbench/services/extensions/common/abstractExtensionService.js +10 -45
  197. package/vscode/src/vs/workbench/services/extensions/common/extensionHostManager.js +1 -1
  198. package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +80 -296
  199. package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.js +6 -21
  200. package/vscode/src/vs/workbench/services/host/browser/browserHostService.js +3 -6
  201. package/vscode/src/vs/workbench/services/keybinding/browser/keybindingService.js +24 -81
  202. package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayoutService.js +2 -2
  203. package/vscode/src/vs/workbench/services/keybinding/common/keybindingEditing.js +11 -17
  204. package/vscode/src/vs/workbench/services/language/common/languageService.js +23 -98
  205. package/vscode/src/vs/workbench/services/remote/common/tunnelModel.js +9 -11
  206. package/vscode/src/vs/workbench/services/search/common/queryBuilder.js +1 -5
  207. package/vscode/src/vs/workbench/services/textfile/browser/textFileService.js +11 -23
  208. package/vscode/src/vs/workbench/services/textfile/common/textFileEditorModel.js +2 -2
  209. package/vscode/src/vs/workbench/services/textfile/common/textFileEditorModelManager.js +2 -7
  210. package/vscode/src/vs/workbench/services/textfile/common/textFileSaveParticipant.js +2 -2
  211. package/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.js +16 -53
  212. package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +50 -1
  213. package/vscode/src/vs/workbench/services/themes/common/tokenClassificationExtensionPoint.js +25 -99
  214. package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfile.js +6 -3
  215. package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +15 -3
  216. package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopySaveParticipant.js +2 -2
@@ -14,20 +14,24 @@ const hotExitConfiguration = isNative ?
14
14
  'enum': [HotExitConfiguration.OFF, HotExitConfiguration.ON_EXIT, HotExitConfiguration.ON_EXIT_AND_WINDOW_CLOSE],
15
15
  'default': HotExitConfiguration.ON_EXIT,
16
16
  'markdownEnumDescriptions': [
17
- ( nls.localize(
17
+ ( nls.localizeWithPath(
18
+ 'vs/workbench/contrib/files/browser/files.contribution',
18
19
  'hotExit.off',
19
20
  'Disable hot exit. A prompt will show when attempting to close a window with editors that have unsaved changes.'
20
21
  )),
21
- ( nls.localize(
22
+ ( nls.localizeWithPath(
23
+ 'vs/workbench/contrib/files/browser/files.contribution',
22
24
  'hotExit.onExit',
23
25
  'Hot exit will be triggered when the last window is closed on Windows/Linux or when the `workbench.action.quit` command is triggered (command palette, keybinding, menu). All windows without folders opened will be restored upon next launch. A list of previously opened windows with unsaved files can be accessed via `File > Open Recent > More...`'
24
26
  )),
25
- ( nls.localize(
27
+ ( nls.localizeWithPath(
28
+ 'vs/workbench/contrib/files/browser/files.contribution',
26
29
  'hotExit.onExitAndWindowClose',
27
30
  'Hot exit will be triggered when the last window is closed on Windows/Linux or when the `workbench.action.quit` command is triggered (command palette, keybinding, menu), and also for any window with a folder opened regardless of whether it\'s the last window. All windows without folders opened will be restored upon next launch. A list of previously opened windows with unsaved files can be accessed via `File > Open Recent > More...`'
28
31
  ))
29
32
  ],
30
- 'markdownDescription': ( nls.localize(
33
+ 'markdownDescription': ( nls.localizeWithPath(
34
+ 'vs/workbench/contrib/files/browser/files.contribution',
31
35
  'hotExit',
32
36
  "[Hot Exit](https://aka.ms/vscode-hot-exit) controls whether unsaved files are remembered between sessions, allowing the save prompt when exiting the editor to be skipped.",
33
37
  HotExitConfiguration.ON_EXIT,
@@ -39,16 +43,19 @@ const hotExitConfiguration = isNative ?
39
43
  'enum': [HotExitConfiguration.OFF, HotExitConfiguration.ON_EXIT_AND_WINDOW_CLOSE],
40
44
  'default': HotExitConfiguration.ON_EXIT_AND_WINDOW_CLOSE,
41
45
  'markdownEnumDescriptions': [
42
- ( nls.localize(
46
+ ( nls.localizeWithPath(
47
+ 'vs/workbench/contrib/files/browser/files.contribution',
43
48
  'hotExit.off',
44
49
  'Disable hot exit. A prompt will show when attempting to close a window with editors that have unsaved changes.'
45
50
  )),
46
- ( nls.localize(
51
+ ( nls.localizeWithPath(
52
+ 'vs/workbench/contrib/files/browser/files.contribution',
47
53
  'hotExit.onExitAndWindowCloseBrowser',
48
54
  'Hot exit will be triggered when the browser quits or the window or tab is closed.'
49
55
  ))
50
56
  ],
51
- 'markdownDescription': ( nls.localize(
57
+ 'markdownDescription': ( nls.localizeWithPath(
58
+ 'vs/workbench/contrib/files/browser/files.contribution',
52
59
  'hotExit',
53
60
  "[Hot Exit](https://aka.ms/vscode-hot-exit) controls whether unsaved files are remembered between sessions, allowing the save prompt when exiting the editor to be skipped.",
54
61
  HotExitConfiguration.ON_EXIT,
@@ -58,12 +65,17 @@ const hotExitConfiguration = isNative ?
58
65
  configurationRegistry.registerConfiguration({
59
66
  'id': 'files',
60
67
  'order': 9,
61
- 'title': ( nls.localize('filesConfigurationTitle', "Files")),
68
+ 'title': ( nls.localizeWithPath(
69
+ 'vs/workbench/contrib/files/browser/files.contribution',
70
+ 'filesConfigurationTitle',
71
+ "Files"
72
+ )),
62
73
  'type': 'object',
63
74
  'properties': {
64
75
  [FILES_EXCLUDE_CONFIG]: {
65
76
  'type': 'object',
66
- 'markdownDescription': ( nls.localize(
77
+ 'markdownDescription': ( nls.localizeWithPath(
78
+ 'vs/workbench/contrib/files/browser/files.contribution',
67
79
  'exclude',
68
80
  "Configure [glob patterns](https://aka.ms/vscode-glob-patterns) for excluding files and folders. For example, the File Explorer decides which files and folders to show or hide based on this setting. Refer to the `#search.exclude#` setting to define search-specific excludes. Refer to the `#explorer.excludeGitIgnore#` setting for ignoring files based on your `.gitignore`."
69
81
  )),
@@ -77,8 +89,17 @@ configurationRegistry.registerConfiguration({
77
89
  {
78
90
  'type': 'boolean',
79
91
  'enum': [true, false],
80
- 'enumDescriptions': [( nls.localize('trueDescription', "Enable the pattern.")), ( nls.localize('falseDescription', "Disable the pattern."))],
81
- 'description': ( nls.localize(
92
+ 'enumDescriptions': [( nls.localizeWithPath(
93
+ 'vs/workbench/contrib/files/browser/files.contribution',
94
+ 'trueDescription',
95
+ "Enable the pattern."
96
+ )), ( nls.localizeWithPath(
97
+ 'vs/workbench/contrib/files/browser/files.contribution',
98
+ 'falseDescription',
99
+ "Disable the pattern."
100
+ ))],
101
+ 'description': ( nls.localizeWithPath(
102
+ 'vs/workbench/contrib/files/browser/files.contribution',
82
103
  'files.exclude.boolean',
83
104
  "The glob pattern to match file paths against. Set to true or false to enable or disable the pattern."
84
105
  )),
@@ -90,7 +111,8 @@ configurationRegistry.registerConfiguration({
90
111
  'type': 'string',
91
112
  'pattern': '\\w*\\$\\(basename\\)\\w*',
92
113
  'default': '$(basename).ext',
93
- 'markdownDescription': ( nls.localize(
114
+ 'markdownDescription': ( nls.localizeWithPath(
115
+ 'vs/workbench/contrib/files/browser/files.contribution',
94
116
  { key: 'files.exclude.when', comment: ['\\$(basename) should not be translated'] },
95
117
  "Additional check on the siblings of a matching file. Use \\$(basename) as variable for the matching file name."
96
118
  ))
@@ -102,7 +124,8 @@ configurationRegistry.registerConfiguration({
102
124
  },
103
125
  [FILES_ASSOCIATIONS_CONFIG]: {
104
126
  'type': 'object',
105
- 'markdownDescription': ( nls.localize(
127
+ 'markdownDescription': ( nls.localizeWithPath(
128
+ 'vs/workbench/contrib/files/browser/files.contribution',
106
129
  'associations',
107
130
  "Configure [glob patterns](https://aka.ms/vscode-glob-patterns) of file associations to languages (for example `\"*.extension\": \"html\"`). Patterns will match on the absolute path of a file if they contain a path separator and will match on the name of the file otherwise. These have precedence over the default associations of the languages installed."
108
131
  )),
@@ -114,7 +137,8 @@ configurationRegistry.registerConfiguration({
114
137
  'type': 'string',
115
138
  'enum': ( Object.keys(SUPPORTED_ENCODINGS)),
116
139
  'default': 'utf8',
117
- 'description': ( nls.localize(
140
+ 'description': ( nls.localizeWithPath(
141
+ 'vs/workbench/contrib/files/browser/files.contribution',
118
142
  'encoding',
119
143
  "The default character set encoding to use when reading and writing files. This setting can also be configured per language."
120
144
  )),
@@ -125,7 +149,8 @@ configurationRegistry.registerConfiguration({
125
149
  'files.autoGuessEncoding': {
126
150
  'type': 'boolean',
127
151
  'default': false,
128
- 'markdownDescription': ( nls.localize(
152
+ 'markdownDescription': ( nls.localizeWithPath(
153
+ 'vs/workbench/contrib/files/browser/files.contribution',
129
154
  'autoGuessEncoding',
130
155
  "When enabled, the editor will attempt to guess the character set encoding when opening files. This setting can also be configured per language. Note, this setting is not respected by text search. Only {0} is respected.",
131
156
  '`#files.encoding#`'
@@ -140,18 +165,31 @@ configurationRegistry.registerConfiguration({
140
165
  'auto'
141
166
  ],
142
167
  'enumDescriptions': [
143
- ( nls.localize('eol.LF', "LF")),
144
- ( nls.localize('eol.CRLF', "CRLF")),
145
- ( nls.localize('eol.auto', "Uses operating system specific end of line character."))
168
+ ( nls.localizeWithPath('vs/workbench/contrib/files/browser/files.contribution', 'eol.LF', "LF")),
169
+ ( nls.localizeWithPath(
170
+ 'vs/workbench/contrib/files/browser/files.contribution',
171
+ 'eol.CRLF',
172
+ "CRLF"
173
+ )),
174
+ ( nls.localizeWithPath(
175
+ 'vs/workbench/contrib/files/browser/files.contribution',
176
+ 'eol.auto',
177
+ "Uses operating system specific end of line character."
178
+ ))
146
179
  ],
147
180
  'default': 'auto',
148
- 'description': ( nls.localize('eol', "The default end of line character.")),
181
+ 'description': ( nls.localizeWithPath(
182
+ 'vs/workbench/contrib/files/browser/files.contribution',
183
+ 'eol',
184
+ "The default end of line character."
185
+ )),
149
186
  'scope': 5
150
187
  },
151
188
  'files.enableTrash': {
152
189
  'type': 'boolean',
153
190
  'default': true,
154
- 'description': ( nls.localize(
191
+ 'description': ( nls.localizeWithPath(
192
+ 'vs/workbench/contrib/files/browser/files.contribution',
155
193
  'useTrash',
156
194
  "Moves files/folders to the OS trash (recycle bin on Windows) when deleting. Disabling this will delete files/folders permanently."
157
195
  ))
@@ -159,7 +197,8 @@ configurationRegistry.registerConfiguration({
159
197
  'files.trimTrailingWhitespace': {
160
198
  'type': 'boolean',
161
199
  'default': false,
162
- 'description': ( nls.localize(
200
+ 'description': ( nls.localizeWithPath(
201
+ 'vs/workbench/contrib/files/browser/files.contribution',
163
202
  'trimTrailingWhitespace',
164
203
  "When enabled, will trim trailing whitespace when saving a file."
165
204
  )),
@@ -168,7 +207,8 @@ configurationRegistry.registerConfiguration({
168
207
  'files.insertFinalNewline': {
169
208
  'type': 'boolean',
170
209
  'default': false,
171
- 'description': ( nls.localize(
210
+ 'description': ( nls.localizeWithPath(
211
+ 'vs/workbench/contrib/files/browser/files.contribution',
172
212
  'insertFinalNewline',
173
213
  "When enabled, insert a final new line at the end of the file when saving it."
174
214
  )),
@@ -177,7 +217,8 @@ configurationRegistry.registerConfiguration({
177
217
  'files.trimFinalNewlines': {
178
218
  'type': 'boolean',
179
219
  'default': false,
180
- 'description': ( nls.localize(
220
+ 'description': ( nls.localizeWithPath(
221
+ 'vs/workbench/contrib/files/browser/files.contribution',
181
222
  'trimFinalNewlines',
182
223
  "When enabled, will trim all new lines after the final new line at the end of the file when saving it."
183
224
  )),
@@ -187,25 +228,30 @@ configurationRegistry.registerConfiguration({
187
228
  'type': 'string',
188
229
  'enum': [AutoSaveConfiguration.OFF, AutoSaveConfiguration.AFTER_DELAY, AutoSaveConfiguration.ON_FOCUS_CHANGE, AutoSaveConfiguration.ON_WINDOW_CHANGE],
189
230
  'markdownEnumDescriptions': [
190
- ( nls.localize(
231
+ ( nls.localizeWithPath(
232
+ 'vs/workbench/contrib/files/browser/files.contribution',
191
233
  { comment: ['This is the description for a setting. Values surrounded by single quotes are not to be translated.'], key: 'files.autoSave.off' },
192
234
  "An editor with changes is never automatically saved."
193
235
  )),
194
- ( nls.localize(
236
+ ( nls.localizeWithPath(
237
+ 'vs/workbench/contrib/files/browser/files.contribution',
195
238
  { comment: ['This is the description for a setting. Values surrounded by single quotes are not to be translated.'], key: 'files.autoSave.afterDelay' },
196
239
  "An editor with changes is automatically saved after the configured `#files.autoSaveDelay#`."
197
240
  )),
198
- ( nls.localize(
241
+ ( nls.localizeWithPath(
242
+ 'vs/workbench/contrib/files/browser/files.contribution',
199
243
  { comment: ['This is the description for a setting. Values surrounded by single quotes are not to be translated.'], key: 'files.autoSave.onFocusChange' },
200
244
  "An editor with changes is automatically saved when the editor loses focus."
201
245
  )),
202
- ( nls.localize(
246
+ ( nls.localizeWithPath(
247
+ 'vs/workbench/contrib/files/browser/files.contribution',
203
248
  { comment: ['This is the description for a setting. Values surrounded by single quotes are not to be translated.'], key: 'files.autoSave.onWindowChange' },
204
249
  "An editor with changes is automatically saved when the window loses focus."
205
250
  ))
206
251
  ],
207
252
  'default': isWeb ? AutoSaveConfiguration.AFTER_DELAY : AutoSaveConfiguration.OFF,
208
- 'markdownDescription': ( nls.localize(
253
+ 'markdownDescription': ( nls.localizeWithPath(
254
+ 'vs/workbench/contrib/files/browser/files.contribution',
209
255
  { comment: ['This is the description for a setting. Values surrounded by single quotes are not to be translated.'], key: 'autoSave' },
210
256
  "Controls [auto save](https://code.visualstudio.com/docs/editor/codebasics#_save-auto-save) of editors that have unsaved changes.",
211
257
  AutoSaveConfiguration.OFF,
@@ -219,7 +265,8 @@ configurationRegistry.registerConfiguration({
219
265
  'type': 'number',
220
266
  'default': 1000,
221
267
  'minimum': 0,
222
- 'markdownDescription': ( nls.localize(
268
+ 'markdownDescription': ( nls.localizeWithPath(
269
+ 'vs/workbench/contrib/files/browser/files.contribution',
223
270
  { comment: ['This is the description for a setting. Values surrounded by single quotes are not to be translated.'], key: 'autoSaveDelay' },
224
271
  "Controls the delay in milliseconds after which an editor with unsaved changes is saved automatically. Only applies when `#files.autoSave#` is set to `{0}`.",
225
272
  AutoSaveConfiguration.AFTER_DELAY
@@ -231,7 +278,8 @@ configurationRegistry.registerConfiguration({
231
278
  '.*': { 'type': 'boolean' }
232
279
  },
233
280
  'default': { '**/.git/objects/**': true, '**/.git/subtree-cache/**': true, '**/node_modules/*/**': true, '**/.hg/store/**': true },
234
- 'markdownDescription': ( nls.localize(
281
+ 'markdownDescription': ( nls.localizeWithPath(
282
+ 'vs/workbench/contrib/files/browser/files.contribution',
235
283
  'watcherExclude',
236
284
  "Configure paths or [glob patterns](https://aka.ms/vscode-glob-patterns) to exclude from file watching. Paths can either be relative to the watched folder or absolute. Glob patterns are matched relative from the watched folder. When you experience the file watcher process consuming a lot of CPU, make sure to exclude large folders that are of less interest (such as build output folders)."
237
285
  )),
@@ -243,7 +291,8 @@ configurationRegistry.registerConfiguration({
243
291
  'type': 'string'
244
292
  },
245
293
  'default': [],
246
- 'description': ( nls.localize(
294
+ 'description': ( nls.localizeWithPath(
295
+ 'vs/workbench/contrib/files/browser/files.contribution',
247
296
  'watcherInclude',
248
297
  "Configure extra paths to watch for changes inside the workspace. By default, all workspace folders will be watched recursively, except for folders that are symbolic links. You can explicitly add absolute or relative paths to support watching folders that are symbolic links. Relative paths will be resolved to an absolute path using the currently opened workspace."
249
298
  )),
@@ -252,7 +301,8 @@ configurationRegistry.registerConfiguration({
252
301
  'files.hotExit': hotExitConfiguration,
253
302
  'files.defaultLanguage': {
254
303
  'type': 'string',
255
- 'markdownDescription': ( nls.localize(
304
+ 'markdownDescription': ( nls.localizeWithPath(
305
+ 'vs/workbench/contrib/files/browser/files.contribution',
256
306
  'defaultLanguage',
257
307
  "The default language identifier that is assigned to new files. If configured to `${activeEditorLanguage}`, will use the language identifier of the currently active text editor if any."
258
308
  ))
@@ -263,7 +313,8 @@ configurationRegistry.registerConfiguration({
263
313
  '.*': { 'type': 'boolean' }
264
314
  },
265
315
  'default': {},
266
- 'markdownDescription': ( nls.localize(
316
+ 'markdownDescription': ( nls.localizeWithPath(
317
+ 'vs/workbench/contrib/files/browser/files.contribution',
267
318
  'filesReadonlyInclude',
268
319
  "Configure paths or [glob patterns](https://aka.ms/vscode-glob-patterns) to mark as read-only. Glob patterns are always evaluated relative to the path of the workspace folder unless they are absolute paths. You can exclude matching paths via the `#files.readonlyExclude#` setting. Files from readonly file system providers will always be read-only independent of this setting."
269
320
  )),
@@ -275,7 +326,8 @@ configurationRegistry.registerConfiguration({
275
326
  '.*': { 'type': 'boolean' }
276
327
  },
277
328
  'default': {},
278
- 'markdownDescription': ( nls.localize(
329
+ 'markdownDescription': ( nls.localizeWithPath(
330
+ 'vs/workbench/contrib/files/browser/files.contribution',
279
331
  'filesReadonlyExclude',
280
332
  "Configure paths or [glob patterns](https://aka.ms/vscode-glob-patterns) to exclude from being marked as read-only if they match as a result of the `#files.readonlyInclude#` setting. Glob patterns are always evaluated relative to the path of the workspace folder unless they are absolute paths. Files from readonly file system providers will always be read-only independent of this setting."
281
333
  )),
@@ -283,7 +335,8 @@ configurationRegistry.registerConfiguration({
283
335
  },
284
336
  [FILES_READONLY_FROM_PERMISSIONS_CONFIG]: {
285
337
  'type': 'boolean',
286
- 'markdownDescription': ( nls.localize(
338
+ 'markdownDescription': ( nls.localizeWithPath(
339
+ 'vs/workbench/contrib/files/browser/files.contribution',
287
340
  'filesReadonlyFromPermissions',
288
341
  "Marks files as read-only when their file permissions indicate as such. This can be overridden via `#files.readonlyInclude#` and `#files.readonlyExclude#` settings."
289
342
  )),
@@ -291,7 +344,8 @@ configurationRegistry.registerConfiguration({
291
344
  },
292
345
  'files.restoreUndoStack': {
293
346
  'type': 'boolean',
294
- 'description': ( nls.localize(
347
+ 'description': ( nls.localizeWithPath(
348
+ 'vs/workbench/contrib/files/browser/files.contribution',
295
349
  'files.restoreUndoStack',
296
350
  "Restore the undo stack when a file is reopened."
297
351
  )),
@@ -304,16 +358,19 @@ configurationRegistry.registerConfiguration({
304
358
  'overwriteFileOnDisk'
305
359
  ],
306
360
  'enumDescriptions': [
307
- ( nls.localize(
361
+ ( nls.localizeWithPath(
362
+ 'vs/workbench/contrib/files/browser/files.contribution',
308
363
  'askUser',
309
364
  "Will refuse to save and ask for resolving the save conflict manually."
310
365
  )),
311
- ( nls.localize(
366
+ ( nls.localizeWithPath(
367
+ 'vs/workbench/contrib/files/browser/files.contribution',
312
368
  'overwriteFileOnDisk',
313
369
  "Will resolve the save conflict by overwriting the file on disk with the changes in the editor."
314
370
  ))
315
371
  ],
316
- 'description': ( nls.localize(
372
+ 'description': ( nls.localizeWithPath(
373
+ 'vs/workbench/contrib/files/browser/files.contribution',
317
374
  'files.saveConflictResolution',
318
375
  "A save conflict can occur when a file is saved to disk that was changed by another program in the meantime. To prevent data loss, the user is asked to compare the changes in the editor with the version on disk. This setting should only be changed if you frequently encounter save conflict errors and may result in data loss if used without caution."
319
376
  )),
@@ -323,11 +380,13 @@ configurationRegistry.registerConfiguration({
323
380
  'files.dialog.defaultPath': {
324
381
  'type': 'string',
325
382
  'pattern': '^((\\/|\\\\\\\\|[a-zA-Z]:\\\\).*)?$',
326
- 'patternErrorMessage': ( nls.localize(
383
+ 'patternErrorMessage': ( nls.localizeWithPath(
384
+ 'vs/workbench/contrib/files/browser/files.contribution',
327
385
  'defaultPathErrorMessage',
328
386
  "Default path for file dialogs must be an absolute path (e.g. C:\\\\myFolder or /myFolder)."
329
387
  )),
330
- 'description': ( nls.localize(
388
+ 'description': ( nls.localizeWithPath(
389
+ 'vs/workbench/contrib/files/browser/files.contribution',
331
390
  'fileDialogDefaultPath',
332
391
  "Default path for file dialogs, overriding user's home path. Only used in the absence of a context-specific path, such as most recently opened file or folder."
333
392
  )),
@@ -335,7 +394,8 @@ configurationRegistry.registerConfiguration({
335
394
  },
336
395
  'files.simpleDialog.enable': {
337
396
  'type': 'boolean',
338
- 'description': ( nls.localize(
397
+ 'description': ( nls.localizeWithPath(
398
+ 'vs/workbench/contrib/files/browser/files.contribution',
339
399
  'files.simpleDialog.enable',
340
400
  "Enables the simple file dialog for opening and saving files and folders. The simple file dialog replaces the system file dialog when enabled."
341
401
  )),
@@ -344,7 +404,8 @@ configurationRegistry.registerConfiguration({
344
404
  'files.participants.timeout': {
345
405
  type: 'number',
346
406
  default: 60000,
347
- markdownDescription: ( nls.localize(
407
+ markdownDescription: ( nls.localizeWithPath(
408
+ 'vs/workbench/contrib/files/browser/files.contribution',
348
409
  'files.participants.timeout',
349
410
  "Timeout in milliseconds after which file participants for create, rename, and delete are cancelled. Use `0` to disable participants."
350
411
  )),
@@ -356,7 +417,8 @@ configurationRegistry.registerConfiguration({
356
417
  properties: {
357
418
  'editor.formatOnSave': {
358
419
  'type': 'boolean',
359
- 'description': ( nls.localize(
420
+ 'description': ( nls.localizeWithPath(
421
+ 'vs/workbench/contrib/files/browser/files.contribution',
360
422
  'formatOnSave',
361
423
  "Format a file on save. A formatter must be available, the file must not be saved after delay, and the editor must not be shutting down."
362
424
  )),
@@ -371,20 +433,24 @@ configurationRegistry.registerConfiguration({
371
433
  'modificationsIfAvailable'
372
434
  ],
373
435
  'enumDescriptions': [
374
- ( nls.localize(
436
+ ( nls.localizeWithPath(
437
+ 'vs/workbench/contrib/files/browser/files.contribution',
375
438
  { key: 'everything', comment: ['This is the description of an option'] },
376
439
  "Format the whole file."
377
440
  )),
378
- ( nls.localize(
441
+ ( nls.localizeWithPath(
442
+ 'vs/workbench/contrib/files/browser/files.contribution',
379
443
  { key: 'modification', comment: ['This is the description of an option'] },
380
444
  "Format modifications (requires source control)."
381
445
  )),
382
- ( nls.localize(
446
+ ( nls.localizeWithPath(
447
+ 'vs/workbench/contrib/files/browser/files.contribution',
383
448
  { key: 'modificationIfAvailable', comment: ['This is the description of an option'] },
384
449
  "Will attempt to format modifications only (requires source control). If source control can't be used, then the whole file will be formatted."
385
450
  )),
386
451
  ],
387
- 'markdownDescription': ( nls.localize(
452
+ 'markdownDescription': ( nls.localizeWithPath(
453
+ 'vs/workbench/contrib/files/browser/files.contribution',
388
454
  'formatOnSaveMode',
389
455
  "Controls if format on save formats the whole file or only modifications. Only applies when `#editor.formatOnSave#` is enabled."
390
456
  )),
@@ -395,12 +461,17 @@ configurationRegistry.registerConfiguration({
395
461
  configurationRegistry.registerConfiguration({
396
462
  'id': 'explorer',
397
463
  'order': 10,
398
- 'title': ( nls.localize('explorerConfigurationTitle', "File Explorer")),
464
+ 'title': ( nls.localizeWithPath(
465
+ 'vs/workbench/contrib/files/browser/files.contribution',
466
+ 'explorerConfigurationTitle',
467
+ "File Explorer"
468
+ )),
399
469
  'type': 'object',
400
470
  'properties': {
401
471
  'explorer.openEditors.visible': {
402
472
  'type': 'number',
403
- 'description': ( nls.localize(
473
+ 'description': ( nls.localizeWithPath(
474
+ 'vs/workbench/contrib/files/browser/files.contribution',
404
475
  { key: 'openEditorsVisible', comment: ['Open is an adjective'] },
405
476
  "The initial maximum number of editors shown in the Open Editors pane. Exceeding this limit will show a scroll bar and allow resizing the pane to display more items."
406
477
  )),
@@ -409,7 +480,8 @@ configurationRegistry.registerConfiguration({
409
480
  },
410
481
  'explorer.openEditors.minVisible': {
411
482
  'type': 'number',
412
- 'description': ( nls.localize(
483
+ 'description': ( nls.localizeWithPath(
484
+ 'vs/workbench/contrib/files/browser/files.contribution',
413
485
  { key: 'openEditorsVisibleMin', comment: ['Open is an adjective'] },
414
486
  "The minimum number of editor slots pre-allocated in the Open Editors pane. If set to 0 the Open Editors pane will dynamically resize based on the number of editors."
415
487
  )),
@@ -419,20 +491,24 @@ configurationRegistry.registerConfiguration({
419
491
  'explorer.openEditors.sortOrder': {
420
492
  'type': 'string',
421
493
  'enum': ['editorOrder', 'alphabetical', 'fullPath'],
422
- 'description': ( nls.localize(
494
+ 'description': ( nls.localizeWithPath(
495
+ 'vs/workbench/contrib/files/browser/files.contribution',
423
496
  { key: 'openEditorsSortOrder', comment: ['Open is an adjective'] },
424
497
  "Controls the sorting order of editors in the Open Editors pane."
425
498
  )),
426
499
  'enumDescriptions': [
427
- ( nls.localize(
500
+ ( nls.localizeWithPath(
501
+ 'vs/workbench/contrib/files/browser/files.contribution',
428
502
  'sortOrder.editorOrder',
429
503
  'Editors are ordered in the same order editor tabs are shown.'
430
504
  )),
431
- ( nls.localize(
505
+ ( nls.localizeWithPath(
506
+ 'vs/workbench/contrib/files/browser/files.contribution',
432
507
  'sortOrder.alphabetical',
433
508
  'Editors are ordered alphabetically by tab name inside each editor group.'
434
509
  )),
435
- ( nls.localize(
510
+ ( nls.localizeWithPath(
511
+ 'vs/workbench/contrib/files/browser/files.contribution',
436
512
  'sortOrder.fullPath',
437
513
  'Editors are ordered alphabetically by full path inside each editor group.'
438
514
  ))
@@ -444,21 +520,32 @@ configurationRegistry.registerConfiguration({
444
520
  'enum': [true, false, 'focusNoScroll'],
445
521
  'default': true,
446
522
  'enumDescriptions': [
447
- ( nls.localize('autoReveal.on', 'Files will be revealed and selected.')),
448
- ( nls.localize('autoReveal.off', 'Files will not be revealed and selected.')),
449
- ( nls.localize(
523
+ ( nls.localizeWithPath(
524
+ 'vs/workbench/contrib/files/browser/files.contribution',
525
+ 'autoReveal.on',
526
+ 'Files will be revealed and selected.'
527
+ )),
528
+ ( nls.localizeWithPath(
529
+ 'vs/workbench/contrib/files/browser/files.contribution',
530
+ 'autoReveal.off',
531
+ 'Files will not be revealed and selected.'
532
+ )),
533
+ ( nls.localizeWithPath(
534
+ 'vs/workbench/contrib/files/browser/files.contribution',
450
535
  'autoReveal.focusNoScroll',
451
536
  'Files will not be scrolled into view, but will still be focused.'
452
537
  )),
453
538
  ],
454
- 'description': ( nls.localize(
539
+ 'description': ( nls.localizeWithPath(
540
+ 'vs/workbench/contrib/files/browser/files.contribution',
455
541
  'autoReveal',
456
542
  "Controls whether the Explorer should automatically reveal and select files when opening them."
457
543
  ))
458
544
  },
459
545
  'explorer.autoRevealExclude': {
460
546
  'type': 'object',
461
- 'markdownDescription': ( nls.localize(
547
+ 'markdownDescription': ( nls.localizeWithPath(
548
+ 'vs/workbench/contrib/files/browser/files.contribution',
462
549
  'autoRevealExclude',
463
550
  "Configure paths or [glob patterns](https://aka.ms/vscode-glob-patterns) for excluding files and folders from being revealed and selected in the Explorer when they are opened. Glob patterns are always evaluated relative to the path of the workspace folder unless they are absolute paths."
464
551
  )),
@@ -467,7 +554,8 @@ configurationRegistry.registerConfiguration({
467
554
  'anyOf': [
468
555
  {
469
556
  'type': 'boolean',
470
- 'description': ( nls.localize(
557
+ 'description': ( nls.localizeWithPath(
558
+ 'vs/workbench/contrib/files/browser/files.contribution',
471
559
  'explorer.autoRevealExclude.boolean',
472
560
  "The glob pattern to match file paths against. Set to true or false to enable or disable the pattern."
473
561
  )),
@@ -479,7 +567,8 @@ configurationRegistry.registerConfiguration({
479
567
  type: 'string',
480
568
  pattern: '\\w*\\$\\(basename\\)\\w*',
481
569
  default: '$(basename).ext',
482
- description: ( nls.localize(
570
+ description: ( nls.localizeWithPath(
571
+ 'vs/workbench/contrib/files/browser/files.contribution',
483
572
  'explorer.autoRevealExclude.when',
484
573
  'Additional check on the siblings of a matching file. Use $(basename) as variable for the matching file name.'
485
574
  ))
@@ -491,7 +580,8 @@ configurationRegistry.registerConfiguration({
491
580
  },
492
581
  'explorer.enableDragAndDrop': {
493
582
  'type': 'boolean',
494
- 'description': ( nls.localize(
583
+ 'description': ( nls.localizeWithPath(
584
+ 'vs/workbench/contrib/files/browser/files.contribution',
495
585
  'enableDragAndDrop',
496
586
  "Controls whether the Explorer should allow to move files and folders via drag and drop. This setting only effects drag and drop from inside the Explorer."
497
587
  )),
@@ -499,7 +589,8 @@ configurationRegistry.registerConfiguration({
499
589
  },
500
590
  'explorer.confirmDragAndDrop': {
501
591
  'type': 'boolean',
502
- 'description': ( nls.localize(
592
+ 'description': ( nls.localizeWithPath(
593
+ 'vs/workbench/contrib/files/browser/files.contribution',
503
594
  'confirmDragAndDrop',
504
595
  "Controls whether the Explorer should ask for confirmation to move files and folders via drag and drop."
505
596
  )),
@@ -507,7 +598,8 @@ configurationRegistry.registerConfiguration({
507
598
  },
508
599
  'explorer.confirmDelete': {
509
600
  'type': 'boolean',
510
- 'description': ( nls.localize(
601
+ 'description': ( nls.localizeWithPath(
602
+ 'vs/workbench/contrib/files/browser/files.contribution',
511
603
  'confirmDelete',
512
604
  "Controls whether the Explorer should ask for confirmation when deleting a file via the trash."
513
605
  )),
@@ -515,7 +607,8 @@ configurationRegistry.registerConfiguration({
515
607
  },
516
608
  'explorer.enableUndo': {
517
609
  'type': 'boolean',
518
- 'description': ( nls.localize(
610
+ 'description': ( nls.localizeWithPath(
611
+ 'vs/workbench/contrib/files/browser/files.contribution',
519
612
  'enableUndo',
520
613
  "Controls whether the Explorer should support undoing file and folder operations."
521
614
  )),
@@ -524,18 +617,25 @@ configurationRegistry.registerConfiguration({
524
617
  'explorer.confirmUndo': {
525
618
  'type': 'string',
526
619
  'enum': ["verbose" , "default" , "light" ],
527
- 'description': ( nls.localize(
620
+ 'description': ( nls.localizeWithPath(
621
+ 'vs/workbench/contrib/files/browser/files.contribution',
528
622
  'confirmUndo',
529
623
  "Controls whether the Explorer should ask for confirmation when undoing."
530
624
  )),
531
625
  'default': "default" ,
532
626
  'enumDescriptions': [
533
- ( nls.localize('enableUndo.verbose', 'Explorer will prompt before all undo operations.')),
534
- ( nls.localize(
627
+ ( nls.localizeWithPath(
628
+ 'vs/workbench/contrib/files/browser/files.contribution',
629
+ 'enableUndo.verbose',
630
+ 'Explorer will prompt before all undo operations.'
631
+ )),
632
+ ( nls.localizeWithPath(
633
+ 'vs/workbench/contrib/files/browser/files.contribution',
535
634
  'enableUndo.default',
536
635
  'Explorer will prompt before destructive undo operations.'
537
636
  )),
538
- ( nls.localize(
637
+ ( nls.localizeWithPath(
638
+ 'vs/workbench/contrib/files/browser/files.contribution',
539
639
  'enableUndo.light',
540
640
  'Explorer will not prompt before undo operations when focused.'
541
641
  )),
@@ -543,7 +643,8 @@ configurationRegistry.registerConfiguration({
543
643
  },
544
644
  'explorer.expandSingleFolderWorkspaces': {
545
645
  'type': 'boolean',
546
- 'description': ( nls.localize(
646
+ 'description': ( nls.localizeWithPath(
647
+ 'vs/workbench/contrib/files/browser/files.contribution',
547
648
  'expandSingleFolderWorkspaces',
548
649
  "Controls whether the Explorer should expand multi-root workspaces containing only one folder during initialization"
549
650
  )),
@@ -554,32 +655,39 @@ configurationRegistry.registerConfiguration({
554
655
  'enum': ["default" , "mixed" , "filesFirst" , "type" , "modified" , "foldersNestsFiles" ],
555
656
  'default': "default" ,
556
657
  'enumDescriptions': [
557
- ( nls.localize(
658
+ ( nls.localizeWithPath(
659
+ 'vs/workbench/contrib/files/browser/files.contribution',
558
660
  'sortOrder.default',
559
661
  'Files and folders are sorted by their names. Folders are displayed before files.'
560
662
  )),
561
- ( nls.localize(
663
+ ( nls.localizeWithPath(
664
+ 'vs/workbench/contrib/files/browser/files.contribution',
562
665
  'sortOrder.mixed',
563
666
  'Files and folders are sorted by their names. Files are interwoven with folders.'
564
667
  )),
565
- ( nls.localize(
668
+ ( nls.localizeWithPath(
669
+ 'vs/workbench/contrib/files/browser/files.contribution',
566
670
  'sortOrder.filesFirst',
567
671
  'Files and folders are sorted by their names. Files are displayed before folders.'
568
672
  )),
569
- ( nls.localize(
673
+ ( nls.localizeWithPath(
674
+ 'vs/workbench/contrib/files/browser/files.contribution',
570
675
  'sortOrder.type',
571
676
  'Files and folders are grouped by extension type then sorted by their names. Folders are displayed before files.'
572
677
  )),
573
- ( nls.localize(
678
+ ( nls.localizeWithPath(
679
+ 'vs/workbench/contrib/files/browser/files.contribution',
574
680
  'sortOrder.modified',
575
681
  'Files and folders are sorted by last modified date in descending order. Folders are displayed before files.'
576
682
  )),
577
- ( nls.localize(
683
+ ( nls.localizeWithPath(
684
+ 'vs/workbench/contrib/files/browser/files.contribution',
578
685
  'sortOrder.foldersNestsFiles',
579
686
  'Files and folders are sorted by their names. Folders are displayed before files. Files with nested children are displayed before other files.'
580
687
  ))
581
688
  ],
582
- 'markdownDescription': ( nls.localize(
689
+ 'markdownDescription': ( nls.localizeWithPath(
690
+ 'vs/workbench/contrib/files/browser/files.contribution',
583
691
  'sortOrder',
584
692
  "Controls the property-based sorting of files and folders in the Explorer. When `#explorer.fileNesting.enabled#` is enabled, also controls sorting of nested files."
585
693
  ))
@@ -589,31 +697,37 @@ configurationRegistry.registerConfiguration({
589
697
  'enum': ["default" , "upper" , "lower" , "unicode" ],
590
698
  'default': "default" ,
591
699
  'enumDescriptions': [
592
- ( nls.localize(
700
+ ( nls.localizeWithPath(
701
+ 'vs/workbench/contrib/files/browser/files.contribution',
593
702
  'sortOrderLexicographicOptions.default',
594
703
  'Uppercase and lowercase names are mixed together.'
595
704
  )),
596
- ( nls.localize(
705
+ ( nls.localizeWithPath(
706
+ 'vs/workbench/contrib/files/browser/files.contribution',
597
707
  'sortOrderLexicographicOptions.upper',
598
708
  'Uppercase names are grouped together before lowercase names.'
599
709
  )),
600
- ( nls.localize(
710
+ ( nls.localizeWithPath(
711
+ 'vs/workbench/contrib/files/browser/files.contribution',
601
712
  'sortOrderLexicographicOptions.lower',
602
713
  'Lowercase names are grouped together before uppercase names.'
603
714
  )),
604
- ( nls.localize(
715
+ ( nls.localizeWithPath(
716
+ 'vs/workbench/contrib/files/browser/files.contribution',
605
717
  'sortOrderLexicographicOptions.unicode',
606
718
  'Names are sorted in Unicode order.'
607
719
  ))
608
720
  ],
609
- 'description': ( nls.localize(
721
+ 'description': ( nls.localizeWithPath(
722
+ 'vs/workbench/contrib/files/browser/files.contribution',
610
723
  'sortOrderLexicographicOptions',
611
724
  "Controls the lexicographic sorting of file and folder names in the Explorer."
612
725
  ))
613
726
  },
614
727
  'explorer.decorations.colors': {
615
728
  type: 'boolean',
616
- description: ( nls.localize(
729
+ description: ( nls.localizeWithPath(
730
+ 'vs/workbench/contrib/files/browser/files.contribution',
617
731
  'explorer.decorations.colors',
618
732
  "Controls whether file decorations should use colors."
619
733
  )),
@@ -621,7 +735,8 @@ configurationRegistry.registerConfiguration({
621
735
  },
622
736
  'explorer.decorations.badges': {
623
737
  type: 'boolean',
624
- description: ( nls.localize(
738
+ description: ( nls.localizeWithPath(
739
+ 'vs/workbench/contrib/files/browser/files.contribution',
625
740
  'explorer.decorations.badges',
626
741
  "Controls whether file decorations should use badges."
627
742
  )),
@@ -631,20 +746,24 @@ configurationRegistry.registerConfiguration({
631
746
  'type': 'string',
632
747
  enum: ['simple', 'smart', 'disabled'],
633
748
  enumDescriptions: [
634
- ( nls.localize(
749
+ ( nls.localizeWithPath(
750
+ 'vs/workbench/contrib/files/browser/files.contribution',
635
751
  'simple',
636
752
  "Appends the word \"copy\" at the end of the duplicated name potentially followed by a number."
637
753
  )),
638
- ( nls.localize(
754
+ ( nls.localizeWithPath(
755
+ 'vs/workbench/contrib/files/browser/files.contribution',
639
756
  'smart',
640
757
  "Adds a number at the end of the duplicated name. If some number is already part of the name, tries to increase that number."
641
758
  )),
642
- ( nls.localize(
759
+ ( nls.localizeWithPath(
760
+ 'vs/workbench/contrib/files/browser/files.contribution',
643
761
  'disabled',
644
762
  "Disables incremental naming. If two files with the same name exist you will be prompted to overwrite the existing file."
645
763
  ))
646
764
  ],
647
- description: ( nls.localize(
765
+ description: ( nls.localizeWithPath(
766
+ 'vs/workbench/contrib/files/browser/files.contribution',
648
767
  'explorer.incrementalNaming',
649
768
  "Controls what naming strategy to use when a giving a new name to a duplicated Explorer item on paste."
650
769
  )),
@@ -652,7 +771,8 @@ configurationRegistry.registerConfiguration({
652
771
  },
653
772
  'explorer.compactFolders': {
654
773
  'type': 'boolean',
655
- 'description': ( nls.localize(
774
+ 'description': ( nls.localizeWithPath(
775
+ 'vs/workbench/contrib/files/browser/files.contribution',
656
776
  'compressSingleChildFolders',
657
777
  "Controls whether the Explorer should render folders in a compact form. In such a form, single child folders will be compressed in a combined tree element. Useful for Java package structures, for example."
658
778
  )),
@@ -666,20 +786,24 @@ configurationRegistry.registerConfiguration({
666
786
  'auto'
667
787
  ],
668
788
  'enumDescriptions': [
669
- ( nls.localize(
789
+ ( nls.localizeWithPath(
790
+ 'vs/workbench/contrib/files/browser/files.contribution',
670
791
  'copyRelativePathSeparator.slash',
671
792
  "Use slash as path separation character."
672
793
  )),
673
- ( nls.localize(
794
+ ( nls.localizeWithPath(
795
+ 'vs/workbench/contrib/files/browser/files.contribution',
674
796
  'copyRelativePathSeparator.backslash',
675
797
  "Use backslash as path separation character."
676
798
  )),
677
- ( nls.localize(
799
+ ( nls.localizeWithPath(
800
+ 'vs/workbench/contrib/files/browser/files.contribution',
678
801
  'copyRelativePathSeparator.auto',
679
802
  "Uses operating system specific path separation character."
680
803
  )),
681
804
  ],
682
- 'description': ( nls.localize(
805
+ 'description': ( nls.localizeWithPath(
806
+ 'vs/workbench/contrib/files/browser/files.contribution',
683
807
  'copyRelativePathSeparator',
684
808
  "The path separation character used when copying relative file paths."
685
809
  )),
@@ -687,7 +811,8 @@ configurationRegistry.registerConfiguration({
687
811
  },
688
812
  'explorer.excludeGitIgnore': {
689
813
  type: 'boolean',
690
- markdownDescription: ( nls.localize(
814
+ markdownDescription: ( nls.localizeWithPath(
815
+ 'vs/workbench/contrib/files/browser/files.contribution',
691
816
  'excludeGitignore',
692
817
  "Controls whether entries in .gitignore should be parsed and excluded from the Explorer. Similar to {0}.",
693
818
  '`#files.exclude#`'
@@ -698,7 +823,8 @@ configurationRegistry.registerConfiguration({
698
823
  'explorer.fileNesting.enabled': {
699
824
  'type': 'boolean',
700
825
  scope: 4 ,
701
- 'markdownDescription': ( nls.localize(
826
+ 'markdownDescription': ( nls.localizeWithPath(
827
+ 'vs/workbench/contrib/files/browser/files.contribution',
702
828
  'fileNestingEnabled',
703
829
  "Controls whether file nesting is enabled in the Explorer. File nesting allows for related files in a directory to be visually grouped together under a single parent file."
704
830
  )),
@@ -706,7 +832,8 @@ configurationRegistry.registerConfiguration({
706
832
  },
707
833
  'explorer.fileNesting.expand': {
708
834
  'type': 'boolean',
709
- 'markdownDescription': ( nls.localize(
835
+ 'markdownDescription': ( nls.localizeWithPath(
836
+ 'vs/workbench/contrib/files/browser/files.contribution',
710
837
  'fileNestingExpand',
711
838
  "Controls whether file nests are automatically expanded. {0} must be set for this to take effect.",
712
839
  '`#explorer.fileNesting.enabled#`'
@@ -716,14 +843,16 @@ configurationRegistry.registerConfiguration({
716
843
  'explorer.fileNesting.patterns': {
717
844
  'type': 'object',
718
845
  scope: 4 ,
719
- 'markdownDescription': ( nls.localize(
846
+ 'markdownDescription': ( nls.localizeWithPath(
847
+ 'vs/workbench/contrib/files/browser/files.contribution',
720
848
  'fileNestingPatterns',
721
849
  "Controls nesting of files in the Explorer. {0} must be set for this to take effect. Each __Item__ represents a parent pattern and may contain a single `*` character that matches any string. Each __Value__ represents a comma separated list of the child patterns that should be shown nested under a given parent. Child patterns may contain several special tokens:\n- `${capture}`: Matches the resolved value of the `*` from the parent pattern\n- `${basename}`: Matches the parent file's basename, the `file` in `file.ts`\n- `${extname}`: Matches the parent file's extension, the `ts` in `file.ts`\n- `${dirname}`: Matches the parent file's directory name, the `src` in `src/file.ts`\n- `*`: Matches any string, may only be used once per child pattern",
722
850
  '`#explorer.fileNesting.enabled#`'
723
851
  )),
724
852
  patternProperties: {
725
853
  '^[^*]*\\*?[^*]*$': {
726
- markdownDescription: ( nls.localize(
854
+ markdownDescription: ( nls.localizeWithPath(
855
+ 'vs/workbench/contrib/files/browser/files.contribution',
727
856
  'fileNesting.description',
728
857
  "Each key pattern may contain a single `*` character which will match any string."
729
858
  )),