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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (233) hide show
  1. package/extensions.d.ts +3 -3
  2. package/extensions.js +31 -33
  3. package/l10n.d.ts +4 -0
  4. package/l10n.js +10 -0
  5. package/missing-services.js +4 -2
  6. package/monaco-editor-treemending.patch +12268 -1070
  7. package/monaco-treemending.js +8 -2
  8. package/package.json +8 -1
  9. package/service-override/extensions.js +2 -2
  10. package/service-override/layout.js +2 -2
  11. package/tools/l10n.js +177 -0
  12. package/tools.js +22 -1
  13. package/vscode/src/vs/base/browser/ui/menu/menubar.js +1 -1
  14. package/vscode/src/vs/base/browser/ui/splitview/paneview.js +2 -2
  15. package/vscode/src/vs/base/common/date.js +55 -55
  16. package/vscode/src/vs/base/common/jsonErrorMessages.js +10 -10
  17. package/vscode/src/vs/base/common/tfIdf.js +137 -0
  18. package/vscode/src/vs/editor/contrib/quickAccess/browser/commandsQuickAccess.js +23 -0
  19. package/vscode/src/vs/editor/contrib/quickAccess/browser/editorNavigationQuickAccess.js +115 -0
  20. package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess.js +112 -0
  21. package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess.js +334 -0
  22. package/vscode/src/vs/platform/dialogs/common/dialogs.js +10 -14
  23. package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +3 -0
  24. package/vscode/src/vs/platform/extensionManagement/common/extensionNls.js +2 -2
  25. package/vscode/src/vs/platform/files/common/fileService.js +28 -37
  26. package/vscode/src/vs/platform/files/common/files.js +6 -6
  27. package/vscode/src/vs/platform/files/common/io.js +2 -2
  28. package/vscode/src/vs/platform/keyboardLayout/common/keyboardConfig.js +3 -9
  29. package/vscode/src/vs/platform/quickinput/browser/commandsQuickAccess.js +300 -0
  30. package/vscode/src/vs/platform/quickinput/browser/helpQuickAccess.js +59 -0
  31. package/vscode/src/vs/platform/quickinput/browser/pickerQuickAccess.js +212 -0
  32. package/vscode/src/vs/platform/request/common/request.js +2 -2
  33. package/vscode/src/vs/platform/theme/common/tokenClassificationRegistry.js +42 -63
  34. package/vscode/src/vs/platform/workspaces/common/workspaces.js +15 -15
  35. package/vscode/src/vs/workbench/api/browser/mainThreadAuthentication.js +13 -32
  36. package/vscode/src/vs/workbench/api/browser/mainThreadComments.js +2 -2
  37. package/vscode/src/vs/workbench/api/browser/mainThreadCustomEditors.js +50 -52
  38. package/vscode/src/vs/workbench/api/browser/mainThreadDocumentsAndEditors.js +58 -69
  39. package/vscode/src/vs/workbench/api/browser/mainThreadEditSessionIdentityParticipant.js +4 -5
  40. package/vscode/src/vs/workbench/api/browser/mainThreadExtensionService.js +38 -50
  41. package/vscode/src/vs/workbench/api/browser/mainThreadFileSystem.js +23 -23
  42. package/vscode/src/vs/workbench/api/browser/mainThreadFileSystemEventService.js +21 -53
  43. package/vscode/src/vs/workbench/api/browser/mainThreadMessageService.js +4 -4
  44. package/vscode/src/vs/workbench/api/browser/mainThreadNotebookSaveParticipant.js +4 -5
  45. package/vscode/src/vs/workbench/api/browser/mainThreadProgress.js +6 -2
  46. package/vscode/src/vs/workbench/api/browser/mainThreadSaveParticipant.js +4 -2
  47. package/vscode/src/vs/workbench/api/browser/mainThreadTask.js +1 -1
  48. package/vscode/src/vs/workbench/api/browser/mainThreadTunnelService.js +2 -12
  49. package/vscode/src/vs/workbench/api/browser/mainThreadUriOpeners.js +15 -9
  50. package/vscode/src/vs/workbench/api/browser/mainThreadWebviews.js +16 -20
  51. package/vscode/src/vs/workbench/api/browser/mainThreadWorkspace.js +6 -28
  52. package/vscode/src/vs/workbench/api/browser/statusBarExtensionPoint.js +60 -0
  53. package/vscode/src/vs/workbench/api/common/extHostChat.js +3 -3
  54. package/vscode/src/vs/workbench/api/common/extHostCommands.js +59 -65
  55. package/vscode/src/vs/workbench/api/common/extHostConsoleForwarder.js +8 -8
  56. package/vscode/src/vs/workbench/api/common/extHostDiagnostics.js +2 -6
  57. package/vscode/src/vs/workbench/api/common/extHostExtensionService.js +2 -2
  58. package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +150 -222
  59. package/vscode/src/vs/workbench/api/common/extHostLogService.js +2 -2
  60. package/vscode/src/vs/workbench/api/common/extHostNotebook.js +3 -3
  61. package/vscode/src/vs/workbench/api/common/extHostProgress.js +2 -6
  62. package/vscode/src/vs/workbench/api/common/extHostSCM.js +54 -58
  63. package/vscode/src/vs/workbench/api/common/extHostStatusBar.js +3 -7
  64. package/vscode/src/vs/workbench/api/common/extHostTelemetry.js +2 -6
  65. package/vscode/src/vs/workbench/api/common/extHostTerminalService.js +2 -6
  66. package/vscode/src/vs/workbench/api/common/extHostTreeViews.js +55 -57
  67. package/vscode/src/vs/workbench/api/common/extHostTunnelService.js +28 -28
  68. package/vscode/src/vs/workbench/api/common/extHostTypeConverters.js +265 -277
  69. package/vscode/src/vs/workbench/api/common/extHostWorkspace.js +2 -7
  70. package/vscode/src/vs/workbench/api/common/extensionHostMain.js +17 -19
  71. package/vscode/src/vs/workbench/api/common/jsonValidationExtensionPoint.js +9 -34
  72. package/vscode/src/vs/workbench/api/worker/extHostExtensionService.js +5 -5
  73. package/vscode/src/vs/workbench/browser/actions/layoutActions.js +898 -68
  74. package/vscode/src/vs/workbench/browser/actions/quickAccessActions.js +7 -7
  75. package/vscode/src/vs/workbench/browser/actions/windowActions.js +32 -38
  76. package/vscode/src/vs/workbench/browser/actions/workspaceActions.js +103 -13
  77. package/vscode/src/vs/workbench/browser/actions/workspaceCommands.js +2 -2
  78. package/vscode/src/vs/workbench/browser/editor.js +3 -3
  79. package/vscode/src/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarActions.js +12 -27
  80. package/vscode/src/vs/workbench/browser/parts/compositeBarActions.js +12 -12
  81. package/vscode/src/vs/workbench/browser/parts/editor/binaryDiffEditor.js +2 -7
  82. package/vscode/src/vs/workbench/browser/parts/editor/binaryEditor.js +4 -7
  83. package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbs.js +42 -90
  84. package/vscode/src/vs/workbench/browser/parts/editor/editor.contribution.js +140 -272
  85. package/vscode/src/vs/workbench/browser/parts/editor/editorActions.js +115 -148
  86. package/vscode/src/vs/workbench/browser/parts/editor/editorCommands.js +21 -33
  87. package/vscode/src/vs/workbench/browser/parts/editor/editorConfiguration.js +7 -19
  88. package/vscode/src/vs/workbench/browser/parts/editor/editorPlaceholder.js +10 -26
  89. package/vscode/src/vs/workbench/browser/parts/editor/editorQuickAccess.js +7 -17
  90. package/vscode/src/vs/workbench/browser/parts/editor/editorStatus.js +60 -81
  91. package/vscode/src/vs/workbench/browser/parts/editor/sideBySideEditor.js +27 -33
  92. package/vscode/src/vs/workbench/browser/parts/editor/textCodeEditor.js +2 -2
  93. package/vscode/src/vs/workbench/browser/parts/editor/textDiffEditor.js +19 -32
  94. package/vscode/src/vs/workbench/browser/parts/editor/textEditor.js +2 -2
  95. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCommands.js +8 -8
  96. package/vscode/src/vs/workbench/browser/parts/panel/panelActions.js +69 -34
  97. package/vscode/src/vs/workbench/browser/parts/titlebar/menubarControl.js +58 -34
  98. package/vscode/src/vs/workbench/browser/parts/views/viewFilter.js +2 -2
  99. package/vscode/src/vs/workbench/browser/parts/views/viewPane.js +3 -9
  100. package/vscode/src/vs/workbench/browser/parts/views/viewPaneContainer.js +6 -6
  101. package/vscode/src/vs/workbench/browser/parts/views/viewsService.js +7 -11
  102. package/vscode/src/vs/workbench/browser/quickaccess.js +7 -3
  103. package/vscode/src/vs/workbench/browser/workbench.contribution.js +186 -683
  104. package/vscode/src/vs/workbench/common/configuration.js +12 -15
  105. package/vscode/src/vs/workbench/common/contextkeys.js +272 -90
  106. package/vscode/src/vs/workbench/common/editor/diffEditorInput.js +2 -2
  107. package/vscode/src/vs/workbench/common/editor/sideBySideEditorInput.js +2 -7
  108. package/vscode/src/vs/workbench/common/editor/textEditorModel.js +2 -6
  109. package/vscode/src/vs/workbench/common/editor.js +5 -5
  110. package/vscode/src/vs/workbench/common/theme.js +137 -527
  111. package/vscode/src/vs/workbench/common/views.js +4 -8
  112. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +15 -55
  113. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityContributions.js +3 -8
  114. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleView.js +22 -60
  115. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleViewActions.js +9 -15
  116. package/vscode/src/vs/workbench/contrib/bulkEdit/browser/bulkEditService.js +18 -48
  117. package/vscode/src/vs/workbench/contrib/bulkEdit/browser/bulkFileEdits.js +58 -74
  118. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatActions.js +2 -0
  119. package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.js +5 -10
  120. package/vscode/src/vs/workbench/contrib/chat/common/chatSlashCommands.js +5 -13
  121. package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +8 -27
  122. package/vscode/src/vs/workbench/contrib/codeActions/common/codeActionsExtensionPoint.js +5 -17
  123. package/vscode/src/vs/workbench/contrib/codeActions/common/documentationExtensionPoint.js +6 -15
  124. package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +7 -20
  125. package/vscode/src/vs/workbench/contrib/codeEditor/browser/inspectEditorTokens/inspectEditorTokens.js +2 -2
  126. package/vscode/src/vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint.js +63 -216
  127. package/vscode/src/vs/workbench/contrib/codeEditor/browser/largeFileOptimizations.js +4 -7
  128. package/vscode/src/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoLineQuickAccess.js +5 -8
  129. package/vscode/src/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoSymbolQuickAccess.js +8 -11
  130. package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +5 -15
  131. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMinimap.js +3 -3
  132. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMultiCursorModifier.js +5 -5
  133. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderControlCharacter.js +3 -6
  134. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderWhitespace.js +3 -6
  135. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +10 -9
  136. package/vscode/src/vs/workbench/contrib/comments/browser/commentColors.js +6 -15
  137. package/vscode/src/vs/workbench/contrib/comments/browser/commentGlyphWidget.js +5 -20
  138. package/vscode/src/vs/workbench/contrib/comments/browser/commentNode.js +3 -10
  139. package/vscode/src/vs/workbench/contrib/comments/browser/commentReply.js +4 -4
  140. package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadBody.js +3 -20
  141. package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadHeader.js +9 -3
  142. package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadWidget.js +4 -13
  143. package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadZoneWidget.js +19 -19
  144. package/vscode/src/vs/workbench/contrib/comments/browser/comments.contribution.js +26 -77
  145. package/vscode/src/vs/workbench/contrib/comments/browser/commentsController.js +5 -17
  146. package/vscode/src/vs/workbench/contrib/comments/browser/commentsTreeViewer.js +31 -40
  147. package/vscode/src/vs/workbench/contrib/comments/browser/commentsView.js +10 -29
  148. package/vscode/src/vs/workbench/contrib/comments/browser/commentsViewActions.js +10 -10
  149. package/vscode/src/vs/workbench/contrib/comments/browser/reactionsAction.js +8 -8
  150. package/vscode/src/vs/workbench/contrib/comments/common/commentContextKeys.js +25 -21
  151. package/vscode/src/vs/workbench/contrib/comments/common/commentModel.js +2 -2
  152. package/vscode/src/vs/workbench/contrib/customEditor/common/customEditor.js +1 -4
  153. package/vscode/src/vs/workbench/contrib/debug/browser/debugColors.js +20 -20
  154. package/vscode/src/vs/workbench/contrib/debug/browser/debugIcons.js +56 -98
  155. package/vscode/src/vs/workbench/contrib/debug/common/abstractDebugAdapter.js +2 -2
  156. package/vscode/src/vs/workbench/contrib/debug/common/debug.js +96 -180
  157. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsIcons.js +25 -79
  158. package/vscode/src/vs/workbench/contrib/externalUriOpener/common/configuration.js +4 -15
  159. package/vscode/src/vs/workbench/contrib/externalUriOpener/common/externalUriOpenerService.js +4 -8
  160. package/vscode/src/vs/workbench/contrib/files/browser/explorerViewlet.js +56 -19
  161. package/vscode/src/vs/workbench/contrib/files/browser/fileActions.js +76 -230
  162. package/vscode/src/vs/workbench/contrib/files/browser/fileConstants.js +6 -5
  163. package/vscode/src/vs/workbench/contrib/files/browser/fileImportExport.js +33 -103
  164. package/vscode/src/vs/workbench/contrib/files/browser/files.contribution.js +228 -99
  165. package/vscode/src/vs/workbench/contrib/files/browser/views/emptyView.js +1 -1
  166. package/vscode/src/vs/workbench/contrib/files/browser/views/explorerDecorationsProvider.js +5 -9
  167. package/vscode/src/vs/workbench/contrib/files/browser/views/explorerView.js +5 -5
  168. package/vscode/src/vs/workbench/contrib/files/browser/views/explorerViewer.js +15 -35
  169. package/vscode/src/vs/workbench/contrib/files/browser/views/openEditorsView.js +5 -8
  170. package/vscode/src/vs/workbench/contrib/files/common/files.js +27 -48
  171. package/vscode/src/vs/workbench/contrib/folding/browser/folding.contribution.js +3 -6
  172. package/vscode/src/vs/workbench/contrib/format/browser/formatModified.js +1 -1
  173. package/vscode/src/vs/workbench/contrib/inlayHints/browser/inlayHintsAccessibilty.js +5 -8
  174. package/vscode/src/vs/workbench/contrib/inlineChat/common/inlineChat.js +112 -52
  175. package/vscode/src/vs/workbench/contrib/keybindings/browser/keybindings.contribution.js +1 -1
  176. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInput.js +2 -2
  177. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInputModel.js +30 -96
  178. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/mapping.js +73 -126
  179. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/mergeEditorModel.js +3 -3
  180. package/vscode/src/vs/workbench/contrib/mergeEditor/common/mergeEditor.js +42 -0
  181. package/vscode/src/vs/workbench/contrib/output/browser/output.contribution.js +23 -29
  182. package/vscode/src/vs/workbench/contrib/output/browser/outputView.js +3 -3
  183. package/vscode/src/vs/workbench/contrib/quickaccess/browser/commandsQuickAccess.js +13 -16
  184. package/vscode/src/vs/workbench/contrib/quickaccess/browser/quickAccess.contribution.js +15 -34
  185. package/vscode/src/vs/workbench/contrib/quickaccess/browser/viewQuickAccess.js +12 -17
  186. package/vscode/src/vs/workbench/contrib/scm/browser/dirtyDiffSwitcher.js +2 -2
  187. package/vscode/src/vs/workbench/contrib/scm/browser/dirtydiffDecorator.js +26 -75
  188. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCompletionProvider.js +4 -19
  189. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsFile.js +4 -4
  190. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsService.js +60 -99
  191. package/vscode/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.js +5 -14
  192. package/vscode/src/vs/workbench/contrib/tasks/common/taskService.js +26 -13
  193. package/vscode/src/vs/workbench/contrib/tasks/common/tasks.js +88 -96
  194. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalEditorInput.js +5 -17
  195. package/vscode/src/vs/workbench/contrib/terminal/common/terminal.js +7 -28
  196. package/vscode/src/vs/workbench/contrib/terminal/common/terminalColorRegistry.js +21 -78
  197. package/vscode/src/vs/workbench/contrib/terminal/common/terminalContextKey.js +21 -53
  198. package/vscode/src/vs/workbench/contrib/testing/common/testResult.js +2 -2
  199. package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditor.js +2 -5
  200. package/vscode/src/vs/workbench/services/actions/common/menusExtensionPoint.js +113 -348
  201. package/vscode/src/vs/workbench/services/assignment/common/assignmentService.js +2 -5
  202. package/vscode/src/vs/workbench/services/authentication/browser/authenticationService.js +31 -1
  203. package/vscode/src/vs/workbench/services/configuration/common/jsonEditingService.js +1 -4
  204. package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +16 -16
  205. package/vscode/src/vs/workbench/services/decorations/browser/decorationsService.js +2 -2
  206. package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +2 -5
  207. package/vscode/src/vs/workbench/services/extensions/browser/extensionUrlHandler.js +4 -4
  208. package/vscode/src/vs/workbench/services/extensions/browser/webWorkerExtensionHost.js +27 -29
  209. package/vscode/src/vs/workbench/services/extensions/common/abstractExtensionService.js +104 -141
  210. package/vscode/src/vs/workbench/services/extensions/common/extensionHostManager.js +35 -39
  211. package/vscode/src/vs/workbench/services/extensions/common/extensionRunningLocationTracker.js +25 -25
  212. package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +80 -296
  213. package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.js +6 -21
  214. package/vscode/src/vs/workbench/services/host/browser/browserHostService.js +3 -6
  215. package/vscode/src/vs/workbench/services/keybinding/browser/keybindingService.js +24 -81
  216. package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayoutService.js +2 -2
  217. package/vscode/src/vs/workbench/services/keybinding/common/keybindingEditing.js +11 -17
  218. package/vscode/src/vs/workbench/services/keybinding/common/macLinuxKeyboardMapper.js +30 -32
  219. package/vscode/src/vs/workbench/services/language/common/languageService.js +23 -98
  220. package/vscode/src/vs/workbench/services/remote/common/tunnelModel.js +83 -95
  221. package/vscode/src/vs/workbench/services/search/common/queryBuilder.js +1 -5
  222. package/vscode/src/vs/workbench/services/textfile/browser/textFileService.js +11 -23
  223. package/vscode/src/vs/workbench/services/textfile/common/textFileEditorModel.js +32 -32
  224. package/vscode/src/vs/workbench/services/textfile/common/textFileEditorModelManager.js +2 -7
  225. package/vscode/src/vs/workbench/services/textfile/common/textFileSaveParticipant.js +2 -2
  226. package/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.js +16 -53
  227. package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +50 -1
  228. package/vscode/src/vs/workbench/services/themes/common/tokenClassificationExtensionPoint.js +25 -99
  229. package/vscode/src/vs/workbench/services/untitled/common/untitledTextEditorService.js +16 -16
  230. package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfile.js +6 -3
  231. package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +15 -3
  232. package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopySaveParticipant.js +2 -2
  233. package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyBackupService.js +32 -42
