@codingame/monaco-vscode-debug-service-override 17.2.0 → 18.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 +18 -16
- package/vscode/src/vs/workbench/contrib/debug/browser/callStackView.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/callStackView.js +24 -24
- package/vscode/src/vs/workbench/contrib/debug/browser/debug.contribution.js +116 -111
- package/vscode/src/vs/workbench/contrib/debug/browser/debugActionViewItems.js +7 -6
- package/vscode/src/vs/workbench/contrib/debug/browser/debugAdapterManager.js +13 -13
- package/vscode/src/vs/workbench/contrib/debug/browser/debugConfigurationManager.js +6 -6
- 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/debugQuickAccess.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/debugQuickAccess.js +10 -10
- package/vscode/src/vs/workbench/contrib/debug/browser/debugService.js +22 -22
- package/vscode/src/vs/workbench/contrib/debug/browser/debugSession.js +45 -44
- package/vscode/src/vs/workbench/contrib/debug/browser/debugStatus.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/debugTaskRunner.js +17 -17
- package/vscode/src/vs/workbench/contrib/debug/browser/debugToolBar.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/debugToolBar.js +8 -8
- package/vscode/src/vs/workbench/contrib/debug/browser/debugViewlet.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/debugViewlet.js +6 -6
- package/vscode/src/vs/workbench/contrib/debug/browser/disassemblyView.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/disassemblyView.js +19 -16
- package/vscode/src/vs/workbench/contrib/debug/browser/loadedScriptsView.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/loadedScriptsView.js +10 -10
- package/vscode/src/vs/workbench/contrib/debug/browser/rawDebugSession.js +5 -5
- package/vscode/src/vs/workbench/contrib/debug/browser/repl.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/repl.js +21 -21
- package/vscode/src/vs/workbench/contrib/debug/browser/replAccessibilityHelp.js +8 -8
- package/vscode/src/vs/workbench/contrib/debug/browser/replViewer.js +5 -5
- 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/watchExpressionsView.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/watchExpressionsView.js +11 -11
- package/vscode/src/vs/workbench/contrib/debug/browser/welcomeView.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/welcomeView.js +10 -11
- package/vscode/src/vs/workbench/contrib/debug/common/debugContentProvider.js +3 -3
- 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/debugStorage.js +1 -1
- 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
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { IActionViewItem } from "@codingame/monaco-vscode-api/vscode/vs/base/browser/ui/actionbar/actionbar";
|
|
2
2
|
import { DisposableStore } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle";
|
|
3
3
|
import { ServicesAccessor } from "@codingame/monaco-vscode-api/vscode/vs/editor/browser/editorExtensions";
|
|
4
|
-
import { IDropdownWithPrimaryActionViewItemOptions } from "@codingame/monaco-vscode-
|
|
4
|
+
import { IDropdownWithPrimaryActionViewItemOptions } from "@codingame/monaco-vscode-7adbeffb-8051-54a9-8c9b-b62ce9e5836f-common/vscode/vs/platform/actions/browser/dropdownWithPrimaryActionViewItem";
|
|
5
5
|
import { MenuItemAction } from "@codingame/monaco-vscode-api/vscode/vs/platform/actions/common/actions";
|
|
6
6
|
import { IMenuService } from "@codingame/monaco-vscode-api/vscode/vs/platform/actions/common/actions.service";
|
|
7
7
|
import { IConfigurationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service";
|
|
@@ -15,7 +15,7 @@ import { DisposableStore, MutableDisposable, markAsSingleton, dispose } from '@c
|
|
|
15
15
|
import { platform, Platform } from '@codingame/monaco-vscode-api/vscode/vs/base/common/platform';
|
|
16
16
|
import { ThemeIcon } from '@codingame/monaco-vscode-api/vscode/vs/base/common/themables';
|
|
17
17
|
import { localize } from '@codingame/monaco-vscode-api/vscode/vs/nls';
|
|
18
|
-
import { DropdownWithPrimaryActionViewItem } from '@codingame/monaco-vscode-
|
|
18
|
+
import { DropdownWithPrimaryActionViewItem } from '@codingame/monaco-vscode-7adbeffb-8051-54a9-8c9b-b62ce9e5836f-common/vscode/vs/platform/actions/browser/dropdownWithPrimaryActionViewItem';
|
|
19
19
|
import { createActionViewItem, getFlatActionBarActions } from '@codingame/monaco-vscode-api/vscode/vs/platform/actions/browser/menuEntryActionViewItem';
|
|
20
20
|
import { MenuId, MenuRegistry } from '@codingame/monaco-vscode-api/vscode/vs/platform/actions/common/actions';
|
|
21
21
|
import { IMenuService } from '@codingame/monaco-vscode-api/vscode/vs/platform/actions/common/actions.service';
|
|
@@ -40,7 +40,7 @@ import '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colors/quic
|
|
|
40
40
|
import '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colors/searchColors';
|
|
41
41
|
import { Themable } from '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/themeService';
|
|
42
42
|
import { IThemeService } from '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/themeService.service';
|
|
43
|
-
import {
|
|
43
|
+
import { getTitleBarStyle, TitlebarStyle } from '@codingame/monaco-vscode-api/vscode/vs/platform/window/common/window';
|
|
44
44
|
import { LayoutSettings, Parts, EditorTabsMode } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/layout/browser/layoutService';
|
|
45
45
|
import { IWorkbenchLayoutService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/layout/browser/layoutService.service';
|
|
46
46
|
import { State, VIEWLET_ID, CONTEXT_DEBUG_STATE, CONTEXT_IN_DEBUG_MODE, CONTEXT_FOCUSED_SESSION_IS_NO_DEBUG, CONTEXT_FOCUSED_SESSION_IS_ATTACH, CONTEXT_TERMINATE_DEBUGGEE_SUPPORTED, CONTEXT_STEP_BACK_SUPPORTED, CONTEXT_MULTI_SESSION_DEBUG, CONTEXT_SUSPEND_DEBUGGEE_SUPPORTED } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/debug/common/debug';
|
|
@@ -70,9 +70,9 @@ let DebugToolBar = class DebugToolBar extends Themable {
|
|
|
70
70
|
this.auxWindowCoordinates = ( new WeakMap());
|
|
71
71
|
this.trackPixelRatioListener = this._register(( new MutableDisposable()));
|
|
72
72
|
this.$el = $('div.debug-toolbar');
|
|
73
|
-
const
|
|
74
|
-
const controlsOnLeft =
|
|
75
|
-
const controlsOnRight =
|
|
73
|
+
const controlsOnTitlebar = getTitleBarStyle(this.configurationService) === TitlebarStyle.CUSTOM;
|
|
74
|
+
const controlsOnLeft = controlsOnTitlebar && platform === Platform.Mac;
|
|
75
|
+
const controlsOnRight = controlsOnTitlebar && (platform === Platform.Windows || platform === Platform.Linux);
|
|
76
76
|
this.$el.style.transform = `translate(
|
|
77
77
|
min(
|
|
78
78
|
max(${controlsOnLeft ? '60px' : '0px'}, calc(-50% + (100vw * var(--x-position)))),
|
|
@@ -312,7 +312,7 @@ function createDisconnectMenuItemAction(action, disposables, accessor, options)
|
|
|
312
312
|
if (!secondary.length) {
|
|
313
313
|
return undefined;
|
|
314
314
|
}
|
|
315
|
-
const dropdownAction = disposables.add(( new Action('notebook.moreRunActions', ( localize(
|
|
315
|
+
const dropdownAction = disposables.add(( new Action('notebook.moreRunActions', ( localize(5995, "More...")), 'codicon-chevron-down', true)));
|
|
316
316
|
const item = instantiationService.createInstance(DropdownWithPrimaryActionViewItem, action, dropdownAction, secondary, 'debug-stop-actions', options);
|
|
317
317
|
return item;
|
|
318
318
|
}
|
|
@@ -370,8 +370,8 @@ registerDebugToolBarItem(STEP_OVER_ID, STEP_OVER_LABEL, 20, debugStepOver, undef
|
|
|
370
370
|
registerDebugToolBarItem(STEP_INTO_ID, STEP_INTO_LABEL, 30, debugStepInto, undefined, ( CONTEXT_DEBUG_STATE.isEqualTo('stopped')));
|
|
371
371
|
registerDebugToolBarItem(STEP_OUT_ID, STEP_OUT_LABEL, 40, debugStepOut, undefined, ( CONTEXT_DEBUG_STATE.isEqualTo('stopped')));
|
|
372
372
|
registerDebugToolBarItem(RESTART_SESSION_ID, RESTART_LABEL, 60, debugRestart);
|
|
373
|
-
registerDebugToolBarItem(STEP_BACK_ID, ( localize(
|
|
374
|
-
registerDebugToolBarItem(REVERSE_CONTINUE_ID, ( localize(
|
|
373
|
+
registerDebugToolBarItem(STEP_BACK_ID, ( localize(5996, "Step Back")), 50, debugStepBack, CONTEXT_STEP_BACK_SUPPORTED, ( CONTEXT_DEBUG_STATE.isEqualTo('stopped')));
|
|
374
|
+
registerDebugToolBarItem(REVERSE_CONTINUE_ID, ( localize(5997, "Reverse")), 55, debugReverseContinue, CONTEXT_STEP_BACK_SUPPORTED, ( CONTEXT_DEBUG_STATE.isEqualTo('stopped')));
|
|
375
375
|
registerDebugToolBarItem(FOCUS_SESSION_ID, FOCUS_SESSION_LABEL, 100, Codicon.listTree, ( ContextKeyExpr.and(CONTEXT_MULTI_SESSION_DEBUG, ( CONTEXT_TOOLBAR_COMMAND_CENTER.negate()))));
|
|
376
376
|
MenuRegistry.appendMenuItem(MenuId.DebugToolBarStop, {
|
|
377
377
|
group: 'navigation',
|
|
@@ -11,8 +11,8 @@ import { IStorageService } from "@codingame/monaco-vscode-api/vscode/vs/platform
|
|
|
11
11
|
import { ITelemetryService } from "@codingame/monaco-vscode-api/vscode/vs/platform/telemetry/common/telemetry.service";
|
|
12
12
|
import { IThemeService } from "@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/themeService.service";
|
|
13
13
|
import { IWorkspaceContextService } from "@codingame/monaco-vscode-api/vscode/vs/platform/workspace/common/workspace.service";
|
|
14
|
-
import { ViewPane } from "@codingame/monaco-vscode-
|
|
15
|
-
import { ViewPaneContainer } from "@codingame/monaco-vscode-
|
|
14
|
+
import { ViewPane } from "@codingame/monaco-vscode-501b06ab-3f58-516b-8a1a-c29d375d3da4-common/vscode/vs/workbench/browser/parts/views/viewPane";
|
|
15
|
+
import { ViewPaneContainer } from "@codingame/monaco-vscode-a8d3bd74-e63e-5327-96e8-4f931661e329-common/vscode/vs/workbench/browser/parts/views/viewPaneContainer";
|
|
16
16
|
import { IViewDescriptorService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/common/views.service";
|
|
17
17
|
import { IDebugService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/debug/common/debug.service";
|
|
18
18
|
import { IExtensionService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/extensions/common/extensions.service";
|
|
@@ -17,7 +17,7 @@ import { IStorageService } from '@codingame/monaco-vscode-api/vscode/vs/platform
|
|
|
17
17
|
import { ITelemetryService } from '@codingame/monaco-vscode-api/vscode/vs/platform/telemetry/common/telemetry.service';
|
|
18
18
|
import { IThemeService } from '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/themeService.service';
|
|
19
19
|
import { IWorkspaceContextService } from '@codingame/monaco-vscode-api/vscode/vs/platform/workspace/common/workspace.service';
|
|
20
|
-
import { ViewPaneContainer, ViewsSubMenu } from '@codingame/monaco-vscode-
|
|
20
|
+
import { ViewPaneContainer, ViewsSubMenu } from '@codingame/monaco-vscode-a8d3bd74-e63e-5327-96e8-4f931661e329-common/vscode/vs/workbench/browser/parts/views/viewPaneContainer';
|
|
21
21
|
import { WorkbenchStateContext } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/contextkeys';
|
|
22
22
|
import { IViewDescriptorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/views.service';
|
|
23
23
|
import { IViewsService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/views/common/viewsService.service';
|
|
@@ -171,10 +171,10 @@ registerAction2(class extends Action2 {
|
|
|
171
171
|
title: {
|
|
172
172
|
value: DEBUG_CONFIGURE_LABEL,
|
|
173
173
|
original: 'Open \'launch.json\'',
|
|
174
|
-
mnemonicTitle: ( localize(
|
|
174
|
+
mnemonicTitle: ( localize(5998, "Open &&Configurations"))
|
|
175
175
|
},
|
|
176
176
|
metadata: {
|
|
177
|
-
description: ( localize2(
|
|
177
|
+
description: ( localize2(5999, 'Opens the file used to configure how your program is debugged'))
|
|
178
178
|
},
|
|
179
179
|
f1: true,
|
|
180
180
|
icon: debugConfigure,
|
|
@@ -214,7 +214,7 @@ registerAction2(class extends Action2 {
|
|
|
214
214
|
const picked = await quickInputService.pick(picks, {
|
|
215
215
|
activeItem: picks[0],
|
|
216
216
|
placeHolder: ( localize(
|
|
217
|
-
|
|
217
|
+
6000,
|
|
218
218
|
"Select a workspace folder to create a launch.json file in or add it to the workspace config file"
|
|
219
219
|
))
|
|
220
220
|
});
|
|
@@ -238,7 +238,7 @@ registerAction2(class extends Action2 {
|
|
|
238
238
|
constructor() {
|
|
239
239
|
super({
|
|
240
240
|
id: 'debug.toggleReplIgnoreFocus',
|
|
241
|
-
title: ( localize(
|
|
241
|
+
title: ( localize(6001, "Debug Console")),
|
|
242
242
|
toggled: ( ContextKeyExpr.has(`view.${REPL_VIEW_ID}.visible`)),
|
|
243
243
|
menu: [{
|
|
244
244
|
id: ViewsSubMenu,
|
|
@@ -263,7 +263,7 @@ MenuRegistry.appendMenuItem(MenuId.ViewContainerTitle, {
|
|
|
263
263
|
order: 10,
|
|
264
264
|
command: {
|
|
265
265
|
id: SELECT_AND_START_ID,
|
|
266
|
-
title: ( localize(
|
|
266
|
+
title: ( localize(6002, "Start Additional Session")),
|
|
267
267
|
}
|
|
268
268
|
});
|
|
269
269
|
|
|
@@ -6,7 +6,7 @@ import { IInstantiationService } from "@codingame/monaco-vscode-api/vscode/vs/pl
|
|
|
6
6
|
import { IStorageService } from "@codingame/monaco-vscode-api/vscode/vs/platform/storage/common/storage.service";
|
|
7
7
|
import { ITelemetryService } from "@codingame/monaco-vscode-api/vscode/vs/platform/telemetry/common/telemetry.service";
|
|
8
8
|
import { IThemeService } from "@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/themeService.service";
|
|
9
|
-
import { EditorPane } from "@codingame/monaco-vscode-
|
|
9
|
+
import { EditorPane } from "@codingame/monaco-vscode-dcfc2191-2da1-54c7-8fb7-e92c5d11ecef-common/vscode/vs/workbench/browser/parts/editor/editorPane";
|
|
10
10
|
import { IWorkbenchContribution } from "@codingame/monaco-vscode-api/vscode/vs/workbench/common/contributions";
|
|
11
11
|
import { IDebugSession } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/debug/common/debug";
|
|
12
12
|
import { IDebugService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/debug/common/debug.service";
|
|
@@ -36,7 +36,7 @@ import '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colors/quic
|
|
|
36
36
|
import '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colors/searchColors';
|
|
37
37
|
import { IThemeService } from '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/themeService.service';
|
|
38
38
|
import { IUriIdentityService } from '@codingame/monaco-vscode-api/vscode/vs/platform/uriIdentity/common/uriIdentity.service';
|
|
39
|
-
import { EditorPane } from '@codingame/monaco-vscode-
|
|
39
|
+
import { EditorPane } from '@codingame/monaco-vscode-dcfc2191-2da1-54c7-8fb7-e92c5d11ecef-common/vscode/vs/workbench/browser/parts/editor/editorPane';
|
|
40
40
|
import { topStackFrameColor, focusedStackFrameColor } from '@codingame/monaco-vscode-b99aef83-0d60-5e8c-a62e-9908b6256f35-common/vscode/vs/workbench/contrib/debug/browser/callStackEditorContribution';
|
|
41
41
|
import { breakpoint, debugBreakpointHint, debugStackframe, debugStackframeFocused } from '@codingame/monaco-vscode-fc42f049-7883-579d-bb0b-2aa1010a19a8-common/vscode/vs/workbench/contrib/debug/browser/debugIcons';
|
|
42
42
|
import { DISASSEMBLY_VIEW_ID, State, CONTEXT_LANGUAGE_SUPPORTS_DISASSEMBLE_REQUEST } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/debug/common/debug';
|
|
@@ -64,7 +64,7 @@ const disassemblyNotAvailable = {
|
|
|
64
64
|
address: 0n,
|
|
65
65
|
instruction: {
|
|
66
66
|
address: '-1',
|
|
67
|
-
instruction: ( localize(
|
|
67
|
+
instruction: ( localize(6003, "Disassembly not available."))
|
|
68
68
|
},
|
|
69
69
|
};
|
|
70
70
|
let DisassemblyView = class DisassemblyView extends EditorPane {
|
|
@@ -154,14 +154,14 @@ let DisassemblyView = class DisassemblyView extends EditorPane {
|
|
|
154
154
|
this._enableSourceCodeRender = this._configurationService.getValue('debug').disassemblyView.showSourceCode;
|
|
155
155
|
const lineHeight = this.fontInfo.lineHeight;
|
|
156
156
|
const thisOM = this;
|
|
157
|
-
const delegate = new class {
|
|
157
|
+
const delegate = new (class {
|
|
158
158
|
constructor() {
|
|
159
159
|
this.headerRowHeight = 0;
|
|
160
160
|
}
|
|
161
161
|
getHeight(row) {
|
|
162
162
|
if (thisOM.isSourceCodeRender && row.showSourceLocation && row.instruction.location?.path && row.instruction.line) {
|
|
163
163
|
if (row.instruction.endLine) {
|
|
164
|
-
return lineHeight * (row.instruction.endLine - row.instruction.line + 2);
|
|
164
|
+
return lineHeight * Math.max(2, (row.instruction.endLine - row.instruction.line + 2));
|
|
165
165
|
}
|
|
166
166
|
else {
|
|
167
167
|
return lineHeight * 2;
|
|
@@ -169,7 +169,7 @@ let DisassemblyView = class DisassemblyView extends EditorPane {
|
|
|
169
169
|
}
|
|
170
170
|
return lineHeight;
|
|
171
171
|
}
|
|
172
|
-
};
|
|
172
|
+
});
|
|
173
173
|
const instructionRenderer = this._register(this._instantiationService.createInstance(InstructionRenderer, this));
|
|
174
174
|
this._disassembledInstructions = this._register(this._instantiationService.createInstance(WorkbenchTable, 'DisassemblyView', parent, delegate, [
|
|
175
175
|
{
|
|
@@ -182,7 +182,7 @@ let DisassemblyView = class DisassemblyView extends EditorPane {
|
|
|
182
182
|
project(row) { return row; }
|
|
183
183
|
},
|
|
184
184
|
{
|
|
185
|
-
label: ( localize(
|
|
185
|
+
label: ( localize(6004, "instructions")),
|
|
186
186
|
tooltip: '',
|
|
187
187
|
weight: 0.3,
|
|
188
188
|
templateId: InstructionRenderer.TEMPLATE_ID,
|
|
@@ -386,6 +386,9 @@ let DisassemblyView = class DisassemblyView extends EditorPane {
|
|
|
386
386
|
console.error(`Could not parse disassembly address ${instruction.address} (in ${JSON.stringify(instruction)})`);
|
|
387
387
|
continue;
|
|
388
388
|
}
|
|
389
|
+
if (address === -1n) {
|
|
390
|
+
continue;
|
|
391
|
+
}
|
|
389
392
|
const entry = {
|
|
390
393
|
allowBreakpoint: true,
|
|
391
394
|
isBreakpointSet: false,
|
|
@@ -563,7 +566,7 @@ let BreakpointRenderer = class BreakpointRenderer {
|
|
|
563
566
|
];
|
|
564
567
|
return { currentElement, icon, disposables };
|
|
565
568
|
}
|
|
566
|
-
renderElement(element, index, templateData
|
|
569
|
+
renderElement(element, index, templateData) {
|
|
567
570
|
templateData.currentElement.element = element;
|
|
568
571
|
this.rerenderDebugStackframe(templateData.icon, element);
|
|
569
572
|
}
|
|
@@ -635,10 +638,10 @@ let InstructionRenderer = class InstructionRenderer extends Disposable {
|
|
|
635
638
|
];
|
|
636
639
|
return { currentElement, instruction, sourcecode, cellDisposable, disposables };
|
|
637
640
|
}
|
|
638
|
-
renderElement(element, index, templateData
|
|
639
|
-
this.renderElementInner(element, index, templateData
|
|
641
|
+
renderElement(element, index, templateData) {
|
|
642
|
+
this.renderElementInner(element, index, templateData);
|
|
640
643
|
}
|
|
641
|
-
async renderElementInner(element, index, templateData
|
|
644
|
+
async renderElementInner(element, index, templateData) {
|
|
642
645
|
templateData.currentElement.element = element;
|
|
643
646
|
const instruction = element.instruction;
|
|
644
647
|
templateData.sourcecode.innerText = '';
|
|
@@ -694,7 +697,7 @@ let InstructionRenderer = class InstructionRenderer extends Disposable {
|
|
|
694
697
|
templateData.instruction.innerText = sb.build();
|
|
695
698
|
this.rerenderBackground(templateData.instruction, templateData.sourcecode, element);
|
|
696
699
|
}
|
|
697
|
-
disposeElement(element, index, templateData
|
|
700
|
+
disposeElement(element, index, templateData) {
|
|
698
701
|
dispose(templateData.cellDisposable);
|
|
699
702
|
templateData.cellDisposable = [];
|
|
700
703
|
}
|
|
@@ -729,7 +732,7 @@ let InstructionRenderer = class InstructionRenderer extends Disposable {
|
|
|
729
732
|
};
|
|
730
733
|
this.editorService.openEditor({
|
|
731
734
|
resource: sourceURI,
|
|
732
|
-
description: ( localize(
|
|
735
|
+
description: ( localize(6005, "from disassembly")),
|
|
733
736
|
options: {
|
|
734
737
|
preserveFocus: false,
|
|
735
738
|
selection: selection,
|
|
@@ -764,18 +767,18 @@ InstructionRenderer = InstructionRenderer_1 = ( __decorate([
|
|
|
764
767
|
], InstructionRenderer));
|
|
765
768
|
class AccessibilityProvider {
|
|
766
769
|
getWidgetAriaLabel() {
|
|
767
|
-
return localize(
|
|
770
|
+
return localize(6006, "Disassembly View");
|
|
768
771
|
}
|
|
769
772
|
getAriaLabel(element) {
|
|
770
773
|
let label = '';
|
|
771
774
|
const instruction = element.instruction;
|
|
772
775
|
if (instruction.address !== '-1') {
|
|
773
|
-
label += `${( localize(
|
|
776
|
+
label += `${( localize(6007, "Address"))}: ${instruction.address}`;
|
|
774
777
|
}
|
|
775
778
|
if (instruction.instructionBytes) {
|
|
776
|
-
label += `, ${( localize(
|
|
779
|
+
label += `, ${( localize(6008, "Bytes"))}: ${instruction.instructionBytes}`;
|
|
777
780
|
}
|
|
778
|
-
label += `, ${( localize(
|
|
781
|
+
label += `, ${( localize(6009, "Instruction"))}: ${instruction.instruction}`;
|
|
779
782
|
return label;
|
|
780
783
|
}
|
|
781
784
|
}
|
|
@@ -8,7 +8,7 @@ import { ILabelService } from "@codingame/monaco-vscode-api/vscode/vs/platform/l
|
|
|
8
8
|
import { IOpenerService } from "@codingame/monaco-vscode-api/vscode/vs/platform/opener/common/opener.service";
|
|
9
9
|
import { IThemeService } from "@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/themeService.service";
|
|
10
10
|
import { IWorkspaceContextService } from "@codingame/monaco-vscode-api/vscode/vs/platform/workspace/common/workspace.service";
|
|
11
|
-
import { ViewPane } from "@codingame/monaco-vscode-
|
|
11
|
+
import { ViewPane } from "@codingame/monaco-vscode-501b06ab-3f58-516b-8a1a-c29d375d3da4-common/vscode/vs/workbench/browser/parts/views/viewPane";
|
|
12
12
|
import { IViewletViewOptions } from "@codingame/monaco-vscode-2a94c04a-b85b-5669-b06b-89c1bfa11cb9-common/vscode/vs/workbench/browser/parts/views/viewsViewlet";
|
|
13
13
|
import { IViewDescriptorService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/common/views.service";
|
|
14
14
|
import { IEditorService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service";
|
|
@@ -26,8 +26,8 @@ import { WorkbenchCompressibleObjectTree } from '@codingame/monaco-vscode-api/vs
|
|
|
26
26
|
import { IOpenerService } from '@codingame/monaco-vscode-api/vscode/vs/platform/opener/common/opener.service';
|
|
27
27
|
import { IThemeService } from '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/themeService.service';
|
|
28
28
|
import { IWorkspaceContextService } from '@codingame/monaco-vscode-api/vscode/vs/platform/workspace/common/workspace.service';
|
|
29
|
-
import { ResourceLabels } from '@codingame/monaco-vscode-
|
|
30
|
-
import { ViewPane, ViewAction } from '@codingame/monaco-vscode-
|
|
29
|
+
import { ResourceLabels } from '@codingame/monaco-vscode-f24b7f0a-ceeb-5877-9148-81eb98a4f5d7-common/vscode/vs/workbench/browser/labels';
|
|
30
|
+
import { ViewPane, ViewAction } from '@codingame/monaco-vscode-501b06ab-3f58-516b-8a1a-c29d375d3da4-common/vscode/vs/workbench/browser/parts/views/viewPane';
|
|
31
31
|
import { IViewDescriptorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/views.service';
|
|
32
32
|
import { IEditorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service';
|
|
33
33
|
import { IPathService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/path/common/pathService.service';
|
|
@@ -547,7 +547,7 @@ class LoadedScriptsRenderer {
|
|
|
547
547
|
const label = element.getLabel();
|
|
548
548
|
this.render(element, label, data, node.filterData);
|
|
549
549
|
}
|
|
550
|
-
renderCompressedElements(node, index, data
|
|
550
|
+
renderCompressedElements(node, index, data) {
|
|
551
551
|
const element = node.element.elements[node.element.elements.length - 1];
|
|
552
552
|
const labels = ( node.element.elements.map(e => e.getLabel()));
|
|
553
553
|
this.render(element, labels, data, node.filterData);
|
|
@@ -563,7 +563,7 @@ class LoadedScriptsRenderer {
|
|
|
563
563
|
options.fileKind = FileKind.ROOT_FOLDER;
|
|
564
564
|
}
|
|
565
565
|
else if (element instanceof SessionTreeItem) {
|
|
566
|
-
options.title = ( localize(
|
|
566
|
+
options.title = ( localize(6021, "Debug Session"));
|
|
567
567
|
options.hideIcon = true;
|
|
568
568
|
}
|
|
569
569
|
else if (element instanceof BaseTreeItem) {
|
|
@@ -585,20 +585,20 @@ class LoadedScriptsRenderer {
|
|
|
585
585
|
}
|
|
586
586
|
class LoadedSciptsAccessibilityProvider {
|
|
587
587
|
getWidgetAriaLabel() {
|
|
588
|
-
return localize(
|
|
588
|
+
return localize(6022, "Debug Loaded Scripts");
|
|
589
589
|
}
|
|
590
590
|
getAriaLabel(element) {
|
|
591
591
|
if (element instanceof RootFolderTreeItem) {
|
|
592
|
-
return localize(
|
|
592
|
+
return localize(6023, "Workspace folder {0}, loaded script, debug", element.getLabel());
|
|
593
593
|
}
|
|
594
594
|
if (element instanceof SessionTreeItem) {
|
|
595
|
-
return localize(
|
|
595
|
+
return localize(6024, "Session {0}, loaded script, debug", element.getLabel());
|
|
596
596
|
}
|
|
597
597
|
if (element.hasChildren()) {
|
|
598
|
-
return localize(
|
|
598
|
+
return localize(6025, "Folder {0}, loaded script, debug", element.getLabel());
|
|
599
599
|
}
|
|
600
600
|
else {
|
|
601
|
-
return localize(
|
|
601
|
+
return localize(6026, "{0}, loaded script, debug", element.getLabel());
|
|
602
602
|
}
|
|
603
603
|
}
|
|
604
604
|
}
|
|
@@ -625,7 +625,7 @@ registerAction2(class Collapse extends ViewAction {
|
|
|
625
625
|
super({
|
|
626
626
|
id: 'loadedScripts.collapse',
|
|
627
627
|
viewId: LOADED_SCRIPTS_VIEW_ID,
|
|
628
|
-
title: ( localize(
|
|
628
|
+
title: ( localize(6027, "Collapse All")),
|
|
629
629
|
f1: false,
|
|
630
630
|
icon: Codicon.collapseAll,
|
|
631
631
|
menu: {
|
|
@@ -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(6028, "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
|
+
6029,
|
|
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(6030, "&&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(6031, "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(6032, "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 }) })]);
|
|
@@ -18,7 +18,7 @@ import { ILogService } from "@codingame/monaco-vscode-api/vscode/vs/platform/log
|
|
|
18
18
|
import { IOpenerService } from "@codingame/monaco-vscode-api/vscode/vs/platform/opener/common/opener.service";
|
|
19
19
|
import { IStorageService } from "@codingame/monaco-vscode-api/vscode/vs/platform/storage/common/storage.service";
|
|
20
20
|
import { IThemeService } from "@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/themeService.service";
|
|
21
|
-
import { FilterViewPane, IViewPaneOptions } from "@codingame/monaco-vscode-
|
|
21
|
+
import { FilterViewPane, IViewPaneOptions } from "@codingame/monaco-vscode-501b06ab-3f58-516b-8a1a-c29d375d3da4-common/vscode/vs/workbench/browser/parts/views/viewPane";
|
|
22
22
|
import { IViewDescriptorService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/common/views.service";
|
|
23
23
|
import { IEditorService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service";
|
|
24
24
|
import { IViewsService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/views/common/viewsService.service";
|
|
@@ -61,14 +61,14 @@ import '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colors/misc
|
|
|
61
61
|
import '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colors/quickpickColors';
|
|
62
62
|
import '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colors/searchColors';
|
|
63
63
|
import { IThemeService } from '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/themeService.service';
|
|
64
|
-
import { registerNavigableContainer } from '@codingame/monaco-vscode-
|
|
65
|
-
import { FilterViewPane, ViewAction } from '@codingame/monaco-vscode-
|
|
64
|
+
import { registerNavigableContainer } from '@codingame/monaco-vscode-8d39d04c-3201-5bd6-be79-eed8d17a5ad0-common/vscode/vs/workbench/browser/actions/widgetNavigationCommands';
|
|
65
|
+
import { FilterViewPane, ViewAction } from '@codingame/monaco-vscode-501b06ab-3f58-516b-8a1a-c29d375d3da4-common/vscode/vs/workbench/browser/parts/views/viewPane';
|
|
66
66
|
import { IViewDescriptorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/views.service';
|
|
67
67
|
import { IEditorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service';
|
|
68
68
|
import { IViewsService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/views/common/viewsService.service';
|
|
69
69
|
import { AccessibilityVerbositySettingId } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration';
|
|
70
70
|
import { AccessibilityCommandId } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/accessibility/common/accessibilityCommands';
|
|
71
|
-
import { getSimpleEditorOptions, getSimpleCodeEditorWidgetOptions } from '@codingame/monaco-vscode-
|
|
71
|
+
import { getSimpleEditorOptions, getSimpleCodeEditorWidgetOptions } from '@codingame/monaco-vscode-8d39d04c-3201-5bd6-be79-eed8d17a5ad0-common/vscode/vs/workbench/contrib/codeEditor/browser/simpleEditorOptions';
|
|
72
72
|
import { DEBUG_SCHEME, CONTEXT_MULTI_SESSION_REPL, State, CONTEXT_IN_DEBUG_REPL, REPL_VIEW_ID, CONTEXT_DEBUG_STATE, getStateLabel } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/debug/common/debug';
|
|
73
73
|
import { IDebugService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/debug/common/debug.service';
|
|
74
74
|
import { Variable } from '@codingame/monaco-vscode-88aa9a78-75f5-5aaa-89e9-bbdd580b3b5c-common/vscode/vs/workbench/contrib/debug/common/debugModel';
|
|
@@ -102,7 +102,7 @@ let Repl = class Repl extends FilterViewPane {
|
|
|
102
102
|
super({
|
|
103
103
|
...options,
|
|
104
104
|
filterOptions: {
|
|
105
|
-
placeholder: ( localize(
|
|
105
|
+
placeholder: ( localize(6033, "Filter (e.g. text, !exclude, \\escape)")),
|
|
106
106
|
text: filterText,
|
|
107
107
|
history: JSON.parse(storageService.get(FILTER_HISTORY_STORAGE_KEY, StorageScope.WORKSPACE, '[]')),
|
|
108
108
|
}
|
|
@@ -507,7 +507,7 @@ let Repl = class Repl extends FilterViewPane {
|
|
|
507
507
|
await autoExpandElements(session.getReplElements());
|
|
508
508
|
}
|
|
509
509
|
const { total, filtered } = this.getFilterStats();
|
|
510
|
-
this.filterWidget.updateBadge(total === filtered || total === 0 ? undefined : ( localize(
|
|
510
|
+
this.filterWidget.updateBadge(total === filtered || total === 0 ? undefined : ( localize(6034, "Showing {0} of {1}", filtered, total)));
|
|
511
511
|
}, Repl_1.REFRESH_DELAY));
|
|
512
512
|
}
|
|
513
513
|
render() {
|
|
@@ -631,17 +631,17 @@ let Repl = class Repl extends FilterViewPane {
|
|
|
631
631
|
this._register(addStandardDisposableListener(this.replInputContainer, EventType.BLUR, () => this.replInputContainer.classList.remove('synthetic-focus')));
|
|
632
632
|
}
|
|
633
633
|
getAriaLabel() {
|
|
634
|
-
let ariaLabel = ( localize(
|
|
634
|
+
let ariaLabel = ( localize(6035, "Debug Console"));
|
|
635
635
|
if (!this.configurationService.getValue(AccessibilityVerbositySettingId.Debug)) {
|
|
636
636
|
return ariaLabel;
|
|
637
637
|
}
|
|
638
638
|
const keybinding = this.keybindingService.lookupKeybinding(AccessibilityCommandId.OpenAccessibilityHelp)?.getAriaLabel();
|
|
639
639
|
if (keybinding) {
|
|
640
|
-
ariaLabel = ( localize(
|
|
640
|
+
ariaLabel = ( localize(6036, "{0}, use ({1}) for accessibility help", ariaLabel, keybinding));
|
|
641
641
|
}
|
|
642
642
|
else {
|
|
643
643
|
ariaLabel = ( localize(
|
|
644
|
-
|
|
644
|
+
6037,
|
|
645
645
|
"{0}, run the command Open Accessibility Help which is currently not triggerable via keybinding.",
|
|
646
646
|
ariaLabel
|
|
647
647
|
));
|
|
@@ -680,7 +680,7 @@ let Repl = class Repl extends FilterViewPane {
|
|
|
680
680
|
},
|
|
681
681
|
renderOptions: {
|
|
682
682
|
after: {
|
|
683
|
-
contentText: ( localize(
|
|
683
|
+
contentText: ( localize(6038, "Please start a debug session to evaluate expressions")),
|
|
684
684
|
color: transparentForeground ? ( transparentForeground.toString()) : undefined
|
|
685
685
|
}
|
|
686
686
|
}
|
|
@@ -792,7 +792,7 @@ class AcceptReplInputAction extends EditorAction {
|
|
|
792
792
|
constructor() {
|
|
793
793
|
super({
|
|
794
794
|
id: 'repl.action.acceptInput',
|
|
795
|
-
label: ( localize2(
|
|
795
|
+
label: ( localize2(6039, "Debug Console: Accept Input")),
|
|
796
796
|
precondition: CONTEXT_IN_DEBUG_REPL,
|
|
797
797
|
kbOpts: {
|
|
798
798
|
kbExpr: EditorContextKeys.textInputFocus,
|
|
@@ -812,7 +812,7 @@ class FilterReplAction extends ViewAction {
|
|
|
812
812
|
super({
|
|
813
813
|
viewId: REPL_VIEW_ID,
|
|
814
814
|
id: 'repl.action.filter',
|
|
815
|
-
title: ( localize(
|
|
815
|
+
title: ( localize(6040, "Debug Console: Focus Filter")),
|
|
816
816
|
precondition: CONTEXT_IN_DEBUG_REPL,
|
|
817
817
|
keybinding: [{
|
|
818
818
|
when: EditorContextKeys.textInputFocus,
|
|
@@ -830,7 +830,7 @@ class FindReplAction extends ViewAction {
|
|
|
830
830
|
super({
|
|
831
831
|
viewId: REPL_VIEW_ID,
|
|
832
832
|
id: 'repl.action.find',
|
|
833
|
-
title: ( localize(
|
|
833
|
+
title: ( localize(6041, "Debug Console: Focus Find")),
|
|
834
834
|
precondition: CONTEXT_IN_DEBUG_REPL,
|
|
835
835
|
keybinding: [{
|
|
836
836
|
when: ( ContextKeyExpr.or(CONTEXT_IN_DEBUG_REPL, ( ContextKeyExpr.equals('focusedView', 'workbench.panel.repl.view')))),
|
|
@@ -858,7 +858,7 @@ class ReplCopyAllAction extends EditorAction {
|
|
|
858
858
|
constructor() {
|
|
859
859
|
super({
|
|
860
860
|
id: 'repl.action.copyAll',
|
|
861
|
-
label: ( localize(
|
|
861
|
+
label: ( localize(6042, "Debug: Console Copy All")),
|
|
862
862
|
alias: 'Debug Console Copy All',
|
|
863
863
|
precondition: CONTEXT_IN_DEBUG_REPL,
|
|
864
864
|
});
|
|
@@ -895,7 +895,7 @@ registerAction2(class extends ViewAction {
|
|
|
895
895
|
super({
|
|
896
896
|
id: selectReplCommandId,
|
|
897
897
|
viewId: REPL_VIEW_ID,
|
|
898
|
-
title: ( localize(
|
|
898
|
+
title: ( localize(6043, "Select Debug Console")),
|
|
899
899
|
f1: false,
|
|
900
900
|
menu: {
|
|
901
901
|
id: MenuId.ViewTitle,
|
|
@@ -924,9 +924,9 @@ registerAction2(class extends ViewAction {
|
|
|
924
924
|
super({
|
|
925
925
|
id: 'workbench.debug.panel.action.clearReplAction',
|
|
926
926
|
viewId: REPL_VIEW_ID,
|
|
927
|
-
title: ( localize2(
|
|
927
|
+
title: ( localize2(6044, 'Clear Console')),
|
|
928
928
|
metadata: {
|
|
929
|
-
description: ( localize2(
|
|
929
|
+
description: ( localize2(6045, 'Clears all program output from your debug REPL'))
|
|
930
930
|
},
|
|
931
931
|
f1: true,
|
|
932
932
|
icon: debugConsoleClearAll,
|
|
@@ -958,7 +958,7 @@ registerAction2(class extends ViewAction {
|
|
|
958
958
|
constructor() {
|
|
959
959
|
super({
|
|
960
960
|
id: 'debug.collapseRepl',
|
|
961
|
-
title: ( localize(
|
|
961
|
+
title: ( localize(6046, "Collapse All")),
|
|
962
962
|
viewId: REPL_VIEW_ID,
|
|
963
963
|
menu: {
|
|
964
964
|
id: MenuId.DebugConsoleContext,
|
|
@@ -976,7 +976,7 @@ registerAction2(class extends ViewAction {
|
|
|
976
976
|
constructor() {
|
|
977
977
|
super({
|
|
978
978
|
id: 'debug.replPaste',
|
|
979
|
-
title: ( localize(
|
|
979
|
+
title: ( localize(6047, "Paste")),
|
|
980
980
|
viewId: REPL_VIEW_ID,
|
|
981
981
|
precondition: ( CONTEXT_DEBUG_STATE.notEqualsTo(getStateLabel(State.Inactive))),
|
|
982
982
|
menu: {
|
|
@@ -1006,7 +1006,7 @@ registerAction2(class extends ViewAction {
|
|
|
1006
1006
|
constructor() {
|
|
1007
1007
|
super({
|
|
1008
1008
|
id: 'workbench.debug.action.copyAll',
|
|
1009
|
-
title: ( localize(
|
|
1009
|
+
title: ( localize(6048, "Copy All")),
|
|
1010
1010
|
viewId: REPL_VIEW_ID,
|
|
1011
1011
|
menu: {
|
|
1012
1012
|
id: MenuId.DebugConsoleContext,
|
|
@@ -1024,7 +1024,7 @@ registerAction2(class extends Action2 {
|
|
|
1024
1024
|
constructor() {
|
|
1025
1025
|
super({
|
|
1026
1026
|
id: 'debug.replCopy',
|
|
1027
|
-
title: ( localize(
|
|
1027
|
+
title: ( localize(6049, "Copy")),
|
|
1028
1028
|
menu: {
|
|
1029
1029
|
id: MenuId.DebugConsoleContext,
|
|
1030
1030
|
group: '2_cutcopypaste',
|
|
@@ -1067,7 +1067,7 @@ registerAction2(class extends Action2 {
|
|
|
1067
1067
|
super({
|
|
1068
1068
|
id: FOCUS_REPL_ID,
|
|
1069
1069
|
category: DEBUG_COMMAND_CATEGORY,
|
|
1070
|
-
title: ( localize2(
|
|
1070
|
+
title: ( localize2(6050, "Focus on Debug Console View")),
|
|
1071
1071
|
});
|
|
1072
1072
|
}
|
|
1073
1073
|
async run(accessor) {
|
|
@@ -42,41 +42,41 @@ class ReplAccessibilityHelpProvider extends Disposable {
|
|
|
42
42
|
provideContent() {
|
|
43
43
|
return [
|
|
44
44
|
( localize(
|
|
45
|
-
|
|
45
|
+
6051,
|
|
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
|
+
6052,
|
|
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
|
+
6053,
|
|
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
|
+
6054,
|
|
61
61
|
"The debug console output history can be navigated with the up and down arrow keys."
|
|
62
62
|
)),
|
|
63
63
|
( localize(
|
|
64
|
-
|
|
64
|
+
6055,
|
|
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
|
+
6056,
|
|
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
|
+
6057,
|
|
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
|
+
6058,
|
|
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');
|