@codingame/monaco-vscode-debug-service-override 10.1.3 → 11.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/package.json +3 -2
  2. package/vscode/src/vs/workbench/contrib/debug/browser/baseDebugView.js +2 -2
  3. package/vscode/src/vs/workbench/contrib/debug/browser/callStackView.js +18 -18
  4. package/vscode/src/vs/workbench/contrib/debug/browser/debug.contribution.js +119 -111
  5. package/vscode/src/vs/workbench/contrib/debug/browser/debugActionViewItems.js +7 -7
  6. package/vscode/src/vs/workbench/contrib/debug/browser/debugAdapterManager.js +11 -11
  7. package/vscode/src/vs/workbench/contrib/debug/browser/debugConfigurationManager.js +5 -5
  8. package/vscode/src/vs/workbench/contrib/debug/browser/debugConsoleQuickAccess.js +2 -2
  9. package/vscode/src/vs/workbench/contrib/debug/browser/debugEditorActions.js +26 -26
  10. package/vscode/src/vs/workbench/contrib/debug/browser/debugEditorContribution.js +3 -3
  11. package/vscode/src/vs/workbench/contrib/debug/browser/debugHover.js +5 -5
  12. package/vscode/src/vs/workbench/contrib/debug/browser/debugQuickAccess.js +9 -9
  13. package/vscode/src/vs/workbench/contrib/debug/browser/debugService.js +28 -25
  14. package/vscode/src/vs/workbench/contrib/debug/browser/debugSession.js +46 -46
  15. package/vscode/src/vs/workbench/contrib/debug/browser/debugStatus.js +3 -3
  16. package/vscode/src/vs/workbench/contrib/debug/browser/debugTaskRunner.js +42 -39
  17. package/vscode/src/vs/workbench/contrib/debug/browser/debugToolBar.js +58 -51
  18. package/vscode/src/vs/workbench/contrib/debug/browser/debugViewlet.js +6 -6
  19. package/vscode/src/vs/workbench/contrib/debug/browser/disassemblyView.js +9 -9
  20. package/vscode/src/vs/workbench/contrib/debug/browser/exceptionWidget.js +6 -6
  21. package/vscode/src/vs/workbench/contrib/debug/browser/loadedScriptsView.js +7 -7
  22. package/vscode/src/vs/workbench/contrib/debug/browser/media/debugToolBar.css.js +1 -1
  23. package/vscode/src/vs/workbench/contrib/debug/browser/rawDebugSession.js +5 -5
  24. package/vscode/src/vs/workbench/contrib/debug/browser/repl.js +22 -21
  25. package/vscode/src/vs/workbench/contrib/debug/browser/replAccessibilityHelp.js +8 -8
  26. package/vscode/src/vs/workbench/contrib/debug/browser/replFilter.js +2 -2
  27. package/vscode/src/vs/workbench/contrib/debug/browser/replViewer.js +7 -7
  28. package/vscode/src/vs/workbench/contrib/debug/browser/runAndDebugAccessibilityHelp.js +16 -16
  29. package/vscode/src/vs/workbench/contrib/debug/browser/statusbarColorProvider.js +4 -4
  30. package/vscode/src/vs/workbench/contrib/debug/browser/variablesView.js +12 -12
  31. package/vscode/src/vs/workbench/contrib/debug/browser/watchExpressionsView.js +12 -11
  32. package/vscode/src/vs/workbench/contrib/debug/browser/welcomeView.js +8 -8
  33. package/vscode/src/vs/workbench/contrib/debug/common/debugAccessibilityAnnouncer.js +1 -1
  34. package/vscode/src/vs/workbench/contrib/debug/common/debugContentProvider.js +4 -4
  35. package/vscode/src/vs/workbench/contrib/debug/common/debugLifecycle.js +3 -3
  36. package/vscode/src/vs/workbench/contrib/debug/common/debugSchemas.js +44 -44
  37. package/vscode/src/vs/workbench/contrib/debug/common/debugStorage.js +1 -1
  38. package/vscode/src/vs/workbench/contrib/debug/common/debugVisualizers.js +1 -1
  39. package/vscode/src/vs/workbench/contrib/debug/common/debugger.js +11 -11
  40. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariableCommands.js +2 -2
@@ -64,10 +64,10 @@ import { IViewsService } from 'vscode/vscode/vs/workbench/services/views/common/
64
64
  import { getSimpleEditorOptions, getSimpleCodeEditorWidgetOptions } from 'vscode/vscode/vs/workbench/contrib/codeEditor/browser/simpleEditorOptions';
65
65
  import { DEBUG_SCHEME, CONTEXT_MULTI_SESSION_REPL, CONTEXT_IN_DEBUG_REPL, REPL_VIEW_ID, CONTEXT_DEBUG_STATE, getStateLabel } from 'vscode/vscode/vs/workbench/contrib/debug/common/debug';
66
66
  import { IDebugService } from 'vscode/vscode/vs/workbench/contrib/debug/common/debug.service';
67
- import { Variable } from 'vscode/vscode/vs/workbench/contrib/debug/common/debugModel';
68
- import { ReplGroup, ReplEvaluationResult } from 'vscode/vscode/vs/workbench/contrib/debug/common/replModel';
67
+ import { Variable } from '@codingame/monaco-vscode-debug-notebook-common/vscode/vs/workbench/contrib/debug/common/debugModel';
68
+ import { ReplGroup, ReplEvaluationResult } from '@codingame/monaco-vscode-debug-notebook-common/vscode/vs/workbench/contrib/debug/common/replModel';
69
69
  import { FocusSessionActionViewItem } from './debugActionViewItems.js';
