@codingame/monaco-vscode-debug-service-override 7.1.0 → 7.1.1

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 (39) hide show
  1. package/package.json +2 -2
  2. package/vscode/src/vs/workbench/contrib/debug/browser/callStackView.js +21 -25
  3. package/vscode/src/vs/workbench/contrib/debug/browser/debug.contribution.js +155 -174
  4. package/vscode/src/vs/workbench/contrib/debug/browser/debugActionViewItems.js +32 -9
  5. package/vscode/src/vs/workbench/contrib/debug/browser/debugAdapterManager.js +16 -25
  6. package/vscode/src/vs/workbench/contrib/debug/browser/debugConfigurationManager.js +7 -9
  7. package/vscode/src/vs/workbench/contrib/debug/browser/debugConsoleQuickAccess.js +2 -3
  8. package/vscode/src/vs/workbench/contrib/debug/browser/debugEditorActions.js +25 -26
  9. package/vscode/src/vs/workbench/contrib/debug/browser/debugEditorContribution.js +3 -4
  10. package/vscode/src/vs/workbench/contrib/debug/browser/debugHover.js +5 -13
  11. package/vscode/src/vs/workbench/contrib/debug/browser/debugQuickAccess.js +9 -10
  12. package/vscode/src/vs/workbench/contrib/debug/browser/debugService.js +38 -73
  13. package/vscode/src/vs/workbench/contrib/debug/browser/debugSession.js +69 -129
  14. package/vscode/src/vs/workbench/contrib/debug/browser/debugSettingMigration.js +19 -0
  15. package/vscode/src/vs/workbench/contrib/debug/browser/debugStatus.js +4 -5
  16. package/vscode/src/vs/workbench/contrib/debug/browser/debugTaskRunner.js +20 -25
  17. package/vscode/src/vs/workbench/contrib/debug/browser/debugToolBar.js +6 -7
  18. package/vscode/src/vs/workbench/contrib/debug/browser/debugViewlet.js +7 -13
  19. package/vscode/src/vs/workbench/contrib/debug/browser/disassemblyView.js +8 -9
  20. package/vscode/src/vs/workbench/contrib/debug/browser/exceptionWidget.js +5 -6
  21. package/vscode/src/vs/workbench/contrib/debug/browser/linkDetector.js +4 -5
  22. package/vscode/src/vs/workbench/contrib/debug/browser/loadedScriptsView.js +8 -14
  23. package/vscode/src/vs/workbench/contrib/debug/browser/rawDebugSession.js +7 -9
  24. package/vscode/src/vs/workbench/contrib/debug/browser/repl.js +52 -23
  25. package/vscode/src/vs/workbench/contrib/debug/browser/replAccessibilityHelp.js +104 -0
  26. package/vscode/src/vs/workbench/contrib/debug/browser/replAccessibleView.js +122 -0
  27. package/vscode/src/vs/workbench/contrib/debug/browser/replViewer.js +7 -9
  28. package/vscode/src/vs/workbench/contrib/debug/browser/runAndDebugAccessibilityHelp.js +128 -0
  29. package/vscode/src/vs/workbench/contrib/debug/browser/statusbarColorProvider.js +8 -16
  30. package/vscode/src/vs/workbench/contrib/debug/browser/variablesView.js +25 -32
  31. package/vscode/src/vs/workbench/contrib/debug/browser/watchExpressionsView.js +13 -14
  32. package/vscode/src/vs/workbench/contrib/debug/browser/welcomeView.js +12 -17
  33. package/vscode/src/vs/workbench/contrib/debug/common/debugAccessibilityAnnouncer.js +47 -0
  34. package/vscode/src/vs/workbench/contrib/debug/common/debugContentProvider.js +4 -5
  35. package/vscode/src/vs/workbench/contrib/debug/common/debugLifecycle.js +6 -9
  36. package/vscode/src/vs/workbench/contrib/debug/common/debugSchemas.js +63 -98
  37. package/vscode/src/vs/workbench/contrib/debug/common/debugger.js +15 -25
  38. package/vscode/src/vs/workbench/contrib/debug/common/replAccessibilityAnnouncer.js +33 -0
  39. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariableCommands.js +3 -4
@@ -4,7 +4,8 @@ import { isWeb, isMacintosh } from 'vscode/vscode/vs/base/common/platform';
4
4
  import './media/debug.contribution.css.js';
5
5
  import './media/debugHover.css.js';
6
6
  import { registerEditorContribution, EditorContributionInstantiation } from 'vscode/vscode/vs/editor/browser/editorExtensions';
7
- import { localizeWithPath, localize2WithPath } from 'vscode/vscode/vs/nls';
7
+ import { localize, localize2 } from 'vscode/vscode/vs/nls';
8
+ import { AccessibleViewRegistry } from 'vscode/vscode/vs/platform/accessibility/browser/accessibleViewRegistry';
8
9
  import { MenuRegistry, MenuId } from 'vscode/vscode/vs/platform/actions/common/actions';
9
10
  import { Extensions as Extensions$3, ConfigurationScope } from 'vscode/vscode/vs/platform/configuration/common/configurationRegistry';
10
11
  import { ContextKeyExpr } from 'vscode/vscode/vs/platform/contextkey/common/contextkey';
@@ -14,13 +15,14 @@ import { Extensions as Extensions$1 } from 'vscode/vscode/vs/platform/quickinput
14
15
  import { Registry } from 'vscode/vscode/vs/platform/registry/common/platform';
15
16
  import { EditorPaneDescriptor } from 'vscode/vscode/vs/workbench/browser/editor';
16
17
  import { ViewPaneContainer } from 'vscode/vscode/vs/workbench/browser/parts/views/viewPaneContainer';
17
- import { Extensions } from 'vscode/vscode/vs/workbench/common/contributions';
18
+ import { Extensions, registerWorkbenchContribution2, WorkbenchPhase } from 'vscode/vscode/vs/workbench/common/contributions';
18
19
  import { EditorExtensions } from 'vscode/vscode/vs/workbench/common/editor';
19
20
  import { Extensions as Extensions$2, ViewContainerLocation } from 'vscode/vscode/vs/workbench/common/views';
20
21
  import { BreakpointEditorContribution } from 'vscode/vscode/vs/workbench/contrib/debug/browser/breakpointEditorContribution';
21
22
  import { BreakpointsView } from 'vscode/vscode/vs/workbench/contrib/debug/browser/breakpointsView';
22
23
  import { CallStackEditorContribution } from 'vscode/vscode/vs/workbench/contrib/debug/browser/callStackEditorContribution';
23
24
  import { CallStackView } from './callStackView.js';
25
+ import { ReplAccessibleView } from './replAccessibleView.js';
24
26
  import { registerColors } from 'vscode/vscode/vs/workbench/contrib/debug/browser/debugColors';
25
27
  import { DEBUG_QUICK_ACCESS_PREFIX, SELECT_AND_START_ID, DEBUG_CONSOLE_QUICK_ACCESS_PREFIX, SELECT_DEBUG_CONSOLE_ID, DEBUG_COMMAND_CATEGORY, RESTART_SESSION_ID, RESTART_LABEL, TERMINATE_THREAD_ID, STEP_OVER_ID, STEP_OVER_LABEL, STEP_INTO_ID, STEP_INTO_LABEL, STEP_INTO_TARGET_ID, STEP_INTO_TARGET_LABEL, STEP_OUT_ID, STEP_OUT_LABEL, PAUSE_ID, PAUSE_LABEL, DISCONNECT_ID, DISCONNECT_LABEL, DISCONNECT_AND_SUSPEND_ID, DISCONNECT_AND_SUSPEND_LABEL, STOP_ID, STOP_LABEL, CONTINUE_ID, CONTINUE_LABEL, FOCUS_REPL_ID, JUMP_TO_CURSOR_ID, TOGGLE_INLINE_BREAKPOINT_ID, DEBUG_START_COMMAND_ID, DEBUG_START_LABEL, DEBUG_RUN_COMMAND_ID, DEBUG_RUN_LABEL, SELECT_AND_START_LABEL, NEXT_DEBUG_CONSOLE_ID, NEXT_DEBUG_CONSOLE_LABEL, PREV_DEBUG_CONSOLE_ID, PREV_DEBUG_CONSOLE_LABEL, SHOW_LOADED_SCRIPTS_ID, OPEN_LOADED_SCRIPTS_LABEL, SELECT_DEBUG_CONSOLE_LABEL, SELECT_DEBUG_SESSION_ID, SELECT_DEBUG_SESSION_LABEL, CALLSTACK_TOP_ID, CALLSTACK_TOP_LABEL, CALLSTACK_BOTTOM_ID, CALLSTACK_BOTTOM_LABEL, CALLSTACK_UP_ID, CALLSTACK_UP_LABEL, CALLSTACK_DOWN_ID, CALLSTACK_DOWN_LABEL, RESTART_FRAME_ID, COPY_STACK_TRACE_ID, COPY_VALUE_ID, COPY_VALUE_LABEL, COPY_EVALUATE_PATH_ID, COPY_EVALUATE_PATH_LABEL, ADD_TO_WATCH_ID, ADD_TO_WATCH_LABEL, EDIT_EXPRESSION_COMMAND_ID, SET_EXPRESSION_COMMAND_ID, REMOVE_EXPRESSION_COMMAND_ID, ADD_CONFIGURATION_ID } from 'vscode/vscode/vs/workbench/contrib/debug/browser/debugCommands';
