@codingame/monaco-vscode-api 1.83.5 → 1.83.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (212) hide show
  1. package/lifecycle.js +3 -1
  2. package/missing-services.js +32 -28
  3. package/monaco-editor-treemending.patch +786 -760
  4. package/monaco.js +1 -0
  5. package/package.json +1 -1
  6. package/service-override/extensions.js +5 -5
  7. package/service-override/files.js +37 -13
  8. package/service-override/keybindings.js +10 -4
  9. package/service-override/layout.js +1 -3
  10. package/services.d.ts +13 -2
  11. package/services.js +35 -5
  12. package/vscode/src/vs/base/browser/broadcast.js +52 -0
  13. package/vscode/src/vs/base/browser/ui/menu/menubar.js +1 -1
  14. package/vscode/src/vs/base/browser/ui/splitview/paneview.js +6 -1
  15. package/vscode/src/vs/base/common/date.js +244 -54
  16. package/vscode/src/vs/base/common/jsonErrorMessages.js +45 -9
  17. package/vscode/src/vs/editor/common/services/textResourceConfiguration.d.ts +65 -0
  18. package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess.js +33 -5
  19. package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess.js +165 -32
  20. package/vscode/src/vs/platform/dialogs/common/dialogs.js +30 -9
  21. package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +0 -3
  22. package/vscode/src/vs/platform/extensionManagement/common/extensionNls.js +6 -1
  23. package/vscode/src/vs/platform/files/browser/indexedDBFileSystemProvider.js +404 -0
  24. package/vscode/src/vs/platform/files/common/fileService.js +13 -2
  25. package/vscode/src/vs/platform/files/common/files.js +25 -5
  26. package/vscode/src/vs/platform/keyboardLayout/common/keyboardConfig.js +15 -3
  27. package/vscode/src/vs/platform/quickinput/browser/commandsQuickAccess.js +38 -7
  28. package/vscode/src/vs/platform/quickinput/browser/helpQuickAccess.js +7 -1
  29. package/vscode/src/vs/platform/request/common/request.js +1 -1
  30. package/vscode/src/vs/platform/theme/common/tokenClassificationRegistry.js +210 -42
  31. package/vscode/src/vs/workbench/api/browser/mainThreadAuthentication.js +73 -13
  32. package/vscode/src/vs/workbench/api/browser/mainThreadComments.js +5 -1
  33. package/vscode/src/vs/workbench/api/browser/mainThreadCustomEditors.js +11 -2
  34. package/vscode/src/vs/workbench/api/browser/mainThreadEditSessionIdentityParticipant.js +5 -3
  35. package/vscode/src/vs/workbench/api/browser/mainThreadExtensionService.js +70 -35
  36. package/vscode/src/vs/workbench/api/browser/mainThreadFileSystemEventService.js +108 -20
  37. package/vscode/src/vs/workbench/api/browser/mainThreadMessageService.js +17 -4
  38. package/vscode/src/vs/workbench/api/browser/mainThreadNotebookSaveParticipant.js +5 -3
  39. package/vscode/src/vs/workbench/api/browser/mainThreadProgress.js +5 -5
  40. package/vscode/src/vs/workbench/api/browser/mainThreadSaveParticipant.js +5 -3
  41. package/vscode/src/vs/workbench/api/browser/mainThreadTask.js +7 -1
  42. package/vscode/src/vs/workbench/api/browser/mainThreadTunnelService.js +14 -2
  43. package/vscode/src/vs/workbench/api/browser/mainThreadUriOpeners.js +12 -14
  44. package/vscode/src/vs/workbench/api/browser/mainThreadWebviews.js +6 -1
  45. package/vscode/src/vs/workbench/api/browser/mainThreadWorkspace.js +32 -5
  46. package/vscode/src/vs/workbench/api/browser/statusBarExtensionPoint.js +0 -60
  47. package/vscode/src/vs/workbench/api/common/extHostChat.js +11 -2
  48. package/vscode/src/vs/workbench/api/common/extHostDiagnostics.js +6 -1
  49. package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +12 -2
  50. package/vscode/src/vs/workbench/api/common/extHostLogService.js +9 -1
  51. package/vscode/src/vs/workbench/api/common/extHostProgress.js +6 -1
  52. package/vscode/src/vs/workbench/api/common/extHostStatusBar.js +11 -2
  53. package/vscode/src/vs/workbench/api/common/extHostTelemetry.js +6 -1
  54. package/vscode/src/vs/workbench/api/common/extHostTerminalService.js +6 -1
  55. package/vscode/src/vs/workbench/api/common/extHostTunnelService.js +10 -2
  56. package/vscode/src/vs/workbench/api/common/extHostWorkspace.js +7 -1
  57. package/vscode/src/vs/workbench/api/common/jsonValidationExtensionPoint.js +49 -9
  58. package/vscode/src/vs/workbench/browser/actions/layoutActions.js +397 -274
  59. package/vscode/src/vs/workbench/browser/actions/quickAccessActions.js +30 -6
  60. package/vscode/src/vs/workbench/browser/actions/windowActions.js +85 -31
  61. package/vscode/src/vs/workbench/browser/actions/workspaceActions.js +56 -102
  62. package/vscode/src/vs/workbench/browser/actions/workspaceCommands.js +5 -1
  63. package/vscode/src/vs/workbench/browser/editor.js +2 -2
  64. package/vscode/src/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarActions.js +55 -11
  65. package/vscode/src/vs/workbench/browser/parts/compositeBarActions.js +63 -11
  66. package/vscode/src/vs/workbench/browser/parts/editor/binaryDiffEditor.js +7 -1
  67. package/vscode/src/vs/workbench/browser/parts/editor/binaryEditor.js +15 -3
  68. package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbs.js +205 -41
  69. package/vscode/src/vs/workbench/browser/parts/editor/editor.contribution.js +617 -139
  70. package/vscode/src/vs/workbench/browser/parts/editor/editorActions.js +578 -114
  71. package/vscode/src/vs/workbench/browser/parts/editor/editorCommands.js +96 -20
  72. package/vscode/src/vs/workbench/browser/parts/editor/editorConfiguration.js +30 -6
  73. package/vscode/src/vs/workbench/browser/parts/editor/editorPlaceholder.js +46 -9
  74. package/vscode/src/vs/workbench/browser/parts/editor/editorQuickAccess.js +30 -5
  75. package/vscode/src/vs/workbench/browser/parts/editor/editorStatus.js +309 -59
  76. package/vscode/src/vs/workbench/browser/parts/editor/sideBySideEditor.js +5 -1
  77. package/vscode/src/vs/workbench/browser/parts/editor/textCodeEditor.js +5 -1
  78. package/vscode/src/vs/workbench/browser/parts/editor/textDiffEditor.js +16 -3
  79. package/vscode/src/vs/workbench/browser/parts/editor/textEditor.js +1 -1
  80. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCommands.js +35 -7
  81. package/vscode/src/vs/workbench/browser/parts/panel/panelActions.js +185 -33
  82. package/vscode/src/vs/workbench/browser/parts/titlebar/menubarControl.js +90 -57
  83. package/vscode/src/vs/workbench/browser/parts/views/viewFilter.js +5 -1
  84. package/vscode/src/vs/workbench/browser/parts/views/viewPane.js +16 -3
  85. package/vscode/src/vs/workbench/browser/parts/views/viewPaneContainer.js +26 -6
  86. package/vscode/src/vs/workbench/browser/parts/views/viewsService.js +35 -6
  87. package/vscode/src/vs/workbench/browser/quickaccess.js +6 -6
  88. package/vscode/src/vs/workbench/browser/workbench.contribution.js +918 -185
  89. package/vscode/src/vs/workbench/common/configuration.js +25 -11
  90. package/vscode/src/vs/workbench/common/contextkeys.js +244 -228
  91. package/vscode/src/vs/workbench/common/editor/diffEditorInput.js +7 -1
  92. package/vscode/src/vs/workbench/common/editor/resourceEditorInput.d.ts +44 -0
  93. package/vscode/src/vs/workbench/common/editor/sideBySideEditorInput.js +7 -1
  94. package/vscode/src/vs/workbench/common/editor/textEditorModel.js +6 -1
  95. package/vscode/src/vs/workbench/common/editor/textResourceEditorInput.d.ts +23 -0
  96. package/vscode/src/vs/workbench/common/editor.d.ts +26 -1
  97. package/vscode/src/vs/workbench/common/editor.js +26 -5
  98. package/vscode/src/vs/workbench/common/theme.js +676 -136
  99. package/vscode/src/vs/workbench/common/views.js +8 -3
  100. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +71 -14
  101. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityContributions.js +21 -2
  102. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleView.js +133 -21
  103. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleViewActions.js +36 -8
  104. package/vscode/src/vs/workbench/contrib/bulkEdit/browser/bulkEditService.js +96 -17
  105. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatActions.js +0 -2
  106. package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.js +22 -4
  107. package/vscode/src/vs/workbench/contrib/chat/common/chatSlashCommands.js +22 -4
  108. package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +41 -8
  109. package/vscode/src/vs/workbench/contrib/codeActions/common/codeActionsExtensionPoint.js +25 -5
  110. package/vscode/src/vs/workbench/contrib/codeActions/common/documentationExtensionPoint.js +30 -6
  111. package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +34 -6
  112. package/vscode/src/vs/workbench/contrib/codeEditor/browser/editorFeatures.js +44 -0
  113. package/vscode/src/vs/workbench/contrib/codeEditor/browser/inspectEditorTokens/inspectEditorTokens.js +10 -2
  114. package/vscode/src/vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint.js +320 -63
  115. package/vscode/src/vs/workbench/contrib/codeEditor/browser/largeFileOptimizations.js +12 -4
  116. package/vscode/src/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoLineQuickAccess.js +15 -3
  117. package/vscode/src/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoSymbolQuickAccess.js +30 -6
  118. package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +25 -4
  119. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMinimap.js +10 -2
  120. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMultiCursorModifier.js +20 -4
  121. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderControlCharacter.js +10 -2
  122. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderWhitespace.js +10 -2
  123. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +25 -9
  124. package/vscode/src/vs/workbench/contrib/comments/browser/commentColors.js +30 -6
  125. package/vscode/src/vs/workbench/contrib/comments/browser/commentGlyphWidget.js +25 -5
  126. package/vscode/src/vs/workbench/contrib/comments/browser/commentNode.js +16 -3
  127. package/vscode/src/vs/workbench/contrib/comments/browser/commentReply.js +8 -4
  128. package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadBody.js +23 -3
  129. package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadHeader.js +15 -9
  130. package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadWidget.js +18 -3
  131. package/vscode/src/vs/workbench/contrib/comments/browser/comments.contribution.js +142 -26
  132. package/vscode/src/vs/workbench/contrib/comments/browser/commentsController.js +33 -5
  133. package/vscode/src/vs/workbench/contrib/comments/browser/commentsTreeViewer.js +45 -7
  134. package/vscode/src/vs/workbench/contrib/comments/browser/commentsView.js +63 -10
  135. package/vscode/src/vs/workbench/contrib/comments/browser/commentsViewActions.js +45 -9
  136. package/vscode/src/vs/workbench/contrib/comments/browser/reactionsAction.js +16 -8
  137. package/vscode/src/vs/workbench/contrib/comments/common/commentContextKeys.js +41 -21
  138. package/vscode/src/vs/workbench/contrib/comments/common/commentModel.js +5 -1
  139. package/vscode/src/vs/workbench/contrib/customEditor/common/customEditor.js +5 -1
  140. package/vscode/src/vs/workbench/contrib/debug/browser/debugColors.js +60 -12
  141. package/vscode/src/vs/workbench/contrib/debug/browser/debugIcons.js +275 -55
  142. package/vscode/src/vs/workbench/contrib/debug/common/abstractDebugAdapter.js +7 -1
  143. package/vscode/src/vs/workbench/contrib/debug/common/debug.js +255 -94
  144. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsIcons.js +120 -24
  145. package/vscode/src/vs/workbench/contrib/externalUriOpener/common/configuration.js +22 -4
  146. package/vscode/src/vs/workbench/contrib/externalUriOpener/common/externalUriOpenerService.js +21 -4
  147. package/vscode/src/vs/workbench/contrib/files/browser/explorerViewlet.js +39 -51
  148. package/vscode/src/vs/workbench/contrib/files/browser/fileActions.js +394 -75
  149. package/vscode/src/vs/workbench/contrib/files/browser/fileConstants.js +17 -6
  150. package/vscode/src/vs/workbench/contrib/files/browser/fileImportExport.js +190 -32
  151. package/vscode/src/vs/workbench/contrib/files/browser/views/emptyView.js +5 -1
  152. package/vscode/src/vs/workbench/contrib/files/browser/views/explorerDecorationsProvider.js +21 -4
  153. package/vscode/src/vs/workbench/contrib/files/browser/views/explorerView.js +26 -5
  154. package/vscode/src/vs/workbench/contrib/files/browser/views/explorerViewer.js +81 -14
  155. package/vscode/src/vs/workbench/contrib/files/browser/views/openEditorsView.js +26 -5
  156. package/vscode/src/vs/workbench/contrib/files/common/files.js +70 -26
  157. package/vscode/src/vs/workbench/contrib/folding/browser/folding.contribution.js +11 -3
  158. package/vscode/src/vs/workbench/contrib/format/browser/formatModified.js +5 -1
  159. package/vscode/src/vs/workbench/contrib/inlayHints/browser/inlayHintsAccessibilty.js +20 -4
  160. package/vscode/src/vs/workbench/contrib/inlineChat/common/inlineChat.js +75 -111
  161. package/vscode/src/vs/workbench/contrib/keybindings/browser/keybindings.contribution.js +5 -1
  162. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInput.js +6 -1
  163. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInputModel.js +151 -29
  164. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/mergeEditorModel.js +10 -2
  165. package/vscode/src/vs/workbench/contrib/mergeEditor/common/mergeEditor.js +0 -42
  166. package/vscode/src/vs/workbench/contrib/output/browser/output.contribution.js +115 -23
  167. package/vscode/src/vs/workbench/contrib/output/browser/outputView.js +17 -3
  168. package/vscode/src/vs/workbench/contrib/quickaccess/browser/commandsQuickAccess.js +49 -9
  169. package/vscode/src/vs/workbench/contrib/quickaccess/browser/quickAccess.contribution.js +66 -13
  170. package/vscode/src/vs/workbench/contrib/quickaccess/browser/viewQuickAccess.js +52 -10
  171. package/vscode/src/vs/workbench/contrib/scm/browser/dirtyDiffSwitcher.js +10 -2
  172. package/vscode/src/vs/workbench/contrib/scm/browser/dirtydiffDecorator.js +110 -26
  173. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCompletionProvider.js +21 -3
  174. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsFile.js +15 -3
  175. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsService.js +56 -9
  176. package/vscode/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.js +25 -5
  177. package/vscode/src/vs/workbench/contrib/tasks/common/taskService.js +16 -26
  178. package/vscode/src/vs/workbench/contrib/tasks/common/tasks.js +7 -8
  179. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalEditorInput.js +20 -4
  180. package/vscode/src/vs/workbench/contrib/terminal/common/terminal.js +35 -7
  181. package/vscode/src/vs/workbench/contrib/terminal/common/terminalColorRegistry.js +106 -21
  182. package/vscode/src/vs/workbench/contrib/terminal/common/terminalContextKey.js +81 -21
  183. package/vscode/src/vs/workbench/contrib/testing/common/testResult.js +6 -1
  184. package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditor.js +6 -2
  185. package/vscode/src/vs/workbench/services/actions/common/menusExtensionPoint.js +592 -112
  186. package/vscode/src/vs/workbench/services/assignment/common/assignmentService.js +5 -1
  187. package/vscode/src/vs/workbench/services/authentication/browser/authenticationService.js +6 -32
  188. package/vscode/src/vs/workbench/services/configuration/common/jsonEditingService.js +5 -1
  189. package/vscode/src/vs/workbench/services/decorations/browser/decorationsService.js +5 -1
  190. package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +5 -1
  191. package/vscode/src/vs/workbench/services/extensions/browser/extensionUrlHandler.js +15 -3
  192. package/vscode/src/vs/workbench/services/extensions/common/abstractExtensionService.js +58 -10
  193. package/vscode/src/vs/workbench/services/extensions/common/extensionHostManager.js +5 -1
  194. package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +392 -80
  195. package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.js +28 -5
  196. package/vscode/src/vs/workbench/services/host/browser/browserHostService.js +10 -2
  197. package/vscode/src/vs/workbench/services/keybinding/browser/keybindingService.js +129 -24
  198. package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayoutService.js +10 -2
  199. package/vscode/src/vs/workbench/services/keybinding/common/keybindingEditing.js +20 -10
  200. package/vscode/src/vs/workbench/services/language/common/languageService.js +122 -22
  201. package/vscode/src/vs/workbench/services/remote/common/tunnelModel.js +28 -9
  202. package/vscode/src/vs/workbench/services/search/common/queryBuilder.js +6 -1
  203. package/vscode/src/vs/workbench/services/textfile/browser/textFileService.js +48 -9
  204. package/vscode/src/vs/workbench/services/textfile/common/textFileEditorModel.js +5 -1
  205. package/vscode/src/vs/workbench/services/textfile/common/textFileEditorModelManager.js +7 -1
  206. package/vscode/src/vs/workbench/services/textfile/common/textFileSaveParticipant.js +6 -1
  207. package/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.js +81 -16
  208. package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +1 -50
  209. package/vscode/src/vs/workbench/services/themes/common/tokenClassificationExtensionPoint.js +126 -25
  210. package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfile.js +6 -5
  211. package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +6 -14
  212. package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopySaveParticipant.js +6 -1
