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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (216) hide show
  1. package/extensions.d.ts +3 -3
  2. package/extensions.js +31 -33
  3. package/l10n.d.ts +4 -0
  4. package/l10n.js +10 -0
  5. package/missing-services.js +4 -2
  6. package/monaco-editor-treemending.patch +12268 -1070
  7. package/monaco-treemending.js +8 -2
  8. package/package.json +8 -1
  9. package/service-override/extensions.js +2 -2
  10. package/service-override/layout.js +2 -2
  11. package/tools/l10n.js +177 -0
  12. package/tools.js +22 -1
  13. package/vscode/src/vs/base/browser/ui/menu/menubar.js +1 -1
  14. package/vscode/src/vs/base/browser/ui/splitview/paneview.js +2 -2
  15. package/vscode/src/vs/base/common/date.js +55 -55
  16. package/vscode/src/vs/base/common/jsonErrorMessages.js +10 -10
  17. package/vscode/src/vs/base/common/tfIdf.js +137 -0
  18. package/vscode/src/vs/editor/contrib/quickAccess/browser/commandsQuickAccess.js +23 -0
  19. package/vscode/src/vs/editor/contrib/quickAccess/browser/editorNavigationQuickAccess.js +115 -0
  20. package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess.js +112 -0
  21. package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess.js +334 -0
  22. package/vscode/src/vs/platform/dialogs/common/dialogs.js +10 -14
  23. package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +3 -0
  24. package/vscode/src/vs/platform/extensionManagement/common/extensionNls.js +2 -2
  25. package/vscode/src/vs/platform/files/common/fileService.js +28 -37
  26. package/vscode/src/vs/platform/files/common/files.js +6 -6
  27. package/vscode/src/vs/platform/files/common/io.js +2 -2
  28. package/vscode/src/vs/platform/keyboardLayout/common/keyboardConfig.js +3 -9
  29. package/vscode/src/vs/platform/quickinput/browser/commandsQuickAccess.js +300 -0
  30. package/vscode/src/vs/platform/quickinput/browser/helpQuickAccess.js +59 -0
  31. package/vscode/src/vs/platform/quickinput/browser/pickerQuickAccess.js +212 -0
  32. package/vscode/src/vs/platform/request/common/request.js +2 -2
  33. package/vscode/src/vs/platform/theme/common/tokenClassificationRegistry.js +42 -63
  34. package/vscode/src/vs/workbench/api/browser/mainThreadAuthentication.js +13 -32
  35. package/vscode/src/vs/workbench/api/browser/mainThreadComments.js +2 -2
  36. package/vscode/src/vs/workbench/api/browser/mainThreadCustomEditors.js +3 -3
  37. package/vscode/src/vs/workbench/api/browser/mainThreadEditSessionIdentityParticipant.js +4 -5
  38. package/vscode/src/vs/workbench/api/browser/mainThreadExtensionService.js +38 -50
  39. package/vscode/src/vs/workbench/api/browser/mainThreadFileSystemEventService.js +21 -53
  40. package/vscode/src/vs/workbench/api/browser/mainThreadMessageService.js +4 -4
  41. package/vscode/src/vs/workbench/api/browser/mainThreadNotebookSaveParticipant.js +4 -5
  42. package/vscode/src/vs/workbench/api/browser/mainThreadProgress.js +6 -2
  43. package/vscode/src/vs/workbench/api/browser/mainThreadSaveParticipant.js +4 -2
  44. package/vscode/src/vs/workbench/api/browser/mainThreadTask.js +1 -1
  45. package/vscode/src/vs/workbench/api/browser/mainThreadTunnelService.js +2 -12
  46. package/vscode/src/vs/workbench/api/browser/mainThreadUriOpeners.js +15 -9
  47. package/vscode/src/vs/workbench/api/browser/mainThreadWebviews.js +2 -6
  48. package/vscode/src/vs/workbench/api/browser/mainThreadWorkspace.js +6 -28
  49. package/vscode/src/vs/workbench/api/browser/statusBarExtensionPoint.js +60 -0
  50. package/vscode/src/vs/workbench/api/common/extHostChat.js +3 -3
  51. package/vscode/src/vs/workbench/api/common/extHostDiagnostics.js +2 -6
  52. package/vscode/src/vs/workbench/api/common/extHostExtensionService.js +2 -2
  53. package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +3 -11
  54. package/vscode/src/vs/workbench/api/common/extHostLogService.js +2 -2
  55. package/vscode/src/vs/workbench/api/common/extHostNotebook.js +3 -3
  56. package/vscode/src/vs/workbench/api/common/extHostProgress.js +2 -6
  57. package/vscode/src/vs/workbench/api/common/extHostStatusBar.js +3 -7
  58. package/vscode/src/vs/workbench/api/common/extHostTelemetry.js +2 -6
  59. package/vscode/src/vs/workbench/api/common/extHostTerminalService.js +2 -6
  60. package/vscode/src/vs/workbench/api/common/extHostTreeViews.js +2 -2
  61. package/vscode/src/vs/workbench/api/common/extHostTunnelService.js +2 -2
  62. package/vscode/src/vs/workbench/api/common/extHostWorkspace.js +2 -7
  63. package/vscode/src/vs/workbench/api/common/jsonValidationExtensionPoint.js +9 -34
  64. package/vscode/src/vs/workbench/browser/actions/layoutActions.js +898 -68
  65. package/vscode/src/vs/workbench/browser/actions/quickAccessActions.js +7 -7
  66. package/vscode/src/vs/workbench/browser/actions/windowActions.js +32 -38
  67. package/vscode/src/vs/workbench/browser/actions/workspaceActions.js +103 -13
  68. package/vscode/src/vs/workbench/browser/actions/workspaceCommands.js +2 -2
  69. package/vscode/src/vs/workbench/browser/editor.js +3 -3
  70. package/vscode/src/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarActions.js +12 -27
  71. package/vscode/src/vs/workbench/browser/parts/compositeBarActions.js +12 -12
  72. package/vscode/src/vs/workbench/browser/parts/editor/binaryDiffEditor.js +2 -7
  73. package/vscode/src/vs/workbench/browser/parts/editor/binaryEditor.js +4 -7
  74. package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbs.js +42 -90
  75. package/vscode/src/vs/workbench/browser/parts/editor/editor.contribution.js +140 -272
  76. package/vscode/src/vs/workbench/browser/parts/editor/editorActions.js +115 -148
  77. package/vscode/src/vs/workbench/browser/parts/editor/editorCommands.js +21 -33
  78. package/vscode/src/vs/workbench/browser/parts/editor/editorConfiguration.js +7 -19
  79. package/vscode/src/vs/workbench/browser/parts/editor/editorPlaceholder.js +10 -26
  80. package/vscode/src/vs/workbench/browser/parts/editor/editorQuickAccess.js +7 -17
  81. package/vscode/src/vs/workbench/browser/parts/editor/editorStatus.js +60 -81
  82. package/vscode/src/vs/workbench/browser/parts/editor/sideBySideEditor.js +2 -2
  83. package/vscode/src/vs/workbench/browser/parts/editor/textCodeEditor.js +2 -2
  84. package/vscode/src/vs/workbench/browser/parts/editor/textDiffEditor.js +4 -11
  85. package/vscode/src/vs/workbench/browser/parts/editor/textEditor.js +2 -2
  86. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCommands.js +8 -8
  87. package/vscode/src/vs/workbench/browser/parts/panel/panelActions.js +69 -34
  88. package/vscode/src/vs/workbench/browser/parts/titlebar/menubarControl.js +58 -34
  89. package/vscode/src/vs/workbench/browser/parts/views/viewFilter.js +2 -2
  90. package/vscode/src/vs/workbench/browser/parts/views/viewPane.js +3 -9
  91. package/vscode/src/vs/workbench/browser/parts/views/viewPaneContainer.js +6 -6
  92. package/vscode/src/vs/workbench/browser/parts/views/viewsService.js +7 -11
  93. package/vscode/src/vs/workbench/browser/quickaccess.js +7 -3
  94. package/vscode/src/vs/workbench/browser/workbench.contribution.js +186 -683
  95. package/vscode/src/vs/workbench/common/configuration.js +12 -15
  96. package/vscode/src/vs/workbench/common/contextkeys.js +272 -90
  97. package/vscode/src/vs/workbench/common/editor/diffEditorInput.js +2 -2
  98. package/vscode/src/vs/workbench/common/editor/sideBySideEditorInput.js +2 -7
  99. package/vscode/src/vs/workbench/common/editor/textEditorModel.js +2 -6
  100. package/vscode/src/vs/workbench/common/editor.js +5 -5
  101. package/vscode/src/vs/workbench/common/theme.js +137 -527
  102. package/vscode/src/vs/workbench/common/views.js +4 -8
  103. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +15 -55
  104. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityContributions.js +3 -8
  105. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleView.js +22 -60
  106. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleViewActions.js +9 -15
  107. package/vscode/src/vs/workbench/contrib/bulkEdit/browser/bulkEditService.js +18 -48
  108. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatActions.js +2 -0
  109. package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.js +5 -10
  110. package/vscode/src/vs/workbench/contrib/chat/common/chatSlashCommands.js +5 -13
  111. package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +8 -27
  112. package/vscode/src/vs/workbench/contrib/codeActions/common/codeActionsExtensionPoint.js +5 -17
  113. package/vscode/src/vs/workbench/contrib/codeActions/common/documentationExtensionPoint.js +6 -15
  114. package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +7 -20
  115. package/vscode/src/vs/workbench/contrib/codeEditor/browser/inspectEditorTokens/inspectEditorTokens.js +2 -2
  116. package/vscode/src/vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint.js +63 -216
  117. package/vscode/src/vs/workbench/contrib/codeEditor/browser/largeFileOptimizations.js +4 -7
  118. package/vscode/src/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoLineQuickAccess.js +5 -8
  119. package/vscode/src/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoSymbolQuickAccess.js +8 -11
  120. package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +5 -15
  121. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMinimap.js +3 -3
  122. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMultiCursorModifier.js +5 -5
  123. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderControlCharacter.js +3 -6
  124. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderWhitespace.js +3 -6
  125. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +10 -9
  126. package/vscode/src/vs/workbench/contrib/comments/browser/commentColors.js +6 -15
  127. package/vscode/src/vs/workbench/contrib/comments/browser/commentGlyphWidget.js +5 -20
  128. package/vscode/src/vs/workbench/contrib/comments/browser/commentNode.js +3 -10
  129. package/vscode/src/vs/workbench/contrib/comments/browser/commentReply.js +4 -4
  130. package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadBody.js +3 -20
  131. package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadHeader.js +9 -3
  132. package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadWidget.js +4 -13
  133. package/vscode/src/vs/workbench/contrib/comments/browser/comments.contribution.js +26 -77
  134. package/vscode/src/vs/workbench/contrib/comments/browser/commentsController.js +5 -17
  135. package/vscode/src/vs/workbench/contrib/comments/browser/commentsTreeViewer.js +7 -12
  136. package/vscode/src/vs/workbench/contrib/comments/browser/commentsView.js +10 -29
  137. package/vscode/src/vs/workbench/contrib/comments/browser/commentsViewActions.js +10 -10
  138. package/vscode/src/vs/workbench/contrib/comments/browser/reactionsAction.js +8 -8
  139. package/vscode/src/vs/workbench/contrib/comments/common/commentContextKeys.js +25 -21
  140. package/vscode/src/vs/workbench/contrib/comments/common/commentModel.js +2 -2
  141. package/vscode/src/vs/workbench/contrib/customEditor/common/customEditor.js +1 -4
  142. package/vscode/src/vs/workbench/contrib/debug/browser/debugColors.js +13 -13
  143. package/vscode/src/vs/workbench/contrib/debug/browser/debugIcons.js +56 -98
  144. package/vscode/src/vs/workbench/contrib/debug/common/abstractDebugAdapter.js +2 -2
  145. package/vscode/src/vs/workbench/contrib/debug/common/debug.js +96 -180
  146. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsIcons.js +25 -79
  147. package/vscode/src/vs/workbench/contrib/externalUriOpener/common/configuration.js +4 -15
  148. package/vscode/src/vs/workbench/contrib/externalUriOpener/common/externalUriOpenerService.js +4 -8
  149. package/vscode/src/vs/workbench/contrib/files/browser/explorerViewlet.js +56 -19
  150. package/vscode/src/vs/workbench/contrib/files/browser/fileActions.js +76 -230
  151. package/vscode/src/vs/workbench/contrib/files/browser/fileConstants.js +6 -5
  152. package/vscode/src/vs/workbench/contrib/files/browser/fileImportExport.js +33 -103
  153. package/vscode/src/vs/workbench/contrib/files/browser/files.contribution.js +228 -99
  154. package/vscode/src/vs/workbench/contrib/files/browser/views/emptyView.js +1 -1
  155. package/vscode/src/vs/workbench/contrib/files/browser/views/explorerDecorationsProvider.js +5 -9
  156. package/vscode/src/vs/workbench/contrib/files/browser/views/explorerView.js +5 -5
  157. package/vscode/src/vs/workbench/contrib/files/browser/views/explorerViewer.js +15 -35
  158. package/vscode/src/vs/workbench/contrib/files/browser/views/openEditorsView.js +5 -8
  159. package/vscode/src/vs/workbench/contrib/files/common/files.js +27 -48
  160. package/vscode/src/vs/workbench/contrib/folding/browser/folding.contribution.js +3 -6
  161. package/vscode/src/vs/workbench/contrib/format/browser/formatModified.js +1 -1
  162. package/vscode/src/vs/workbench/contrib/inlayHints/browser/inlayHintsAccessibilty.js +5 -8
  163. package/vscode/src/vs/workbench/contrib/inlineChat/common/inlineChat.js +112 -52
  164. package/vscode/src/vs/workbench/contrib/keybindings/browser/keybindings.contribution.js +1 -1
  165. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInput.js +2 -2
  166. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInputModel.js +30 -96
  167. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/mergeEditorModel.js +3 -3
  168. package/vscode/src/vs/workbench/contrib/mergeEditor/common/mergeEditor.js +42 -0
  169. package/vscode/src/vs/workbench/contrib/output/browser/output.contribution.js +23 -29
  170. package/vscode/src/vs/workbench/contrib/output/browser/outputView.js +3 -3
  171. package/vscode/src/vs/workbench/contrib/quickaccess/browser/commandsQuickAccess.js +13 -16
  172. package/vscode/src/vs/workbench/contrib/quickaccess/browser/quickAccess.contribution.js +15 -34
  173. package/vscode/src/vs/workbench/contrib/quickaccess/browser/viewQuickAccess.js +12 -17
  174. package/vscode/src/vs/workbench/contrib/scm/browser/dirtyDiffSwitcher.js +2 -2
  175. package/vscode/src/vs/workbench/contrib/scm/browser/dirtydiffDecorator.js +26 -75
  176. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCompletionProvider.js +4 -19
  177. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsFile.js +4 -4
  178. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsService.js +10 -41
  179. package/vscode/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.js +5 -14
  180. package/vscode/src/vs/workbench/contrib/tasks/common/taskService.js +26 -13
  181. package/vscode/src/vs/workbench/contrib/tasks/common/tasks.js +8 -6
  182. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalEditorInput.js +5 -17
  183. package/vscode/src/vs/workbench/contrib/terminal/common/terminal.js +7 -28
  184. package/vscode/src/vs/workbench/contrib/terminal/common/terminalColorRegistry.js +21 -78
  185. package/vscode/src/vs/workbench/contrib/terminal/common/terminalContextKey.js +21 -53
  186. package/vscode/src/vs/workbench/contrib/testing/common/testResult.js +2 -2
  187. package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditor.js +2 -5
  188. package/vscode/src/vs/workbench/services/actions/common/menusExtensionPoint.js +113 -348
  189. package/vscode/src/vs/workbench/services/assignment/common/assignmentService.js +2 -5
  190. package/vscode/src/vs/workbench/services/authentication/browser/authenticationService.js +31 -1
  191. package/vscode/src/vs/workbench/services/configuration/common/jsonEditingService.js +1 -4
  192. package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +16 -16
  193. package/vscode/src/vs/workbench/services/decorations/browser/decorationsService.js +2 -2
  194. package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +2 -5
  195. package/vscode/src/vs/workbench/services/extensions/browser/extensionUrlHandler.js +4 -4
  196. package/vscode/src/vs/workbench/services/extensions/common/abstractExtensionService.js +10 -45
  197. package/vscode/src/vs/workbench/services/extensions/common/extensionHostManager.js +1 -1
  198. package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +80 -296
  199. package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.js +6 -21
  200. package/vscode/src/vs/workbench/services/host/browser/browserHostService.js +3 -6
  201. package/vscode/src/vs/workbench/services/keybinding/browser/keybindingService.js +24 -81
  202. package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayoutService.js +2 -2
  203. package/vscode/src/vs/workbench/services/keybinding/common/keybindingEditing.js +11 -17
  204. package/vscode/src/vs/workbench/services/language/common/languageService.js +23 -98
  205. package/vscode/src/vs/workbench/services/remote/common/tunnelModel.js +9 -11
  206. package/vscode/src/vs/workbench/services/search/common/queryBuilder.js +1 -5
  207. package/vscode/src/vs/workbench/services/textfile/browser/textFileService.js +11 -23
  208. package/vscode/src/vs/workbench/services/textfile/common/textFileEditorModel.js +2 -2
  209. package/vscode/src/vs/workbench/services/textfile/common/textFileEditorModelManager.js +2 -7
  210. package/vscode/src/vs/workbench/services/textfile/common/textFileSaveParticipant.js +2 -2
  211. package/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.js +16 -53
  212. package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +50 -1
  213. package/vscode/src/vs/workbench/services/themes/common/tokenClassificationExtensionPoint.js +25 -99
  214. package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfile.js +6 -3
  215. package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +15 -3
  216. package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopySaveParticipant.js +2 -2