70
- import { DebugExpressionRenderer } from 'vscode/vscode/vs/workbench/contrib/debug/browser/debugExpressionRenderer';
70
+ import { DebugExpressionRenderer } from '@codingame/monaco-vscode-debug-notebook-common/vscode/vs/workbench/contrib/debug/browser/debugExpressionRenderer';
71
71
  import { debugConsoleEvaluationPrompt, debugConsoleClearAll } from 'vscode/vscode/vs/workbench/contrib/debug/browser/debugIcons';
72
72
  import './media/repl.css.js';
73
73
  import { ReplFilter } from './replFilter.js';
@@ -93,7 +93,7 @@ let Repl = class Repl extends FilterViewPane {
93
93
  super({
94
94
  ...options,
95
95
  filterOptions: {
96
- placeholder: ( localize(6071, "Filter (e.g. text, !exclude, \\escape)")),
96
+ placeholder: ( localize(6068, "Filter (e.g. text, !exclude, \\escape)")),
97
97
  text: filterText,
98
98
  history: JSON.parse(storageService.get(FILTER_HISTORY_STORAGE_KEY, 1 , '[]')),
99
99
  }
@@ -166,6 +166,7 @@ let Repl = class Repl extends FilterViewPane {
166
166
  this.refreshReplElements(true);
167
167
  if (this.styleChangedWhenInvisible) {
168
168
  this.styleChangedWhenInvisible = false;
169
+ this.tree?.updateChildren(undefined, true, false);
169
170
  this.onDidStyleChange();
170
171
  }
171
172
  }
@@ -312,7 +313,7 @@ let Repl = class Repl extends FilterViewPane {
312
313
  lineHeight: this.replOptions.replConfiguration.lineHeight,
313
314
  fontFamily: this.replOptions.replConfiguration.fontFamily === 'default' ? EDITOR_FONT_DEFAULTS.fontFamily : this.replOptions.replConfiguration.fontFamily
314
315
  });
315
- const replInputLineHeight = this.replInput.getOption(69 );
316
+ const replInputLineHeight = this.replInput.getOption(68 );
316
317
  this.styleElement.textContent = `
317
318
  .repl .repl-input-wrapper .repl-input-chevron {
318
319
  line-height: ${replInputLineHeight}px
@@ -499,7 +500,7 @@ let Repl = class Repl extends FilterViewPane {
499
500
  await autoExpandElements(session.getReplElements());
500
501
  }
501
502
  const { total, filtered } = this.getFilterStats();
502
- this.filterWidget.updateBadge(total === filtered || total === 0 ? undefined : ( localize(6072, "Showing {0} of {1}", filtered, total)));
503
+ this.filterWidget.updateBadge(total === filtered || total === 0 ? undefined : ( localize(6069, "Showing {0} of {1}", filtered, total)));
503
504
  }, Repl_1.REFRESH_DELAY))
504
505
  );
505
506
  }
@@ -622,17 +623,17 @@ let Repl = class Repl extends FilterViewPane {
622
623
  this._register(addStandardDisposableListener(this.replInputContainer, EventType.BLUR, () => this.replInputContainer.classList.remove('synthetic-focus')));
623
624
  }
624
625
  getAriaLabel() {
625
- let ariaLabel = ( localize(6073, "Debug Console"));
626
+ let ariaLabel = ( localize(6070, "Debug Console"));
626
627
  if (!this.configurationService.getValue("accessibility.verbosity.debug" )) {
627
628
  return ariaLabel;
628
629
  }
629
630
  const keybinding = this.keybindingService.lookupKeybinding("editor.action.accessibilityHelp" )?.getAriaLabel();
630
631
  if (keybinding) {
631
- ariaLabel = ( localize(6074, "{0}, use ({1}) for accessibility help", ariaLabel, keybinding));
632
+ ariaLabel = ( localize(6071, "{0}, use ({1}) for accessibility help", ariaLabel, keybinding));
632
633
  }
633
634
  else {
634
635
  ariaLabel = ( localize(
635
- 6075,
636
+ 6072,
636
637
  "{0}, run the command Open Accessibility Help which is currently not triggerable via keybinding.",
637
638
  ariaLabel
638
639
  ));
@@ -672,7 +673,7 @@ let Repl = class Repl extends FilterViewPane {
672
673
  },
673
674
  renderOptions: {
674
675
  after: {
675
- contentText: ( localize(6076, "Please start a debug session to evaluate expressions")),
676
+ contentText: ( localize(6073, "Please start a debug session to evaluate expressions")),
676
677
  color: transparentForeground ? ( (transparentForeground.toString())) : undefined
677
678
  }
678
679
  }
@@ -785,7 +786,7 @@ class AcceptReplInputAction extends EditorAction {
785
786
  constructor() {
786
787
  super({
787
788
  id: 'repl.action.acceptInput',
788
- label: ( localize(6077, "Debug Console: Accept Input")),
789
+ label: ( localize(6074, "Debug Console: Accept Input")),
789
790
  alias: 'Debug Console: Accept Input',
790
791
  precondition: CONTEXT_IN_DEBUG_REPL,
791
792
  kbOpts: {
@@ -806,7 +807,7 @@ class FilterReplAction extends ViewAction {
806
807
  super({
807
808
  viewId: REPL_VIEW_ID,
808
809
  id: 'repl.action.filter',
809
- title: ( localize(6078, "Debug Console: Focus Filter")),
810
+ title: ( localize(6075, "Debug Console: Focus Filter")),
810
811
  precondition: CONTEXT_IN_DEBUG_REPL,
811
812
  keybinding: [{
812
813
  when: EditorContextKeys.textInputFocus,
@@ -824,7 +825,7 @@ class FindReplAction extends ViewAction {
824
825
  super({
825
826
  viewId: REPL_VIEW_ID,
826
827
  id: 'repl.action.find',
827
- title: ( localize(6079, "Debug Console: Focus Find")),
828
+ title: ( localize(6076, "Debug Console: Focus Find")),
828
829
  precondition: CONTEXT_IN_DEBUG_REPL,
829
830
  keybinding: [{
830
831
  when: ( (ContextKeyExpr.or(
@@ -855,7 +856,7 @@ class ReplCopyAllAction extends EditorAction {
855
856
  constructor() {
856
857
  super({
857
858
  id: 'repl.action.copyAll',
858
- label: ( localize(6080, "Debug: Console Copy All")),
859
+ label: ( localize(6077, "Debug: Console Copy All")),
859
860
  alias: 'Debug Console Copy All',
860
861
  precondition: CONTEXT_IN_DEBUG_REPL,
861
862
  });
@@ -892,7 +893,7 @@ registerAction2(class extends ViewAction {
892
893
  super({
893
894
  id: selectReplCommandId,
894
895
  viewId: REPL_VIEW_ID,
895
- title: ( localize(6081, "Select Debug Console")),
896
+ title: ( localize(6078, "Select Debug Console")),
896
897
  f1: false,
897
898
  menu: {
898
899
  id: MenuId.ViewTitle,
@@ -924,9 +925,9 @@ registerAction2(class extends ViewAction {
924
925
  super({
925
926
  id: 'workbench.debug.panel.action.clearReplAction',
926
927
  viewId: REPL_VIEW_ID,
927
- title: ( localize2(6082, 'Clear Console')),
928
+ title: ( localize2(6079, 'Clear Console')),
928
929
  metadata: {
929
- description: ( localize2(6083, 'Clears all program output from your debug REPL'))
930
+ description: ( localize2(6080, 'Clears all program output from your debug REPL'))
930
931
  },
931
932
  f1: true,
932
933
  icon: debugConsoleClearAll,
@@ -958,7 +959,7 @@ registerAction2(class extends ViewAction {
958
959
  constructor() {
959
960
  super({
960
961
  id: 'debug.collapseRepl',
961
- title: ( localize(6084, "Collapse All")),
962
+ title: ( localize(6081, "Collapse All")),
962
963
  viewId: REPL_VIEW_ID,
963
964
  menu: {
964
965
  id: MenuId.DebugConsoleContext,
@@ -976,7 +977,7 @@ registerAction2(class extends ViewAction {
976
977
  constructor() {
977
978
  super({
978
979
  id: 'debug.replPaste',
979
- title: ( localize(6085, "Paste")),
980
+ title: ( localize(6082, "Paste")),
980
981
  viewId: REPL_VIEW_ID,
981
982
  precondition: ( (CONTEXT_DEBUG_STATE.notEqualsTo(getStateLabel(0 )))),
982
983
  menu: {
@@ -1006,7 +1007,7 @@ registerAction2(class extends ViewAction {
1006
1007
  constructor() {
1007
1008
  super({
1008
1009
  id: 'workbench.debug.action.copyAll',
1009
- title: ( localize(6086, "Copy All")),
1010
+ title: ( localize(6083, "Copy All")),
1010
1011
  viewId: REPL_VIEW_ID,
1011
1012
  menu: {
1012
1013
  id: MenuId.DebugConsoleContext,
@@ -1024,7 +1025,7 @@ registerAction2(class extends Action2 {
1024
1025
  constructor() {
1025
1026
  super({
1026
1027
  id: 'debug.replCopy',
1027
- title: ( localize(6087, "Copy")),
1028
+ title: ( localize(6084, "Copy")),
1028
1029
  menu: {
1029
1030
  id: MenuId.DebugConsoleContext,
1030
1031
  group: '2_cutcopypaste',
@@ -41,41 +41,41 @@ class ReplAccessibilityHelpProvider extends Disposable {
41
41
  provideContent() {
42
42
  return [
43
43
  ( localize(
44
- 6120,
44
+ 6121,
45
45
  "The debug console is a Read-Eval-Print-Loop that allows you to evaluate expressions and run commands and can be focused with{0}.",
46
46
  '<keybinding:workbench.panel.repl.view.focus>'
47
47
  )),
48
48
  ( localize(
49
- 6121,
49
+ 6122,
50
50
  "The debug console output can be navigated to from the input field with the Focus Previous Widget command{0}.",
51
51
  '<keybinding:widgetNavigation.focusPrevious>'
52
52
  )),
53
53
  ( localize(
54
- 6122,
54
+ 6123,
55
55
  "The debug console input can be navigated to from the output with the Focus Next Widget command{0}.",
56
56
  '<keybinding:widgetNavigation.focusNext>'
57
57
  )),
58
58
  ( localize(
59
- 6123,
59
+ 6124,
60
60
  "The debug console output history can be navigated with the up and down arrow keys."
61
61
  )),
62
62
  ( localize(
63
- 6124,
63
+ 6125,
64
64
  "The Open Accessible View command{0} will allow character by character navigation of the console output.",
65
65
  '<keybinding:editor.action.accessibleView>'
66
66
  )),
67
67
  ( localize(
68
- 6125,
68
+ 6126,
69
69
  "The Show Run and Debug view command{0} will open the Run and Debug view and provides more information about debugging.",
70
70
  '<keybinding:workbench.view.debug>'
71
71
  )),
72
72
  ( localize(
73
- 6126,
73
+ 6127,
74
74
  "The Debug: Clear Console command{0} will clear the console output.",
75
75
  '<keybinding:workbench.debug.panel.action.clearReplAction>'
76
76
  )),
77
77
  ( localize(
78
- 6127,
78
+ 6128,
79
79
  "The setting `debug.expandLazyVariables` controls whether variables are evaluated automatically. This is enabled by default when using a screen reader."
80
80
  )),
81
81
  ].join('\n');
@@ -1,7 +1,7 @@
1
1
  import { matchesFuzzy } from 'vscode/vscode/vs/base/common/filters';
2
2
  import { splitGlobAware } from 'vscode/vscode/vs/base/common/glob';
3
- import { ReplEvaluationInput, ReplEvaluationResult } from 'vscode/vscode/vs/workbench/contrib/debug/common/replModel';
4
- import { Variable } from 'vscode/vscode/vs/workbench/contrib/debug/common/debugModel';
3
+ import { ReplEvaluationInput, ReplEvaluationResult } from '@codingame/monaco-vscode-debug-notebook-common/vscode/vs/workbench/contrib/debug/common/replModel';
4
+ import { Variable } from '@codingame/monaco-vscode-debug-notebook-common/vscode/vs/workbench/contrib/debug/common/debugModel';
5
5
 
6
6
  class ReplFilter {
7
7
  constructor() {
@@ -17,8 +17,8 @@ import { ILabelService } from 'vscode/vscode/vs/platform/label/common/label.serv
17
17
  import { defaultCountBadgeStyles } from 'vscode/vscode/vs/platform/theme/browser/defaultStyles';
18
18
  import { IEditorService } from 'vscode/vscode/vs/workbench/services/editor/common/editorService.service';
19
19
  import { IDebugService } from 'vscode/vscode/vs/workbench/contrib/debug/common/debug.service';
20
- import { Variable } from 'vscode/vscode/vs/workbench/contrib/debug/common/debugModel';
21
- import { ReplVariableElement, ReplEvaluationResult, ReplOutputElement, ReplEvaluationInput, ReplGroup, RawObjectReplElement } from 'vscode/vscode/vs/workbench/contrib/debug/common/replModel';
20
+ import { Variable } from '@codingame/monaco-vscode-debug-notebook-common/vscode/vs/workbench/contrib/debug/common/debugModel';
21
+ import { ReplVariableElement, ReplEvaluationResult, ReplOutputElement, ReplEvaluationInput, ReplGroup, RawObjectReplElement } from '@codingame/monaco-vscode-debug-notebook-common/vscode/vs/workbench/contrib/debug/common/replModel';
22
22
  import { AbstractExpressionsRenderer } from './baseDebugView.js';
23
23
  import { debugConsoleEvaluationInput } from 'vscode/vscode/vs/workbench/contrib/debug/browser/debugIcons';
24
24
 
@@ -301,25 +301,25 @@ class ReplDataSource {
301
301
  }
302
302
  class ReplAccessibilityProvider {
303
303
  getWidgetAriaLabel() {
304
- return ( localize(10388, "Debug Console"));
304
+ return ( localize(10457, "Debug Console"));
305
305
  }
306
306
  getAriaLabel(element) {
307
307
  if (element instanceof Variable) {
308
- return ( localize(10389, "Variable {0}, value {1}", element.name, element.value));
308
+ return ( localize(10458, "Variable {0}, value {1}", element.name, element.value));
309
309
  }
310
310
  if (element instanceof ReplOutputElement || element instanceof ReplEvaluationInput || element instanceof ReplEvaluationResult) {
311
- return element.value + (element instanceof ReplOutputElement && element.count > 1 ? ( localize(10390, ", occurred {0} times", element.count)) : '');
311
+ return element.value + (element instanceof ReplOutputElement && element.count > 1 ? ( localize(10459, ", occurred {0} times", element.count)) : '');
312
312
  }
313
313
  if (element instanceof RawObjectReplElement) {
314
314
  return ( localize(
315
- 10391,
315
+ 10460,
316
316
  "Debug console variable {0}, value {1}",
317
317
  element.name,
318
318
  element.value
319
319
  ));
320
320
  }
321
321
  if (element instanceof ReplGroup) {
322
- return ( localize(10392, "Debug console group {0}", element.name));
322
+ return ( localize(10461, "Debug console group {0}", element.name));
323
323
  }
324
324
  return '';
325
325
  }
@@ -55,79 +55,79 @@ let RunAndDebugAccessibilityHelpProvider = class RunAndDebugAccessibilityHelpPro
55
55
  provideContent() {
56
56
  return [
57
57
  ( localize(
58
- 6128,
58
+ 6129,
59
59
  "The Show Run and Debug view command{0} will open the current view.",
60
60
  '<keybinding:workbench.view.debug>'
61
61
  )),
62
62
  ( localize(
63
- 6129,
63
+ 6130,
64
64
  "The Debug: Start Debugging command{0} will start a debug session.",
65
65
  '<keybinding:workbench.action.debug.start>'
66
66
  )),
67
67
  ( localize(
68
- 6130,
68
+ 6131,
69
69
  "Access debug output and evaluate expressions in the debug console, which can be focused with{0}.",
70
70
  '<keybinding:workbench.panel.repl.view.focus>'
71
71
  )),
72
72
  AccessibilityHelpNLS.setBreakpoint,
73
73
  AccessibilityHelpNLS.addToWatch,
74
- ( localize(6131, "Once debugging, the following commands will be available:")),
74
+ ( localize(6132, "Once debugging, the following commands will be available:")),
75
75
  ( localize(
76
- 6132,
76
+ 6133,
77
77
  "- Debug: Restart Debugging command{0} will restart the current debug session.",
78
78
  '<keybinding:workbench.action.debug.restart>'
79
79
  )),
80
80
  ( localize(
81
- 6133,
81
+ 6134,
82
82
  "- Debug: Stop Debugging command{0} will stop the current debugging session.",
83
83
  '<keybinding:workbench.action.debug.stop>'
84
84
  )),
85
85
  ( localize(
86
- 6134,
86
+ 6135,
87
87
  "- Debug: Continue command{0} will continue execution until the next breakpoint.",
88
88
  '<keybinding:workbench.action.debug.continue>'
89
89
  )),
90
90
  ( localize(
91
- 6135,
91
+ 6136,
92
92
  "- Debug: Step Into command{0} will step into the next function call.",
93
93
  '<keybinding:workbench.action.debug.stepInto>'
94
94
  )),
95
95
  ( localize(
96
- 6136,
96
+ 6137,
97
97
  "- Debug: Step Over command{0} will step over the current function call.",
98
98
  '<keybinding:workbench.action.debug.stepOver>'
99
99
  )),
100
100
  ( localize(
101
- 6137,
101
+ 6138,
102
102
  "- Debug: Step Out command{0} will step out of the current function call.",
103
103
  '<keybinding:workbench.action.debug.stepOut>'
104
104
  )),
105
105
  ( localize(
106
- 6138,
106
+ 6139,
107
107
  'The debug viewlet is comprised of several views that can be focused with the following commands or navigated to via tab then arrow keys:'
108
108
  )),
109
109
  ( localize(
110
- 6139,
110
+ 6140,
111
111
  "- Debug: Focus Breakpoints View command{0} will focus the breakpoints view.",
112
112
  '<keybinding:workbench.debug.action.focusBreakpointsView>'
113
113
  )),
114
114
  ( localize(
115
- 6140,
115
+ 6141,
116
116
  "- Debug: Focus Call Stack View command{0} will focus the call stack view.",
117
117
  '<keybinding:workbench.debug.action.focusCallStackView>'
118
118
  )),
119
119
  ( localize(
120
- 6141,
120
+ 6142,
121
121
  "- Debug: Focus Variables View command{0} will focus the variables view.",
122
122
  '<keybinding:workbench.debug.action.focusVariablesView>'
123
123
  )),
124
124
  ( localize(
125
- 6142,
125
+ 6143,
126
126
  "- Debug: Focus Watch View command{0} will focus the watch view.",
127
127
  '<keybinding:workbench.debug.action.focusWatchView>'
128
128
  )),
129
129
  ( localize(
130
- 6143,
130
+ 6144,
131
131
  "The setting {0} controls whether watch variable changes are announced.",
132
132
  'accessibility.debugWatchVariableAnnouncements'
133
133
  )),
@@ -25,7 +25,7 @@ const STATUS_BAR_DEBUGGING_BACKGROUND = registerColor('statusBar.debuggingBackgr
25
25
  hcDark: '#BA592C',
26
26
  hcLight: '#B5200D'
27
27
  }, ( localize(
28
- 6067,
28
+ 6085,
29
29
  "Status bar background color when a program is being debugged. The status bar is shown in the bottom of the window"
30
30
  )));
31
31
  const STATUS_BAR_DEBUGGING_FOREGROUND = registerColor('statusBar.debuggingForeground', {
@@ -34,14 +34,14 @@ const STATUS_BAR_DEBUGGING_FOREGROUND = registerColor('statusBar.debuggingForegr
34
34
  hcDark: STATUS_BAR_FOREGROUND,
35
35
  hcLight: '#FFFFFF'
36
36
  }, ( localize(
37
- 6068,
37
+ 6086,
38
38
  "Status bar foreground color when a program is being debugged. The status bar is shown in the bottom of the window"
39
39
  )));
40
40
  const STATUS_BAR_DEBUGGING_BORDER = registerColor('statusBar.debuggingBorder', STATUS_BAR_BORDER, ( localize(
41
- 6069,
41
+ 6087,
42
42
  "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"
43
43
  )));
44
- const COMMAND_CENTER_DEBUGGING_BACKGROUND = registerColor('commandCenter.debuggingBackground', ( (transparent(STATUS_BAR_DEBUGGING_BACKGROUND, 0.258))), ( localize(6070, "Command center background color when a program is being debugged")), true);
44
+ const COMMAND_CENTER_DEBUGGING_BACKGROUND = registerColor('commandCenter.debuggingBackground', ( (transparent(STATUS_BAR_DEBUGGING_BACKGROUND, 0.258))), ( localize(6088, "Command center background color when a program is being debugged")), true);
45
45
  let StatusBarColorProvider = class StatusBarColorProvider {
46
46
  set enabled(enabled) {
47
47
  if (enabled === !!this.disposable) {
@@ -36,11 +36,11 @@ import { IExtensionsWorkbenchService } from 'vscode/vscode/vs/workbench/contrib/
36
36
  import { CONTEXT_VARIABLES_FOCUSED, CONTEXT_BREAK_WHEN_VALUE_CHANGES_SUPPORTED, CONTEXT_BREAK_WHEN_VALUE_IS_ACCESSED_SUPPORTED, CONTEXT_BREAK_WHEN_VALUE_IS_READ_SUPPORTED, VARIABLES_VIEW_ID } from 'vscode/vscode/vs/workbench/contrib/debug/common/debug';
37
37
  import { IDebugService } from 'vscode/vscode/vs/workbench/contrib/debug/common/debug.service';
38
38
  import { getContextForVariable } from '../common/debugContext.js';
39
- import { Variable, VisualizedExpression, Expression, StackFrame, ErrorScope, Scope, getUriForDebugMemory } from 'vscode/vscode/vs/workbench/contrib/debug/common/debugModel';
39
+ import { Variable, VisualizedExpression, Expression, StackFrame, ErrorScope, Scope, getUriForDebugMemory } from '@codingame/monaco-vscode-debug-notebook-common/vscode/vs/workbench/contrib/debug/common/debugModel';
40
40
  import { IDebugVisualizerService } from 'vscode/vscode/vs/workbench/contrib/debug/common/debugVisualizers.service';
41
41
  import { renderViewTree, AbstractExpressionDataSource, AbstractExpressionsRenderer } from './baseDebugView.js';
42
- import { COPY_VALUE_LABEL, COPY_VALUE_ID, COPY_EVALUATE_PATH_LABEL, COPY_EVALUATE_PATH_ID, ADD_TO_WATCH_LABEL, ADD_TO_WATCH_ID } from 'vscode/vscode/vs/workbench/contrib/debug/browser/debugCommands';
43
- import { DebugExpressionRenderer } from 'vscode/vscode/vs/workbench/contrib/debug/browser/debugExpressionRenderer';
42
+ import { COPY_VALUE_LABEL, COPY_VALUE_ID, COPY_EVALUATE_PATH_LABEL, COPY_EVALUATE_PATH_ID, ADD_TO_WATCH_LABEL, ADD_TO_WATCH_ID } from '@codingame/monaco-vscode-debug-notebook-common/vscode/vs/workbench/contrib/debug/browser/debugCommands';
43
+ import { DebugExpressionRenderer } from '@codingame/monaco-vscode-debug-notebook-common/vscode/vs/workbench/contrib/debug/browser/debugExpressionRenderer';
44
44
 
45
45
  var VisualizedVariableRenderer_1, VariablesRenderer_1;
46
46
  const $ = $$1;
@@ -362,7 +362,7 @@ let VisualizedVariableRenderer = class VisualizedVariableRenderer extends Abstra
362
362
  const viz = expression;
363
363
  return {
364
364
  initialValue: expression.value,
365
- ariaLabel: ( localize(6088, "Type new variable value")),
365
+ ariaLabel: ( localize(6089, "Type new variable value")),
366
366
  validationOptions: {
367
367
  validation: () => viz.errorMessage ? ({ content: viz.errorMessage }) : null
368
368
  },
@@ -385,7 +385,7 @@ let VisualizedVariableRenderer = class VisualizedVariableRenderer extends Abstra
385
385
  const primary = [];
386
386
  createAndFillInContextMenuActions(menu, { primary, secondary: [] }, 'inline');
387
387
  if (viz.original) {
388
- const action = ( (new Action('debugViz', ( localize(6089, 'Remove Visualizer')), ThemeIcon.asClassName(Codicon.eye), true, () => this.debugService.getViewModel().setVisualizedExpression(viz.original, undefined))));
388
+ const action = ( (new Action('debugViz', ( localize(6090, 'Remove Visualizer')), ThemeIcon.asClassName(Codicon.eye), true, () => this.debugService.getViewModel().setVisualizedExpression(viz.original, undefined))));
389
389
  action.checked = true;
390
390
  primary.push(action);
391
391
  actionBar.domNode.style.display = 'initial';
@@ -430,7 +430,7 @@ let VariablesRenderer = class VariablesRenderer extends AbstractExpressionsRende
430
430
  const variable = expression;
431
431
  return {
432
432
  initialValue: expression.value,
433
- ariaLabel: ( localize(6088, "Type new variable value")),
433
+ ariaLabel: ( localize(6089, "Type new variable value")),
434
434
  validationOptions: {
435
435
  validation: () => variable.errorMessage ? ({ content: variable.errorMessage }) : null
436
436
  },
@@ -474,7 +474,7 @@ let VariablesRenderer = class VariablesRenderer extends AbstractExpressionsRende
474
474
  actionBar.push(actions[0], { icon: true, label: false });
475
475
  }
476
476
  else {
477
- actionBar.push(( (new Action('debugViz', ( localize(6090, 'Visualize Variable...')), ThemeIcon.asClassName(Codicon.eye), undefined, () => this.pickVisualizer(actions, originalExpression, data)))), { icon: true, label: false });
477
+ actionBar.push(( (new Action('debugViz', ( localize(6091, 'Visualize Variable...')), ThemeIcon.asClassName(Codicon.eye), undefined, () => this.pickVisualizer(actions, originalExpression, data)))), { icon: true, label: false });
478
478
  }
479
479
  });
480
480
  }
@@ -513,14 +513,14 @@ VariablesRenderer = VariablesRenderer_1 = ( (__decorate([
513
513
  ], VariablesRenderer)));
514
514
  class VariablesAccessibilityProvider {
515
515
  getWidgetAriaLabel() {
516
- return ( localize(6091, "Debug Variables"));
516
+ return ( localize(6092, "Debug Variables"));
517
517
  }
518
518
  getAriaLabel(element) {
519
519
  if (element instanceof Scope) {
520
- return ( localize(6092, "Scope {0}", element.name));
520
+ return ( localize(6093, "Scope {0}", element.name));
521
521
  }
522
522
  if (element instanceof Variable) {
523
- return ( localize(6093, "{0}, value {1}", element.name, element.value));
523
+ return ( localize(6094, "{0}, value {1}", element.name, element.value));
524
524
  }
525
525
  return null;
526
526
  }
@@ -623,7 +623,7 @@ CommandsRegistry.registerCommand({
623
623
  async function tryInstallHexEditor(extensionsWorkbenchService, notificationService) {
624
624
  try {
625
625
  await extensionsWorkbenchService.install(HEX_EDITOR_EXTENSION_ID, {
626
- justification: ( localize(6094, "Inspecting binary data requires this extension.")),
626
+ justification: ( localize(6095, "Inspecting binary data requires this extension.")),
627
627
  enable: true
628
628
  }, 15 );
629
629
  return true;
@@ -688,7 +688,7 @@ registerAction2(class extends ViewAction {
688
688
  super({
689
689
  id: 'variables.collapse',
690
690
  viewId: VARIABLES_VIEW_ID,
691
- title: ( localize(6095, "Collapse All")),
691
+ title: ( localize(6096, "Collapse All")),
692
692
  f1: false,
693
693
  icon: Codicon.collapseAll,
694
694
  menu: {
@@ -21,9 +21,9 @@ import { ViewPane, ViewAction } from 'vscode/vscode/vs/workbench/browser/parts/v
21
21
  import { IViewDescriptorService } from 'vscode/vscode/vs/workbench/common/views.service';
22
22
  import { CONTEXT_WATCH_EXPRESSIONS_EXIST, CONTEXT_VARIABLE_IS_READONLY, CONTEXT_WATCH_ITEM_TYPE, CONTEXT_WATCH_EXPRESSIONS_FOCUSED, CONTEXT_CAN_VIEW_MEMORY, WATCH_VIEW_ID } from 'vscode/vscode/vs/workbench/contrib/debug/common/debug';
23
23
  import { IDebugService } from 'vscode/vscode/vs/workbench/contrib/debug/common/debug.service';
24
- import { Expression, Variable, VisualizedExpression } from 'vscode/vscode/vs/workbench/contrib/debug/common/debugModel';
24
+ import { Expression, Variable, VisualizedExpression } from '@codingame/monaco-vscode-debug-notebook-common/vscode/vs/workbench/contrib/debug/common/debugModel';
25
25
  import { renderViewTree, AbstractExpressionDataSource, AbstractExpressionsRenderer } from './baseDebugView.js';
26
- import { DebugExpressionRenderer } from 'vscode/vscode/vs/workbench/contrib/debug/browser/debugExpressionRenderer';
26
+ import { DebugExpressionRenderer } from '@codingame/monaco-vscode-debug-notebook-common/vscode/vs/workbench/contrib/debug/browser/debugExpressionRenderer';
27
27
  import { watchExpressionsAdd, watchExpressionsRemoveAll } from 'vscode/vscode/vs/workbench/contrib/debug/browser/debugIcons';
28
28
  import { VariablesRenderer, VisualizedVariableRenderer } from './variablesView.js';
29
29
 
@@ -72,6 +72,7 @@ let WatchExpressionsView = class WatchExpressionsView extends ViewPane {
72
72
  dnd: ( (new WatchExpressionsDragAndDrop(this.debugService))),
73
73
  overrideStyles: this.getLocationBasedColors().listOverrideStyles
74
74
  });
75
+ this._register(this.tree);
75
76
  this.tree.setInput(this.debugService);
76
77
  CONTEXT_WATCH_EXPRESSIONS_FOCUSED.bindTo(this.tree.contextKeyService);
77
78
  this._register(VisualizedVariableRenderer.rendererOnVisualizationRange(this.debugService.getViewModel(), this.tree));
@@ -281,7 +282,7 @@ let WatchExpressionsRenderer = class WatchExpressionsRenderer extends AbstractEx
281
282
  if (settingValue) {
282
283
  return {
283
284
  initialValue: expression.value,
284
- ariaLabel: ( localize(6096, "Type new value")),
285
+ ariaLabel: ( localize(6097, "Type new value")),
285
286
  onFinish: async (value, success) => {
286
287
  if (success && value) {
287
288
  const focusedFrame = this.debugService.getViewModel().focusedStackFrame;
@@ -295,8 +296,8 @@ let WatchExpressionsRenderer = class WatchExpressionsRenderer extends AbstractEx
295
296
  }
296
297
  return {
297
298
  initialValue: expression.name ? expression.name : '',
298
- ariaLabel: ( localize(6097, "Type watch expression")),
299
- placeholder: ( localize(6098, "Expression to watch")),
299
+ ariaLabel: ( localize(6098, "Type watch expression")),
300
+ placeholder: ( localize(6099, "Expression to watch")),
300
301
  onFinish: (value, success) => {
301
302
  if (success && value) {
302
303
  this.debugService.renameWatchExpression(expression.getId(), value);
@@ -337,13 +338,13 @@ function getContextForWatchExpressionMenu(parentContext, expression) {
337
338
  }
338
339
  class WatchExpressionsAccessibilityProvider {
339
340
  getWidgetAriaLabel() {
340
- return ( localize(6099, "Debug Watch Expressions"));
341
+ return ( localize(6100, "Debug Watch Expressions"));
341
342
  }
342
343
  getAriaLabel(element) {
343
344
  if (element instanceof Expression) {
344
- return ( localize(6100, "{0}, value {1}", element.name, element.value));
345
+ return ( localize(6101, "{0}, value {1}", element.name, element.value));
345
346
  }
346
- return ( localize(6101, "{0}, value {1}", element.name, element.value));
347
+ return ( localize(6102, "{0}, value {1}", element.name, element.value));
347
348
  }
348
349
  }
349
350
  class WatchExpressionsDragAndDrop {
@@ -424,7 +425,7 @@ registerAction2(class Collapse extends ViewAction {
424
425
  super({
425
426
  id: 'watch.collapse',
426
427
  viewId: WATCH_VIEW_ID,
427
- title: ( localize(6102, "Collapse All")),
428
+ title: ( localize(6103, "Collapse All")),
428
429
  f1: false,
429
430
  icon: Codicon.collapseAll,
430
431
  precondition: CONTEXT_WATCH_EXPRESSIONS_EXIST,
@@ -441,7 +442,7 @@ registerAction2(class Collapse extends ViewAction {
441
442
  }
442
443
  });
443
444
  const ADD_WATCH_ID = 'workbench.debug.viewlet.action.addWatchExpression';
444
- const ADD_WATCH_LABEL = ( localize(6103, "Add Expression"));
445
+ const ADD_WATCH_LABEL = ( localize(6104, "Add Expression"));
445
446
  registerAction2(class AddWatchExpressionAction extends Action2 {
446
447
  constructor() {
447
448
  super({
@@ -462,7 +463,7 @@ registerAction2(class AddWatchExpressionAction extends Action2 {
462
463
  }
463
464
  });
464
465
  const REMOVE_WATCH_EXPRESSIONS_COMMAND_ID = 'workbench.debug.viewlet.action.removeAllWatchExpressions';
465
- const REMOVE_WATCH_EXPRESSIONS_LABEL = ( localize(6104, "Remove All Expressions"));
466
+ const REMOVE_WATCH_EXPRESSIONS_LABEL = ( localize(6105, "Remove All Expressions"));
466
467
  registerAction2(class RemoveAllWatchExpressionsAction extends Action2 {
467
468
  constructor() {
468
469
  super({
@@ -22,7 +22,7 @@ import { isDiffEditor, isCodeEditor } from 'vscode/vscode/vs/editor/browser/edit
22
22
  import { IStorageService } from 'vscode/vscode/vs/platform/storage/common/storage.service';
23
23
  import { ITelemetryService } from 'vscode/vscode/vs/platform/telemetry/common/telemetry.service';
24
24
  import { DisposableStore } from 'vscode/vscode/vs/base/common/lifecycle';
25
- import { DEBUG_START_COMMAND_ID, SELECT_AND_START_ID, DEBUG_CONFIGURE_COMMAND_ID } from 'vscode/vscode/vs/workbench/contrib/debug/browser/debugCommands';
25
+ import { DEBUG_START_COMMAND_ID, SELECT_AND_START_ID, DEBUG_CONFIGURE_COMMAND_ID } from '@codingame/monaco-vscode-debug-notebook-common/vscode/vs/workbench/contrib/debug/browser/debugCommands';
26
26
  import { IHoverService } from 'vscode/vscode/vs/platform/hover/browser/hover.service';
27
27
 
28
28
  const debugStartLanguageKey = 'debugStartLanguage';
@@ -30,7 +30,7 @@ const CONTEXT_DEBUG_START_LANGUAGE = ( (new RawContextKey(debugStartLanguageKey,
30
30
  const CONTEXT_DEBUGGER_INTERESTED_IN_ACTIVE_EDITOR = ( (new RawContextKey('debuggerInterestedInActiveEditor', false)));
31
31
  let WelcomeView = class WelcomeView extends ViewPane {
32
32
  static { this.ID = 'workbench.debug.welcome'; }
33
- static { this.LABEL = ( localize2(6105, "Run")); }
33
+ static { this.LABEL = ( localize2(6106, "Run")); }
34
34
  constructor(options, themeService, keybindingService, contextMenuService, configurationService, contextKeyService, debugService, editorService, instantiationService, viewDescriptorService, openerService, storageSevice, telemetryService, hoverService) {
35
35
  super(options, keybindingService, contextMenuService, configurationService, contextKeyService, viewDescriptorService, instantiationService, openerService, themeService, telemetryService, hoverService);
36
36
  this.debugService = debugService;
@@ -101,7 +101,7 @@ WelcomeView = ( (__decorate([
101
101
  const viewsRegistry = ( (Registry.as(Extensions.ViewsRegistry)));
102
102
  viewsRegistry.registerViewWelcomeContent(WelcomeView.ID, {
103
103
  content: ( localize(
104
- 6106,
104
+ 6107,
105
105
  "[Open a file](command:{0}) which can be debugged or run.",
106
106
  (isMacintosh && !isWeb) ? OpenFileFolderAction.ID : OpenFileAction.ID
107
107
  )),
@@ -113,20 +113,20 @@ viewsRegistry.registerViewWelcomeContent(WelcomeView.ID, {
113
113
  });
114
114
  let debugKeybindingLabel = '';
115
115
  viewsRegistry.registerViewWelcomeContent(WelcomeView.ID, {
116
- content: `[${( localize(6107, "Run and Debug"))}${debugKeybindingLabel}](command:${DEBUG_START_COMMAND_ID})`,
116
+ content: `[${( localize(6108, "Run and Debug"))}${debugKeybindingLabel}](command:${DEBUG_START_COMMAND_ID})`,
117
117
  when: CONTEXT_DEBUGGERS_AVAILABLE,
118
118
  group: ViewContentGroups.Debug,
119
119
  order: 1
120
120
  });
121
121
  viewsRegistry.registerViewWelcomeContent(WelcomeView.ID, {
122
- content: `[${( localize(6108, "Show all automatic debug configurations"))}](command:${SELECT_AND_START_ID}).`,
122
+ content: `[${( localize(6109, "Show all automatic debug configurations"))}](command:${SELECT_AND_START_ID}).`,
123
123
  when: CONTEXT_DEBUGGERS_AVAILABLE,
124
124
  group: ViewContentGroups.Debug,
125
125
  order: 10
126
126
  });
127
127
  viewsRegistry.registerViewWelcomeContent(WelcomeView.ID, {
128
128
  content: ( localize(
129
- 6109,
129
+ 6110,
130
130
  "To customize Run and Debug [create a launch.json file](command:{0}).",
131
131
  DEBUG_CONFIGURE_COMMAND_ID
132
132
  )),
@@ -138,7 +138,7 @@ viewsRegistry.registerViewWelcomeContent(WelcomeView.ID, {
138
138
  });
139
139
  viewsRegistry.registerViewWelcomeContent(WelcomeView.ID, {
140
140
  content: ( localize(
141
- 6110,
141
+ 6111,
142
142
  "To customize Run and Debug, [open a folder](command:{0}) and create a launch.json file.",
143
143
  (isMacintosh && !isWeb) ? OpenFileFolderAction.ID : OpenFolderAction.ID
144
144
  )),
@@ -150,7 +150,7 @@ viewsRegistry.registerViewWelcomeContent(WelcomeView.ID, {
150
150
  });
151
151
  viewsRegistry.registerViewWelcomeContent(WelcomeView.ID, {
152
152
  content: ( localize(
153
- 6111,
153
+ 6112,
154
154
  "All debug extensions are disabled. Enable a debug extension or install a new one from the Marketplace."
155
155
  )),
156
156
  when: ( (CONTEXT_DEBUG_EXTENSION_AVAILABLE.toNegated())),