@codingame/monaco-vscode-debug-service-override 13.1.7 → 14.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.
- package/package.json +16 -17
- package/vscode/src/vs/workbench/contrib/debug/browser/callStackView.js +17 -17
- package/vscode/src/vs/workbench/contrib/debug/browser/debug.contribution.js +121 -114
- package/vscode/src/vs/workbench/contrib/debug/browser/debugActionViewItems.js +6 -6
- package/vscode/src/vs/workbench/contrib/debug/browser/debugAdapterManager.js +13 -13
- package/vscode/src/vs/workbench/contrib/debug/browser/debugConfigurationManager.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/debugConfigurationManager.js +42 -30
- package/vscode/src/vs/workbench/contrib/debug/browser/debugConsoleQuickAccess.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/debugConsoleQuickAccess.js +2 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/debugEditorActions.js +24 -24
- package/vscode/src/vs/workbench/contrib/debug/browser/debugEditorContribution.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/debugHover.js +4 -4
- package/vscode/src/vs/workbench/contrib/debug/browser/debugQuickAccess.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/debugQuickAccess.js +9 -9
- package/vscode/src/vs/workbench/contrib/debug/browser/debugService.js +23 -23
- package/vscode/src/vs/workbench/contrib/debug/browser/debugSession.js +43 -43
- package/vscode/src/vs/workbench/contrib/debug/browser/debugStatus.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/debugTaskRunner.js +18 -18
- package/vscode/src/vs/workbench/contrib/debug/browser/debugToolBar.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/debugToolBar.js +5 -5
- package/vscode/src/vs/workbench/contrib/debug/browser/debugViewlet.d.ts +3 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/debugViewlet.js +11 -9
- package/vscode/src/vs/workbench/contrib/debug/browser/disassemblyView.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/disassemblyView.js +8 -8
- package/vscode/src/vs/workbench/contrib/debug/browser/exceptionWidget.js +4 -4
- package/vscode/src/vs/workbench/contrib/debug/browser/loadedScriptsView.d.ts +11 -11
- package/vscode/src/vs/workbench/contrib/debug/browser/loadedScriptsView.js +41 -36
- package/vscode/src/vs/workbench/contrib/debug/browser/media/debugViewlet.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/rawDebugSession.js +5 -5
- package/vscode/src/vs/workbench/contrib/debug/browser/repl.d.ts +1 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/repl.js +65 -41
- package/vscode/src/vs/workbench/contrib/debug/browser/replAccessibilityHelp.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/replAccessibilityHelp.js +8 -8
- package/vscode/src/vs/workbench/contrib/debug/browser/replAccessibleView.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/replViewer.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/replViewer.js +6 -6
- package/vscode/src/vs/workbench/contrib/debug/browser/runAndDebugAccessibilityHelp.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/runAndDebugAccessibilityHelp.js +16 -16
- package/vscode/src/vs/workbench/contrib/debug/browser/statusbarColorProvider.js +4 -4
- package/vscode/src/vs/workbench/contrib/debug/browser/variablesView.d.ts +4 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/variablesView.js +38 -13
- package/vscode/src/vs/workbench/contrib/debug/browser/watchExpressionsView.d.ts +4 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/watchExpressionsView.js +14 -11
- package/vscode/src/vs/workbench/contrib/debug/browser/welcomeView.js +7 -7
- package/vscode/src/vs/workbench/contrib/debug/common/debugContentProvider.d.ts +2 -1
- package/vscode/src/vs/workbench/contrib/debug/common/debugContentProvider.js +8 -5
- package/vscode/src/vs/workbench/contrib/debug/common/debugLifecycle.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/common/debugSchemas.js +46 -46
- package/vscode/src/vs/workbench/contrib/debug/common/debugger.js +12 -12
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariableCommands.js +2 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/baseDebugView.d.ts +0 -79
- package/vscode/src/vs/workbench/contrib/debug/browser/baseDebugView.js +0 -162
|
@@ -194,7 +194,7 @@ let RawDebugSession = class RawDebugSession {
|
|
|
194
194
|
}
|
|
195
195
|
async start() {
|
|
196
196
|
if (!this.debugAdapter) {
|
|
197
|
-
return Promise.reject(( new Error(( localize(
|
|
197
|
+
return Promise.reject(( new Error(( localize(5584, "No debug adapter, can not start debug session.")))));
|
|
198
198
|
}
|
|
199
199
|
await this.debugAdapter.startSession();
|
|
200
200
|
this.startTime = ( new Date()).getTime();
|
|
@@ -518,10 +518,10 @@ let RawDebugSession = class RawDebugSession {
|
|
|
518
518
|
const { confirmed } = await this.dialogSerivce.confirm({
|
|
519
519
|
type: Severity.Warning,
|
|
520
520
|
message: ( localize(
|
|
521
|
-
|
|
521
|
+
5585,
|
|
522
522
|
"The debugger needs to open a new tab or window for the debuggee but the browser prevented this. You must give permission to continue."
|
|
523
523
|
)),
|
|
524
|
-
primaryButton: ( localize(
|
|
524
|
+
primaryButton: ( localize(5586, "&&Continue"))
|
|
525
525
|
});
|
|
526
526
|
if (confirmed) {
|
|
527
527
|
result = await this.launchVsCode(request.arguments);
|
|
@@ -621,7 +621,7 @@ let RawDebugSession = class RawDebugSession {
|
|
|
621
621
|
completeDispatch(undefined);
|
|
622
622
|
}
|
|
623
623
|
else {
|
|
624
|
-
errorDispatch(( new Error(( localize(
|
|
624
|
+
errorDispatch(( new Error(( localize(5587, "No debugger available found. Can not send '{0}'.", command)))));
|
|
625
625
|
}
|
|
626
626
|
return;
|
|
627
627
|
}
|
|
@@ -654,7 +654,7 @@ let RawDebugSession = class RawDebugSession {
|
|
|
654
654
|
const userMessage = error ? formatPII(error.format, false, error.variables) : errorMessage;
|
|
655
655
|
const url = error?.url;
|
|
656
656
|
if (error && url) {
|
|
657
|
-
const label = error.urlLabel ? error.urlLabel : ( localize(
|
|
657
|
+
const label = error.urlLabel ? error.urlLabel : ( localize(5588, "More Info"));
|
|
658
658
|
const uri = ( URI.parse(url));
|
|
659
659
|
const actionId = uri.scheme === Schemas.command ? 'debug.moreInfo.command' : 'debug.moreInfo';
|
|
660
660
|
return createErrorWithActions(userMessage, [toAction({ id: actionId, label, run: () => this.openerService.open(uri, { allowCommands: true }) })]);
|
|
@@ -48,7 +48,6 @@ export declare class Repl extends FilterViewPane implements IHistoryNavigationWi
|
|
|
48
48
|
private replInput;
|
|
49
49
|
private replInputContainer;
|
|
50
50
|
private bodyContentDimension;
|
|
51
|
-
private replInputLineCount;
|
|
52
51
|
private model;
|
|
53
52
|
private setHistoryNavigationEnablement;
|
|
54
53
|
private scopedInstantiationService;
|
|
@@ -89,7 +88,7 @@ export declare class Repl extends FilterViewPane implements IHistoryNavigationWi
|
|
|
89
88
|
getReplDataSource(): IAsyncDataSource<IDebugSession, IReplElement> | undefined;
|
|
90
89
|
getFocusedElement(): IReplElement | undefined;
|
|
91
90
|
focusTree(): void;
|
|
92
|
-
focus(): void
|
|
91
|
+
focus(): Promise<void>;
|
|
93
92
|
getActionViewItem(action: IAction): IActionViewItem | undefined;
|
|
94
93
|
private get isMultiSessionView();
|
|
95
94
|
private get refreshScheduler();
|
|
@@ -4,7 +4,7 @@ import { $ as $$1, clearNode, Dimension, isActiveElement, append, getWindow, add
|
|
|
4
4
|
import { createStyleSheet } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/domStylesheets';
|
|
5
5
|
import { status } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/ui/aria/aria';
|
|
6
6
|
import { MOUSE_CURSOR_TEXT_CSS_CLASS_NAME } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/ui/mouseCursor/mouseCursor';
|
|
7
|
-
import { RunOnceScheduler } from '@codingame/monaco-vscode-api/vscode/vs/base/common/async';
|
|
7
|
+
import { timeout, RunOnceScheduler } from '@codingame/monaco-vscode-api/vscode/vs/base/common/async';
|
|
8
8
|
import { Codicon } from '@codingame/monaco-vscode-api/vscode/vs/base/common/codicons';
|
|
9
9
|
import { memoize } from '@codingame/monaco-vscode-api/vscode/vs/base/common/decorators';
|
|
10
10
|
import { Emitter } from '@codingame/monaco-vscode-api/vscode/vs/base/common/event';
|
|
@@ -74,6 +74,7 @@ import { IDebugService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/
|
|
|
74
74
|
import { Variable } from '@codingame/monaco-vscode-88aa9a78-75f5-5aaa-89e9-bbdd580b3b5c-common/vscode/vs/workbench/contrib/debug/common/debugModel';
|
|
75
75
|
import { ReplGroup, ReplEvaluationResult } from '@codingame/monaco-vscode-88aa9a78-75f5-5aaa-89e9-bbdd580b3b5c-common/vscode/vs/workbench/contrib/debug/common/replModel';
|
|
76
76
|
import { FocusSessionActionViewItem } from './debugActionViewItems.js';
|
|
77
|
+
import { DEBUG_COMMAND_CATEGORY, FOCUS_REPL_ID } from '@codingame/monaco-vscode-88aa9a78-75f5-5aaa-89e9-bbdd580b3b5c-common/vscode/vs/workbench/contrib/debug/browser/debugCommands';
|
|
77
78
|
import { DebugExpressionRenderer } from '@codingame/monaco-vscode-88aa9a78-75f5-5aaa-89e9-bbdd580b3b5c-common/vscode/vs/workbench/contrib/debug/browser/debugExpressionRenderer';
|
|
78
79
|
import { debugConsoleEvaluationPrompt, debugConsoleClearAll } from '@codingame/monaco-vscode-fc42f049-7883-579d-bb0b-2aa1010a19a8-common/vscode/vs/workbench/contrib/debug/browser/debugIcons';
|
|
79
80
|
import './media/repl.css.js';
|
|
@@ -100,7 +101,7 @@ let Repl = class Repl extends FilterViewPane {
|
|
|
100
101
|
super({
|
|
101
102
|
...options,
|
|
102
103
|
filterOptions: {
|
|
103
|
-
placeholder: ( localize(
|
|
104
|
+
placeholder: ( localize(5589, "Filter (e.g. text, !exclude, \\escape)")),
|
|
104
105
|
text: filterText,
|
|
105
106
|
history: JSON.parse(storageService.get(FILTER_HISTORY_STORAGE_KEY, StorageScope.WORKSPACE, '[]')),
|
|
106
107
|
}
|
|
@@ -115,7 +116,6 @@ let Repl = class Repl extends FilterViewPane {
|
|
|
115
116
|
this.languageFeaturesService = languageFeaturesService;
|
|
116
117
|
this.logService = logService;
|
|
117
118
|
this.previousTreeScrollHeight = 0;
|
|
118
|
-
this.replInputLineCount = 1;
|
|
119
119
|
this.styleChangedWhenInvisible = false;
|
|
120
120
|
this.modelChangeListener = Disposable.None;
|
|
121
121
|
this.findIsOpen = false;
|
|
@@ -137,7 +137,11 @@ let Repl = class Repl extends FilterViewPane {
|
|
|
137
137
|
if (this.debugService.getViewModel().focusedSession) {
|
|
138
138
|
this.onDidFocusSession(this.debugService.getViewModel().focusedSession);
|
|
139
139
|
}
|
|
140
|
-
this._register(this.debugService.getViewModel().onDidFocusSession(
|
|
140
|
+
this._register(this.debugService.getViewModel().onDidFocusSession(session => {
|
|
141
|
+
if (this.isVisible()) {
|
|
142
|
+
this.onDidFocusSession(session);
|
|
143
|
+
}
|
|
144
|
+
}));
|
|
141
145
|
this._register(this.debugService.getViewModel().onDidEvaluateLazyExpression(async (e) => {
|
|
142
146
|
if (e instanceof Variable && this.tree?.hasNode(e)) {
|
|
143
147
|
await this.tree.updateChildren(e, false, true);
|
|
@@ -162,19 +166,24 @@ let Repl = class Repl extends FilterViewPane {
|
|
|
162
166
|
}
|
|
163
167
|
}));
|
|
164
168
|
this._register(this.onDidChangeBodyVisibility(visible => {
|
|
165
|
-
if (visible) {
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
this.
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
169
|
+
if (!visible) {
|
|
170
|
+
return;
|
|
171
|
+
}
|
|
172
|
+
if (!this.model) {
|
|
173
|
+
this.model = this.modelService.getModel(Repl_1.URI) || this.modelService.createModel('', null, Repl_1.URI, true);
|
|
174
|
+
}
|
|
175
|
+
const focusedSession = this.debugService.getViewModel().focusedSession;
|
|
176
|
+
if (this.tree && this.tree.getInput() !== focusedSession) {
|
|
177
|
+
this.onDidFocusSession(focusedSession);
|
|
178
|
+
}
|
|
179
|
+
this.setMode();
|
|
180
|
+
this.replInput.setModel(this.model);
|
|
181
|
+
this.updateInputDecoration();
|
|
182
|
+
this.refreshReplElements(true);
|
|
183
|
+
if (this.styleChangedWhenInvisible) {
|
|
184
|
+
this.styleChangedWhenInvisible = false;
|
|
185
|
+
this.tree?.updateChildren(undefined, true, false);
|
|
186
|
+
this.onDidStyleChange();
|
|
178
187
|
}
|
|
179
188
|
}));
|
|
180
189
|
this._register(this.configurationService.onDidChangeConfiguration(e => {
|
|
@@ -397,9 +406,7 @@ let Repl = class Repl extends FilterViewPane {
|
|
|
397
406
|
revealLastElement(this.tree);
|
|
398
407
|
this.history.add(this.replInput.getValue());
|
|
399
408
|
this.replInput.setValue('');
|
|
400
|
-
|
|
401
|
-
this.replInputLineCount = 1;
|
|
402
|
-
if (shouldRelayout && this.bodyContentDimension) {
|
|
409
|
+
if (this.bodyContentDimension) {
|
|
403
410
|
this.layoutBodyContent(this.bodyContentDimension.height, this.bodyContentDimension.width);
|
|
404
411
|
}
|
|
405
412
|
}
|
|
@@ -463,9 +470,10 @@ let Repl = class Repl extends FilterViewPane {
|
|
|
463
470
|
focusTree() {
|
|
464
471
|
this.tree?.domFocus();
|
|
465
472
|
}
|
|
466
|
-
focus() {
|
|
473
|
+
async focus() {
|
|
467
474
|
super.focus();
|
|
468
|
-
|
|
475
|
+
await timeout(0);
|
|
476
|
+
this.replInput.focus();
|
|
469
477
|
}
|
|
470
478
|
getActionViewItem(action) {
|
|
471
479
|
if (action.id === selectReplCommandId) {
|
|
@@ -502,7 +510,7 @@ let Repl = class Repl extends FilterViewPane {
|
|
|
502
510
|
await autoExpandElements(session.getReplElements());
|
|
503
511
|
}
|
|
504
512
|
const { total, filtered } = this.getFilterStats();
|
|
505
|
-
this.filterWidget.updateBadge(total === filtered || total === 0 ? undefined : ( localize(
|
|
513
|
+
this.filterWidget.updateBadge(total === filtered || total === 0 ? undefined : ( localize(5590, "Showing {0} of {1}", filtered, total)));
|
|
506
514
|
}, Repl_1.REFRESH_DELAY));
|
|
507
515
|
}
|
|
508
516
|
render() {
|
|
@@ -554,6 +562,7 @@ let Repl = class Repl extends FilterViewPane {
|
|
|
554
562
|
filter: this.filter,
|
|
555
563
|
accessibilityProvider: ( new ReplAccessibilityProvider()),
|
|
556
564
|
identityProvider,
|
|
565
|
+
userSelection: true,
|
|
557
566
|
mouseSupport: false,
|
|
558
567
|
findWidgetEnabled: true,
|
|
559
568
|
keyboardNavigationLabelProvider: { getKeyboardNavigationLabel: (e) => ( e.toString(true)) },
|
|
@@ -607,12 +616,13 @@ let Repl = class Repl extends FilterViewPane {
|
|
|
607
616
|
options.acceptSuggestionOnEnter = config.console.acceptSuggestionOnEnter === 'on' ? 'on' : 'off';
|
|
608
617
|
options.ariaLabel = this.getAriaLabel();
|
|
609
618
|
this.replInput = this.scopedInstantiationService.createInstance(CodeEditorWidget, this.replInputContainer, options, getSimpleCodeEditorWidgetOptions());
|
|
619
|
+
let lastContentHeight = -1;
|
|
610
620
|
this._register(this.replInput.onDidChangeModelContent(() => {
|
|
611
621
|
const model = this.replInput.getModel();
|
|
612
622
|
this.setHistoryNavigationEnablement(!!model && model.getValue() === '');
|
|
613
|
-
const
|
|
614
|
-
if (
|
|
615
|
-
|
|
623
|
+
const contentHeight = this.replInput.getContentHeight();
|
|
624
|
+
if (contentHeight !== lastContentHeight) {
|
|
625
|
+
lastContentHeight = contentHeight;
|
|
616
626
|
if (this.bodyContentDimension) {
|
|
617
627
|
this.layoutBodyContent(this.bodyContentDimension.height, this.bodyContentDimension.width);
|
|
618
628
|
}
|
|
@@ -624,17 +634,17 @@ let Repl = class Repl extends FilterViewPane {
|
|
|
624
634
|
this._register(addStandardDisposableListener(this.replInputContainer, EventType.BLUR, () => this.replInputContainer.classList.remove('synthetic-focus')));
|
|
625
635
|
}
|
|
626
636
|
getAriaLabel() {
|
|
627
|
-
let ariaLabel = ( localize(
|
|
637
|
+
let ariaLabel = ( localize(5591, "Debug Console"));
|
|
628
638
|
if (!this.configurationService.getValue(AccessibilityVerbositySettingId.Debug)) {
|
|
629
639
|
return ariaLabel;
|
|
630
640
|
}
|
|
631
641
|
const keybinding = this.keybindingService.lookupKeybinding(AccessibilityCommandId.OpenAccessibilityHelp)?.getAriaLabel();
|
|
632
642
|
if (keybinding) {
|
|
633
|
-
ariaLabel = ( localize(
|
|
643
|
+
ariaLabel = ( localize(5592, "{0}, use ({1}) for accessibility help", ariaLabel, keybinding));
|
|
634
644
|
}
|
|
635
645
|
else {
|
|
636
646
|
ariaLabel = ( localize(
|
|
637
|
-
|
|
647
|
+
5593,
|
|
638
648
|
"{0}, run the command Open Accessibility Help which is currently not triggerable via keybinding.",
|
|
639
649
|
ariaLabel
|
|
640
650
|
));
|
|
@@ -673,7 +683,7 @@ let Repl = class Repl extends FilterViewPane {
|
|
|
673
683
|
},
|
|
674
684
|
renderOptions: {
|
|
675
685
|
after: {
|
|
676
|
-
contentText: ( localize(
|
|
686
|
+
contentText: ( localize(5594, "Please start a debug session to evaluate expressions")),
|
|
677
687
|
color: transparentForeground ? ( transparentForeground.toString()) : undefined
|
|
678
688
|
}
|
|
679
689
|
}
|
|
@@ -786,7 +796,7 @@ class AcceptReplInputAction extends EditorAction {
|
|
|
786
796
|
constructor() {
|
|
787
797
|
super({
|
|
788
798
|
id: 'repl.action.acceptInput',
|
|
789
|
-
label: ( localize2(
|
|
799
|
+
label: ( localize2(5595, "Debug Console: Accept Input")),
|
|
790
800
|
precondition: CONTEXT_IN_DEBUG_REPL,
|
|
791
801
|
kbOpts: {
|
|
792
802
|
kbExpr: EditorContextKeys.textInputFocus,
|
|
@@ -806,7 +816,7 @@ class FilterReplAction extends ViewAction {
|
|
|
806
816
|
super({
|
|
807
817
|
viewId: REPL_VIEW_ID,
|
|
808
818
|
id: 'repl.action.filter',
|
|
809
|
-
title: ( localize(
|
|
819
|
+
title: ( localize(5596, "Debug Console: Focus Filter")),
|
|
810
820
|
precondition: CONTEXT_IN_DEBUG_REPL,
|
|
811
821
|
keybinding: [{
|
|
812
822
|
when: EditorContextKeys.textInputFocus,
|
|
@@ -824,7 +834,7 @@ class FindReplAction extends ViewAction {
|
|
|
824
834
|
super({
|
|
825
835
|
viewId: REPL_VIEW_ID,
|
|
826
836
|
id: 'repl.action.find',
|
|
827
|
-
title: ( localize(
|
|
837
|
+
title: ( localize(5597, "Debug Console: Focus Find")),
|
|
828
838
|
precondition: CONTEXT_IN_DEBUG_REPL,
|
|
829
839
|
keybinding: [{
|
|
830
840
|
when: ( ContextKeyExpr.or(CONTEXT_IN_DEBUG_REPL, ( ContextKeyExpr.equals('focusedView', 'workbench.panel.repl.view')))),
|
|
@@ -852,7 +862,7 @@ class ReplCopyAllAction extends EditorAction {
|
|
|
852
862
|
constructor() {
|
|
853
863
|
super({
|
|
854
864
|
id: 'repl.action.copyAll',
|
|
855
|
-
label: ( localize(
|
|
865
|
+
label: ( localize(5598, "Debug: Console Copy All")),
|
|
856
866
|
alias: 'Debug Console Copy All',
|
|
857
867
|
precondition: CONTEXT_IN_DEBUG_REPL,
|
|
858
868
|
});
|
|
@@ -889,7 +899,7 @@ registerAction2(class extends ViewAction {
|
|
|
889
899
|
super({
|
|
890
900
|
id: selectReplCommandId,
|
|
891
901
|
viewId: REPL_VIEW_ID,
|
|
892
|
-
title: ( localize(
|
|
902
|
+
title: ( localize(5599, "Select Debug Console")),
|
|
893
903
|
f1: false,
|
|
894
904
|
menu: {
|
|
895
905
|
id: MenuId.ViewTitle,
|
|
@@ -918,9 +928,9 @@ registerAction2(class extends ViewAction {
|
|
|
918
928
|
super({
|
|
919
929
|
id: 'workbench.debug.panel.action.clearReplAction',
|
|
920
930
|
viewId: REPL_VIEW_ID,
|
|
921
|
-
title: ( localize2(
|
|
931
|
+
title: ( localize2(5600, 'Clear Console')),
|
|
922
932
|
metadata: {
|
|
923
|
-
description: ( localize2(
|
|
933
|
+
description: ( localize2(5601, 'Clears all program output from your debug REPL'))
|
|
924
934
|
},
|
|
925
935
|
f1: true,
|
|
926
936
|
icon: debugConsoleClearAll,
|
|
@@ -952,7 +962,7 @@ registerAction2(class extends ViewAction {
|
|
|
952
962
|
constructor() {
|
|
953
963
|
super({
|
|
954
964
|
id: 'debug.collapseRepl',
|
|
955
|
-
title: ( localize(
|
|
965
|
+
title: ( localize(5602, "Collapse All")),
|
|
956
966
|
viewId: REPL_VIEW_ID,
|
|
957
967
|
menu: {
|
|
958
968
|
id: MenuId.DebugConsoleContext,
|
|
@@ -970,7 +980,7 @@ registerAction2(class extends ViewAction {
|
|
|
970
980
|
constructor() {
|
|
971
981
|
super({
|
|
972
982
|
id: 'debug.replPaste',
|
|
973
|
-
title: ( localize(
|
|
983
|
+
title: ( localize(5603, "Paste")),
|
|
974
984
|
viewId: REPL_VIEW_ID,
|
|
975
985
|
precondition: ( CONTEXT_DEBUG_STATE.notEqualsTo(getStateLabel(State.Inactive))),
|
|
976
986
|
menu: {
|
|
@@ -1000,7 +1010,7 @@ registerAction2(class extends ViewAction {
|
|
|
1000
1010
|
constructor() {
|
|
1001
1011
|
super({
|
|
1002
1012
|
id: 'workbench.debug.action.copyAll',
|
|
1003
|
-
title: ( localize(
|
|
1013
|
+
title: ( localize(5604, "Copy All")),
|
|
1004
1014
|
viewId: REPL_VIEW_ID,
|
|
1005
1015
|
menu: {
|
|
1006
1016
|
id: MenuId.DebugConsoleContext,
|
|
@@ -1018,7 +1028,7 @@ registerAction2(class extends Action2 {
|
|
|
1018
1028
|
constructor() {
|
|
1019
1029
|
super({
|
|
1020
1030
|
id: 'debug.replCopy',
|
|
1021
|
-
title: ( localize(
|
|
1031
|
+
title: ( localize(5605, "Copy")),
|
|
1022
1032
|
menu: {
|
|
1023
1033
|
id: MenuId.DebugConsoleContext,
|
|
1024
1034
|
group: '2_cutcopypaste',
|
|
@@ -1056,5 +1066,19 @@ registerAction2(class extends Action2 {
|
|
|
1056
1066
|
}
|
|
1057
1067
|
}
|
|
1058
1068
|
});
|
|
1069
|
+
registerAction2(class extends Action2 {
|
|
1070
|
+
constructor() {
|
|
1071
|
+
super({
|
|
1072
|
+
id: FOCUS_REPL_ID,
|
|
1073
|
+
category: DEBUG_COMMAND_CATEGORY,
|
|
1074
|
+
title: ( localize2(5606, "Focus on Debug Console View")),
|
|
1075
|
+
});
|
|
1076
|
+
}
|
|
1077
|
+
async run(accessor) {
|
|
1078
|
+
const viewsService = accessor.get(IViewsService);
|
|
1079
|
+
const repl = await viewsService.openView(REPL_VIEW_ID);
|
|
1080
|
+
await repl?.focus();
|
|
1081
|
+
}
|
|
1082
|
+
});
|
|
1059
1083
|
|
|
1060
1084
|
export { Repl, getReplView };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { ServicesAccessor } from "@codingame/monaco-vscode-api/vscode/vs/editor/browser/editorExtensions";
|
|
2
2
|
import { AccessibleViewProviderId, AccessibleViewType, IAccessibleViewContentProvider } from "@codingame/monaco-vscode-api/vscode/vs/platform/accessibility/browser/accessibleView";
|
|
3
|
-
import {
|
|
3
|
+
import { IAccessibleViewImplementation } from "@codingame/monaco-vscode-api/vscode/vs/platform/accessibility/browser/accessibleViewRegistry";
|
|
4
4
|
import { Disposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle";
|
|
5
5
|
import { Repl } from "./repl.js";
|
|
6
6
|
import { AccessibilityVerbositySettingId } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration";
|
|
7
|
-
export declare class ReplAccessibilityHelp implements
|
|
7
|
+
export declare class ReplAccessibilityHelp implements IAccessibleViewImplementation {
|
|
8
8
|
priority: number;
|
|
9
9
|
name: string;
|
|
10
10
|
when: import("@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey").ContextKeyExpression;
|
|
@@ -42,41 +42,41 @@ class ReplAccessibilityHelpProvider extends Disposable {
|
|
|
42
42
|
provideContent() {
|
|
43
43
|
return [
|
|
44
44
|
( localize(
|
|
45
|
-
|
|
45
|
+
5607,
|
|
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
|
-
|
|
50
|
+
5608,
|
|
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
|
-
|
|
55
|
+
5609,
|
|
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
|
-
|
|
60
|
+
5610,
|
|
61
61
|
"The debug console output history can be navigated with the up and down arrow keys."
|
|
62
62
|
)),
|
|
63
63
|
( localize(
|
|
64
|
-
|
|
64
|
+
5611,
|
|
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
|
-
|
|
69
|
+
5612,
|
|
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
|
-
|
|
74
|
+
5613,
|
|
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
|
-
|
|
79
|
+
5614,
|
|
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');
|
|
@@ -2,12 +2,12 @@ import { AccessibleViewProviderId, AccessibleViewType, IAccessibleViewContentPro
|
|
|
2
2
|
import { IAccessibleViewService } from "@codingame/monaco-vscode-api/vscode/vs/platform/accessibility/browser/accessibleView.service";
|
|
3
3
|
import { AccessibilityVerbositySettingId } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration";
|
|
4
4
|
import { IReplElement } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/debug/common/debug";
|
|
5
|
-
import {
|
|
5
|
+
import { IAccessibleViewImplementation } from "@codingame/monaco-vscode-api/vscode/vs/platform/accessibility/browser/accessibleViewRegistry";
|
|
6
6
|
import { ServicesAccessor } from "@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation";
|
|
7
7
|
import { Repl } from "./repl.js";
|
|
8
8
|
import { Event } from "@codingame/monaco-vscode-api/vscode/vs/base/common/event";
|
|
9
9
|
import { Disposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle";
|
|
10
|
-
export declare class ReplAccessibleView implements
|
|
10
|
+
export declare class ReplAccessibleView implements IAccessibleViewImplementation {
|
|
11
11
|
priority: number;
|
|
12
12
|
name: string;
|
|
13
13
|
when: import("@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey").ContextKeyExpression;
|
|
@@ -15,7 +15,7 @@ import { IDebugSession, IExpression, IReplElement, IReplElementSource, IReplOpti
|
|
|
15
15
|
import { IDebugService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/debug/common/debug.service";
|
|
16
16
|
import { Variable } from "@codingame/monaco-vscode-88aa9a78-75f5-5aaa-89e9-bbdd580b3b5c-common/vscode/vs/workbench/contrib/debug/common/debugModel";
|
|
17
17
|
import { RawObjectReplElement, ReplEvaluationInput, ReplEvaluationResult, ReplGroup, ReplOutputElement, ReplVariableElement } from "@codingame/monaco-vscode-88aa9a78-75f5-5aaa-89e9-bbdd580b3b5c-common/vscode/vs/workbench/contrib/debug/common/replModel";
|
|
18
|
-
import { AbstractExpressionsRenderer, IExpressionTemplateData, IInputBoxOptions } from "
|
|
18
|
+
import { AbstractExpressionsRenderer, IExpressionTemplateData, IInputBoxOptions } from "@codingame/monaco-vscode-88aa9a78-75f5-5aaa-89e9-bbdd580b3b5c-common/vscode/vs/workbench/contrib/debug/browser/baseDebugView";
|
|
19
19
|
import { DebugExpressionRenderer } from "@codingame/monaco-vscode-88aa9a78-75f5-5aaa-89e9-bbdd580b3b5c-common/vscode/vs/workbench/contrib/debug/browser/debugExpressionRenderer";
|
|
20
20
|
interface IReplEvaluationInputTemplateData {
|
|
21
21
|
label: HighlightedLabel;
|
|
@@ -20,7 +20,7 @@ import { IEditorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench
|
|
|
20
20
|
import { IDebugService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/debug/common/debug.service';
|
|
21
21
|
import { Variable } from '@codingame/monaco-vscode-88aa9a78-75f5-5aaa-89e9-bbdd580b3b5c-common/vscode/vs/workbench/contrib/debug/common/debugModel';
|
|
22
22
|
import { ReplVariableElement, ReplEvaluationResult, ReplOutputElement, ReplEvaluationInput, ReplGroup, RawObjectReplElement } from '@codingame/monaco-vscode-88aa9a78-75f5-5aaa-89e9-bbdd580b3b5c-common/vscode/vs/workbench/contrib/debug/common/replModel';
|
|
23
|
-
import { AbstractExpressionsRenderer } from '
|
|
23
|
+
import { AbstractExpressionsRenderer } from '@codingame/monaco-vscode-88aa9a78-75f5-5aaa-89e9-bbdd580b3b5c-common/vscode/vs/workbench/contrib/debug/browser/baseDebugView';
|
|
24
24
|
import { debugConsoleEvaluationInput } from '@codingame/monaco-vscode-fc42f049-7883-579d-bb0b-2aa1010a19a8-common/vscode/vs/workbench/contrib/debug/browser/debugIcons';
|
|
25
25
|
|
|
26
26
|
var ReplGroupRenderer_1, ReplOutputElementRenderer_1, ReplVariablesRenderer_1;
|
|
@@ -308,20 +308,20 @@ class ReplDataSource {
|
|
|
308
308
|
}
|
|
309
309
|
class ReplAccessibilityProvider {
|
|
310
310
|
getWidgetAriaLabel() {
|
|
311
|
-
return localize(
|
|
311
|
+
return localize(5615, "Debug Console");
|
|
312
312
|
}
|
|
313
313
|
getAriaLabel(element) {
|
|
314
314
|
if (element instanceof Variable) {
|
|
315
|
-
return localize(
|
|
315
|
+
return localize(5616, "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(
|
|
318
|
+
return element.value + (element instanceof ReplOutputElement && element.count > 1 ? ( localize(5617, ", occurred {0} times", element.count)) : '');
|
|
319
319
|
}
|
|
320
320
|
if (element instanceof RawObjectReplElement) {
|
|
321
|
-
return localize(
|
|
321
|
+
return localize(5618, "Debug console variable {0}, value {1}", element.name, element.value);
|
|
322
322
|
}
|
|
323
323
|
if (element instanceof ReplGroup) {
|
|
324
|
-
return localize(
|
|
324
|
+
return localize(5619, "Debug console group {0}", element.name);
|
|
325
325
|
}
|
|
326
326
|
return '';
|
|
327
327
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { ServicesAccessor } from "@codingame/monaco-vscode-api/vscode/vs/editor/browser/editorExtensions";
|
|
2
2
|
import { AccessibleViewProviderId, AccessibleViewType, IAccessibleViewContentProvider } from "@codingame/monaco-vscode-api/vscode/vs/platform/accessibility/browser/accessibleView";
|
|
3
|
-
import {
|
|
3
|
+
import { IAccessibleViewImplementation } from "@codingame/monaco-vscode-api/vscode/vs/platform/accessibility/browser/accessibleViewRegistry";
|
|
4
4
|
import { Disposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle";
|
|
5
5
|
import { AccessibilityVerbositySettingId } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration";
|
|
6
6
|
import { ICommandService } from "@codingame/monaco-vscode-api/vscode/vs/platform/commands/common/commands.service";
|
|
7
7
|
import { IViewsService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/views/common/viewsService.service";
|
|
8
|
-
export declare class RunAndDebugAccessibilityHelp implements
|
|
8
|
+
export declare class RunAndDebugAccessibilityHelp implements IAccessibleViewImplementation {
|
|
9
9
|
priority: number;
|
|
10
10
|
name: string;
|
|
11
11
|
when: import("@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey").ContextKeyExpression | undefined;
|
|
@@ -53,79 +53,79 @@ let RunAndDebugAccessibilityHelpProvider = class RunAndDebugAccessibilityHelpPro
|
|
|
53
53
|
provideContent() {
|
|
54
54
|
return [
|
|
55
55
|
( localize(
|
|
56
|
-
|
|
56
|
+
5620,
|
|
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
|
-
|
|
61
|
+
5621,
|
|
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
|
-
|
|
66
|
+
5622,
|
|
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(
|
|
72
|
+
( localize(5623, "Once debugging, the following commands will be available:")),
|
|
73
73
|
( localize(
|
|
74
|
-
|
|
74
|
+
5624,
|
|
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
|
-
|
|
79
|
+
5625,
|
|
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
|
-
|
|
84
|
+
5626,
|
|
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
|
-
|
|
89
|
+
5627,
|
|
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
|
-
|
|
94
|
+
5628,
|
|
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
|
-
|
|
99
|
+
5629,
|
|
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
|
-
|
|
104
|
+
5630,
|
|
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
|
-
|
|
108
|
+
5631,
|
|
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
|
-
|
|
113
|
+
5632,
|
|
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
|
-
|
|
118
|
+
5633,
|
|
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
|
-
|
|
123
|
+
5634,
|
|
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
|
-
|
|
128
|
+
5635,
|
|
129
129
|
"The setting {0} controls whether watch variable changes are announced.",
|
|
130
130
|
'accessibility.debugWatchVariableAnnouncements'
|
|
131
131
|
)),
|
|
@@ -27,7 +27,7 @@ const STATUS_BAR_DEBUGGING_BACKGROUND = registerColor('statusBar.debuggingBackgr
|
|
|
27
27
|
hcDark: '#BA592C',
|
|
28
28
|
hcLight: '#B5200D'
|
|
29
29
|
}, ( localize(
|
|
30
|
-
|
|
30
|
+
5636,
|
|
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
|
-
|
|
39
|
+
5637,
|
|
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
|
-
|
|
43
|
+
5638,
|
|
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(
|
|
46
|
+
const COMMAND_CENTER_DEBUGGING_BACKGROUND = registerColor('commandCenter.debuggingBackground', ( transparent(STATUS_BAR_DEBUGGING_BACKGROUND, 0.258)), ( localize(5639, "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) {
|
|
@@ -19,12 +19,12 @@ import { IThemeService } from "@codingame/monaco-vscode-api/vscode/vs/platform/t
|
|
|
19
19
|
import { ViewPane } from "@codingame/monaco-vscode-65619f8f-0eab-5d8b-855a-43b6353fe527-common/vscode/vs/workbench/browser/parts/views/viewPane";
|
|
20
20
|
import { IViewletViewOptions } from "@codingame/monaco-vscode-55ed5668-e8ca-5335-a587-790bcf1200c0-common/vscode/vs/workbench/browser/parts/views/viewsViewlet";
|
|
21
21
|
import { IViewDescriptorService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/common/views.service";
|
|
22
|
-
import { IExpression, IScope, IViewModel } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/debug/common/debug";
|
|
22
|
+
import { IDebugViewWithVariables, IExpression, IScope, IViewModel } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/debug/common/debug";
|
|
23
23
|
import { IDebugService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/debug/common/debug.service";
|
|
24
24
|
import { IDebugVisualizerService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/debug/common/debugVisualizers.service";
|
|
25
|
-
import { AbstractExpressionsRenderer, IExpressionTemplateData, IInputBoxOptions } from "
|
|
25
|
+
import { AbstractExpressionsRenderer, IExpressionTemplateData, IInputBoxOptions } from "@codingame/monaco-vscode-88aa9a78-75f5-5aaa-89e9-bbdd580b3b5c-common/vscode/vs/workbench/contrib/debug/browser/baseDebugView";
|
|
26
26
|
import { DebugExpressionRenderer } from "@codingame/monaco-vscode-88aa9a78-75f5-5aaa-89e9-bbdd580b3b5c-common/vscode/vs/workbench/contrib/debug/browser/debugExpressionRenderer";
|
|
27
|
-
export declare class VariablesView extends ViewPane {
|
|
27
|
+
export declare class VariablesView extends ViewPane implements IDebugViewWithVariables {
|
|
28
28
|
private readonly debugService;
|
|
29
29
|
private readonly menuService;
|
|
30
30
|
private updateTreeScheduler;
|
|
@@ -32,6 +32,7 @@ export declare class VariablesView extends ViewPane {
|
|
|
32
32
|
private tree;
|
|
33
33
|
private savedViewState;
|
|
34
34
|
private autoExpandedScopes;
|
|
35
|
+
get treeSelection(): (IExpression | IScope)[];
|
|
35
36
|
constructor(options: IViewletViewOptions, contextMenuService: IContextMenuService, debugService: IDebugService, keybindingService: IKeybindingService, configurationService: IConfigurationService, instantiationService: IInstantiationService, viewDescriptorService: IViewDescriptorService, contextKeyService: IContextKeyService, openerService: IOpenerService, themeService: IThemeService, telemetryService: ITelemetryService, hoverService: IHoverService, menuService: IMenuService);
|
|
36
37
|
protected renderBody(container: HTMLElement): void;
|
|
37
38
|
protected layoutBody(width: number, height: number): void;
|