@codingame/monaco-vscode-debug-service-override 21.6.0 → 22.0.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 (45) hide show
  1. package/package.json +16 -16
  2. package/vscode/src/vs/workbench/contrib/debug/browser/callStackView.d.ts +1 -1
  3. package/vscode/src/vs/workbench/contrib/debug/browser/callStackView.js +17 -17
  4. package/vscode/src/vs/workbench/contrib/debug/browser/debug.contribution.js +115 -114
  5. package/vscode/src/vs/workbench/contrib/debug/browser/debugActionViewItems.js +6 -6
  6. package/vscode/src/vs/workbench/contrib/debug/browser/debugAdapterManager.js +12 -12
  7. package/vscode/src/vs/workbench/contrib/debug/browser/debugConfigurationManager.js +5 -5
  8. package/vscode/src/vs/workbench/contrib/debug/browser/debugConsoleQuickAccess.d.ts +1 -1
  9. package/vscode/src/vs/workbench/contrib/debug/browser/debugConsoleQuickAccess.js +2 -2
  10. package/vscode/src/vs/workbench/contrib/debug/browser/debugEditorActions.js +24 -24
  11. package/vscode/src/vs/workbench/contrib/debug/browser/debugQuickAccess.d.ts +1 -1
  12. package/vscode/src/vs/workbench/contrib/debug/browser/debugQuickAccess.js +10 -10
  13. package/vscode/src/vs/workbench/contrib/debug/browser/debugService.js +22 -22
  14. package/vscode/src/vs/workbench/contrib/debug/browser/debugSession.d.ts +1 -1
  15. package/vscode/src/vs/workbench/contrib/debug/browser/debugSession.js +67 -53
  16. package/vscode/src/vs/workbench/contrib/debug/browser/debugStatus.js +3 -3
  17. package/vscode/src/vs/workbench/contrib/debug/browser/debugTaskRunner.js +17 -17
  18. package/vscode/src/vs/workbench/contrib/debug/browser/debugToolBar.js +3 -3
  19. package/vscode/src/vs/workbench/contrib/debug/browser/debugViewlet.d.ts +2 -2
  20. package/vscode/src/vs/workbench/contrib/debug/browser/debugViewlet.js +6 -6
  21. package/vscode/src/vs/workbench/contrib/debug/browser/disassemblyView.d.ts +1 -1
  22. package/vscode/src/vs/workbench/contrib/debug/browser/disassemblyView.js +8 -8
  23. package/vscode/src/vs/workbench/contrib/debug/browser/loadedScriptsView.d.ts +1 -1
  24. package/vscode/src/vs/workbench/contrib/debug/browser/loadedScriptsView.js +9 -9
  25. package/vscode/src/vs/workbench/contrib/debug/browser/media/debugToolBar.css +8 -6
  26. package/vscode/src/vs/workbench/contrib/debug/browser/media/debugViewlet.css +7 -3
  27. package/vscode/src/vs/workbench/contrib/debug/browser/rawDebugSession.js +5 -5
  28. package/vscode/src/vs/workbench/contrib/debug/browser/repl.d.ts +1 -1
  29. package/vscode/src/vs/workbench/contrib/debug/browser/repl.js +19 -19
  30. package/vscode/src/vs/workbench/contrib/debug/browser/replAccessibilityHelp.js +8 -8
  31. package/vscode/src/vs/workbench/contrib/debug/browser/replViewer.js +5 -5
  32. package/vscode/src/vs/workbench/contrib/debug/browser/runAndDebugAccessibilityHelp.js +16 -16
  33. package/vscode/src/vs/workbench/contrib/debug/browser/statusbarColorProvider.d.ts +2 -3
  34. package/vscode/src/vs/workbench/contrib/debug/browser/statusbarColorProvider.js +13 -12
  35. package/vscode/src/vs/workbench/contrib/debug/browser/watchExpressionsView.d.ts +1 -1
  36. package/vscode/src/vs/workbench/contrib/debug/browser/watchExpressionsView.js +11 -11
  37. package/vscode/src/vs/workbench/contrib/debug/browser/welcomeView.d.ts +1 -1
  38. package/vscode/src/vs/workbench/contrib/debug/browser/welcomeView.js +12 -11
  39. package/vscode/src/vs/workbench/contrib/debug/common/debugContentProvider.js +3 -3
  40. package/vscode/src/vs/workbench/contrib/debug/common/debugLifecycle.js +3 -3
  41. package/vscode/src/vs/workbench/contrib/debug/common/debugSchemas.js +44 -44
  42. package/vscode/src/vs/workbench/contrib/debug/common/debugVisualizers.js +2 -2
  43. package/vscode/src/vs/workbench/contrib/debug/common/debugger.js +11 -11
  44. package/vscode/src/vs/workbench/contrib/debug/common/replAccessibilityAnnouncer.js +5 -3
  45. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariableCommands.js +2 -2