@@ -10,354 +10,270 @@ const BREAKPOINTS_VIEW_ID = 'workbench.debug.breakPointsView';
10
10
  const DISASSEMBLY_VIEW_ID = 'workbench.debug.disassemblyView';
11
11
  const DEBUG_PANEL_ID = 'workbench.panel.repl';
12
12
  const REPL_VIEW_ID = 'workbench.panel.repl.view';
13
- const CONTEXT_DEBUG_TYPE = ( new RawContextKey('debugType', undefined, { type: 'string', description: ( nls.localize(
13
+ const CONTEXT_DEBUG_TYPE = ( new RawContextKey(
14
14
  'debugType',
15
- "Debug type of the active debug session. For example 'python'."
16
- )) }));
15
+ undefined,
16
+ { type: 'string', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'debugType', "Debug type of the active debug session. For example 'python'.") }
17
+ ));
17
18
  const CONTEXT_DEBUG_CONFIGURATION_TYPE = ( new RawContextKey(
18
19
  'debugConfigurationType',
19
20
  undefined,
20
- { type: 'string', description: ( nls.localize(
21
- 'debugConfigurationType',
22
- "Debug type of the selected launch configuration. For example 'python'."
23
- )) }
21
+ { type: 'string', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'debugConfigurationType', "Debug type of the selected launch configuration. For example 'python'.") }
24
22
  ));