@@ -3,42 +3,46 @@ import { RawContextKey } from 'monaco-editor/esm/vs/platform/contextkey/common/c
3
3
  var CommentContextKeys;
4
4
  ( (function(CommentContextKeys) {
5
5
  CommentContextKeys.activeCursorHasCommentingRange = ( new RawContextKey('activeCursorHasCommentingRange', false, {
6
- description: ( nls.localize(
7
- 'hasCommentingRange',
8
- "Whether the position at the active cursor has a commenting range"
9
- )),
6
+ description: nls.localizeWithPath('vs/workbench/contrib/comments/common/commentContextKeys', 'hasCommentingRange', "Whether the position at the active cursor has a commenting range"),
10
7
  type: 'boolean'
11
8
  }));
12
9
  CommentContextKeys.activeEditorHasCommentingRange = ( new RawContextKey('activeEditorHasCommentingRange', false, {
13
- description: ( nls.localize(
14
- 'editorHasCommentingRange',
15
- "Whether the active editor has a commenting range"
16
- )),
10
+ description: nls.localizeWithPath('vs/workbench/contrib/comments/common/commentContextKeys', 'editorHasCommentingRange', "Whether the active editor has a commenting range"),
17
11
  type: 'boolean'
18
12
  }));
19
13
  CommentContextKeys.WorkspaceHasCommenting = ( new RawContextKey('workspaceHasCommenting', false, {
20
- description: ( nls.localize(
21
- 'hasCommentingProvider',
22
- "Whether the open workspace has either comments or commenting ranges."
23
- )),
14
+ description: nls.localizeWithPath('vs/workbench/contrib/comments/common/commentContextKeys', 'hasCommentingProvider', "Whether the open workspace has either comments or commenting ranges."),
24
15
  type: 'boolean'
25
16
  }));
26
17
  CommentContextKeys.commentThreadIsEmpty = ( new RawContextKey(
27
18
  'commentThreadIsEmpty',
28
19
  false,
29
- { type: 'boolean', description: ( nls.localize('commentThreadIsEmpty', "Set when the comment thread has no comments")) }
20
+ { type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/comments/common/commentContextKeys', 'commentThreadIsEmpty', "Set when the comment thread has no comments") }
21
+ ));
22
+ CommentContextKeys.commentIsEmpty = ( new RawContextKey(
23
+ 'commentIsEmpty',
24
+ false,
25
+ { type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/comments/common/commentContextKeys', 'commentIsEmpty', "Set when the comment has no input") }
26
+ ));
27
+ CommentContextKeys.commentContext = ( new RawContextKey(
28
+ 'comment',
29
+ undefined,
30
+ { type: 'string', description: nls.localizeWithPath('vs/workbench/contrib/comments/common/commentContextKeys', 'comment', "The context value of the comment") }
31
+ ));
32
+ CommentContextKeys.commentThreadContext = ( new RawContextKey(
33
+ 'commentThread',
34
+ undefined,
35
+ { type: 'string', description: nls.localizeWithPath('vs/workbench/contrib/comments/common/commentContextKeys', 'commentThread', "The context value of the comment thread") }
30
36
  ));
31
- CommentContextKeys.commentIsEmpty = ( new RawContextKey('commentIsEmpty', false, { type: 'boolean', description: ( nls.localize('commentIsEmpty', "Set when the comment has no input")) }));
32
- CommentContextKeys.commentContext = ( new RawContextKey('comment', undefined, { type: 'string', description: ( nls.localize('comment', "The context value of the comment")) }));
33
- CommentContextKeys.commentThreadContext = ( new RawContextKey('commentThread', undefined, { type: 'string', description: ( nls.localize('commentThread', "The context value of the comment thread")) }));
34
37
  CommentContextKeys.commentControllerContext = ( new RawContextKey(
35
38
  'commentController',
36
39
  undefined,
37
- { type: 'string', description: ( nls.localize(
38
- 'commentController',
39
- "The comment controller id associated with a comment thread"
40
- )) }
40
+ { type: 'string', description: nls.localizeWithPath('vs/workbench/contrib/comments/common/commentContextKeys', 'commentController', "The comment controller id associated with a comment thread") }
41
+ ));
42
+ CommentContextKeys.commentFocused = ( new RawContextKey(
43
+ 'commentFocused',
44
+ false,
45
+ { type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/comments/common/commentContextKeys', 'commentFocused', "Set when the comment is focused") }
41
46
  ));
42
- CommentContextKeys.commentFocused = ( new RawContextKey('commentFocused', false, { type: 'boolean', description: ( nls.localize('commentFocused', "Set when the comment is focused")) }));
43
47
  })(CommentContextKeys || (CommentContextKeys = {})));
44
48
  export { CommentContextKeys };
@@ -1,6 +1,6 @@
1
1
  import { URI } from 'monaco-editor/esm/vs/base/common/uri.js';
2
2
  import { groupBy } from 'monaco-editor/esm/vs/base/common/arrays.js';
3
- import { localize } from 'monaco-editor/esm/vs/nls.js';
3
+ import { localizeWithPath } from 'monaco-editor/esm/vs/nls.js';
4
4
  class CommentNode {
5
5
  constructor(owner, threadId, resource, comment, range, threadState) {
6
6
  this.replies = [];
@@ -105,7 +105,7 @@ class CommentsModel {
105
105
  }
106
106
  getMessage() {
107
107
  if (!this.resourceCommentThreads.length) {
108
- return ( localize('noComments', "There are no comments in this workspace yet."));
108
+ return localizeWithPath('vs/workbench/contrib/comments/common/commentModel', 'noComments', "There are no comments in this workspace yet.");
109
109
  }
110
110
  else {
111
111
  return '';
@@ -6,10 +6,7 @@ import { globMatchesResource, RegisteredEditorPriority, priorityToRank } from '.
6
6
  const ICustomEditorService = ( createDecorator('customEditorService'));
7
7
  const CONTEXT_ACTIVE_CUSTOM_EDITOR_ID = ( new RawContextKey('activeCustomEditorId', '', {
8
8
  type: 'string',
9
- description: ( nls.localize(
10
- 'context.customEditor',
11
- "The viewType of the currently active custom editor."
12
- )),
9
+ description: nls.localizeWithPath('vs/workbench/contrib/customEditor/common/customEditor', 'context.customEditor', "The viewType of the currently active custom editor."),
13
10
  }));
14
11
  const CONTEXT_FOCUSED_CUSTOM_EDITOR_IS_EDITABLE = ( new RawContextKey('focusedCustomEditorIsEditable', false));
15
12
  class CustomEditorInfo {
@@ -2,7 +2,7 @@ import { registerColor, foreground, editorInfoForeground, editorWarningForegroun
2
2
  import { registerThemingParticipant } from 'monaco-editor/esm/vs/platform/theme/common/themeService.js';
3
3
  import { ThemeIcon } from 'monaco-editor/esm/vs/base/common/themables.js';
4
4
  import { Color } from 'monaco-editor/esm/vs/base/common/color.js';
5
- import { localize } from 'monaco-editor/esm/vs/nls.js';
5
+ import { localizeWithPath } from 'monaco-editor/esm/vs/nls.js';
6
6
  import { debugStart, debugPause, debugStop, debugDisconnect, debugRestart, debugRestartFrame, debugStepOver, debugStepInto, debugStepOut, debugContinue, debugReverseContinue, debugStepBack } from './debugIcons.js';
7
7
  import { isHighContrast } from 'monaco-editor/esm/vs/platform/theme/common/theme.js';
8
8
  const debugToolBarBackground = registerColor('debugToolBar.background', {
@@ -10,19 +10,19 @@ const debugToolBarBackground = registerColor('debugToolBar.background', {
10
10
  light: '#F3F3F3',
11
11
  hcDark: '#000000',
12
12
  hcLight: '#FFFFFF'
13
- }, ( (localize('debugToolBarBackground', "Debug toolbar background color."))));
13
+ }, localizeWithPath('vs/workbench/contrib/debug/browser/debugColors', 'debugToolBarBackground', "Debug toolbar background color."));
14
14
  const debugToolBarBorder = registerColor('debugToolBar.border', {
15
15
  dark: null,
16
16
  light: null,
17
17
  hcDark: null,
18
18
  hcLight: null
19
- }, ( (localize('debugToolBarBorder', "Debug toolbar border color."))));
19
+ }, localizeWithPath('vs/workbench/contrib/debug/browser/debugColors', 'debugToolBarBorder', "Debug toolbar border color."));
20
20
  const debugIconStartForeground = registerColor('debugIcon.startForeground', {
21
21
  dark: '#89D185',
22
22
  light: '#388A34',
23
23
  hcDark: '#89D185',
24
24
  hcLight: '#388A34'
25
- }, ( (localize('debugIcon.startForeground', "Debug toolbar icon for start debugging."))));
25
+ }, localizeWithPath('vs/workbench/contrib/debug/browser/debugColors', 'debugIcon.startForeground', "Debug toolbar icon for start debugging."));
26
26
  function registerColors() {
27
27
  const debugTokenExpressionName = registerColor('debugTokenExpression.name', { dark: '#c586c0', light: '#9b46b0', hcDark: foreground, hcLight: foreground }, 'Foreground color for the token names shown in the debug views (ie. the Variables or Watch view).');
28
28
  const debugTokenExpressionValue = registerColor('debugTokenExpression.value', { dark: '#cccccc99', light: '#6c6c6ccc', hcDark: foreground, hcLight: foreground }, 'Foreground color for the token values shown in the debug views (ie. the Variables or Watch view).');
@@ -45,55 +45,55 @@ function registerColors() {
45
45
  light: '#007ACC',
46
46
  hcDark: '#75BEFF',
47
47
  hcLight: '#007ACC'
48
- }, ( (localize('debugIcon.pauseForeground', "Debug toolbar icon for pause."))));
48
+ }, localizeWithPath('vs/workbench/contrib/debug/browser/debugColors', 'debugIcon.pauseForeground', "Debug toolbar icon for pause."));
49
49
  const debugIconStopForeground = registerColor('debugIcon.stopForeground', {
50
50
  dark: '#F48771',
51
51
  light: '#A1260D',
52
52
  hcDark: '#F48771',
53
53
  hcLight: '#A1260D'
54
- }, ( (localize('debugIcon.stopForeground', "Debug toolbar icon for stop."))));
54
+ }, localizeWithPath('vs/workbench/contrib/debug/browser/debugColors', 'debugIcon.stopForeground', "Debug toolbar icon for stop."));
55
55
  const debugIconDisconnectForeground = registerColor('debugIcon.disconnectForeground', {
56
56
  dark: '#F48771',
57
57
  light: '#A1260D',
58
58
  hcDark: '#F48771',
59
59
  hcLight: '#A1260D'
60
- }, ( (localize('debugIcon.disconnectForeground', "Debug toolbar icon for disconnect."))));
60
+ }, localizeWithPath('vs/workbench/contrib/debug/browser/debugColors', 'debugIcon.disconnectForeground', "Debug toolbar icon for disconnect."));
61
61
  const debugIconRestartForeground = registerColor('debugIcon.restartForeground', {
62
62
  dark: '#89D185',
63
63
  light: '#388A34',
64
64
  hcDark: '#89D185',
65
65
  hcLight: '#388A34'
66
- }, ( (localize('debugIcon.restartForeground', "Debug toolbar icon for restart."))));
66
+ }, localizeWithPath('vs/workbench/contrib/debug/browser/debugColors', 'debugIcon.restartForeground', "Debug toolbar icon for restart."));
67
67
  const debugIconStepOverForeground = registerColor('debugIcon.stepOverForeground', {
68
68
  dark: '#75BEFF',
69
69
  light: '#007ACC',
70
70
  hcDark: '#75BEFF',
71
71
  hcLight: '#007ACC'
72
- }, ( (localize('debugIcon.stepOverForeground', "Debug toolbar icon for step over."))));
72
+ }, localizeWithPath('vs/workbench/contrib/debug/browser/debugColors', 'debugIcon.stepOverForeground', "Debug toolbar icon for step over."));
73
73
  const debugIconStepIntoForeground = registerColor('debugIcon.stepIntoForeground', {
74
74
  dark: '#75BEFF',
75
75
  light: '#007ACC',
76
76
  hcDark: '#75BEFF',
77
77
  hcLight: '#007ACC'
78
- }, ( (localize('debugIcon.stepIntoForeground', "Debug toolbar icon for step into."))));
78
+ }, localizeWithPath('vs/workbench/contrib/debug/browser/debugColors', 'debugIcon.stepIntoForeground', "Debug toolbar icon for step into."));
79
79
  const debugIconStepOutForeground = registerColor('debugIcon.stepOutForeground', {
80
80
  dark: '#75BEFF',
81
81
  light: '#007ACC',
82
82
  hcDark: '#75BEFF',
83
83
  hcLight: '#007ACC'
84
- }, ( (localize('debugIcon.stepOutForeground', "Debug toolbar icon for step over."))));
84
+ }, localizeWithPath('vs/workbench/contrib/debug/browser/debugColors', 'debugIcon.stepOutForeground', "Debug toolbar icon for step over."));
85
85
  const debugIconContinueForeground = registerColor('debugIcon.continueForeground', {
86
86
  dark: '#75BEFF',
87
87
  light: '#007ACC',
88
88
  hcDark: '#75BEFF',
89
89
  hcLight: '#007ACC'
90
- }, ( (localize('debugIcon.continueForeground', "Debug toolbar icon for continue."))));
90
+ }, localizeWithPath('vs/workbench/contrib/debug/browser/debugColors', 'debugIcon.continueForeground', "Debug toolbar icon for continue."));
91
91
  const debugIconStepBackForeground = registerColor('debugIcon.stepBackForeground', {
92
92
  dark: '#75BEFF',
93
93
  light: '#007ACC',
94
94
  hcDark: '#75BEFF',
95
95
  hcLight: '#007ACC'
96
- }, ( (localize('debugIcon.stepBackForeground', "Debug toolbar icon for step back."))));
96
+ }, localizeWithPath('vs/workbench/contrib/debug/browser/debugColors', 'debugIcon.stepBackForeground', "Debug toolbar icon for step back."));
97
97
  registerThemingParticipant((theme, collector) => {
98
98
  const badgeBackgroundColor = theme.getColor(badgeBackground);
99
99
  const badgeForegroundColor = theme.getColor(badgeForeground);
@@ -118,8 +118,8 @@ function registerColors() {
118
118
 
119
119
  /* Line & column number "badge" for unselected call stack row (basically all other rows) */
120
120
  .debug-pane .line-number {
121
- background-color: ${( ( badgeBackgroundColor.transparent(0.6)))};
122
- color: ${( ( badgeForegroundColor.transparent(0.6)))};
121
+ background-color: ${( badgeBackgroundColor.transparent(0.6))};
122
+ color: ${( badgeForegroundColor.transparent(0.6))};
123
123
  }
124
124
 
125
125
  /* State "badge" displaying the active session's current state.
@@ -149,13 +149,13 @@ function registerColors() {
149
149
 
150
150
  /* Animation of changed values in Debug viewlet */
151
151
  @keyframes debugViewletValueChanged {
152
- 0% { background-color: ${( ( debugViewValueChangedHighlightColor.transparent(0)))} }
153
- 5% { background-color: ${( ( debugViewValueChangedHighlightColor.transparent(0.9)))} }
154
- 100% { background-color: ${( ( debugViewValueChangedHighlightColor.transparent(0.3)))} }
152
+ 0% { background-color: ${( debugViewValueChangedHighlightColor.transparent(0))} }
153
+ 5% { background-color: ${( debugViewValueChangedHighlightColor.transparent(0.9))} }
154
+ 100% { background-color: ${( debugViewValueChangedHighlightColor.transparent(0.3))} }
155
155
  }
156
156
 
157
157
  .debug-pane .monaco-list-row .expression .value.changed {
158
- background-color: ${( ( debugViewValueChangedHighlightColor.transparent(0.3)))};
158
+ background-color: ${( debugViewValueChangedHighlightColor.transparent(0.3))};
159
159
  animation-name: debugViewletValueChanged;
160
160
  animation-duration: 1s;
161
161
  animation-fill-mode: forwards;
@@ -217,7 +217,7 @@ function registerColors() {
217
217
  color: ${tokenNumberColor};
218
218
  }
219
219
  `);
220
- const debugConsoleInputBorderColor = theme.getColor(inputBorder) || ( (Color.fromHex('#80808060')));
220
+ const debugConsoleInputBorderColor = theme.getColor(inputBorder) || ( Color.fromHex('#80808060'));
221
221
  const debugConsoleInfoForegroundColor = theme.getColor(debugConsoleInfoForeground);
222
222
  const debugConsoleWarningForegroundColor = theme.getColor(debugConsoleWarningForeground);
223
223
  const debugConsoleErrorForegroundColor = theme.getColor(debugConsoleErrorForeground);
@@ -1,112 +1,70 @@
1
1
  import { Codicon } from 'monaco-editor/esm/vs/base/common/codicons.js';
2
- import { localize } from 'monaco-editor/esm/vs/nls.js';
2
+ import { localizeWithPath } from 'monaco-editor/esm/vs/nls.js';
3
3
  import { registerIcon } from 'monaco-editor/esm/vs/platform/theme/common/iconRegistry.js';
4
- const debugConsoleViewIcon = registerIcon('debug-console-view-icon', Codicon.debugConsole, ( localize('debugConsoleViewIcon', 'View icon of the debug console view.')));
5
- const runViewIcon = registerIcon('run-view-icon', Codicon.debugAlt, ( localize('runViewIcon', 'View icon of the run view.')));
6
- const variablesViewIcon = registerIcon('variables-view-icon', Codicon.debugAlt, ( localize('variablesViewIcon', 'View icon of the variables view.')));
7
- const watchViewIcon = registerIcon('watch-view-icon', Codicon.debugAlt, ( localize('watchViewIcon', 'View icon of the watch view.')));
8
- const callStackViewIcon = registerIcon('callstack-view-icon', Codicon.debugAlt, ( localize('callStackViewIcon', 'View icon of the call stack view.')));
9
- const breakpointsViewIcon = registerIcon('breakpoints-view-icon', Codicon.debugAlt, ( localize('breakpointsViewIcon', 'View icon of the breakpoints view.')));
10
- const loadedScriptsViewIcon = registerIcon('loaded-scripts-view-icon', Codicon.debugAlt, ( localize('loadedScriptsViewIcon', 'View icon of the loaded scripts view.')));
4
+ const debugConsoleViewIcon = registerIcon('debug-console-view-icon', Codicon.debugConsole, localizeWithPath('vs/workbench/contrib/debug/browser/debugIcons', 'debugConsoleViewIcon', 'View icon of the debug console view.'));
5
+ const runViewIcon = registerIcon('run-view-icon', Codicon.debugAlt, localizeWithPath('vs/workbench/contrib/debug/browser/debugIcons', 'runViewIcon', 'View icon of the run view.'));
6
+ const variablesViewIcon = registerIcon('variables-view-icon', Codicon.debugAlt, localizeWithPath('vs/workbench/contrib/debug/browser/debugIcons', 'variablesViewIcon', 'View icon of the variables view.'));
7
+ const watchViewIcon = registerIcon('watch-view-icon', Codicon.debugAlt, localizeWithPath('vs/workbench/contrib/debug/browser/debugIcons', 'watchViewIcon', 'View icon of the watch view.'));
8
+ const callStackViewIcon = registerIcon('callstack-view-icon', Codicon.debugAlt, localizeWithPath('vs/workbench/contrib/debug/browser/debugIcons', 'callStackViewIcon', 'View icon of the call stack view.'));
9
+ const breakpointsViewIcon = registerIcon('breakpoints-view-icon', Codicon.debugAlt, localizeWithPath('vs/workbench/contrib/debug/browser/debugIcons', 'breakpointsViewIcon', 'View icon of the breakpoints view.'));
10
+ const loadedScriptsViewIcon = registerIcon('loaded-scripts-view-icon', Codicon.debugAlt, localizeWithPath('vs/workbench/contrib/debug/browser/debugIcons', 'loadedScriptsViewIcon', 'View icon of the loaded scripts view.'));
11
11
  const breakpoint = {
12
- regular: registerIcon('debug-breakpoint', Codicon.debugBreakpoint, ( localize('debugBreakpoint', 'Icon for breakpoints.'))),
13
- disabled: registerIcon('debug-breakpoint-disabled', Codicon.debugBreakpointDisabled, ( localize('debugBreakpointDisabled', 'Icon for disabled breakpoints.'))),
14
- unverified: registerIcon('debug-breakpoint-unverified', Codicon.debugBreakpointUnverified, ( localize('debugBreakpointUnverified', 'Icon for unverified breakpoints.')))
12
+ regular: registerIcon('debug-breakpoint', Codicon.debugBreakpoint, localizeWithPath('vs/workbench/contrib/debug/browser/debugIcons', 'debugBreakpoint', 'Icon for breakpoints.')),
13
+ disabled: registerIcon('debug-breakpoint-disabled', Codicon.debugBreakpointDisabled, localizeWithPath('vs/workbench/contrib/debug/browser/debugIcons', 'debugBreakpointDisabled', 'Icon for disabled breakpoints.')),
14
+ unverified: registerIcon('debug-breakpoint-unverified', Codicon.debugBreakpointUnverified, localizeWithPath('vs/workbench/contrib/debug/browser/debugIcons', 'debugBreakpointUnverified', 'Icon for unverified breakpoints.'))
15
15
  };
16
16
  const functionBreakpoint = {
17
- regular: registerIcon('debug-breakpoint-function', Codicon.debugBreakpointFunction, ( localize('debugBreakpointFunction', 'Icon for function breakpoints.'))),
18
- disabled: registerIcon('debug-breakpoint-function-disabled', Codicon.debugBreakpointFunctionDisabled, ( localize(
19
- 'debugBreakpointFunctionDisabled',
20
- 'Icon for disabled function breakpoints.'
21
- ))),
22
- unverified: registerIcon('debug-breakpoint-function-unverified', Codicon.debugBreakpointFunctionUnverified, ( localize(
23
- 'debugBreakpointFunctionUnverified',
24
- 'Icon for unverified function breakpoints.'
25
- )))
17
+ regular: registerIcon('debug-breakpoint-function', Codicon.debugBreakpointFunction, localizeWithPath('vs/workbench/contrib/debug/browser/debugIcons', 'debugBreakpointFunction', 'Icon for function breakpoints.')),
18
+ disabled: registerIcon('debug-breakpoint-function-disabled', Codicon.debugBreakpointFunctionDisabled, localizeWithPath('vs/workbench/contrib/debug/browser/debugIcons', 'debugBreakpointFunctionDisabled', 'Icon for disabled function breakpoints.')),
19
+ unverified: registerIcon('debug-breakpoint-function-unverified', Codicon.debugBreakpointFunctionUnverified, localizeWithPath('vs/workbench/contrib/debug/browser/debugIcons', 'debugBreakpointFunctionUnverified', 'Icon for unverified function breakpoints.'))
26
20
  };
27
21
  const conditionalBreakpoint = {
28
- regular: registerIcon('debug-breakpoint-conditional', Codicon.debugBreakpointConditional, ( localize('debugBreakpointConditional', 'Icon for conditional breakpoints.'))),
29
- disabled: registerIcon('debug-breakpoint-conditional-disabled', Codicon.debugBreakpointConditionalDisabled, ( localize(
30
- 'debugBreakpointConditionalDisabled',
31
- 'Icon for disabled conditional breakpoints.'
32
- ))),
33
- unverified: registerIcon('debug-breakpoint-conditional-unverified', Codicon.debugBreakpointConditionalUnverified, ( localize(
34
- 'debugBreakpointConditionalUnverified',
35
- 'Icon for unverified conditional breakpoints.'
36
- )))
22
+ regular: registerIcon('debug-breakpoint-conditional', Codicon.debugBreakpointConditional, localizeWithPath('vs/workbench/contrib/debug/browser/debugIcons', 'debugBreakpointConditional', 'Icon for conditional breakpoints.')),
23
+ disabled: registerIcon('debug-breakpoint-conditional-disabled', Codicon.debugBreakpointConditionalDisabled, localizeWithPath('vs/workbench/contrib/debug/browser/debugIcons', 'debugBreakpointConditionalDisabled', 'Icon for disabled conditional breakpoints.')),
24
+ unverified: registerIcon('debug-breakpoint-conditional-unverified', Codicon.debugBreakpointConditionalUnverified, localizeWithPath('vs/workbench/contrib/debug/browser/debugIcons', 'debugBreakpointConditionalUnverified', 'Icon for unverified conditional breakpoints.'))
37
25
  };
38
26
  const dataBreakpoint = {
39
- regular: registerIcon('debug-breakpoint-data', Codicon.debugBreakpointData, ( localize('debugBreakpointData', 'Icon for data breakpoints.'))),
40
- disabled: registerIcon('debug-breakpoint-data-disabled', Codicon.debugBreakpointDataDisabled, ( localize('debugBreakpointDataDisabled', 'Icon for disabled data breakpoints.'))),
41
- unverified: registerIcon('debug-breakpoint-data-unverified', Codicon.debugBreakpointDataUnverified, ( localize('debugBreakpointDataUnverified', 'Icon for unverified data breakpoints.'))),
27
+ regular: registerIcon('debug-breakpoint-data', Codicon.debugBreakpointData, localizeWithPath('vs/workbench/contrib/debug/browser/debugIcons', 'debugBreakpointData', 'Icon for data breakpoints.')),
28
+ disabled: registerIcon('debug-breakpoint-data-disabled', Codicon.debugBreakpointDataDisabled, localizeWithPath('vs/workbench/contrib/debug/browser/debugIcons', 'debugBreakpointDataDisabled', 'Icon for disabled data breakpoints.')),
29
+ unverified: registerIcon('debug-breakpoint-data-unverified', Codicon.debugBreakpointDataUnverified, localizeWithPath('vs/workbench/contrib/debug/browser/debugIcons', 'debugBreakpointDataUnverified', 'Icon for unverified data breakpoints.')),
42
30
  };
43
31
  const logBreakpoint = {
44
- regular: registerIcon('debug-breakpoint-log', Codicon.debugBreakpointLog, ( localize('debugBreakpointLog', 'Icon for log breakpoints.'))),
45
- disabled: registerIcon('debug-breakpoint-log-disabled', Codicon.debugBreakpointLogDisabled, ( localize('debugBreakpointLogDisabled', 'Icon for disabled log breakpoint.'))),
46
- unverified: registerIcon('debug-breakpoint-log-unverified', Codicon.debugBreakpointLogUnverified, ( localize('debugBreakpointLogUnverified', 'Icon for unverified log breakpoints.'))),
32
+ regular: registerIcon('debug-breakpoint-log', Codicon.debugBreakpointLog, localizeWithPath('vs/workbench/contrib/debug/browser/debugIcons', 'debugBreakpointLog', 'Icon for log breakpoints.')),
33
+ disabled: registerIcon('debug-breakpoint-log-disabled', Codicon.debugBreakpointLogDisabled, localizeWithPath('vs/workbench/contrib/debug/browser/debugIcons', 'debugBreakpointLogDisabled', 'Icon for disabled log breakpoint.')),
34
+ unverified: registerIcon('debug-breakpoint-log-unverified', Codicon.debugBreakpointLogUnverified, localizeWithPath('vs/workbench/contrib/debug/browser/debugIcons', 'debugBreakpointLogUnverified', 'Icon for unverified log breakpoints.')),
47
35
  };
48
- const debugBreakpointHint = registerIcon('debug-hint', Codicon.debugHint, ( localize(
49
- 'debugBreakpointHint',
50
- 'Icon for breakpoint hints shown on hover in editor glyph margin.'
51
- )));
52
- const debugBreakpointUnsupported = registerIcon('debug-breakpoint-unsupported', Codicon.debugBreakpointUnsupported, ( localize('debugBreakpointUnsupported', 'Icon for unsupported breakpoints.')));
36
+ const debugBreakpointHint = registerIcon('debug-hint', Codicon.debugHint, localizeWithPath('vs/workbench/contrib/debug/browser/debugIcons', 'debugBreakpointHint', 'Icon for breakpoint hints shown on hover in editor glyph margin.'));
37
+ const debugBreakpointUnsupported = registerIcon('debug-breakpoint-unsupported', Codicon.debugBreakpointUnsupported, localizeWithPath('vs/workbench/contrib/debug/browser/debugIcons', 'debugBreakpointUnsupported', 'Icon for unsupported breakpoints.'));
53
38
  const allBreakpoints = [breakpoint, functionBreakpoint, conditionalBreakpoint, dataBreakpoint, logBreakpoint];
54
- const debugStackframe = registerIcon('debug-stackframe', Codicon.debugStackframe, ( localize(
55
- 'debugStackframe',
56
- 'Icon for a stackframe shown in the editor glyph margin.'
57
- )));
58
- const debugStackframeFocused = registerIcon('debug-stackframe-focused', Codicon.debugStackframeFocused, ( localize(
59
- 'debugStackframeFocused',
60
- 'Icon for a focused stackframe shown in the editor glyph margin.'
61
- )));
62
- const debugGripper = registerIcon('debug-gripper', Codicon.gripper, ( localize('debugGripper', 'Icon for the debug bar gripper.')));
63
- const debugRestartFrame = registerIcon('debug-restart-frame', Codicon.debugRestartFrame, ( localize('debugRestartFrame', 'Icon for the debug restart frame action.')));
64
- const debugStop = registerIcon('debug-stop', Codicon.debugStop, ( localize('debugStop', 'Icon for the debug stop action.')));
65
- const debugDisconnect = registerIcon('debug-disconnect', Codicon.debugDisconnect, ( localize('debugDisconnect', 'Icon for the debug disconnect action.')));
66
- const debugRestart = registerIcon('debug-restart', Codicon.debugRestart, ( localize('debugRestart', 'Icon for the debug restart action.')));
67
- const debugStepOver = registerIcon('debug-step-over', Codicon.debugStepOver, ( localize('debugStepOver', 'Icon for the debug step over action.')));
68
- const debugStepInto = registerIcon('debug-step-into', Codicon.debugStepInto, ( localize('debugStepInto', 'Icon for the debug step into action.')));
69
- const debugStepOut = registerIcon('debug-step-out', Codicon.debugStepOut, ( localize('debugStepOut', 'Icon for the debug step out action.')));
70
- const debugStepBack = registerIcon('debug-step-back', Codicon.debugStepBack, ( localize('debugStepBack', 'Icon for the debug step back action.')));
71
- const debugPause = registerIcon('debug-pause', Codicon.debugPause, ( localize('debugPause', 'Icon for the debug pause action.')));
72
- const debugContinue = registerIcon('debug-continue', Codicon.debugContinue, ( localize('debugContinue', 'Icon for the debug continue action.')));
73
- const debugReverseContinue = registerIcon('debug-reverse-continue', Codicon.debugReverseContinue, ( localize('debugReverseContinue', 'Icon for the debug reverse continue action.')));
74
- const debugRun = registerIcon('debug-run', Codicon.run, ( localize('debugRun', 'Icon for the run or debug action.')));
75
- const debugStart = registerIcon('debug-start', Codicon.debugStart, ( localize('debugStart', 'Icon for the debug start action.')));
76
- const debugConfigure = registerIcon('debug-configure', Codicon.gear, ( localize('debugConfigure', 'Icon for the debug configure action.')));
77
- registerIcon('debug-console', Codicon.gear, ( localize('debugConsole', 'Icon for the debug console open action.')));
78
- const debugRemoveConfig = registerIcon('debug-remove-config', Codicon.trash, ( localize('debugRemoveConfig', 'Icon for removing debug configurations.')));
79
- registerIcon('debug-collapse-all', Codicon.collapseAll, ( localize('debugCollapseAll', 'Icon for the collapse all action in the debug views.')));
80
- const callstackViewSession = registerIcon('callstack-view-session', Codicon.bug, ( localize(
81
- 'callstackViewSession',
82
- 'Icon for the session icon in the call stack view.'
83
- )));
84
- const debugConsoleClearAll = registerIcon('debug-console-clear-all', Codicon.clearAll, ( localize(
85
- 'debugConsoleClearAll',
86
- 'Icon for the clear all action in the debug console.'
87
- )));
88
- const watchExpressionsRemoveAll = registerIcon('watch-expressions-remove-all', Codicon.closeAll, ( localize(
89
- 'watchExpressionsRemoveAll',
90
- 'Icon for the Remove All action in the watch view.'
91
- )));
92
- const watchExpressionRemove = registerIcon('watch-expression-remove', Codicon.removeClose, ( localize('watchExpressionRemove', 'Icon for the Remove action in the watch view.')));
93
- const watchExpressionsAdd = registerIcon('watch-expressions-add', Codicon.add, ( localize('watchExpressionsAdd', 'Icon for the add action in the watch view.')));
94
- const watchExpressionsAddFuncBreakpoint = registerIcon('watch-expressions-add-function-breakpoint', Codicon.add, ( localize(
95
- 'watchExpressionsAddFuncBreakpoint',
96
- 'Icon for the add function breakpoint action in the watch view.'
97
- )));
98
- const breakpointsRemoveAll = registerIcon('breakpoints-remove-all', Codicon.closeAll, ( localize(
99
- 'breakpointsRemoveAll',
100
- 'Icon for the Remove All action in the breakpoints view.'
101
- )));
102
- const breakpointsActivate = registerIcon('breakpoints-activate', Codicon.activateBreakpoints, ( localize(
103
- 'breakpointsActivate',
104
- 'Icon for the activate action in the breakpoints view.'
105
- )));
106
- const debugConsoleEvaluationInput = registerIcon('debug-console-evaluation-input', Codicon.arrowSmallRight, ( localize(
107
- 'debugConsoleEvaluationInput',
108
- 'Icon for the debug evaluation input marker.'
109
- )));
110
- const debugConsoleEvaluationPrompt = registerIcon('debug-console-evaluation-prompt', Codicon.chevronRight, ( localize('debugConsoleEvaluationPrompt', 'Icon for the debug evaluation prompt.')));
111
- const debugInspectMemory = registerIcon('debug-inspect-memory', Codicon.fileBinary, ( localize('debugInspectMemory', 'Icon for the inspect memory action.')));
39
+ const debugStackframe = registerIcon('debug-stackframe', Codicon.debugStackframe, localizeWithPath('vs/workbench/contrib/debug/browser/debugIcons', 'debugStackframe', 'Icon for a stackframe shown in the editor glyph margin.'));
40
+ const debugStackframeFocused = registerIcon('debug-stackframe-focused', Codicon.debugStackframeFocused, localizeWithPath('vs/workbench/contrib/debug/browser/debugIcons', 'debugStackframeFocused', 'Icon for a focused stackframe shown in the editor glyph margin.'));
41
+ const debugGripper = registerIcon('debug-gripper', Codicon.gripper, localizeWithPath('vs/workbench/contrib/debug/browser/debugIcons', 'debugGripper', 'Icon for the debug bar gripper.'));
42
+ const debugRestartFrame = registerIcon('debug-restart-frame', Codicon.debugRestartFrame, localizeWithPath('vs/workbench/contrib/debug/browser/debugIcons', 'debugRestartFrame', 'Icon for the debug restart frame action.'));
43
+ const debugStop = registerIcon('debug-stop', Codicon.debugStop, localizeWithPath('vs/workbench/contrib/debug/browser/debugIcons', 'debugStop', 'Icon for the debug stop action.'));
44
+ const debugDisconnect = registerIcon('debug-disconnect', Codicon.debugDisconnect, localizeWithPath('vs/workbench/contrib/debug/browser/debugIcons', 'debugDisconnect', 'Icon for the debug disconnect action.'));
45
+ const debugRestart = registerIcon('debug-restart', Codicon.debugRestart, localizeWithPath('vs/workbench/contrib/debug/browser/debugIcons', 'debugRestart', 'Icon for the debug restart action.'));
46
+ const debugStepOver = registerIcon('debug-step-over', Codicon.debugStepOver, localizeWithPath('vs/workbench/contrib/debug/browser/debugIcons', 'debugStepOver', 'Icon for the debug step over action.'));
47
+ const debugStepInto = registerIcon('debug-step-into', Codicon.debugStepInto, localizeWithPath('vs/workbench/contrib/debug/browser/debugIcons', 'debugStepInto', 'Icon for the debug step into action.'));
48
+ const debugStepOut = registerIcon('debug-step-out', Codicon.debugStepOut, localizeWithPath('vs/workbench/contrib/debug/browser/debugIcons', 'debugStepOut', 'Icon for the debug step out action.'));
49
+ const debugStepBack = registerIcon('debug-step-back', Codicon.debugStepBack, localizeWithPath('vs/workbench/contrib/debug/browser/debugIcons', 'debugStepBack', 'Icon for the debug step back action.'));
50
+ const debugPause = registerIcon('debug-pause', Codicon.debugPause, localizeWithPath('vs/workbench/contrib/debug/browser/debugIcons', 'debugPause', 'Icon for the debug pause action.'));
51
+ const debugContinue = registerIcon('debug-continue', Codicon.debugContinue, localizeWithPath('vs/workbench/contrib/debug/browser/debugIcons', 'debugContinue', 'Icon for the debug continue action.'));
52
+ const debugReverseContinue = registerIcon('debug-reverse-continue', Codicon.debugReverseContinue, localizeWithPath('vs/workbench/contrib/debug/browser/debugIcons', 'debugReverseContinue', 'Icon for the debug reverse continue action.'));
53
+ const debugRun = registerIcon('debug-run', Codicon.run, localizeWithPath('vs/workbench/contrib/debug/browser/debugIcons', 'debugRun', 'Icon for the run or debug action.'));
54
+ const debugStart = registerIcon('debug-start', Codicon.debugStart, localizeWithPath('vs/workbench/contrib/debug/browser/debugIcons', 'debugStart', 'Icon for the debug start action.'));
55
+ const debugConfigure = registerIcon('debug-configure', Codicon.gear, localizeWithPath('vs/workbench/contrib/debug/browser/debugIcons', 'debugConfigure', 'Icon for the debug configure action.'));
56
+ registerIcon('debug-console', Codicon.gear, localizeWithPath('vs/workbench/contrib/debug/browser/debugIcons', 'debugConsole', 'Icon for the debug console open action.'));
57
+ const debugRemoveConfig = registerIcon('debug-remove-config', Codicon.trash, localizeWithPath('vs/workbench/contrib/debug/browser/debugIcons', 'debugRemoveConfig', 'Icon for removing debug configurations.'));
58
+ registerIcon('debug-collapse-all', Codicon.collapseAll, localizeWithPath('vs/workbench/contrib/debug/browser/debugIcons', 'debugCollapseAll', 'Icon for the collapse all action in the debug views.'));
59
+ const callstackViewSession = registerIcon('callstack-view-session', Codicon.bug, localizeWithPath('vs/workbench/contrib/debug/browser/debugIcons', 'callstackViewSession', 'Icon for the session icon in the call stack view.'));
60
+ const debugConsoleClearAll = registerIcon('debug-console-clear-all', Codicon.clearAll, localizeWithPath('vs/workbench/contrib/debug/browser/debugIcons', 'debugConsoleClearAll', 'Icon for the clear all action in the debug console.'));
61
+ const watchExpressionsRemoveAll = registerIcon('watch-expressions-remove-all', Codicon.closeAll, localizeWithPath('vs/workbench/contrib/debug/browser/debugIcons', 'watchExpressionsRemoveAll', 'Icon for the Remove All action in the watch view.'));
62
+ const watchExpressionRemove = registerIcon('watch-expression-remove', Codicon.removeClose, localizeWithPath('vs/workbench/contrib/debug/browser/debugIcons', 'watchExpressionRemove', 'Icon for the Remove action in the watch view.'));
63
+ const watchExpressionsAdd = registerIcon('watch-expressions-add', Codicon.add, localizeWithPath('vs/workbench/contrib/debug/browser/debugIcons', 'watchExpressionsAdd', 'Icon for the add action in the watch view.'));
64
+ const watchExpressionsAddFuncBreakpoint = registerIcon('watch-expressions-add-function-breakpoint', Codicon.add, localizeWithPath('vs/workbench/contrib/debug/browser/debugIcons', 'watchExpressionsAddFuncBreakpoint', 'Icon for the add function breakpoint action in the watch view.'));
65
+ const breakpointsRemoveAll = registerIcon('breakpoints-remove-all', Codicon.closeAll, localizeWithPath('vs/workbench/contrib/debug/browser/debugIcons', 'breakpointsRemoveAll', 'Icon for the Remove All action in the breakpoints view.'));
66
+ const breakpointsActivate = registerIcon('breakpoints-activate', Codicon.activateBreakpoints, localizeWithPath('vs/workbench/contrib/debug/browser/debugIcons', 'breakpointsActivate', 'Icon for the activate action in the breakpoints view.'));
67
+ const debugConsoleEvaluationInput = registerIcon('debug-console-evaluation-input', Codicon.arrowSmallRight, localizeWithPath('vs/workbench/contrib/debug/browser/debugIcons', 'debugConsoleEvaluationInput', 'Icon for the debug evaluation input marker.'));
68
+ const debugConsoleEvaluationPrompt = registerIcon('debug-console-evaluation-prompt', Codicon.chevronRight, localizeWithPath('vs/workbench/contrib/debug/browser/debugIcons', 'debugConsoleEvaluationPrompt', 'Icon for the debug evaluation prompt.'));
69
+ const debugInspectMemory = registerIcon('debug-inspect-memory', Codicon.fileBinary, localizeWithPath('vs/workbench/contrib/debug/browser/debugIcons', 'debugInspectMemory', 'Icon for the inspect memory action.'));
112
70
  export { allBreakpoints, breakpoint, breakpointsActivate, breakpointsRemoveAll, breakpointsViewIcon, callStackViewIcon, callstackViewSession, conditionalBreakpoint, dataBreakpoint, debugBreakpointHint, debugBreakpointUnsupported, debugConfigure, debugConsoleClearAll, debugConsoleEvaluationInput, debugConsoleEvaluationPrompt, debugConsoleViewIcon, debugContinue, debugDisconnect, debugGripper, debugInspectMemory, debugPause, debugRemoveConfig, debugRestart, debugRestartFrame, debugReverseContinue, debugRun, debugStackframe, debugStackframeFocused, debugStart, debugStepBack, debugStepInto, debugStepOut, debugStepOver, debugStop, functionBreakpoint, loadedScriptsViewIcon, logBreakpoint, runViewIcon, variablesViewIcon, watchExpressionRemove, watchExpressionsAdd, watchExpressionsAddFuncBreakpoint, watchExpressionsRemoveAll, watchViewIcon };
@@ -1,6 +1,6 @@
1
1
  import { Emitter } from 'monaco-editor/esm/vs/base/common/event.js';
2
2
  import { timeout } from 'monaco-editor/esm/vs/base/common/async.js';
3
- import { localize } from 'monaco-editor/esm/vs/nls.js';
3
+ import { localizeWithPath } from 'monaco-editor/esm/vs/nls.js';
4
4
  class AbstractDebugAdapter {
5
5
  constructor() {
6
6
  this.pendingRequests = ( new Map());
@@ -61,7 +61,7 @@ class AbstractDebugAdapter {
61
61
  request_seq: request.seq,
62
62
  success: false,
63
63
  command,
64
- message: ( localize('timeout', "Timeout after {0} ms for '{1}'", timeout, command))
64
+ message: localizeWithPath('vs/workbench/contrib/debug/common/abstractDebugAdapter', 'timeout', "Timeout after {0} ms for '{1}'", timeout, command)
65
65
  };
66
66
  clb(err);
67
67
  }