@codingame/monaco-vscode-api 1.83.4 → 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
@@ -1,31 +1,21 @@
1
1
  import * as nls from 'monaco-editor/esm/vs/nls.js';
2
2
  import { createDecorator } from 'monaco-editor/esm/vs/platform/instantiation/common/instantiation.js';
3
- import { RawContextKey, ContextKeyExpr } from 'monaco-editor/esm/vs/platform/contextkey/common/contextkey.js';
4
- const CustomExecutionSupportedContext = ( new RawContextKey(
5
- 'customExecutionSupported',
6
- false,
7
- nls.localizeWithPath('vs/workbench/contrib/tasks/common/taskService', 'tasks.customExecutionSupported', "Whether CustomExecution tasks are supported. Consider using in the when clause of a \'taskDefinition\' contribution.")
8
- ));
9
- const ShellExecutionSupportedContext = ( new RawContextKey(
10
- 'shellExecutionSupported',
11
- false,
12
- nls.localizeWithPath('vs/workbench/contrib/tasks/common/taskService', 'tasks.shellExecutionSupported', "Whether ShellExecution tasks are supported. Consider using in the when clause of a \'taskDefinition\' contribution.")
13
- ));
14
- ( new RawContextKey(
15
- 'taskCommandsRegistered',
16
- false,
17
- nls.localizeWithPath('vs/workbench/contrib/tasks/common/taskService', 'tasks.taskCommandsRegistered', "Whether the task commands have been registered yet")
18
- ));
19
- const ProcessExecutionSupportedContext = ( new RawContextKey(
20
- 'processExecutionSupported',
21
- false,
22
- nls.localizeWithPath('vs/workbench/contrib/tasks/common/taskService', 'tasks.processExecutionSupported', "Whether ProcessExecution tasks are supported. Consider using in the when clause of a \'taskDefinition\' contribution.")
23
- ));
24
- ( new RawContextKey(
25
- 'serverlessWebContext',
26
- false,
27
- nls.localizeWithPath('vs/workbench/contrib/tasks/common/taskService', 'tasks.serverlessWebContext', "True when in the web with no remote authority.")
28
- ));
3
+ import { ContextKeyExpr, RawContextKey } from 'monaco-editor/esm/vs/platform/contextkey/common/contextkey.js';
4
+ const CustomExecutionSupportedContext = ( new RawContextKey('customExecutionSupported', false, ( nls.localizeWithPath(
5
+ 'vs/workbench/contrib/tasks/common/taskService',
6
+ 'tasks.customExecutionSupported',
7
+ "Whether CustomExecution tasks are supported. Consider using in the when clause of a \'taskDefinition\' contribution."
8
+ ))));
9
+ const ShellExecutionSupportedContext = ( new RawContextKey('shellExecutionSupported', false, ( nls.localizeWithPath(
10
+ 'vs/workbench/contrib/tasks/common/taskService',
11
+ 'tasks.shellExecutionSupported',
12
+ "Whether ShellExecution tasks are supported. Consider using in the when clause of a \'taskDefinition\' contribution."
13
+ ))));
14
+ const ProcessExecutionSupportedContext = ( new RawContextKey('processExecutionSupported', false, ( nls.localizeWithPath(
15
+ 'vs/workbench/contrib/tasks/common/taskService',
16
+ 'tasks.processExecutionSupported',
17
+ "Whether ProcessExecution tasks are supported. Consider using in the when clause of a \'taskDefinition\' contribution."
18
+ ))));
29
19
  const TaskExecutionSupportedContext = ( ContextKeyExpr.or(( ContextKeyExpr.and(ShellExecutionSupportedContext, ProcessExecutionSupportedContext)), CustomExecutionSupportedContext));
30
20
  const ITaskService = ( createDecorator('taskService'));
31
21
  export { CustomExecutionSupportedContext, ITaskService, ProcessExecutionSupportedContext, ShellExecutionSupportedContext, TaskExecutionSupportedContext };
@@ -2,15 +2,8 @@ import * as nls from 'monaco-editor/esm/vs/nls.js';
2
2
  import * as types from 'monaco-editor/esm/vs/base/common/types.js';
3
3
  import * as resources from 'monaco-editor/esm/vs/base/common/resources.js';
4
4
  import * as objects from 'monaco-editor/esm/vs/base/common/objects.js';
5
- import { RawContextKey } from 'monaco-editor/esm/vs/platform/contextkey/common/contextkey.js';
6
5
  import { TaskDefinitionRegistry } from './taskDefinitionRegistry.js';
7
6
  const USER_TASKS_GROUP_KEY = 'settings';
8
- ( new RawContextKey(
9
- 'taskRunning',
10
- false,
11
- nls.localizeWithPath('vs/workbench/contrib/tasks/common/tasks', 'tasks.taskRunningContext', "Whether a task is currently running.")
12
- ));
13
- ({ value: nls.localizeWithPath('vs/workbench/contrib/tasks/common/tasks', 'tasksCategory', "Tasks"), original: 'Tasks' });
14
7
  const CUSTOMIZED_TASK_TYPE = '$customized';
15
8
  var CommandOptions;
