@codingame/monaco-vscode-debug-service-override 1.83.2 → 1.83.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. package/package.json +2 -2
  2. package/vscode/src/vs/workbench/contrib/debug/browser/baseDebugView.js +2 -2
  3. package/vscode/src/vs/workbench/contrib/debug/browser/breakpointEditorContribution.js +90 -68
  4. package/vscode/src/vs/workbench/contrib/debug/browser/breakpointWidget.js +5 -26
  5. package/vscode/src/vs/workbench/contrib/debug/browser/breakpointsView.js +61 -104
  6. package/vscode/src/vs/workbench/contrib/debug/browser/callStackEditorContribution.js +3 -9
  7. package/vscode/src/vs/workbench/contrib/debug/browser/callStackView.js +29 -51
  8. package/vscode/src/vs/workbench/contrib/debug/browser/debug.contribution.js +190 -203
  9. package/vscode/src/vs/workbench/contrib/debug/browser/debugActionViewItems.js +4 -4
  10. package/vscode/src/vs/workbench/contrib/debug/browser/debugAdapterManager.js +11 -31
  11. package/vscode/src/vs/workbench/contrib/debug/browser/debugCommands.js +32 -32
  12. package/vscode/src/vs/workbench/contrib/debug/browser/debugConfigurationManager.js +5 -5
  13. package/vscode/src/vs/workbench/contrib/debug/browser/debugConsoleQuickAccess.js +3 -3
  14. package/vscode/src/vs/workbench/contrib/debug/browser/debugEditorActions.js +21 -48
  15. package/vscode/src/vs/workbench/contrib/debug/browser/debugEditorContribution.js +2 -5
  16. package/vscode/src/vs/workbench/contrib/debug/browser/debugHover.js +3 -12
  17. package/vscode/src/vs/workbench/contrib/debug/browser/debugQuickAccess.js +11 -15
  18. package/vscode/src/vs/workbench/contrib/debug/browser/debugService.js +28 -80
  19. package/vscode/src/vs/workbench/contrib/debug/browser/debugSession.js +56 -68
  20. package/vscode/src/vs/workbench/contrib/debug/browser/debugSessionPicker.js +3 -8
  21. package/vscode/src/vs/workbench/contrib/debug/browser/debugStatus.js +3 -3
  22. package/vscode/src/vs/workbench/contrib/debug/browser/debugTaskRunner.js +17 -50
  23. package/vscode/src/vs/workbench/contrib/debug/browser/debugTitle.js +31 -0
  24. package/vscode/src/vs/workbench/contrib/debug/browser/debugToolBar.js +9 -4
  25. package/vscode/src/vs/workbench/contrib/debug/browser/debugViewlet.js +12 -4
  26. package/vscode/src/vs/workbench/contrib/debug/browser/disassemblyView.js +8 -8
  27. package/vscode/src/vs/workbench/contrib/debug/browser/exceptionWidget.js +13 -11
  28. package/vscode/src/vs/workbench/contrib/debug/browser/linkDetector.js +4 -4
  29. package/vscode/src/vs/workbench/contrib/debug/browser/loadedScriptsView.js +6 -25
  30. package/vscode/src/vs/workbench/contrib/debug/browser/rawDebugSession.js +9 -12
  31. package/vscode/src/vs/workbench/contrib/debug/browser/repl.js +15 -21
  32. package/vscode/src/vs/workbench/contrib/debug/browser/replViewer.js +6 -20
  33. package/vscode/src/vs/workbench/contrib/debug/browser/statusbarColorProvider.js +5 -17
  34. package/vscode/src/vs/workbench/contrib/debug/browser/variablesView.js +10 -18
  35. package/vscode/src/vs/workbench/contrib/debug/browser/watchExpressionsView.js +10 -13
  36. package/vscode/src/vs/workbench/contrib/debug/browser/welcomeView.js +61 -6
  37. package/vscode/src/vs/workbench/contrib/debug/common/debugContentProvider.js +6 -9
  38. package/vscode/src/vs/workbench/contrib/debug/common/debugLifecycle.js +3 -12
  39. package/vscode/src/vs/workbench/contrib/debug/common/debugModel.js +21 -13
  40. package/vscode/src/vs/workbench/contrib/debug/common/debugSchemas.js +41 -143
  41. package/vscode/src/vs/workbench/contrib/debug/common/debugSource.js +1 -1
  42. package/vscode/src/vs/workbench/contrib/debug/common/debugger.js +11 -36
  43. package/vscode/src/vs/workbench/contrib/debug/common/disassemblyViewInput.js +2 -2
  44. package/vscode/src/vs/workbench/contrib/debug/common/loadedScriptsPicker.js +1 -1
  45. package/vscode/src/vs/workbench/contrib/debug/common/replModel.js +1 -1
  46. package/vscode/src/vs/workbench/services/configurationResolver/browser/baseConfigurationResolverService.js +11 -16
  47. package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverSchema.js +16 -49
  48. package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverUtils.js +1 -4
@@ -39,7 +39,7 @@ let StartDebugActionViewItem = class StartDebugActionViewItem extends BaseAction
39
39
  -1,
40
40
  contextViewService,
41
41
  defaultSelectBoxStyles,
42
- { ariaLabel: ( nls.localize('debugLaunchConfigurations', 'Debug Launch Configurations')) }
42
+ { ariaLabel: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugActionViewItems', 'debugLaunchConfigurations', 'Debug Launch Configurations') }
43
43
  ));
44
44
  this.selectBox.setFocusable(false);
45
45
  this.toDispose.push(this.selectBox);
@@ -192,7 +192,7 @@ let StartDebugActionViewItem = class StartDebugActionViewItem extends BaseAction
192
192
  });
193
193
  });
194
194
  if (this.debugOptions.length === 0) {
195
- this.debugOptions.push({ label: ( nls.localize('noConfigurations', "No Configurations")), handler: async () => false });
195
+ this.debugOptions.push({ label: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugActionViewItems', 'noConfigurations', "No Configurations"), handler: async () => false });
196
196
  }
197
197
  this.debugOptions.push({ label: StartDebugActionViewItem_1.SEPARATOR, handler: () => Promise.resolve(false) });
198
198
  disabledIdxs.push(this.debugOptions.length - 1);
@@ -210,7 +210,7 @@ let StartDebugActionViewItem = class StartDebugActionViewItem extends BaseAction
210
210
  });
211
211
  });