@@ -10,270 +10,431 @@ 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(
13
+ const CONTEXT_DEBUG_TYPE = ( new RawContextKey('debugType', undefined, { type: 'string', description: ( nls.localizeWithPath(
14
+ 'vs/workbench/contrib/debug/common/debug',
14
15
  'debugType',
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
- ));
16
+ "Debug type of the active debug session. For example 'python'."
17
+ )) }));
18
18
  const CONTEXT_DEBUG_CONFIGURATION_TYPE = ( new RawContextKey(
19
19
  'debugConfigurationType',
20
20
  undefined,
21
- { type: 'string', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'debugConfigurationType', "Debug type of the selected launch configuration. For example 'python'.") }
22
- ));
23
- const CONTEXT_DEBUG_STATE = ( new RawContextKey(
21
+ { type: 'string', description: ( nls.localizeWithPath(
22
+ 'vs/workbench/contrib/debug/common/debug',
23
+ 'debugConfigurationType',
24
+ "Debug type of the selected launch configuration. For example 'python'."
25
+ )) }
26
+ ));
27
+ const CONTEXT_DEBUG_STATE = ( new RawContextKey('debugState', 'inactive', { type: 'string', description: ( nls.localizeWithPath(
28
+ 'vs/workbench/contrib/debug/common/debug',
24
29
  'debugState',
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
- ));
30
+ "State that the focused debug session is in. One of the following: 'inactive', 'initializing', 'stopped' or 'running'."
31
+ )) }));
28
32
  const CONTEXT_DEBUG_UX_KEY = 'debugUx';
