@codingame/monaco-vscode-api 1.83.2 → 1.83.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (216) hide show
  1. package/extensions.d.ts +3 -3
  2. package/extensions.js +31 -33
  3. package/l10n.d.ts +4 -0
  4. package/l10n.js +10 -0
  5. package/missing-services.js +4 -2
  6. package/monaco-editor-treemending.patch +11880 -682
  7. package/monaco-treemending.js +8 -2
  8. package/package.json +8 -1
  9. package/service-override/extensions.js +2 -2
  10. package/service-override/layout.js +2 -2
  11. package/tools/l10n.js +177 -0
  12. package/tools.js +22 -1
  13. package/vscode/src/vs/base/browser/ui/menu/menubar.js +1 -1
  14. package/vscode/src/vs/base/browser/ui/splitview/paneview.js +2 -2
  15. package/vscode/src/vs/base/common/date.js +55 -55
  16. package/vscode/src/vs/base/common/jsonErrorMessages.js +10 -10
  17. package/vscode/src/vs/base/common/tfIdf.js +137 -0
  18. package/vscode/src/vs/editor/contrib/quickAccess/browser/commandsQuickAccess.js +23 -0
  19. package/vscode/src/vs/editor/contrib/quickAccess/browser/editorNavigationQuickAccess.js +115 -0
  20. package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess.js +112 -0
  21. package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess.js +334 -0
  22. package/vscode/src/vs/platform/dialogs/common/dialogs.js +10 -14
  23. package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +3 -0
  24. package/vscode/src/vs/platform/extensionManagement/common/extensionNls.js +2 -2
  25. package/vscode/src/vs/platform/files/common/fileService.js +28 -37
  26. package/vscode/src/vs/platform/files/common/files.js +6 -6
  27. package/vscode/src/vs/platform/files/common/io.js +2 -2
  28. package/vscode/src/vs/platform/keyboardLayout/common/keyboardConfig.js +3 -9
  29. package/vscode/src/vs/platform/quickinput/browser/commandsQuickAccess.js +300 -0
  30. package/vscode/src/vs/platform/quickinput/browser/helpQuickAccess.js +59 -0
  31. package/vscode/src/vs/platform/quickinput/browser/pickerQuickAccess.js +212 -0
  32. package/vscode/src/vs/platform/request/common/request.js +2 -2
  33. package/vscode/src/vs/platform/theme/common/tokenClassificationRegistry.js +42 -63
  34. package/vscode/src/vs/workbench/api/browser/mainThreadAuthentication.js +13 -32
  35. package/vscode/src/vs/workbench/api/browser/mainThreadComments.js +2 -2
  36. package/vscode/src/vs/workbench/api/browser/mainThreadCustomEditors.js +3 -3
  37. package/vscode/src/vs/workbench/api/browser/mainThreadEditSessionIdentityParticipant.js +4 -5
  38. package/vscode/src/vs/workbench/api/browser/mainThreadExtensionService.js +38 -50
  39. package/vscode/src/vs/workbench/api/browser/mainThreadFileSystemEventService.js +21 -53
  40. package/vscode/src/vs/workbench/api/browser/mainThreadMessageService.js +4 -4
  41. package/vscode/src/vs/workbench/api/browser/mainThreadNotebookSaveParticipant.js +4 -5
  42. package/vscode/src/vs/workbench/api/browser/mainThreadProgress.js +6 -2
  43. package/vscode/src/vs/workbench/api/browser/mainThreadSaveParticipant.js +4 -2
  44. package/vscode/src/vs/workbench/api/browser/mainThreadTask.js +1 -1
  45. package/vscode/src/vs/workbench/api/browser/mainThreadTunnelService.js +2 -12
  46. package/vscode/src/vs/workbench/api/browser/mainThreadUriOpeners.js +15 -9
  47. package/vscode/src/vs/workbench/api/browser/mainThreadWebviews.js +2 -6
  48. package/vscode/src/vs/workbench/api/browser/mainThreadWorkspace.js +6 -28
  49. package/vscode/src/vs/workbench/api/browser/statusBarExtensionPoint.js +60 -0
  50. package/vscode/src/vs/workbench/api/common/extHostChat.js +3 -3
  51. package/vscode/src/vs/workbench/api/common/extHostDiagnostics.js +2 -6
  52. package/vscode/src/vs/workbench/api/common/extHostExtensionService.js +2 -2
  53. package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +3 -11
  54. package/vscode/src/vs/workbench/api/common/extHostLogService.js +2 -2
  55. package/vscode/src/vs/workbench/api/common/extHostNotebook.js +3 -3
  56. package/vscode/src/vs/workbench/api/common/extHostProgress.js +2 -6
  57. package/vscode/src/vs/workbench/api/common/extHostStatusBar.js +3 -7
  58. package/vscode/src/vs/workbench/api/common/extHostTelemetry.js +2 -6
  59. package/vscode/src/vs/workbench/api/common/extHostTerminalService.js +2 -6
  60. package/vscode/src/vs/workbench/api/common/extHostTreeViews.js +2 -2
  61. package/vscode/src/vs/workbench/api/common/extHostTunnelService.js +2 -2
  62. package/vscode/src/vs/workbench/api/common/extHostWorkspace.js +2 -7
  63. package/vscode/src/vs/workbench/api/common/jsonValidationExtensionPoint.js +9 -34
  64. package/vscode/src/vs/workbench/browser/actions/layoutActions.js +898 -68
  65. package/vscode/src/vs/workbench/browser/actions/quickAccessActions.js +7 -7
  66. package/vscode/src/vs/workbench/browser/actions/windowActions.js +32 -38
  67. package/vscode/src/vs/workbench/browser/actions/workspaceActions.js +103 -13
  68. package/vscode/src/vs/workbench/browser/actions/workspaceCommands.js +2 -2
  69. package/vscode/src/vs/workbench/browser/editor.js +3 -3
  70. package/vscode/src/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarActions.js +12 -27
  71. package/vscode/src/vs/workbench/browser/parts/compositeBarActions.js +12 -12
  72. package/vscode/src/vs/workbench/browser/parts/editor/binaryDiffEditor.js +2 -7
  73. package/vscode/src/vs/workbench/browser/parts/editor/binaryEditor.js +4 -7
  74. package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbs.js +42 -90
  75. package/vscode/src/vs/workbench/browser/parts/editor/editor.contribution.js +140 -272
  76. package/vscode/src/vs/workbench/browser/parts/editor/editorActions.js +115 -148
  77. package/vscode/src/vs/workbench/browser/parts/editor/editorCommands.js +21 -33
  78. package/vscode/src/vs/workbench/browser/parts/editor/editorConfiguration.js +7 -19
  79. package/vscode/src/vs/workbench/browser/parts/editor/editorPlaceholder.js +10 -26
  80. package/vscode/src/vs/workbench/browser/parts/editor/editorQuickAccess.js +7 -17
  81. package/vscode/src/vs/workbench/browser/parts/editor/editorStatus.js +60 -81
  82. package/vscode/src/vs/workbench/browser/parts/editor/sideBySideEditor.js +2 -2
  83. package/vscode/src/vs/workbench/browser/parts/editor/textCodeEditor.js +2 -2
  84. package/vscode/src/vs/workbench/browser/parts/editor/textDiffEditor.js +4 -11
  85. package/vscode/src/vs/workbench/browser/parts/editor/textEditor.js +2 -2
  86. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCommands.js +8 -8
  87. package/vscode/src/vs/workbench/browser/parts/panel/panelActions.js +69 -34
  88. package/vscode/src/vs/workbench/browser/parts/titlebar/menubarControl.js +58 -34
  89. package/vscode/src/vs/workbench/browser/parts/views/viewFilter.js +2 -2
  90. package/vscode/src/vs/workbench/browser/parts/views/viewPane.js +3 -9
  91. package/vscode/src/vs/workbench/browser/parts/views/viewPaneContainer.js +6 -6
  92. package/vscode/src/vs/workbench/browser/parts/views/viewsService.js +7 -11
  93. package/vscode/src/vs/workbench/browser/quickaccess.js +7 -3
  94. package/vscode/src/vs/workbench/browser/workbench.contribution.js +186 -683
  95. package/vscode/src/vs/workbench/common/configuration.js +12 -15
  96. package/vscode/src/vs/workbench/common/contextkeys.js +272 -90
  97. package/vscode/src/vs/workbench/common/editor/diffEditorInput.js +2 -2
  98. package/vscode/src/vs/workbench/common/editor/sideBySideEditorInput.js +2 -7
  99. package/vscode/src/vs/workbench/common/editor/textEditorModel.js +2 -6
  100. package/vscode/src/vs/workbench/common/editor.js +5 -5
  101. package/vscode/src/vs/workbench/common/theme.js +137 -527
  102. package/vscode/src/vs/workbench/common/views.js +4 -8
  103. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +15 -55
  104. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityContributions.js +3 -8
  105. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleView.js +22 -60
  106. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleViewActions.js +9 -15
  107. package/vscode/src/vs/workbench/contrib/bulkEdit/browser/bulkEditService.js +18 -48
  108. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatActions.js +2 -0
  109. package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.js +5 -10
  110. package/vscode/src/vs/workbench/contrib/chat/common/chatSlashCommands.js +5 -13
  111. package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +8 -27
  112. package/vscode/src/vs/workbench/contrib/codeActions/common/codeActionsExtensionPoint.js +5 -17
  113. package/vscode/src/vs/workbench/contrib/codeActions/common/documentationExtensionPoint.js +6 -15
  114. package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +7 -20
  115. package/vscode/src/vs/workbench/contrib/codeEditor/browser/inspectEditorTokens/inspectEditorTokens.js +2 -2
  116. package/vscode/src/vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint.js +63 -216
  117. package/vscode/src/vs/workbench/contrib/codeEditor/browser/largeFileOptimizations.js +4 -7
  118. package/vscode/src/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoLineQuickAccess.js +5 -8
  119. package/vscode/src/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoSymbolQuickAccess.js +8 -11
  120. package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +5 -15
  121. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMinimap.js +3 -3
  122. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMultiCursorModifier.js +5 -5
  123. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderControlCharacter.js +3 -6
  124. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderWhitespace.js +3 -6
  125. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +10 -9
  126. package/vscode/src/vs/workbench/contrib/comments/browser/commentColors.js +6 -15
  127. package/vscode/src/vs/workbench/contrib/comments/browser/commentGlyphWidget.js +5 -20
  128. package/vscode/src/vs/workbench/contrib/comments/browser/commentNode.js +3 -10
  129. package/vscode/src/vs/workbench/contrib/comments/browser/commentReply.js +4 -4
  130. package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadBody.js +3 -20
  131. package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadHeader.js +9 -3
  132. package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadWidget.js +4 -13
  133. package/vscode/src/vs/workbench/contrib/comments/browser/comments.contribution.js +26 -77
  134. package/vscode/src/vs/workbench/contrib/comments/browser/commentsController.js +5 -17
  135. package/vscode/src/vs/workbench/contrib/comments/browser/commentsTreeViewer.js +7 -12
  136. package/vscode/src/vs/workbench/contrib/comments/browser/commentsView.js +10 -29
  137. package/vscode/src/vs/workbench/contrib/comments/browser/commentsViewActions.js +10 -10
  138. package/vscode/src/vs/workbench/contrib/comments/browser/reactionsAction.js +8 -8
  139. package/vscode/src/vs/workbench/contrib/comments/common/commentContextKeys.js +25 -21
  140. package/vscode/src/vs/workbench/contrib/comments/common/commentModel.js +2 -2
  141. package/vscode/src/vs/workbench/contrib/customEditor/common/customEditor.js +1 -4
  142. package/vscode/src/vs/workbench/contrib/debug/browser/debugColors.js +13 -13
  143. package/vscode/src/vs/workbench/contrib/debug/browser/debugIcons.js +56 -98
  144. package/vscode/src/vs/workbench/contrib/debug/common/abstractDebugAdapter.js +2 -2
  145. package/vscode/src/vs/workbench/contrib/debug/common/debug.js +96 -180
  146. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsIcons.js +25 -79
  147. package/vscode/src/vs/workbench/contrib/externalUriOpener/common/configuration.js +4 -15
  148. package/vscode/src/vs/workbench/contrib/externalUriOpener/common/externalUriOpenerService.js +4 -8
  149. package/vscode/src/vs/workbench/contrib/files/browser/explorerViewlet.js +56 -19
  150. package/vscode/src/vs/workbench/contrib/files/browser/fileActions.js +76 -230
  151. package/vscode/src/vs/workbench/contrib/files/browser/fileConstants.js +6 -5
  152. package/vscode/src/vs/workbench/contrib/files/browser/fileImportExport.js +33 -103
  153. package/vscode/src/vs/workbench/contrib/files/browser/files.contribution.js +228 -99
  154. package/vscode/src/vs/workbench/contrib/files/browser/views/emptyView.js +1 -1
  155. package/vscode/src/vs/workbench/contrib/files/browser/views/explorerDecorationsProvider.js +5 -9
  156. package/vscode/src/vs/workbench/contrib/files/browser/views/explorerView.js +5 -5
  157. package/vscode/src/vs/workbench/contrib/files/browser/views/explorerViewer.js +15 -35
  158. package/vscode/src/vs/workbench/contrib/files/browser/views/openEditorsView.js +5 -8
  159. package/vscode/src/vs/workbench/contrib/files/common/files.js +27 -48
  160. package/vscode/src/vs/workbench/contrib/folding/browser/folding.contribution.js +3 -6
  161. package/vscode/src/vs/workbench/contrib/format/browser/formatModified.js +1 -1
  162. package/vscode/src/vs/workbench/contrib/inlayHints/browser/inlayHintsAccessibilty.js +5 -8
  163. package/vscode/src/vs/workbench/contrib/inlineChat/common/inlineChat.js +112 -52
  164. package/vscode/src/vs/workbench/contrib/keybindings/browser/keybindings.contribution.js +1 -1
  165. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInput.js +2 -2
  166. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInputModel.js +30 -96
  167. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/mergeEditorModel.js +3 -3
  168. package/vscode/src/vs/workbench/contrib/mergeEditor/common/mergeEditor.js +42 -0
  169. package/vscode/src/vs/workbench/contrib/output/browser/output.contribution.js +23 -29
  170. package/vscode/src/vs/workbench/contrib/output/browser/outputView.js +3 -3
  171. package/vscode/src/vs/workbench/contrib/quickaccess/browser/commandsQuickAccess.js +13 -16
  172. package/vscode/src/vs/workbench/contrib/quickaccess/browser/quickAccess.contribution.js +15 -34
  173. package/vscode/src/vs/workbench/contrib/quickaccess/browser/viewQuickAccess.js +12 -17
  174. package/vscode/src/vs/workbench/contrib/scm/browser/dirtyDiffSwitcher.js +2 -2
  175. package/vscode/src/vs/workbench/contrib/scm/browser/dirtydiffDecorator.js +26 -75
  176. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCompletionProvider.js +4 -19
  177. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsFile.js +4 -4
  178. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsService.js +10 -41
  179. package/vscode/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.js +5 -14
  180. package/vscode/src/vs/workbench/contrib/tasks/common/taskService.js +26 -13
  181. package/vscode/src/vs/workbench/contrib/tasks/common/tasks.js +8 -6
  182. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalEditorInput.js +5 -17
  183. package/vscode/src/vs/workbench/contrib/terminal/common/terminal.js +7 -28
  184. package/vscode/src/vs/workbench/contrib/terminal/common/terminalColorRegistry.js +21 -78
  185. package/vscode/src/vs/workbench/contrib/terminal/common/terminalContextKey.js +21 -53
  186. package/vscode/src/vs/workbench/contrib/testing/common/testResult.js +2 -2
  187. package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditor.js +2 -5
  188. package/vscode/src/vs/workbench/services/actions/common/menusExtensionPoint.js +113 -348
  189. package/vscode/src/vs/workbench/services/assignment/common/assignmentService.js +2 -5
  190. package/vscode/src/vs/workbench/services/authentication/browser/authenticationService.js +31 -1
  191. package/vscode/src/vs/workbench/services/configuration/common/jsonEditingService.js +1 -4
  192. package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +16 -16
  193. package/vscode/src/vs/workbench/services/decorations/browser/decorationsService.js +2 -2
  194. package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +2 -5
  195. package/vscode/src/vs/workbench/services/extensions/browser/extensionUrlHandler.js +4 -4
  196. package/vscode/src/vs/workbench/services/extensions/common/abstractExtensionService.js +10 -45
  197. package/vscode/src/vs/workbench/services/extensions/common/extensionHostManager.js +1 -1
  198. package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +80 -296
  199. package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.js +6 -21
  200. package/vscode/src/vs/workbench/services/host/browser/browserHostService.js +3 -6
  201. package/vscode/src/vs/workbench/services/keybinding/browser/keybindingService.js +24 -81
  202. package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayoutService.js +2 -2
  203. package/vscode/src/vs/workbench/services/keybinding/common/keybindingEditing.js +11 -17
  204. package/vscode/src/vs/workbench/services/language/common/languageService.js +23 -98
  205. package/vscode/src/vs/workbench/services/remote/common/tunnelModel.js +9 -11
  206. package/vscode/src/vs/workbench/services/search/common/queryBuilder.js +1 -5
  207. package/vscode/src/vs/workbench/services/textfile/browser/textFileService.js +11 -23
  208. package/vscode/src/vs/workbench/services/textfile/common/textFileEditorModel.js +2 -2
  209. package/vscode/src/vs/workbench/services/textfile/common/textFileEditorModelManager.js +2 -7
  210. package/vscode/src/vs/workbench/services/textfile/common/textFileSaveParticipant.js +2 -2
  211. package/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.js +16 -53
  212. package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +50 -1
  213. package/vscode/src/vs/workbench/services/themes/common/tokenClassificationExtensionPoint.js +25 -99
  214. package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfile.js +6 -3
  215. package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +15 -3
  216. package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopySaveParticipant.js +2 -2