26
28
  import { DebugConsoleQuickAccess } from './debugConsoleQuickAccess.js';
@@ -50,9 +52,13 @@ import { DisassemblyViewInput } from 'vscode/vscode/vs/workbench/contrib/debug/c
50
52
  import { COPY_NOTEBOOK_VARIABLE_VALUE_ID, COPY_NOTEBOOK_VARIABLE_VALUE_LABEL } from '../../notebook/browser/contrib/notebookVariables/notebookVariableCommands.js';
51
53
  import { launchSchemaId } from 'vscode/vscode/vs/workbench/services/configuration/common/configuration';
52
54
  import { LifecyclePhase } from 'vscode/vscode/vs/workbench/services/lifecycle/common/lifecycle';
55
+ import './debugSettingMigration.js';
56
+ import { ReplAccessibilityHelp } from './replAccessibilityHelp.js';
57
+ import { ReplAccessibilityAnnouncer } from '../common/replAccessibilityAnnouncer.js';
58
+ import { RunAndDebugAccessibilityHelp } from './runAndDebugAccessibilityHelp.js';
59
+ import { DebugWatchAccessibilityAnnouncer } from '../common/debugAccessibilityAnnouncer.js';
53
60
 
54
- const _moduleId = "vs/workbench/contrib/debug/browser/debug.contribution";
55
- const debugCategory = ( localizeWithPath(_moduleId, 0, "Debug"));
61
+ const debugCategory = ( localize(2577, "Debug"));
56
62
  registerColors();
57
63
  ( (Registry.as(Extensions.Workbench))).registerWorkbenchContribution(DebugStatusContribution, LifecyclePhase.Eventually);
58
64
  ( (Registry.as(Extensions.Workbench))).registerWorkbenchContribution(DebugProgressContribution, LifecyclePhase.Eventually);
@@ -68,9 +74,9 @@ if (isWeb) {
68
74
  ctor: StartDebugQuickAccessProvider,
69
75
  prefix: DEBUG_QUICK_ACCESS_PREFIX,
70
76
  contextKey: 'inLaunchConfigurationsPicker',
71
- placeholder: ( localizeWithPath(_moduleId, 1, "Type the name of a launch configuration to run.")),
77
+ placeholder: ( localize(2578, "Type the name of a launch configuration to run.")),
72
78
  helpEntries: [{
73
- description: ( localizeWithPath(_moduleId, 2, "Start Debugging")),
79
+ description: ( localize(2579, "Start Debugging")),
74
80
  commandId: SELECT_AND_START_ID,
75
81
  commandCenterOrder: 50
76
82
  }]
@@ -79,8 +85,8 @@ if (isWeb) {
79
85
  ctor: DebugConsoleQuickAccess,
80
86
  prefix: DEBUG_CONSOLE_QUICK_ACCESS_PREFIX,
81
87
  contextKey: 'inDebugConsolePicker',
82
- placeholder: ( localizeWithPath(_moduleId, 3, "Type the name of a debug console to open.")),
83
- helpEntries: [{ description: ( localizeWithPath(_moduleId, 4, "Show All Debug Consoles")), commandId: SELECT_DEBUG_CONSOLE_ID }]
88
+ placeholder: ( localize(2580, "Type the name of a debug console to open.")),
89
+ helpEntries: [{ description: ( localize(2581, "Show All Debug Consoles")), commandId: SELECT_DEBUG_CONSOLE_ID }]
84
90
  });
85
91
  registerEditorContribution('editor.contrib.callStack', CallStackEditorContribution, EditorContributionInstantiation.AfterFirstRender);
86
92
  registerEditorContribution(BREAKPOINT_EDITOR_CONTRIBUTION_ID, BreakpointEditorContribution, EditorContributionInstantiation.AfterFirstRender);
@@ -98,7 +104,7 @@ const registerDebugCommandPaletteItem = (id, title, when, precondition) => {
98
104
  });
99
105
  };
100
106
  registerDebugCommandPaletteItem(RESTART_SESSION_ID, RESTART_LABEL);
101
- registerDebugCommandPaletteItem(TERMINATE_THREAD_ID, ( localize2WithPath(_moduleId, 5, "Terminate Thread")), CONTEXT_IN_DEBUG_MODE);
107
+ registerDebugCommandPaletteItem(TERMINATE_THREAD_ID, ( localize2(2582, "Terminate Thread")), CONTEXT_IN_DEBUG_MODE);
102
108
  registerDebugCommandPaletteItem(STEP_OVER_ID, STEP_OVER_LABEL, CONTEXT_IN_DEBUG_MODE, ( (CONTEXT_DEBUG_STATE.isEqualTo('stopped'))));
103
109
  registerDebugCommandPaletteItem(STEP_INTO_ID, STEP_INTO_LABEL, CONTEXT_IN_DEBUG_MODE, ( (CONTEXT_DEBUG_STATE.isEqualTo('stopped'))));