29
33
  const CONTEXT_DEBUG_UX = ( new RawContextKey(
30
34
  CONTEXT_DEBUG_UX_KEY,
31
35
  'default',
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.") }
33
- ));
34
- const CONTEXT_HAS_DEBUGGED = ( new RawContextKey(
36
+ { type: 'string', description: ( nls.localizeWithPath(
37
+ 'vs/workbench/contrib/debug/common/debug',
38
+ 'debugUX',
39
+ "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."
40
+ )) }
41
+ ));
42
+ const CONTEXT_HAS_DEBUGGED = ( new RawContextKey('hasDebugged', false, { type: 'boolean', description: ( nls.localizeWithPath(
43
+ 'vs/workbench/contrib/debug/common/debug',
35
44
  'hasDebugged',
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(
45
+ "True when a debug session has been started at least once, false otherwise."
46
+ )) }));
47
+ const CONTEXT_IN_DEBUG_MODE = ( new RawContextKey('inDebugMode', false, { type: 'boolean', description: ( nls.localizeWithPath(
48
+ 'vs/workbench/contrib/debug/common/debug',
40
49
  '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(
50
+ "True when debugging, false otherwise."
51
+ )) }));
52
+ const CONTEXT_IN_DEBUG_REPL = ( new RawContextKey('inDebugRepl', false, { type: 'boolean', description: ( nls.localizeWithPath(
53
+ 'vs/workbench/contrib/debug/common/debug',
45
54
  '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
- ));
55
+ "True when focus is in the debug console, false otherwise."
56
+ )) }));
49
57
  const CONTEXT_BREAKPOINT_WIDGET_VISIBLE = ( new RawContextKey(
50
58
  'breakpointWidgetVisible',
51
59
  false,
52
- { type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'breakpointWidgetVisibile', "True when breakpoint editor zone widget is visible, false otherwise.") }
60
+ { type: 'boolean', description: ( nls.localizeWithPath(
61
+ 'vs/workbench/contrib/debug/common/debug',
62
+ 'breakpointWidgetVisibile',
63
+ "True when breakpoint editor zone widget is visible, false otherwise."
64
+ )) }
53
65
  ));
