@codingame/monaco-vscode-api 1.83.5 → 1.83.6

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 (212) hide show
  1. package/lifecycle.js +3 -1
  2. package/missing-services.js +32 -28
  3. package/monaco-editor-treemending.patch +786 -760
  4. package/monaco.js +1 -0
  5. package/package.json +1 -1
  6. package/service-override/extensions.js +5 -5
  7. package/service-override/files.js +37 -13
  8. package/service-override/keybindings.js +10 -4
  9. package/service-override/layout.js +1 -3
  10. package/services.d.ts +13 -2
  11. package/services.js +35 -5
  12. package/vscode/src/vs/base/browser/broadcast.js +52 -0
  13. package/vscode/src/vs/base/browser/ui/menu/menubar.js +1 -1
  14. package/vscode/src/vs/base/browser/ui/splitview/paneview.js +6 -1
  15. package/vscode/src/vs/base/common/date.js +244 -54
  16. package/vscode/src/vs/base/common/jsonErrorMessages.js +45 -9
  17. package/vscode/src/vs/editor/common/services/textResourceConfiguration.d.ts +65 -0
  18. package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess.js +33 -5
  19. package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess.js +165 -32
  20. package/vscode/src/vs/platform/dialogs/common/dialogs.js +30 -9
  21. package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +0 -3
  22. package/vscode/src/vs/platform/extensionManagement/common/extensionNls.js +6 -1
  23. package/vscode/src/vs/platform/files/browser/indexedDBFileSystemProvider.js +404 -0
  24. package/vscode/src/vs/platform/files/common/fileService.js +13 -2
  25. package/vscode/src/vs/platform/files/common/files.js +25 -5
  26. package/vscode/src/vs/platform/keyboardLayout/common/keyboardConfig.js +15 -3
  27. package/vscode/src/vs/platform/quickinput/browser/commandsQuickAccess.js +38 -7
  28. package/vscode/src/vs/platform/quickinput/browser/helpQuickAccess.js +7 -1
  29. package/vscode/src/vs/platform/request/common/request.js +1 -1
  30. package/vscode/src/vs/platform/theme/common/tokenClassificationRegistry.js +210 -42
  31. package/vscode/src/vs/workbench/api/browser/mainThreadAuthentication.js +73 -13
  32. package/vscode/src/vs/workbench/api/browser/mainThreadComments.js +5 -1
  33. package/vscode/src/vs/workbench/api/browser/mainThreadCustomEditors.js +11 -2
  34. package/vscode/src/vs/workbench/api/browser/mainThreadEditSessionIdentityParticipant.js +5 -3
  35. package/vscode/src/vs/workbench/api/browser/mainThreadExtensionService.js +70 -35
  36. package/vscode/src/vs/workbench/api/browser/mainThreadFileSystemEventService.js +108 -20
  37. package/vscode/src/vs/workbench/api/browser/mainThreadMessageService.js +17 -4
  38. package/vscode/src/vs/workbench/api/browser/mainThreadNotebookSaveParticipant.js +5 -3
  39. package/vscode/src/vs/workbench/api/browser/mainThreadProgress.js +5 -5
  40. package/vscode/src/vs/workbench/api/browser/mainThreadSaveParticipant.js +5 -3
  41. package/vscode/src/vs/workbench/api/browser/mainThreadTask.js +7 -1
  42. package/vscode/src/vs/workbench/api/browser/mainThreadTunnelService.js +14 -2
  43. package/vscode/src/vs/workbench/api/browser/mainThreadUriOpeners.js +12 -14
  44. package/vscode/src/vs/workbench/api/browser/mainThreadWebviews.js +6 -1
  45. package/vscode/src/vs/workbench/api/browser/mainThreadWorkspace.js +32 -5
  46. package/vscode/src/vs/workbench/api/browser/statusBarExtensionPoint.js +0 -60
  47. package/vscode/src/vs/workbench/api/common/extHostChat.js +11 -2
  48. package/vscode/src/vs/workbench/api/common/extHostDiagnostics.js +6 -1
  49. package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +12 -2
  50. package/vscode/src/vs/workbench/api/common/extHostLogService.js +9 -1
  51. package/vscode/src/vs/workbench/api/common/extHostProgress.js +6 -1
  52. package/vscode/src/vs/workbench/api/common/extHostStatusBar.js +11 -2
  53. package/vscode/src/vs/workbench/api/common/extHostTelemetry.js +6 -1
  54. package/vscode/src/vs/workbench/api/common/extHostTerminalService.js +6 -1
  55. package/vscode/src/vs/workbench/api/common/extHostTunnelService.js +10 -2
  56. package/vscode/src/vs/workbench/api/common/extHostWorkspace.js +7 -1
  57. package/vscode/src/vs/workbench/api/common/jsonValidationExtensionPoint.js +49 -9
  58. package/vscode/src/vs/workbench/browser/actions/layoutActions.js +397 -274
  59. package/vscode/src/vs/workbench/browser/actions/quickAccessActions.js +30 -6
  60. package/vscode/src/vs/workbench/browser/actions/windowActions.js +85 -31
  61. package/vscode/src/vs/workbench/browser/actions/workspaceActions.js +56 -102
  62. package/vscode/src/vs/workbench/browser/actions/workspaceCommands.js +5 -1
  63. package/vscode/src/vs/workbench/browser/editor.js +2 -2
  64. package/vscode/src/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarActions.js +55 -11
  65. package/vscode/src/vs/workbench/browser/parts/compositeBarActions.js +63 -11
  66. package/vscode/src/vs/workbench/browser/parts/editor/binaryDiffEditor.js +7 -1
  67. package/vscode/src/vs/workbench/browser/parts/editor/binaryEditor.js +15 -3
  68. package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbs.js +205 -41
  69. package/vscode/src/vs/workbench/browser/parts/editor/editor.contribution.js +617 -139
  70. package/vscode/src/vs/workbench/browser/parts/editor/editorActions.js +578 -114
  71. package/vscode/src/vs/workbench/browser/parts/editor/editorCommands.js +96 -20
  72. package/vscode/src/vs/workbench/browser/parts/editor/editorConfiguration.js +30 -6
  73. package/vscode/src/vs/workbench/browser/parts/editor/editorPlaceholder.js +46 -9
  74. package/vscode/src/vs/workbench/browser/parts/editor/editorQuickAccess.js +30 -5
  75. package/vscode/src/vs/workbench/browser/parts/editor/editorStatus.js +309 -59
  76. package/vscode/src/vs/workbench/browser/parts/editor/sideBySideEditor.js +5 -1
  77. package/vscode/src/vs/workbench/browser/parts/editor/textCodeEditor.js +5 -1
  78. package/vscode/src/vs/workbench/browser/parts/editor/textDiffEditor.js +16 -3
  79. package/vscode/src/vs/workbench/browser/parts/editor/textEditor.js +1 -1
  80. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCommands.js +35 -7
  81. package/vscode/src/vs/workbench/browser/parts/panel/panelActions.js +185 -33
  82. package/vscode/src/vs/workbench/browser/parts/titlebar/menubarControl.js +90 -57
  83. package/vscode/src/vs/workbench/browser/parts/views/viewFilter.js +5 -1
  84. package/vscode/src/vs/workbench/browser/parts/views/viewPane.js +16 -3
  85. package/vscode/src/vs/workbench/browser/parts/views/viewPaneContainer.js +26 -6
  86. package/vscode/src/vs/workbench/browser/parts/views/viewsService.js +35 -6
  87. package/vscode/src/vs/workbench/browser/quickaccess.js +6 -6
  88. package/vscode/src/vs/workbench/browser/workbench.contribution.js +918 -185
  89. package/vscode/src/vs/workbench/common/configuration.js +25 -11
  90. package/vscode/src/vs/workbench/common/contextkeys.js +244 -228
  91. package/vscode/src/vs/workbench/common/editor/diffEditorInput.js +7 -1
  92. package/vscode/src/vs/workbench/common/editor/resourceEditorInput.d.ts +44 -0
  93. package/vscode/src/vs/workbench/common/editor/sideBySideEditorInput.js +7 -1
  94. package/vscode/src/vs/workbench/common/editor/textEditorModel.js +6 -1
  95. package/vscode/src/vs/workbench/common/editor/textResourceEditorInput.d.ts +23 -0
  96. package/vscode/src/vs/workbench/common/editor.d.ts +26 -1
  97. package/vscode/src/vs/workbench/common/editor.js +26 -5
  98. package/vscode/src/vs/workbench/common/theme.js +676 -136
  99. package/vscode/src/vs/workbench/common/views.js +8 -3
  100. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +71 -14
  101. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityContributions.js +21 -2
  102. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleView.js +133 -21
  103. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleViewActions.js +36 -8
  104. package/vscode/src/vs/workbench/contrib/bulkEdit/browser/bulkEditService.js +96 -17
  105. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatActions.js +0 -2
  106. package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.js +22 -4
  107. package/vscode/src/vs/workbench/contrib/chat/common/chatSlashCommands.js +22 -4
  108. package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +41 -8
  109. package/vscode/src/vs/workbench/contrib/codeActions/common/codeActionsExtensionPoint.js +25 -5
  110. package/vscode/src/vs/workbench/contrib/codeActions/common/documentationExtensionPoint.js +30 -6
  111. package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +34 -6
  112. package/vscode/src/vs/workbench/contrib/codeEditor/browser/editorFeatures.js +44 -0
  113. package/vscode/src/vs/workbench/contrib/codeEditor/browser/inspectEditorTokens/inspectEditorTokens.js +10 -2
  114. package/vscode/src/vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint.js +320 -63
  115. package/vscode/src/vs/workbench/contrib/codeEditor/browser/largeFileOptimizations.js +12 -4
  116. package/vscode/src/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoLineQuickAccess.js +15 -3
  117. package/vscode/src/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoSymbolQuickAccess.js +30 -6
  118. package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +25 -4
  119. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMinimap.js +10 -2
  120. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMultiCursorModifier.js +20 -4
  121. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderControlCharacter.js +10 -2
  122. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderWhitespace.js +10 -2
  123. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +25 -9
  124. package/vscode/src/vs/workbench/contrib/comments/browser/commentColors.js +30 -6
  125. package/vscode/src/vs/workbench/contrib/comments/browser/commentGlyphWidget.js +25 -5
  126. package/vscode/src/vs/workbench/contrib/comments/browser/commentNode.js +16 -3
  127. package/vscode/src/vs/workbench/contrib/comments/browser/commentReply.js +8 -4
  128. package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadBody.js +23 -3
  129. package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadHeader.js +15 -9
  130. package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadWidget.js +18 -3
  131. package/vscode/src/vs/workbench/contrib/comments/browser/comments.contribution.js +142 -26
  132. package/vscode/src/vs/workbench/contrib/comments/browser/commentsController.js +33 -5
  133. package/vscode/src/vs/workbench/contrib/comments/browser/commentsTreeViewer.js +45 -7
  134. package/vscode/src/vs/workbench/contrib/comments/browser/commentsView.js +63 -10
  135. package/vscode/src/vs/workbench/contrib/comments/browser/commentsViewActions.js +45 -9
  136. package/vscode/src/vs/workbench/contrib/comments/browser/reactionsAction.js +16 -8
  137. package/vscode/src/vs/workbench/contrib/comments/common/commentContextKeys.js +41 -21
  138. package/vscode/src/vs/workbench/contrib/comments/common/commentModel.js +5 -1
  139. package/vscode/src/vs/workbench/contrib/customEditor/common/customEditor.js +5 -1
  140. package/vscode/src/vs/workbench/contrib/debug/browser/debugColors.js +60 -12
  141. package/vscode/src/vs/workbench/contrib/debug/browser/debugIcons.js +275 -55
  142. package/vscode/src/vs/workbench/contrib/debug/common/abstractDebugAdapter.js +7 -1
  143. package/vscode/src/vs/workbench/contrib/debug/common/debug.js +255 -94
  144. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsIcons.js +120 -24
  145. package/vscode/src/vs/workbench/contrib/externalUriOpener/common/configuration.js +22 -4
  146. package/vscode/src/vs/workbench/contrib/externalUriOpener/common/externalUriOpenerService.js +21 -4
  147. package/vscode/src/vs/workbench/contrib/files/browser/explorerViewlet.js +39 -51
  148. package/vscode/src/vs/workbench/contrib/files/browser/fileActions.js +394 -75
  149. package/vscode/src/vs/workbench/contrib/files/browser/fileConstants.js +17 -6
  150. package/vscode/src/vs/workbench/contrib/files/browser/fileImportExport.js +190 -32
  151. package/vscode/src/vs/workbench/contrib/files/browser/views/emptyView.js +5 -1
  152. package/vscode/src/vs/workbench/contrib/files/browser/views/explorerDecorationsProvider.js +21 -4
  153. package/vscode/src/vs/workbench/contrib/files/browser/views/explorerView.js +26 -5
  154. package/vscode/src/vs/workbench/contrib/files/browser/views/explorerViewer.js +81 -14
  155. package/vscode/src/vs/workbench/contrib/files/browser/views/openEditorsView.js +26 -5
  156. package/vscode/src/vs/workbench/contrib/files/common/files.js +70 -26
  157. package/vscode/src/vs/workbench/contrib/folding/browser/folding.contribution.js +11 -3
  158. package/vscode/src/vs/workbench/contrib/format/browser/formatModified.js +5 -1
  159. package/vscode/src/vs/workbench/contrib/inlayHints/browser/inlayHintsAccessibilty.js +20 -4
  160. package/vscode/src/vs/workbench/contrib/inlineChat/common/inlineChat.js +75 -111
  161. package/vscode/src/vs/workbench/contrib/keybindings/browser/keybindings.contribution.js +5 -1
  162. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInput.js +6 -1
  163. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInputModel.js +151 -29
  164. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/mergeEditorModel.js +10 -2
  165. package/vscode/src/vs/workbench/contrib/mergeEditor/common/mergeEditor.js +0 -42
  166. package/vscode/src/vs/workbench/contrib/output/browser/output.contribution.js +115 -23
  167. package/vscode/src/vs/workbench/contrib/output/browser/outputView.js +17 -3
  168. package/vscode/src/vs/workbench/contrib/quickaccess/browser/commandsQuickAccess.js +49 -9
  169. package/vscode/src/vs/workbench/contrib/quickaccess/browser/quickAccess.contribution.js +66 -13
  170. package/vscode/src/vs/workbench/contrib/quickaccess/browser/viewQuickAccess.js +52 -10
  171. package/vscode/src/vs/workbench/contrib/scm/browser/dirtyDiffSwitcher.js +10 -2
  172. package/vscode/src/vs/workbench/contrib/scm/browser/dirtydiffDecorator.js +110 -26
  173. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCompletionProvider.js +21 -3
  174. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsFile.js +15 -3
  175. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsService.js +56 -9
  176. package/vscode/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.js +25 -5
  177. package/vscode/src/vs/workbench/contrib/tasks/common/taskService.js +16 -26
  178. package/vscode/src/vs/workbench/contrib/tasks/common/tasks.js +7 -8
  179. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalEditorInput.js +20 -4
  180. package/vscode/src/vs/workbench/contrib/terminal/common/terminal.js +35 -7
  181. package/vscode/src/vs/workbench/contrib/terminal/common/terminalColorRegistry.js +106 -21
  182. package/vscode/src/vs/workbench/contrib/terminal/common/terminalContextKey.js +81 -21
  183. package/vscode/src/vs/workbench/contrib/testing/common/testResult.js +6 -1
  184. package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditor.js +6 -2
  185. package/vscode/src/vs/workbench/services/actions/common/menusExtensionPoint.js +592 -112
  186. package/vscode/src/vs/workbench/services/assignment/common/assignmentService.js +5 -1
  187. package/vscode/src/vs/workbench/services/authentication/browser/authenticationService.js +6 -32
  188. package/vscode/src/vs/workbench/services/configuration/common/jsonEditingService.js +5 -1
  189. package/vscode/src/vs/workbench/services/decorations/browser/decorationsService.js +5 -1
  190. package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +5 -1
  191. package/vscode/src/vs/workbench/services/extensions/browser/extensionUrlHandler.js +15 -3
  192. package/vscode/src/vs/workbench/services/extensions/common/abstractExtensionService.js +58 -10
  193. package/vscode/src/vs/workbench/services/extensions/common/extensionHostManager.js +5 -1
  194. package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +392 -80
  195. package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.js +28 -5
  196. package/vscode/src/vs/workbench/services/host/browser/browserHostService.js +10 -2
  197. package/vscode/src/vs/workbench/services/keybinding/browser/keybindingService.js +129 -24
  198. package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayoutService.js +10 -2
  199. package/vscode/src/vs/workbench/services/keybinding/common/keybindingEditing.js +20 -10
  200. package/vscode/src/vs/workbench/services/language/common/languageService.js +122 -22
  201. package/vscode/src/vs/workbench/services/remote/common/tunnelModel.js +28 -9
  202. package/vscode/src/vs/workbench/services/search/common/queryBuilder.js +6 -1
  203. package/vscode/src/vs/workbench/services/textfile/browser/textFileService.js +48 -9
  204. package/vscode/src/vs/workbench/services/textfile/common/textFileEditorModel.js +5 -1
  205. package/vscode/src/vs/workbench/services/textfile/common/textFileEditorModelManager.js +7 -1
  206. package/vscode/src/vs/workbench/services/textfile/common/textFileSaveParticipant.js +6 -1
  207. package/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.js +81 -16
  208. package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +1 -50
  209. package/vscode/src/vs/workbench/services/themes/common/tokenClassificationExtensionPoint.js +126 -25
  210. package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfile.js +6 -5
  211. package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +6 -14
  212. package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopySaveParticipant.js +6 -1