104
110
  registerDebugCommandPaletteItem(STEP_INTO_TARGET_ID, STEP_INTO_TARGET_LABEL, CONTEXT_IN_DEBUG_MODE, ( (ContextKeyExpr.and(
@@ -121,13 +127,13 @@ registerDebugCommandPaletteItem(STOP_ID, STOP_LABEL, CONTEXT_IN_DEBUG_MODE, ( (C
121
127
  CONTEXT_TERMINATE_DEBUGGEE_SUPPORTED
122
128
  ))));
123
129
  registerDebugCommandPaletteItem(CONTINUE_ID, CONTINUE_LABEL, CONTEXT_IN_DEBUG_MODE, ( (CONTEXT_DEBUG_STATE.isEqualTo('stopped'))));
124
- registerDebugCommandPaletteItem(FOCUS_REPL_ID, ( localize2WithPath(_moduleId, 6, "Focus on Debug Console View")));
125
- registerDebugCommandPaletteItem(JUMP_TO_CURSOR_ID, ( localize2WithPath(_moduleId, 7, "Jump to Cursor")), CONTEXT_JUMP_TO_CURSOR_SUPPORTED);
126
- registerDebugCommandPaletteItem(JUMP_TO_CURSOR_ID, ( localize2WithPath(_moduleId, 8, "Set Next Statement")), CONTEXT_JUMP_TO_CURSOR_SUPPORTED);
130
+ registerDebugCommandPaletteItem(FOCUS_REPL_ID, ( localize2(2583, "Focus on Debug Console View")));
131
+ registerDebugCommandPaletteItem(JUMP_TO_CURSOR_ID, ( localize2(2584, "Jump to Cursor")), CONTEXT_JUMP_TO_CURSOR_SUPPORTED);
132
+ registerDebugCommandPaletteItem(JUMP_TO_CURSOR_ID, ( localize2(2585, "Set Next Statement")), CONTEXT_JUMP_TO_CURSOR_SUPPORTED);
127
133
  registerDebugCommandPaletteItem(RunToCursorAction.ID, RunToCursorAction.LABEL, CONTEXT_DEBUGGERS_AVAILABLE);
128
134
  registerDebugCommandPaletteItem(SelectionToReplAction.ID, SelectionToReplAction.LABEL, CONTEXT_IN_DEBUG_MODE);
129
135
  registerDebugCommandPaletteItem(SelectionToWatchExpressionsAction.ID, SelectionToWatchExpressionsAction.LABEL);
130
- registerDebugCommandPaletteItem(TOGGLE_INLINE_BREAKPOINT_ID, ( localize2WithPath(_moduleId, 9, "Inline Breakpoint")));
136
+ registerDebugCommandPaletteItem(TOGGLE_INLINE_BREAKPOINT_ID, ( localize2(2586, "Inline Breakpoint")));
131
137
  registerDebugCommandPaletteItem(DEBUG_START_COMMAND_ID, DEBUG_START_LABEL, ( (ContextKeyExpr.and(
132
138
  CONTEXT_DEBUGGERS_AVAILABLE,
133
139
  (CONTEXT_DEBUG_STATE.notEqualsTo(getStateLabel(State.Initializing)))
@@ -185,45 +191,45 @@ registerDebugViewMenuItem(MenuId.DebugCallStackContext, CONTINUE_ID, CONTINUE_LA
185
191
  registerDebugViewMenuItem(MenuId.DebugCallStackContext, STEP_OVER_ID, STEP_OVER_LABEL, 20, ( (CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('thread'))), ( (CONTEXT_DEBUG_STATE.isEqualTo('stopped'))));
186
192
  registerDebugViewMenuItem(MenuId.DebugCallStackContext, STEP_INTO_ID, STEP_INTO_LABEL, 30, ( (CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('thread'))), ( (CONTEXT_DEBUG_STATE.isEqualTo('stopped'))));
187
193
  registerDebugViewMenuItem(MenuId.DebugCallStackContext, STEP_OUT_ID, STEP_OUT_LABEL, 40, ( (CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('thread'))), ( (CONTEXT_DEBUG_STATE.isEqualTo('stopped'))));
188
- registerDebugViewMenuItem(MenuId.DebugCallStackContext, TERMINATE_THREAD_ID, ( localizeWithPath(_moduleId, 5, "Terminate Thread")), 10, ( (CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('thread'))), undefined, 'termination');
189
- registerDebugViewMenuItem(MenuId.DebugCallStackContext, RESTART_FRAME_ID, ( localizeWithPath(_moduleId, 10, "Restart Frame")), 10, ( (ContextKeyExpr.and(
194
+ registerDebugViewMenuItem(MenuId.DebugCallStackContext, TERMINATE_THREAD_ID, ( localize(2586, "Terminate Thread")), 10, ( (CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('thread'))), undefined, 'termination');
195
+ registerDebugViewMenuItem(MenuId.DebugCallStackContext, RESTART_FRAME_ID, ( localize(2587, "Restart Frame")), 10, ( (ContextKeyExpr.and(
190
196
  (CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('stackFrame')),
191
197
  CONTEXT_RESTART_FRAME_SUPPORTED
192
198
  ))), CONTEXT_STACK_FRAME_SUPPORTS_RESTART);
193
- registerDebugViewMenuItem(MenuId.DebugCallStackContext, COPY_STACK_TRACE_ID, ( localizeWithPath(_moduleId, 11, "Copy Call Stack")), 20, ( (CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('stackFrame'))), undefined, '3_modification');
194
- registerDebugViewMenuItem(MenuId.DebugVariablesContext, VIEW_MEMORY_ID, ( localizeWithPath(_moduleId, 12, "View Binary Data")), 15, CONTEXT_CAN_VIEW_MEMORY, CONTEXT_IN_DEBUG_MODE, 'inline', debugInspectMemory);
195
- registerDebugViewMenuItem(MenuId.DebugVariablesContext, SET_VARIABLE_ID, ( localizeWithPath(_moduleId, 13, "Set Value")), 10, ( (ContextKeyExpr.or(
199
+ registerDebugViewMenuItem(MenuId.DebugCallStackContext, COPY_STACK_TRACE_ID, ( localize(2588, "Copy Call Stack")), 20, ( (CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('stackFrame'))), undefined, '3_modification');
200
+ registerDebugViewMenuItem(MenuId.DebugVariablesContext, VIEW_MEMORY_ID, ( localize(2589, "View Binary Data")), 15, CONTEXT_CAN_VIEW_MEMORY, CONTEXT_IN_DEBUG_MODE, 'inline', debugInspectMemory);
201
+ registerDebugViewMenuItem(MenuId.DebugVariablesContext, SET_VARIABLE_ID, ( localize(2590, "Set Value")), 10, ( (ContextKeyExpr.or(
196
202
  CONTEXT_SET_VARIABLE_SUPPORTED,
197
203
  (ContextKeyExpr.and(CONTEXT_VARIABLE_EVALUATE_NAME_PRESENT, CONTEXT_SET_EXPRESSION_SUPPORTED))
198
204
  ))), ( (CONTEXT_VARIABLE_IS_READONLY.toNegated())), '3_modification');
199
205
  registerDebugViewMenuItem(MenuId.DebugVariablesContext, COPY_VALUE_ID, COPY_VALUE_LABEL, 10, undefined, undefined, '5_cutcopypaste');
200
206
  registerDebugViewMenuItem(MenuId.DebugVariablesContext, COPY_EVALUATE_PATH_ID, COPY_EVALUATE_PATH_LABEL, 20, CONTEXT_VARIABLE_EVALUATE_NAME_PRESENT, undefined, '5_cutcopypaste');
201
207
  registerDebugViewMenuItem(MenuId.DebugVariablesContext, ADD_TO_WATCH_ID, ADD_TO_WATCH_LABEL, 100, CONTEXT_VARIABLE_EVALUATE_NAME_PRESENT, undefined, 'z_commands');
202
- registerDebugViewMenuItem(MenuId.DebugVariablesContext, BREAK_WHEN_VALUE_IS_READ_ID, ( localizeWithPath(_moduleId, 14, "Break on Value Read")), 200, CONTEXT_BREAK_WHEN_VALUE_IS_READ_SUPPORTED, undefined, 'z_commands');
203
- registerDebugViewMenuItem(MenuId.DebugVariablesContext, BREAK_WHEN_VALUE_CHANGES_ID, ( localizeWithPath(_moduleId, 15, "Break on Value Change")), 210, CONTEXT_BREAK_WHEN_VALUE_CHANGES_SUPPORTED, undefined, 'z_commands');
204
- registerDebugViewMenuItem(MenuId.DebugVariablesContext, BREAK_WHEN_VALUE_IS_ACCESSED_ID, ( localizeWithPath(_moduleId, 16, "Break on Value Access")), 220, CONTEXT_BREAK_WHEN_VALUE_IS_ACCESSED_SUPPORTED, undefined, 'z_commands');
205
- registerDebugViewMenuItem(MenuId.DebugHoverContext, VIEW_MEMORY_ID, ( localizeWithPath(_moduleId, 12, "View Binary Data")), 15, CONTEXT_CAN_VIEW_MEMORY, CONTEXT_IN_DEBUG_MODE, 'inline', debugInspectMemory);
208
+ registerDebugViewMenuItem(MenuId.DebugVariablesContext, BREAK_WHEN_VALUE_IS_READ_ID, ( localize(2591, "Break on Value Read")), 200, CONTEXT_BREAK_WHEN_VALUE_IS_READ_SUPPORTED, undefined, 'z_commands');
209
+ registerDebugViewMenuItem(MenuId.DebugVariablesContext, BREAK_WHEN_VALUE_CHANGES_ID, ( localize(2592, "Break on Value Change")), 210, CONTEXT_BREAK_WHEN_VALUE_CHANGES_SUPPORTED, undefined, 'z_commands');
210
+ registerDebugViewMenuItem(MenuId.DebugVariablesContext, BREAK_WHEN_VALUE_IS_ACCESSED_ID, ( localize(2593, "Break on Value Access")), 220, CONTEXT_BREAK_WHEN_VALUE_IS_ACCESSED_SUPPORTED, undefined, 'z_commands');
211
+ registerDebugViewMenuItem(MenuId.DebugHoverContext, VIEW_MEMORY_ID, ( localize(2593, "View Binary Data")), 15, CONTEXT_CAN_VIEW_MEMORY, CONTEXT_IN_DEBUG_MODE, 'inline', debugInspectMemory);
206
212
  registerDebugViewMenuItem(MenuId.DebugHoverContext, COPY_VALUE_ID, COPY_VALUE_LABEL, 10, undefined, undefined, '5_cutcopypaste');
207
213
  registerDebugViewMenuItem(MenuId.DebugHoverContext, COPY_EVALUATE_PATH_ID, COPY_EVALUATE_PATH_LABEL, 20, CONTEXT_VARIABLE_EVALUATE_NAME_PRESENT, undefined, '5_cutcopypaste');
208
214
  registerDebugViewMenuItem(MenuId.DebugHoverContext, ADD_TO_WATCH_ID, ADD_TO_WATCH_LABEL, 100, CONTEXT_VARIABLE_EVALUATE_NAME_PRESENT, undefined, 'z_commands');
209
- registerDebugViewMenuItem(MenuId.DebugHoverContext, BREAK_WHEN_VALUE_IS_READ_ID, ( localizeWithPath(_moduleId, 14, "Break on Value Read")), 200, CONTEXT_BREAK_WHEN_VALUE_IS_READ_SUPPORTED, undefined, 'z_commands');
210
- registerDebugViewMenuItem(MenuId.DebugHoverContext, BREAK_WHEN_VALUE_CHANGES_ID, ( localizeWithPath(_moduleId, 15, "Break on Value Change")), 210, CONTEXT_BREAK_WHEN_VALUE_CHANGES_SUPPORTED, undefined, 'z_commands');
211
- registerDebugViewMenuItem(MenuId.DebugHoverContext, BREAK_WHEN_VALUE_IS_ACCESSED_ID, ( localizeWithPath(_moduleId, 16, "Break on Value Access")), 220, CONTEXT_BREAK_WHEN_VALUE_IS_ACCESSED_SUPPORTED, undefined, 'z_commands');
215
+ registerDebugViewMenuItem(MenuId.DebugHoverContext, BREAK_WHEN_VALUE_IS_READ_ID, ( localize(2593, "Break on Value Read")), 200, CONTEXT_BREAK_WHEN_VALUE_IS_READ_SUPPORTED, undefined, 'z_commands');
216
+ registerDebugViewMenuItem(MenuId.DebugHoverContext, BREAK_WHEN_VALUE_CHANGES_ID, ( localize(2593, "Break on Value Change")), 210, CONTEXT_BREAK_WHEN_VALUE_CHANGES_SUPPORTED, undefined, 'z_commands');
217
+ registerDebugViewMenuItem(MenuId.DebugHoverContext, BREAK_WHEN_VALUE_IS_ACCESSED_ID, ( localize(2593, "Break on Value Access")), 220, CONTEXT_BREAK_WHEN_VALUE_IS_ACCESSED_SUPPORTED, undefined, 'z_commands');
212
218
  registerDebugViewMenuItem(MenuId.DebugWatchContext, ADD_WATCH_ID, ADD_WATCH_LABEL, 10, undefined, undefined, '3_modification');
213
- registerDebugViewMenuItem(MenuId.DebugWatchContext, EDIT_EXPRESSION_COMMAND_ID, ( localizeWithPath(_moduleId, 17, "Edit Expression")), 20, ( (CONTEXT_WATCH_ITEM_TYPE.isEqualTo('expression'))), undefined, '3_modification');
214
- registerDebugViewMenuItem(MenuId.DebugWatchContext, SET_EXPRESSION_COMMAND_ID, ( localizeWithPath(_moduleId, 13, "Set Value")), 30, ( (ContextKeyExpr.or( (ContextKeyExpr.and(
219
+ registerDebugViewMenuItem(MenuId.DebugWatchContext, EDIT_EXPRESSION_COMMAND_ID, ( localize(2594, "Edit Expression")), 20, ( (CONTEXT_WATCH_ITEM_TYPE.isEqualTo('expression'))), undefined, '3_modification');
220
+ registerDebugViewMenuItem(MenuId.DebugWatchContext, SET_EXPRESSION_COMMAND_ID, ( localize(2594, "Set Value")), 30, ( (ContextKeyExpr.or( (ContextKeyExpr.and(
215
221
  (CONTEXT_WATCH_ITEM_TYPE.isEqualTo('expression')),
216
222
  CONTEXT_SET_EXPRESSION_SUPPORTED
217
223
  )), (ContextKeyExpr.and(
218
224
  (CONTEXT_WATCH_ITEM_TYPE.isEqualTo('variable')),
219
225
  CONTEXT_SET_VARIABLE_SUPPORTED
220
226
  ))))), ( (CONTEXT_VARIABLE_IS_READONLY.toNegated())), '3_modification');
221
- registerDebugViewMenuItem(MenuId.DebugWatchContext, COPY_VALUE_ID, ( localizeWithPath(_moduleId, 18, "Copy Value")), 40, ( (ContextKeyExpr.or(
227
+ registerDebugViewMenuItem(MenuId.DebugWatchContext, COPY_VALUE_ID, ( localize(2595, "Copy Value")), 40, ( (ContextKeyExpr.or(
222
228
  (CONTEXT_WATCH_ITEM_TYPE.isEqualTo('expression')),
223
229
  (CONTEXT_WATCH_ITEM_TYPE.isEqualTo('variable'))
224
230
  ))), CONTEXT_IN_DEBUG_MODE, '3_modification');
225
- registerDebugViewMenuItem(MenuId.DebugWatchContext, VIEW_MEMORY_ID, ( localizeWithPath(_moduleId, 12, "View Binary Data")), 10, CONTEXT_CAN_VIEW_MEMORY, undefined, 'inline', debugInspectMemory);
226
- registerDebugViewMenuItem(MenuId.DebugWatchContext, REMOVE_EXPRESSION_COMMAND_ID, ( localizeWithPath(_moduleId, 19, "Remove Expression")), 20, ( (CONTEXT_WATCH_ITEM_TYPE.isEqualTo('expression'))), undefined, 'inline', watchExpressionRemove);
231
+ registerDebugViewMenuItem(MenuId.DebugWatchContext, VIEW_MEMORY_ID, ( localize(2595, "View Binary Data")), 10, CONTEXT_CAN_VIEW_MEMORY, undefined, 'inline', debugInspectMemory);
232
+ registerDebugViewMenuItem(MenuId.DebugWatchContext, REMOVE_EXPRESSION_COMMAND_ID, ( localize(2596, "Remove Expression")), 20, ( (CONTEXT_WATCH_ITEM_TYPE.isEqualTo('expression'))), undefined, 'inline', watchExpressionRemove);
227
233
  registerDebugViewMenuItem(MenuId.DebugWatchContext, REMOVE_WATCH_EXPRESSIONS_COMMAND_ID, REMOVE_WATCH_EXPRESSIONS_LABEL, 20, undefined, undefined, 'z_commands');
228
234
  registerDebugViewMenuItem(MenuId.NotebookVariablesContext, COPY_NOTEBOOK_VARIABLE_VALUE_ID, COPY_NOTEBOOK_VARIABLE_VALUE_LABEL, 20, CONTEXT_VARIABLE_VALUE);
229
235
  if (isMacintosh) {
@@ -252,12 +258,12 @@ if (isMacintosh) {
252
258
  registerTouchBarEntry(RESTART_SESSION_ID, RESTART_LABEL, 5, CONTEXT_IN_DEBUG_MODE, ( (FileAccess.asFileUri('vs/workbench/contrib/debug/browser/media/restart-tb.png'))));
253
259
  registerTouchBarEntry(STOP_ID, STOP_LABEL, 6, CONTEXT_IN_DEBUG_MODE, ( (FileAccess.asFileUri('vs/workbench/contrib/debug/browser/media/stop-tb.png'))));
254
260
  }
255
- MenuRegistry.appendMenuItem(MenuId.EditorTitle, { submenu: MenuId.EditorTitleRun, rememberDefaultAction: true, title: ( localize2WithPath(_moduleId, 20, "Run or Debug...")), icon: debugRun, group: 'navigation', order: -1 });
261
+ MenuRegistry.appendMenuItem(MenuId.EditorTitle, { submenu: MenuId.EditorTitleRun, rememberDefaultAction: true, title: ( localize2(2597, "Run or Debug...")), icon: debugRun, group: 'navigation', order: -1 });
256
262
  MenuRegistry.appendMenuItem(MenuId.MenubarMainMenu, {
257
263
  submenu: MenuId.MenubarDebugMenu,
258
264
  title: {
259
- ...( localize2WithPath(_moduleId, 21, "Run")),
260
- mnemonicTitle: ( localizeWithPath(_moduleId, 22, "&&Run"))
265
+ ...( localize2(2598, "Run")),
266
+ mnemonicTitle: ( localize(2599, "&&Run"))
261
267
  },
262
268
  order: 6
263
269
  });
@@ -265,7 +271,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
265
271
  group: '1_debug',
266
272
  command: {
267
273
  id: DEBUG_START_COMMAND_ID,
268
- title: ( localizeWithPath(_moduleId, 23, "&&Start Debugging"))
274
+ title: ( localize(2600, "&&Start Debugging"))
269
275
  },
270
276
  order: 1,
271
277
  when: CONTEXT_DEBUGGERS_AVAILABLE
@@ -274,7 +280,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
274
280
  group: '1_debug',
275
281
  command: {
276
282
  id: DEBUG_RUN_COMMAND_ID,
277
- title: ( localizeWithPath(_moduleId, 24, "Run &&Without Debugging"))
283
+ title: ( localize(2601, "Run &&Without Debugging"))
278
284
  },
279
285
  order: 2,
280
286
  when: CONTEXT_DEBUGGERS_AVAILABLE
@@ -283,7 +289,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
283
289
  group: '1_debug',
284
290
  command: {
285
291
  id: STOP_ID,
286
- title: ( localizeWithPath(_moduleId, 25, "&&Stop Debugging")),
292
+ title: ( localize(2602, "&&Stop Debugging")),
287
293
  precondition: CONTEXT_IN_DEBUG_MODE
288
294
  },
289
295
  order: 3,
@@ -293,7 +299,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
293
299
  group: '1_debug',
294
300
  command: {
295
301
  id: RESTART_SESSION_ID,
296
- title: ( localizeWithPath(_moduleId, 26, "&&Restart Debugging")),
302
+ title: ( localize(2603, "&&Restart Debugging")),
297
303
  precondition: CONTEXT_IN_DEBUG_MODE
298
304
  },
299
305
  order: 4,
@@ -303,7 +309,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
303
309
  group: '2_configuration',
304
310
  command: {
305
311
  id: ADD_CONFIGURATION_ID,
306
- title: ( localizeWithPath(_moduleId, 27, "A&&dd Configuration..."))
312
+ title: ( localize(2604, "A&&dd Configuration..."))
307
313
  },
308
314
  order: 2,
309
315
  when: CONTEXT_DEBUGGERS_AVAILABLE
@@ -312,7 +318,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
312
318
  group: '3_step',
313
319
  command: {
314
320
  id: STEP_OVER_ID,
315
- title: ( localizeWithPath(_moduleId, 28, "Step &&Over")),
321
+ title: ( localize(2605, "Step &&Over")),
316
322
  precondition: ( (CONTEXT_DEBUG_STATE.isEqualTo('stopped')))
317
323
  },
318
324
  order: 1,
@@ -322,7 +328,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
322
328
  group: '3_step',
323
329
  command: {
324
330
  id: STEP_INTO_ID,
325
- title: ( localizeWithPath(_moduleId, 29, "Step &&Into")),
331
+ title: ( localize(2606, "Step &&Into")),
326
332
  precondition: ( (CONTEXT_DEBUG_STATE.isEqualTo('stopped')))
327
333
  },
328
334
  order: 2,
@@ -332,7 +338,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
332
338
  group: '3_step',
333
339
  command: {
334
340
  id: STEP_OUT_ID,
335
- title: ( localizeWithPath(_moduleId, 30, "Step O&&ut")),
341
+ title: ( localize(2607, "Step O&&ut")),
336
342
  precondition: ( (CONTEXT_DEBUG_STATE.isEqualTo('stopped')))
337
343
  },
338
344
  order: 3,
@@ -342,7 +348,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
342
348
  group: '3_step',
343
349
  command: {
344
350
  id: CONTINUE_ID,
345
- title: ( localizeWithPath(_moduleId, 31, "&&Continue")),
351
+ title: ( localize(2608, "&&Continue")),
346
352
  precondition: ( (CONTEXT_DEBUG_STATE.isEqualTo('stopped')))
347
353
  },
348
354
  order: 4,
@@ -352,14 +358,14 @@ MenuRegistry.appendMenuItem(MenuId.MenubarNewBreakpointMenu, {
352
358
  group: '1_breakpoints',
353
359
  command: {
354
360
  id: TOGGLE_INLINE_BREAKPOINT_ID,
355
- title: ( localizeWithPath(_moduleId, 32, "Inline Breakp&&oint"))
361
+ title: ( localize(2609, "Inline Breakp&&oint"))
356
362
  },
357
363
  order: 2,
358
364
  when: CONTEXT_DEBUGGERS_AVAILABLE
359
365
  });
360
366
  MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
361
367
  group: '4_new_breakpoint',
362
- title: ( localizeWithPath(_moduleId, 33, "&&New Breakpoint")),
368
+ title: ( localize(2610, "&&New Breakpoint")),
363
369
  submenu: MenuId.MenubarNewBreakpointMenu,
364
370
  order: 2,
365
371
  when: CONTEXT_DEBUGGERS_AVAILABLE
@@ -368,13 +374,13 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
368
374
  group: 'z_install',
369
375
  command: {
370
376
  id: 'debug.installAdditionalDebuggers',
371
- title: ( localizeWithPath(_moduleId, 34, "&&Install Additional Debuggers..."))
377
+ title: ( localize(2611, "&&Install Additional Debuggers..."))
372
378
  },
373
379
  order: 1
374
380
  });
375
381
  const VIEW_CONTAINER = ( (Registry.as(Extensions$2.ViewContainersRegistry))).registerViewContainer({
376
382
  id: DEBUG_PANEL_ID,
377
- title: ( localize2WithPath(_moduleId, 35, "Debug Console")),
383
+ title: ( localize2(2612, "Debug Console")),
378
384
  icon: debugConsoleViewIcon,
379
385
  ctorDescriptor: ( (new SyncDescriptor(
380
386
  ViewPaneContainer,
@@ -386,7 +392,7 @@ const VIEW_CONTAINER = ( (Registry.as(Extensions$2.ViewContainersRegistry))).reg
386
392
  }, ViewContainerLocation.Panel, { doNotRegisterOpenCommand: true });
387
393
  ( (Registry.as(Extensions$2.ViewsRegistry))).registerViews([{
388
394
  id: REPL_VIEW_ID,
389
- name: ( localize2WithPath(_moduleId, 35, "Debug Console")),
395
+ name: ( localize2(2612, "Debug Console")),
390
396
  containerIcon: debugConsoleViewIcon,
391
397
  canToggleVisibility: false,
392
398
  canMoveView: true,
@@ -394,17 +400,17 @@ const VIEW_CONTAINER = ( (Registry.as(Extensions$2.ViewContainersRegistry))).reg
394
400
  ctorDescriptor: ( (new SyncDescriptor(Repl))),
395
401
  openCommandActionDescriptor: {
396
402
  id: 'workbench.debug.action.toggleRepl',
397
- mnemonicTitle: ( localizeWithPath(_moduleId, 36, "De&&bug Console")),
403
+ mnemonicTitle: ( localize(2613, "De&&bug Console")),
398
404
  keybindings: { primary: KeyMod.CtrlCmd | KeyMod.Shift | KeyCode.KeyY },
399
405
  order: 2
400
406
  }
401
407
  }], VIEW_CONTAINER);
402
408
  const viewContainer = ( (Registry.as(Extensions$2.ViewContainersRegistry))).registerViewContainer({
403
409
  id: VIEWLET_ID,
404
- title: ( localize2WithPath(_moduleId, 37, "Run and Debug")),
410
+ title: ( localize2(2614, "Run and Debug")),
405
411
  openCommandActionDescriptor: {
406
412
  id: VIEWLET_ID,
407
- mnemonicTitle: ( localizeWithPath(_moduleId, 38, "&&Run")),
413
+ mnemonicTitle: ( localize(2615, "&&Run")),
408
414
  keybindings: { primary: KeyMod.CtrlCmd | KeyMod.Shift | KeyCode.KeyD },
409
415
  order: 3
410
416
  },
@@ -414,67 +420,64 @@ const viewContainer = ( (Registry.as(Extensions$2.ViewContainersRegistry))).regi
414
420
  order: 3,
415
421
  }, ViewContainerLocation.Sidebar);
416
422
  const viewsRegistry = ( (Registry.as(Extensions$2.ViewsRegistry)));
417
- viewsRegistry.registerViews([{ id: VARIABLES_VIEW_ID, name: ( localize2WithPath(_moduleId, 39, "Variables")), containerIcon: variablesViewIcon, ctorDescriptor: ( (new SyncDescriptor(VariablesView))), order: 10, weight: 40, canToggleVisibility: true, canMoveView: true, focusCommand: { id: 'workbench.debug.action.focusVariablesView' }, when: ( (CONTEXT_DEBUG_UX.isEqualTo('default'))) }], viewContainer);
418
- viewsRegistry.registerViews([{ id: WATCH_VIEW_ID, name: ( localize2WithPath(_moduleId, 40, "Watch")), containerIcon: watchViewIcon, ctorDescriptor: ( (new SyncDescriptor(WatchExpressionsView))), order: 20, weight: 10, canToggleVisibility: true, canMoveView: true, focusCommand: { id: 'workbench.debug.action.focusWatchView' }, when: ( (CONTEXT_DEBUG_UX.isEqualTo('default'))) }], viewContainer);
419
- viewsRegistry.registerViews([{ id: CALLSTACK_VIEW_ID, name: ( localize2WithPath(_moduleId, 41, "Call Stack")), containerIcon: callStackViewIcon, ctorDescriptor: ( (new SyncDescriptor(CallStackView))), order: 30, weight: 30, canToggleVisibility: true, canMoveView: true, focusCommand: { id: 'workbench.debug.action.focusCallStackView' }, when: ( (CONTEXT_DEBUG_UX.isEqualTo('default'))) }], viewContainer);
420
- viewsRegistry.registerViews([{ id: BREAKPOINTS_VIEW_ID, name: ( localize2WithPath(_moduleId, 42, "Breakpoints")), containerIcon: breakpointsViewIcon, ctorDescriptor: ( (new SyncDescriptor(BreakpointsView))), order: 40, weight: 20, canToggleVisibility: true, canMoveView: true, focusCommand: { id: 'workbench.debug.action.focusBreakpointsView' }, when: ( (ContextKeyExpr.or(
423
+ viewsRegistry.registerViews([{ id: VARIABLES_VIEW_ID, name: ( localize2(2616, "Variables")), containerIcon: variablesViewIcon, ctorDescriptor: ( (new SyncDescriptor(VariablesView))), order: 10, weight: 40, canToggleVisibility: true, canMoveView: true, focusCommand: { id: 'workbench.debug.action.focusVariablesView' }, when: ( (CONTEXT_DEBUG_UX.isEqualTo('default'))) }], viewContainer);
424
+ viewsRegistry.registerViews([{ id: WATCH_VIEW_ID, name: ( localize2(2617, "Watch")), containerIcon: watchViewIcon, ctorDescriptor: ( (new SyncDescriptor(WatchExpressionsView))), order: 20, weight: 10, canToggleVisibility: true, canMoveView: true, focusCommand: { id: 'workbench.debug.action.focusWatchView' }, when: ( (CONTEXT_DEBUG_UX.isEqualTo('default'))) }], viewContainer);
425
+ viewsRegistry.registerViews([{ id: CALLSTACK_VIEW_ID, name: ( localize2(2618, "Call Stack")), containerIcon: callStackViewIcon, ctorDescriptor: ( (new SyncDescriptor(CallStackView))), order: 30, weight: 30, canToggleVisibility: true, canMoveView: true, focusCommand: { id: 'workbench.debug.action.focusCallStackView' }, when: ( (CONTEXT_DEBUG_UX.isEqualTo('default'))) }], viewContainer);
426
+ viewsRegistry.registerViews([{ id: BREAKPOINTS_VIEW_ID, name: ( localize2(2619, "Breakpoints")), containerIcon: breakpointsViewIcon, ctorDescriptor: ( (new SyncDescriptor(BreakpointsView))), order: 40, weight: 20, canToggleVisibility: true, canMoveView: true, focusCommand: { id: 'workbench.debug.action.focusBreakpointsView' }, when: ( (ContextKeyExpr.or(
421
427
  CONTEXT_BREAKPOINTS_EXIST,
422
428
  (CONTEXT_DEBUG_UX.isEqualTo('default')),
423
429
  CONTEXT_HAS_DEBUGGED
424
430
  ))) }], viewContainer);
425
431
  viewsRegistry.registerViews([{ id: WelcomeView.ID, name: WelcomeView.LABEL, containerIcon: runViewIcon, ctorDescriptor: ( (new SyncDescriptor(WelcomeView))), order: 1, weight: 40, canToggleVisibility: true, when: ( (CONTEXT_DEBUG_UX.isEqualTo('simple'))) }], viewContainer);
426
- viewsRegistry.registerViews([{ id: LOADED_SCRIPTS_VIEW_ID, name: ( localize2WithPath(_moduleId, 43, "Loaded Scripts")), containerIcon: loadedScriptsViewIcon, ctorDescriptor: ( (new SyncDescriptor(LoadedScriptsView))), order: 35, weight: 5, canToggleVisibility: true, canMoveView: true, collapsed: true, when: ( (ContextKeyExpr.and(
432
+ viewsRegistry.registerViews([{ id: LOADED_SCRIPTS_VIEW_ID, name: ( localize2(2620, "Loaded Scripts")), containerIcon: loadedScriptsViewIcon, ctorDescriptor: ( (new SyncDescriptor(LoadedScriptsView))), order: 35, weight: 5, canToggleVisibility: true, canMoveView: true, collapsed: true, when: ( (ContextKeyExpr.and(
427
433
  CONTEXT_LOADED_SCRIPTS_SUPPORTED,
428
434
  (CONTEXT_DEBUG_UX.isEqualTo('default'))
429
435
  ))) }], viewContainer);
430
- ( (Registry.as(EditorExtensions.EditorPane))).registerEditorPane(EditorPaneDescriptor.create(DisassemblyView, DISASSEMBLY_VIEW_ID, ( localizeWithPath(_moduleId, 44, "Disassembly"))), [( (new SyncDescriptor(DisassemblyViewInput)))]);
436
+ ( (Registry.as(EditorExtensions.EditorPane))).registerEditorPane(EditorPaneDescriptor.create(DisassemblyView, DISASSEMBLY_VIEW_ID, ( localize(2621, "Disassembly"))), [( (new SyncDescriptor(DisassemblyViewInput)))]);
431
437
  const configurationRegistry = ( (Registry.as(Extensions$3.Configuration)));
432
438
  configurationRegistry.registerConfiguration({
433
439
  id: 'debug',
434
440
  order: 20,
435
- title: ( localizeWithPath(_moduleId, 45, "Debug")),
441
+ title: ( localize(2622, "Debug")),
436
442
  type: 'object',
437
443
  properties: {
438
444
  'debug.showVariableTypes': {
439
445
  type: 'boolean',
440
- description: ( localizeWithPath(_moduleId, 46, "Show variable type in variable pane during debug session")),
446
+ description: ( localize(2623, "Show variable type in variable pane during debug session")),
441
447
  default: false
442
448
  },
443
449
  'debug.allowBreakpointsEverywhere': {
444
450
  type: 'boolean',
445
- description: ( localizeWithPath(_moduleId, 47, "Allow setting breakpoints in any file.")),
451
+ description: ( localize(2624, "Allow setting breakpoints in any file.")),
446
452
  default: false
447
453
  },
448
454
  'debug.gutterMiddleClickAction': {
449
455
  type: 'string',
450
456
  enum: ['logpoint', 'conditionalBreakpoint', 'triggeredBreakpoint', 'none'],
451
- description: ( localizeWithPath(
452
- _moduleId,
453
- 48,
457
+ description: ( localize(
458
+ 2625,
454
459
  'Controls the action to perform when clicking the editor gutter with the middle mouse button.'
455
460
  )),
456
461
  enumDescriptions: [
457
- ( localizeWithPath(_moduleId, 49, "Add Logpoint.")),
458
- ( localizeWithPath(_moduleId, 50, "Add Conditional Breakpoint.")),
459
- ( localizeWithPath(_moduleId, 51, "Add Triggered Breakpoint.")),
460
- ( localizeWithPath(_moduleId, 52, "Don't perform any action.")),
462
+ ( localize(2626, "Add Logpoint.")),
463
+ ( localize(2627, "Add Conditional Breakpoint.")),
464
+ ( localize(2628, "Add Triggered Breakpoint.")),
465
+ ( localize(2629, "Don't perform any action.")),
461
466
  ],
462
467
  default: 'logpoint',
463
468
  },
464
469
  'debug.openExplorerOnEnd': {
465
470
  type: 'boolean',
466
- description: ( localizeWithPath(
467
- _moduleId,
468
- 53,
471
+ description: ( localize(
472
+ 2630,
469
473
  "Automatically open the explorer view at the end of a debug session."
470
474
  )),
471
475
  default: false
472
476
  },
473
477
  'debug.closeReadonlyTabsOnEnd': {
474
478
  type: 'boolean',
475
- description: ( localizeWithPath(
476
- _moduleId,
477
- 54,
479
+ description: ( localize(
480
+ 2631,
478
481
  "At the end of a debug session, all the read-only tabs associated with that session will be closed"
479
482
  )),
480
483
  default: false
@@ -482,21 +485,12 @@ configurationRegistry.registerConfiguration({
482
485
  'debug.inlineValues': {
483
486
  type: 'string',
484
487
  'enum': ['on', 'off', 'auto'],
485
- description: ( localizeWithPath(_moduleId, 55, "Show variable values inline in editor while debugging.")),
488
+ description: ( localize(2632, "Show variable values inline in editor while debugging.")),
486
489
  'enumDescriptions': [
487
- ( localizeWithPath(
488
- _moduleId,
489
- 56,
490
- "Always show variable values inline in editor while debugging."
491
- )),
492
- ( localizeWithPath(
493
- _moduleId,
494
- 57,
495
- "Never show variable values inline in editor while debugging."
496
- )),
497
- ( localizeWithPath(
498
- _moduleId,
499
- 58,
490
+ ( localize(2633, "Always show variable values inline in editor while debugging.")),
491
+ ( localize(2634, "Never show variable values inline in editor while debugging.")),
492
+ ( localize(
493
+ 2635,
500
494
  "Show variable values inline in editor while debugging when the language supports inline value locations."
501
495
  )),
502
496
  ],
@@ -504,49 +498,41 @@ configurationRegistry.registerConfiguration({
504
498
  },
505
499
  'debug.toolBarLocation': {
506
500
  enum: ['floating', 'docked', 'commandCenter', 'hidden'],
507
- markdownDescription: ( localizeWithPath(
508
- _moduleId,
509
- 59,
501
+ markdownDescription: ( localize(
502
+ 2636,
510
503
  "Controls the location of the debug toolbar. Either `floating` in all views, `docked` in the debug view, `commandCenter` (requires {0}), or `hidden`.",
511
504
  '`#window.commandCenter#`'
512
505
  )),
513
506
  default: 'floating',
514
507
  markdownEnumDescriptions: [
515
- ( localizeWithPath(_moduleId, 60, "Show debug toolbar in all views.")),
516
- ( localizeWithPath(_moduleId, 61, "Show debug toolbar only in debug views.")),
517
- ( localizeWithPath(
518
- _moduleId,
519
- 62,
520
- "`(Experimental)` Show debug toolbar in the command center."
521
- )),
522
- ( localizeWithPath(_moduleId, 63, "Do not show debug toolbar.")),
508
+ ( localize(2637, "Show debug toolbar in all views.")),
509
+ ( localize(2638, "Show debug toolbar only in debug views.")),
510
+ ( localize(2639, "`(Experimental)` Show debug toolbar in the command center.")),
511
+ ( localize(2640, "Do not show debug toolbar.")),
523
512
  ]
524
513
  },
525
514
  'debug.showInStatusBar': {
526
515
  enum: ['never', 'always', 'onFirstSessionStart'],
527
- enumDescriptions: [( localizeWithPath(_moduleId, 64, "Never show debug in Status bar")), ( localizeWithPath(_moduleId, 65, "Always show debug in Status bar")), ( localizeWithPath(
528
- _moduleId,
529
- 66,
516
+ enumDescriptions: [( localize(2641, "Never show debug in Status bar")), ( localize(2642, "Always show debug in Status bar")), ( localize(
517
+ 2643,
530
518
  "Show debug in Status bar only after debug was started for the first time"
531
519
  ))],
532
- description: ( localizeWithPath(_moduleId, 67, "Controls when the debug Status bar should be visible.")),
520
+ description: ( localize(2644, "Controls when the debug Status bar should be visible.")),
533
521
  default: 'onFirstSessionStart'
534
522
  },
535
523
  'debug.internalConsoleOptions': INTERNAL_CONSOLE_OPTIONS_SCHEMA,
536
524
  'debug.console.closeOnEnd': {
537
525
  type: 'boolean',
538
- description: ( localizeWithPath(
539
- _moduleId,
540
- 68,
526
+ description: ( localize(
527
+ 2645,
541
528
  "Controls if the Debug Console should be automatically closed when the debug session ends."
542
529
  )),
543
530
  default: false
544
531
  },
545
532
  'debug.terminal.clearBeforeReusing': {
546
533
  type: 'boolean',
547
- description: ( localizeWithPath(
548
- _moduleId,
549
- 69,
534
+ description: ( localize(
535
+ 2646,
550
536
  "Before starting a new debug session in an integrated or external terminal, clear the terminal."
551
537
  )),
552
538
  default: false
@@ -554,185 +540,175 @@ configurationRegistry.registerConfiguration({
554
540
  'debug.openDebug': {
555
541
  enum: ['neverOpen', 'openOnSessionStart', 'openOnFirstSessionStart', 'openOnDebugBreak'],
556
542
  default: 'openOnDebugBreak',
557
- description: ( localizeWithPath(_moduleId, 70, "Controls when the debug view should open."))
543
+ description: ( localize(2647, "Controls when the debug view should open."))
558
544
  },
559
545
  'debug.showSubSessionsInToolBar': {
560
546
  type: 'boolean',
561
- description: ( localizeWithPath(
562
- _moduleId,
563
- 71,
547
+ description: ( localize(
548
+ 2648,
564
549
  "Controls whether the debug sub-sessions are shown in the debug tool bar. When this setting is false the stop command on a sub-session will also stop the parent session."
565
550
  )),
566
551
  default: false
567
552
  },
568
553
  'debug.console.fontSize': {
569
554
  type: 'number',
570
- description: ( localizeWithPath(_moduleId, 72, "Controls the font size in pixels in the Debug Console.")),
555
+ description: ( localize(2649, "Controls the font size in pixels in the Debug Console.")),
571
556
  default: isMacintosh ? 12 : 14,
572
557
  },
573
558
  'debug.console.fontFamily': {
574
559
  type: 'string',
575
- description: ( localizeWithPath(_moduleId, 73, "Controls the font family in the Debug Console.")),
560
+ description: ( localize(2650, "Controls the font family in the Debug Console.")),
576
561
  default: 'default'
577
562
  },
578
563
  'debug.console.lineHeight': {
579
564
  type: 'number',
580
- description: ( localizeWithPath(
581
- _moduleId,
582
- 74,
565
+ description: ( localize(
566
+ 2651,
583
567
  "Controls the line height in pixels in the Debug Console. Use 0 to compute the line height from the font size."
584
568
  )),
585
569
  default: 0
586
570
  },
587
571
  'debug.console.wordWrap': {
588
572
  type: 'boolean',
589
- description: ( localizeWithPath(_moduleId, 75, "Controls if the lines should wrap in the Debug Console.")),
573
+ description: ( localize(2652, "Controls if the lines should wrap in the Debug Console.")),
590
574
  default: true
591
575
  },
592
576
  'debug.console.historySuggestions': {
593
577
  type: 'boolean',
594
- description: ( localizeWithPath(
595
- _moduleId,
596
- 76,
578
+ description: ( localize(
579
+ 2653,
597
580
  "Controls if the Debug Console should suggest previously typed input."
598
581
  )),
599
582
  default: true
600
583
  },
601
584
  'debug.console.collapseIdenticalLines': {
602
585
  type: 'boolean',
603
- description: ( localizeWithPath(
604
- _moduleId,
605
- 77,
586
+ description: ( localize(
587
+ 2654,
606
588
  "Controls if the Debug Console should collapse identical lines and show a number of occurrences with a badge."
607
589
  )),
608
590
  default: true
609
591
  },
610
592
  'debug.console.acceptSuggestionOnEnter': {
611
593
  enum: ['off', 'on'],
612
- description: ( localizeWithPath(
613
- _moduleId,
614
- 78,
594
+ description: ( localize(
595
+ 2655,
615
596
  "Controls whether suggestions should be accepted on Enter in the Debug Console. Enter is also used to evaluate whatever is typed in the Debug Console."
616
597
  )),
617
598
  default: 'off'
618
599
  },
619
600
  'launch': {
620
601
  type: 'object',
621
- description: ( localizeWithPath(
622
- _moduleId,
623
- 79,
602
+ description: ( localize(
603
+ 2656,
624
604
  "Global debug launch configuration. Should be used as an alternative to 'launch.json' that is shared across workspaces."
625
605
  )),
626
606
  default: { configurations: [], compounds: [] },
627
- $ref: launchSchemaId
607
+ $ref: launchSchemaId,
608
+ disallowConfigurationDefault: true
628
609
  },
629
610
  'debug.focusWindowOnBreak': {
630
611
  type: 'boolean',
631
- description: ( localizeWithPath(
632
- _moduleId,
633
- 80,
612
+ description: ( localize(
613
+ 2657,
634
614
  "Controls whether the workbench window should be focused when the debugger breaks."
635
615
  )),
636
616
  default: true
637
617
  },
638
618
  'debug.focusEditorOnBreak': {
639
619
  type: 'boolean',
640
- description: ( localizeWithPath(
641
- _moduleId,
642
- 81,
620
+ description: ( localize(
621
+ 2658,
643
622
  "Controls whether the editor should be focused when the debugger breaks."
644
623
  )),
645
624
  default: true
646
625
  },
647
626
  'debug.onTaskErrors': {
648
627
  enum: ['debugAnyway', 'showErrors', 'prompt', 'abort'],
649
- enumDescriptions: [( localizeWithPath(_moduleId, 82, "Ignore task errors and start debugging.")), ( localizeWithPath(_moduleId, 83, "Show the Problems view and do not start debugging.")), ( localizeWithPath(_moduleId, 84, "Prompt user.")), ( localizeWithPath(_moduleId, 85, "Cancel debugging."))],
650
- description: ( localizeWithPath(
651
- _moduleId,
652
- 86,
628
+ enumDescriptions: [( localize(2659, "Ignore task errors and start debugging.")), ( localize(2660, "Show the Problems view and do not start debugging.")), ( localize(2661, "Prompt user.")), ( localize(2662, "Cancel debugging."))],
629
+ description: ( localize(
630
+ 2663,
653
631
  "Controls what to do when errors are encountered after running a preLaunchTask."
654
632
  )),
655
633
  default: 'prompt'
656
634
  },
657
635
  'debug.showBreakpointsInOverviewRuler': {
658
636
  type: 'boolean',
659
- description: ( localizeWithPath(
660
- _moduleId,
661
- 87,
637
+ description: ( localize(
638
+ 2664,
662
639
  "Controls whether breakpoints should be shown in the overview ruler."
663
640
  )),
664
641
  default: false
665
642
  },
666
643
  'debug.showInlineBreakpointCandidates': {
667
644
  type: 'boolean',
668
- description: ( localizeWithPath(
669
- _moduleId,
670
- 88,
645
+ description: ( localize(
646
+ 2665,
671
647
  "Controls whether inline breakpoints candidate decorations should be shown in the editor while debugging."
672
648
  )),
673
649
  default: true
674
650
  },
675
651
  'debug.saveBeforeStart': {
676
- description: ( localizeWithPath(
677
- _moduleId,
678
- 89,
679
- "Controls what editors to save before starting a debug session."
680
- )),
652
+ description: ( localize(2666, "Controls what editors to save before starting a debug session.")),
681
653
  enum: ['allEditorsInActiveGroup', 'nonUntitledEditorsInActiveGroup', 'none'],
682
654
  enumDescriptions: [
683
- ( localizeWithPath(
684
- _moduleId,
685
- 90,
655
+ ( localize(
656
+ 2667,
686
657
  "Save all editors in the active group before starting a debug session."
687
658
  )),
688
- ( localizeWithPath(
689
- _moduleId,
690
- 91,
659
+ ( localize(
660
+ 2668,
691
661
  "Save all editors in the active group except untitled ones before starting a debug session."
692
662
  )),
693
- ( localizeWithPath(_moduleId, 92, "Don't save any editors before starting a debug session.")),
663
+ ( localize(2669, "Don't save any editors before starting a debug session.")),
694
664
  ],
695
665
  default: 'allEditorsInActiveGroup',
696
666
  scope: ConfigurationScope.LANGUAGE_OVERRIDABLE
697
667
  },
698
668
  'debug.confirmOnExit': {
699
- description: ( localizeWithPath(
700
- _moduleId,
701
- 93,
669
+ description: ( localize(
670
+ 2670,
702
671
  "Controls whether to confirm when the window closes if there are active debug sessions."
703
672
  )),
704
673
  type: 'string',
705
674
  enum: ['never', 'always'],
706
675
  enumDescriptions: [
707
- ( localizeWithPath(_moduleId, 94, "Never confirm.")),
708
- ( localizeWithPath(_moduleId, 95, "Always confirm if there are debug sessions.")),
676
+ ( localize(2671, "Never confirm.")),
677
+ ( localize(2672, "Always confirm if there are debug sessions.")),
709
678
  ],
710
679
  default: 'never'
711
680
  },
712
681
  'debug.disassemblyView.showSourceCode': {
713
682
  type: 'boolean',
714
683
  default: true,
715
- description: ( localizeWithPath(_moduleId, 96, "Show Source Code in Disassembly View."))
684
+ description: ( localize(2673, "Show Source Code in Disassembly View."))
716
685
  },
717
686
  'debug.autoExpandLazyVariables': {
718
- type: 'boolean',
719
- default: false,
720
- description: ( localizeWithPath(
721
- _moduleId,
722
- 97,
723
- "Automatically show values for variables that are lazily resolved by the debugger, such as getters."
687
+ type: 'string',
688
+ enum: ['auto', 'on', 'off'],
689
+ default: 'auto',
690
+ enumDescriptions: [
691
+ ( localize(
692
+ 2674,
693
+ "When in screen reader optimized mode, automatically expand lazy variables."
694
+ )),
695
+ ( localize(2675, "Always automatically expand lazy variables.")),
696
+ ( localize(2676, "Never automatically expand lazy variables."))
697
+ ],
698
+ description: ( localize(
699
+ 2677,
700
+ "Controls whether variables that are lazily resolved, such as getters, are automatically resolved and expanded by the debugger."
724
701
  ))
725
702
  },
726
703
  'debug.enableStatusBarColor': {
727
704
  type: 'boolean',
728
- description: ( localizeWithPath(_moduleId, 98, "Color of the Status bar when debugger is active.")),
705
+ description: ( localize(2678, "Color of the Status bar when debugger is active.")),
729
706
  default: true
730
707
  },
731
708
  'debug.hideLauncherWhileDebugging': {
732
709
  type: 'boolean',
733
- markdownDescription: ( localizeWithPath(
734
- _moduleId,
735
- 99,
710
+ markdownDescription: ( localize(
711
+ 2679,
736
712
  "Hide 'Start Debugging' control in title bar of 'Run and Debug' view while debugging is active. Only relevant when {0} is not `docked`.",
737
713
  '`#debug.toolBarLocation#`'
738
714
  )),
@@ -740,3 +716,8 @@ configurationRegistry.registerConfiguration({
740
716
  }
741
717
  }
742
718
  });
719
+ AccessibleViewRegistry.register(( (new ReplAccessibleView())));
720
+ AccessibleViewRegistry.register(( (new ReplAccessibilityHelp())));
721
+ AccessibleViewRegistry.register(( (new RunAndDebugAccessibilityHelp())));
722
+ registerWorkbenchContribution2(ReplAccessibilityAnnouncer.ID, ReplAccessibilityAnnouncer, WorkbenchPhase.AfterRestored);
723
+ registerWorkbenchContribution2(DebugWatchAccessibilityAnnouncer.ID, DebugWatchAccessibilityAnnouncer, WorkbenchPhase.AfterRestored);