54
66
  const CONTEXT_IN_BREAKPOINT_WIDGET = ( new RawContextKey(
55
67
  'inBreakpointWidget',
56
68
  false,
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.") }
69
+ { type: 'boolean', description: ( nls.localizeWithPath(
70
+ 'vs/workbench/contrib/debug/common/debug',
71
+ 'inBreakpointWidget',
72
+ "True when focus is in the breakpoint editor zone widget, false otherwise."
73
+ )) }
58
74
  ));
59
- const CONTEXT_BREAKPOINTS_FOCUSED = ( new RawContextKey(
75
+ const CONTEXT_BREAKPOINTS_FOCUSED = ( new RawContextKey('breakpointsFocused', true, { type: 'boolean', description: ( nls.localizeWithPath(
76
+ 'vs/workbench/contrib/debug/common/debug',
60
77
  'breakpointsFocused',
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
- ));
78
+ "True when the BREAKPOINTS view is focused, false otherwise."
79
+ )) }));
64
80
  const CONTEXT_WATCH_EXPRESSIONS_FOCUSED = ( new RawContextKey(
65
81
  'watchExpressionsFocused',
66
82
  true,
67
- { type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'watchExpressionsFocused', "True when the WATCH view is focused, false otherwsie.") }
83
+ { type: 'boolean', description: ( nls.localizeWithPath(
84
+ 'vs/workbench/contrib/debug/common/debug',
85
+ 'watchExpressionsFocused',
86
+ "True when the WATCH view is focused, false otherwsie."
87
+ )) }
68
88
  ));
