@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.
- package/index.js +1 -1
- package/package.json +14 -16
- package/vscode/src/vs/workbench/contrib/debug/browser/callStackView.d.ts +1 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/callStackView.js +22 -24
- package/vscode/src/vs/workbench/contrib/debug/browser/debug.contribution.js +133 -133
- package/vscode/src/vs/workbench/contrib/debug/browser/debugActionViewItems.js +8 -7
- package/vscode/src/vs/workbench/contrib/debug/browser/debugAdapterManager.d.ts +1 -1
- 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 +27 -27
- package/vscode/src/vs/workbench/contrib/debug/browser/debugMemory.d.ts +2 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/debugMemory.js +5 -4
- package/vscode/src/vs/workbench/contrib/debug/browser/debugQuickAccess.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/debugQuickAccess.js +23 -16
- package/vscode/src/vs/workbench/contrib/debug/browser/debugService.js +24 -24
- package/vscode/src/vs/workbench/contrib/debug/browser/debugSession.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/debugSession.js +44 -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 +2 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/debugToolBar.js +14 -10
- package/vscode/src/vs/workbench/contrib/debug/browser/debugViewlet.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/debugViewlet.js +7 -7
- package/vscode/src/vs/workbench/contrib/debug/browser/disassemblyView.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/disassemblyView.js +12 -12
- package/vscode/src/vs/workbench/contrib/debug/browser/loadedScriptsView.d.ts +1 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/loadedScriptsView.js +11 -13
- package/vscode/src/vs/workbench/contrib/debug/browser/rawDebugSession.js +5 -5
- package/vscode/src/vs/workbench/contrib/debug/browser/repl.d.ts +6 -7
- package/vscode/src/vs/workbench/contrib/debug/browser/repl.js +36 -45
- package/vscode/src/vs/workbench/contrib/debug/browser/replAccessibilityHelp.js +8 -8
- package/vscode/src/vs/workbench/contrib/debug/browser/replViewer.js +6 -6
- 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 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/watchExpressionsView.js +52 -18
- package/vscode/src/vs/workbench/contrib/debug/browser/welcomeView.d.ts +1 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/welcomeView.js +10 -12
- package/vscode/src/vs/workbench/contrib/debug/common/debugContentProvider.d.ts +5 -4
- package/vscode/src/vs/workbench/contrib/debug/common/debugContentProvider.js +7 -7
- package/vscode/src/vs/workbench/contrib/debug/common/debugLifecycle.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/common/debugSchemas.js +44 -44
- package/vscode/src/vs/workbench/contrib/debug/common/debugStorage.js +2 -7
- package/vscode/src/vs/workbench/contrib/debug/common/debugVisualizers.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/debugger.d.ts +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
- package/vscode/src/vs/workbench/contrib/debug/browser/debugEditorContribution.d.ts +0 -64
- package/vscode/src/vs/workbench/contrib/debug/browser/debugEditorContribution.js +0 -758
- package/vscode/src/vs/workbench/contrib/debug/browser/debugHover.d.ts +0 -65
- package/vscode/src/vs/workbench/contrib/debug/browser/debugHover.js +0 -419
- package/vscode/src/vs/workbench/contrib/debug/browser/exceptionWidget.d.ts +0 -18
- package/vscode/src/vs/workbench/contrib/debug/browser/exceptionWidget.js +0 -116
- package/vscode/src/vs/workbench/contrib/debug/browser/media/exceptionWidget.css.js +0 -6
- package/vscode/src/vs/workbench/contrib/debug/browser/variablesView.d.ts +0 -79
- package/vscode/src/vs/workbench/contrib/debug/browser/variablesView.js +0 -730
- package/vscode/src/vs/workbench/contrib/debug/common/debugContext.d.ts +0 -6
- package/vscode/src/vs/workbench/contrib/debug/common/debugContext.js +0 -17
|
@@ -50,10 +50,10 @@ let DebugStatusContribution = class DebugStatusContribution {
|
|
|
50
50
|
text = (manager.getLaunches().length > 1 ? `${name} (${manager.selectedConfiguration.launch.name})` : name);
|
|
51
51
|
}
|
|
52
52
|
return {
|
|
53
|
-
name: ( localize(
|
|
53
|
+
name: ( localize(5620, "Debug")),
|
|
54
54
|
text: '$(debug-alt-small) ' + text,
|
|
55
|
-
ariaLabel: ( localize(
|
|
56
|
-
tooltip: ( localize(
|
|
55
|
+
ariaLabel: ( localize(5621, "Debug: {0}", text)),
|
|
56
|
+
tooltip: ( localize(5622, "Select and Start Debug Configuration")),
|
|
57
57
|
command: 'workbench.action.debug.selectandstart'
|
|
58
58
|
};
|
|
59
59
|
}
|
|
@@ -30,9 +30,9 @@ var TaskRunResult;
|
|
|
30
30
|
TaskRunResult[TaskRunResult["Success"] = 1] = "Success";
|
|
31
31
|
})(TaskRunResult || (TaskRunResult = {}));
|
|
32
32
|
const DEBUG_TASK_ERROR_CHOICE_KEY = 'debug.taskerrorchoice';
|
|
33
|
-
const ABORT_LABEL = ( localize(
|
|
34
|
-
const DEBUG_ANYWAY_LABEL = ( localize(
|
|
35
|
-
const DEBUG_ANYWAY_LABEL_NO_MEMO = ( localize(
|
|
33
|
+
const ABORT_LABEL = ( localize(5623, "Abort"));
|
|
34
|
+
const DEBUG_ANYWAY_LABEL = ( localize(5624, "&&Debug Anyway"));
|
|
35
|
+
const DEBUG_ANYWAY_LABEL_NO_MEMO = ( localize(5625, "Debug Anyway"));
|
|
36
36
|
let DebugTaskRunner = class DebugTaskRunner {
|
|
37
37
|
constructor(taskService, markerService, configurationService, viewsService, dialogService, storageService, commandService, progressService) {
|
|
38
38
|
this.taskService = taskService;
|
|
@@ -74,17 +74,17 @@ let DebugTaskRunner = class DebugTaskRunner {
|
|
|
74
74
|
}
|
|
75
75
|
const taskLabel = typeof taskId === 'string' ? taskId : taskId ? taskId.name : '';
|
|
76
76
|
const message = errorCount > 1
|
|
77
|
-
? ( localize(
|
|
77
|
+
? ( localize(5626, "Errors exist after running preLaunchTask '{0}'.", taskLabel))
|
|
78
78
|
: errorCount === 1
|
|
79
|
-
? ( localize(
|
|
79
|
+
? ( localize(5627, "Error exists after running preLaunchTask '{0}'.", taskLabel))
|
|
80
80
|
: taskSummary && typeof taskSummary.exitCode === 'number'
|
|
81
81
|
? ( localize(
|
|
82
|
-
|
|
82
|
+
5628,
|
|
83
83
|
"The preLaunchTask '{0}' terminated with exit code {1}.",
|
|
84
84
|
taskLabel,
|
|
85
85
|
taskSummary.exitCode
|
|
86
86
|
))
|
|
87
|
-
: ( localize(
|
|
87
|
+
: ( localize(5629, "The preLaunchTask '{0}' terminated.", taskLabel));
|
|
88
88
|
let DebugChoice;
|
|
89
89
|
(function (DebugChoice) {
|
|
90
90
|
DebugChoice[DebugChoice["DebugAnyway"] = 1] = "DebugAnyway";
|
|
@@ -100,7 +100,7 @@ let DebugTaskRunner = class DebugTaskRunner {
|
|
|
100
100
|
run: () => DebugChoice.DebugAnyway
|
|
101
101
|
},
|
|
102
102
|
{
|
|
103
|
-
label: ( localize(
|
|
103
|
+
label: ( localize(5630, "&&Show Errors")),
|
|
104
104
|
run: () => DebugChoice.ShowErrors
|
|
105
105
|
}
|
|
106
106
|
],
|
|
@@ -109,7 +109,7 @@ let DebugTaskRunner = class DebugTaskRunner {
|
|
|
109
109
|
run: () => DebugChoice.Cancel
|
|
110
110
|
},
|
|
111
111
|
checkbox: {
|
|
112
|
-
label: ( localize(
|
|
112
|
+
label: ( localize(5631, "Remember my choice in user settings")),
|
|
113
113
|
}
|
|
114
114
|
});
|
|
115
115
|
const debugAnyway = result === DebugChoice.DebugAnyway;
|
|
@@ -145,7 +145,7 @@ let DebugTaskRunner = class DebugTaskRunner {
|
|
|
145
145
|
message: err.message,
|
|
146
146
|
buttons: [
|
|
147
147
|
{
|
|
148
|
-
label: ( localize(
|
|
148
|
+
label: ( localize(5624, "&&Debug Anyway")),
|
|
149
149
|
run: () => DebugChoice.DebugAnyway
|
|
150
150
|
},
|
|
151
151
|
{
|
|
@@ -157,7 +157,7 @@ let DebugTaskRunner = class DebugTaskRunner {
|
|
|
157
157
|
run: () => DebugChoice.Cancel
|
|
158
158
|
},
|
|
159
159
|
checkbox: {
|
|
160
|
-
label: ( localize(
|
|
160
|
+
label: ( localize(5632, "Remember my choice for this task"))
|
|
161
161
|
}
|
|
162
162
|
});
|
|
163
163
|
choice = result;
|
|
@@ -178,7 +178,7 @@ let DebugTaskRunner = class DebugTaskRunner {
|
|
|
178
178
|
}
|
|
179
179
|
if (!root) {
|
|
180
180
|
return Promise.reject(( new Error(( localize(
|
|
181
|
-
|
|
181
|
+
5633,
|
|
182
182
|
"Task '{0}' can not be referenced from a launch configuration that is in a different workspace folder.",
|
|
183
183
|
typeof taskId === 'string' ? taskId : taskId.type
|
|
184
184
|
)))));
|
|
@@ -186,8 +186,8 @@ let DebugTaskRunner = class DebugTaskRunner {
|
|
|
186
186
|
const task = await this.taskService.getTask(root, taskId);
|
|
187
187
|
if (!task) {
|
|
188
188
|
const errorMessage = typeof taskId === 'string'
|
|
189
|
-
? ( localize(
|
|
190
|
-
: ( localize(
|
|
189
|
+
? ( localize(5634, "Could not find the task '{0}'.", taskId))
|
|
190
|
+
: ( localize(5635, "Could not find the specified task."));
|
|
191
191
|
return Promise.reject(createErrorWithActions(errorMessage, [( new Action(
|
|
192
192
|
DEBUG_CONFIGURE_COMMAND_ID,
|
|
193
193
|
DEBUG_CONFIGURE_LABEL,
|
|
@@ -245,7 +245,7 @@ let DebugTaskRunner = class DebugTaskRunner {
|
|
|
245
245
|
store.add(disposableTimeout(() => {
|
|
246
246
|
if (!taskStarted) {
|
|
247
247
|
const errorMessage = ( localize(
|
|
248
|
-
|
|
248
|
+
5636,
|
|
249
249
|
"The task '{0}' has not exited and doesn't have a 'problemMatcher' defined. Make sure to define a problem matcher for watch tasks.",
|
|
250
250
|
typeof taskId === 'string' ? taskId : JSON.stringify(taskId)
|
|
251
251
|
));
|
|
@@ -256,14 +256,14 @@ let DebugTaskRunner = class DebugTaskRunner {
|
|
|
256
256
|
if (!hideSlowPreLaunchWarning) {
|
|
257
257
|
store.add(disposableTimeout(() => {
|
|
258
258
|
const message = ( localize(
|
|
259
|
-
|
|
259
|
+
5637,
|
|
260
260
|
"Waiting for preLaunchTask '{0}'...",
|
|
261
261
|
task.configurationProperties.name
|
|
262
262
|
));
|
|
263
263
|
const buttons = [DEBUG_ANYWAY_LABEL_NO_MEMO, ABORT_LABEL];
|
|
264
264
|
const canConfigure = task instanceof CustomTask || task instanceof ConfiguringTask;
|
|
265
265
|
if (canConfigure) {
|
|
266
|
-
buttons.splice(1, 0, ( localize(
|
|
266
|
+
buttons.splice(1, 0, ( localize(5638, "Configure Task")));
|
|
267
267
|
}
|
|
268
268
|
this.progressService.withProgress({ location: ProgressLocation.Notification, title: message, buttons }, () => result.catch(() => { }), (choice) => {
|
|
269
269
|
if (choice === undefined) ;
|
|
@@ -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-1bb39316-6fbf-572e-ab6a-818a2496c14f-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";
|
|
@@ -36,6 +36,7 @@ export declare class DebugToolBar extends Themable implements IWorkbenchContribu
|
|
|
36
36
|
private readonly trackPixelRatioListener;
|
|
37
37
|
constructor(notificationService: INotificationService, telemetryService: ITelemetryService, debugService: IDebugService, layoutService: IWorkbenchLayoutService, storageService: IStorageService, configurationService: IConfigurationService, themeService: IThemeService, instantiationService: IInstantiationService, menuService: IMenuService, contextKeyService: IContextKeyService);
|
|
38
38
|
private registerListeners;
|
|
39
|
+
private computeCurrentXPercent;
|
|
39
40
|
private getCurrentXPercent;
|
|
40
41
|
private getCurrentYPosition;
|
|
41
42
|
private storePosition;
|
|
@@ -14,7 +14,7 @@ import { DisposableStore, MutableDisposable, markAsSingleton, dispose } from '@c
|
|
|
14
14
|
import { platform, Platform } from '@codingame/monaco-vscode-api/vscode/vs/base/common/platform';
|
|
15
15
|
import { ThemeIcon } from '@codingame/monaco-vscode-api/vscode/vs/base/common/themables';
|
|
16
16
|
import { localize } from '@codingame/monaco-vscode-api/vscode/vs/nls';
|
|
17
|
-
import { DropdownWithPrimaryActionViewItem } from '@codingame/monaco-vscode-
|
|
17
|
+
import { DropdownWithPrimaryActionViewItem } from '@codingame/monaco-vscode-1bb39316-6fbf-572e-ab6a-818a2496c14f-common/vscode/vs/platform/actions/browser/dropdownWithPrimaryActionViewItem';
|
|
18
18
|
import { createActionViewItem, getFlatActionBarActions } from '@codingame/monaco-vscode-api/vscode/vs/platform/actions/browser/menuEntryActionViewItem';
|
|
19
19
|
import { MenuId, MenuRegistry } from '@codingame/monaco-vscode-api/vscode/vs/platform/actions/common/actions';
|
|
20
20
|
import { IMenuService } from '@codingame/monaco-vscode-api/vscode/vs/platform/actions/common/actions.service';
|
|
@@ -39,15 +39,15 @@ import '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colors/quic
|
|
|
39
39
|
import '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colors/searchColors';
|
|
40
40
|
import { Themable } from '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/themeService';
|
|
41
41
|
import { IThemeService } from '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/themeService.service';
|
|
42
|
-
import {
|
|
43
|
-
import { LayoutSettings, Parts, EditorTabsMode } from '@codingame/monaco-vscode-
|
|
42
|
+
import { getTitleBarStyle, TitlebarStyle } from '@codingame/monaco-vscode-api/vscode/vs/platform/window/common/window';
|
|
43
|
+
import { LayoutSettings, Parts, EditorTabsMode } from '@codingame/monaco-vscode-81f603ca-d6ea-5402-90dd-3014dffc63b4-common/vscode/vs/workbench/services/layout/browser/layoutService';
|
|
44
44
|
import { IWorkbenchLayoutService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/layout/browser/layoutService.service';
|
|
45
45
|
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';
|
|
46
46
|
import { IDebugService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/debug/common/debug.service';
|
|
47
47
|
import { FocusSessionActionViewItem } from './debugActionViewItems.js';
|
|
48
|
-
import { debugToolBarBackground, debugToolBarBorder } from '@codingame/monaco-vscode-
|
|
48
|
+
import { debugToolBarBackground, debugToolBarBorder } from '@codingame/monaco-vscode-1bb39316-6fbf-572e-ab6a-818a2496c14f-common/vscode/vs/workbench/contrib/debug/browser/debugColors';
|
|
49
49
|
import { FOCUS_SESSION_ID, STOP_ID, DISCONNECT_ID, CONTINUE_ID, CONTINUE_LABEL, PAUSE_ID, PAUSE_LABEL, STOP_LABEL, DISCONNECT_LABEL, STEP_OVER_ID, STEP_OVER_LABEL, STEP_INTO_ID, STEP_INTO_LABEL, STEP_OUT_ID, STEP_OUT_LABEL, RESTART_SESSION_ID, RESTART_LABEL, STEP_BACK_ID, REVERSE_CONTINUE_ID, FOCUS_SESSION_LABEL, DISCONNECT_AND_SUSPEND_LABEL, DISCONNECT_AND_SUSPEND_ID } from '@codingame/monaco-vscode-88aa9a78-75f5-5aaa-89e9-bbdd580b3b5c-common/vscode/vs/workbench/contrib/debug/browser/debugCommands';
|
|
50
|
-
import { debugGripper, debugContinue, debugPause, debugStop, debugDisconnect, debugStepOver, debugStepInto, debugStepOut, debugRestart, debugStepBack, debugReverseContinue } from '@codingame/monaco-vscode-
|
|
50
|
+
import { debugGripper, debugContinue, debugPause, debugStop, debugDisconnect, debugStepOver, debugStepInto, debugStepOut, debugRestart, debugStepBack, debugReverseContinue } from '@codingame/monaco-vscode-1bb39316-6fbf-572e-ab6a-818a2496c14f-common/vscode/vs/workbench/contrib/debug/browser/debugIcons';
|
|
51
51
|
import './media/debugToolBar.css.js';
|
|
52
52
|
|
|
53
53
|
const DEBUG_TOOLBAR_POSITION_KEY = 'debug.actionswidgetposition';
|
|
@@ -68,7 +68,7 @@ let DebugToolBar = class DebugToolBar extends Themable {
|
|
|
68
68
|
this.auxWindowCoordinates = ( new WeakMap());
|
|
69
69
|
this.trackPixelRatioListener = this._register(( new MutableDisposable()));
|
|
70
70
|
this.$el = $('div.debug-toolbar');
|
|
71
|
-
const customTitleBar = this.configurationService
|
|
71
|
+
const customTitleBar = getTitleBarStyle(this.configurationService) === TitlebarStyle.CUSTOM;
|
|
72
72
|
const controlsOnLeft = customTitleBar && platform === Platform.Mac;
|
|
73
73
|
const controlsOnRight = customTitleBar && (platform === Platform.Windows || platform === Platform.Linux);
|
|
74
74
|
this.$el.style.transform = `translate(
|
|
@@ -149,7 +149,7 @@ let DebugToolBar = class DebugToolBar extends Themable {
|
|
|
149
149
|
this.dragArea.classList.add('dragged');
|
|
150
150
|
const activeWindow = getWindow(this.layoutService.activeContainer);
|
|
151
151
|
const originEvent = ( new StandardMouseEvent(activeWindow, e));
|
|
152
|
-
const originX = this.
|
|
152
|
+
const originX = this.computeCurrentXPercent();
|
|
153
153
|
const originY = this.getCurrentYPosition();
|
|
154
154
|
const mouseMoveListener = addDisposableGenericMouseMoveListener(activeWindow, (e) => {
|
|
155
155
|
const mouseMoveEvent = ( new StandardMouseEvent(activeWindow, e));
|
|
@@ -173,6 +173,10 @@ let DebugToolBar = class DebugToolBar extends Themable {
|
|
|
173
173
|
}
|
|
174
174
|
}));
|
|
175
175
|
}
|
|
176
|
+
computeCurrentXPercent() {
|
|
177
|
+
const { left, width } = this.$el.getBoundingClientRect();
|
|
178
|
+
return (left + width / 2) / getWindow(this.$el).innerWidth;
|
|
179
|
+
}
|
|
176
180
|
getCurrentXPercent() {
|
|
177
181
|
return Number(this.$el.style.getPropertyValue('--x-position'));
|
|
178
182
|
}
|
|
@@ -306,7 +310,7 @@ function createDisconnectMenuItemAction(action, disposables, accessor, options)
|
|
|
306
310
|
if (!secondary.length) {
|
|
307
311
|
return undefined;
|
|
308
312
|
}
|
|
309
|
-
const dropdownAction = disposables.add(( new Action('notebook.moreRunActions', ( localize(
|
|
313
|
+
const dropdownAction = disposables.add(( new Action('notebook.moreRunActions', ( localize(5639, "More...")), 'codicon-chevron-down', true)));
|
|
310
314
|
const item = instantiationService.createInstance(DropdownWithPrimaryActionViewItem, action, dropdownAction, secondary, 'debug-stop-actions', options);
|
|
311
315
|
return item;
|
|
312
316
|
}
|
|
@@ -364,8 +368,8 @@ registerDebugToolBarItem(STEP_OVER_ID, STEP_OVER_LABEL, 20, debugStepOver, undef
|
|
|
364
368
|
registerDebugToolBarItem(STEP_INTO_ID, STEP_INTO_LABEL, 30, debugStepInto, undefined, ( CONTEXT_DEBUG_STATE.isEqualTo('stopped')));
|
|
365
369
|
registerDebugToolBarItem(STEP_OUT_ID, STEP_OUT_LABEL, 40, debugStepOut, undefined, ( CONTEXT_DEBUG_STATE.isEqualTo('stopped')));
|
|
366
370
|
registerDebugToolBarItem(RESTART_SESSION_ID, RESTART_LABEL, 60, debugRestart);
|
|
367
|
-
registerDebugToolBarItem(STEP_BACK_ID, ( localize(
|
|
368
|
-
registerDebugToolBarItem(REVERSE_CONTINUE_ID, ( localize(
|
|
371
|
+
registerDebugToolBarItem(STEP_BACK_ID, ( localize(5640, "Step Back")), 50, debugStepBack, CONTEXT_STEP_BACK_SUPPORTED, ( CONTEXT_DEBUG_STATE.isEqualTo('stopped')));
|
|
372
|
+
registerDebugToolBarItem(REVERSE_CONTINUE_ID, ( localize(5641, "Reverse")), 55, debugReverseContinue, CONTEXT_STEP_BACK_SUPPORTED, ( CONTEXT_DEBUG_STATE.isEqualTo('stopped')));
|
|
369
373
|
registerDebugToolBarItem(FOCUS_SESSION_ID, FOCUS_SESSION_LABEL, 100, Codicon.listTree, ( ContextKeyExpr.and(CONTEXT_MULTI_SESSION_DEBUG, ( CONTEXT_TOOLBAR_COMMAND_CENTER.negate()))));
|
|
370
374
|
MenuRegistry.appendMenuItem(MenuId.DebugToolBarStop, {
|
|
371
375
|
group: 'navigation',
|
|
@@ -12,7 +12,7 @@ import { ITelemetryService } from "@codingame/monaco-vscode-api/vscode/vs/platfo
|
|
|
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
14
|
import { ViewPane } from "@codingame/monaco-vscode-65619f8f-0eab-5d8b-855a-43b6353fe527-common/vscode/vs/workbench/browser/parts/views/viewPane";
|
|
15
|
-
import { ViewPaneContainer } from "@codingame/monaco-vscode-
|
|
15
|
+
import { ViewPaneContainer } from "@codingame/monaco-vscode-12c5f9eb-72d3-57ca-babd-5bef7aa9de3b-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";
|
|
@@ -16,13 +16,13 @@ import { IStorageService } from '@codingame/monaco-vscode-api/vscode/vs/platform
|
|
|
16
16
|
import { ITelemetryService } from '@codingame/monaco-vscode-api/vscode/vs/platform/telemetry/common/telemetry.service';
|
|
17
17
|
import { IThemeService } from '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/themeService.service';
|
|
18
18
|
import { IWorkspaceContextService } from '@codingame/monaco-vscode-api/vscode/vs/platform/workspace/common/workspace.service';
|
|
19
|
-
import { ViewPaneContainer, ViewsSubMenu } from '@codingame/monaco-vscode-
|
|
19
|
+
import { ViewPaneContainer, ViewsSubMenu } from '@codingame/monaco-vscode-12c5f9eb-72d3-57ca-babd-5bef7aa9de3b-common/vscode/vs/workbench/browser/parts/views/viewPaneContainer';
|
|
20
20
|
import { WorkbenchStateContext } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/contextkeys';
|
|
21
21
|
import { IViewDescriptorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/views.service';
|
|
22
22
|
import { IViewsService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/views/common/viewsService.service';
|
|
23
23
|
import { StartDebugActionViewItem, FocusSessionActionViewItem } from './debugActionViewItems.js';
|
|
24
24
|
import { DEBUG_START_COMMAND_ID, FOCUS_SESSION_ID, STOP_ID, DISCONNECT_ID, DEBUG_START_LABEL, DEBUG_CONFIGURE_LABEL, DEBUG_CONFIGURE_COMMAND_ID, SELECT_AND_START_ID } from '@codingame/monaco-vscode-88aa9a78-75f5-5aaa-89e9-bbdd580b3b5c-common/vscode/vs/workbench/contrib/debug/browser/debugCommands';
|
|
25
|
-
import { debugConfigure } from '@codingame/monaco-vscode-
|
|
25
|
+
import { debugConfigure } from '@codingame/monaco-vscode-1bb39316-6fbf-572e-ab6a-818a2496c14f-common/vscode/vs/workbench/contrib/debug/browser/debugIcons';
|
|
26
26
|
import { createDisconnectMenuItemAction } from './debugToolBar.js';
|
|
27
27
|
import { WelcomeView } from './welcomeView.js';
|
|
28
28
|
import { VIEWLET_ID, CONTEXT_DEBUG_UX_KEY, State, BREAKPOINTS_VIEW_ID, CONTEXT_DEBUG_STATE, getStateLabel, CONTEXT_DEBUG_UX, CONTEXT_DEBUGGERS_AVAILABLE, EDITOR_CONTRIBUTION_ID, REPL_VIEW_ID } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/debug/common/debug';
|
|
@@ -169,10 +169,10 @@ registerAction2(class extends Action2 {
|
|
|
169
169
|
title: {
|
|
170
170
|
value: DEBUG_CONFIGURE_LABEL,
|
|
171
171
|
original: 'Open \'launch.json\'',
|
|
172
|
-
mnemonicTitle: ( localize(
|
|
172
|
+
mnemonicTitle: ( localize(5642, "Open &&Configurations"))
|
|
173
173
|
},
|
|
174
174
|
metadata: {
|
|
175
|
-
description: ( localize2(
|
|
175
|
+
description: ( localize2(5643, 'Opens the file used to configure how your program is debugged'))
|
|
176
176
|
},
|
|
177
177
|
f1: true,
|
|
178
178
|
icon: debugConfigure,
|
|
@@ -212,7 +212,7 @@ registerAction2(class extends Action2 {
|
|
|
212
212
|
const picked = await quickInputService.pick(picks, {
|
|
213
213
|
activeItem: picks[0],
|
|
214
214
|
placeHolder: ( localize(
|
|
215
|
-
|
|
215
|
+
5644,
|
|
216
216
|
"Select a workspace folder to create a launch.json file in or add it to the workspace config file"
|
|
217
217
|
))
|
|
218
218
|
});
|
|
@@ -236,7 +236,7 @@ registerAction2(class extends Action2 {
|
|
|
236
236
|
constructor() {
|
|
237
237
|
super({
|
|
238
238
|
id: 'debug.toggleReplIgnoreFocus',
|
|
239
|
-
title: ( localize(
|
|
239
|
+
title: ( localize(5645, "Debug Console")),
|
|
240
240
|
toggled: ( ContextKeyExpr.has(`view.${REPL_VIEW_ID}.visible`)),
|
|
241
241
|
menu: [{
|
|
242
242
|
id: ViewsSubMenu,
|
|
@@ -261,7 +261,7 @@ MenuRegistry.appendMenuItem(MenuId.ViewContainerTitle, {
|
|
|
261
261
|
order: 10,
|
|
262
262
|
command: {
|
|
263
263
|
id: SELECT_AND_START_ID,
|
|
264
|
-
title: ( localize(
|
|
264
|
+
title: ( localize(5646, "Start Additional Session")),
|
|
265
265
|
}
|
|
266
266
|
});
|
|
267
267
|
|
|
@@ -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-12c5f9eb-72d3-57ca-babd-5bef7aa9de3b-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";
|
|
@@ -13,7 +13,7 @@ import { isCodeEditor } from '@codingame/monaco-vscode-api/vscode/vs/editor/brow
|
|
|
13
13
|
import { BareFontInfo } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/config/fontInfo';
|
|
14
14
|
import { Range } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/core/range';
|
|
15
15
|
import { StringBuilder } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/core/stringBuilder';
|
|
16
|
-
import { ITextModelService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/services/resolverService';
|
|
16
|
+
import { ITextModelService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/services/resolverService.service';
|
|
17
17
|
import { localize } from '@codingame/monaco-vscode-api/vscode/vs/nls';
|
|
18
18
|
import { IConfigurationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service';
|
|
19
19
|
import { IContextKeyService } from '@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey.service';
|
|
@@ -36,9 +36,9 @@ 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-12c5f9eb-72d3-57ca-babd-5bef7aa9de3b-common/vscode/vs/workbench/browser/parts/editor/editorPane';
|
|
40
40
|
import { topStackFrameColor, focusedStackFrameColor } from '@codingame/monaco-vscode-0b087f42-a5a3-5eb9-9bfd-1eebc1bba163-common/vscode/vs/workbench/contrib/debug/browser/callStackEditorContribution';
|
|
41
|
-
import { breakpoint, debugBreakpointHint, debugStackframe, debugStackframeFocused } from '@codingame/monaco-vscode-
|
|
41
|
+
import { breakpoint, debugBreakpointHint, debugStackframe, debugStackframeFocused } from '@codingame/monaco-vscode-1bb39316-6fbf-572e-ab6a-818a2496c14f-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';
|
|
43
43
|
import { IDebugService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/debug/common/debug.service';
|
|
44
44
|
import { InstructionBreakpoint } from '@codingame/monaco-vscode-88aa9a78-75f5-5aaa-89e9-bbdd580b3b5c-common/vscode/vs/workbench/contrib/debug/common/debugModel';
|
|
@@ -57,7 +57,7 @@ const disassemblyNotAvailable = {
|
|
|
57
57
|
address: 0n,
|
|
58
58
|
instruction: {
|
|
59
59
|
address: '-1',
|
|
60
|
-
instruction: ( localize(
|
|
60
|
+
instruction: ( localize(5647, "Disassembly not available."))
|
|
61
61
|
},
|
|
62
62
|
};
|
|
63
63
|
let DisassemblyView = class DisassemblyView extends EditorPane {
|
|
@@ -169,7 +169,7 @@ let DisassemblyView = class DisassemblyView extends EditorPane {
|
|
|
169
169
|
project(row) { return row; }
|
|
170
170
|
},
|
|
171
171
|
{
|
|
172
|
-
label: ( localize(
|
|
172
|
+
label: ( localize(5648, "instructions")),
|
|
173
173
|
tooltip: '',
|
|
174
174
|
weight: 0.3,
|
|
175
175
|
templateId: InstructionRenderer.TEMPLATE_ID,
|
|
@@ -593,8 +593,8 @@ let InstructionRenderer = class InstructionRenderer extends Disposable {
|
|
|
593
593
|
this._topStackFrameColor = themeService.getColorTheme().getColor(topStackFrameColor);
|
|
594
594
|
this._focusedStackFrameColor = themeService.getColorTheme().getColor(focusedStackFrameColor);
|
|
595
595
|
this._register(themeService.onDidColorThemeChange(e => {
|
|
596
|
-
this._topStackFrameColor = e.getColor(topStackFrameColor);
|
|
597
|
-
this._focusedStackFrameColor = e.getColor(focusedStackFrameColor);
|
|
596
|
+
this._topStackFrameColor = e.theme.getColor(topStackFrameColor);
|
|
597
|
+
this._focusedStackFrameColor = e.theme.getColor(focusedStackFrameColor);
|
|
598
598
|
}));
|
|
599
599
|
}
|
|
600
600
|
renderTemplate(container) {
|
|
@@ -704,7 +704,7 @@ let InstructionRenderer = class InstructionRenderer extends Disposable {
|
|
|
704
704
|
};
|
|
705
705
|
this.editorService.openEditor({
|
|
706
706
|
resource: sourceURI,
|
|
707
|
-
description: ( localize(
|
|
707
|
+
description: ( localize(5649, "from disassembly")),
|
|
708
708
|
options: {
|
|
709
709
|
preserveFocus: false,
|
|
710
710
|
selection: selection,
|
|
@@ -739,18 +739,18 @@ InstructionRenderer = InstructionRenderer_1 = ( __decorate([
|
|
|
739
739
|
], InstructionRenderer));
|
|
740
740
|
class AccessibilityProvider {
|
|
741
741
|
getWidgetAriaLabel() {
|
|
742
|
-
return localize(
|
|
742
|
+
return localize(5650, "Disassembly View");
|
|
743
743
|
}
|
|
744
744
|
getAriaLabel(element) {
|
|
745
745
|
let label = '';
|
|
746
746
|
const instruction = element.instruction;
|
|
747
747
|
if (instruction.address !== '-1') {
|
|
748
|
-
label += `${( localize(
|
|
748
|
+
label += `${( localize(5651, "Address"))}: ${instruction.address}`;
|
|
749
749
|
}
|
|
750
750
|
if (instruction.instructionBytes) {
|
|
751
|
-
label += `, ${( localize(
|
|
751
|
+
label += `, ${( localize(5652, "Bytes"))}: ${instruction.instructionBytes}`;
|
|
752
752
|
}
|
|
753
|
-
label += `, ${( localize(
|
|
753
|
+
label += `, ${( localize(5653, "Instruction"))}: ${instruction.instruction}`;
|
|
754
754
|
return label;
|
|
755
755
|
}
|
|
756
756
|
}
|
|
@@ -6,7 +6,6 @@ import { IInstantiationService } from "@codingame/monaco-vscode-api/vscode/vs/pl
|
|
|
6
6
|
import { IKeybindingService } from "@codingame/monaco-vscode-api/vscode/vs/platform/keybinding/common/keybinding.service";
|
|
7
7
|
import { ILabelService } from "@codingame/monaco-vscode-api/vscode/vs/platform/label/common/label.service";
|
|
8
8
|
import { IOpenerService } from "@codingame/monaco-vscode-api/vscode/vs/platform/opener/common/opener.service";
|
|
9
|
-
import { ITelemetryService } from "@codingame/monaco-vscode-api/vscode/vs/platform/telemetry/common/telemetry.service";
|
|
10
9
|
import { IThemeService } from "@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/themeService.service";
|
|
11
10
|
import { IWorkspaceContextService } from "@codingame/monaco-vscode-api/vscode/vs/platform/workspace/common/workspace.service";
|
|
12
11
|
import { ViewPane } from "@codingame/monaco-vscode-65619f8f-0eab-5d8b-855a-43b6353fe527-common/vscode/vs/workbench/browser/parts/views/viewPane";
|
|
@@ -28,7 +27,7 @@ export declare class LoadedScriptsView extends ViewPane {
|
|
|
28
27
|
private changeScheduler;
|
|
29
28
|
private treeNeedsRefreshOnVisible;
|
|
30
29
|
private filter;
|
|
31
|
-
constructor(options: IViewletViewOptions, contextMenuService: IContextMenuService, keybindingService: IKeybindingService, instantiationService: IInstantiationService, viewDescriptorService: IViewDescriptorService, configurationService: IConfigurationService, editorService: IEditorService, contextKeyService: IContextKeyService, contextService: IWorkspaceContextService, debugService: IDebugService, labelService: ILabelService, pathService: IPathService, openerService: IOpenerService, themeService: IThemeService,
|
|
30
|
+
constructor(options: IViewletViewOptions, contextMenuService: IContextMenuService, keybindingService: IKeybindingService, instantiationService: IInstantiationService, viewDescriptorService: IViewDescriptorService, configurationService: IConfigurationService, editorService: IEditorService, contextKeyService: IContextKeyService, contextService: IWorkspaceContextService, debugService: IDebugService, labelService: ILabelService, pathService: IPathService, openerService: IOpenerService, themeService: IThemeService, hoverService: IHoverService);
|
|
32
31
|
protected renderBody(container: HTMLElement): void;
|
|
33
32
|
protected layoutBody(height: number, width: number): void;
|
|
34
33
|
collapseAll(): void;
|
|
@@ -24,10 +24,9 @@ import { IKeybindingService } from '@codingame/monaco-vscode-api/vscode/vs/platf
|
|
|
24
24
|
import { ILabelService } from '@codingame/monaco-vscode-api/vscode/vs/platform/label/common/label.service';
|
|
25
25
|
import { WorkbenchCompressibleObjectTree } from '@codingame/monaco-vscode-api/vscode/vs/platform/list/browser/listService';
|
|
26
26
|
import { IOpenerService } from '@codingame/monaco-vscode-api/vscode/vs/platform/opener/common/opener.service';
|
|
27
|
-
import { ITelemetryService } from '@codingame/monaco-vscode-api/vscode/vs/platform/telemetry/common/telemetry.service';
|
|
28
27
|
import { IThemeService } from '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/themeService.service';
|
|
29
28
|
import { IWorkspaceContextService } from '@codingame/monaco-vscode-api/vscode/vs/platform/workspace/common/workspace.service';
|
|
30
|
-
import { ResourceLabels } from '@codingame/monaco-vscode-
|
|
29
|
+
import { ResourceLabels } from '@codingame/monaco-vscode-12c5f9eb-72d3-57ca-babd-5bef7aa9de3b-common/vscode/vs/workbench/browser/labels';
|
|
31
30
|
import { ViewPane, ViewAction } from '@codingame/monaco-vscode-65619f8f-0eab-5d8b-855a-43b6353fe527-common/vscode/vs/workbench/browser/parts/views/viewPane';
|
|
32
31
|
import { IViewDescriptorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/views.service';
|
|
33
32
|
import { IEditorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service';
|
|
@@ -333,8 +332,8 @@ function asTreeElement(item, viewState) {
|
|
|
333
332
|
};
|
|
334
333
|
}
|
|
335
334
|
let LoadedScriptsView = class LoadedScriptsView extends ViewPane {
|
|
336
|
-
constructor(options, contextMenuService, keybindingService, instantiationService, viewDescriptorService, configurationService, editorService, contextKeyService, contextService, debugService, labelService, pathService, openerService, themeService,
|
|
337
|
-
super(options, keybindingService, contextMenuService, configurationService, contextKeyService, viewDescriptorService, instantiationService, openerService, themeService,
|
|
335
|
+
constructor(options, contextMenuService, keybindingService, instantiationService, viewDescriptorService, configurationService, editorService, contextKeyService, contextService, debugService, labelService, pathService, openerService, themeService, hoverService) {
|
|
336
|
+
super(options, keybindingService, contextMenuService, configurationService, contextKeyService, viewDescriptorService, instantiationService, openerService, themeService, hoverService);
|
|
338
337
|
this.editorService = editorService;
|
|
339
338
|
this.contextService = contextService;
|
|
340
339
|
this.debugService = debugService;
|
|
@@ -521,8 +520,7 @@ LoadedScriptsView = ( __decorate([
|
|
|
521
520
|
( __param(11, IPathService)),
|
|
522
521
|
( __param(12, IOpenerService)),
|
|
523
522
|
( __param(13, IThemeService)),
|
|
524
|
-
( __param(14,
|
|
525
|
-
( __param(15, IHoverService))
|
|
523
|
+
( __param(14, IHoverService))
|
|
526
524
|
], LoadedScriptsView));
|
|
527
525
|
class LoadedScriptsDelegate {
|
|
528
526
|
getHeight(element) {
|
|
@@ -565,7 +563,7 @@ class LoadedScriptsRenderer {
|
|
|
565
563
|
options.fileKind = FileKind.ROOT_FOLDER;
|
|
566
564
|
}
|
|
567
565
|
else if (element instanceof SessionTreeItem) {
|
|
568
|
-
options.title = ( localize(
|
|
566
|
+
options.title = ( localize(5665, "Debug Session"));
|
|
569
567
|
options.hideIcon = true;
|
|
570
568
|
}
|
|
571
569
|
else if (element instanceof BaseTreeItem) {
|
|
@@ -587,20 +585,20 @@ class LoadedScriptsRenderer {
|
|
|
587
585
|
}
|
|
588
586
|
class LoadedSciptsAccessibilityProvider {
|
|
589
587
|
getWidgetAriaLabel() {
|
|
590
|
-
return localize(
|
|
588
|
+
return localize(5666, "Debug Loaded Scripts");
|
|
591
589
|
}
|
|
592
590
|
getAriaLabel(element) {
|
|
593
591
|
if (element instanceof RootFolderTreeItem) {
|
|
594
|
-
return localize(
|
|
592
|
+
return localize(5667, "Workspace folder {0}, loaded script, debug", element.getLabel());
|
|
595
593
|
}
|
|
596
594
|
if (element instanceof SessionTreeItem) {
|
|
597
|
-
return localize(
|
|
595
|
+
return localize(5668, "Session {0}, loaded script, debug", element.getLabel());
|
|
598
596
|
}
|
|
599
597
|
if (element.hasChildren()) {
|
|
600
|
-
return localize(
|
|
598
|
+
return localize(5669, "Folder {0}, loaded script, debug", element.getLabel());
|
|
601
599
|
}
|
|
602
600
|
else {
|
|
603
|
-
return localize(
|
|
601
|
+
return localize(5670, "{0}, loaded script, debug", element.getLabel());
|
|
604
602
|
}
|
|
605
603
|
}
|
|
606
604
|
}
|
|
@@ -627,7 +625,7 @@ registerAction2(class Collapse extends ViewAction {
|
|
|
627
625
|
super({
|
|
628
626
|
id: 'loadedScripts.collapse',
|
|
629
627
|
viewId: LOADED_SCRIPTS_VIEW_ID,
|
|
630
|
-
title: ( localize(
|
|
628
|
+
title: ( localize(5671, "Collapse All")),
|
|
631
629
|
f1: false,
|
|
632
630
|
icon: Codicon.collapseAll,
|
|
633
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(5672, "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
|
+
5673,
|
|
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(5674, "&&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(5675, "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(5676, "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 }) })]);
|
|
@@ -2,11 +2,11 @@ import { IHistoryNavigationWidget } from "@codingame/monaco-vscode-api/vscode/vs
|
|
|
2
2
|
import { IActionViewItem } from "@codingame/monaco-vscode-api/vscode/vs/base/browser/ui/actionbar/actionbar";
|
|
3
3
|
import { IAsyncDataSource } from "@codingame/monaco-vscode-api/vscode/vs/base/browser/ui/tree/tree";
|
|
4
4
|
import { IAction } from "@codingame/monaco-vscode-api/vscode/vs/base/common/actions";
|
|
5
|
-
import { ICodeEditorService } from "@codingame/monaco-vscode-api/vscode/vs/editor/browser/services/codeEditorService";
|
|
5
|
+
import { ICodeEditorService } from "@codingame/monaco-vscode-api/vscode/vs/editor/browser/services/codeEditorService.service";
|
|
6
6
|
import { CodeEditorWidget } from "@codingame/monaco-vscode-api/vscode/vs/editor/browser/widget/codeEditor/codeEditorWidget";
|
|
7
|
-
import { ILanguageFeaturesService } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/services/languageFeatures";
|
|
8
|
-
import { IModelService } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/services/model";
|
|
9
|
-
import { ITextResourcePropertiesService } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/services/textResourceConfiguration";
|
|
7
|
+
import { ILanguageFeaturesService } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/services/languageFeatures.service";
|
|
8
|
+
import { IModelService } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/services/model.service";
|
|
9
|
+
import { ITextResourcePropertiesService } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/services/textResourceConfiguration.service";
|
|
10
10
|
import { IMenuService } from "@codingame/monaco-vscode-api/vscode/vs/platform/actions/common/actions.service";
|
|
11
11
|
import { IConfigurationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service";
|
|
12
12
|
import { IContextKeyService } from "@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey.service";
|
|
@@ -17,7 +17,6 @@ import { IKeybindingService } from "@codingame/monaco-vscode-api/vscode/vs/platf
|
|
|
17
17
|
import { ILogService } from "@codingame/monaco-vscode-api/vscode/vs/platform/log/common/log.service";
|
|
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
|
-
import { ITelemetryService } from "@codingame/monaco-vscode-api/vscode/vs/platform/telemetry/common/telemetry.service";
|
|
21
20
|
import { IThemeService } from "@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/themeService.service";
|
|
22
21
|
import { FilterViewPane, IViewPaneOptions } from "@codingame/monaco-vscode-65619f8f-0eab-5d8b-855a-43b6353fe527-common/vscode/vs/workbench/browser/parts/views/viewPane";
|
|
23
22
|
import { IViewDescriptorService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/common/views.service";
|
|
@@ -61,7 +60,7 @@ export declare class Repl extends FilterViewPane implements IHistoryNavigationWi
|
|
|
61
60
|
private menu;
|
|
62
61
|
private replDataSource;
|
|
63
62
|
private findIsOpen;
|
|
64
|
-
constructor(options: IViewPaneOptions, debugService: IDebugService, instantiationService: IInstantiationService, storageService: IStorageService, themeService: IThemeService, modelService: IModelService, contextKeyService: IContextKeyService, codeEditorService: ICodeEditorService, viewDescriptorService: IViewDescriptorService, contextMenuService: IContextMenuService, configurationService: IConfigurationService, textResourcePropertiesService: ITextResourcePropertiesService, editorService: IEditorService, keybindingService: IKeybindingService, openerService: IOpenerService,
|
|
63
|
+
constructor(options: IViewPaneOptions, debugService: IDebugService, instantiationService: IInstantiationService, storageService: IStorageService, themeService: IThemeService, modelService: IModelService, contextKeyService: IContextKeyService, codeEditorService: ICodeEditorService, viewDescriptorService: IViewDescriptorService, contextMenuService: IContextMenuService, configurationService: IConfigurationService, textResourcePropertiesService: ITextResourcePropertiesService, editorService: IEditorService, keybindingService: IKeybindingService, openerService: IOpenerService, hoverService: IHoverService, menuService: IMenuService, languageFeaturesService: ILanguageFeaturesService, logService: ILogService);
|
|
65
64
|
private registerListeners;
|
|
66
65
|
private onDidFocusSession;
|
|
67
66
|
getFilterStats(): {
|
|
@@ -89,7 +88,7 @@ export declare class Repl extends FilterViewPane implements IHistoryNavigationWi
|
|
|
89
88
|
getFocusedElement(): IReplElement | undefined;
|
|
90
89
|
focusTree(): void;
|
|
91
90
|
focus(): Promise<void>;
|
|
92
|
-
|
|
91
|
+
createActionViewItem(action: IAction): IActionViewItem | undefined;
|
|
93
92
|
private get isMultiSessionView();
|
|
94
93
|
private get refreshScheduler();
|
|
95
94
|
render(): void;
|