25
- const CONTEXT_DEBUG_STATE = ( new RawContextKey('debugState', 'inactive', { type: 'string', description: ( nls.localize(
23
+ const CONTEXT_DEBUG_STATE = ( new RawContextKey(
26
24
  'debugState',
27
- "State that the focused debug session is in. One of the following: 'inactive', 'initializing', 'stopped' or 'running'."
28
- )) }));
25
+ 'inactive',
26
+ { type: 'string', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'debugState', "State that the focused debug session is in. One of the following: 'inactive', 'initializing', 'stopped' or 'running'.") }
27
+ ));
29
28
  const CONTEXT_DEBUG_UX_KEY = 'debugUx';
30
29
  const CONTEXT_DEBUG_UX = ( new RawContextKey(
31
30
  CONTEXT_DEBUG_UX_KEY,
32
31
  'default',
33
- { type: 'string', description: ( nls.localize(
34
- 'debugUX',
35
- "Debug UX state. When there are no debug configurations it is 'simple', otherwise 'default'. Used to decide when to show welcome views in the debug viewlet."
36
- )) }
32
+ { type: 'string', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'debugUX', "Debug UX state. When there are no debug configurations it is 'simple', otherwise 'default'. Used to decide when to show welcome views in the debug viewlet.") }
37
33
  ));
38
- const CONTEXT_HAS_DEBUGGED = ( new RawContextKey('hasDebugged', false, { type: 'boolean', description: ( nls.localize(
34
+ const CONTEXT_HAS_DEBUGGED = ( new RawContextKey(
39
35
  'hasDebugged',
40
- "True when a debug session has been started at least once, false otherwise."
41
- )) }));
42
- const CONTEXT_IN_DEBUG_MODE = ( new RawContextKey('inDebugMode', false, { type: 'boolean', description: ( nls.localize('inDebugMode', "True when debugging, false otherwise.")) }));
43
- const CONTEXT_IN_DEBUG_REPL = ( new RawContextKey('inDebugRepl', false, { type: 'boolean', description: ( nls.localize('inDebugRepl', "True when focus is in the debug console, false otherwise.")) }));
36
+ false,
37
+ { type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'hasDebugged', "True when a debug session has been started at least once, false otherwise.") }
38
+ ));
39
+ const CONTEXT_IN_DEBUG_MODE = ( new RawContextKey(
40
+ 'inDebugMode',
41
+ false,
42
+ { type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'inDebugMode', "True when debugging, false otherwise.") }
43
+ ));
44
+ const CONTEXT_IN_DEBUG_REPL = ( new RawContextKey(
45
+ 'inDebugRepl',
46
+ false,
47
+ { type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'inDebugRepl', "True when focus is in the debug console, false otherwise.") }
48
+ ));
44
49
  const CONTEXT_BREAKPOINT_WIDGET_VISIBLE = ( new RawContextKey(
45
50
  'breakpointWidgetVisible',
46
51
  false,
47
- { type: 'boolean', description: ( nls.localize(
48
- 'breakpointWidgetVisibile',
49
- "True when breakpoint editor zone widget is visible, false otherwise."
50
- )) }
52
+ { type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'breakpointWidgetVisibile', "True when breakpoint editor zone widget is visible, false otherwise.") }
51
53
  ));