@@ -64,10 +64,21 @@ let LanguageConfigurationFileHandler = class LanguageConfigurationFileHandler ex
64
64
  const errors = [];
65
65
  let configuration = parse(contents, errors);
66
66
  if (errors.length) {
67
- console.error(nls.localizeWithPath('vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint', 'parseErrors', "Errors parsing {0}: {1}", ( configFileLocation.toString()), ( errors.map(e => (`[${e.offset}, ${e.length}] ${getParseErrorMessage(e.error)}`))).join('\n')));
67
+ console.error(( nls.localizeWithPath(
68
+ 'vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint',
69
+ 'parseErrors',
70
+ "Errors parsing {0}: {1}",
71
+ ( configFileLocation.toString()),
72
+ ( errors.map(e => (`[${e.offset}, ${e.length}] ${getParseErrorMessage(e.error)}`))).join('\n')
73
+ )));
68
74
  }
69
75
  if (getNodeType(configuration) !== 'object') {
70
- console.error(nls.localizeWithPath('vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint', 'formatError', "{0}: Invalid format, JSON object expected.", ( configFileLocation.toString())));
76
+ console.error(( nls.localizeWithPath(
77
+ 'vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint',
78
+ 'formatError',
79
+ "{0}: Invalid format, JSON object expected.",
80
+ ( configFileLocation.toString())
81
+ )));
71
82
  configuration = {};
72
83
  }