@@ -2,168 +2,111 @@ 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.localize(
6
- 'terminal.background',
7
- 'The background color of the terminal, this allows coloring the terminal differently to the panel.'
8
- )));
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.'));
9
6
  const TERMINAL_FOREGROUND_COLOR = registerColor('terminal.foreground', {
10
7
  light: '#333333',
11
8
  dark: '#CCCCCC',
12
9
  hcDark: '#FFFFFF',
13
10
  hcLight: '#292929'
14
- }, ( nls.localize('terminal.foreground', 'The foreground color of the terminal.')));
15
- const TERMINAL_CURSOR_FOREGROUND_COLOR = registerColor('terminalCursor.foreground', null, ( nls.localize(
16
- 'terminalCursor.foreground',
17
- 'The foreground color of the terminal cursor.'
18
- )));
19
- const TERMINAL_CURSOR_BACKGROUND_COLOR = registerColor('terminalCursor.background', null, ( nls.localize(
20
- 'terminalCursor.background',
21
- 'The background color of the terminal cursor. Allows customizing the color of a character overlapped by a block cursor.'
22
- )));
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.'));
23
14
  const TERMINAL_SELECTION_BACKGROUND_COLOR = registerColor('terminal.selectionBackground', {
24
15
  light: editorSelectionBackground,
25
16
  dark: editorSelectionBackground,
26
17
  hcDark: editorSelectionBackground,
27
18
  hcLight: editorSelectionBackground
28
- }, ( nls.localize(
29
- 'terminal.selectionBackground',
30
- 'The selection background color of the terminal.'
31
- )));
19
+ }, nls.localizeWithPath('vs/workbench/contrib/terminal/common/terminalColorRegistry', 'terminal.selectionBackground', 'The selection background color of the terminal.'));
32
20
  const TERMINAL_INACTIVE_SELECTION_BACKGROUND_COLOR = registerColor('terminal.inactiveSelectionBackground', {
33
21
  light: ( transparent(TERMINAL_SELECTION_BACKGROUND_COLOR, 0.5)),
34
22
  dark: ( transparent(TERMINAL_SELECTION_BACKGROUND_COLOR, 0.5)),
35
23
  hcDark: ( transparent(TERMINAL_SELECTION_BACKGROUND_COLOR, 0.7)),
36
24
  hcLight: ( transparent(TERMINAL_SELECTION_BACKGROUND_COLOR, 0.5))
37
- }, ( nls.localize(
38
- 'terminal.inactiveSelectionBackground',
39
- 'The selection background color of the terminal when it does not have focus.'
40
- )));
25
+ }, nls.localizeWithPath('vs/workbench/contrib/terminal/common/terminalColorRegistry', 'terminal.inactiveSelectionBackground', 'The selection background color of the terminal when it does not have focus.'));
41
26
  const TERMINAL_SELECTION_FOREGROUND_COLOR = registerColor('terminal.selectionForeground', {
42
27
  light: null,
43
28
  dark: null,
44
29
  hcDark: '#000000',
45
30
  hcLight: '#ffffff'
46
- }, ( nls.localize(
47
- 'terminal.selectionForeground',
48
- '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.'
49
- )));
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.'));
50
32
  const TERMINAL_COMMAND_DECORATION_DEFAULT_BACKGROUND_COLOR = registerColor('terminalCommandDecoration.defaultBackground', {
51
33
  light: '#00000040',
52
34
  dark: '#ffffff40',
53
35
  hcDark: '#ffffff80',
54
36
  hcLight: '#00000040',
55
- }, ( nls.localize(
56
- 'terminalCommandDecoration.defaultBackground',
57
- 'The default terminal command decoration background color.'
58
- )));
37
+ }, nls.localizeWithPath('vs/workbench/contrib/terminal/common/terminalColorRegistry', 'terminalCommandDecoration.defaultBackground', 'The default terminal command decoration background color.'));
59
38
  const TERMINAL_COMMAND_DECORATION_SUCCESS_BACKGROUND_COLOR = registerColor('terminalCommandDecoration.successBackground', {
60
39
  dark: '#1B81A8',
61
40
  light: '#2090D3',
62
41
  hcDark: '#1B81A8',
63
42
  hcLight: '#007100'
64
- }, ( nls.localize(
65
- 'terminalCommandDecoration.successBackground',
66
- 'The terminal command decoration background color for successful commands.'
67
- )));
43
+ }, nls.localizeWithPath('vs/workbench/contrib/terminal/common/terminalColorRegistry', 'terminalCommandDecoration.successBackground', 'The terminal command decoration background color for successful commands.'));
68
44
  const TERMINAL_COMMAND_DECORATION_ERROR_BACKGROUND_COLOR = registerColor('terminalCommandDecoration.errorBackground', {
69
45
  dark: '#F14C4C',
70
46
  light: '#E51400',
71
47
  hcDark: '#F14C4C',
72
48
  hcLight: '#B5200D'
73
- }, ( nls.localize(
74
- 'terminalCommandDecoration.errorBackground',
75
- 'The terminal command decoration background color for error commands.'
76
- )));
49
+ }, nls.localizeWithPath('vs/workbench/contrib/terminal/common/terminalColorRegistry', 'terminalCommandDecoration.errorBackground', 'The terminal command decoration background color for error commands.'));
77
50
  const TERMINAL_OVERVIEW_RULER_CURSOR_FOREGROUND_COLOR = registerColor('terminalOverviewRuler.cursorForeground', {
78
51
  dark: '#A0A0A0CC',
79
52
  light: '#A0A0A0CC',
80
53
  hcDark: '#A0A0A0CC',
81
54
  hcLight: '#A0A0A0CC'
82
- }, ( nls.localize(
83
- 'terminalOverviewRuler.cursorForeground',
84
- 'The overview ruler cursor color.'
85
- )));
55
+ }, nls.localizeWithPath('vs/workbench/contrib/terminal/common/terminalColorRegistry', 'terminalOverviewRuler.cursorForeground', 'The overview ruler cursor color.'));
86
56
  registerColor('terminal.border', {
87
57
  dark: PANEL_BORDER,
88
58
  light: PANEL_BORDER,
89
59
  hcDark: PANEL_BORDER,
90
60
  hcLight: PANEL_BORDER
91
- }, ( nls.localize(
92
- 'terminal.border',
93
- 'The color of the border that separates split panes within the terminal. This defaults to panel.border.'
94
- )));
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.'));
95
62
  const TERMINAL_FIND_MATCH_BACKGROUND_COLOR = registerColor('terminal.findMatchBackground', {
96
63
  dark: editorFindMatch,
97
64
  light: editorFindMatch,
98
65
  hcDark: null,
99
66
  hcLight: '#0F4A85'
100
- }, ( nls.localize(
101
- 'terminal.findMatchBackground',
102
- 'Color of the current search match in the terminal. The color must not be opaque so as not to hide underlying terminal content.'
103
- )));
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.'));
104
68
  registerColor('terminal.hoverHighlightBackground', {
105
69
  dark: ( transparent(editorHoverHighlight, 0.5)),
106
70
  light: ( transparent(editorHoverHighlight, 0.5)),
107
71
  hcDark: ( transparent(editorHoverHighlight, 0.5)),
108
72
  hcLight: ( transparent(editorHoverHighlight, 0.5))
109
- }, ( nls.localize(
110
- 'terminal.findMatchHighlightBorder',
111
- 'Border color of the other search matches in the terminal.'
112
- )));
73
+ }, nls.localizeWithPath('vs/workbench/contrib/terminal/common/terminalColorRegistry', 'terminal.findMatchHighlightBorder', 'Border color of the other search matches in the terminal.'));
113
74
  const TERMINAL_FIND_MATCH_BORDER_COLOR = registerColor('terminal.findMatchBorder', {
114
75
  dark: null,
115
76
  light: null,
116
77
  hcDark: '#f38518',
117
78
  hcLight: '#0F4A85'
118
- }, ( nls.localize(
119
- 'terminal.findMatchBorder',
120
- 'Border color of the current search match in the terminal.'
121
- )));
79
+ }, nls.localizeWithPath('vs/workbench/contrib/terminal/common/terminalColorRegistry', 'terminal.findMatchBorder', 'Border color of the current search match in the terminal.'));
122
80
  const TERMINAL_FIND_MATCH_HIGHLIGHT_BACKGROUND_COLOR = registerColor('terminal.findMatchHighlightBackground', {
123
81
  dark: editorFindMatchHighlight,
124
82
  light: editorFindMatchHighlight,
125
83
  hcDark: null,
126
84
  hcLight: null
127
- }, ( nls.localize(
128
- 'terminal.findMatchHighlightBackground',
129
- 'Color of the other search matches in the terminal. The color must not be opaque so as not to hide underlying terminal content.'
130
- )));
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.'));
131
86
  const TERMINAL_FIND_MATCH_HIGHLIGHT_BORDER_COLOR = registerColor('terminal.findMatchHighlightBorder', {
132
87
  dark: null,
133
88
  light: null,
134
89
  hcDark: '#f38518',
135
90
  hcLight: '#0F4A85'
136
- }, ( nls.localize(
137
- 'terminal.findMatchHighlightBorder',
138
- 'Border color of the other search matches in the terminal.'
139
- )));
91
+ }, nls.localizeWithPath('vs/workbench/contrib/terminal/common/terminalColorRegistry', 'terminal.findMatchHighlightBorder', 'Border color of the other search matches in the terminal.'));
140
92
  const TERMINAL_OVERVIEW_RULER_FIND_MATCH_FOREGROUND_COLOR = registerColor('terminalOverviewRuler.findMatchForeground', {
141
93
  dark: overviewRulerFindMatchForeground,
142
94
  light: overviewRulerFindMatchForeground,
143
95
  hcDark: '#f38518',
144
96
  hcLight: '#0F4A85'
145
- }, ( nls.localize(
146
- 'terminalOverviewRuler.findMatchHighlightForeground',
147
- 'Overview ruler marker color for find matches in the terminal.'
148
- )));
97
+ }, nls.localizeWithPath('vs/workbench/contrib/terminal/common/terminalColorRegistry', 'terminalOverviewRuler.findMatchHighlightForeground', 'Overview ruler marker color for find matches in the terminal.'));
149
98
  registerColor('terminal.dropBackground', {
150
99
  dark: EDITOR_DRAG_AND_DROP_BACKGROUND,
151
100
  light: EDITOR_DRAG_AND_DROP_BACKGROUND,
152
101
  hcDark: EDITOR_DRAG_AND_DROP_BACKGROUND,
153
102
  hcLight: EDITOR_DRAG_AND_DROP_BACKGROUND
154
- }, ( nls.localize(
155
- 'terminal.dragAndDropBackground',
156
- "Background color when dragging on top of terminals. The color should have transparency so that the terminal contents can still shine through."
157
- )));
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."));
158
104
  registerColor('terminal.tab.activeBorder', {
159
105
  dark: TAB_ACTIVE_BORDER,
160
106
  light: TAB_ACTIVE_BORDER,
161
107
  hcDark: TAB_ACTIVE_BORDER,
162
108
  hcLight: TAB_ACTIVE_BORDER
163
- }, ( nls.localize(
164
- 'terminal.tab.activeBorder',
165
- 'Border on the side of the terminal tab in the panel. This defaults to tab.activeBorder.'
166
- )));
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.'));
167
110
  const ansiColorMap = {
168
111
  'terminal.ansiBlack': {
169
112
  index: 0,
@@ -314,7 +257,7 @@ function registerColors() {
314
257
  for (const id in ansiColorMap) {
315
258
  const entry = ansiColorMap[id];
316
259
  const colorName = id.substring(13);
317
- ansiColorIdentifiers[entry.index] = registerColor(id, entry.defaults, ( nls.localize('terminal.ansiColor', '\'{0}\' ANSI color in the terminal.', colorName)));
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));
318
261
  }
319
262
  }