69
89
  const CONTEXT_WATCH_EXPRESSIONS_EXIST = ( new RawContextKey(
70
90
  'watchExpressionsExist',
71
91
  false,
72
- { type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'watchExpressionsExist', "True when at least one watch expression exists, false otherwise.") }
92
+ { type: 'boolean', description: ( nls.localizeWithPath(
93
+ 'vs/workbench/contrib/debug/common/debug',
94
+ 'watchExpressionsExist',
95
+ "True when at least one watch expression exists, false otherwise."
96
+ )) }
73
97
  ));
74
- const CONTEXT_VARIABLES_FOCUSED = ( new RawContextKey(
98
+ const CONTEXT_VARIABLES_FOCUSED = ( new RawContextKey('variablesFocused', true, { type: 'boolean', description: ( nls.localizeWithPath(
99
+ 'vs/workbench/contrib/debug/common/debug',
75
100
  'variablesFocused',
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
- ));
101
+ "True when the VARIABLES views is focused, false otherwsie"
102
+ )) }));
79
103
  const CONTEXT_EXPRESSION_SELECTED = ( new RawContextKey(
80
104
  'expressionSelected',
81
105
  false,
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.") }
106
+ { type: 'boolean', description: ( nls.localizeWithPath(
107
+ 'vs/workbench/contrib/debug/common/debug',
108
+ 'expressionSelected',
109
+ "True when an expression input box is open in either the WATCH or the VARIABLES view, false otherwise."
110
+ )) }
83
111
  ));
84
112
  const CONTEXT_BREAKPOINT_INPUT_FOCUSED = ( new RawContextKey(
85
113
  'breakpointInputFocused',
86
114
  false,
87
- { type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'breakpointInputFocused', "True when the input box has focus in the BREAKPOINTS view.") }
115
+ { type: 'boolean', description: ( nls.localizeWithPath(
116
+ 'vs/workbench/contrib/debug/common/debug',
117
+ 'breakpointInputFocused',
118
+ "True when the input box has focus in the BREAKPOINTS view."
119
+ )) }
88
120
  ));
89
121
  const CONTEXT_CALLSTACK_ITEM_TYPE = ( new RawContextKey(
90
122
  'callStackItemType',
91
123
  undefined,
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'") }
124
+ { type: 'string', description: ( nls.localizeWithPath(
125
+ 'vs/workbench/contrib/debug/common/debug',
126
+ 'callStackItemType',
127
+ "Represents the item type of the focused element in the CALL STACK view. For example: 'session', 'thread', 'stackFrame'"
128
+ )) }
93
129
  ));
94
130
  const CONTEXT_CALLSTACK_SESSION_IS_ATTACH = ( new RawContextKey(
95
131
  'callStackSessionIsAttach',
96
132
  false,
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.") }
133
+ { type: 'boolean', description: ( nls.localizeWithPath(
134
+ 'vs/workbench/contrib/debug/common/debug',
135
+ 'callStackSessionIsAttach',
136
+ "True when the session in the CALL STACK view is attach, false otherwise. Used internally for inline menus in the CALL STACK view."
137
+ )) }
98
138
  ));
99
139
  const CONTEXT_CALLSTACK_ITEM_STOPPED = ( new RawContextKey(
100
140
  'callStackItemStopped',
101
141
  false,
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.") }
142
+ { type: 'boolean', description: ( nls.localizeWithPath(
143
+ 'vs/workbench/contrib/debug/common/debug',
144
+ 'callStackItemStopped',
145
+ "True when the focused item in the CALL STACK is stopped. Used internaly for inline menus in the CALL STACK view."
146
+ )) }
103
147
  ));
104
148
  const CONTEXT_CALLSTACK_SESSION_HAS_ONE_THREAD = ( new RawContextKey(
105
149
  'callStackSessionHasOneThread',
106
150
  false,
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.") }
151
+ { type: 'boolean', description: ( nls.localizeWithPath(
152
+ 'vs/workbench/contrib/debug/common/debug',
153
+ 'callStackSessionHasOneThread',
154
+ "True when the focused session in the CALL STACK view has exactly one thread. Used internally for inline menus in the CALL STACK view."
155
+ )) }
108
156
  ));
109
- const CONTEXT_WATCH_ITEM_TYPE = ( new RawContextKey(
157
+ const CONTEXT_WATCH_ITEM_TYPE = ( new RawContextKey('watchItemType', undefined, { type: 'string', description: ( nls.localizeWithPath(
158
+ 'vs/workbench/contrib/debug/common/debug',
110
159
  'watchItemType',
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(
160
+ "Represents the item type of the focused element in the WATCH view. For example: 'expression', 'variable'"
161
+ )) }));
162
+ const CONTEXT_CAN_VIEW_MEMORY = ( new RawContextKey('canViewMemory', undefined, { type: 'boolean', description: ( nls.localizeWithPath(
163
+ 'vs/workbench/contrib/debug/common/debug',
115
164
  'canViewMemory',
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
- ));
165
+ "Indicates whether the item in the view has an associated memory refrence."
166
+ )) }));
119
167
  const CONTEXT_BREAKPOINT_ITEM_TYPE = ( new RawContextKey(
120
168
  'breakpointItemType',
121
169
  undefined,
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'") }
170
+ { type: 'string', description: ( nls.localizeWithPath(
171
+ 'vs/workbench/contrib/debug/common/debug',
172
+ 'breakpointItemType',
173
+ "Represents the item type of the focused element in the BREAKPOINTS view. For example: 'breakpoint', 'exceptionBreakppint', 'functionBreakpoint', 'dataBreakpoint'"
174
+ )) }
123
175
  ));
124
176
  const CONTEXT_BREAKPOINT_SUPPORTS_CONDITION = ( new RawContextKey(
125
177
  'breakpointSupportsCondition',
126
178
  false,
127
- { type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'breakpointSupportsCondition', "True when the focused breakpoint supports conditions.") }
179
+ { type: 'boolean', description: ( nls.localizeWithPath(
180
+ 'vs/workbench/contrib/debug/common/debug',
181
+ 'breakpointSupportsCondition',
182
+ "True when the focused breakpoint supports conditions."
183
+ )) }
128
184
  ));
