@codingame/monaco-vscode-debug-service-override 14.0.6 → 15.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 (60) hide show
  1. package/index.js +1 -1
  2. package/package.json +14 -16
  3. package/vscode/src/vs/workbench/contrib/debug/browser/callStackView.d.ts +1 -2
  4. package/vscode/src/vs/workbench/contrib/debug/browser/callStackView.js +22 -24
  5. package/vscode/src/vs/workbench/contrib/debug/browser/debug.contribution.js +133 -133
  6. package/vscode/src/vs/workbench/contrib/debug/browser/debugActionViewItems.js +8 -7
  7. package/vscode/src/vs/workbench/contrib/debug/browser/debugAdapterManager.d.ts +1 -1
  8. package/vscode/src/vs/workbench/contrib/debug/browser/debugAdapterManager.js +13 -13
  9. package/vscode/src/vs/workbench/contrib/debug/browser/debugConfigurationManager.js +6 -6
  10. package/vscode/src/vs/workbench/contrib/debug/browser/debugConsoleQuickAccess.d.ts +1 -1
  11. package/vscode/src/vs/workbench/contrib/debug/browser/debugConsoleQuickAccess.js +2 -2
  12. package/vscode/src/vs/workbench/contrib/debug/browser/debugEditorActions.js +27 -27
  13. package/vscode/src/vs/workbench/contrib/debug/browser/debugMemory.d.ts +2 -1
  14. package/vscode/src/vs/workbench/contrib/debug/browser/debugMemory.js +5 -4
  15. package/vscode/src/vs/workbench/contrib/debug/browser/debugQuickAccess.d.ts +1 -1
  16. package/vscode/src/vs/workbench/contrib/debug/browser/debugQuickAccess.js +23 -16
  17. package/vscode/src/vs/workbench/contrib/debug/browser/debugService.js +24 -24
  18. package/vscode/src/vs/workbench/contrib/debug/browser/debugSession.d.ts +1 -1
  19. package/vscode/src/vs/workbench/contrib/debug/browser/debugSession.js +44 -44
  20. package/vscode/src/vs/workbench/contrib/debug/browser/debugStatus.js +3 -3
  21. package/vscode/src/vs/workbench/contrib/debug/browser/debugTaskRunner.js +17 -17
  22. package/vscode/src/vs/workbench/contrib/debug/browser/debugToolBar.d.ts +2 -1
  23. package/vscode/src/vs/workbench/contrib/debug/browser/debugToolBar.js +14 -10
  24. package/vscode/src/vs/workbench/contrib/debug/browser/debugViewlet.d.ts +1 -1
  25. package/vscode/src/vs/workbench/contrib/debug/browser/debugViewlet.js +7 -7
  26. package/vscode/src/vs/workbench/contrib/debug/browser/disassemblyView.d.ts +1 -1
  27. package/vscode/src/vs/workbench/contrib/debug/browser/disassemblyView.js +12 -12
  28. package/vscode/src/vs/workbench/contrib/debug/browser/loadedScriptsView.d.ts +1 -2
  29. package/vscode/src/vs/workbench/contrib/debug/browser/loadedScriptsView.js +11 -13
  30. package/vscode/src/vs/workbench/contrib/debug/browser/rawDebugSession.js +5 -5
  31. package/vscode/src/vs/workbench/contrib/debug/browser/repl.d.ts +6 -7
  32. package/vscode/src/vs/workbench/contrib/debug/browser/repl.js +36 -45
  33. package/vscode/src/vs/workbench/contrib/debug/browser/replAccessibilityHelp.js +8 -8
  34. package/vscode/src/vs/workbench/contrib/debug/browser/replViewer.js +6 -6
  35. package/vscode/src/vs/workbench/contrib/debug/browser/runAndDebugAccessibilityHelp.js +16 -16
  36. package/vscode/src/vs/workbench/contrib/debug/browser/statusbarColorProvider.js +4 -4
  37. package/vscode/src/vs/workbench/contrib/debug/browser/watchExpressionsView.d.ts +1 -2
  38. package/vscode/src/vs/workbench/contrib/debug/browser/watchExpressionsView.js +52 -18
  39. package/vscode/src/vs/workbench/contrib/debug/browser/welcomeView.d.ts +1 -2
  40. package/vscode/src/vs/workbench/contrib/debug/browser/welcomeView.js +10 -12
  41. package/vscode/src/vs/workbench/contrib/debug/common/debugContentProvider.d.ts +5 -4
  42. package/vscode/src/vs/workbench/contrib/debug/common/debugContentProvider.js +7 -7
  43. package/vscode/src/vs/workbench/contrib/debug/common/debugLifecycle.js +3 -3
  44. package/vscode/src/vs/workbench/contrib/debug/common/debugSchemas.js +44 -44
  45. package/vscode/src/vs/workbench/contrib/debug/common/debugStorage.js +2 -7
  46. package/vscode/src/vs/workbench/contrib/debug/common/debugVisualizers.js +1 -1
  47. package/vscode/src/vs/workbench/contrib/debug/common/debugger.d.ts +1 -1
  48. package/vscode/src/vs/workbench/contrib/debug/common/debugger.js +12 -12
  49. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariableCommands.js +2 -2
  50. package/vscode/src/vs/workbench/contrib/debug/browser/debugEditorContribution.d.ts +0 -64
  51. package/vscode/src/vs/workbench/contrib/debug/browser/debugEditorContribution.js +0 -758
  52. package/vscode/src/vs/workbench/contrib/debug/browser/debugHover.d.ts +0 -65
  53. package/vscode/src/vs/workbench/contrib/debug/browser/debugHover.js +0 -419
  54. package/vscode/src/vs/workbench/contrib/debug/browser/exceptionWidget.d.ts +0 -18
  55. package/vscode/src/vs/workbench/contrib/debug/browser/exceptionWidget.js +0 -116
  56. package/vscode/src/vs/workbench/contrib/debug/browser/media/exceptionWidget.css.js +0 -6
  57. package/vscode/src/vs/workbench/contrib/debug/browser/variablesView.d.ts +0 -79
  58. package/vscode/src/vs/workbench/contrib/debug/browser/variablesView.js +0 -730
  59. package/vscode/src/vs/workbench/contrib/debug/common/debugContext.d.ts +0 -6
  60. package/vscode/src/vs/workbench/contrib/debug/common/debugContext.js +0 -17