52
54
  const CONTEXT_IN_BREAKPOINT_WIDGET = ( new RawContextKey(
53
55
  'inBreakpointWidget',
54
56
  false,
55
- { type: 'boolean', description: ( nls.localize(
56
- 'inBreakpointWidget',
57
- "True when focus is in the breakpoint editor zone widget, false otherwise."
58
- )) }
57
+ { type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'inBreakpointWidget', "True when focus is in the breakpoint editor zone widget, false otherwise.") }
59
58
  ));
60
- const CONTEXT_BREAKPOINTS_FOCUSED = ( new RawContextKey('breakpointsFocused', true, { type: 'boolean', description: ( nls.localize(
59
+ const CONTEXT_BREAKPOINTS_FOCUSED = ( new RawContextKey(
61
60
  'breakpointsFocused',
62
- "True when the BREAKPOINTS view is focused, false otherwise."
63
- )) }));
61
+ true,
62
+ { type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'breakpointsFocused', "True when the BREAKPOINTS view is focused, false otherwise.") }
63
+ ));
64
64
  const CONTEXT_WATCH_EXPRESSIONS_FOCUSED = ( new RawContextKey(
65
65
  'watchExpressionsFocused',
66
66
  true,
67
- { type: 'boolean', description: ( nls.localize(
68
- 'watchExpressionsFocused',
69
- "True when the WATCH view is focused, false otherwsie."
70
- )) }
67
+ { type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'watchExpressionsFocused', "True when the WATCH view is focused, false otherwsie.") }
71
68
  ));
72
69
  const CONTEXT_WATCH_EXPRESSIONS_EXIST = ( new RawContextKey(
73
70
  'watchExpressionsExist',
74
71
  false,
75
- { type: 'boolean', description: ( nls.localize(
76
- 'watchExpressionsExist',
77
- "True when at least one watch expression exists, false otherwise."
78
- )) }
72
+ { type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'watchExpressionsExist', "True when at least one watch expression exists, false otherwise.") }
79
73
  ));
80
- const CONTEXT_VARIABLES_FOCUSED = ( new RawContextKey('variablesFocused', true, { type: 'boolean', description: ( nls.localize(
74
+ const CONTEXT_VARIABLES_FOCUSED = ( new RawContextKey(
81
75
  'variablesFocused',
82
- "True when the VARIABLES views is focused, false otherwsie"
83
- )) }));
76
+ true,
77
+ { type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'variablesFocused', "True when the VARIABLES views is focused, false otherwsie") }
78
+ ));
84
79
  const CONTEXT_EXPRESSION_SELECTED = ( new RawContextKey(
85
80
  'expressionSelected',
86
81
  false,
87
- { type: 'boolean', description: ( nls.localize(
88
- 'expressionSelected',
89
- "True when an expression input box is open in either the WATCH or the VARIABLES view, false otherwise."
90
- )) }
82
+ { type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'expressionSelected', "True when an expression input box is open in either the WATCH or the VARIABLES view, false otherwise.") }
91
83
  ));
92
84
  const CONTEXT_BREAKPOINT_INPUT_FOCUSED = ( new RawContextKey(
93
85
  'breakpointInputFocused',
94
86
  false,
95
- { type: 'boolean', description: ( nls.localize(
96
- 'breakpointInputFocused',
97
- "True when the input box has focus in the BREAKPOINTS view."
98
- )) }
87
+ { type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'breakpointInputFocused', "True when the input box has focus in the BREAKPOINTS view.") }
99
88
  ));
100
89
  const CONTEXT_CALLSTACK_ITEM_TYPE = ( new RawContextKey(
101
90
  'callStackItemType',
102
91
  undefined,
103
- { type: 'string', description: ( nls.localize(
104
- 'callStackItemType',
105
- "Represents the item type of the focused element in the CALL STACK view. For example: 'session', 'thread', 'stackFrame'"
106
- )) }
92
+ { type: 'string', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'callStackItemType', "Represents the item type of the focused element in the CALL STACK view. For example: 'session', 'thread', 'stackFrame'") }
107
93
  ));
108
94
  const CONTEXT_CALLSTACK_SESSION_IS_ATTACH = ( new RawContextKey(
109
95
  'callStackSessionIsAttach',
110
96
  false,
111
- { type: 'boolean', description: ( nls.localize(
112
- 'callStackSessionIsAttach',
113
- "True when the session in the CALL STACK view is attach, false otherwise. Used internally for inline menus in the CALL STACK view."
114
- )) }
97
+ { type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'callStackSessionIsAttach', "True when the session in the CALL STACK view is attach, false otherwise. Used internally for inline menus in the CALL STACK view.") }
115
98
  ));
116
99
  const CONTEXT_CALLSTACK_ITEM_STOPPED = ( new RawContextKey(
117
100
  'callStackItemStopped',
118
101
  false,
119
- { type: 'boolean', description: ( nls.localize(
120
- 'callStackItemStopped',
121
- "True when the focused item in the CALL STACK is stopped. Used internaly for inline menus in the CALL STACK view."
122
- )) }
102
+ { type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'callStackItemStopped', "True when the focused item in the CALL STACK is stopped. Used internaly for inline menus in the CALL STACK view.") }
123
103
  ));
124
104
  const CONTEXT_CALLSTACK_SESSION_HAS_ONE_THREAD = ( new RawContextKey(
125
105
  'callStackSessionHasOneThread',
126
106
  false,
127
- { type: 'boolean', description: ( nls.localize(
128
- 'callStackSessionHasOneThread',
129
- "True when the focused session in the CALL STACK view has exactly one thread. Used internally for inline menus in the CALL STACK view."
130
- )) }
107
+ { type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'callStackSessionHasOneThread', "True when the focused session in the CALL STACK view has exactly one thread. Used internally for inline menus in the CALL STACK view.") }
131
108
  ));
132
- const CONTEXT_WATCH_ITEM_TYPE = ( new RawContextKey('watchItemType', undefined, { type: 'string', description: ( nls.localize(
109
+ const CONTEXT_WATCH_ITEM_TYPE = ( new RawContextKey(
133
110
  'watchItemType',
134
- "Represents the item type of the focused element in the WATCH view. For example: 'expression', 'variable'"
135
- )) }));
136
- const CONTEXT_CAN_VIEW_MEMORY = ( new RawContextKey('canViewMemory', undefined, { type: 'boolean', description: ( nls.localize(
111
+ undefined,
112
+ { type: 'string', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'watchItemType', "Represents the item type of the focused element in the WATCH view. For example: 'expression', 'variable'") }
113
+ ));
114
+ const CONTEXT_CAN_VIEW_MEMORY = ( new RawContextKey(
137
115
  'canViewMemory',
138
- "Indicates whether the item in the view has an associated memory refrence."
139
- )) }));
116
+ undefined,
117
+ { type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'canViewMemory', "Indicates whether the item in the view has an associated memory refrence.") }
118
+ ));
140
119
  const CONTEXT_BREAKPOINT_ITEM_TYPE = ( new RawContextKey(
141
120
  'breakpointItemType',
142
121
  undefined,
143
- { type: 'string', description: ( nls.localize(
144
- 'breakpointItemType',
145
- "Represents the item type of the focused element in the BREAKPOINTS view. For example: 'breakpoint', 'exceptionBreakppint', 'functionBreakpoint', 'dataBreakpoint'"
146
- )) }
122
+ { type: 'string', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'breakpointItemType', "Represents the item type of the focused element in the BREAKPOINTS view. For example: 'breakpoint', 'exceptionBreakppint', 'functionBreakpoint', 'dataBreakpoint'") }
147
123
  ));