129
185
  const CONTEXT_LOADED_SCRIPTS_SUPPORTED = ( new RawContextKey(
130
186
  'loadedScriptsSupported',
131
187
  false,
132
- { type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'loadedScriptsSupported', "True when the focused sessions supports the LOADED SCRIPTS view") }
188
+ { type: 'boolean', description: ( nls.localizeWithPath(
189
+ 'vs/workbench/contrib/debug/common/debug',
190
+ 'loadedScriptsSupported',
191
+ "True when the focused sessions supports the LOADED SCRIPTS view"
192
+ )) }
133
193
  ));
134
194
  const CONTEXT_LOADED_SCRIPTS_ITEM_TYPE = ( new RawContextKey(
135
195
  'loadedScriptsItemType',
136
196
  undefined,
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.") }
197
+ { type: 'string', description: ( nls.localizeWithPath(
198
+ 'vs/workbench/contrib/debug/common/debug',
199
+ 'loadedScriptsItemType',
200
+ "Represents the item type of the focused element in the LOADED SCRIPTS view."
201
+ )) }
138
202
  ));
139
203
  const CONTEXT_FOCUSED_SESSION_IS_ATTACH = ( new RawContextKey(
140
204
  'focusedSessionIsAttach',
141
205
  false,
142
- { type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'focusedSessionIsAttach', "True when the focused session is 'attach'.") }
206
+ { type: 'boolean', description: ( nls.localizeWithPath(
207
+ 'vs/workbench/contrib/debug/common/debug',
208
+ 'focusedSessionIsAttach',
209
+ "True when the focused session is 'attach'."
210
+ )) }
143
211
  ));
144
- const CONTEXT_STEP_BACK_SUPPORTED = ( new RawContextKey(
212
+ const CONTEXT_STEP_BACK_SUPPORTED = ( new RawContextKey('stepBackSupported', false, { type: 'boolean', description: ( nls.localizeWithPath(
213
+ 'vs/workbench/contrib/debug/common/debug',
145
214
  'stepBackSupported',
146
- false,
147
- { type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'stepBackSupported', "True when the focused session supports 'stepBack' requests.") }
148
- ));
215
+ "True when the focused session supports 'stepBack' requests."
216
+ )) }));
149
217
  const CONTEXT_RESTART_FRAME_SUPPORTED = ( new RawContextKey(
150
218
  'restartFrameSupported',
151
219
  false,
152
- { type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'restartFrameSupported', "True when the focused session supports 'restartFrame' requests.") }
220
+ { type: 'boolean', description: ( nls.localizeWithPath(
221
+ 'vs/workbench/contrib/debug/common/debug',
222
+ 'restartFrameSupported',
223
+ "True when the focused session supports 'restartFrame' requests."
224
+ )) }
153
225
  ));
154
226
  const CONTEXT_STACK_FRAME_SUPPORTS_RESTART = ( new RawContextKey(
155
227
  'stackFrameSupportsRestart',
156
228
  false,
157
- { type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'stackFrameSupportsRestart', "True when the focused stack frame suppots 'restartFrame'.") }
229
+ { type: 'boolean', description: ( nls.localizeWithPath(
230
+ 'vs/workbench/contrib/debug/common/debug',
231
+ 'stackFrameSupportsRestart',
232
+ "True when the focused stack frame suppots 'restartFrame'."
233
+ )) }
158
234
  ));
159
235
  const CONTEXT_JUMP_TO_CURSOR_SUPPORTED = ( new RawContextKey(
160
236
  'jumpToCursorSupported',
161
237
  false,
162
- { type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'jumpToCursorSupported', "True when the focused session supports 'jumpToCursor' request.") }
238
+ { type: 'boolean', description: ( nls.localizeWithPath(
239
+ 'vs/workbench/contrib/debug/common/debug',
240
+ 'jumpToCursorSupported',
241
+ "True when the focused session supports 'jumpToCursor' request."
242
+ )) }
163
243
  ));
164
244
  const CONTEXT_STEP_INTO_TARGETS_SUPPORTED = ( new RawContextKey(
165
245
  'stepIntoTargetsSupported',
166
246
  false,
167
- { type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'stepIntoTargetsSupported', "True when the focused session supports 'stepIntoTargets' request.") }
247
+ { type: 'boolean', description: ( nls.localizeWithPath(
248
+ 'vs/workbench/contrib/debug/common/debug',
249
+ 'stepIntoTargetsSupported',
250
+ "True when the focused session supports 'stepIntoTargets' request."
251
+ )) }
168
252
  ));
169
- const CONTEXT_BREAKPOINTS_EXIST = ( new RawContextKey(
253
+ const CONTEXT_BREAKPOINTS_EXIST = ( new RawContextKey('breakpointsExist', false, { type: 'boolean', description: ( nls.localizeWithPath(
254
+ 'vs/workbench/contrib/debug/common/debug',
170
255
  'breakpointsExist',
171
- false,
172
- { type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'breakpointsExist', "True when at least one breakpoint exists.") }
173
- ));
256
+ "True when at least one breakpoint exists."
257
+ )) }));
174
258
  const CONTEXT_DEBUGGERS_AVAILABLE = ( new RawContextKey(
175
259
  'debuggersAvailable',
176
260
  false,
177
- { type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'debuggersAvailable', "True when there is at least one debug extensions active.") }
261
+ { type: 'boolean', description: ( nls.localizeWithPath(
262
+ 'vs/workbench/contrib/debug/common/debug',
263
+ 'debuggersAvailable',
264
+ "True when there is at least one debug extensions active."
265
+ )) }
178
266
  ));