16
9
  ( (function(CommandOptions) {
@@ -492,7 +485,13 @@ var TaskDefinition;
492
485
  literal[property] = '';
493
486
  break;
494
487
  default:
495
- reporter.error(nls.localizeWithPath('vs/workbench/contrib/tasks/common/tasks', 'TaskDefinition.missingRequiredProperty', 'Error: the task identifier \'{0}\' is missing the required property \'{1}\'. The task identifier will be ignored.', JSON.stringify(external, undefined, 0), property));
488
+ reporter.error(( nls.localizeWithPath(
489
+ 'vs/workbench/contrib/tasks/common/tasks',
490
+ 'TaskDefinition.missingRequiredProperty',
491
+ 'Error: the task identifier \'{0}\' is missing the required property \'{1}\'. The task identifier will be ignored.',
492
+ JSON.stringify(external, undefined, 0),
493
+ property
494
+ )));
496
495
  return undefined;
497
496
  }
498
497
  }
@@ -67,11 +67,27 @@ let TerminalEditorInput = class TerminalEditorInput extends EditorInput {
67
67
  async confirm(terminals) {
68
68
  const { confirmed } = await this._dialogService.confirm({
69
69
  type: Severity.Warning,
70
- message: localizeWithPath('vs/workbench/contrib/terminal/browser/terminalEditorInput', 'confirmDirtyTerminal.message', "Do you want to terminate running processes?"),
71
- primaryButton: localizeWithPath('vs/workbench/contrib/terminal/browser/terminalEditorInput', { key: 'confirmDirtyTerminal.button', comment: ['&& denotes a mnemonic'] }, "&&Terminate"),
70
+ message: ( localizeWithPath(
71
+ 'vs/workbench/contrib/terminal/browser/terminalEditorInput',
72
+ 'confirmDirtyTerminal.message',
73
+ "Do you want to terminate running processes?"
74
+ )),
75
+ primaryButton: ( localizeWithPath(
76
+ 'vs/workbench/contrib/terminal/browser/terminalEditorInput',
77
+ { key: 'confirmDirtyTerminal.button', comment: ['&& denotes a mnemonic'] },
78
+ "&&Terminate"
79
+ )),
72
80
  detail: terminals.length > 1 ?
73
- ( terminals.map(terminal => terminal.editor.getName())).join('\n') + '\n\n' + localizeWithPath('vs/workbench/contrib/terminal/browser/terminalEditorInput', 'confirmDirtyTerminals.detail', "Closing will terminate the running processes in the terminals.") :
74
- localizeWithPath('vs/workbench/contrib/terminal/browser/terminalEditorInput', 'confirmDirtyTerminal.detail', "Closing will terminate the running processes in this terminal.")
81
+ ( terminals.map(terminal => terminal.editor.getName())).join('\n') + '\n\n' + ( localizeWithPath(
82
+ 'vs/workbench/contrib/terminal/browser/terminalEditorInput',
83
+ 'confirmDirtyTerminals.detail',
84
+ "Closing will terminate the running processes in the terminals."
85
+ )) :
86
+ ( localizeWithPath(
87
+ 'vs/workbench/contrib/terminal/browser/terminalEditorInput',
88
+ 'confirmDirtyTerminal.detail',
89
+ "Closing will terminate the running processes in this terminal."
90
+ ))
75
91
  });
76
92
  return confirmed ? 1 : 2 ;
77
93
  }
@@ -166,12 +166,20 @@ const terminalContributionsDescriptor = {
166
166
  }
167
167
  },
168
168
  jsonSchema: {
169
- description: nls.localizeWithPath('vs/workbench/contrib/terminal/common/terminal', 'vscode.extension.contributes.terminal', 'Contributes terminal functionality.'),
169
+ description: ( nls.localizeWithPath(
170
+ 'vs/workbench/contrib/terminal/common/terminal',
171
+ 'vscode.extension.contributes.terminal',
172
+ 'Contributes terminal functionality.'
173
+ )),
170
174
  type: 'object',
171
175
  properties: {
172
176
  profiles: {
173
177
  type: 'array',
174
- description: nls.localizeWithPath('vs/workbench/contrib/terminal/common/terminal', 'vscode.extension.contributes.terminal.profiles', "Defines additional terminal profiles that the user can create."),
178
+ description: ( nls.localizeWithPath(
179
+ 'vs/workbench/contrib/terminal/common/terminal',
180
+ 'vscode.extension.contributes.terminal.profiles',
181
+ "Defines additional terminal profiles that the user can create."
182
+ )),
175
183
  items: {
176
184
  type: 'object',
177
185
  required: ['id', 'title'],
@@ -183,15 +191,27 @@ const terminalContributionsDescriptor = {
183
191
  }],
184
192
  properties: {
185
193
  id: {
186
- description: nls.localizeWithPath('vs/workbench/contrib/terminal/common/terminal', 'vscode.extension.contributes.terminal.profiles.id', "The ID of the terminal profile provider."),
194
+ description: ( nls.localizeWithPath(
195
+ 'vs/workbench/contrib/terminal/common/terminal',
196
+ 'vscode.extension.contributes.terminal.profiles.id',
197
+ "The ID of the terminal profile provider."
198
+ )),
187
199
  type: 'string',
188
200
  },
189
201
  title: {
190
- description: nls.localizeWithPath('vs/workbench/contrib/terminal/common/terminal', 'vscode.extension.contributes.terminal.profiles.title', "Title for this terminal profile."),
202
+ description: ( nls.localizeWithPath(
203
+ 'vs/workbench/contrib/terminal/common/terminal',
204
+ 'vscode.extension.contributes.terminal.profiles.title',
205
+ "Title for this terminal profile."
206
+ )),
191
207
  type: 'string',
192
208
  },
193
209
  icon: {
194
- description: nls.localizeWithPath('vs/workbench/contrib/terminal/common/terminal', 'vscode.extension.contributes.terminal.types.icon', "A codicon, URI, or light and dark URIs to associate with this terminal type."),
210
+ description: ( nls.localizeWithPath(
211
+ 'vs/workbench/contrib/terminal/common/terminal',
212
+ 'vscode.extension.contributes.terminal.types.icon',
213
+ "A codicon, URI, or light and dark URIs to associate with this terminal type."
214
+ )),
195
215
  anyOf: [{
196
216
  type: 'string',
197
217
  },
@@ -199,11 +219,19 @@ const terminalContributionsDescriptor = {
199
219
  type: 'object',
200
220
  properties: {
201
221
  light: {
202
- description: nls.localizeWithPath('vs/workbench/contrib/terminal/common/terminal', 'vscode.extension.contributes.terminal.types.icon.light', 'Icon path when a light theme is used'),
222
+ description: ( nls.localizeWithPath(
223
+ 'vs/workbench/contrib/terminal/common/terminal',
224
+ 'vscode.extension.contributes.terminal.types.icon.light',
225
+ 'Icon path when a light theme is used'
226
+ )),
203
227
  type: 'string'
204
228
  },
205
229
  dark: {
206
- description: nls.localizeWithPath('vs/workbench/contrib/terminal/common/terminal', 'vscode.extension.contributes.terminal.types.icon.dark', 'Icon path when a dark theme is used'),
230
+ description: ( nls.localizeWithPath(
231
+ 'vs/workbench/contrib/terminal/common/terminal',
232
+ 'vscode.extension.contributes.terminal.types.icon.dark',
233
+ 'Icon path when a dark theme is used'
234
+ )),
207
235
  type: 'string'
208
236
  }
209
237
  }
@@ -2,111 +2,191 @@ import * as nls from 'monaco-editor/esm/vs/nls.js';
2
2
  import { registerColor, editorSelectionBackground, transparent, editorFindMatch, editorHoverHighlight, editorFindMatchHighlight, overviewRulerFindMatchForeground } from 'monaco-editor/esm/vs/platform/theme/common/colorRegistry.js';
3
3
  import { PANEL_BORDER, EDITOR_DRAG_AND_DROP_BACKGROUND, TAB_ACTIVE_BORDER } from '../../../common/theme.js';
4
4
  const ansiColorIdentifiers = [];
5
- const TERMINAL_BACKGROUND_COLOR = registerColor('terminal.background', null, nls.localizeWithPath('vs/workbench/contrib/terminal/common/terminalColorRegistry', 'terminal.background', 'The background color of the terminal, this allows coloring the terminal differently to the panel.'));
5
+ const TERMINAL_BACKGROUND_COLOR = registerColor('terminal.background', null, ( nls.localizeWithPath(
6
+ 'vs/workbench/contrib/terminal/common/terminalColorRegistry',
7
+ 'terminal.background',
8
+ 'The background color of the terminal, this allows coloring the terminal differently to the panel.'
9
+ )));
6
10
  const TERMINAL_FOREGROUND_COLOR = registerColor('terminal.foreground', {
7
11
  light: '#333333',
8
12
  dark: '#CCCCCC',
9
13
  hcDark: '#FFFFFF',
10
14
  hcLight: '#292929'
11
- }, nls.localizeWithPath('vs/workbench/contrib/terminal/common/terminalColorRegistry', 'terminal.foreground', 'The foreground color of the terminal.'));
12
- const TERMINAL_CURSOR_FOREGROUND_COLOR = registerColor('terminalCursor.foreground', null, nls.localizeWithPath('vs/workbench/contrib/terminal/common/terminalColorRegistry', 'terminalCursor.foreground', 'The foreground color of the terminal cursor.'));
13
- const TERMINAL_CURSOR_BACKGROUND_COLOR = registerColor('terminalCursor.background', null, nls.localizeWithPath('vs/workbench/contrib/terminal/common/terminalColorRegistry', 'terminalCursor.background', 'The background color of the terminal cursor. Allows customizing the color of a character overlapped by a block cursor.'));
15
+ }, ( nls.localizeWithPath(
16
+ 'vs/workbench/contrib/terminal/common/terminalColorRegistry',
17
+ 'terminal.foreground',
18
+ 'The foreground color of the terminal.'
19
+ )));
20
+ const TERMINAL_CURSOR_FOREGROUND_COLOR = registerColor('terminalCursor.foreground', null, ( nls.localizeWithPath(
21
+ 'vs/workbench/contrib/terminal/common/terminalColorRegistry',
22
+ 'terminalCursor.foreground',
23
+ 'The foreground color of the terminal cursor.'
24
+ )));
25
+ const TERMINAL_CURSOR_BACKGROUND_COLOR = registerColor('terminalCursor.background', null, ( nls.localizeWithPath(
26
+ 'vs/workbench/contrib/terminal/common/terminalColorRegistry',
27
+ 'terminalCursor.background',
28
+ 'The background color of the terminal cursor. Allows customizing the color of a character overlapped by a block cursor.'
29
+ )));
14
30
  const TERMINAL_SELECTION_BACKGROUND_COLOR = registerColor('terminal.selectionBackground', {
15
31
  light: editorSelectionBackground,
16
32
  dark: editorSelectionBackground,
17
33
  hcDark: editorSelectionBackground,
18
34
  hcLight: editorSelectionBackground
19
- }, nls.localizeWithPath('vs/workbench/contrib/terminal/common/terminalColorRegistry', 'terminal.selectionBackground', 'The selection background color of the terminal.'));
35
+ }, ( nls.localizeWithPath(
36
+ 'vs/workbench/contrib/terminal/common/terminalColorRegistry',
37
+ 'terminal.selectionBackground',
38
+ 'The selection background color of the terminal.'
39
+ )));
20
40
  const TERMINAL_INACTIVE_SELECTION_BACKGROUND_COLOR = registerColor('terminal.inactiveSelectionBackground', {
21
41
  light: ( transparent(TERMINAL_SELECTION_BACKGROUND_COLOR, 0.5)),
22
42
  dark: ( transparent(TERMINAL_SELECTION_BACKGROUND_COLOR, 0.5)),
23
43
  hcDark: ( transparent(TERMINAL_SELECTION_BACKGROUND_COLOR, 0.7)),
24
44
  hcLight: ( transparent(TERMINAL_SELECTION_BACKGROUND_COLOR, 0.5))
25
- }, nls.localizeWithPath('vs/workbench/contrib/terminal/common/terminalColorRegistry', 'terminal.inactiveSelectionBackground', 'The selection background color of the terminal when it does not have focus.'));
45
+ }, ( nls.localizeWithPath(
46
+ 'vs/workbench/contrib/terminal/common/terminalColorRegistry',
47
+ 'terminal.inactiveSelectionBackground',
48
+ 'The selection background color of the terminal when it does not have focus.'
49
+ )));
26
50
  const TERMINAL_SELECTION_FOREGROUND_COLOR = registerColor('terminal.selectionForeground', {
27
51
  light: null,
28
52
  dark: null,
29
53
  hcDark: '#000000',
30
54
  hcLight: '#ffffff'
31
- }, nls.localizeWithPath('vs/workbench/contrib/terminal/common/terminalColorRegistry', 'terminal.selectionForeground', 'The selection foreground color of the terminal. When this is null the selection foreground will be retained and have the minimum contrast ratio feature applied.'));
55
+ }, ( nls.localizeWithPath(
56
+ 'vs/workbench/contrib/terminal/common/terminalColorRegistry',
57
+ 'terminal.selectionForeground',
58
+ 'The selection foreground color of the terminal. When this is null the selection foreground will be retained and have the minimum contrast ratio feature applied.'
59
+ )));
32
60
  const TERMINAL_COMMAND_DECORATION_DEFAULT_BACKGROUND_COLOR = registerColor('terminalCommandDecoration.defaultBackground', {
33
61
  light: '#00000040',
34
62
  dark: '#ffffff40',
35
63
  hcDark: '#ffffff80',
36
64
  hcLight: '#00000040',
37
- }, nls.localizeWithPath('vs/workbench/contrib/terminal/common/terminalColorRegistry', 'terminalCommandDecoration.defaultBackground', 'The default terminal command decoration background color.'));
65
+ }, ( nls.localizeWithPath(
66
+ 'vs/workbench/contrib/terminal/common/terminalColorRegistry',
67
+ 'terminalCommandDecoration.defaultBackground',
68
+ 'The default terminal command decoration background color.'
69
+ )));
38
70
  const TERMINAL_COMMAND_DECORATION_SUCCESS_BACKGROUND_COLOR = registerColor('terminalCommandDecoration.successBackground', {
39
71
  dark: '#1B81A8',
40
72
  light: '#2090D3',
41
73
  hcDark: '#1B81A8',
42
74
  hcLight: '#007100'
43
- }, nls.localizeWithPath('vs/workbench/contrib/terminal/common/terminalColorRegistry', 'terminalCommandDecoration.successBackground', 'The terminal command decoration background color for successful commands.'));
75
+ }, ( nls.localizeWithPath(
76
+ 'vs/workbench/contrib/terminal/common/terminalColorRegistry',
77
+ 'terminalCommandDecoration.successBackground',
78
+ 'The terminal command decoration background color for successful commands.'
79
+ )));
44
80
  const TERMINAL_COMMAND_DECORATION_ERROR_BACKGROUND_COLOR = registerColor('terminalCommandDecoration.errorBackground', {
45
81
  dark: '#F14C4C',
46
82
  light: '#E51400',
47
83
  hcDark: '#F14C4C',
48
84
  hcLight: '#B5200D'
49
- }, nls.localizeWithPath('vs/workbench/contrib/terminal/common/terminalColorRegistry', 'terminalCommandDecoration.errorBackground', 'The terminal command decoration background color for error commands.'));
85
+ }, ( nls.localizeWithPath(
86
+ 'vs/workbench/contrib/terminal/common/terminalColorRegistry',
87
+ 'terminalCommandDecoration.errorBackground',
88
+ 'The terminal command decoration background color for error commands.'
89
+ )));
50
90
  const TERMINAL_OVERVIEW_RULER_CURSOR_FOREGROUND_COLOR = registerColor('terminalOverviewRuler.cursorForeground', {
51
91
  dark: '#A0A0A0CC',
52
92
  light: '#A0A0A0CC',
53
93
  hcDark: '#A0A0A0CC',
54
94
  hcLight: '#A0A0A0CC'
55
- }, nls.localizeWithPath('vs/workbench/contrib/terminal/common/terminalColorRegistry', 'terminalOverviewRuler.cursorForeground', 'The overview ruler cursor color.'));
95
+ }, ( nls.localizeWithPath(
96
+ 'vs/workbench/contrib/terminal/common/terminalColorRegistry',
97
+ 'terminalOverviewRuler.cursorForeground',
98
+ 'The overview ruler cursor color.'
99
+ )));
56
100
  registerColor('terminal.border', {
57
101
  dark: PANEL_BORDER,
58
102
  light: PANEL_BORDER,
59
103
  hcDark: PANEL_BORDER,
60
104
  hcLight: PANEL_BORDER
61
- }, nls.localizeWithPath('vs/workbench/contrib/terminal/common/terminalColorRegistry', 'terminal.border', 'The color of the border that separates split panes within the terminal. This defaults to panel.border.'));
105
+ }, ( nls.localizeWithPath(
106
+ 'vs/workbench/contrib/terminal/common/terminalColorRegistry',
107
+ 'terminal.border',
108
+ 'The color of the border that separates split panes within the terminal. This defaults to panel.border.'
109
+ )));
62
110
  const TERMINAL_FIND_MATCH_BACKGROUND_COLOR = registerColor('terminal.findMatchBackground', {
63
111
  dark: editorFindMatch,
64
112
  light: editorFindMatch,
65
113
  hcDark: null,
66
114
  hcLight: '#0F4A85'
67
- }, nls.localizeWithPath('vs/workbench/contrib/terminal/common/terminalColorRegistry', 'terminal.findMatchBackground', 'Color of the current search match in the terminal. The color must not be opaque so as not to hide underlying terminal content.'));
115
+ }, ( nls.localizeWithPath(
116
+ 'vs/workbench/contrib/terminal/common/terminalColorRegistry',
117
+ 'terminal.findMatchBackground',
118
+ 'Color of the current search match in the terminal. The color must not be opaque so as not to hide underlying terminal content.'
119
+ )));
68
120
  registerColor('terminal.hoverHighlightBackground', {
69
121
  dark: ( transparent(editorHoverHighlight, 0.5)),
70
122
  light: ( transparent(editorHoverHighlight, 0.5)),
71
123
  hcDark: ( transparent(editorHoverHighlight, 0.5)),
72
124
  hcLight: ( transparent(editorHoverHighlight, 0.5))
73
- }, nls.localizeWithPath('vs/workbench/contrib/terminal/common/terminalColorRegistry', 'terminal.findMatchHighlightBorder', 'Border color of the other search matches in the terminal.'));
125
+ }, ( nls.localizeWithPath(
126
+ 'vs/workbench/contrib/terminal/common/terminalColorRegistry',
127
+ 'terminal.findMatchHighlightBorder',
128
+ 'Border color of the other search matches in the terminal.'
129
+ )));
74
130
  const TERMINAL_FIND_MATCH_BORDER_COLOR = registerColor('terminal.findMatchBorder', {
75
131
  dark: null,
76
132
  light: null,
77
133
  hcDark: '#f38518',
78
134
  hcLight: '#0F4A85'
79
- }, nls.localizeWithPath('vs/workbench/contrib/terminal/common/terminalColorRegistry', 'terminal.findMatchBorder', 'Border color of the current search match in the terminal.'));
135
+ }, ( nls.localizeWithPath(
136
+ 'vs/workbench/contrib/terminal/common/terminalColorRegistry',
137
+ 'terminal.findMatchBorder',
138
+ 'Border color of the current search match in the terminal.'
139
+ )));
80
140
  const TERMINAL_FIND_MATCH_HIGHLIGHT_BACKGROUND_COLOR = registerColor('terminal.findMatchHighlightBackground', {
81
141
  dark: editorFindMatchHighlight,
82
142
  light: editorFindMatchHighlight,
83
143
  hcDark: null,
84
144
  hcLight: null
85
- }, nls.localizeWithPath('vs/workbench/contrib/terminal/common/terminalColorRegistry', 'terminal.findMatchHighlightBackground', 'Color of the other search matches in the terminal. The color must not be opaque so as not to hide underlying terminal content.'));
145
+ }, ( nls.localizeWithPath(
146
+ 'vs/workbench/contrib/terminal/common/terminalColorRegistry',
147
+ 'terminal.findMatchHighlightBackground',
148
+ 'Color of the other search matches in the terminal. The color must not be opaque so as not to hide underlying terminal content.'
149
+ )));
86
150
  const TERMINAL_FIND_MATCH_HIGHLIGHT_BORDER_COLOR = registerColor('terminal.findMatchHighlightBorder', {
87
151
  dark: null,
88
152
  light: null,
89
153
  hcDark: '#f38518',
90
154
  hcLight: '#0F4A85'
91
- }, nls.localizeWithPath('vs/workbench/contrib/terminal/common/terminalColorRegistry', 'terminal.findMatchHighlightBorder', 'Border color of the other search matches in the terminal.'));
155
+ }, ( nls.localizeWithPath(
156
+ 'vs/workbench/contrib/terminal/common/terminalColorRegistry',
157
+ 'terminal.findMatchHighlightBorder',
158
+ 'Border color of the other search matches in the terminal.'
159
+ )));
92
160
  const TERMINAL_OVERVIEW_RULER_FIND_MATCH_FOREGROUND_COLOR = registerColor('terminalOverviewRuler.findMatchForeground', {
93
161
  dark: overviewRulerFindMatchForeground,
94
162
  light: overviewRulerFindMatchForeground,
95
163
  hcDark: '#f38518',
96
164
  hcLight: '#0F4A85'
97
- }, nls.localizeWithPath('vs/workbench/contrib/terminal/common/terminalColorRegistry', 'terminalOverviewRuler.findMatchHighlightForeground', 'Overview ruler marker color for find matches in the terminal.'));
165
+ }, ( nls.localizeWithPath(
166
+ 'vs/workbench/contrib/terminal/common/terminalColorRegistry',
167
+ 'terminalOverviewRuler.findMatchHighlightForeground',
168
+ 'Overview ruler marker color for find matches in the terminal.'
169
+ )));
98
170
  registerColor('terminal.dropBackground', {
99
171
  dark: EDITOR_DRAG_AND_DROP_BACKGROUND,
100
172
  light: EDITOR_DRAG_AND_DROP_BACKGROUND,
101
173
  hcDark: EDITOR_DRAG_AND_DROP_BACKGROUND,
102
174
  hcLight: EDITOR_DRAG_AND_DROP_BACKGROUND
103
- }, nls.localizeWithPath('vs/workbench/contrib/terminal/common/terminalColorRegistry', 'terminal.dragAndDropBackground', "Background color when dragging on top of terminals. The color should have transparency so that the terminal contents can still shine through."));
175
+ }, ( nls.localizeWithPath(
176
+ 'vs/workbench/contrib/terminal/common/terminalColorRegistry',
177
+ 'terminal.dragAndDropBackground',
178
+ "Background color when dragging on top of terminals. The color should have transparency so that the terminal contents can still shine through."
179
+ )));
104
180
  registerColor('terminal.tab.activeBorder', {
105
181
  dark: TAB_ACTIVE_BORDER,
106
182
  light: TAB_ACTIVE_BORDER,
107
183
  hcDark: TAB_ACTIVE_BORDER,
108
184
  hcLight: TAB_ACTIVE_BORDER
109
- }, nls.localizeWithPath('vs/workbench/contrib/terminal/common/terminalColorRegistry', 'terminal.tab.activeBorder', 'Border on the side of the terminal tab in the panel. This defaults to tab.activeBorder.'));
185
+ }, ( nls.localizeWithPath(
186
+ 'vs/workbench/contrib/terminal/common/terminalColorRegistry',
187
+ 'terminal.tab.activeBorder',
188
+ 'Border on the side of the terminal tab in the panel. This defaults to tab.activeBorder.'
189
+ )));
110
190
  const ansiColorMap = {
111
191
  'terminal.ansiBlack': {
112
192
  index: 0,
@@ -257,7 +337,12 @@ function registerColors() {
257
337
  for (const id in ansiColorMap) {
258
338
  const entry = ansiColorMap[id];
259
339
  const colorName = id.substring(13);
260
- ansiColorIdentifiers[entry.index] = registerColor(id, entry.defaults, nls.localizeWithPath('vs/workbench/contrib/terminal/common/terminalColorRegistry', 'terminal.ansiColor', '\'{0}\' ANSI color in the terminal.', colorName));
340
+ ansiColorIdentifiers[entry.index] = registerColor(id, entry.defaults, ( nls.localizeWithPath(
341
+ 'vs/workbench/contrib/terminal/common/terminalColorRegistry',
342
+ 'terminal.ansiColor',
343
+ '\'{0}\' ANSI color in the terminal.',
344
+ colorName
345
+ )));
261
346
  }
262
347
  }
263
348
  export { TERMINAL_BACKGROUND_COLOR, TERMINAL_COMMAND_DECORATION_DEFAULT_BACKGROUND_COLOR, TERMINAL_COMMAND_DECORATION_ERROR_BACKGROUND_COLOR, TERMINAL_COMMAND_DECORATION_SUCCESS_BACKGROUND_COLOR, TERMINAL_CURSOR_BACKGROUND_COLOR, TERMINAL_CURSOR_FOREGROUND_COLOR, TERMINAL_FIND_MATCH_BACKGROUND_COLOR, TERMINAL_FIND_MATCH_BORDER_COLOR, TERMINAL_FIND_MATCH_HIGHLIGHT_BACKGROUND_COLOR, TERMINAL_FIND_MATCH_HIGHLIGHT_BORDER_COLOR, TERMINAL_FOREGROUND_COLOR, TERMINAL_INACTIVE_SELECTION_BACKGROUND_COLOR, TERMINAL_OVERVIEW_RULER_CURSOR_FOREGROUND_COLOR, TERMINAL_OVERVIEW_RULER_FIND_MATCH_FOREGROUND_COLOR, TERMINAL_SELECTION_BACKGROUND_COLOR, TERMINAL_SELECTION_FOREGROUND_COLOR, ansiColorIdentifiers, ansiColorMap, registerColors };
@@ -6,23 +6,35 @@ var TerminalContextKeys;
6
6
  TerminalContextKeys.focus = ( new RawContextKey(
7
7
  "terminalFocus" ,
8
8
  false,
9
- localizeWithPath('vs/workbench/contrib/terminal/common/terminalContextKey', 'terminalFocusContextKey', "Whether the terminal is focused.")
9
+ ( localizeWithPath(
10
+ 'vs/workbench/contrib/terminal/common/terminalContextKey',
11
+ 'terminalFocusContextKey',
12
+ "Whether the terminal is focused."
13
+ ))
10
14
  ));
11
15
  TerminalContextKeys.focusInAny = ( new RawContextKey(
12
16
  "terminalFocusInAny" ,
13
17
  false,
14
- localizeWithPath('vs/workbench/contrib/terminal/common/terminalContextKey', 'terminalFocusInAnyContextKey', "Whether any terminal is focused, including detached terminals used in other UI.")
18
+ ( localizeWithPath(
19
+ 'vs/workbench/contrib/terminal/common/terminalContextKey',
20
+ 'terminalFocusInAnyContextKey',
21
+ "Whether any terminal is focused, including detached terminals used in other UI."
22
+ ))
15
23
  ));
16
24
  TerminalContextKeys.editorFocus = ( new RawContextKey(
17
25
  "terminalEditorFocus" ,
18
26
  false,
19
- localizeWithPath('vs/workbench/contrib/terminal/common/terminalContextKey', 'terminalEditorFocusContextKey', "Whether a terminal in the editor area is focused.")
20
- ));
21
- TerminalContextKeys.count = ( new RawContextKey(
22
- "terminalCount" ,
23
- 0,
24
- localizeWithPath('vs/workbench/contrib/terminal/common/terminalContextKey', 'terminalCountContextKey', "The current number of terminals.")
25
- ));
27
+ ( localizeWithPath(
28
+ 'vs/workbench/contrib/terminal/common/terminalContextKey',
29
+ 'terminalEditorFocusContextKey',
30
+ "Whether a terminal in the editor area is focused."
31
+ ))
32
+ ));
33
+ TerminalContextKeys.count = ( new RawContextKey("terminalCount" , 0, ( localizeWithPath(
34
+ 'vs/workbench/contrib/terminal/common/terminalContextKey',
35
+ 'terminalCountContextKey',
36
+ "The current number of terminals."
37
+ ))));
26
38
  TerminalContextKeys.groupCount = ( new RawContextKey("terminalGroupCount" , 0, true));