@@ -4,10 +4,12 @@ import { ListDragOverEffectPosition, ListDragOverEffectType } from '@codingame/m
4
4
  import { ElementsDragAndDropData, ListViewTargetSector } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/ui/list/listView';
5
5
  import { RunOnceScheduler } from '@codingame/monaco-vscode-api/vscode/vs/base/common/async';
6
6
  import { Codicon } from '@codingame/monaco-vscode-api/vscode/vs/base/common/codicons';
7
+ import { KeyMod, KeyCode } from '@codingame/monaco-vscode-api/vscode/vs/base/common/keyCodes';
7
8
  import { localize } from '@codingame/monaco-vscode-api/vscode/vs/nls';
8
9
  import { getFlatContextMenuActions, getContextMenuActions } from '@codingame/monaco-vscode-api/vscode/vs/platform/actions/browser/menuEntryActionViewItem';
9
10
  import { MenuId, registerAction2, Action2 } from '@codingame/monaco-vscode-api/vscode/vs/platform/actions/common/actions';
10
11
  import { IMenuService } from '@codingame/monaco-vscode-api/vscode/vs/platform/actions/common/actions.service';
12
+ import { IClipboardService } from '@codingame/monaco-vscode-api/vscode/vs/platform/clipboard/common/clipboardService.service';
11
13
  import { IConfigurationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service';
12
14
  import { ContextKeyExpr } from '@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey';
13
15
  import { IContextKeyService } from '@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey.service';
@@ -15,19 +17,21 @@ import { IContextMenuService, IContextViewService } from '@codingame/monaco-vsco
15
17
  import { IHoverService } from '@codingame/monaco-vscode-api/vscode/vs/platform/hover/browser/hover.service';
16
18
  import { IInstantiationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation';
17
19
  import { IKeybindingService } from '@codingame/monaco-vscode-api/vscode/vs/platform/keybinding/common/keybinding.service';
20
+ import { KeybindingWeight } from '@codingame/monaco-vscode-api/vscode/vs/platform/keybinding/common/keybindingsRegistry';
18
21
  import { WorkbenchAsyncDataTree } from '@codingame/monaco-vscode-api/vscode/vs/platform/list/browser/listService';
19
22
  import { IOpenerService } from '@codingame/monaco-vscode-api/vscode/vs/platform/opener/common/opener.service';
20
- import { ITelemetryService } from '@codingame/monaco-vscode-api/vscode/vs/platform/telemetry/common/telemetry.service';
21
23
  import { IThemeService } from '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/themeService.service';
22
24
  import { ViewPane, ViewAction } from '@codingame/monaco-vscode-65619f8f-0eab-5d8b-855a-43b6353fe527-common/vscode/vs/workbench/browser/parts/views/viewPane';
25
+ import { FocusedViewContext } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/contextkeys';
23
26
  import { IViewDescriptorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/views.service';
24
- 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 '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/debug/common/debug';
27
+ import { CONTEXT_WATCH_EXPRESSIONS_EXIST, CONTEXT_VARIABLE_IS_READONLY, CONTEXT_WATCH_ITEM_TYPE, CONTEXT_WATCH_EXPRESSIONS_FOCUSED, CONTEXT_CAN_VIEW_MEMORY, WATCH_VIEW_ID, CONTEXT_EXPRESSION_SELECTED } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/debug/common/debug';
25
28
  import { IDebugService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/debug/common/debug.service';
26
29
  import { Expression, Variable, VisualizedExpression } from '@codingame/monaco-vscode-88aa9a78-75f5-5aaa-89e9-bbdd580b3b5c-common/vscode/vs/workbench/contrib/debug/common/debugModel';
27
30
  import { renderViewTree, expressionAndScopeLabelProvider, AbstractExpressionDataSource, AbstractExpressionsRenderer } from '@codingame/monaco-vscode-88aa9a78-75f5-5aaa-89e9-bbdd580b3b5c-common/vscode/vs/workbench/contrib/debug/browser/baseDebugView';
31
+ import { COPY_WATCH_EXPRESSION_COMMAND_ID } from '@codingame/monaco-vscode-88aa9a78-75f5-5aaa-89e9-bbdd580b3b5c-common/vscode/vs/workbench/contrib/debug/browser/debugCommands';
28
32
  import { DebugExpressionRenderer } from '@codingame/monaco-vscode-88aa9a78-75f5-5aaa-89e9-bbdd580b3b5c-common/vscode/vs/workbench/contrib/debug/browser/debugExpressionRenderer';
29
- import { watchExpressionsAdd, watchExpressionsRemoveAll } from '@codingame/monaco-vscode-fc42f049-7883-579d-bb0b-2aa1010a19a8-common/vscode/vs/workbench/contrib/debug/browser/debugIcons';
30
- import { VariablesRenderer, VisualizedVariableRenderer } from './variablesView.js';
33
+ import { watchExpressionsAdd, watchExpressionsRemoveAll } from '@codingame/monaco-vscode-1bb39316-6fbf-572e-ab6a-818a2496c14f-common/vscode/vs/workbench/contrib/debug/browser/debugIcons';
34
+ import { VariablesRenderer, VisualizedVariableRenderer } from '@codingame/monaco-vscode-88aa9a78-75f5-5aaa-89e9-bbdd580b3b5c-common/vscode/vs/workbench/contrib/debug/browser/variablesView';
31
35
 
32
36
  var WatchExpressionsRenderer_1;
33
37
  const MAX_VALUE_RENDER_LENGTH_IN_VIEWLET = 1024;
@@ -37,8 +41,8 @@ let WatchExpressionsView = class WatchExpressionsView extends ViewPane {
37
41
  get treeSelection() {
38
42
  return this.tree.getSelection();
39
43
  }
40
- constructor(options, contextMenuService, debugService, keybindingService, instantiationService, viewDescriptorService, configurationService, contextKeyService, openerService, themeService, telemetryService, hoverService, menuService) {
41
- super(options, keybindingService, contextMenuService, configurationService, contextKeyService, viewDescriptorService, instantiationService, openerService, themeService, telemetryService, hoverService);
44
+ constructor(options, contextMenuService, debugService, keybindingService, instantiationService, viewDescriptorService, configurationService, contextKeyService, openerService, themeService, hoverService, menuService) {
45
+ super(options, keybindingService, contextMenuService, configurationService, contextKeyService, viewDescriptorService, instantiationService, openerService, themeService, hoverService);
42
46
  this.debugService = debugService;
43
47
  this.needsRefresh = false;
44
48
  this.menu = menuService.createMenu(MenuId.DebugWatchContext, contextKeyService);
@@ -190,9 +194,8 @@ WatchExpressionsView = ( __decorate([
190
194
  ( __param(7, IContextKeyService)),
191
195
  ( __param(8, IOpenerService)),
192
196
  ( __param(9, IThemeService)),
193
- ( __param(10, ITelemetryService)),
194
- ( __param(11, IHoverService)),
195
- ( __param(12, IMenuService))
197
+ ( __param(10, IHoverService)),
198
+ ( __param(11, IMenuService))
196
199
  ], WatchExpressionsView));
197
200
  class WatchExpressionsDelegate {
198
201
  getHeight(_element) {
@@ -286,7 +289,7 @@ let WatchExpressionsRenderer = class WatchExpressionsRenderer extends AbstractEx
286
289
  if (settingValue) {
287
290
  return {
288
291
  initialValue: expression.value,
289
- ariaLabel: ( localize(5649, "Type new value")),
292
+ ariaLabel: ( localize(5736, "Type new value")),
290
293
  onFinish: async (value, success) => {
291
294
  if (success && value) {
292
295
  const focusedFrame = this.debugService.getViewModel().focusedStackFrame;
@@ -300,8 +303,8 @@ let WatchExpressionsRenderer = class WatchExpressionsRenderer extends AbstractEx
300
303
  }
301
304
  return {
302
305
  initialValue: expression.name ? expression.name : '',
303
- ariaLabel: ( localize(5650, "Type watch expression")),
304
- placeholder: ( localize(5651, "Expression to watch")),
306
+ ariaLabel: ( localize(5737, "Type watch expression")),
307
+ placeholder: ( localize(5738, "Expression to watch")),
305
308
  onFinish: (value, success) => {
306
309
  if (success && value) {
307
310
  this.debugService.renameWatchExpression(expression.getId(), value);
@@ -341,13 +344,13 @@ function getContextForWatchExpressionMenu(parentContext, expression) {
341
344
  }
342
345
  class WatchExpressionsAccessibilityProvider {
343
346
  getWidgetAriaLabel() {
344
- return localize(5652, "Debug Watch Expressions");
347
+ return localize(5739, "Debug Watch Expressions");
345
348
  }
346
349
  getAriaLabel(element) {
347
350
  if (element instanceof Expression) {
348
- return localize(5653, "{0}, value {1}", element.name, element.value);
351
+ return localize(5740, "{0}, value {1}", element.name, element.value);
349
352
  }
350
- return localize(5654, "{0}, value {1}", element.name, element.value);
353
+ return localize(5741, "{0}, value {1}", element.name, element.value);
351
354
  }
352
355
  }
353
356
  class WatchExpressionsDragAndDrop {
@@ -428,7 +431,7 @@ registerAction2(class Collapse extends ViewAction {
428
431
  super({
429
432
  id: 'watch.collapse',
430
433
  viewId: WATCH_VIEW_ID,
431
- title: ( localize(5655, "Collapse All")),
434
+ title: ( localize(5742, "Collapse All")),
432
435
  f1: false,
433
436
  icon: Codicon.collapseAll,
434
437
  precondition: CONTEXT_WATCH_EXPRESSIONS_EXIST,
@@ -445,7 +448,7 @@ registerAction2(class Collapse extends ViewAction {
445
448
  }
446
449
  });
447
450
  const ADD_WATCH_ID = 'workbench.debug.viewlet.action.addWatchExpression';
448
- const ADD_WATCH_LABEL = ( localize(5656, "Add Expression"));
451
+ const ADD_WATCH_LABEL = ( localize(5743, "Add Expression"));
449
452
  registerAction2(class AddWatchExpressionAction extends Action2 {
450
453
  constructor() {
451
454
  super({
@@ -466,7 +469,7 @@ registerAction2(class AddWatchExpressionAction extends Action2 {
466
469
  }
467
470
  });
468
471
  const REMOVE_WATCH_EXPRESSIONS_COMMAND_ID = 'workbench.debug.viewlet.action.removeAllWatchExpressions';
469
- const REMOVE_WATCH_EXPRESSIONS_LABEL = ( localize(5657, "Remove All Expressions"));
472
+ const REMOVE_WATCH_EXPRESSIONS_LABEL = ( localize(5744, "Remove All Expressions"));
470
473
  registerAction2(class RemoveAllWatchExpressionsAction extends Action2 {
471
474
  constructor() {
472
475
  super({
@@ -488,5 +491,36 @@ registerAction2(class RemoveAllWatchExpressionsAction extends Action2 {
488
491
  debugService.removeWatchExpressions();
489
492
  }
490
493
  });
494
+ registerAction2(class CopyExpression extends ViewAction {
495
+ constructor() {
496
+ super({
497
+ id: COPY_WATCH_EXPRESSION_COMMAND_ID,
498
+ title: ( localize(5745, "Copy Expression")),
499
+ f1: false,
500
+ viewId: WATCH_VIEW_ID,
501
+ precondition: CONTEXT_WATCH_EXPRESSIONS_EXIST,
502
+ keybinding: {
503
+ primary: KeyMod.CtrlCmd | KeyMod.Alt | KeyCode.KeyC,
504
+ weight: KeybindingWeight.WorkbenchContrib,
505
+ when: ( ContextKeyExpr.and(( FocusedViewContext.isEqualTo(WATCH_VIEW_ID)), ( CONTEXT_EXPRESSION_SELECTED.negate()))),
506
+ },
507
+ menu: {
508
+ id: MenuId.DebugWatchContext,
509
+ order: 20,
510
+ group: '3_modification',
511
+ when: ( CONTEXT_WATCH_ITEM_TYPE.isEqualTo('expression'))
512
+ }
513
+ });
514
+ }
515
+ runInView(accessor, view, value) {
516
+ const clipboardService = accessor.get(IClipboardService);
517
+ if (!value) {
518
+ value = view.treeSelection.at(-1);
519
+ }
520
+ if (value) {
521
+ clipboardService.writeText(value.name);
522
+ }
523
+ }
524
+ });
491
525
 
492
526
  export { ADD_WATCH_ID, ADD_WATCH_LABEL, REMOVE_WATCH_EXPRESSIONS_COMMAND_ID, REMOVE_WATCH_EXPRESSIONS_LABEL, WatchExpressionsRenderer, WatchExpressionsView };
@@ -7,7 +7,6 @@ import { IInstantiationService } from "@codingame/monaco-vscode-api/vscode/vs/pl
7
7
  import { IKeybindingService } from "@codingame/monaco-vscode-api/vscode/vs/platform/keybinding/common/keybinding.service";
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
- import { ITelemetryService } from "@codingame/monaco-vscode-api/vscode/vs/platform/telemetry/common/telemetry.service";
11
10
  import { IThemeService } from "@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/themeService.service";
12
11
  import { ViewPane } from "@codingame/monaco-vscode-65619f8f-0eab-5d8b-855a-43b6353fe527-common/vscode/vs/workbench/browser/parts/views/viewPane";
13
12
  import { IViewletViewOptions } from "@codingame/monaco-vscode-55ed5668-e8ca-5335-a587-790bcf1200c0-common/vscode/vs/workbench/browser/parts/views/viewsViewlet";
@@ -21,6 +20,6 @@ export declare class WelcomeView extends ViewPane {
21
20
  static readonly LABEL: ILocalizedString;
22
21
  private debugStartLanguageContext;
23
22
  private debuggerInterestedContext;
24
- constructor(options: IViewletViewOptions, themeService: IThemeService, keybindingService: IKeybindingService, contextMenuService: IContextMenuService, configurationService: IConfigurationService, contextKeyService: IContextKeyService, debugService: IDebugService, editorService: IEditorService, instantiationService: IInstantiationService, viewDescriptorService: IViewDescriptorService, openerService: IOpenerService, storageSevice: IStorageService, telemetryService: ITelemetryService, hoverService: IHoverService);
23
+ constructor(options: IViewletViewOptions, themeService: IThemeService, keybindingService: IKeybindingService, contextMenuService: IContextMenuService, configurationService: IConfigurationService, contextKeyService: IContextKeyService, debugService: IDebugService, editorService: IEditorService, instantiationService: IInstantiationService, viewDescriptorService: IViewDescriptorService, openerService: IOpenerService, storageSevice: IStorageService, hoverService: IHoverService);
25
24
  shouldShowWelcome(): boolean;
26
25
  }
@@ -15,9 +15,8 @@ import { IOpenerService } from '@codingame/monaco-vscode-api/vscode/vs/platform/
15
15
  import { Registry } from '@codingame/monaco-vscode-api/vscode/vs/platform/registry/common/platform';
16
16
  import { StorageScope, StorageTarget } from '@codingame/monaco-vscode-api/vscode/vs/platform/storage/common/storage';
17
17
  import { IStorageService } from '@codingame/monaco-vscode-api/vscode/vs/platform/storage/common/storage.service';
18
- import { ITelemetryService } from '@codingame/monaco-vscode-api/vscode/vs/platform/telemetry/common/telemetry.service';
19
18
  import { IThemeService } from '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/themeService.service';
20
- import { OpenFileFolderAction, OpenFileAction, OpenFolderAction } from '@codingame/monaco-vscode-eea37658-2307-56a5-8ed0-b2752c7b7a50-common/vscode/vs/workbench/browser/actions/workspaceActions';
19
+ import { OpenFileFolderAction, OpenFileAction, OpenFolderAction } from '@codingame/monaco-vscode-a4c2011e-8775-52bd-abf0-4a3c07a9696b-common/vscode/vs/workbench/browser/actions/workspaceActions';
21
20
  import { ViewPane } from '@codingame/monaco-vscode-65619f8f-0eab-5d8b-855a-43b6353fe527-common/vscode/vs/workbench/browser/parts/views/viewPane';
22
21
  import { WorkbenchStateContext } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/contextkeys';
23
22
  import { Extensions, ViewContentGroups } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/views';
@@ -32,9 +31,9 @@ const CONTEXT_DEBUG_START_LANGUAGE = ( new RawContextKey(debugStartLanguageKey,
32
31
  const CONTEXT_DEBUGGER_INTERESTED_IN_ACTIVE_EDITOR = ( new RawContextKey('debuggerInterestedInActiveEditor', false));
33
32
  let WelcomeView = class WelcomeView extends ViewPane {
34
33
  static { this.ID = 'workbench.debug.welcome'; }
35
- static { this.LABEL = ( localize2(5658, "Run")); }
36
- constructor(options, themeService, keybindingService, contextMenuService, configurationService, contextKeyService, debugService, editorService, instantiationService, viewDescriptorService, openerService, storageSevice, telemetryService, hoverService) {
37
- super(options, keybindingService, contextMenuService, configurationService, contextKeyService, viewDescriptorService, instantiationService, openerService, themeService, telemetryService, hoverService);
34
+ static { this.LABEL = ( localize2(5746, "Run")); }
35
+ constructor(options, themeService, keybindingService, contextMenuService, configurationService, contextKeyService, debugService, editorService, instantiationService, viewDescriptorService, openerService, storageSevice, hoverService) {
36
+ super(options, keybindingService, contextMenuService, configurationService, contextKeyService, viewDescriptorService, instantiationService, openerService, themeService, hoverService);
38
37
  this.debugService = debugService;
39
38
  this.editorService = editorService;
40
39
  this.debugStartLanguageContext = CONTEXT_DEBUG_START_LANGUAGE.bindTo(contextKeyService);
@@ -97,13 +96,12 @@ WelcomeView = ( __decorate([
97
96
  ( __param(9, IViewDescriptorService)),
98
97
  ( __param(10, IOpenerService)),
99
98
  ( __param(11, IStorageService)),
100
- ( __param(12, ITelemetryService)),
101
- ( __param(13, IHoverService))
99
+ ( __param(12, IHoverService))
102
100
  ], WelcomeView));
103
101
  const viewsRegistry = ( Registry.as(Extensions.ViewsRegistry));
104
102
  viewsRegistry.registerViewWelcomeContent(WelcomeView.ID, {
105
103
  content: ( localize(
106
- 5659,
104
+ 5747,
107
105
  "[Open a file](command:{0}) which can be debugged or run.",
108
106
  (isMacintosh && !isWeb) ? OpenFileFolderAction.ID : OpenFileAction.ID
109
107
  )),
@@ -112,14 +110,14 @@ viewsRegistry.registerViewWelcomeContent(WelcomeView.ID, {
112
110
  });
113
111
  let debugKeybindingLabel = '';
114
112
  viewsRegistry.registerViewWelcomeContent(WelcomeView.ID, {
115
- content: `[${( localize(5660, "Run and Debug"))}${debugKeybindingLabel}](command:${DEBUG_START_COMMAND_ID})`,
113
+ content: `[${( localize(5748, "Run and Debug"))}${debugKeybindingLabel}](command:${DEBUG_START_COMMAND_ID})`,
116
114
  when: CONTEXT_DEBUGGERS_AVAILABLE,
117
115
  group: ViewContentGroups.Debug,
118
116
  order: 1
119
117
  });
120
118
  viewsRegistry.registerViewWelcomeContent(WelcomeView.ID, {
121
119
  content: ( localize(
122
- 5661,
120
+ 5749,
123
121
  "To customize Run and Debug [create a launch.json file](command:{0}).",
124
122
  `${DEBUG_CONFIGURE_COMMAND_ID}?${encodeURIComponent(JSON.stringify([{ addNew: true }]))}`
125
123
  )),
@@ -128,7 +126,7 @@ viewsRegistry.registerViewWelcomeContent(WelcomeView.ID, {
128
126
  });
129
127
  viewsRegistry.registerViewWelcomeContent(WelcomeView.ID, {
130
128
  content: ( localize(
131
- 5662,
129
+ 5750,
132
130
  "To customize Run and Debug, [open a folder](command:{0}) and create a launch.json file.",
133
131
  (isMacintosh && !isWeb) ? OpenFileFolderAction.ID : OpenFolderAction.ID
134
132
  )),
@@ -137,7 +135,7 @@ viewsRegistry.registerViewWelcomeContent(WelcomeView.ID, {
137
135
  });
138
136
  viewsRegistry.registerViewWelcomeContent(WelcomeView.ID, {
139
137
  content: ( localize(
140
- 5663,
138
+ 5751,
141
139
  "All debug extensions are disabled. Enable a debug extension or install a new one from the Marketplace."
142
140
  )),
143
141
  when: ( CONTEXT_DEBUG_EXTENSION_AVAILABLE.toNegated()),
@@ -1,11 +1,12 @@
1
1
  import { URI as uri } from "@codingame/monaco-vscode-api/vscode/vs/base/common/uri";
2
2
  import { ITextModel } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/model";
3
- import { IModelService } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/services/model";
4
- import { ILanguageService } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/languages/language";
5
- import { ITextModelService, ITextModelContentProvider } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/services/resolverService";
3
+ import { IModelService } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/services/model.service";
4
+ import { ILanguageService } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/languages/language.service";
5
+ import { ITextModelContentProvider } from "@codingame/monaco-vscode-model-service-override/vscode/vs/editor/common/services/resolverService";
6
+ import { ITextModelService } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/services/resolverService.service";
6
7
  import { IWorkbenchContribution } from "@codingame/monaco-vscode-api/vscode/vs/workbench/common/contributions";
7
8
  import { IDebugService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/debug/common/debug.service";
8
- import { IEditorWorkerService } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/services/editorWorker";
9
+ import { IEditorWorkerService } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/services/editorWorker.service";
9
10
  import { Disposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle";
10
11
  export declare class DebugContentProvider extends Disposable implements IWorkbenchContribution, ITextModelContentProvider {
11
12
  private readonly debugService;
@@ -2,13 +2,13 @@
2
2
  import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib/tslib.es6';
3
3
  import { localize } from '@codingame/monaco-vscode-api/vscode/vs/nls';
4
4
  import { getMimeTypes } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/services/languagesAssociations';
5
- import { IModelService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/services/model';
6
- import { ILanguageService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/languages/language';
7
- import { ITextModelService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/services/resolverService';
5
+ import { IModelService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/services/model.service';
6
+ import { ILanguageService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/languages/language.service';
7
+ import { ITextModelService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/services/resolverService.service';
8
8
  import { DEBUG_SCHEME } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/debug/common/debug';
9
9
  import { IDebugService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/debug/common/debug.service';
10
10
  import { Source } from '@codingame/monaco-vscode-88aa9a78-75f5-5aaa-89e9-bbdd580b3b5c-common/vscode/vs/workbench/contrib/debug/common/debugSource';
11
- import { IEditorWorkerService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/services/editorWorker';
11
+ import { IEditorWorkerService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/services/editorWorker.service';
12
12
  import { EditOperation } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/core/editOperation';
13
13
  import { Range } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/core/range';
14
14
  import { CancellationTokenSource } from '@codingame/monaco-vscode-api/vscode/vs/base/common/cancellation';
@@ -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(5729, "Unable to resolve the resource without a debug session")))));
56
+ return Promise.reject(( new ErrorNoTelemetry(( localize(5817, "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(5730, "Could not load source '{0}': {1}.", resource.path, errMsg))
63
- : ( localize(5731, "Could not load source '{0}'.", resource.path));
62
+ ? ( localize(5818, "Could not load source '{0}': {1}.", resource.path, errMsg))
63
+ : ( localize(5819, "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
- 5732,
34
+ 5820,
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
- 5733,
40
+ 5821,
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(5734, "&&Stop Debugging"))
47
+ primaryButton: ( localize(5822, "&&Stop Debugging"))
48
48
  });
49
49
  return !res.confirmed;
50
50
  }