148
124
  const CONTEXT_BREAKPOINT_SUPPORTS_CONDITION = ( new RawContextKey(
149
125
  'breakpointSupportsCondition',
150
126
  false,
151
- { type: 'boolean', description: ( nls.localize(
152
- 'breakpointSupportsCondition',
153
- "True when the focused breakpoint supports conditions."
154
- )) }
127
+ { type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'breakpointSupportsCondition', "True when the focused breakpoint supports conditions.") }
155
128
  ));
156
129
  const CONTEXT_LOADED_SCRIPTS_SUPPORTED = ( new RawContextKey(
157
130
  'loadedScriptsSupported',
158
131
  false,
159
- { type: 'boolean', description: ( nls.localize(
160
- 'loadedScriptsSupported',
161
- "True when the focused sessions supports the LOADED SCRIPTS view"
162
- )) }
132
+ { type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'loadedScriptsSupported', "True when the focused sessions supports the LOADED SCRIPTS view") }
163
133
  ));
164
134
  const CONTEXT_LOADED_SCRIPTS_ITEM_TYPE = ( new RawContextKey(
165
135
  'loadedScriptsItemType',
166
136
  undefined,
167
- { type: 'string', description: ( nls.localize(
168
- 'loadedScriptsItemType',
169
- "Represents the item type of the focused element in the LOADED SCRIPTS view."
170
- )) }
137
+ { type: 'string', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'loadedScriptsItemType', "Represents the item type of the focused element in the LOADED SCRIPTS view.") }
171
138
  ));
172
139
  const CONTEXT_FOCUSED_SESSION_IS_ATTACH = ( new RawContextKey(
173
140
  'focusedSessionIsAttach',
174
141
  false,
175
- { type: 'boolean', description: ( nls.localize('focusedSessionIsAttach', "True when the focused session is 'attach'.")) }
142
+ { type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'focusedSessionIsAttach', "True when the focused session is 'attach'.") }
176
143
  ));
177
- const CONTEXT_STEP_BACK_SUPPORTED = ( new RawContextKey('stepBackSupported', false, { type: 'boolean', description: ( nls.localize(
144
+ const CONTEXT_STEP_BACK_SUPPORTED = ( new RawContextKey(
178
145
  'stepBackSupported',
179
- "True when the focused session supports 'stepBack' requests."
180
- )) }));
146
+ false,
147
+ { type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'stepBackSupported', "True when the focused session supports 'stepBack' requests.") }
148
+ ));
181
149
  const CONTEXT_RESTART_FRAME_SUPPORTED = ( new RawContextKey(
182
150
  'restartFrameSupported',
183
151
  false,
184
- { type: 'boolean', description: ( nls.localize(
185
- 'restartFrameSupported',
186
- "True when the focused session supports 'restartFrame' requests."
187
- )) }
152
+ { type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'restartFrameSupported', "True when the focused session supports 'restartFrame' requests.") }
188
153
  ));
189
154
  const CONTEXT_STACK_FRAME_SUPPORTS_RESTART = ( new RawContextKey(
190
155
  'stackFrameSupportsRestart',
191
156
  false,
192
- { type: 'boolean', description: ( nls.localize(
193
- 'stackFrameSupportsRestart',
194
- "True when the focused stack frame suppots 'restartFrame'."
195
- )) }
157
+ { type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'stackFrameSupportsRestart', "True when the focused stack frame suppots 'restartFrame'.") }
196
158
  ));
197
159
  const CONTEXT_JUMP_TO_CURSOR_SUPPORTED = ( new RawContextKey(
198
160
  'jumpToCursorSupported',
199
161
  false,
200
- { type: 'boolean', description: ( nls.localize(
201
- 'jumpToCursorSupported',
202
- "True when the focused session supports 'jumpToCursor' request."
203
- )) }
162
+ { type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'jumpToCursorSupported', "True when the focused session supports 'jumpToCursor' request.") }
204
163
  ));
205
164
  const CONTEXT_STEP_INTO_TARGETS_SUPPORTED = ( new RawContextKey(
206
165
  'stepIntoTargetsSupported',
207
166
  false,
208
- { type: 'boolean', description: ( nls.localize(
209
- 'stepIntoTargetsSupported',
210
- "True when the focused session supports 'stepIntoTargets' request."
211
- )) }
167
+ { type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'stepIntoTargetsSupported', "True when the focused session supports 'stepIntoTargets' request.") }
168
+ ));
169
+ const CONTEXT_BREAKPOINTS_EXIST = ( new RawContextKey(
170
+ 'breakpointsExist',
171
+ false,
172
+ { type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'breakpointsExist', "True when at least one breakpoint exists.") }
212
173
  ));
213
- const CONTEXT_BREAKPOINTS_EXIST = ( new RawContextKey('breakpointsExist', false, { type: 'boolean', description: ( nls.localize('breakpointsExist', "True when at least one breakpoint exists.")) }));
214
174
  const CONTEXT_DEBUGGERS_AVAILABLE = ( new RawContextKey(
215
175
  'debuggersAvailable',
216
176
  false,
217
- { type: 'boolean', description: ( nls.localize(
218
- 'debuggersAvailable',
219
- "True when there is at least one debug extensions active."
220
- )) }
177
+ { type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'debuggersAvailable', "True when there is at least one debug extensions active.") }
221
178
  ));
222
179
  const CONTEXT_DEBUG_EXTENSION_AVAILABLE = ( new RawContextKey(
223
180
  'debugExtensionAvailable',
224
181
  true,
225
- { type: 'boolean', description: ( nls.localize(
226
- 'debugExtensionsAvailable',
227
- "True when there is at least one debug extension installed and enabled."
228
- )) }
182
+ { type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'debugExtensionsAvailable', "True when there is at least one debug extension installed and enabled.") }
229
183
  ));
230
184
  const CONTEXT_DEBUG_PROTOCOL_VARIABLE_MENU_CONTEXT = ( new RawContextKey(
231
185
  'debugProtocolVariableMenuContext',
232
186
  undefined,
233
- { type: 'string', description: ( nls.localize(
234
- 'debugProtocolVariableMenuContext',
235
- "Represents the context the debug adapter sets on the focused variable in the VARIABLES view."
236
- )) }
187
+ { type: 'string', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'debugProtocolVariableMenuContext', "Represents the context the debug adapter sets on the focused variable in the VARIABLES view.") }
237
188
  ));
238
189
  const CONTEXT_SET_VARIABLE_SUPPORTED = ( new RawContextKey(
239
190
  'debugSetVariableSupported',
240
191
  false,
241
- { type: 'boolean', description: ( nls.localize(
242
- 'debugSetVariableSupported',
243
- "True when the focused session supports 'setVariable' request."
244
- )) }
192
+ { type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'debugSetVariableSupported', "True when the focused session supports 'setVariable' request.") }
245
193
  ));