73
84
  return configuration;
@@ -418,11 +429,19 @@ const schema = {
418
429
  definitions: {
419
430
  openBracket: {
420
431
  type: 'string',
421
- description: nls.localizeWithPath('vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint', 'schema.openBracket', 'The opening bracket character or string sequence.')
432
+ description: ( nls.localizeWithPath(
433
+ 'vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint',
434
+ 'schema.openBracket',
435
+ 'The opening bracket character or string sequence.'
436
+ ))
422
437
  },
423
438
  closeBracket: {
424
439
  type: 'string',
425
- description: nls.localizeWithPath('vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint', 'schema.closeBracket', 'The closing bracket character or string sequence.')
440
+ description: ( nls.localizeWithPath(
441
+ 'vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint',
442
+ 'schema.closeBracket',
443
+ 'The closing bracket character or string sequence.'
444
+ ))
426
445
  },
427
446
  bracketPair: {
428
447
  type: 'array',
@@ -439,29 +458,54 @@ const schema = {
439
458
  blockComment: ['/*', '*/'],
440
459
  lineComment: '//'
441
460
  },
442
- description: nls.localizeWithPath('vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint', 'schema.comments', 'Defines the comment symbols'),
461
+ description: ( nls.localizeWithPath(
462
+ 'vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint',
463
+ 'schema.comments',
464
+ 'Defines the comment symbols'
465
+ )),
443
466
  type: 'object',
444
467
  properties: {
445
468
  blockComment: {
446
469
  type: 'array',
447
- description: nls.localizeWithPath('vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint', 'schema.blockComments', 'Defines how block comments are marked.'),
470
+ description: ( nls.localizeWithPath(
471
+ 'vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint',
472
+ 'schema.blockComments',
473
+ 'Defines how block comments are marked.'
474
+ )),
448
475
  items: [{
449
476
  type: 'string',
450
- description: nls.localizeWithPath('vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint', 'schema.blockComment.begin', 'The character sequence that starts a block comment.')
477
+ description: ( nls.localizeWithPath(
478
+ 'vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint',
479
+ 'schema.blockComment.begin',
480
+ 'The character sequence that starts a block comment.'
481
+ ))
451
482
  }, {
452
483
  type: 'string',
453
- description: nls.localizeWithPath('vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint', 'schema.blockComment.end', 'The character sequence that ends a block comment.')
484
+ description: ( nls.localizeWithPath(
485
+ 'vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint',
486
+ 'schema.blockComment.end',
487
+ 'The character sequence that ends a block comment.'
488
+ ))
454
489
  }]
455
490
  },
456
491
  lineComment: {
457
492
  type: 'string',
458
- description: nls.localizeWithPath('vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint', 'schema.lineComment', 'The character sequence that starts a line comment.')
493
+ description: ( nls.localizeWithPath(
494
+ 'vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint',
495
+ 'schema.lineComment',
496
+ 'The character sequence that starts a line comment.'
497
+ ))
459
498
  }
460
499
  }
461
500
  },
462
501
  brackets: {
463
502
  default: [['(', ')'], ['[', ']'], ['{', '}']],
464
- markdownDescription: nls.localizeWithPath('vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint', 'schema.brackets', 'Defines the bracket symbols that increase or decrease the indentation. When bracket pair colorization is enabled and {0} is not defined, this also defines the bracket pairs that are colorized by their nesting level.', '\`colorizedBracketPairs\`'),
503
+ markdownDescription: ( nls.localizeWithPath(
504
+ 'vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint',
505
+ 'schema.brackets',
506
+ 'Defines the bracket symbols that increase or decrease the indentation. When bracket pair colorization is enabled and {0} is not defined, this also defines the bracket pairs that are colorized by their nesting level.',
507
+ '\`colorizedBracketPairs\`'
508
+ )),
465
509
  type: 'array',
466
510
  items: {
467
511
  $ref: '#/definitions/bracketPair'
@@ -469,7 +513,12 @@ const schema = {
469
513
  },
470
514
  colorizedBracketPairs: {
471
515
  default: [['(', ')'], ['[', ']'], ['{', '}']],
472
- markdownDescription: nls.localizeWithPath('vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint', 'schema.colorizedBracketPairs', 'Defines the bracket pairs that are colorized by their nesting level if bracket pair colorization is enabled. Any brackets included here that are not included in {0} will be automatically included in {0}.', '\`brackets\`'),
516
+ markdownDescription: ( nls.localizeWithPath(
517
+ 'vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint',
518
+ 'schema.colorizedBracketPairs',
519
+ 'Defines the bracket pairs that are colorized by their nesting level if bracket pair colorization is enabled. Any brackets included here that are not included in {0} will be automatically included in {0}.',
520
+ '\`brackets\`'
521
+ )),
473
522
  type: 'array',
474
523
  items: {
475
524
  $ref: '#/definitions/bracketPair'
@@ -477,7 +526,11 @@ const schema = {
477
526
  },
478
527
  autoClosingPairs: {
479
528
  default: [['(', ')'], ['[', ']'], ['{', '}']],
480
- description: nls.localizeWithPath('vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint', 'schema.autoClosingPairs', 'Defines the bracket pairs. When a opening bracket is entered, the closing bracket is inserted automatically.'),
529
+ description: ( nls.localizeWithPath(
530
+ 'vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint',
531
+ 'schema.autoClosingPairs',
532
+ 'Defines the bracket pairs. When a opening bracket is entered, the closing bracket is inserted automatically.'
533
+ )),
481
534
  type: 'array',
482
535
  items: {
483
536
  oneOf: [{
@@ -493,7 +546,11 @@ const schema = {
493
546
  },
494
547
  notIn: {
495
548
  type: 'array',
496
- description: nls.localizeWithPath('vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint', 'schema.autoClosingPairs.notIn', 'Defines a list of scopes where the auto pairs are disabled.'),
549
+ description: ( nls.localizeWithPath(
550
+ 'vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint',
551
+ 'schema.autoClosingPairs.notIn',
552
+ 'Defines a list of scopes where the auto pairs are disabled.'
553
+ )),
497
554
  items: {
498
555
  enum: ['string', 'comment']
499
556
  }
@@ -504,12 +561,20 @@ const schema = {
504
561
  },
505
562
  autoCloseBefore: {
506
563
  default: ';:.,=}])> \n\t',
507
- description: nls.localizeWithPath('vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint', 'schema.autoCloseBefore', 'Defines what characters must be after the cursor in order for bracket or quote autoclosing to occur when using the \'languageDefined\' autoclosing setting. This is typically the set of characters which can not start an expression.'),
564
+ description: ( nls.localizeWithPath(
565
+ 'vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint',
566
+ 'schema.autoCloseBefore',
567
+ 'Defines what characters must be after the cursor in order for bracket or quote autoclosing to occur when using the \'languageDefined\' autoclosing setting. This is typically the set of characters which can not start an expression.'
568
+ )),
508
569
  type: 'string',
509
570
  },
510
571
  surroundingPairs: {
511
572
  default: [['(', ')'], ['[', ']'], ['{', '}']],
512
- description: nls.localizeWithPath('vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint', 'schema.surroundingPairs', 'Defines the bracket pairs that can be used to surround a selected string.'),
573
+ description: ( nls.localizeWithPath(
574
+ 'vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint',
575
+ 'schema.surroundingPairs',
576
+ 'Defines the bracket pairs that can be used to surround a selected string.'
577
+ )),
513
578
  type: 'array',
514
579
  items: {
515
580
  oneOf: [{
@@ -529,20 +594,36 @@ const schema = {
529
594
  },
530
595
  wordPattern: {
531
596
  default: '',
532
- description: nls.localizeWithPath('vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint', 'schema.wordPattern', 'Defines what is considered to be a word in the programming language.'),
597
+ description: ( nls.localizeWithPath(
598
+ 'vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint',
599
+ 'schema.wordPattern',
600
+ 'Defines what is considered to be a word in the programming language.'
601
+ )),
533
602
  type: ['string', 'object'],
534
603
  properties: {
535
604
  pattern: {
536
605
  type: 'string',
537
- description: nls.localizeWithPath('vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint', 'schema.wordPattern.pattern', 'The RegExp pattern used to match words.'),
606
+ description: ( nls.localizeWithPath(
607
+ 'vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint',
608
+ 'schema.wordPattern.pattern',
609
+ 'The RegExp pattern used to match words.'
610
+ )),
538
611
  default: '',
539
612
  },
540
613
  flags: {
541
614
  type: 'string',
542
- description: nls.localizeWithPath('vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint', 'schema.wordPattern.flags', 'The RegExp flags used to match words.'),
615
+ description: ( nls.localizeWithPath(
616
+ 'vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint',
617
+ 'schema.wordPattern.flags',
618
+ 'The RegExp flags used to match words.'
619
+ )),
543
620
  default: 'g',
544
621
  pattern: '^([gimuy]+)$',
545
- patternErrorMessage: nls.localizeWithPath('vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint', 'schema.wordPattern.flags.errorMessage', 'Must match the pattern `/^([gimuy]+)$/`.')
622
+ patternErrorMessage: ( nls.localizeWithPath(
623
+ 'vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint',
624
+ 'schema.wordPattern.flags.errorMessage',
625
+ 'Must match the pattern `/^([gimuy]+)$/`.'
626
+ ))
546
627
  }
547
628
  }
548
629
  },
@@ -551,78 +632,146 @@ const schema = {
551
632
  increaseIndentPattern: '',
552
633
  decreaseIndentPattern: ''
553
634
  },
554
- description: nls.localizeWithPath('vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint', 'schema.indentationRules', 'The language\'s indentation settings.'),
635
+ description: ( nls.localizeWithPath(
636
+ 'vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint',
637
+ 'schema.indentationRules',
638
+ 'The language\'s indentation settings.'
639
+ )),
555
640
  type: 'object',
556
641
  properties: {
557
642
  increaseIndentPattern: {
558
643
  type: ['string', 'object'],
559
- description: nls.localizeWithPath('vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint', 'schema.indentationRules.increaseIndentPattern', 'If a line matches this pattern, then all the lines after it should be indented once (until another rule matches).'),
644
+ description: ( nls.localizeWithPath(
645
+ 'vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint',
646
+ 'schema.indentationRules.increaseIndentPattern',
647
+ 'If a line matches this pattern, then all the lines after it should be indented once (until another rule matches).'
648
+ )),
560
649
  properties: {
561
650
  pattern: {
562
651
  type: 'string',
563
- description: nls.localizeWithPath('vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint', 'schema.indentationRules.increaseIndentPattern.pattern', 'The RegExp pattern for increaseIndentPattern.'),
652
+ description: ( nls.localizeWithPath(
653
+ 'vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint',
654
+ 'schema.indentationRules.increaseIndentPattern.pattern',
655
+ 'The RegExp pattern for increaseIndentPattern.'
656
+ )),
564
657
  default: '',
565
658
  },
566
659
  flags: {
567
660
  type: 'string',
568
- description: nls.localizeWithPath('vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint', 'schema.indentationRules.increaseIndentPattern.flags', 'The RegExp flags for increaseIndentPattern.'),
661
+ description: ( nls.localizeWithPath(
662
+ 'vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint',
663
+ 'schema.indentationRules.increaseIndentPattern.flags',
664
+ 'The RegExp flags for increaseIndentPattern.'
665
+ )),
569
666
  default: '',
570
667
  pattern: '^([gimuy]+)$',
571
- patternErrorMessage: nls.localizeWithPath('vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint', 'schema.indentationRules.increaseIndentPattern.errorMessage', 'Must match the pattern `/^([gimuy]+)$/`.')
668
+ patternErrorMessage: ( nls.localizeWithPath(
669
+ 'vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint',
670
+ 'schema.indentationRules.increaseIndentPattern.errorMessage',
671
+ 'Must match the pattern `/^([gimuy]+)$/`.'
672
+ ))
572
673
  }
573
674
  }
574
675
  },
575
676
  decreaseIndentPattern: {
576
677
  type: ['string', 'object'],
577
- description: nls.localizeWithPath('vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint', 'schema.indentationRules.decreaseIndentPattern', 'If a line matches this pattern, then all the lines after it should be unindented once (until another rule matches).'),
678
+ description: ( nls.localizeWithPath(
679
+ 'vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint',
680
+ 'schema.indentationRules.decreaseIndentPattern',
681
+ 'If a line matches this pattern, then all the lines after it should be unindented once (until another rule matches).'
682
+ )),
578
683
  properties: {
579
684
  pattern: {
580
685
  type: 'string',
581
- description: nls.localizeWithPath('vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint', 'schema.indentationRules.decreaseIndentPattern.pattern', 'The RegExp pattern for decreaseIndentPattern.'),
686
+ description: ( nls.localizeWithPath(
687
+ 'vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint',
688
+ 'schema.indentationRules.decreaseIndentPattern.pattern',
689
+ 'The RegExp pattern for decreaseIndentPattern.'
690
+ )),
582
691
  default: '',
583
692
  },
584
693
  flags: {
585
694
  type: 'string',
586
- description: nls.localizeWithPath('vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint', 'schema.indentationRules.decreaseIndentPattern.flags', 'The RegExp flags for decreaseIndentPattern.'),
695
+ description: ( nls.localizeWithPath(
696
+ 'vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint',
697
+ 'schema.indentationRules.decreaseIndentPattern.flags',
698
+ 'The RegExp flags for decreaseIndentPattern.'
699
+ )),
587
700
  default: '',
588
701
  pattern: '^([gimuy]+)$',
589
- patternErrorMessage: nls.localizeWithPath('vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint', 'schema.indentationRules.decreaseIndentPattern.errorMessage', 'Must match the pattern `/^([gimuy]+)$/`.')
702
+ patternErrorMessage: ( nls.localizeWithPath(
703
+ 'vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint',
704
+ 'schema.indentationRules.decreaseIndentPattern.errorMessage',
705
+ 'Must match the pattern `/^([gimuy]+)$/`.'
706
+ ))
590
707
  }
591
708
  }
592
709
  },
593
710
  indentNextLinePattern: {
594
711
  type: ['string', 'object'],
595
- description: nls.localizeWithPath('vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint', 'schema.indentationRules.indentNextLinePattern', 'If a line matches this pattern, then **only the next line** after it should be indented once.'),
712
+ description: ( nls.localizeWithPath(
713
+ 'vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint',
714
+ 'schema.indentationRules.indentNextLinePattern',
715
+ 'If a line matches this pattern, then **only the next line** after it should be indented once.'
716
+ )),
596
717
  properties: {
597
718
  pattern: {
598
719
  type: 'string',
599
- description: nls.localizeWithPath('vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint', 'schema.indentationRules.indentNextLinePattern.pattern', 'The RegExp pattern for indentNextLinePattern.'),
720
+ description: ( nls.localizeWithPath(
721
+ 'vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint',
722
+ 'schema.indentationRules.indentNextLinePattern.pattern',
723
+ 'The RegExp pattern for indentNextLinePattern.'
724
+ )),
600
725
  default: '',
601
726
  },
602
727
  flags: {
603
728
  type: 'string',
604
- description: nls.localizeWithPath('vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint', 'schema.indentationRules.indentNextLinePattern.flags', 'The RegExp flags for indentNextLinePattern.'),
729
+ description: ( nls.localizeWithPath(
730
+ 'vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint',
731
+ 'schema.indentationRules.indentNextLinePattern.flags',
732
+ 'The RegExp flags for indentNextLinePattern.'
733
+ )),
605
734
  default: '',
606
735
  pattern: '^([gimuy]+)$',
607
- patternErrorMessage: nls.localizeWithPath('vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint', 'schema.indentationRules.indentNextLinePattern.errorMessage', 'Must match the pattern `/^([gimuy]+)$/`.')
736
+ patternErrorMessage: ( nls.localizeWithPath(
737
+ 'vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint',
738
+ 'schema.indentationRules.indentNextLinePattern.errorMessage',
739
+ 'Must match the pattern `/^([gimuy]+)$/`.'
740
+ ))
608
741
  }
609
742
  }
610
743
  },
611
744
  unIndentedLinePattern: {
612
745
  type: ['string', 'object'],
613
- description: nls.localizeWithPath('vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint', 'schema.indentationRules.unIndentedLinePattern', 'If a line matches this pattern, then its indentation should not be changed and it should not be evaluated against the other rules.'),
746
+ description: ( nls.localizeWithPath(
747
+ 'vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint',
748
+ 'schema.indentationRules.unIndentedLinePattern',
749
+ 'If a line matches this pattern, then its indentation should not be changed and it should not be evaluated against the other rules.'
750
+ )),
614
751
  properties: {
615
752
  pattern: {
616
753
  type: 'string',
617
- description: nls.localizeWithPath('vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint', 'schema.indentationRules.unIndentedLinePattern.pattern', 'The RegExp pattern for unIndentedLinePattern.'),
754
+ description: ( nls.localizeWithPath(
755
+ 'vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint',
756
+ 'schema.indentationRules.unIndentedLinePattern.pattern',
757
+ 'The RegExp pattern for unIndentedLinePattern.'
758
+ )),
618
759
  default: '',
619
760
  },
620
761
  flags: {
621
762
  type: 'string',
622
- description: nls.localizeWithPath('vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint', 'schema.indentationRules.unIndentedLinePattern.flags', 'The RegExp flags for unIndentedLinePattern.'),
763
+ description: ( nls.localizeWithPath(
764
+ 'vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint',
765
+ 'schema.indentationRules.unIndentedLinePattern.flags',
766
+ 'The RegExp flags for unIndentedLinePattern.'
767
+ )),
623
768
  default: '',
624
769
  pattern: '^([gimuy]+)$',
625
- patternErrorMessage: nls.localizeWithPath('vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint', 'schema.indentationRules.unIndentedLinePattern.errorMessage', 'Must match the pattern `/^([gimuy]+)$/`.')
770
+ patternErrorMessage: ( nls.localizeWithPath(
771
+ 'vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint',
772
+ 'schema.indentationRules.unIndentedLinePattern.errorMessage',
773
+ 'Must match the pattern `/^([gimuy]+)$/`.'
774
+ ))
626
775
  }
627
776
  }
628
777
  }
@@ -630,23 +779,43 @@ const schema = {
630
779
  },
631
780
  folding: {
632
781
  type: 'object',
633
- description: nls.localizeWithPath('vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint', 'schema.folding', 'The language\'s folding settings.'),
782
+ description: ( nls.localizeWithPath(
783
+ 'vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint',
784
+ 'schema.folding',
785
+ 'The language\'s folding settings.'
786
+ )),
634
787
  properties: {
635
788
  offSide: {
636
789
  type: 'boolean',
637
- description: nls.localizeWithPath('vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint', 'schema.folding.offSide', 'A language adheres to the off-side rule if blocks in that language are expressed by their indentation. If set, empty lines belong to the subsequent block.'),
790
+ description: ( nls.localizeWithPath(
791
+ 'vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint',
792
+ 'schema.folding.offSide',
793
+ 'A language adheres to the off-side rule if blocks in that language are expressed by their indentation. If set, empty lines belong to the subsequent block.'
794
+ )),
638
795
  },
639
796
  markers: {
640
797
  type: 'object',
641
- description: nls.localizeWithPath('vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint', 'schema.folding.markers', 'Language specific folding markers such as \'#region\' and \'#endregion\'. The start and end regexes will be tested against the contents of all lines and must be designed efficiently'),
798
+ description: ( nls.localizeWithPath(
799
+ 'vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint',
800
+ 'schema.folding.markers',
801
+ 'Language specific folding markers such as \'#region\' and \'#endregion\'. The start and end regexes will be tested against the contents of all lines and must be designed efficiently'
802
+ )),
642
803
  properties: {
643
804
  start: {
644
805
  type: 'string',
645
- description: nls.localizeWithPath('vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint', 'schema.folding.markers.start', 'The RegExp pattern for the start marker. The regexp must start with \'^\'.')
806
+ description: ( nls.localizeWithPath(
807
+ 'vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint',
808
+ 'schema.folding.markers.start',
809
+ 'The RegExp pattern for the start marker. The regexp must start with \'^\'.'
810
+ ))
646
811
  },
647
812
  end: {
648
813
  type: 'string',
649
- description: nls.localizeWithPath('vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint', 'schema.folding.markers.end', 'The RegExp pattern for the end marker. The regexp must start with \'^\'.')
814
+ description: ( nls.localizeWithPath(
815
+ 'vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint',
816
+ 'schema.folding.markers.end',
817
+ 'The RegExp pattern for the end marker. The regexp must start with \'^\'.'
818
+ ))
650
819
  },
651
820
  }
652
821
  }
@@ -654,92 +823,180 @@ const schema = {
654
823
  },
655
824
  onEnterRules: {
656
825
  type: 'array',
657
- description: nls.localizeWithPath('vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint', 'schema.onEnterRules', 'The language\'s rules to be evaluated when pressing Enter.'),
826
+ description: ( nls.localizeWithPath(
827
+ 'vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint',
828
+ 'schema.onEnterRules',
829
+ 'The language\'s rules to be evaluated when pressing Enter.'
830
+ )),
658
831
  items: {
659
832
  type: 'object',
660
- description: nls.localizeWithPath('vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint', 'schema.onEnterRules', 'The language\'s rules to be evaluated when pressing Enter.'),
833
+ description: ( nls.localizeWithPath(
834
+ 'vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint',
835
+ 'schema.onEnterRules',
836
+ 'The language\'s rules to be evaluated when pressing Enter.'
837
+ )),
661
838
  required: ['beforeText', 'action'],
662
839
  properties: {
663
840
  beforeText: {
664
841
  type: ['string', 'object'],
665
- description: nls.localizeWithPath('vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint', 'schema.onEnterRules.beforeText', 'This rule will only execute if the text before the cursor matches this regular expression.'),
842
+ description: ( nls.localizeWithPath(
843
+ 'vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint',
844
+ 'schema.onEnterRules.beforeText',
845
+ 'This rule will only execute if the text before the cursor matches this regular expression.'
846
+ )),
666
847
  properties: {
667
848
  pattern: {
668
849
  type: 'string',
669
- description: nls.localizeWithPath('vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint', 'schema.onEnterRules.beforeText.pattern', 'The RegExp pattern for beforeText.'),
850
+ description: ( nls.localizeWithPath(
851
+ 'vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint',
852
+ 'schema.onEnterRules.beforeText.pattern',
853
+ 'The RegExp pattern for beforeText.'
854
+ )),
670
855
  default: '',
671
856
  },
672
857
  flags: {
673
858
  type: 'string',
674
- description: nls.localizeWithPath('vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint', 'schema.onEnterRules.beforeText.flags', 'The RegExp flags for beforeText.'),
859
+ description: ( nls.localizeWithPath(
860
+ 'vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint',
861
+ 'schema.onEnterRules.beforeText.flags',
862
+ 'The RegExp flags for beforeText.'
863
+ )),
675
864
  default: '',
676
865
  pattern: '^([gimuy]+)$',
677
- patternErrorMessage: nls.localizeWithPath('vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint', 'schema.onEnterRules.beforeText.errorMessage', 'Must match the pattern `/^([gimuy]+)$/`.')
866
+ patternErrorMessage: ( nls.localizeWithPath(
867
+ 'vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint',
868
+ 'schema.onEnterRules.beforeText.errorMessage',
869
+ 'Must match the pattern `/^([gimuy]+)$/`.'
870
+ ))
678
871
  }
679
872
  }
680
873
  },
681
874
  afterText: {
682
875
  type: ['string', 'object'],
683
- description: nls.localizeWithPath('vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint', 'schema.onEnterRules.afterText', 'This rule will only execute if the text after the cursor matches this regular expression.'),
876
+ description: ( nls.localizeWithPath(
877
+ 'vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint',
878
+ 'schema.onEnterRules.afterText',
879
+ 'This rule will only execute if the text after the cursor matches this regular expression.'
880
+ )),
684
881
  properties: {
685
882
  pattern: {
686
883
  type: 'string',
687
- description: nls.localizeWithPath('vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint', 'schema.onEnterRules.afterText.pattern', 'The RegExp pattern for afterText.'),
884
+ description: ( nls.localizeWithPath(
885
+ 'vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint',
886
+ 'schema.onEnterRules.afterText.pattern',
887
+ 'The RegExp pattern for afterText.'
888
+ )),
688
889
  default: '',
689
890
  },
690
891
  flags: {
691
892
  type: 'string',
692
- description: nls.localizeWithPath('vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint', 'schema.onEnterRules.afterText.flags', 'The RegExp flags for afterText.'),
893
+ description: ( nls.localizeWithPath(
894
+ 'vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint',
895
+ 'schema.onEnterRules.afterText.flags',
896
+ 'The RegExp flags for afterText.'
897
+ )),
693
898
  default: '',
694
899
  pattern: '^([gimuy]+)$',
695
- patternErrorMessage: nls.localizeWithPath('vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint', 'schema.onEnterRules.afterText.errorMessage', 'Must match the pattern `/^([gimuy]+)$/`.')
900
+ patternErrorMessage: ( nls.localizeWithPath(
901
+ 'vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint',
902
+ 'schema.onEnterRules.afterText.errorMessage',
903
+ 'Must match the pattern `/^([gimuy]+)$/`.'
904
+ ))
696
905
  }
697
906
  }
698
907
  },
699
908
  previousLineText: {
700
909
  type: ['string', 'object'],
701
- description: nls.localizeWithPath('vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint', 'schema.onEnterRules.previousLineText', 'This rule will only execute if the text above the line matches this regular expression.'),
910
+ description: ( nls.localizeWithPath(
911
+ 'vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint',
912
+ 'schema.onEnterRules.previousLineText',
913
+ 'This rule will only execute if the text above the line matches this regular expression.'
914
+ )),
702
915
  properties: {
703
916
  pattern: {
704
917
  type: 'string',
705
- description: nls.localizeWithPath('vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint', 'schema.onEnterRules.previousLineText.pattern', 'The RegExp pattern for previousLineText.'),
918
+ description: ( nls.localizeWithPath(
919
+ 'vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint',
920
+ 'schema.onEnterRules.previousLineText.pattern',
921
+ 'The RegExp pattern for previousLineText.'
922
+ )),
706
923
  default: '',
707
924
  },
708
925
  flags: {
709
926
  type: 'string',
710
- description: nls.localizeWithPath('vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint', 'schema.onEnterRules.previousLineText.flags', 'The RegExp flags for previousLineText.'),
927
+ description: ( nls.localizeWithPath(
928
+ 'vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint',
929
+ 'schema.onEnterRules.previousLineText.flags',
930
+ 'The RegExp flags for previousLineText.'
931
+ )),
711
932
  default: '',
712
933
  pattern: '^([gimuy]+)$',
713
- patternErrorMessage: nls.localizeWithPath('vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint', 'schema.onEnterRules.previousLineText.errorMessage', 'Must match the pattern `/^([gimuy]+)$/`.')
934
+ patternErrorMessage: ( nls.localizeWithPath(
935
+ 'vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint',
936
+ 'schema.onEnterRules.previousLineText.errorMessage',
937
+ 'Must match the pattern `/^([gimuy]+)$/`.'
938
+ ))
714
939
  }
715
940
  }
716
941
  },
717
942
  action: {
718
943
  type: ['string', 'object'],
719
- description: nls.localizeWithPath('vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint', 'schema.onEnterRules.action', 'The action to execute.'),
944
+ description: ( nls.localizeWithPath(
945
+ 'vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint',
946
+ 'schema.onEnterRules.action',
947
+ 'The action to execute.'
948
+ )),
720
949
  required: ['indent'],
721
950
  default: { 'indent': 'indent' },
722
951
  properties: {
723
952
  indent: {
724
953
  type: 'string',
725
- description: nls.localizeWithPath('vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint', 'schema.onEnterRules.action.indent', "Describe what to do with the indentation"),
954
+ description: ( nls.localizeWithPath(
955
+ 'vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint',
956
+ 'schema.onEnterRules.action.indent',
957
+ "Describe what to do with the indentation"
958
+ )),
726
959
  default: 'indent',
727
960
  enum: ['none', 'indent', 'indentOutdent', 'outdent'],
728
961
  markdownEnumDescriptions: [
729
- nls.localizeWithPath('vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint', 'schema.onEnterRules.action.indent.none', "Insert new line and copy the previous line's indentation."),
730
- nls.localizeWithPath('vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint', 'schema.onEnterRules.action.indent.indent', "Insert new line and indent once (relative to the previous line's indentation)."),
731
- nls.localizeWithPath('vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint', 'schema.onEnterRules.action.indent.indentOutdent', "Insert two new lines:\n - the first one indented which will hold the cursor\n - the second one at the same indentation level"),
732
- nls.localizeWithPath('vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint', 'schema.onEnterRules.action.indent.outdent', "Insert new line and outdent once (relative to the previous line's indentation).")
962
+ ( nls.localizeWithPath(
963
+ 'vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint',
964
+ 'schema.onEnterRules.action.indent.none',
965
+ "Insert new line and copy the previous line's indentation."
966
+ )),
967
+ ( nls.localizeWithPath(
968
+ 'vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint',
969
+ 'schema.onEnterRules.action.indent.indent',
970
+ "Insert new line and indent once (relative to the previous line's indentation)."
971
+ )),
972
+ ( nls.localizeWithPath(
973
+ 'vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint',
974
+ 'schema.onEnterRules.action.indent.indentOutdent',
975
+ "Insert two new lines:\n - the first one indented which will hold the cursor\n - the second one at the same indentation level"
976
+ )),
977
+ ( nls.localizeWithPath(
978
+ 'vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint',
979
+ 'schema.onEnterRules.action.indent.outdent',
980
+ "Insert new line and outdent once (relative to the previous line's indentation)."
981
+ ))
733
982
  ]
734
983
  },
735
984
  appendText: {
736
985
  type: 'string',
737
- description: nls.localizeWithPath('vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint', 'schema.onEnterRules.action.appendText', 'Describes text to be appended after the new line and after the indentation.'),
986
+ description: ( nls.localizeWithPath(
987
+ 'vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint',
988
+ 'schema.onEnterRules.action.appendText',
989
+ 'Describes text to be appended after the new line and after the indentation.'
990
+ )),
738
991
  default: '',
739
992
  },
740
993
  removeText: {
741
994
  type: 'number',
742
- description: nls.localizeWithPath('vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint', 'schema.onEnterRules.action.removeText', 'Describes the number of characters to remove from the new line\'s indentation.'),
995
+ description: ( nls.localizeWithPath(
996
+ 'vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint',
997
+ 'schema.onEnterRules.action.removeText',
998
+ 'Describes the number of characters to remove from the new line\'s indentation.'
999
+ )),
743
1000
  default: 0,
744
1001
  }
745
1002
  }