179
267
  const CONTEXT_DEBUG_EXTENSION_AVAILABLE = ( new RawContextKey(
180
268
  'debugExtensionAvailable',
181
269
  true,
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.") }
270
+ { type: 'boolean', description: ( nls.localizeWithPath(
271
+ 'vs/workbench/contrib/debug/common/debug',
272
+ 'debugExtensionsAvailable',
273
+ "True when there is at least one debug extension installed and enabled."
274
+ )) }
183
275
  ));
184
276
  const CONTEXT_DEBUG_PROTOCOL_VARIABLE_MENU_CONTEXT = ( new RawContextKey(
185
277
  'debugProtocolVariableMenuContext',
186
278
  undefined,
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.") }
279
+ { type: 'string', description: ( nls.localizeWithPath(
280
+ 'vs/workbench/contrib/debug/common/debug',
281
+ 'debugProtocolVariableMenuContext',
282
+ "Represents the context the debug adapter sets on the focused variable in the VARIABLES view."
283
+ )) }
188
284
  ));
189
285
  const CONTEXT_SET_VARIABLE_SUPPORTED = ( new RawContextKey(
190
286
  'debugSetVariableSupported',
191
287
  false,
192
- { type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'debugSetVariableSupported', "True when the focused session supports 'setVariable' request.") }
288
+ { type: 'boolean', description: ( nls.localizeWithPath(
289
+ 'vs/workbench/contrib/debug/common/debug',
290
+ 'debugSetVariableSupported',
291
+ "True when the focused session supports 'setVariable' request."
292
+ )) }
193
293
  ));
194
294
  const CONTEXT_SET_EXPRESSION_SUPPORTED = ( new RawContextKey(
195
295
  'debugSetExpressionSupported',
196
296
  false,
197
- { type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'debugSetExpressionSupported', "True when the focused session supports 'setExpression' request.") }
297
+ { type: 'boolean', description: ( nls.localizeWithPath(
298
+ 'vs/workbench/contrib/debug/common/debug',
299
+ 'debugSetExpressionSupported',
300
+ "True when the focused session supports 'setExpression' request."
301
+ )) }
198
302
  ));
199
303
  const CONTEXT_BREAK_WHEN_VALUE_CHANGES_SUPPORTED = ( new RawContextKey(
200
304
  'breakWhenValueChangesSupported',
201
305
  false,
202
- { type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'breakWhenValueChangesSupported', "True when the focused session supports to break when value changes.") }
306
+ { type: 'boolean', description: ( nls.localizeWithPath(
307
+ 'vs/workbench/contrib/debug/common/debug',
308
+ 'breakWhenValueChangesSupported',
309
+ "True when the focused session supports to break when value changes."
310
+ )) }
203
311
  ));
204
312
  const CONTEXT_BREAK_WHEN_VALUE_IS_ACCESSED_SUPPORTED = ( new RawContextKey(
205
313
  'breakWhenValueIsAccessedSupported',
206
314
  false,
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.") }
315
+ { type: 'boolean', description: ( nls.localizeWithPath(
316
+ 'vs/workbench/contrib/debug/common/debug',
317
+ 'breakWhenValueIsAccessedSupported',
318
+ "True when the focused breakpoint supports to break when value is accessed."
319
+ )) }
208
320
  ));
209
321
  const CONTEXT_BREAK_WHEN_VALUE_IS_READ_SUPPORTED = ( new RawContextKey(
210
322
  'breakWhenValueIsReadSupported',
211
323
  false,
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.") }
324
+ { type: 'boolean', description: ( nls.localizeWithPath(
325
+ 'vs/workbench/contrib/debug/common/debug',
326
+ 'breakWhenValueIsReadSupported',
327
+ "True when the focused breakpoint supports to break when value is read."
328
+ )) }
213
329
  ));
214
330
  const CONTEXT_TERMINATE_DEBUGGEE_SUPPORTED = ( new RawContextKey(
215
331
  'terminateDebuggeeSupported',
216
332
  false,
217
- { type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'terminateDebuggeeSupported', "True when the focused session supports the terminate debuggee capability.") }
333
+ { type: 'boolean', description: ( nls.localizeWithPath(
334
+ 'vs/workbench/contrib/debug/common/debug',
335
+ 'terminateDebuggeeSupported',
336
+ "True when the focused session supports the terminate debuggee capability."
337
+ )) }
218
338
  ));
219
339
  const CONTEXT_SUSPEND_DEBUGGEE_SUPPORTED = ( new RawContextKey(
220
340
  'suspendDebuggeeSupported',
221
341
  false,
222
- { type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'suspendDebuggeeSupported', "True when the focused session supports the suspend debuggee capability.") }
342
+ { type: 'boolean', description: ( nls.localizeWithPath(
343
+ 'vs/workbench/contrib/debug/common/debug',
344
+ 'suspendDebuggeeSupported',
345
+ "True when the focused session supports the suspend debuggee capability."
346
+ )) }
223
347
  ));
224
348
  const CONTEXT_VARIABLE_EVALUATE_NAME_PRESENT = ( new RawContextKey(
225
349
  'variableEvaluateNamePresent',
226
350
  false,
227
- { type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'variableEvaluateNamePresent', "True when the focused variable has an 'evalauteName' field set.") }
351
+ { type: 'boolean', description: ( nls.localizeWithPath(
352
+ 'vs/workbench/contrib/debug/common/debug',
353
+ 'variableEvaluateNamePresent',
354
+ "True when the focused variable has an 'evalauteName' field set."
355
+ )) }
228
356
  ));