246
194
  const CONTEXT_SET_EXPRESSION_SUPPORTED = ( new RawContextKey(
247
195
  'debugSetExpressionSupported',
248
196
  false,
249
- { type: 'boolean', description: ( nls.localize(
250
- 'debugSetExpressionSupported',
251
- "True when the focused session supports 'setExpression' request."
252
- )) }
197
+ { type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'debugSetExpressionSupported', "True when the focused session supports 'setExpression' request.") }
253
198
  ));
254
199
  const CONTEXT_BREAK_WHEN_VALUE_CHANGES_SUPPORTED = ( new RawContextKey(
255
200
  'breakWhenValueChangesSupported',
256
201
  false,
257
- { type: 'boolean', description: ( nls.localize(
258
- 'breakWhenValueChangesSupported',
259
- "True when the focused session supports to break when value changes."
260
- )) }
202
+ { type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'breakWhenValueChangesSupported', "True when the focused session supports to break when value changes.") }
261
203
  ));
262
204
  const CONTEXT_BREAK_WHEN_VALUE_IS_ACCESSED_SUPPORTED = ( new RawContextKey(
263
205
  'breakWhenValueIsAccessedSupported',
264
206
  false,
265
- { type: 'boolean', description: ( nls.localize(
266
- 'breakWhenValueIsAccessedSupported',
267
- "True when the focused breakpoint supports to break when value is accessed."
268
- )) }
207
+ { type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'breakWhenValueIsAccessedSupported', "True when the focused breakpoint supports to break when value is accessed.") }
269
208
  ));
270
209
  const CONTEXT_BREAK_WHEN_VALUE_IS_READ_SUPPORTED = ( new RawContextKey(
271
210
  'breakWhenValueIsReadSupported',
272
211
  false,
273
- { type: 'boolean', description: ( nls.localize(
274
- 'breakWhenValueIsReadSupported',
275
- "True when the focused breakpoint supports to break when value is read."
276
- )) }
212
+ { type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'breakWhenValueIsReadSupported', "True when the focused breakpoint supports to break when value is read.") }
277
213
  ));
278
214
  const CONTEXT_TERMINATE_DEBUGGEE_SUPPORTED = ( new RawContextKey(
279
215
  'terminateDebuggeeSupported',
280
216
  false,
281
- { type: 'boolean', description: ( nls.localize(
282
- 'terminateDebuggeeSupported',
283
- "True when the focused session supports the terminate debuggee capability."
284
- )) }
217
+ { type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'terminateDebuggeeSupported', "True when the focused session supports the terminate debuggee capability.") }
285
218
  ));
286
219
  const CONTEXT_SUSPEND_DEBUGGEE_SUPPORTED = ( new RawContextKey(
287
220
  'suspendDebuggeeSupported',
288
221
  false,
289
- { type: 'boolean', description: ( nls.localize(
290
- 'suspendDebuggeeSupported',
291
- "True when the focused session supports the suspend debuggee capability."
292
- )) }
222
+ { type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'suspendDebuggeeSupported', "True when the focused session supports the suspend debuggee capability.") }
293
223
  ));
294
224
  const CONTEXT_VARIABLE_EVALUATE_NAME_PRESENT = ( new RawContextKey(
295
225
  'variableEvaluateNamePresent',
296
226
  false,
297
- { type: 'boolean', description: ( nls.localize(
298
- 'variableEvaluateNamePresent',
299
- "True when the focused variable has an 'evalauteName' field set."
300
- )) }
227
+ { type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'variableEvaluateNamePresent', "True when the focused variable has an 'evalauteName' field set.") }
301
228
  ));
302
229
  const CONTEXT_VARIABLE_IS_READONLY = ( new RawContextKey(
303
230
  'variableIsReadonly',
304
231
  false,
305
- { type: 'boolean', description: ( nls.localize('variableIsReadonly', "True when the focused variable is read-only.")) }
232
+ { type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'variableIsReadonly', "True when the focused variable is read-only.") }
306
233
  ));
307
234
  const CONTEXT_EXCEPTION_WIDGET_VISIBLE = ( new RawContextKey(
308
235
  'exceptionWidgetVisible',
309
236
  false,
310
- { type: 'boolean', description: ( nls.localize('exceptionWidgetVisible', "True when the exception widget is visible.")) }
237
+ { type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'exceptionWidgetVisible', "True when the exception widget is visible.") }
238
+ ));
239
+ const CONTEXT_MULTI_SESSION_REPL = ( new RawContextKey(
240
+ 'multiSessionRepl',
241
+ false,
242
+ { type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'multiSessionRepl', "True when there is more than 1 debug console.") }
311
243
  ));
312
- const CONTEXT_MULTI_SESSION_REPL = ( new RawContextKey('multiSessionRepl', false, { type: 'boolean', description: ( nls.localize('multiSessionRepl', "True when there is more than 1 debug console.")) }));
313
- const CONTEXT_MULTI_SESSION_DEBUG = ( new RawContextKey('multiSessionDebug', false, { type: 'boolean', description: ( nls.localize(
244
+ const CONTEXT_MULTI_SESSION_DEBUG = ( new RawContextKey(
314
245
  'multiSessionDebug',
315
- "True when there is more than 1 active debug session."
316
- )) }));
246
+ false,
247
+ { type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'multiSessionDebug', "True when there is more than 1 active debug session.") }
248
+ ));
317
249
  const CONTEXT_DISASSEMBLE_REQUEST_SUPPORTED = ( new RawContextKey(
318
250
  'disassembleRequestSupported',
319
251
  false,
320
- { type: 'boolean', description: ( nls.localize(
321
- 'disassembleRequestSupported',
322
- "True when the focused sessions supports disassemble request."
323
- )) }
252
+ { type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'disassembleRequestSupported', "True when the focused sessions supports disassemble request.") }
324
253
  ));
325
254
  const CONTEXT_DISASSEMBLY_VIEW_FOCUS = ( new RawContextKey(
326
255
  'disassemblyViewFocus',
327
256
  false,
328
- { type: 'boolean', description: ( nls.localize('disassemblyViewFocus', "True when the Disassembly View is focused.")) }
257
+ { type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'disassemblyViewFocus', "True when the Disassembly View is focused.") }
329
258
  ));
330
259
  const CONTEXT_LANGUAGE_SUPPORTS_DISASSEMBLE_REQUEST = ( new RawContextKey(
331
260
  'languageSupportsDisassembleRequest',
332
261
  false,
333
- { type: 'boolean', description: ( nls.localize(
334
- 'languageSupportsDisassembleRequest',
335
- "True when the language in the current editor supports disassemble request."
336
- )) }
262
+ { type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'languageSupportsDisassembleRequest', "True when the language in the current editor supports disassemble request.") }
337
263
  ));
338
264
  const CONTEXT_FOCUSED_STACK_FRAME_HAS_INSTRUCTION_POINTER_REFERENCE = ( new RawContextKey(
339
265
  'focusedStackFrameHasInstructionReference',
340
266
  false,
341
- { type: 'boolean', description: ( nls.localize(
342
- 'focusedStackFrameHasInstructionReference',
343
- "True when the focused stack frame has instruction pointer reference."
344
- )) }
345
- ));
346
- const debuggerDisabledMessage = (debugType) => ( nls.localize(
347
- 'debuggerDisabled',
348
- "Configured debug type '{0}' is installed but not supported in this environment.",
349
- debugType
267
+ { type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'focusedStackFrameHasInstructionReference', "True when the focused stack frame has instruction pointer reference.") }
350
268
  ));
