@codingame/monaco-vscode-debug-service-override 8.0.2 → 8.0.4

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codingame/monaco-vscode-debug-service-override",
3
- "version": "8.0.2",
3
+ "version": "8.0.4",
4
4
  "keywords": [],
5
5
  "author": {
6
6
  "name": "CodinGame",
@@ -26,6 +26,6 @@
26
26
  }
27
27
  },
28
28
  "dependencies": {
29
- "vscode": "npm:@codingame/monaco-vscode-api@8.0.2"
29
+ "vscode": "npm:@codingame/monaco-vscode-api@8.0.4"
30
30
  }
31
31
  }
@@ -147,7 +147,7 @@ let CallStackView = class CallStackView extends ViewPane {
147
147
  this.stateMessage.hidden = false;
148
148
  }
149
149
  else if (sessions.length === 1 && sessions[0].state === State.Running) {
150
- this.stateMessageLabel.textContent = ( localize(5932, "Running"));
150
+ this.stateMessageLabel.textContent = ( localize(5920, "Running"));
151
151
  this.stateMessageLabelHover.update(sessions[0].getLabel());
152
152
  this.stateMessageLabel.classList.remove('exception');
153
153
  this.stateMessage.hidden = false;
@@ -228,7 +228,7 @@ let CallStackView = class CallStackView extends ViewPane {
228
228
  if (e instanceof ThreadAndSessionIds) {
229
229
  return LoadMoreRenderer.LABEL;
230
230
  }
231
- return ( localize(5933, "Show More Stack Frames"));
231
+ return ( localize(5921, "Show More Stack Frames"));
232
232
  },
233
233
  getCompressedNodeKeyboardNavigationLabel: (e) => {
234
234
  const firstItem = e[0];
@@ -487,7 +487,7 @@ let SessionsRenderer = class SessionsRenderer {
487
487
  this.doRenderElement(lastElement, matches, templateData);
488
488
  }
489
489
  doRenderElement(session, matches, data) {
490
- const sessionHover = data.elementDisposable.add(this.hoverService.setupManagedHover(getDefaultHoverDelegate('mouse'), data.session, ( localize(5934, "Session"))));
490
+ const sessionHover = data.elementDisposable.add(this.hoverService.setupManagedHover(getDefaultHoverDelegate('mouse'), data.session, ( localize(5922, "Session"))));
491
491
  data.label.set(session.getLabel(), matches);
492
492
  const stoppedDetails = session.getStoppedDetails();
493
493
  const thread = session.getAllThreads().find(t => t.stopped);
@@ -516,7 +516,7 @@ let SessionsRenderer = class SessionsRenderer {
516
516
  data.stateLabel.classList.toggle('exception', thread.stoppedDetails.reason === 'exception');
517
517
  }
518
518
  else {
519
- data.stateLabel.textContent = ( localize(5932, "Running"));
519
+ data.stateLabel.textContent = ( localize(5920, "Running"));
520
520
  data.stateLabel.classList.remove('exception');
521
521
  }
522
522
  }
@@ -652,7 +652,7 @@ let StackFramesRenderer = class StackFramesRenderer {
652
652
  }
653
653
  data.actionBar.clear();
654
654
  if (hasActions) {
655
- const action = ( (new Action('debug.callStack.restartFrame', ( localize(5935, "Restart Frame")), ThemeIcon.asClassName(debugRestartFrame), true, async () => {
655
+ const action = ( (new Action('debug.callStack.restartFrame', ( localize(5923, "Restart Frame")), ThemeIcon.asClassName(debugRestartFrame), true, async () => {
656
656
  try {
657
657
  await stackFrame.restart();
658
658
  }
@@ -704,7 +704,7 @@ ErrorsRenderer = ErrorsRenderer_1 = ( (__decorate([
704
704
  ], ErrorsRenderer)));
705
705
  class LoadMoreRenderer {
706
706
  static { this.ID = 'loadMore'; }
707
- static { this.LABEL = ( localize(5936, "Load More Stack Frames")); }
707
+ static { this.LABEL = ( localize(5924, "Load More Stack Frames")); }
708
708
  constructor() { }
709
709
  get templateId() {
710
710
  return LoadMoreRenderer.ID;
@@ -738,14 +738,14 @@ class ShowMoreRenderer {
738
738
  const stackFrames = element.element;
739
739
  if (stackFrames.every(sf => !!(sf.source && sf.source.origin && sf.source.origin === stackFrames[0].source.origin))) {
740
740
  data.label.textContent = ( localize(
741
- 5937,
741
+ 5925,
742
742
  "Show {0} More: {1}",
743
743
  stackFrames.length,
744
744
  stackFrames[0].source.origin
745
745
  ));
746
746
  }
747
747
  else {
748
- data.label.textContent = ( localize(5938, "Show {0} More Stack Frames", stackFrames.length));
748
+ data.label.textContent = ( localize(5926, "Show {0} More Stack Frames", stackFrames.length));
749
749
  }
750
750
  }
751
751
  renderCompressedElements(node, index, templateData, height) {
@@ -788,7 +788,7 @@ function stoppedText(stoppedDetails) {
788
788
  }
789
789
  function stoppedDescription(stoppedDetails) {
790
790
  return stoppedDetails.description ||
791
- (stoppedDetails.reason ? ( localize(5939, "Paused on {0}", stoppedDetails.reason)) : ( localize(5940, "Paused")));
791
+ (stoppedDetails.reason ? ( localize(5927, "Paused on {0}", stoppedDetails.reason)) : ( localize(5928, "Paused")));
792
792
  }
793
793
  function isDebugModel(obj) {
794
794
  return typeof obj.getSessions === 'function';
@@ -878,7 +878,7 @@ class CallStackDataSource {
878
878
  }
879
879
  class CallStackAccessibilityProvider {
880
880
  getWidgetAriaLabel() {
881
- return ( localize(5941, "Debug Call Stack"));
881
+ return ( localize(5929, "Debug Call Stack"));
882
882
  }
883
883
  getWidgetRole() {
884
884
  return 'treegrid';
@@ -888,11 +888,11 @@ class CallStackAccessibilityProvider {
888
888
  }
889
889
  getAriaLabel(element) {
890
890
  if (element instanceof Thread) {
891
- return ( localize(5942, "Thread {0} {1}", element.name, element.stateLabel));
891
+ return ( localize(5930, "Thread {0} {1}", element.name, element.stateLabel));
892
892
  }
893
893
  if (element instanceof StackFrame) {
894
894
  return ( localize(
895
- 5943,
895
+ 5931,
896
896
  "Stack Frame {0}, line {1}, {2}",
897
897
  element.name,
898
898
  element.range.startLineNumber,
@@ -901,14 +901,14 @@ class CallStackAccessibilityProvider {
901
901
  }
902
902
  if (isDebugSession(element)) {
903
903
  const thread = element.getAllThreads().find(t => t.stopped);
904
- const state = thread ? thread.stateLabel : ( localize(5932, "Running"));
905
- return ( localize(5944, "Session {0} {1}", element.getLabel(), state));
904
+ const state = thread ? thread.stateLabel : ( localize(5920, "Running"));
905
+ return ( localize(5932, "Session {0} {1}", element.getLabel(), state));
906
906
  }
907
907
  if (typeof element === 'string') {
908
908
  return element;
909
909
  }
910
910
  if (element instanceof Array) {
911
- return ( localize(5938, "Show {0} More Stack Frames", element.length));
911
+ return ( localize(5926, "Show {0} More Stack Frames", element.length));
912
912
  }
913
913
  return LoadMoreRenderer.LABEL;
914
914
  }
@@ -936,7 +936,7 @@ registerAction2(class Collapse extends ViewAction {
936
936
  super({
937
937
  id: 'callStack.collapse',
938
938
  viewId: CALLSTACK_VIEW_ID,
939
- title: ( localize(5945, "Collapse All")),
939
+ title: ( localize(5933, "Collapse All")),
940
940
  f1: false,
941
941
  icon: Codicon.collapseAll,
942
942
  precondition: ( (CONTEXT_DEBUG_STATE.isEqualTo(getStateLabel(State.Stopped)))),
@@ -179,10 +179,10 @@ registerAction2(class extends Action2 {
179
179
  title: {
180
180
  value: DEBUG_CONFIGURE_LABEL,
181
181
  original: 'Open \'launch.json\'',
182
- mnemonicTitle: ( localize(6051, "Open &&Configurations"))
182
+ mnemonicTitle: ( localize(6044, "Open &&Configurations"))
183
183
  },
184
184
  metadata: {
185
- description: ( localize2(6052, 'Opens the file used to configure how your program is debugged'))
185
+ description: ( localize2(6045, 'Opens the file used to configure how your program is debugged'))
186
186
  },
187
187
  f1: true,
188
188
  icon: debugConfigure,
@@ -234,7 +234,7 @@ registerAction2(class extends Action2 {
234
234
  const picked = await quickInputService.pick(picks, {
235
235
  activeItem: picks[0],
236
236
  placeHolder: ( localize(
237
- 6053,
237
+ 6046,
238
238
  "Select a workspace folder to create a launch.json file in or add it to the workspace config file"
239
239
  ))
240
240
  });
@@ -252,7 +252,7 @@ registerAction2(class extends Action2 {
252
252
  constructor() {
253
253
  super({
254
254
  id: 'debug.toggleReplIgnoreFocus',
255
- title: ( localize(6054, "Debug Console")),
255
+ title: ( localize(6047, "Debug Console")),
256
256
  toggled: ( (ContextKeyExpr.has(`view.${REPL_VIEW_ID}.visible`))),
257
257
  menu: [{
258
258
  id: ViewsSubMenu,
@@ -284,7 +284,7 @@ MenuRegistry.appendMenuItem(MenuId.ViewContainerTitle, {
284
284
  order: 10,
285
285
  command: {
286
286
  id: SELECT_AND_START_ID,
287
- title: ( localize(6055, "Start Additional Session")),
287
+ title: ( localize(6048, "Start Additional Session")),
288
288
  }
289
289
  });
290
290
 
@@ -56,7 +56,7 @@ const disassemblyNotAvailable = {
56
56
  address: 0n,
57
57
  instruction: {
58
58
  address: '-1',
59
- instruction: ( localize(6044, "Disassembly not available."))
59
+ instruction: ( localize(6049, "Disassembly not available."))
60
60
  },
61
61
  };
62
62
  let DisassemblyView = class DisassemblyView extends EditorPane {
@@ -170,7 +170,7 @@ let DisassemblyView = class DisassemblyView extends EditorPane {
170
170
  project(row) { return row; }
171
171
  },
172
172
  {
173
- label: ( localize(6045, "instructions")),
173
+ label: ( localize(6050, "instructions")),
174
174
  tooltip: '',
175
175
  weight: 0.3,
176
176
  templateId: InstructionRenderer.TEMPLATE_ID,
@@ -705,7 +705,7 @@ let InstructionRenderer = class InstructionRenderer extends Disposable {
705
705
  };
706
706
  this.editorService.openEditor({
707
707
  resource: sourceURI,
708
- description: ( localize(6046, "from disassembly")),
708
+ description: ( localize(6051, "from disassembly")),
709
709
  options: {
710
710
  preserveFocus: false,
711
711
  selection: selection,
@@ -740,18 +740,18 @@ InstructionRenderer = InstructionRenderer_1 = ( (__decorate([
740
740
  ], InstructionRenderer)));
741
741
  class AccessibilityProvider {
742
742
  getWidgetAriaLabel() {
743
- return ( localize(6047, "Disassembly View"));
743
+ return ( localize(6052, "Disassembly View"));
744
744
  }
745
745
  getAriaLabel(element) {
746
746
  let label = '';
747
747
  const instruction = element.instruction;
748
748
  if (instruction.address !== '-1') {
749
- label += `${( localize(6048, "Address"))}: ${instruction.address}`;
749
+ label += `${( localize(6053, "Address"))}: ${instruction.address}`;
750
750
  }
751
751
  if (instruction.instructionBytes) {
752
- label += `, ${( localize(6049, "Bytes"))}: ${instruction.instructionBytes}`;
752
+ label += `, ${( localize(6054, "Bytes"))}: ${instruction.instructionBytes}`;
753
753
  }
754
- label += `, ${( localize(6050, "Instruction"))}: ${instruction.instruction}`;
754
+ label += `, ${( localize(6055, "Instruction"))}: ${instruction.instruction}`;
755
755
  return label;
756
756
  }
757
757
  }
@@ -97,7 +97,7 @@ let Repl = class Repl extends FilterViewPane {
97
97
  super({
98
98
  ...options,
99
99
  filterOptions: {
100
- placeholder: ( localize(6067, "Filter (e.g. text, !exclude, \\escape)")),
100
+ placeholder: ( localize(6075, "Filter (e.g. text, !exclude, \\escape)")),
101
101
  text: filterText,
102
102
  history: JSON.parse(storageService.get(FILTER_HISTORY_STORAGE_KEY, StorageScope.WORKSPACE, '[]')),
103
103
  }
@@ -496,7 +496,7 @@ let Repl = class Repl extends FilterViewPane {
496
496
  await autoExpandElements(session.getReplElements());
497
497
  }
498
498
  const { total, filtered } = this.getFilterStats();
499
- this.filterWidget.updateBadge(total === filtered || total === 0 ? undefined : ( localize(6068, "Showing {0} of {1}", filtered, total)));
499
+ this.filterWidget.updateBadge(total === filtered || total === 0 ? undefined : ( localize(6076, "Showing {0} of {1}", filtered, total)));
500
500
  }, Repl_1.REFRESH_DELAY))
501
501
  );
502
502
  }
@@ -615,17 +615,17 @@ let Repl = class Repl extends FilterViewPane {
615
615
  this._register(addStandardDisposableListener(this.replInputContainer, EventType.BLUR, () => this.replInputContainer.classList.remove('synthetic-focus')));
616
616
  }
617
617
  getAriaLabel() {
618
- let ariaLabel = ( localize(6069, "Debug Console"));
618
+ let ariaLabel = ( localize(6077, "Debug Console"));
619
619
  if (!this.configurationService.getValue(AccessibilityVerbositySettingId.Debug)) {
620
620
  return ariaLabel;
621
621
  }
622
622
  const keybinding = this.keybindingService.lookupKeybinding(AccessibilityCommandId.OpenAccessibilityHelp)?.getAriaLabel();
623
623
  if (keybinding) {
624
- ariaLabel = ( localize(6070, "{0}, use ({1}) for accessibility help", ariaLabel, keybinding));
624
+ ariaLabel = ( localize(6078, "{0}, use ({1}) for accessibility help", ariaLabel, keybinding));
625
625
  }
626
626
  else {
627
627
  ariaLabel = ( localize(
628
- 6071,
628
+ 6079,
629
629
  "{0}, run the command Open Accessibility Help which is currently not triggerable via keybinding.",
630
630
  ariaLabel
631
631
  ));
@@ -665,7 +665,7 @@ let Repl = class Repl extends FilterViewPane {
665
665
  },
666
666
  renderOptions: {
667
667
  after: {
668
- contentText: ( localize(6072, "Please start a debug session to evaluate expressions")),
668
+ contentText: ( localize(6080, "Please start a debug session to evaluate expressions")),
669
669
  color: transparentForeground ? ( (transparentForeground.toString())) : undefined
670
670
  }
671
671
  }
@@ -778,7 +778,7 @@ class AcceptReplInputAction extends EditorAction {
778
778
  constructor() {
779
779
  super({
780
780
  id: 'repl.action.acceptInput',
781
- label: ( localize(6073, "Debug Console: Accept Input")),
781
+ label: ( localize(6081, "Debug Console: Accept Input")),
782
782
  alias: 'Debug Console: Accept Input',
783
783
  precondition: CONTEXT_IN_DEBUG_REPL,
784
784
  kbOpts: {
@@ -798,7 +798,7 @@ class FilterReplAction extends EditorAction {
798
798
  constructor() {
799
799
  super({
800
800
  id: 'repl.action.filter',
801
- label: ( localize(6074, "Debug Console: Focus Filter")),
801
+ label: ( localize(6082, "Debug Console: Focus Filter")),
802
802
  alias: 'Debug Console: Focus Filter',
803
803
  precondition: CONTEXT_IN_DEBUG_REPL,
804
804
  kbOpts: {
@@ -817,7 +817,7 @@ class ReplCopyAllAction extends EditorAction {
817
817
  constructor() {
818
818
  super({
819
819
  id: 'repl.action.copyAll',
820
- label: ( localize(6075, "Debug: Console Copy All")),
820
+ label: ( localize(6083, "Debug: Console Copy All")),
821
821
  alias: 'Debug Console Copy All',
822
822
  precondition: CONTEXT_IN_DEBUG_REPL,
823
823
  });
@@ -853,7 +853,7 @@ registerAction2(class extends ViewAction {
853
853
  super({
854
854
  id: selectReplCommandId,
855
855
  viewId: REPL_VIEW_ID,
856
- title: ( localize(6076, "Select Debug Console")),
856
+ title: ( localize(6084, "Select Debug Console")),
857
857
  f1: false,
858
858
  menu: {
859
859
  id: MenuId.ViewTitle,
@@ -885,9 +885,9 @@ registerAction2(class extends ViewAction {
885
885
  super({
886
886
  id: 'workbench.debug.panel.action.clearReplAction',
887
887
  viewId: REPL_VIEW_ID,
888
- title: ( localize2(6077, 'Clear Console')),
888
+ title: ( localize2(6085, 'Clear Console')),
889
889
  metadata: {
890
- description: ( localize2(6078, 'Clears all program output from your debug REPL'))
890
+ description: ( localize2(6086, 'Clears all program output from your debug REPL'))
891
891
  },
892
892
  f1: true,
893
893
  icon: debugConsoleClearAll,
@@ -913,7 +913,7 @@ registerAction2(class extends ViewAction {
913
913
  constructor() {
914
914
  super({
915
915
  id: 'debug.collapseRepl',
916
- title: ( localize(6079, "Collapse All")),
916
+ title: ( localize(6087, "Collapse All")),
917
917
  viewId: REPL_VIEW_ID,
918
918
  menu: {
919
919
  id: MenuId.DebugConsoleContext,
@@ -931,7 +931,7 @@ registerAction2(class extends ViewAction {
931
931
  constructor() {
932
932
  super({
933
933
  id: 'debug.replPaste',
934
- title: ( localize(6080, "Paste")),
934
+ title: ( localize(6088, "Paste")),
935
935
  viewId: REPL_VIEW_ID,
936
936
  precondition: ( (CONTEXT_DEBUG_STATE.notEqualsTo(getStateLabel(State.Inactive)))),
937
937
  menu: {
@@ -961,7 +961,7 @@ registerAction2(class extends ViewAction {
961
961
  constructor() {
962
962
  super({
963
963
  id: 'workbench.debug.action.copyAll',
964
- title: ( localize(6081, "Copy All")),
964
+ title: ( localize(6089, "Copy All")),
965
965
  viewId: REPL_VIEW_ID,
966
966
  menu: {
967
967
  id: MenuId.DebugConsoleContext,
@@ -979,7 +979,7 @@ registerAction2(class extends Action2 {
979
979
  constructor() {
980
980
  super({
981
981
  id: 'debug.replCopy',
982
- title: ( localize(6082, "Copy")),
982
+ title: ( localize(6090, "Copy")),
983
983
  menu: {
984
984
  id: MenuId.DebugConsoleContext,
985
985
  group: '2_cutcopypaste',
@@ -365,7 +365,7 @@ let VisualizedVariableRenderer = class VisualizedVariableRenderer extends Abstra
365
365
  const viz = expression;
366
366
  return {
367
367
  initialValue: expression.value,
368
- ariaLabel: ( localize(6083, "Type new variable value")),
368
+ ariaLabel: ( localize(6067, "Type new variable value")),
369
369
  validationOptions: {
370
370
  validation: () => viz.errorMessage ? ({ content: viz.errorMessage }) : null
371
371
  },
@@ -388,7 +388,7 @@ let VisualizedVariableRenderer = class VisualizedVariableRenderer extends Abstra
388
388
  const primary = [];
389
389
  createAndFillInContextMenuActions(menu, { primary, secondary: [] }, 'inline');
390
390
  if (viz.original) {
391
- const action = ( (new Action('debugViz', ( localize(6084, 'Remove Visualizer')), ThemeIcon.asClassName(Codicon.eye), true, () => this.debugService.getViewModel().setVisualizedExpression(viz.original, undefined))));
391
+ const action = ( (new Action('debugViz', ( localize(6068, 'Remove Visualizer')), ThemeIcon.asClassName(Codicon.eye), true, () => this.debugService.getViewModel().setVisualizedExpression(viz.original, undefined))));
392
392
  action.checked = true;
393
393
  primary.push(action);
394
394
  actionBar.domNode.style.display = 'initial';
@@ -438,7 +438,7 @@ let VariablesRenderer = class VariablesRenderer extends AbstractExpressionsRende
438
438
  const variable = expression;
439
439
  return {
440
440
  initialValue: expression.value,
441
- ariaLabel: ( localize(6083, "Type new variable value")),
441
+ ariaLabel: ( localize(6067, "Type new variable value")),
442
442
  validationOptions: {
443
443
  validation: () => variable.errorMessage ? ({ content: variable.errorMessage }) : null
444
444
  },
@@ -482,7 +482,7 @@ let VariablesRenderer = class VariablesRenderer extends AbstractExpressionsRende
482
482
  actionBar.push(actions[0], { icon: true, label: false });
483
483
  }
484
484
  else {
485
- actionBar.push(( (new Action('debugViz', ( localize(6085, 'Visualize Variable...')), ThemeIcon.asClassName(Codicon.eye), undefined, () => this.pickVisualizer(actions, originalExpression, data)))), { icon: true, label: false });
485
+ actionBar.push(( (new Action('debugViz', ( localize(6069, 'Visualize Variable...')), ThemeIcon.asClassName(Codicon.eye), undefined, () => this.pickVisualizer(actions, originalExpression, data)))), { icon: true, label: false });
486
486
  }
487
487
  });
488
488
  }
@@ -523,14 +523,14 @@ VariablesRenderer = VariablesRenderer_1 = ( (__decorate([
523
523
  ], VariablesRenderer)));
524
524
  class VariablesAccessibilityProvider {
525
525
  getWidgetAriaLabel() {
526
- return ( localize(6086, "Debug Variables"));
526
+ return ( localize(6070, "Debug Variables"));
527
527
  }
528
528
  getAriaLabel(element) {
529
529
  if (element instanceof Scope) {
530
- return ( localize(6087, "Scope {0}", element.name));
530
+ return ( localize(6071, "Scope {0}", element.name));
531
531
  }
532
532
  if (element instanceof Variable) {
533
- return ( localize(6088, "{0}, value {1}", element.name, element.value));
533
+ return ( localize(6072, "{0}, value {1}", element.name, element.value));
534
534
  }
535
535
  return null;
536
536
  }
@@ -633,7 +633,7 @@ CommandsRegistry.registerCommand({
633
633
  async function tryInstallHexEditor(extensionsWorkbenchService, notificationService) {
634
634
  try {
635
635
  await extensionsWorkbenchService.install(HEX_EDITOR_EXTENSION_ID, {
636
- justification: ( localize(6089, "Inspecting binary data requires this extension.")),
636
+ justification: ( localize(6073, "Inspecting binary data requires this extension.")),
637
637
  enable: true
638
638
  }, ProgressLocation.Notification);
639
639
  return true;
@@ -698,7 +698,7 @@ registerAction2(class extends ViewAction {
698
698
  super({
699
699
  id: 'variables.collapse',
700
700
  viewId: VARIABLES_VIEW_ID,
701
- title: ( localize(6090, "Collapse All")),
701
+ title: ( localize(6074, "Collapse All")),
702
702
  f1: false,
703
703
  icon: Codicon.collapseAll,
704
704
  menu: {