@@ -42,41 +42,41 @@ class ReplAccessibilityHelpProvider extends Disposable {
42
42
  provideContent() {
43
43
  return [
44
44
  ( localize(
45
- 6480,
45
+ 6549,
46
46
  "The debug console is a Read-Eval-Print-Loop that allows you to evaluate expressions and run commands and can be focused with{0}.",
47
47
  '<keybinding:workbench.panel.repl.view.focus>'
48
48
  )),
49
49
  ( localize(
50
- 6481,
50
+ 6550,
51
51
  "The debug console output can be navigated to from the input field with the Focus Previous Widget command{0}.",
52
52
  '<keybinding:widgetNavigation.focusPrevious>'
53
53
  )),
54
54
  ( localize(
55
- 6482,
55
+ 6551,
56
56
  "The debug console input can be navigated to from the output with the Focus Next Widget command{0}.",
57
57
  '<keybinding:widgetNavigation.focusNext>'
58
58
  )),
59
59
  ( localize(
60
- 6483,
60
+ 6552,
61
61
  "The debug console output history can be navigated with the up and down arrow keys."
62
62
  )),
63
63
  ( localize(
64
- 6484,
64
+ 6553,
65
65
  "The Open Accessible View command{0} will allow character by character navigation of the console output.",
66
66
  '<keybinding:editor.action.accessibleView>'
67
67
  )),
68
68
  ( localize(
69
- 6485,
69
+ 6554,
70
70
  "The Show Run and Debug view command{0} will open the Run and Debug view and provides more information about debugging.",
71
71
  '<keybinding:workbench.view.debug>'
72
72
  )),
73
73
  ( localize(
74
- 6486,
74
+ 6555,
75
75
  "The Debug: Clear Console command{0} will clear the console output.",
76
76
  '<keybinding:workbench.debug.panel.action.clearReplAction>'
77
77
  )),
78
78
  ( localize(
79
- 6487,
79
+ 6556,
80
80
  "The setting `debug.expandLazyVariables` controls whether variables are evaluated automatically. This is enabled by default when using a screen reader."
81
81
  )),
82
82
  ].join('\n');
@@ -308,20 +308,20 @@ class ReplDataSource {
308
308
  }
309
309
  class ReplAccessibilityProvider {
310
310
  getWidgetAriaLabel() {
311
- return localize(6488, "Debug Console");
311
+ return localize(6557, "Debug Console");
312
312
  }
313
313
  getAriaLabel(element) {
314
314
  if (element instanceof Variable) {
315
- return localize(6489, "Variable {0}, value {1}", element.name, element.value);
315
+ return localize(6558, "Variable {0}, value {1}", element.name, element.value);
316
316
  }
317
317
  if (element instanceof ReplOutputElement || element instanceof ReplEvaluationInput || element instanceof ReplEvaluationResult) {
318
- return element.value + (element instanceof ReplOutputElement && element.count > 1 ? ( localize(6490, ", occurred {0} times", element.count)) : '');
318
+ return element.value + (element instanceof ReplOutputElement && element.count > 1 ? ( localize(6559, ", occurred {0} times", element.count)) : '');
319
319
  }
320
320
  if (element instanceof RawObjectReplElement) {
321
- return localize(6491, "Debug console variable {0}, value {1}", element.name, element.value);
321
+ return localize(6560, "Debug console variable {0}, value {1}", element.name, element.value);
322
322
  }
323
323
  if (element instanceof ReplGroup) {
324
- return localize(6492, "Debug console group {0}", element.name);
324
+ return localize(6561, "Debug console group {0}", element.name);
325
325
  }
326
326
  return '';
327
327
  }
@@ -53,79 +53,79 @@ let RunAndDebugAccessibilityHelpProvider = class RunAndDebugAccessibilityHelpPro
53
53
  provideContent() {
54
54
  return [
55
55
  ( localize(
56
- 6493,
56
+ 6562,
57
57
  "The Show Run and Debug view command{0} will open the current view.",
58
58
  '<keybinding:workbench.view.debug>'
59
59
  )),
60
60
  ( localize(
61
- 6494,
61
+ 6563,
62
62
  "The Debug: Start Debugging command{0} will start a debug session.",
63
63
  '<keybinding:workbench.action.debug.start>'
64
64
  )),
65
65
  ( localize(
66
- 6495,
66
+ 6564,
67
67
  "Access debug output and evaluate expressions in the debug console, which can be focused with{0}.",
68
68
  '<keybinding:workbench.panel.repl.view.focus>'
69
69
  )),
70
70
  AccessibilityHelpNLS.setBreakpoint,
71
71
  AccessibilityHelpNLS.addToWatch,
72
- ( localize(6496, "Once debugging, the following commands will be available:")),
72
+ ( localize(6565, "Once debugging, the following commands will be available:")),
73
73
  ( localize(
74
- 6497,
74
+ 6566,
75
75
  "- Debug: Restart Debugging command{0} will restart the current debug session.",
76
76
  '<keybinding:workbench.action.debug.restart>'
77
77
  )),
78
78
  ( localize(
79
- 6498,
79
+ 6567,
80
80
  "- Debug: Stop Debugging command{0} will stop the current debugging session.",
81
81
  '<keybinding:workbench.action.debug.stop>'
82
82
  )),
83
83
  ( localize(
84
- 6499,
84
+ 6568,
85
85
  "- Debug: Continue command{0} will continue execution until the next breakpoint.",
86
86
  '<keybinding:workbench.action.debug.continue>'
87
87
  )),
88
88
  ( localize(
89
- 6500,
89
+ 6569,
90
90
  "- Debug: Step Into command{0} will step into the next function call.",
91
91
  '<keybinding:workbench.action.debug.stepInto>'
92
92
  )),
93
93
  ( localize(
94
- 6501,
94
+ 6570,
95
95
  "- Debug: Step Over command{0} will step over the current function call.",
96
96
  '<keybinding:workbench.action.debug.stepOver>'
97
97
  )),
98
98
  ( localize(
99
- 6502,
99
+ 6571,
100
100
  "- Debug: Step Out command{0} will step out of the current function call.",
101
101
  '<keybinding:workbench.action.debug.stepOut>'
102
102
  )),
103
103
  ( localize(
104
- 6503,
104
+ 6572,
105
105
  'The debug viewlet is comprised of several views that can be focused with the following commands or navigated to via tab then arrow keys:'
106
106
  )),
107
107
  ( localize(
108
- 6504,
108
+ 6573,
109
109
  "- Debug: Focus Breakpoints View command{0} will focus the breakpoints view.",
110
110
  '<keybinding:workbench.debug.action.focusBreakpointsView>'
111
111
  )),
112
112
  ( localize(
113
- 6505,
113
+ 6574,
114
114
  "- Debug: Focus Call Stack View command{0} will focus the call stack view.",
115
115
  '<keybinding:workbench.debug.action.focusCallStackView>'
116
116
  )),
117
117
  ( localize(
118
- 6506,
118
+ 6575,
119
119
  "- Debug: Focus Variables View command{0} will focus the variables view.",
120
120
  '<keybinding:workbench.debug.action.focusVariablesView>'
121
121
  )),
122
122
  ( localize(
123
- 6507,
123
+ 6576,
124
124
  "- Debug: Focus Watch View command{0} will focus the watch view.",
125
125
  '<keybinding:workbench.debug.action.focusWatchView>'
126
126
  )),
127
127
  ( localize(
128
- 6508,
128
+ 6577,
129
129
  "The setting {0} controls whether watch variable changes are announced.",
130
130
  'accessibility.debugWatchVariableAnnouncements'
131
131
  )),
@@ -4,7 +4,6 @@ import { IDebugService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/
4
4
  import { IWorkspaceContextService } from "@codingame/monaco-vscode-api/vscode/vs/platform/workspace/common/workspace.service";
5
5
  import { IStatusbarService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/statusbar/browser/statusbar.service";
6
6
  import { IConfigurationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service";
7
- import { ILayoutService } from "@codingame/monaco-vscode-api/vscode/vs/platform/layout/browser/layoutService.service";
8
7
  export declare const STATUS_BAR_DEBUGGING_BACKGROUND: string;
9
8
  export declare const STATUS_BAR_DEBUGGING_FOREGROUND: string;
10
9
  export declare const STATUS_BAR_DEBUGGING_BORDER: string;
@@ -13,12 +12,12 @@ export declare class StatusBarColorProvider implements IWorkbenchContribution {
13
12
  private readonly debugService;
14
13
  private readonly contextService;
15
14
  private readonly statusbarService;
16
- private readonly layoutService;
17
15
  private readonly configurationService;
18
16
  private readonly disposables;
19
17
  private disposable;
18
+ private readonly styleSheet;
20
19
  private set enabled(value);
21
- constructor(debugService: IDebugService, contextService: IWorkspaceContextService, statusbarService: IStatusbarService, layoutService: ILayoutService, configurationService: IConfigurationService);
20
+ constructor(debugService: IDebugService, contextService: IWorkspaceContextService, statusbarService: IStatusbarService, configurationService: IConfigurationService);
22
21
  protected update(): void;
23
22
  dispose(): void;
24
23
  }
@@ -19,7 +19,7 @@ import { STATUS_BAR_FOREGROUND, STATUS_BAR_BORDER, COMMAND_CENTER_BACKGROUND } f
19
19
  import { DisposableStore } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
20
20
  import { IStatusbarService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/statusbar/browser/statusbar.service';
21
21
  import { IConfigurationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service';
22
- import { ILayoutService } from '@codingame/monaco-vscode-api/vscode/vs/platform/layout/browser/layoutService.service';
22
+ import { createStyleSheet } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/domStylesheets';
23
23
 
24
24
  const STATUS_BAR_DEBUGGING_BACKGROUND = registerColor('statusBar.debuggingBackground', {
25
25
  dark: '#CC6633',
@@ -27,7 +27,7 @@ const STATUS_BAR_DEBUGGING_BACKGROUND = registerColor('statusBar.debuggingBackgr
27
27
  hcDark: '#BA592C',
28
28
  hcLight: '#B5200D'
29
29
  }, ( localize(
30
- 6509,
30
+ 6578,
31
31
  "Status bar background color when a program is being debugged. The status bar is shown in the bottom of the window"
32
32
  )));
33
33
  const STATUS_BAR_DEBUGGING_FOREGROUND = registerColor('statusBar.debuggingForeground', {
@@ -36,14 +36,14 @@ const STATUS_BAR_DEBUGGING_FOREGROUND = registerColor('statusBar.debuggingForegr
36
36
  hcDark: STATUS_BAR_FOREGROUND,
37
37
  hcLight: '#FFFFFF'
38
38
  }, ( localize(
39
- 6510,
39
+ 6579,
40
40
  "Status bar foreground color when a program is being debugged. The status bar is shown in the bottom of the window"
41
41
  )));
42
42
  const STATUS_BAR_DEBUGGING_BORDER = registerColor('statusBar.debuggingBorder', STATUS_BAR_BORDER, ( localize(
43
- 6511,
43
+ 6580,
44
44
  "Status bar border color separating to the sidebar and editor when a program is being debugged. The status bar is shown in the bottom of the window"
45
45
  )));
46
- const COMMAND_CENTER_DEBUGGING_BACKGROUND = registerColor('commandCenter.debuggingBackground', ( transparent(STATUS_BAR_DEBUGGING_BACKGROUND, 0.258)), ( localize(6512, "Command center background color when a program is being debugged")), true);
46
+ const COMMAND_CENTER_DEBUGGING_BACKGROUND = registerColor('commandCenter.debuggingBackground', ( transparent(STATUS_BAR_DEBUGGING_BACKGROUND, 0.258)), ( localize(6581, "Command center background color when a program is being debugged")), true);
47
47
  let StatusBarColorProvider = class StatusBarColorProvider {
48
48
  set enabled(enabled) {
49
49
  if (enabled === !!this.disposable) {
@@ -62,13 +62,13 @@ let StatusBarColorProvider = class StatusBarColorProvider {
62
62
  this.disposable = undefined;
63
63
  }
64
64
  }
65
- constructor(debugService, contextService, statusbarService, layoutService, configurationService) {
65
+ constructor(debugService, contextService, statusbarService, configurationService) {
66
66
  this.debugService = debugService;
67
67
  this.contextService = contextService;
68
68
  this.statusbarService = statusbarService;
69
- this.layoutService = layoutService;
70
69
  this.configurationService = configurationService;
71
70
  this.disposables = ( new DisposableStore());
71
+ this.styleSheet = createStyleSheet();
72
72
  this.debugService.onDidChangeState(this.update, this, this.disposables);
73
73
  this.contextService.onDidChangeWorkbenchState(this.update, this, this.disposables);
74
74
  this.configurationService.onDidChangeConfiguration((e) => {
@@ -88,9 +88,11 @@ let StatusBarColorProvider = class StatusBarColorProvider {
88
88
  this.enabled = isInDebugMode;
89
89
  }
90
90
  const isInCommandCenter = debugConfig.toolBarLocation === 'commandCenter';
91
- this.layoutService.mainContainer.style.setProperty(asCssVariableName(COMMAND_CENTER_BACKGROUND), isInCommandCenter && isInDebugMode
92
- ? asCssVariable(COMMAND_CENTER_DEBUGGING_BACKGROUND)
93
- : '');
91
+ this.styleSheet.textContent = isInCommandCenter && isInDebugMode ? `
92
+ .monaco-workbench {
93
+ ${asCssVariableName(COMMAND_CENTER_BACKGROUND)}: ${asCssVariable(COMMAND_CENTER_DEBUGGING_BACKGROUND)};
94
+ }
95
+ ` : '';
94
96
  }
95
97
  dispose() {
96
98
  this.disposable?.dispose();
@@ -101,8 +103,7 @@ StatusBarColorProvider = ( __decorate([
101
103
  ( __param(0, IDebugService)),
102
104
  ( __param(1, IWorkspaceContextService)),
103
105
  ( __param(2, IStatusbarService)),
104
- ( __param(3, ILayoutService)),
105
- ( __param(4, IConfigurationService))
106
+ ( __param(3, IConfigurationService))
106
107
  ], StatusBarColorProvider));
107
108
  function isStatusbarInDebugMode(state, sessions) {
108
109
  if (state === State.Inactive || state === State.Initializing || sessions.every(s => s.suppressDebugStatusbar || s.configuration?.noDebug)) {
@@ -12,7 +12,7 @@ import { IInstantiationService } from "@codingame/monaco-vscode-api/vscode/vs/pl
12
12
  import { IKeybindingService } from "@codingame/monaco-vscode-api/vscode/vs/platform/keybinding/common/keybinding.service";
13
13
  import { IOpenerService } from "@codingame/monaco-vscode-api/vscode/vs/platform/opener/common/opener.service";
14
14
  import { IThemeService } from "@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/themeService.service";
15
- import { ViewPane } from "@codingame/monaco-vscode-4fad3647-b95d-5c19-bab1-bb9de627a5ec-common/vscode/vs/workbench/browser/parts/views/viewPane";
15
+ import { ViewPane } from "@codingame/monaco-vscode-501b06ab-3f58-516b-8a1a-c29d375d3da4-common/vscode/vs/workbench/browser/parts/views/viewPane";
16
16
  import { IViewletViewOptions } from "@codingame/monaco-vscode-2a94c04a-b85b-5669-b06b-89c1bfa11cb9-common/vscode/vs/workbench/browser/parts/views/viewsViewlet";
17
17
  import { IViewDescriptorService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/common/views.service";
18
18
  import { IDebugViewWithVariables, IExpression } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/debug/common/debug";
@@ -21,7 +21,7 @@ import { KeybindingWeight } from '@codingame/monaco-vscode-api/vscode/vs/platfor
21
21
  import { WorkbenchAsyncDataTree } from '@codingame/monaco-vscode-api/vscode/vs/platform/list/browser/listService';
22
22
  import { IOpenerService } from '@codingame/monaco-vscode-api/vscode/vs/platform/opener/common/opener.service';
23
23
  import { IThemeService } from '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/themeService.service';
24
- import { ViewPane, ViewAction } from '@codingame/monaco-vscode-4fad3647-b95d-5c19-bab1-bb9de627a5ec-common/vscode/vs/workbench/browser/parts/views/viewPane';
24
+ import { ViewPane, ViewAction } from '@codingame/monaco-vscode-501b06ab-3f58-516b-8a1a-c29d375d3da4-common/vscode/vs/workbench/browser/parts/views/viewPane';
25
25
  import { FocusedViewContext } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/contextkeys';
26
26
  import { IViewDescriptorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/views.service';
27
27
  import { CONTEXT_WATCH_EXPRESSIONS_EXIST, CONTEXT_WATCH_EXPRESSIONS_FOCUSED, CONTEXT_VARIABLE_EVALUATE_NAME_PRESENT, CONTEXT_WATCH_ITEM_TYPE, CONTEXT_CAN_VIEW_MEMORY, CONTEXT_VARIABLE_IS_READONLY, CONTEXT_VARIABLE_TYPE, CONTEXT_DEBUG_TYPE, CONTEXT_BREAK_WHEN_VALUE_CHANGES_SUPPORTED, CONTEXT_BREAK_WHEN_VALUE_IS_ACCESSED_SUPPORTED, CONTEXT_BREAK_WHEN_VALUE_IS_READ_SUPPORTED, WATCH_VIEW_ID, CONTEXT_EXPRESSION_SELECTED } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/debug/common/debug';
@@ -288,7 +288,7 @@ let WatchExpressionsRenderer = class WatchExpressionsRenderer extends AbstractEx
288
288
  if (settingValue) {
289
289
  return {
290
290
  initialValue: expression.value,
291
- ariaLabel: ( localize(6521, "Type new value")),
291
+ ariaLabel: ( localize(6590, "Type new value")),
292
292
  onFinish: async (value, success) => {
293
293
  if (success && value) {
294
294
  const focusedFrame = this.debugService.getViewModel().focusedStackFrame;
@@ -302,8 +302,8 @@ let WatchExpressionsRenderer = class WatchExpressionsRenderer extends AbstractEx
302
302
  }
303
303
  return {
304
304
  initialValue: expression.name ? expression.name : '',
305
- ariaLabel: ( localize(6522, "Type watch expression")),
306
- placeholder: ( localize(6523, "Expression to watch")),
305
+ ariaLabel: ( localize(6591, "Type watch expression")),
306
+ placeholder: ( localize(6592, "Expression to watch")),
307
307
  onFinish: (value, success) => {
308
308
  if (success && value) {
309
309
  this.debugService.renameWatchExpression(expression.getId(), value);
@@ -379,13 +379,13 @@ async function getContextForWatchExpressionMenuWithDataAccess(parentContext, exp
379
379
  }
380
380
  class WatchExpressionsAccessibilityProvider {
381
381
  getWidgetAriaLabel() {
382
- return localize(6524, "Debug Watch Expressions");
382
+ return localize(6593, "Debug Watch Expressions");
383
383
  }
384
384
  getAriaLabel(element) {
385
385
  if (element instanceof Expression) {
386
- return localize(6525, "{0}, value {1}", element.name, element.value);
386
+ return localize(6594, "{0}, value {1}", element.name, element.value);
387
387
  }
388
- return localize(6526, "{0}, value {1}", element.name, element.value);
388
+ return localize(6595, "{0}, value {1}", element.name, element.value);
389
389
  }
390
390
  }
391
391
  class WatchExpressionsDragAndDrop {
@@ -471,7 +471,7 @@ registerAction2(class Collapse extends ViewAction {
471
471
  super({
472
472
  id: 'watch.collapse',
473
473
  viewId: WATCH_VIEW_ID,
474
- title: ( localize(6527, "Collapse All")),
474
+ title: ( localize(6596, "Collapse All")),
475
475
  f1: false,
476
476
  icon: Codicon.collapseAll,
477
477
  precondition: CONTEXT_WATCH_EXPRESSIONS_EXIST,
@@ -488,7 +488,7 @@ registerAction2(class Collapse extends ViewAction {
488
488
  }
489
489
  });
490
490
  const ADD_WATCH_ID = 'workbench.debug.viewlet.action.addWatchExpression';
491
- const ADD_WATCH_LABEL = ( localize(6528, "Add Expression"));
491
+ const ADD_WATCH_LABEL = ( localize(6597, "Add Expression"));
492
492
  registerAction2(class AddWatchExpressionAction extends Action2 {
493
493
  constructor() {
494
494
  super({
@@ -509,7 +509,7 @@ registerAction2(class AddWatchExpressionAction extends Action2 {
509
509
  }
510
510
  });
511
511
  const REMOVE_WATCH_EXPRESSIONS_COMMAND_ID = 'workbench.debug.viewlet.action.removeAllWatchExpressions';
512
- const REMOVE_WATCH_EXPRESSIONS_LABEL = ( localize(6529, "Remove All Expressions"));
512
+ const REMOVE_WATCH_EXPRESSIONS_LABEL = ( localize(6598, "Remove All Expressions"));
513
513
  registerAction2(class RemoveAllWatchExpressionsAction extends Action2 {
514
514
  constructor() {
515
515
  super({
@@ -535,7 +535,7 @@ registerAction2(class CopyExpression extends ViewAction {
535
535
  constructor() {
536
536
  super({
537
537
  id: COPY_WATCH_EXPRESSION_COMMAND_ID,
538
- title: ( localize(6530, "Copy Expression")),
538
+ title: ( localize(6599, "Copy Expression")),
539
539
  f1: false,
540
540
  viewId: WATCH_VIEW_ID,
541
541
  precondition: CONTEXT_WATCH_EXPRESSIONS_EXIST,
@@ -8,7 +8,7 @@ import { IKeybindingService } from "@codingame/monaco-vscode-api/vscode/vs/platf
8
8
  import { IOpenerService } from "@codingame/monaco-vscode-api/vscode/vs/platform/opener/common/opener.service";
9
9
  import { IStorageService } from "@codingame/monaco-vscode-api/vscode/vs/platform/storage/common/storage.service";
10
10
  import { IThemeService } from "@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/themeService.service";
11
- import { ViewPane } from "@codingame/monaco-vscode-4fad3647-b95d-5c19-bab1-bb9de627a5ec-common/vscode/vs/workbench/browser/parts/views/viewPane";
11
+ import { ViewPane } from "@codingame/monaco-vscode-501b06ab-3f58-516b-8a1a-c29d375d3da4-common/vscode/vs/workbench/browser/parts/views/viewPane";
12
12
  import { IViewletViewOptions } from "@codingame/monaco-vscode-2a94c04a-b85b-5669-b06b-89c1bfa11cb9-common/vscode/vs/workbench/browser/parts/views/viewsViewlet";
13
13
  import { IViewDescriptorService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/common/views.service";
14
14
  import { IEditorService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service";
@@ -1,5 +1,6 @@
1
1
 
2
2
  import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib/tslib.es6';
3
+ import { createCommandUri } from '@codingame/monaco-vscode-api/vscode/vs/base/common/htmlContent';
3
4
  import { DisposableStore } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
4
5
  import { isDiffEditor, isCodeEditor } from '@codingame/monaco-vscode-api/vscode/vs/editor/browser/editorBrowser';
5
6
  import { localize2, localize } from '@codingame/monaco-vscode-api/vscode/vs/nls';
@@ -16,7 +17,7 @@ import { StorageScope, StorageTarget } from '@codingame/monaco-vscode-api/vscode
16
17
  import { IStorageService } from '@codingame/monaco-vscode-api/vscode/vs/platform/storage/common/storage.service';
17
18
  import { IThemeService } from '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/themeService.service';
18
19
  import { OpenFileAction, OpenFolderAction } from '@codingame/monaco-vscode-f24e325c-2ce0-5bba-8236-bfc4f53180ab-common/vscode/vs/workbench/browser/actions/workspaceActions';
19
- import { ViewPane } from '@codingame/monaco-vscode-4fad3647-b95d-5c19-bab1-bb9de627a5ec-common/vscode/vs/workbench/browser/parts/views/viewPane';
20
+ import { ViewPane } from '@codingame/monaco-vscode-501b06ab-3f58-516b-8a1a-c29d375d3da4-common/vscode/vs/workbench/browser/parts/views/viewPane';
20
21
  import { WorkbenchStateContext } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/contextkeys';
21
22
  import { Extensions, ViewContentGroups } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/views';
22
23
  import { IViewDescriptorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/views.service';
@@ -30,7 +31,7 @@ const CONTEXT_DEBUG_START_LANGUAGE = ( new RawContextKey(debugStartLanguageKey,
30
31
  const CONTEXT_DEBUGGER_INTERESTED_IN_ACTIVE_EDITOR = ( new RawContextKey('debuggerInterestedInActiveEditor', false));
31
32
  let WelcomeView = class WelcomeView extends ViewPane {
32
33
  static { this.ID = 'workbench.debug.welcome'; }
33
- static { this.LABEL = ( localize2(6531, "Run")); }
34
+ static { this.LABEL = ( localize2(6600, "Run")); }
34
35
  constructor(options, themeService, keybindingService, contextMenuService, configurationService, contextKeyService, debugService, editorService, instantiationService, viewDescriptorService, openerService, storageSevice, hoverService) {
35
36
  super(options, keybindingService, contextMenuService, configurationService, contextKeyService, viewDescriptorService, instantiationService, openerService, themeService, hoverService);
36
37
  this.debugService = debugService;
@@ -100,7 +101,7 @@ WelcomeView = ( __decorate([
100
101
  const viewsRegistry = ( Registry.as(Extensions.ViewsRegistry));
101
102
  viewsRegistry.registerViewWelcomeContent(WelcomeView.ID, {
102
103
  content: ( localize(
103
- 6532,
104
+ 6601,
104
105
  "[Open a file](command:{0}) which can be debugged or run.",
105
106
  OpenFileAction.ID
106
107
  )),
@@ -109,32 +110,32 @@ viewsRegistry.registerViewWelcomeContent(WelcomeView.ID, {
109
110
  });
110
111
  let debugKeybindingLabel = '';
111
112
  viewsRegistry.registerViewWelcomeContent(WelcomeView.ID, {
112
- content: `[${( localize(6533, "Run and Debug"))}${debugKeybindingLabel}](command:${DEBUG_START_COMMAND_ID})`,
113
+ content: `[${( localize(6602, "Run and Debug"))}${debugKeybindingLabel}](command:${DEBUG_START_COMMAND_ID})`,
113
114
  when: CONTEXT_DEBUGGERS_AVAILABLE,
114
115
  group: ViewContentGroups.Debug,
115
116
  order: 1
116
117
  });
117
118
  viewsRegistry.registerViewWelcomeContent(WelcomeView.ID, {
118
119
  content: ( localize(
119
- 6534,
120
- "To customize Run and Debug [create a launch.json file](command:{0}).",
121
- `${DEBUG_CONFIGURE_COMMAND_ID}?${encodeURIComponent(JSON.stringify([{ addNew: true }]))}`
120
+ 6603,
121
+ "To customize Run and Debug [create a launch.json file]({0}).",
122
+ `${( createCommandUri(DEBUG_CONFIGURE_COMMAND_ID, { addNew: true }).toString())}`
122
123
  )),
123
124
  when: ( ContextKeyExpr.and(CONTEXT_DEBUGGERS_AVAILABLE, ( WorkbenchStateContext.notEqualsTo('empty')))),
124
125
  group: ViewContentGroups.Debug
125
126
  });
126
127
  viewsRegistry.registerViewWelcomeContent(WelcomeView.ID, {
127
128
  content: ( localize(
128
- 6535,
129
- "To customize Run and Debug, [open a folder](command:{0}) and create a launch.json file.",
130
- OpenFolderAction.ID
129
+ 6604,
130
+ "To customize Run and Debug, [open a folder]({0}) and create a launch.json file.",
131
+ (createCommandUri(OpenFolderAction.ID).toString())
131
132
  )),
132
133
  when: ( ContextKeyExpr.and(CONTEXT_DEBUGGERS_AVAILABLE, ( WorkbenchStateContext.isEqualTo('empty')))),
133
134
  group: ViewContentGroups.Debug
134
135
  });
135
136
  viewsRegistry.registerViewWelcomeContent(WelcomeView.ID, {
136
137
  content: ( localize(
137
- 6536,
138
+ 6605,
138
139
  "All debug extensions are disabled. Enable a debug extension or install a new one from the Marketplace."
139
140
  )),
140
141
  when: ( CONTEXT_DEBUG_EXTENSION_AVAILABLE.toNegated()),
@@ -53,14 +53,14 @@ let DebugContentProvider = class DebugContentProvider extends Disposable {
53
53
  session = this.debugService.getViewModel().focusedSession;
54
54
  }
55
55
  if (!session) {
56
- return Promise.reject(( new ErrorNoTelemetry(( localize(6603, "Unable to resolve the resource without a debug session")))));
56
+ return Promise.reject(( new ErrorNoTelemetry(( localize(6672, "Unable to resolve the resource without a debug session")))));
57
57
  }
58
58
  const createErrModel = (errMsg) => {
59
59
  this.debugService.sourceIsNotAvailable(resource);
60
60
  const languageSelection = this.languageService.createById(PLAINTEXT_LANGUAGE_ID);
61
61
  const message = errMsg
62
- ? ( localize(6604, "Could not load source '{0}': {1}.", resource.path, errMsg))
63
- : ( localize(6605, "Could not load source '{0}'.", resource.path));
62
+ ? ( localize(6673, "Could not load source '{0}': {1}.", resource.path, errMsg))
63
+ : ( localize(6674, "Could not load source '{0}'.", resource.path));
64
64
  return this.modelService.createModel(message, languageSelection, resource);
65
65
  };
66
66
  return session.loadSource(resource).then(response => {
@@ -31,20 +31,20 @@ let DebugLifecycle = class DebugLifecycle {
31
31
  let message;
32
32
  if (numSessions === 1) {
33
33
  message = ( localize(
34
- 6606,
34
+ 6675,
35
35
  "There is an active debug session, are you sure you want to stop it?"
36
36
  ));
37
37
  }
38
38
  else {
39
39
  message = ( localize(
40
- 6607,
40
+ 6676,
41
41
  "There are active debug sessions, are you sure you want to stop them?"
42
42
  ));
43
43
  }
44
44
  const res = await this.dialogService.confirm({
45
45
  message,
46
46
  type: 'warning',
47
- primaryButton: ( localize(6608, "&&Stop Debugging"))
47
+ primaryButton: ( localize(6677, "&&Stop Debugging"))
48
48
  });
49
49
  return !res.confirmed;
50
50
  }