269
+ const debuggerDisabledMessage = (debugType) => nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'debuggerDisabled', "Configured debug type '{0}' is installed but not supported in this environment.", debugType);
351
270
  const EDITOR_CONTRIBUTION_ID = 'editor.contrib.debug';
352
271
  const BREAKPOINT_EDITOR_CONTRIBUTION_ID = 'editor.contrib.breakpoint';
353
272
  const DEBUG_SCHEME = 'debug';
354
273
  const INTERNAL_CONSOLE_OPTIONS_SCHEMA = {
355
274
  enum: ['neverOpen', 'openOnSessionStart', 'openOnFirstSessionStart'],
356
275
  default: 'openOnFirstSessionStart',
357
- description: ( nls.localize(
358
- 'internalConsoleOptions',
359
- "Controls when the internal Debug Console should open."
360
- ))
276
+ description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'internalConsoleOptions', "Controls when the internal Debug Console should open.")
361
277
  };
362
278
  function getStateLabel(state) {
363
279
  switch (state) {
@@ -1,82 +1,28 @@
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
- registerIcon('extensions-view-icon', Codicon.extensions, ( localize('extensionsViewIcon', 'View icon of the extensions view.')));
5
- const manageExtensionIcon = registerIcon('extensions-manage', Codicon.gear, ( localize(
6
- 'manageExtensionIcon',
7
- 'Icon for the \'Manage\' action in the extensions view.'
8
- )));
9
- registerIcon('extensions-clear-search-results', Codicon.clearAll, ( localize(
10
- 'clearSearchResultsIcon',
11
- 'Icon for the \'Clear Search Result\' action in the extensions view.'
12
- )));
13
- registerIcon('extensions-refresh', Codicon.refresh, ( localize('refreshIcon', 'Icon for the \'Refresh\' action in the extensions view.')));
14
- const filterIcon = registerIcon('extensions-filter', Codicon.filter, ( localize('filterIcon', 'Icon for the \'Filter\' action in the extensions view.')));
15
- registerIcon('extensions-install-local-in-remote', Codicon.cloudDownload, ( localize(
16
- 'installLocalInRemoteIcon',
17
- 'Icon for the \'Install Local Extension in Remote\' action in the extensions view.'
18
- )));
19
- registerIcon('extensions-install-workspace-recommended', Codicon.cloudDownload, ( localize(
20
- 'installWorkspaceRecommendedIcon',
21
- 'Icon for the \'Install Workspace Recommended Extensions\' action in the extensions view.'
22
- )));
23
- registerIcon('extensions-configure-recommended', Codicon.pencil, ( localize(
24
- 'configureRecommendedIcon',
25
- 'Icon for the \'Configure Recommended Extensions\' action in the extensions view.'
26
- )));
27
- const syncEnabledIcon = registerIcon('extensions-sync-enabled', Codicon.sync, ( localize('syncEnabledIcon', 'Icon to indicate that an extension is synced.')));
28
- const syncIgnoredIcon = registerIcon('extensions-sync-ignored', Codicon.syncIgnored, ( localize(
29
- 'syncIgnoredIcon',
30
- 'Icon to indicate that an extension is ignored when syncing.'
31
- )));
32
- registerIcon('extensions-remote', Codicon.remote, ( localize(
33
- 'remoteIcon',
34
- 'Icon to indicate that an extension is remote in the extensions view and editor.'
35
- )));
36
- registerIcon('extensions-install-count', Codicon.cloudDownload, ( localize(
37
- 'installCountIcon',
38
- 'Icon shown along with the install count in the extensions view and editor.'
39
- )));
40
- registerIcon('extensions-rating', Codicon.star, ( localize(
41
- 'ratingIcon',
42
- 'Icon shown along with the rating in the extensions view and editor.'
43
- )));
44
- registerIcon('extensions-verified-publisher', Codicon.verifiedFilled, ( localize(
45
- 'verifiedPublisher',
46
- 'Icon used for the verified extension publisher in the extensions view and editor.'
47
- )));
48
- const preReleaseIcon = registerIcon('extensions-pre-release', Codicon.versions, ( localize(
49
- 'preReleaseIcon',
50
- 'Icon shown for extensions having pre-release versions in extensions view and editor.'
51
- )));
52
- registerIcon('extensions-sponsor', Codicon.heartFilled, ( localize(
53
- 'sponsorIcon',
54
- 'Icon used for sponsoring extensions in the extensions view and editor.'
55
- )));
56
- registerIcon('extensions-star-full', Codicon.starFull, ( localize(
57
- 'starFullIcon',
58
- 'Full star icon used for the rating in the extensions editor.'
59
- )));
60
- registerIcon('extensions-star-half', Codicon.starHalf, ( localize(
61
- 'starHalfIcon',
62
- 'Half star icon used for the rating in the extensions editor.'
63
- )));
64
- registerIcon('extensions-star-empty', Codicon.starEmpty, ( localize(
65
- 'starEmptyIcon',
66
- 'Empty star icon used for the rating in the extensions editor.'
67
- )));
68
- const errorIcon = registerIcon('extensions-error-message', Codicon.error, ( localize('errorIcon', 'Icon shown with a error message in the extensions editor.')));
69
- const warningIcon = registerIcon('extensions-warning-message', Codicon.warning, ( localize(
70
- 'warningIcon',
71
- 'Icon shown with a warning message in the extensions editor.'
72
- )));
73
- const infoIcon = registerIcon('extensions-info-message', Codicon.info, ( localize('infoIcon', 'Icon shown with an info message in the extensions editor.')));
74
- const trustIcon = registerIcon('extension-workspace-trust', Codicon.shield, ( localize(
75
- 'trustIcon',
76
- 'Icon shown with a workspace trust message in the extension editor.'
77
- )));
78
- registerIcon('extension-activation-time', Codicon.history, ( localize(
79
- 'activationtimeIcon',
80
- 'Icon shown with a activation time message in the extension editor.'
81
- )));
4
+ registerIcon('extensions-view-icon', Codicon.extensions, localizeWithPath('vs/workbench/contrib/extensions/browser/extensionsIcons', 'extensionsViewIcon', 'View icon of the extensions view.'));
5
+ const manageExtensionIcon = registerIcon('extensions-manage', Codicon.gear, localizeWithPath('vs/workbench/contrib/extensions/browser/extensionsIcons', 'manageExtensionIcon', 'Icon for the \'Manage\' action in the extensions view.'));
6
+ registerIcon('extensions-clear-search-results', Codicon.clearAll, localizeWithPath('vs/workbench/contrib/extensions/browser/extensionsIcons', 'clearSearchResultsIcon', 'Icon for the \'Clear Search Result\' action in the extensions view.'));
7
+ registerIcon('extensions-refresh', Codicon.refresh, localizeWithPath('vs/workbench/contrib/extensions/browser/extensionsIcons', 'refreshIcon', 'Icon for the \'Refresh\' action in the extensions view.'));
8
+ const filterIcon = registerIcon('extensions-filter', Codicon.filter, localizeWithPath('vs/workbench/contrib/extensions/browser/extensionsIcons', 'filterIcon', 'Icon for the \'Filter\' action in the extensions view.'));
9
+ registerIcon('extensions-install-local-in-remote', Codicon.cloudDownload, localizeWithPath('vs/workbench/contrib/extensions/browser/extensionsIcons', 'installLocalInRemoteIcon', 'Icon for the \'Install Local Extension in Remote\' action in the extensions view.'));
10
+ registerIcon('extensions-install-workspace-recommended', Codicon.cloudDownload, localizeWithPath('vs/workbench/contrib/extensions/browser/extensionsIcons', 'installWorkspaceRecommendedIcon', 'Icon for the \'Install Workspace Recommended Extensions\' action in the extensions view.'));
11
+ registerIcon('extensions-configure-recommended', Codicon.pencil, localizeWithPath('vs/workbench/contrib/extensions/browser/extensionsIcons', 'configureRecommendedIcon', 'Icon for the \'Configure Recommended Extensions\' action in the extensions view.'));
12
+ const syncEnabledIcon = registerIcon('extensions-sync-enabled', Codicon.sync, localizeWithPath('vs/workbench/contrib/extensions/browser/extensionsIcons', 'syncEnabledIcon', 'Icon to indicate that an extension is synced.'));
13
+ const syncIgnoredIcon = registerIcon('extensions-sync-ignored', Codicon.syncIgnored, localizeWithPath('vs/workbench/contrib/extensions/browser/extensionsIcons', 'syncIgnoredIcon', 'Icon to indicate that an extension is ignored when syncing.'));
14
+ registerIcon('extensions-remote', Codicon.remote, localizeWithPath('vs/workbench/contrib/extensions/browser/extensionsIcons', 'remoteIcon', 'Icon to indicate that an extension is remote in the extensions view and editor.'));
15
+ registerIcon('extensions-install-count', Codicon.cloudDownload, localizeWithPath('vs/workbench/contrib/extensions/browser/extensionsIcons', 'installCountIcon', 'Icon shown along with the install count in the extensions view and editor.'));
16
+ registerIcon('extensions-rating', Codicon.star, localizeWithPath('vs/workbench/contrib/extensions/browser/extensionsIcons', 'ratingIcon', 'Icon shown along with the rating in the extensions view and editor.'));
17
+ registerIcon('extensions-verified-publisher', Codicon.verifiedFilled, localizeWithPath('vs/workbench/contrib/extensions/browser/extensionsIcons', 'verifiedPublisher', 'Icon used for the verified extension publisher in the extensions view and editor.'));
18
+ const preReleaseIcon = registerIcon('extensions-pre-release', Codicon.versions, localizeWithPath('vs/workbench/contrib/extensions/browser/extensionsIcons', 'preReleaseIcon', 'Icon shown for extensions having pre-release versions in extensions view and editor.'));
19
+ registerIcon('extensions-sponsor', Codicon.heartFilled, localizeWithPath('vs/workbench/contrib/extensions/browser/extensionsIcons', 'sponsorIcon', 'Icon used for sponsoring extensions in the extensions view and editor.'));
20
+ registerIcon('extensions-star-full', Codicon.starFull, localizeWithPath('vs/workbench/contrib/extensions/browser/extensionsIcons', 'starFullIcon', 'Full star icon used for the rating in the extensions editor.'));
21
+ registerIcon('extensions-star-half', Codicon.starHalf, localizeWithPath('vs/workbench/contrib/extensions/browser/extensionsIcons', 'starHalfIcon', 'Half star icon used for the rating in the extensions editor.'));
22
+ registerIcon('extensions-star-empty', Codicon.starEmpty, localizeWithPath('vs/workbench/contrib/extensions/browser/extensionsIcons', 'starEmptyIcon', 'Empty star icon used for the rating in the extensions editor.'));
23
+ const errorIcon = registerIcon('extensions-error-message', Codicon.error, localizeWithPath('vs/workbench/contrib/extensions/browser/extensionsIcons', 'errorIcon', 'Icon shown with a error message in the extensions editor.'));
24
+ const warningIcon = registerIcon('extensions-warning-message', Codicon.warning, localizeWithPath('vs/workbench/contrib/extensions/browser/extensionsIcons', 'warningIcon', 'Icon shown with a warning message in the extensions editor.'));
25
+ const infoIcon = registerIcon('extensions-info-message', Codicon.info, localizeWithPath('vs/workbench/contrib/extensions/browser/extensionsIcons', 'infoIcon', 'Icon shown with an info message in the extensions editor.'));
26
+ const trustIcon = registerIcon('extension-workspace-trust', Codicon.shield, localizeWithPath('vs/workbench/contrib/extensions/browser/extensionsIcons', 'trustIcon', 'Icon shown with a workspace trust message in the extension editor.'));
27
+ registerIcon('extension-activation-time', Codicon.history, localizeWithPath('vs/workbench/contrib/extensions/browser/extensionsIcons', 'activationtimeIcon', 'Icon shown with a activation time message in the extension editor.'));
82
28
  export { errorIcon, filterIcon, infoIcon, manageExtensionIcon, preReleaseIcon, syncEnabledIcon, syncIgnoredIcon, trustIcon, warningIcon };
@@ -24,10 +24,7 @@ const externalUriOpenersConfigurationNode = {
24
24
  properties: {
25
25
  [externalUriOpenersSettingId]: {
26
26
  type: 'object',
27
- markdownDescription: ( nls.localize(
28
- 'externalUriOpeners',
29
- "Configure the opener to use for external URIs (http, https)."
30
- )),
27
+ markdownDescription: nls.localizeWithPath('vs/workbench/contrib/externalUriOpener/common/configuration', 'externalUriOpeners', "Configure the opener to use for external URIs (http, https)."),
31
28
  defaultSnippets: [{
32
29
  body: {
33
30
  'example.com': '$1'
@@ -37,21 +34,13 @@ const externalUriOpenersConfigurationNode = {
37
34
  anyOf: [
38
35
  {
39
36
  type: 'string',
40
- markdownDescription: ( nls.localize(
41
- 'externalUriOpeners.uri',
42
- "Map URI pattern to an opener id.\nExample patterns: \n{0}",
43
- exampleUriPatterns
44
- )),
37
+ markdownDescription: nls.localizeWithPath('vs/workbench/contrib/externalUriOpener/common/configuration', 'externalUriOpeners.uri', "Map URI pattern to an opener id.\nExample patterns: \n{0}", exampleUriPatterns),
45
38
  },
46
39
  {
47
40
  type: 'string',
48
- markdownDescription: ( nls.localize(
49
- 'externalUriOpeners.uri',
50
- "Map URI pattern to an opener id.\nExample patterns: \n{0}",
51
- exampleUriPatterns
52
- )),
41
+ markdownDescription: nls.localizeWithPath('vs/workbench/contrib/externalUriOpener/common/configuration', 'externalUriOpeners.uri', "Map URI pattern to an opener id.\nExample patterns: \n{0}", exampleUriPatterns),
53
42
  enum: [defaultExternalUriOpenerId],
54
- enumDescriptions: [( nls.localize('externalUriOpeners.defaultId', "Open using VS Code's standard opener."))],
43
+ enumDescriptions: [nls.localizeWithPath('vs/workbench/contrib/externalUriOpener/common/configuration', 'externalUriOpeners.defaultId', "Open using VS Code's standard opener.")],
55
44
  },
56
45
  externalUriOpenerIdSchemaAddition
57
46
  ]