212
212
  manager.getLaunches().filter(l => !l.hidden).forEach(l => {
213
- const label = inWorkspace ? ( nls.localize("addConfigTo", "Add Config ({0})...", l.name)) : ( nls.localize('addConfiguration', "Add Configuration..."));
213
+ const label = inWorkspace ? nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugActionViewItems', "addConfigTo", "Add Config ({0})...", l.name) : nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugActionViewItems', 'addConfiguration', "Add Configuration...");
214
214
  this.debugOptions.push({
215
215
  label, handler: async () => {
216
216
  await this.commandService.executeCommand(ADD_CONFIGURATION_ID, ( l.uri.toString()));
@@ -233,7 +233,7 @@ StartDebugActionViewItem = StartDebugActionViewItem_1 = ( __decorate([
233
233
  ], StartDebugActionViewItem));
234
234
  let FocusSessionActionViewItem = class FocusSessionActionViewItem extends SelectActionViewItem {
235
235
  constructor(action, session, debugService, contextViewService, configurationService) {
236
- super(null, action, [], -1, contextViewService, defaultSelectBoxStyles, { ariaLabel: ( nls.localize('debugSession', 'Debug Session')) });
236
+ super(null, action, [], -1, contextViewService, defaultSelectBoxStyles, { ariaLabel: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugActionViewItems', 'debugSession', 'Debug Session') });
237
237
  this.debugService = debugService;
238
238
  this.configurationService = configurationService;
239
239
  this._register(this.debugService.getViewModel().onDidFocusSession(() => {
@@ -72,10 +72,7 @@ let AdapterManager = class AdapterManager extends Disposable {
72
72
  delta.added.forEach(added => {
73
73
  added.value.forEach(rawAdapter => {
74
74
  if (!rawAdapter.type || (typeof rawAdapter.type !== 'string')) {
75
- added.collector.error(( nls.localize(
76
- 'debugNoType',
77
- "Debugger 'type' can not be omitted and must be of type 'string'."
78
- )));
75
+ added.collector.error(nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugAdapterManager', 'debugNoType', "Debugger 'type' can not be omitted and must be of type 'string'."));
79
76
  }
80
77
  if (rawAdapter.type !== '*') {
81
78
  const existing = this.getDebugger(rawAdapter.type);
@@ -118,18 +115,12 @@ let AdapterManager = class AdapterManager extends Disposable {
118
115
  properties: {
119
116
  'name': {
120
117
  type: 'string',
121
- description: ( nls.localize(
122
- 'debugName',
123
- "Name of configuration; appears in the launch configuration dropdown menu."
124
- )),
118
+ description: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugAdapterManager', 'debugName', "Name of configuration; appears in the launch configuration dropdown menu."),
125
119
  default: 'Launch'
126
120
  },
127
121
  'debugServer': {
128
122
  type: 'number',
129
- description: ( nls.localize(
130
- 'debugServer',
131
- "For debug extension development only: if a port is specified VS Code tries to connect to a debug adapter running in server mode"
132
- )),
123
+ description: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugAdapterManager', 'debugServer', "For debug extension development only: if a port is specified VS Code tries to connect to a debug adapter running in server mode"),
133
124
  default: 4711
134
125
  },
135
126
  'preLaunchTask': {
@@ -138,7 +129,7 @@ let AdapterManager = class AdapterManager extends Disposable {
138
129
  }],
139
130
  default: '',
140
131
  defaultSnippets: [{ body: { task: '', type: '' } }],
141
- description: ( nls.localize('debugPrelaunchTask', "Task to run before debug session starts."))
132
+ description: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugAdapterManager', 'debugPrelaunchTask', "Task to run before debug session starts.")
142
133
  },
143
134
  'postDebugTask': {
144
135
  anyOf: [taskSchema, {
@@ -146,16 +137,13 @@ let AdapterManager = class AdapterManager extends Disposable {
146
137
  }],
147
138
  default: '',
148
139
  defaultSnippets: [{ body: { task: '', type: '' } }],
149
- description: ( nls.localize('debugPostDebugTask', "Task to run after debug session ends."))
140
+ description: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugAdapterManager', 'debugPostDebugTask', "Task to run after debug session ends.")
150
141
  },
151
142
  'presentation': presentationSchema,
152
143
  'internalConsoleOptions': INTERNAL_CONSOLE_OPTIONS_SCHEMA,
153
144
  'suppressMultipleSessionWarning': {
154
145
  type: 'boolean',
155
- description: ( nls.localize(
156
- 'suppressMultipleSessionWarning',
157
- "Disable the warning when trying to start the same debug configuration more than once."
158
- )),
146
+ description: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugAdapterManager', 'suppressMultipleSessionWarning', "Disable the warning when trying to start the same debug configuration more than once."),
159
147
  default: true
160
148
  }
161
149
  }
@@ -306,16 +294,8 @@ let AdapterManager = class AdapterManager extends Disposable {
306
294
  }
307
295
  const { confirmed } = await this.dialogService.confirm({
308
296
  type: Severity.Warning,
309
- message: ( nls.localize(
310
- 'CouldNotFindLanguage',
311
- "You don't have an extension for debugging {0}. Should we find a {0} extension in the Marketplace?",
312
- languageLabel
313
- )),
314
- primaryButton: ( nls.localize(
315
- { key: 'findExtension', comment: ['&& denotes a mnemonic'] },
316
- "&&Find {0} extension",
317
- languageLabel
318
- ))
297
+ message: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugAdapterManager', 'CouldNotFindLanguage', "You don't have an extension for debugging {0}. Should we find a {0} extension in the Marketplace?", languageLabel),
298
+ primaryButton: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugAdapterManager', { key: 'findExtension', comment: ['&& denotes a mnemonic'] }, "&&Find {0} extension", languageLabel)
319
299
  });
320
300
  if (confirmed) {
321
301
  await this.commandService.executeCommand('debug.installAdditionalDebuggers', languageLabel);
@@ -341,7 +321,7 @@ let AdapterManager = class AdapterManager extends Disposable {
341
321
  });
342
322
  const picks = [];
343
323
  if (suggestedCandidates.length > 0) {
344
- picks.push({ type: 'separator', label: ( nls.localize('suggestedDebuggers', "Suggested")) }, ...( suggestedCandidates.map(c => ({ label: c.label, debugger: c }))));
324
+ picks.push({ type: 'separator', label: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugAdapterManager', 'suggestedDebuggers', "Suggested") }, ...( suggestedCandidates.map(c => ({ label: c.label, debugger: c }))));
345
325
  }
346
326
  if (otherCandidates.length > 0) {
347
327
  if (picks.length > 0) {
@@ -349,8 +329,8 @@ let AdapterManager = class AdapterManager extends Disposable {
349
329
  }
350
330
  picks.push(...( otherCandidates.map(c => ({ label: c.label, debugger: c }))));
351
331
  }
352
- picks.push({ type: 'separator', label: '' }, { label: languageLabel ? ( nls.localize('installLanguage', "Install an extension for {0}...", languageLabel)) : ( nls.localize('installExt', "Install extension...")) });
353
- const placeHolder = ( nls.localize('selectDebug', "Select debugger"));
332
+ picks.push({ type: 'separator', label: '' }, { label: languageLabel ? nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugAdapterManager', 'installLanguage', "Install an extension for {0}...", languageLabel) : nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugAdapterManager', 'installExt', "Install extension...") });
333
+ const placeHolder = nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugAdapterManager', 'selectDebug', "Select debugger");
354
334
  return this.quickInputService.pick(picks, { activeItem: picks[0], placeHolder })
355
335
  .then(picked => {
356
336
  if (picked && picked.debugger) {
@@ -48,6 +48,7 @@ const SELECT_DEBUG_CONSOLE_ID = 'workbench.action.debug.selectDebugConsole';
48
48
  const SELECT_DEBUG_SESSION_ID = 'workbench.action.debug.selectDebugSession';
49
49
  const DEBUG_CONFIGURE_COMMAND_ID = 'workbench.action.debug.configure';
50
50
  const DEBUG_START_COMMAND_ID = 'workbench.action.debug.start';
51
+ const DEBUG_RUN_COMMAND_ID = 'workbench.action.debug.run';
51
52
  const EDIT_EXPRESSION_COMMAND_ID = 'debug.renameWatchExpression';
52
53
  const SET_EXPRESSION_COMMAND_ID = 'debug.setWatchExpression';
53
54
  const REMOVE_EXPRESSION_COMMAND_ID = 'debug.removeWatchExpression';
@@ -58,29 +59,31 @@ const CALLSTACK_TOP_ID = 'workbench.action.debug.callStackTop';
58
59
  const CALLSTACK_BOTTOM_ID = 'workbench.action.debug.callStackBottom';
59
60
  const CALLSTACK_UP_ID = 'workbench.action.debug.callStackUp';
60
61
  const CALLSTACK_DOWN_ID = 'workbench.action.debug.callStackDown';
61
- const DEBUG_COMMAND_CATEGORY = { original: 'Debug', value: ( nls.localize('debug', 'Debug')) };
62
- const RESTART_LABEL = { value: ( nls.localize('restartDebug', "Restart")), original: 'Restart' };
63
- const STEP_OVER_LABEL = { value: ( nls.localize('stepOverDebug', "Step Over")), original: 'Step Over' };
64
- const STEP_INTO_LABEL = { value: ( nls.localize('stepIntoDebug', "Step Into")), original: 'Step Into' };
65
- const STEP_INTO_TARGET_LABEL = { value: ( nls.localize('stepIntoTargetDebug', "Step Into Target")), original: 'Step Into Target' };
66
- const STEP_OUT_LABEL = { value: ( nls.localize('stepOutDebug', "Step Out")), original: 'Step Out' };
67
- const PAUSE_LABEL = { value: ( nls.localize('pauseDebug', "Pause")), original: 'Pause' };
68
- const DISCONNECT_LABEL = { value: ( nls.localize('disconnect', "Disconnect")), original: 'Disconnect' };
69
- const DISCONNECT_AND_SUSPEND_LABEL = { value: ( nls.localize('disconnectSuspend', "Disconnect and Suspend")), original: 'Disconnect and Suspend' };
70
- const STOP_LABEL = { value: ( nls.localize('stop', "Stop")), original: 'Stop' };
71
- const CONTINUE_LABEL = { value: ( nls.localize('continueDebug', "Continue")), original: 'Continue' };
72
- const FOCUS_SESSION_LABEL = { value: ( nls.localize('focusSession', "Focus Session")), original: 'Focus Session' };
73
- const SELECT_AND_START_LABEL = { value: ( nls.localize('selectAndStartDebugging', "Select and Start Debugging")), original: 'Select and Start Debugging' };
74
- const DEBUG_CONFIGURE_LABEL = ( nls.localize('openLaunchJson', "Open '{0}'", 'launch.json'));
75
- const NEXT_DEBUG_CONSOLE_LABEL = { value: ( nls.localize('nextDebugConsole', "Focus Next Debug Console")), original: 'Focus Next Debug Console' };
76
- const PREV_DEBUG_CONSOLE_LABEL = { value: ( nls.localize('prevDebugConsole', "Focus Previous Debug Console")), original: 'Focus Previous Debug Console' };
77
- const OPEN_LOADED_SCRIPTS_LABEL = { value: ( nls.localize('openLoadedScript', "Open Loaded Script...")), original: 'Open Loaded Script...' };
78
- const CALLSTACK_TOP_LABEL = { value: ( nls.localize('callStackTop', "Navigate to Top of Call Stack")), original: 'Navigate to Top of Call Stack' };
79
- const CALLSTACK_BOTTOM_LABEL = { value: ( nls.localize('callStackBottom', "Navigate to Bottom of Call Stack")), original: 'Navigate to Bottom of Call Stack' };
80
- const CALLSTACK_UP_LABEL = { value: ( nls.localize('callStackUp', "Navigate Up Call Stack")), original: 'Navigate Up Call Stack' };
81
- const CALLSTACK_DOWN_LABEL = { value: ( nls.localize('callStackDown', "Navigate Down Call Stack")), original: 'Navigate Down Call Stack' };
82
- const SELECT_DEBUG_CONSOLE_LABEL = { value: ( nls.localize('selectDebugConsole', "Select Debug Console")), original: 'Select Debug Console' };
83
- const SELECT_DEBUG_SESSION_LABEL = { value: ( nls.localize('selectDebugSession', "Select Debug Session")), original: 'Select Debug Session' };
62
+ const DEBUG_COMMAND_CATEGORY = { original: 'Debug', value: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugCommands', 'debug', 'Debug') };
63
+ const RESTART_LABEL = { value: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugCommands', 'restartDebug', "Restart"), original: 'Restart' };
64
+ const STEP_OVER_LABEL = { value: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugCommands', 'stepOverDebug', "Step Over"), original: 'Step Over' };
65
+ const STEP_INTO_LABEL = { value: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugCommands', 'stepIntoDebug', "Step Into"), original: 'Step Into' };
66
+ const STEP_INTO_TARGET_LABEL = { value: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugCommands', 'stepIntoTargetDebug', "Step Into Target"), original: 'Step Into Target' };
67
+ const STEP_OUT_LABEL = { value: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugCommands', 'stepOutDebug', "Step Out"), original: 'Step Out' };
68
+ const PAUSE_LABEL = { value: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugCommands', 'pauseDebug', "Pause"), original: 'Pause' };
69
+ const DISCONNECT_LABEL = { value: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugCommands', 'disconnect', "Disconnect"), original: 'Disconnect' };
70
+ const DISCONNECT_AND_SUSPEND_LABEL = { value: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugCommands', 'disconnectSuspend', "Disconnect and Suspend"), original: 'Disconnect and Suspend' };
71
+ const STOP_LABEL = { value: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugCommands', 'stop', "Stop"), original: 'Stop' };
72
+ const CONTINUE_LABEL = { value: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugCommands', 'continueDebug', "Continue"), original: 'Continue' };
73
+ const FOCUS_SESSION_LABEL = { value: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugCommands', 'focusSession', "Focus Session"), original: 'Focus Session' };
74
+ const SELECT_AND_START_LABEL = { value: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugCommands', 'selectAndStartDebugging', "Select and Start Debugging"), original: 'Select and Start Debugging' };
75
+ const DEBUG_CONFIGURE_LABEL = nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugCommands', 'openLaunchJson', "Open '{0}'", 'launch.json');
76
+ ({ value: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugCommands', 'startDebug', "Start Debugging"), original: 'Start Debugging' });
77
+ ({ value: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugCommands', 'startWithoutDebugging', "Start Without Debugging"), original: 'Start Without Debugging' });
78
+ const NEXT_DEBUG_CONSOLE_LABEL = { value: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugCommands', 'nextDebugConsole', "Focus Next Debug Console"), original: 'Focus Next Debug Console' };
79
+ const PREV_DEBUG_CONSOLE_LABEL = { value: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugCommands', 'prevDebugConsole', "Focus Previous Debug Console"), original: 'Focus Previous Debug Console' };
80
+ const OPEN_LOADED_SCRIPTS_LABEL = { value: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugCommands', 'openLoadedScript', "Open Loaded Script..."), original: 'Open Loaded Script...' };
81
+ const CALLSTACK_TOP_LABEL = { value: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugCommands', 'callStackTop', "Navigate to Top of Call Stack"), original: 'Navigate to Top of Call Stack' };
82
+ const CALLSTACK_BOTTOM_LABEL = { value: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugCommands', 'callStackBottom', "Navigate to Bottom of Call Stack"), original: 'Navigate to Bottom of Call Stack' };
83
+ const CALLSTACK_UP_LABEL = { value: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugCommands', 'callStackUp', "Navigate Up Call Stack"), original: 'Navigate Up Call Stack' };
84
+ const CALLSTACK_DOWN_LABEL = { value: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugCommands', 'callStackDown', "Navigate Down Call Stack"), original: 'Navigate Down Call Stack' };
85
+ const SELECT_DEBUG_CONSOLE_LABEL = { value: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugCommands', 'selectDebugConsole', "Select Debug Console"), original: 'Select Debug Console' };
86
+ const SELECT_DEBUG_SESSION_LABEL = { value: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugCommands', 'selectDebugSession', "Select Debug Session"), original: 'Select Debug Session' };
84
87
  const DEBUG_QUICK_ACCESS_PREFIX = 'debug ';
85
88
  const DEBUG_CONSOLE_QUICK_ACCESS_PREFIX = 'debug consoles ';
86
89
  function isThreadContext(obj) {
@@ -301,7 +304,7 @@ CommandsRegistry.registerCommand({
301
304
  let id = targets[0].id;
302
305
  if (targets.length > 1) {
303
306
  const picks = ( targets.map(t => ({ label: t.label, _id: t.id })));
304
- const pick = await quickInputService.pick(picks, { placeHolder: ( nls.localize('chooseLocation', "Choose the specific location")) });
307
+ const pick = await quickInputService.pick(picks, { placeHolder: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugCommands', 'chooseLocation', "Choose the specific location") });
305
308
  if (!pick) {
306
309
  return;
307
310
  }
@@ -311,10 +314,7 @@ CommandsRegistry.registerCommand({
311
314
  }
312
315
  }
313
316
  }
314
- return notificationService.warn(( nls.localize(
315
- 'noExecutableCode',
316
- "No executable code is associated at the current cursor position."
317
- )));
317
+ return notificationService.warn(nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugCommands', 'noExecutableCode', "No executable code is associated at the current cursor position."));
318
318
  }
319
319
  });
320
320
  CommandsRegistry.registerCommand({
@@ -348,7 +348,7 @@ CommandsRegistry.registerCommand({
348
348
  MenuRegistry.appendMenuItem(MenuId.EditorContext, {
349
349
  command: {
350
350
  id: JUMP_TO_CURSOR_ID,
351
- title: ( nls.localize('jumpToCursor', "Jump to Cursor")),
351
+ title: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugCommands', 'jumpToCursor', "Jump to Cursor"),
352
352
  category: DEBUG_COMMAND_CATEGORY
353
353
  },
354
354
  when: ( ContextKeyExpr.and(CONTEXT_JUMP_TO_CURSOR_SUPPORTED, EditorContextKeys.editorTextFocus)),
@@ -509,7 +509,7 @@ KeybindingsRegistry.registerCommandAndKeybindingRule({
509
509
  qp.items = targets?.map(target => ({ target, label: target.label }));
510
510
  }
511
511
  else {
512
- qp.placeholder = ( nls.localize('editor.debug.action.stepIntoTargets.none', "No step targets available"));
512
+ qp.placeholder = nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugCommands', 'editor.debug.action.stepIntoTargets.none', "No step targets available");
513
513
  }
514
514
  });
515
515
  }
@@ -813,7 +813,7 @@ KeybindingsRegistry.registerCommandAndKeybindingRule({
813
813
  MenuRegistry.appendMenuItem(MenuId.EditorContext, {
814
814
  command: {
815
815
  id: TOGGLE_INLINE_BREAKPOINT_ID,
816
- title: ( nls.localize('addInlineBreakpoint', "Add Inline Breakpoint")),
816
+ title: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugCommands', 'addInlineBreakpoint', "Add Inline Breakpoint"),
817
817
  category: DEBUG_COMMAND_CATEGORY
818
818
  },
819
819
  when: ( ContextKeyExpr.and(CONTEXT_IN_DEBUG_MODE, ( PanelFocusContext.toNegated()), EditorContextKeys.editorTextFocus)),
@@ -839,4 +839,4 @@ KeybindingsRegistry.registerCommandAndKeybindingRule({
839
839
  }
840
840
  });
841
841
 
842
- export { ADD_CONFIGURATION_ID, CALLSTACK_BOTTOM_ID, CALLSTACK_BOTTOM_LABEL, CALLSTACK_DOWN_ID, CALLSTACK_DOWN_LABEL, CALLSTACK_TOP_ID, CALLSTACK_TOP_LABEL, CALLSTACK_UP_ID, CALLSTACK_UP_LABEL, CONTINUE_ID, CONTINUE_LABEL, COPY_STACK_TRACE_ID, DEBUG_COMMAND_CATEGORY, DEBUG_CONFIGURE_COMMAND_ID, DEBUG_CONFIGURE_LABEL, DEBUG_CONSOLE_QUICK_ACCESS_PREFIX, DEBUG_QUICK_ACCESS_PREFIX, DEBUG_START_COMMAND_ID, DISCONNECT_AND_SUSPEND_ID, DISCONNECT_AND_SUSPEND_LABEL, DISCONNECT_ID, DISCONNECT_LABEL, EDIT_EXPRESSION_COMMAND_ID, FOCUS_REPL_ID, FOCUS_SESSION_ID, FOCUS_SESSION_LABEL, JUMP_TO_CURSOR_ID, NEXT_DEBUG_CONSOLE_ID, NEXT_DEBUG_CONSOLE_LABEL, OPEN_LOADED_SCRIPTS_LABEL, PAUSE_ID, PAUSE_LABEL, PREV_DEBUG_CONSOLE_ID, PREV_DEBUG_CONSOLE_LABEL, REMOVE_EXPRESSION_COMMAND_ID, RESTART_FRAME_ID, RESTART_LABEL, RESTART_SESSION_ID, REVERSE_CONTINUE_ID, SELECT_AND_START_ID, SELECT_AND_START_LABEL, SELECT_DEBUG_CONSOLE_ID, SELECT_DEBUG_CONSOLE_LABEL, SELECT_DEBUG_SESSION_ID, SELECT_DEBUG_SESSION_LABEL, SET_EXPRESSION_COMMAND_ID, SHOW_LOADED_SCRIPTS_ID, STEP_BACK_ID, STEP_INTO_ID, STEP_INTO_LABEL, STEP_INTO_TARGET_ID, STEP_INTO_TARGET_LABEL, STEP_OUT_ID, STEP_OUT_LABEL, STEP_OVER_ID, STEP_OVER_LABEL, STOP_ID, STOP_LABEL, TERMINATE_THREAD_ID, TOGGLE_INLINE_BREAKPOINT_ID };
842
+ export { ADD_CONFIGURATION_ID, CALLSTACK_BOTTOM_ID, CALLSTACK_BOTTOM_LABEL, CALLSTACK_DOWN_ID, CALLSTACK_DOWN_LABEL, CALLSTACK_TOP_ID, CALLSTACK_TOP_LABEL, CALLSTACK_UP_ID, CALLSTACK_UP_LABEL, CONTINUE_ID, CONTINUE_LABEL, COPY_STACK_TRACE_ID, DEBUG_COMMAND_CATEGORY, DEBUG_CONFIGURE_COMMAND_ID, DEBUG_CONFIGURE_LABEL, DEBUG_CONSOLE_QUICK_ACCESS_PREFIX, DEBUG_QUICK_ACCESS_PREFIX, DEBUG_RUN_COMMAND_ID, DEBUG_START_COMMAND_ID, DISCONNECT_AND_SUSPEND_ID, DISCONNECT_AND_SUSPEND_LABEL, DISCONNECT_ID, DISCONNECT_LABEL, EDIT_EXPRESSION_COMMAND_ID, FOCUS_REPL_ID, FOCUS_SESSION_ID, FOCUS_SESSION_LABEL, JUMP_TO_CURSOR_ID, NEXT_DEBUG_CONSOLE_ID, NEXT_DEBUG_CONSOLE_LABEL, OPEN_LOADED_SCRIPTS_LABEL, PAUSE_ID, PAUSE_LABEL, PREV_DEBUG_CONSOLE_ID, PREV_DEBUG_CONSOLE_LABEL, REMOVE_EXPRESSION_COMMAND_ID, RESTART_FRAME_ID, RESTART_LABEL, RESTART_SESSION_ID, REVERSE_CONTINUE_ID, SELECT_AND_START_ID, SELECT_AND_START_LABEL, SELECT_DEBUG_CONSOLE_ID, SELECT_DEBUG_CONSOLE_LABEL, SELECT_DEBUG_SESSION_ID, SELECT_DEBUG_SESSION_LABEL, SET_EXPRESSION_COMMAND_ID, SHOW_LOADED_SCRIPTS_ID, STEP_BACK_ID, STEP_INTO_ID, STEP_INTO_LABEL, STEP_INTO_TARGET_ID, STEP_INTO_TARGET_LABEL, STEP_OUT_ID, STEP_OUT_LABEL, STEP_OVER_ID, STEP_OVER_LABEL, STOP_ID, STOP_LABEL, TERMINATE_THREAD_ID, TOGGLE_INLINE_BREAKPOINT_ID };
@@ -175,7 +175,7 @@ let ConfigurationManager = class ConfigurationManager {
175
175
  config,
176
176
  buttons: [{
177
177
  iconClass: ThemeIcon.asClassName(debugConfigure),
178
- tooltip: ( nls.localize('editLaunchConfig', "Edit Debug Configuration in launch.json"))
178
+ tooltip: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugConfigurationManager', 'editLaunchConfig', "Edit Debug Configuration in launch.json")
179
179
  }],
180
180
  launch
181
181
  })))));
@@ -184,7 +184,7 @@ let ConfigurationManager = class ConfigurationManager {
184
184
  const disposables = ( new DisposableStore());
185
185
  const input = disposables.add(this.quickInputService.createQuickPick());
186
186
  input.busy = true;
187
- input.placeholder = ( nls.localize('selectConfiguration', "Select Launch Configuration"));
187
+ input.placeholder = nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugConfigurationManager', 'selectConfiguration', "Select Launch Configuration");
188
188
  const chosenPromise = ( new Promise(resolve => {
189
189
  disposables.add(input.onDidAccept(() => resolve(input.activeItems[0])));
190
190
  disposables.add(input.onDidTriggerItemButton(async (context) => {
@@ -499,7 +499,7 @@ let Launch = class Launch extends AbstractLaunch {
499
499
  await this.textFileService.write(resource, content);
500
500
  }
501
501
  catch (error) {
502
- throw new Error(nls.localize('DebugConfig.failed', "Unable to create 'launch.json' file inside the '.vscode' folder ({0}).", error.message));
502
+ throw new Error(nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugConfigurationManager', 'DebugConfig.failed', "Unable to create 'launch.json' file inside the '.vscode' folder ({0}).", error.message));
503
503
  }
504
504
  }
505
505
  const index = content.indexOf(`"${this.configurationManager.selectedConfiguration.name}"`);
@@ -553,7 +553,7 @@ let WorkspaceLaunch = class WorkspaceLaunch extends AbstractLaunch {
553
553
  return this.contextService.getWorkspace().configuration;
554
554
  }
555
555
  get name() {
556
- return ( nls.localize('workspace', "workspace"));
556
+ return nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugConfigurationManager', 'workspace', "workspace");
557
557
  }
558
558
  getConfig() {
559
559
  return this.configurationService.inspect('launch').workspaceValue;
@@ -597,7 +597,7 @@ let UserLaunch = class UserLaunch extends AbstractLaunch {
597
597
  return this.preferencesService.userSettingsResource;
598
598
  }
599
599
  get name() {
600
- return ( nls.localize('user settings', "user settings"));
600
+ return nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugConfigurationManager', 'user settings', "user settings");
601
601
  }
602
602
  get hidden() {
603
603
  return true;
@@ -1,8 +1,8 @@
1
1
  import { __decorate, __param } from '../../../../../../../external/tslib/tslib.es6.js';
2
2
  import { matchesFuzzy } from 'monaco-editor/esm/vs/base/common/filters.js';
3
- import { localize } from 'monaco-editor/esm/vs/nls.js';
3
+ import { localizeWithPath } from 'monaco-editor/esm/vs/nls.js';
4
4
  import { ICommandService } from 'monaco-editor/esm/vs/platform/commands/common/commands.js';
5
- import { PickerQuickAccessProvider } from 'monaco-editor/esm/vs/platform/quickinput/browser/pickerQuickAccess.js';
5
+ import { PickerQuickAccessProvider } from 'vscode/vscode/vs/platform/quickinput/browser/pickerQuickAccess';
6
6
  import { IViewsService } from 'vscode/vscode/vs/workbench/common/views';
7
7
  import { DEBUG_CONSOLE_QUICK_ACCESS_PREFIX, SELECT_AND_START_ID } from './debugCommands.js';
8
8
  import { REPL_VIEW_ID, IDebugService } from 'vscode/vscode/vs/workbench/contrib/debug/common/debug';
@@ -25,7 +25,7 @@ let DebugConsoleQuickAccess = class DebugConsoleQuickAccess extends PickerQuickA
25
25
  if (debugConsolePicks.length > 0) {
26
26
  debugConsolePicks.push({ type: 'separator' });
27
27
  }
28
- const createTerminalLabel = ( localize("workbench.action.debug.startDebug", "Start a New Debug Session"));
28
+ const createTerminalLabel = localizeWithPath('vs/workbench/contrib/debug/browser/debugConsoleQuickAccess', "workbench.action.debug.startDebug", "Start a New Debug Session");
29
29
  debugConsolePicks.push({
30
30
  label: `$(plus) ${createTerminalLabel}`,
31
31
  ariaLabel: createTerminalLabel,
@@ -27,12 +27,9 @@ class ToggleBreakpointAction extends Action2 {
27
27
  super({
28
28
  id: 'editor.debug.action.toggleBreakpoint',
29
29
  title: {
30
- value: ( nls.localize('toggleBreakpointAction', "Debug: Toggle Breakpoint")),
30
+ value: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugEditorActions', 'toggleBreakpointAction', "Debug: Toggle Breakpoint"),
31
31
  original: 'Debug: Toggle Breakpoint',
32
- mnemonicTitle: ( nls.localize(
33
- { key: 'miToggleBreakpoint', comment: ['&& denotes a mnemonic'] },
34
- "Toggle &&Breakpoint"
35
- )),
32
+ mnemonicTitle: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugEditorActions', { key: 'miToggleBreakpoint', comment: ['&& denotes a mnemonic'] }, "Toggle &&Breakpoint"),
36
33
  },
37
34
  precondition: CONTEXT_DEBUGGERS_AVAILABLE,
38
35
  keybinding: {
@@ -88,18 +85,12 @@ class ConditionalBreakpointAction extends EditorAction {
88
85
  constructor() {
89
86
  super({
90
87
  id: 'editor.debug.action.conditionalBreakpoint',
91
- label: ( nls.localize(
92
- 'conditionalBreakpointEditorAction',
93
- "Debug: Add Conditional Breakpoint..."
94
- )),
88
+ label: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugEditorActions', 'conditionalBreakpointEditorAction', "Debug: Add Conditional Breakpoint..."),
95
89
  alias: 'Debug: Add Conditional Breakpoint...',
96
90
  precondition: CONTEXT_DEBUGGERS_AVAILABLE,
97
91
  menuOpts: {
98
92
  menuId: MenuId.MenubarNewBreakpointMenu,
99
- title: ( nls.localize(
100
- { key: 'miConditionalBreakpoint', comment: ['&& denotes a mnemonic'] },
101
- "&&Conditional Breakpoint..."
102
- )),
93
+ title: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugEditorActions', { key: 'miConditionalBreakpoint', comment: ['&& denotes a mnemonic'] }, "&&Conditional Breakpoint..."),
103
94
  group: '1_breakpoints',
104
95
  order: 1,
105
96
  when: CONTEXT_DEBUGGERS_AVAILABLE
@@ -118,13 +109,13 @@ class LogPointAction extends EditorAction {
118
109
  constructor() {
119
110
  super({
120
111
  id: 'editor.debug.action.addLogPoint',
121
- label: ( nls.localize('logPointEditorAction', "Debug: Add Logpoint...")),
112
+ label: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugEditorActions', 'logPointEditorAction', "Debug: Add Logpoint..."),
122
113
  precondition: CONTEXT_DEBUGGERS_AVAILABLE,
123
114
  alias: 'Debug: Add Logpoint...',
124
115
  menuOpts: [
125
116
  {
126
117
  menuId: MenuId.MenubarNewBreakpointMenu,
127
- title: ( nls.localize({ key: 'miLogPoint', comment: ['&& denotes a mnemonic'] }, "&&Logpoint...")),
118
+ title: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugEditorActions', { key: 'miLogPoint', comment: ['&& denotes a mnemonic'] }, "&&Logpoint..."),
128
119
  group: '1_breakpoints',
129
120
  order: 4,
130
121
  when: CONTEXT_DEBUGGERS_AVAILABLE,
@@ -144,15 +135,12 @@ class EditBreakpointAction extends EditorAction {
144
135
  constructor() {
145
136
  super({
146
137
  id: 'editor.debug.action.editBreakpoint',
147
- label: ( nls.localize('EditBreakpointEditorAction', "Debug: Edit Breakpoint")),
138
+ label: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugEditorActions', 'EditBreakpointEditorAction', "Debug: Edit Breakpoint"),
148
139
  alias: 'Debug: Edit Existing Breakpoint',
149
140
  precondition: CONTEXT_DEBUGGERS_AVAILABLE,
150
141
  menuOpts: {
151
142
  menuId: MenuId.MenubarNewBreakpointMenu,
152
- title: ( nls.localize(
153
- { key: 'miEditBreakpoint', comment: ['&& denotes a mnemonic'] },
154
- "&&Edit Breakpoint"
155
- )),
143
+ title: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugEditorActions', { key: 'miEditBreakpoint', comment: ['&& denotes a mnemonic'] }, "&&Edit Breakpoint"),
156
144
  group: '1_breakpoints',
157
145
  order: 1,
158
146
  when: CONTEXT_DEBUGGERS_AVAILABLE
@@ -187,12 +175,9 @@ class OpenDisassemblyViewAction extends EditorAction2 {
187
175
  super({
188
176
  id: OpenDisassemblyViewAction.ID,
189
177
  title: {
190
- value: ( nls.localize('openDisassemblyView', "Open Disassembly View")),
178
+ value: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugEditorActions', 'openDisassemblyView', "Open Disassembly View"),
191
179
  original: 'Open Disassembly View',
192
- mnemonicTitle: ( nls.localize(
193
- { key: 'miDisassemblyView', comment: ['&& denotes a mnemonic'] },
194
- "&&DisassemblyView"
195
- ))
180
+ mnemonicTitle: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugEditorActions', { key: 'miDisassemblyView', comment: ['&& denotes a mnemonic'] }, "&&DisassemblyView")
196
181
  },
197
182
  precondition: CONTEXT_FOCUSED_STACK_FRAME_HAS_INSTRUCTION_POINTER_REFERENCE,
198
183
  menu: [
@@ -229,15 +214,9 @@ class ToggleDisassemblyViewSourceCodeAction extends Action2 {
229
214
  super({
230
215
  id: ToggleDisassemblyViewSourceCodeAction.ID,
231
216
  title: {
232
- value: ( nls.localize(
233
- 'toggleDisassemblyViewSourceCode',
234
- "Toggle Source Code in Disassembly View"
235
- )),
217
+ value: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugEditorActions', 'toggleDisassemblyViewSourceCode', "Toggle Source Code in Disassembly View"),
236
218
  original: 'Toggle Source Code in Disassembly View',
237
- mnemonicTitle: ( nls.localize(
238
- { key: 'mitogglesource', comment: ['&& denotes a mnemonic'] },
239
- "&&ToggleSource"
240
- ))
219
+ mnemonicTitle: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugEditorActions', { key: 'mitogglesource', comment: ['&& denotes a mnemonic'] }, "&&ToggleSource")
241
220
  },
242
221
  f1: true,
243
222
  });
@@ -252,7 +231,7 @@ class ToggleDisassemblyViewSourceCodeAction extends Action2 {
252
231
  }
253
232
  class RunToCursorAction extends EditorAction {
254
233
  static { this.ID = 'editor.debug.action.runToCursor'; }
255
- static { this.LABEL = ( nls.localize('runToCursor', "Run to Cursor")); }
234
+ static { this.LABEL = nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugEditorActions', 'runToCursor', "Run to Cursor"); }
256
235
  constructor() {
257
236
  super({
258
237
  id: RunToCursorAction.ID,
@@ -285,7 +264,7 @@ class RunToCursorAction extends EditorAction {
285
264
  }
286
265
  class SelectionToReplAction extends EditorAction {
287
266
  static { this.ID = 'editor.debug.action.selectionToRepl'; }
288
- static { this.LABEL = ( nls.localize('evaluateInDebugConsole', "Evaluate in Debug Console")); }
267
+ static { this.LABEL = nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugEditorActions', 'evaluateInDebugConsole', "Evaluate in Debug Console"); }
289
268
  constructor() {
290
269
  super({
291
270
  id: SelectionToReplAction.ID,
@@ -320,7 +299,7 @@ class SelectionToReplAction extends EditorAction {
320
299
  }
321
300
  class SelectionToWatchExpressionsAction extends EditorAction {
322
301
  static { this.ID = 'editor.debug.action.selectionToWatch'; }
323
- static { this.LABEL = ( nls.localize('addToWatch', "Add to Watch")); }
302
+ static { this.LABEL = nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugEditorActions', 'addToWatch', "Add to Watch"); }
324
303
  constructor() {
325
304
  super({
326
305
  id: SelectionToWatchExpressionsAction.ID,
@@ -365,7 +344,7 @@ class ShowDebugHoverAction extends EditorAction {
365
344
  constructor() {
366
345
  super({
367
346
  id: 'editor.debug.action.showDebugHover',
368
- label: ( nls.localize('showDebugHover', "Debug: Show Hover")),
347
+ label: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugEditorActions', 'showDebugHover', "Debug: Show Hover"),
369
348
  alias: 'Debug: Show Hover',
370
349
  precondition: CONTEXT_IN_DEBUG_MODE,
371
350
  kbOpts: {
@@ -383,16 +362,10 @@ class ShowDebugHoverAction extends EditorAction {
383
362
  return editor.getContribution(EDITOR_CONTRIBUTION_ID)?.showHover(position, true);
384
363
  }
385
364
  }
386
- const NO_TARGETS_MESSAGE = ( nls.localize(
387
- 'editor.debug.action.stepIntoTargets.notAvailable',
388
- "Step targets are not available here"
389
- ));
365
+ const NO_TARGETS_MESSAGE = nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugEditorActions', 'editor.debug.action.stepIntoTargets.notAvailable', "Step targets are not available here");
390
366
  class StepIntoTargetsAction extends EditorAction {
391
367
  static { this.ID = 'editor.debug.action.stepIntoTargets'; }
392
- static { this.LABEL = ( nls.localize(
393
- { key: 'stepIntoTargets', comment: ['Step Into Targets lets the user step into an exact function he or she is interested in.'] },
394
- "Step Into Target"
395
- )); }
368
+ static { this.LABEL = nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugEditorActions', { key: 'stepIntoTargets', comment: ['Step Into Targets lets the user step into an exact function he or she is interested in.'] }, "Step Into Target"); }
396
369
  constructor() {
397
370
  super({
398
371
  id: StepIntoTargetsAction.ID,
@@ -497,7 +470,7 @@ class GoToNextBreakpointAction extends GoToBreakpointAction {
497
470
  constructor() {
498
471
  super(true, {
499
472
  id: 'editor.debug.action.goToNextBreakpoint',
500
- label: ( nls.localize('goToNextBreakpoint', "Debug: Go to Next Breakpoint")),
473
+ label: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugEditorActions', 'goToNextBreakpoint', "Debug: Go to Next Breakpoint"),
501
474
  alias: 'Debug: Go to Next Breakpoint',
502
475
  precondition: CONTEXT_DEBUGGERS_AVAILABLE
503
476
  });
@@ -507,7 +480,7 @@ class GoToPreviousBreakpointAction extends GoToBreakpointAction {
507
480
  constructor() {
508
481
  super(false, {
509
482
  id: 'editor.debug.action.goToPreviousBreakpoint',
510
- label: ( nls.localize('goToPreviousBreakpoint', "Debug: Go to Previous Breakpoint")),
483
+ label: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugEditorActions', 'goToPreviousBreakpoint', "Debug: Go to Previous Breakpoint"),
511
484
  alias: 'Debug: Go to Previous Breakpoint',
512
485
  precondition: CONTEXT_DEBUGGERS_AVAILABLE
513
486
  });
@@ -517,7 +490,7 @@ class CloseExceptionWidgetAction extends EditorAction {
517
490
  constructor() {
518
491
  super({
519
492
  id: 'editor.debug.action.closeExceptionWidget',
520
- label: ( nls.localize('closeExceptionWidget', "Close Exception Widget")),
493
+ label: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugEditorActions', 'closeExceptionWidget', "Close Exception Widget"),
521
494
  alias: 'Close Exception Widget',
522
495
  precondition: CONTEXT_EXCEPTION_WIDGET_VISIBLE,
523
496
  kbOpts: {
@@ -48,16 +48,13 @@ registerColor('editor.inlineValuesForeground', {
48
48
  light: '#00000080',
49
49
  hcDark: '#ffffff80',
50
50
  hcLight: '#00000080'
51
- }, ( nls.localize('editor.inlineValuesForeground', "Color for the debug inline value text.")));
51
+ }, nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugEditorContribution', 'editor.inlineValuesForeground', "Color for the debug inline value text."));
52
52
  registerColor('editor.inlineValuesBackground', {
53
53
  dark: '#ffc80033',
54
54
  light: '#ffc80033',
55
55
  hcDark: '#ffc80033',
56
56
  hcLight: '#ffc80033'
57
- }, ( nls.localize(
58
- 'editor.inlineValuesBackground',
59
- "Color for the debug inline value background."
60
- )));
57
+ }, nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugEditorContribution', 'editor.inlineValuesBackground', "Color for the debug inline value background."));
61
58
  class InlineSegment {
62
59
  constructor(column, text) {
63
60
  this.column = column;
@@ -68,11 +68,7 @@ let DebugHoverWidget = class DebugHoverWidget {
68
68
  this.treeContainer = dom.append(this.complexValueContainer, $('.debug-hover-tree'));
69
69
  this.treeContainer.setAttribute('role', 'tree');
70
70
  const tip = dom.append(this.complexValueContainer, $('.tip'));
71
- tip.textContent = ( nls.localize(
72
- { key: 'quickTip', comment: ['"switch to editor language hover" means to show the programming language hover widget instead of the debug hover'] },
73
- 'Hold {0} key to switch to editor language hover',
74
- isMacintosh ? 'Option' : 'Alt'
75
- ));
71
+ tip.textContent = nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugHover', { key: 'quickTip', comment: ['"switch to editor language hover" means to show the programming language hover widget instead of the debug hover'] }, 'Hold {0} key to switch to editor language hover', isMacintosh ? 'Option' : 'Alt');
76
72
  const dataSource = ( new DebugHoverDataSource());
77
73
  const linkeDetector = this.instantiationService.createInstance(LinkDetector);
78
74
  this.tree = this.instantiationService.createInstance(WorkbenchAsyncDataTree, 'DebugHover', this.treeContainer, ( new DebugHoverDelegate()), [this.instantiationService.createInstance(VariablesRenderer, linkeDetector)], dataSource, {
@@ -276,15 +272,10 @@ DebugHoverWidget = DebugHoverWidget_1 = ( __decorate([
276
272
  ], DebugHoverWidget));
277
273
  class DebugHoverAccessibilityProvider {
278
274
  getWidgetAriaLabel() {
279
- return ( nls.localize('treeAriaLabel', "Debug Hover"));
275
+ return nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugHover', 'treeAriaLabel', "Debug Hover");
280
276
  }
281
277
  getAriaLabel(element) {
282
- return ( nls.localize(
283
- { key: 'variableAriaLabel', comment: ['Do not translate placeholders. Placeholders are name and value of a variable.'] },
284
- "{0}, value {1}, variables, debug",
285
- element.name,
286
- element.value
287
- ));
278
+ return nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugHover', { key: 'variableAriaLabel', comment: ['Do not translate placeholders. Placeholders are name and value of a variable.'] }, "{0}, value {1}, variables, debug", element.name, element.value);
288
279
  }
289
280
  }
290
281
  class DebugHoverDataSource {