320
263
  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 };
@@ -1,4 +1,4 @@
1
- import { localize } from 'monaco-editor/esm/vs/nls.js';
1
+ import { localizeWithPath } from 'monaco-editor/esm/vs/nls.js';
2
2
  import { RawContextKey } from 'monaco-editor/esm/vs/platform/contextkey/common/contextkey.js';
3
3
  var TerminalContextKeys;
4
4
  ( (function(TerminalContextKeys) {
@@ -6,25 +6,23 @@ var TerminalContextKeys;
6
6
  TerminalContextKeys.focus = ( new RawContextKey(
7
7
  "terminalFocus" ,
8
8
  false,
9
- ( localize('terminalFocusContextKey', "Whether the terminal is focused."))
9
+ localizeWithPath('vs/workbench/contrib/terminal/common/terminalContextKey', 'terminalFocusContextKey', "Whether the terminal is focused.")
10
10
  ));
11
11
  TerminalContextKeys.focusInAny = ( new RawContextKey(
12
12
  "terminalFocusInAny" ,
13
13
  false,
14
- ( localize(
15
- 'terminalFocusInAnyContextKey',
16
- "Whether any terminal is focused, including detached terminals used in other UI."
17
- ))
14
+ localizeWithPath('vs/workbench/contrib/terminal/common/terminalContextKey', 'terminalFocusInAnyContextKey', "Whether any terminal is focused, including detached terminals used in other UI.")
18
15
  ));
19
16
  TerminalContextKeys.editorFocus = ( new RawContextKey(
20
17
  "terminalEditorFocus" ,
21
18
  false,
22
- ( localize(
23
- 'terminalEditorFocusContextKey',
24
- "Whether a terminal in the editor area is focused."
25
- ))
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.")
26
25
  ));
27
- TerminalContextKeys.count = ( new RawContextKey("terminalCount" , 0, ( localize('terminalCountContextKey', "The current number of terminals."))));
28
26
  TerminalContextKeys.groupCount = ( new RawContextKey("terminalGroupCount" , 0, true));
29
27
  TerminalContextKeys.tabsNarrow = ( new RawContextKey(
30
28
  "isTerminalTabsNarrow" ,
@@ -39,10 +37,7 @@ var TerminalContextKeys;
39
37
  TerminalContextKeys.tabsFocus = ( new RawContextKey(
40
38
  "terminalTabsFocus" ,
41
39
  false,
42
- ( localize(
43
- 'terminalTabsFocusContextKey',
44
- "Whether the terminal tabs widget is focused."
45
- ))
40
+ localizeWithPath('vs/workbench/contrib/terminal/common/terminalContextKey', 'terminalTabsFocusContextKey', "Whether the terminal tabs widget is focused.")
46
41
  ));
47
42
  TerminalContextKeys.webExtensionContributedProfile = ( new RawContextKey(
48
43
  "terminalWebExtensionContributedProfile" ,
@@ -63,45 +58,33 @@ var TerminalContextKeys;
63
58
  TerminalContextKeys.shellType = ( new RawContextKey(
64
59
  "terminalShellType" ,
65
60
  undefined,
66
- { type: 'string', description: ( localize(
67
- 'terminalShellTypeContextKey',
68
- "The shell type of the active terminal, this is set to the last known value when no terminals exist."
69
- )) }
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.") }
70
62
  ));
71
63
  TerminalContextKeys.altBufferActive = ( new RawContextKey(
72
64
  "terminalAltBufferActive" ,
73
65
  false,
74
- ( localize('terminalAltBufferActive', "Whether the terminal's alt buffer is active."))
66
+ localizeWithPath('vs/workbench/contrib/terminal/common/terminalContextKey', 'terminalAltBufferActive', "Whether the terminal's alt buffer is active.")
75
67
  ));
76
68
  TerminalContextKeys.suggestWidgetVisible = ( new RawContextKey(
77
69
  "terminalSuggestWidgetVisible" ,
78
70
  false,
79
- ( localize(
80
- 'terminalSuggestWidgetVisible',
81
- "Whether the terminal's suggest widget is visible."
82
- ))
71
+ localizeWithPath('vs/workbench/contrib/terminal/common/terminalContextKey', 'terminalSuggestWidgetVisible', "Whether the terminal's suggest widget is visible.")
83
72
  ));
84
73
  TerminalContextKeys.notFocus = ( TerminalContextKeys.focus.toNegated());
85
74
  TerminalContextKeys.viewShowing = ( new RawContextKey(
86
75
  "terminalViewShowing" ,
87
76
  false,
88
- ( localize('terminalViewShowing', "Whether the terminal view is showing"))
77
+ localizeWithPath('vs/workbench/contrib/terminal/common/terminalContextKey', 'terminalViewShowing', "Whether the terminal view is showing")
89
78
  ));
90
79
  TerminalContextKeys.textSelected = ( new RawContextKey(
91
80
  "terminalTextSelected" ,
92
81
  false,
93
- ( localize(
94
- 'terminalTextSelectedContextKey',
95
- "Whether text is selected in the active terminal."
96
- ))
82
+ localizeWithPath('vs/workbench/contrib/terminal/common/terminalContextKey', 'terminalTextSelectedContextKey', "Whether text is selected in the active terminal.")
97
83
  ));
98
84
  TerminalContextKeys.textSelectedInFocused = ( new RawContextKey(
99
85
  "terminalTextSelectedInFocused" ,
100
86
  false,
101
- ( localize(
102
- 'terminalTextSelectedInFocusedContextKey',
103
- "Whether text is selected in a focused terminal."
104
- ))
87
+ localizeWithPath('vs/workbench/contrib/terminal/common/terminalContextKey', 'terminalTextSelectedInFocusedContextKey', "Whether text is selected in a focused terminal.")
105
88
  ));
106
89
  TerminalContextKeys.notTextSelected = ( TerminalContextKeys.textSelected.toNegated());
107
90
  TerminalContextKeys.findVisible = ( new RawContextKey(
@@ -124,42 +107,27 @@ var TerminalContextKeys;
124
107
  TerminalContextKeys.processSupported = ( new RawContextKey(
125
108
  "terminalProcessSupported" ,
126
109
  false,
127
- ( localize(
128
- 'terminalProcessSupportedContextKey',
129
- "Whether terminal processes can be launched in the current workspace."
130
- ))
110
+ localizeWithPath('vs/workbench/contrib/terminal/common/terminalContextKey', 'terminalProcessSupportedContextKey', "Whether terminal processes can be launched in the current workspace.")
131
111
  ));
132
112
  TerminalContextKeys.tabsSingularSelection = ( new RawContextKey(
133
113
  "terminalTabsSingularSelection" ,
134
114
  false,
135
- ( localize(
136
- 'terminalTabsSingularSelectedContextKey',
137
- "Whether one terminal is selected in the terminal tabs list."
138
- ))
115
+ localizeWithPath('vs/workbench/contrib/terminal/common/terminalContextKey', 'terminalTabsSingularSelectedContextKey', "Whether one terminal is selected in the terminal tabs list.")
139
116
  ));
140
117
  TerminalContextKeys.splitTerminal = ( new RawContextKey(
141
118
  "terminalSplitTerminal" ,
142
119
  false,
143
- ( localize(
144
- 'isSplitTerminalContextKey',
145
- "Whether the focused tab's terminal is a split terminal."
146
- ))
120
+ localizeWithPath('vs/workbench/contrib/terminal/common/terminalContextKey', 'isSplitTerminalContextKey', "Whether the focused tab's terminal is a split terminal.")
147
121
  ));
148
122
  TerminalContextKeys.inTerminalRunCommandPicker = ( new RawContextKey(
149
123
  "inTerminalRunCommandPicker" ,
150
124
  false,
151
- ( localize(
152
- 'inTerminalRunCommandPickerContextKey',
153
- "Whether the terminal run command picker is currently open."
154
- ))
125
+ localizeWithPath('vs/workbench/contrib/terminal/common/terminalContextKey', 'inTerminalRunCommandPickerContextKey', "Whether the terminal run command picker is currently open.")
155
126
  ));
156
127
  TerminalContextKeys.terminalShellIntegrationEnabled = ( new RawContextKey(
157
128
  "terminalShellIntegrationEnabled" ,
158
129
  false,
159
- ( localize(
160
- 'terminalShellIntegrationEnabled',
161
- "Whether shell integration is enabled in the active terminal"
162
- ))
130
+ localizeWithPath('vs/workbench/contrib/terminal/common/terminalContextKey', 'terminalShellIntegrationEnabled', "Whether shell integration is enabled in the active terminal")
163
131
  ));
164
132
  })(TerminalContextKeys || (TerminalContextKeys = {})));
165
133
  export { TerminalContextKeys };
@@ -5,7 +5,7 @@ import { Lazy } from 'monaco-editor/esm/vs/base/common/lazy.js';
5
5
  import { Disposable } from 'monaco-editor/esm/vs/base/common/lifecycle.js';
6
6
  import { language } from 'monaco-editor/esm/vs/base/common/platform.js';
7
7
  import { removeAnsiEscapeCodes } from 'monaco-editor/esm/vs/base/common/strings.js';
8
- import { localize } from 'monaco-editor/esm/vs/nls.js';
8
+ import { localizeWithPath } from 'monaco-editor/esm/vs/nls.js';
9
9
  import { refreshComputedState } from './getComputedState.js';
10
10
  import { MutableObservableValue } from './observableValue.js';
11
11
  import { TestId } from './testId.js';
@@ -127,7 +127,7 @@ 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 = ( localize('runFinished', 'Test run at {0}', ( new Date()).toLocaleString(language)));
130
+ this.name = localizeWithPath('vs/workbench/contrib/testing/common/testResult', 'runFinished', 'Test run at {0}', ( new Date()).toLocaleString(language));
131
131
  this.counts = makeEmptyCounts();
132
132
  this.computedStateAccessor = {
133
133
  getOwnState: i => i.ownComputedState,
@@ -5,7 +5,7 @@ import { DisposableStore, MutableDisposable } from 'monaco-editor/esm/vs/base/co
5
5
  import { isWeb } from 'monaco-editor/esm/vs/base/common/platform.js';
6
6
  import { generateUuid } from 'monaco-editor/esm/vs/base/common/uuid.js';
7
7
  import * as nls from 'monaco-editor/esm/vs/nls.js';
8
- import { IContextKeyService, RawContextKey } from 'monaco-editor/esm/vs/platform/contextkey/common/contextkey.js';
8
+ import { RawContextKey, IContextKeyService } from 'monaco-editor/esm/vs/platform/contextkey/common/contextkey.js';
9
9
  import { IStorageService } from 'monaco-editor/esm/vs/platform/storage/common/storage.js';
10
10
  import { ITelemetryService } from 'monaco-editor/esm/vs/platform/telemetry/common/telemetry.js';
11
11
  import { IThemeService } from 'monaco-editor/esm/vs/platform/theme/common/themeService.js';
@@ -20,10 +20,7 @@ import { IWorkbenchLayoutService } from '../../../services/layout/browser/layout
20
20
  var WebviewEditor_1;
21
21
  const CONTEXT_ACTIVE_WEBVIEW_PANEL_ID = ( new RawContextKey('activeWebviewPanelId', '', {
22
22
  type: 'string',
23
- description: ( nls.localize(
24
- 'context.activeWebviewId',
25
- "The viewType of the currently active webview panel."
26
- )),
23
+ description: nls.localizeWithPath('vs/workbench/contrib/webviewPanel/browser/webviewEditor', 'context.activeWebviewId', "The viewType of the currently active webview panel."),
27
24
  }));
28
25
  let WebviewEditor = class WebviewEditor extends EditorPane {
29
26
  static { WebviewEditor_1 = this; }