27
39
  TerminalContextKeys.tabsNarrow = ( new RawContextKey(
28
40
  "isTerminalTabsNarrow" ,
@@ -37,7 +49,11 @@ var TerminalContextKeys;
37
49
  TerminalContextKeys.tabsFocus = ( new RawContextKey(
38
50
  "terminalTabsFocus" ,
39
51
  false,
40
- localizeWithPath('vs/workbench/contrib/terminal/common/terminalContextKey', 'terminalTabsFocusContextKey', "Whether the terminal tabs widget is focused.")
52
+ ( localizeWithPath(
53
+ 'vs/workbench/contrib/terminal/common/terminalContextKey',
54
+ 'terminalTabsFocusContextKey',
55
+ "Whether the terminal tabs widget is focused."
56
+ ))
41
57
  ));
42
58
  TerminalContextKeys.webExtensionContributedProfile = ( new RawContextKey(
43
59
  "terminalWebExtensionContributedProfile" ,
@@ -58,33 +74,57 @@ var TerminalContextKeys;
58
74
  TerminalContextKeys.shellType = ( new RawContextKey(
59
75
  "terminalShellType" ,
60
76
  undefined,
61
- { type: 'string', description: localizeWithPath('vs/workbench/contrib/terminal/common/terminalContextKey', 'terminalShellTypeContextKey', "The shell type of the active terminal, this is set to the last known value when no terminals exist.") }
77
+ { type: 'string', description: ( localizeWithPath(
78
+ 'vs/workbench/contrib/terminal/common/terminalContextKey',
79
+ 'terminalShellTypeContextKey',
80
+ "The shell type of the active terminal, this is set to the last known value when no terminals exist."
81
+ )) }
62
82
  ));
63
83
  TerminalContextKeys.altBufferActive = ( new RawContextKey(
64
84
  "terminalAltBufferActive" ,
65
85
  false,
66
- localizeWithPath('vs/workbench/contrib/terminal/common/terminalContextKey', 'terminalAltBufferActive', "Whether the terminal's alt buffer is active.")
86
+ ( localizeWithPath(
87
+ 'vs/workbench/contrib/terminal/common/terminalContextKey',
88
+ 'terminalAltBufferActive',
89
+ "Whether the terminal's alt buffer is active."
90
+ ))
67
91
  ));
68
92
  TerminalContextKeys.suggestWidgetVisible = ( new RawContextKey(
69
93
  "terminalSuggestWidgetVisible" ,
70
94
  false,
71
- localizeWithPath('vs/workbench/contrib/terminal/common/terminalContextKey', 'terminalSuggestWidgetVisible', "Whether the terminal's suggest widget is visible.")
95
+ ( localizeWithPath(
96
+ 'vs/workbench/contrib/terminal/common/terminalContextKey',
97
+ 'terminalSuggestWidgetVisible',
98
+ "Whether the terminal's suggest widget is visible."
99
+ ))
72
100
  ));
73
101
  TerminalContextKeys.notFocus = ( TerminalContextKeys.focus.toNegated());
74
102
  TerminalContextKeys.viewShowing = ( new RawContextKey(
75
103
  "terminalViewShowing" ,
76
104
  false,
77
- localizeWithPath('vs/workbench/contrib/terminal/common/terminalContextKey', 'terminalViewShowing', "Whether the terminal view is showing")
105
+ ( localizeWithPath(
106
+ 'vs/workbench/contrib/terminal/common/terminalContextKey',
107
+ 'terminalViewShowing',
108
+ "Whether the terminal view is showing"
109
+ ))
78
110
  ));
79
111
  TerminalContextKeys.textSelected = ( new RawContextKey(
80
112
  "terminalTextSelected" ,
81
113
  false,
82
- localizeWithPath('vs/workbench/contrib/terminal/common/terminalContextKey', 'terminalTextSelectedContextKey', "Whether text is selected in the active terminal.")
114
+ ( localizeWithPath(
115
+ 'vs/workbench/contrib/terminal/common/terminalContextKey',
116
+ 'terminalTextSelectedContextKey',
117
+ "Whether text is selected in the active terminal."
118
+ ))
83
119
  ));
84
120
  TerminalContextKeys.textSelectedInFocused = ( new RawContextKey(
85
121
  "terminalTextSelectedInFocused" ,
86
122
  false,
87
- localizeWithPath('vs/workbench/contrib/terminal/common/terminalContextKey', 'terminalTextSelectedInFocusedContextKey', "Whether text is selected in a focused terminal.")
123
+ ( localizeWithPath(
124
+ 'vs/workbench/contrib/terminal/common/terminalContextKey',
125
+ 'terminalTextSelectedInFocusedContextKey',
126
+ "Whether text is selected in a focused terminal."
127
+ ))
88
128
  ));
89
129
  TerminalContextKeys.notTextSelected = ( TerminalContextKeys.textSelected.toNegated());
90
130
  TerminalContextKeys.findVisible = ( new RawContextKey(
@@ -107,27 +147,47 @@ var TerminalContextKeys;
107
147
  TerminalContextKeys.processSupported = ( new RawContextKey(
108
148
  "terminalProcessSupported" ,
109
149
  false,
110
- localizeWithPath('vs/workbench/contrib/terminal/common/terminalContextKey', 'terminalProcessSupportedContextKey', "Whether terminal processes can be launched in the current workspace.")
150
+ ( localizeWithPath(
151
+ 'vs/workbench/contrib/terminal/common/terminalContextKey',
152
+ 'terminalProcessSupportedContextKey',
153
+ "Whether terminal processes can be launched in the current workspace."
154
+ ))
111
155
  ));
112
156
  TerminalContextKeys.tabsSingularSelection = ( new RawContextKey(
113
157
  "terminalTabsSingularSelection" ,
114
158
  false,
115
- localizeWithPath('vs/workbench/contrib/terminal/common/terminalContextKey', 'terminalTabsSingularSelectedContextKey', "Whether one terminal is selected in the terminal tabs list.")
159
+ ( localizeWithPath(
160
+ 'vs/workbench/contrib/terminal/common/terminalContextKey',
161
+ 'terminalTabsSingularSelectedContextKey',
162
+ "Whether one terminal is selected in the terminal tabs list."
163
+ ))
116
164
  ));
117
165
  TerminalContextKeys.splitTerminal = ( new RawContextKey(
118
166
  "terminalSplitTerminal" ,
119
167
  false,
120
- localizeWithPath('vs/workbench/contrib/terminal/common/terminalContextKey', 'isSplitTerminalContextKey', "Whether the focused tab's terminal is a split terminal.")
168
+ ( localizeWithPath(
169
+ 'vs/workbench/contrib/terminal/common/terminalContextKey',
170
+ 'isSplitTerminalContextKey',
171
+ "Whether the focused tab's terminal is a split terminal."
172
+ ))
121
173
  ));
122
174
  TerminalContextKeys.inTerminalRunCommandPicker = ( new RawContextKey(
123
175
  "inTerminalRunCommandPicker" ,
124
176
  false,
125
- localizeWithPath('vs/workbench/contrib/terminal/common/terminalContextKey', 'inTerminalRunCommandPickerContextKey', "Whether the terminal run command picker is currently open.")
177
+ ( localizeWithPath(
178
+ 'vs/workbench/contrib/terminal/common/terminalContextKey',
179
+ 'inTerminalRunCommandPickerContextKey',
180
+ "Whether the terminal run command picker is currently open."
181
+ ))
126
182
  ));
127
183
  TerminalContextKeys.terminalShellIntegrationEnabled = ( new RawContextKey(
128
184
  "terminalShellIntegrationEnabled" ,
129
185
  false,
130
- localizeWithPath('vs/workbench/contrib/terminal/common/terminalContextKey', 'terminalShellIntegrationEnabled', "Whether shell integration is enabled in the active terminal")
186
+ ( localizeWithPath(
187
+ 'vs/workbench/contrib/terminal/common/terminalContextKey',
188
+ 'terminalShellIntegrationEnabled',
189
+ "Whether shell integration is enabled in the active terminal"
190
+ ))
131
191
  ));
132
192
  })(TerminalContextKeys || (TerminalContextKeys = {})));
133
193
  export { TerminalContextKeys };
@@ -127,7 +127,12 @@ class LiveTestResult extends Disposable {
127
127
  this.onNewTask = this.newTaskEmitter.event;
128
128
  this.onEndTask = this.endTaskEmitter.event;
129
129
  this.tasks = [];
130
- this.name = localizeWithPath('vs/workbench/contrib/testing/common/testResult', 'runFinished', 'Test run at {0}', ( new Date()).toLocaleString(language));
130
+ this.name = ( localizeWithPath(
131
+ 'vs/workbench/contrib/testing/common/testResult',
132
+ 'runFinished',
133
+ 'Test run at {0}',
134
+ ( new Date()).toLocaleString(language)
135
+ ));
131
136
  this.counts = makeEmptyCounts();
132
137
  this.computedStateAccessor = {
133
138
  getOwnState: i => i.ownComputedState,