229
357
  const CONTEXT_VARIABLE_IS_READONLY = ( new RawContextKey(
230
358
  'variableIsReadonly',
231
359
  false,
232
- { type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'variableIsReadonly', "True when the focused variable is read-only.") }
360
+ { type: 'boolean', description: ( nls.localizeWithPath(
361
+ 'vs/workbench/contrib/debug/common/debug',
362
+ 'variableIsReadonly',
363
+ "True when the focused variable is read-only."
364
+ )) }
233
365
  ));
234
366
  const CONTEXT_EXCEPTION_WIDGET_VISIBLE = ( new RawContextKey(
235
367
  'exceptionWidgetVisible',
236
368
  false,
237
- { type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'exceptionWidgetVisible', "True when the exception widget is visible.") }
369
+ { type: 'boolean', description: ( nls.localizeWithPath(
370
+ 'vs/workbench/contrib/debug/common/debug',
371
+ 'exceptionWidgetVisible',
372
+ "True when the exception widget is visible."
373
+ )) }
238
374
  ));
239
- const CONTEXT_MULTI_SESSION_REPL = ( new RawContextKey(
375
+ const CONTEXT_MULTI_SESSION_REPL = ( new RawContextKey('multiSessionRepl', false, { type: 'boolean', description: ( nls.localizeWithPath(
376
+ 'vs/workbench/contrib/debug/common/debug',
240
377
  '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.") }
243
- ));
244
- const CONTEXT_MULTI_SESSION_DEBUG = ( new RawContextKey(
378
+ "True when there is more than 1 debug console."
379
+ )) }));
380
+ const CONTEXT_MULTI_SESSION_DEBUG = ( new RawContextKey('multiSessionDebug', false, { type: 'boolean', description: ( nls.localizeWithPath(
381
+ 'vs/workbench/contrib/debug/common/debug',
245
382
  'multiSessionDebug',
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
- ));
383
+ "True when there is more than 1 active debug session."
384
+ )) }));
249
385
  const CONTEXT_DISASSEMBLE_REQUEST_SUPPORTED = ( new RawContextKey(
250
386
  'disassembleRequestSupported',
251
387
  false,
252
- { type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'disassembleRequestSupported', "True when the focused sessions supports disassemble request.") }
388
+ { type: 'boolean', description: ( nls.localizeWithPath(
389
+ 'vs/workbench/contrib/debug/common/debug',
390
+ 'disassembleRequestSupported',
391
+ "True when the focused sessions supports disassemble request."
392
+ )) }
253
393
  ));
254
394
  const CONTEXT_DISASSEMBLY_VIEW_FOCUS = ( new RawContextKey(
255
395
  'disassemblyViewFocus',
256
396
  false,
257
- { type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'disassemblyViewFocus', "True when the Disassembly View is focused.") }
397
+ { type: 'boolean', description: ( nls.localizeWithPath(
398
+ 'vs/workbench/contrib/debug/common/debug',
399
+ 'disassemblyViewFocus',
400
+ "True when the Disassembly View is focused."
401
+ )) }
258
402
  ));
259
403
  const CONTEXT_LANGUAGE_SUPPORTS_DISASSEMBLE_REQUEST = ( new RawContextKey(
260
404
  'languageSupportsDisassembleRequest',
261
405
  false,
262
- { type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'languageSupportsDisassembleRequest', "True when the language in the current editor supports disassemble request.") }
406
+ { type: 'boolean', description: ( nls.localizeWithPath(
407
+ 'vs/workbench/contrib/debug/common/debug',
408
+ 'languageSupportsDisassembleRequest',
409
+ "True when the language in the current editor supports disassemble request."
410
+ )) }
263
411
  ));
264
412
  const CONTEXT_FOCUSED_STACK_FRAME_HAS_INSTRUCTION_POINTER_REFERENCE = ( new RawContextKey(
265
413
  'focusedStackFrameHasInstructionReference',
266
414
  false,
267
- { type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'focusedStackFrameHasInstructionReference', "True when the focused stack frame has instruction pointer reference.") }
415
+ { type: 'boolean', description: ( nls.localizeWithPath(
416
+ 'vs/workbench/contrib/debug/common/debug',
417
+ 'focusedStackFrameHasInstructionReference',
418
+ "True when the focused stack frame has instruction pointer reference."
419
+ )) }
420
+ ));
421
+ const debuggerDisabledMessage = (debugType) => ( nls.localizeWithPath(
422
+ 'vs/workbench/contrib/debug/common/debug',
423
+ 'debuggerDisabled',
424
+ "Configured debug type '{0}' is installed but not supported in this environment.",
425
+ debugType
268
426
  ));
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);
270
427
  const EDITOR_CONTRIBUTION_ID = 'editor.contrib.debug';
271
428
  const BREAKPOINT_EDITOR_CONTRIBUTION_ID = 'editor.contrib.breakpoint';
272
429
  const DEBUG_SCHEME = 'debug';
273
430
  const INTERNAL_CONSOLE_OPTIONS_SCHEMA = {
274
431
  enum: ['neverOpen', 'openOnSessionStart', 'openOnFirstSessionStart'],
275
432
  default: 'openOnFirstSessionStart',
276
- description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'internalConsoleOptions', "Controls when the internal Debug Console should open.")
433
+ description: ( nls.localizeWithPath(
434
+ 'vs/workbench/contrib/debug/common/debug',
435
+ 'internalConsoleOptions',
436
+ "Controls when the internal Debug Console should open."
437
+ ))
277
438
  };
278
439
  function getStateLabel(state) {
279
440
  switch (state) {