@codingame/monaco-vscode-debug-service-override 15.0.3 → 16.0.1
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 +17 -14
- package/vscode/src/vs/platform/debug/common/extensionHostDebugIpc.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/callStackView.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/callStackView.js +17 -17
- package/vscode/src/vs/workbench/contrib/debug/browser/debug.contribution.js +113 -113
- package/vscode/src/vs/workbench/contrib/debug/browser/debugActionViewItems.js +7 -7
- package/vscode/src/vs/workbench/contrib/debug/browser/debugAdapterManager.js +13 -13
- package/vscode/src/vs/workbench/contrib/debug/browser/debugConfigurationManager.js +7 -7
- package/vscode/src/vs/workbench/contrib/debug/browser/debugConsoleQuickAccess.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/debugEditorActions.js +24 -24
- package/vscode/src/vs/workbench/contrib/debug/browser/debugQuickAccess.js +10 -10
- package/vscode/src/vs/workbench/contrib/debug/browser/debugService.js +24 -24
- package/vscode/src/vs/workbench/contrib/debug/browser/debugSession.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/debugSession.js +50 -45
- 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 +12 -12
- package/vscode/src/vs/workbench/contrib/debug/browser/debugViewlet.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/debugViewlet.js +8 -8
- package/vscode/src/vs/workbench/contrib/debug/browser/disassemblyView.js +10 -10
- package/vscode/src/vs/workbench/contrib/debug/browser/loadedScriptsView.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/loadedScriptsView.js +7 -7
- package/vscode/src/vs/workbench/contrib/debug/browser/media/debug.contribution.css +112 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/media/debugHover.css +63 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/media/debugToolBar.css +41 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/media/debugViewlet.css +271 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/media/repl.css +111 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/rawDebugSession.js +5 -5
- package/vscode/src/vs/workbench/contrib/debug/browser/repl.js +24 -24
- 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 -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 +7 -7
- 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/debugger.js +11 -11
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariableCommands.js +2 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/media/debug.contribution.css.js +0 -6
- package/vscode/src/vs/workbench/contrib/debug/browser/media/debugHover.css.js +0 -6
- package/vscode/src/vs/workbench/contrib/debug/browser/media/debugToolBar.css.js +0 -6
- package/vscode/src/vs/workbench/contrib/debug/browser/media/debugViewlet.css.js +0 -6
- package/vscode/src/vs/workbench/contrib/debug/browser/media/repl.css.js +0 -6
|
@@ -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(5771, "Abort"));
|
|
34
|
+
const DEBUG_ANYWAY_LABEL = ( localize(5772, "&&Debug Anyway"));
|
|
35
|
+
const DEBUG_ANYWAY_LABEL_NO_MEMO = ( localize(5773, "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(5774, "Errors exist after running preLaunchTask '{0}'.", taskLabel))
|
|
78
78
|
: errorCount === 1
|
|
79
|
-
? ( localize(
|
|
79
|
+
? ( localize(5775, "Error exists after running preLaunchTask '{0}'.", taskLabel))
|
|
80
80
|
: taskSummary && typeof taskSummary.exitCode === 'number'
|
|
81
81
|
? ( localize(
|
|
82
|
-
|
|
82
|
+
5776,
|
|
83
83
|
"The preLaunchTask '{0}' terminated with exit code {1}.",
|
|
84
84
|
taskLabel,
|
|
85
85
|
taskSummary.exitCode
|
|
86
86
|
))
|
|
87
|
-
: ( localize(
|
|
87
|
+
: ( localize(5777, "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(5778, "&&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(5779, "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(5772, "&&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(5780, "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
|
+
5781,
|
|
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(5782, "Could not find the task '{0}'.", taskId))
|
|
190
|
+
: ( localize(5783, "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
|
+
5784,
|
|
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
|
+
5785,
|
|
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(5786, "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-3e369455-cc41-54c6-86fb-8b7cd999a5da-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";
|
|
@@ -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-3e369455-cc41-54c6-86fb-8b7cd999a5da-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,16 +39,16 @@ 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 { getWindowControlsStyle, WindowControlsStyle } from '@codingame/monaco-vscode-api/vscode/vs/platform/window/common/window';
|
|
43
|
+
import { LayoutSettings, Parts, EditorTabsMode } from '@codingame/monaco-vscode-b1110435-a331-5549-ab1e-aa3d763c3a1f-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-3e369455-cc41-54c6-86fb-8b7cd999a5da-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-
|
|
51
|
-
import './media/debugToolBar.css
|
|
50
|
+
import { debugGripper, debugContinue, debugPause, debugStop, debugDisconnect, debugStepOver, debugStepInto, debugStepOut, debugRestart, debugStepBack, debugReverseContinue } from '@codingame/monaco-vscode-3e369455-cc41-54c6-86fb-8b7cd999a5da-common/vscode/vs/workbench/contrib/debug/browser/debugIcons';
|
|
51
|
+
import './media/debugToolBar.css';
|
|
52
52
|
|
|
53
53
|
const DEBUG_TOOLBAR_POSITION_KEY = 'debug.actionswidgetposition';
|
|
54
54
|
const DEBUG_TOOLBAR_Y_KEY = 'debug.actionswidgety';
|
|
@@ -68,9 +68,9 @@ 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
|
|
72
|
-
const controlsOnLeft =
|
|
73
|
-
const controlsOnRight =
|
|
71
|
+
const customWindowControls = getWindowControlsStyle(this.configurationService) === WindowControlsStyle.CUSTOM;
|
|
72
|
+
const controlsOnLeft = customWindowControls && platform === Platform.Mac;
|
|
73
|
+
const controlsOnRight = customWindowControls && (platform === Platform.Windows || platform === Platform.Linux);
|
|
74
74
|
this.$el.style.transform = `translate(
|
|
75
75
|
min(
|
|
76
76
|
max(${controlsOnLeft ? '60px' : '0px'}, calc(-50% + (100vw * var(--x-position)))),
|
|
@@ -310,7 +310,7 @@ function createDisconnectMenuItemAction(action, disposables, accessor, options)
|
|
|
310
310
|
if (!secondary.length) {
|
|
311
311
|
return undefined;
|
|
312
312
|
}
|
|
313
|
-
const dropdownAction = disposables.add(( new Action('notebook.moreRunActions', ( localize(
|
|
313
|
+
const dropdownAction = disposables.add(( new Action('notebook.moreRunActions', ( localize(5787, "More...")), 'codicon-chevron-down', true)));
|
|
314
314
|
const item = instantiationService.createInstance(DropdownWithPrimaryActionViewItem, action, dropdownAction, secondary, 'debug-stop-actions', options);
|
|
315
315
|
return item;
|
|
316
316
|
}
|
|
@@ -368,8 +368,8 @@ registerDebugToolBarItem(STEP_OVER_ID, STEP_OVER_LABEL, 20, debugStepOver, undef
|
|
|
368
368
|
registerDebugToolBarItem(STEP_INTO_ID, STEP_INTO_LABEL, 30, debugStepInto, undefined, ( CONTEXT_DEBUG_STATE.isEqualTo('stopped')));
|
|
369
369
|
registerDebugToolBarItem(STEP_OUT_ID, STEP_OUT_LABEL, 40, debugStepOut, undefined, ( CONTEXT_DEBUG_STATE.isEqualTo('stopped')));
|
|
370
370
|
registerDebugToolBarItem(RESTART_SESSION_ID, RESTART_LABEL, 60, debugRestart);
|
|
371
|
-
registerDebugToolBarItem(STEP_BACK_ID, ( localize(
|
|
372
|
-
registerDebugToolBarItem(REVERSE_CONTINUE_ID, ( localize(
|
|
371
|
+
registerDebugToolBarItem(STEP_BACK_ID, ( localize(5788, "Step Back")), 50, debugStepBack, CONTEXT_STEP_BACK_SUPPORTED, ( CONTEXT_DEBUG_STATE.isEqualTo('stopped')));
|
|
372
|
+
registerDebugToolBarItem(REVERSE_CONTINUE_ID, ( localize(5789, "Reverse")), 55, debugReverseContinue, CONTEXT_STEP_BACK_SUPPORTED, ( CONTEXT_DEBUG_STATE.isEqualTo('stopped')));
|
|
373
373
|
registerDebugToolBarItem(FOCUS_SESSION_ID, FOCUS_SESSION_LABEL, 100, Codicon.listTree, ( ContextKeyExpr.and(CONTEXT_MULTI_SESSION_DEBUG, ( CONTEXT_TOOLBAR_COMMAND_CENTER.negate()))));
|
|
374
374
|
MenuRegistry.appendMenuItem(MenuId.DebugToolBarStop, {
|
|
375
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-b1110435-a331-5549-ab1e-aa3d763c3a1f-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";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
2
|
import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib/tslib.es6';
|
|
3
3
|
import { DisposableStore, dispose } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
|
|
4
|
-
import './media/debugViewlet.css
|
|
4
|
+
import './media/debugViewlet.css';
|
|
5
5
|
import { localize2, localize } from '@codingame/monaco-vscode-api/vscode/vs/nls';
|
|
6
6
|
import { createActionViewItem } from '@codingame/monaco-vscode-api/vscode/vs/platform/actions/browser/menuEntryActionViewItem';
|
|
7
7
|
import { MenuRegistry, MenuId, registerAction2, Action2 } from '@codingame/monaco-vscode-api/vscode/vs/platform/actions/common/actions';
|
|
@@ -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-b1110435-a331-5549-ab1e-aa3d763c3a1f-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-3e369455-cc41-54c6-86fb-8b7cd999a5da-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(5790, "Open &&Configurations"))
|
|
173
173
|
},
|
|
174
174
|
metadata: {
|
|
175
|
-
description: ( localize2(
|
|
175
|
+
description: ( localize2(5791, '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
|
+
5792,
|
|
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(5793, "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(5794, "Start Additional Session")),
|
|
265
265
|
}
|
|
266
266
|
});
|
|
267
267
|
|
|
@@ -38,7 +38,7 @@ import { IThemeService } from '@codingame/monaco-vscode-api/vscode/vs/platform/t
|
|
|
38
38
|
import { IUriIdentityService } from '@codingame/monaco-vscode-api/vscode/vs/platform/uriIdentity/common/uriIdentity.service';
|
|
39
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-3e369455-cc41-54c6-86fb-8b7cd999a5da-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(5795, "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(5796, "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.
|
|
597
|
-
this._focusedStackFrameColor = e.
|
|
596
|
+
this._topStackFrameColor = e.getColor(topStackFrameColor);
|
|
597
|
+
this._focusedStackFrameColor = e.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(5797, "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(5798, "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(5799, "Address"))}: ${instruction.address}`;
|
|
749
749
|
}
|
|
750
750
|
if (instruction.instructionBytes) {
|
|
751
|
-
label += `, ${( localize(
|
|
751
|
+
label += `, ${( localize(5800, "Bytes"))}: ${instruction.instructionBytes}`;
|
|
752
752
|
}
|
|
753
|
-
label += `, ${( localize(
|
|
753
|
+
label += `, ${( localize(5801, "Instruction"))}: ${instruction.instruction}`;
|
|
754
754
|
return label;
|
|
755
755
|
}
|
|
756
756
|
}
|
|
@@ -9,7 +9,7 @@ import { IOpenerService } from "@codingame/monaco-vscode-api/vscode/vs/platform/
|
|
|
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
11
|
import { ViewPane } from "@codingame/monaco-vscode-65619f8f-0eab-5d8b-855a-43b6353fe527-common/vscode/vs/workbench/browser/parts/views/viewPane";
|
|
12
|
-
import { IViewletViewOptions } from "@codingame/monaco-vscode-
|
|
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";
|
|
15
15
|
import { IPathService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/path/common/pathService.service";
|
|
@@ -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(5813, "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(5814, "Debug Loaded Scripts");
|
|
589
589
|
}
|
|
590
590
|
getAriaLabel(element) {
|
|
591
591
|
if (element instanceof RootFolderTreeItem) {
|
|
592
|
-
return localize(
|
|
592
|
+
return localize(5815, "Workspace folder {0}, loaded script, debug", element.getLabel());
|
|
593
593
|
}
|
|
594
594
|
if (element instanceof SessionTreeItem) {
|
|
595
|
-
return localize(
|
|
595
|
+
return localize(5816, "Session {0}, loaded script, debug", element.getLabel());
|
|
596
596
|
}
|
|
597
597
|
if (element.hasChildren()) {
|
|
598
|
-
return localize(
|
|
598
|
+
return localize(5817, "Folder {0}, loaded script, debug", element.getLabel());
|
|
599
599
|
}
|
|
600
600
|
else {
|
|
601
|
-
return localize(
|
|
601
|
+
return localize(5818, "{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(5819, "Collapse All")),
|
|
629
629
|
f1: false,
|
|
630
630
|
icon: Codicon.collapseAll,
|
|
631
631
|
menu: {
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
.codicon-debug-hint {
|
|
2
|
+
cursor: pointer;
|
|
3
|
+
}
|
|
4
|
+
.codicon-debug-hint:not([class*='codicon-debug-breakpoint']):not([class*='codicon-debug-stackframe']) {
|
|
5
|
+
opacity: 0.4 !important;
|
|
6
|
+
}
|
|
7
|
+
.inline-breakpoint-widget.codicon {
|
|
8
|
+
display: flex !important;
|
|
9
|
+
align-items: center;
|
|
10
|
+
}
|
|
11
|
+
.inline-breakpoint-widget.codicon-debug-breakpoint-disabled {
|
|
12
|
+
opacity: 0.7;
|
|
13
|
+
}
|
|
14
|
+
.monaco-editor .inline-breakpoint-widget.line-start {
|
|
15
|
+
left: -8px !important;
|
|
16
|
+
}
|
|
17
|
+
.monaco-editor .debug-breakpoint-placeholder {
|
|
18
|
+
width: 0.9em;
|
|
19
|
+
display: inline-flex;
|
|
20
|
+
vertical-align: middle;
|
|
21
|
+
margin-top: -1px;
|
|
22
|
+
}
|
|
23
|
+
.codicon-debug-breakpoint-conditional.codicon-debug-stackframe-focused::after,
|
|
24
|
+
.codicon-debug-breakpoint-conditional.codicon-debug-stackframe::after,
|
|
25
|
+
.codicon-debug-breakpoint.codicon-debug-stackframe-focused::after,
|
|
26
|
+
.codicon-debug-breakpoint.codicon-debug-stackframe::after {
|
|
27
|
+
content: var(--vscode-icon-debug-stackframe-dot-content);
|
|
28
|
+
font-family: var(--vscode-icon-debug-stackframe-dot-font-family);
|
|
29
|
+
position: absolute;
|
|
30
|
+
}
|
|
31
|
+
.monaco-editor .debug-top-stack-frame-column {
|
|
32
|
+
font: normal normal normal 16px/1 codicon;
|
|
33
|
+
text-rendering: auto;
|
|
34
|
+
-webkit-font-smoothing: antialiased;
|
|
35
|
+
-moz-osx-font-smoothing: grayscale;
|
|
36
|
+
margin-left: 0;
|
|
37
|
+
margin-right: 4px;
|
|
38
|
+
margin-top: -1px;
|
|
39
|
+
align-items: center;
|
|
40
|
+
width: 0.9em;
|
|
41
|
+
display: inline-flex;
|
|
42
|
+
vertical-align: middle;
|
|
43
|
+
}
|
|
44
|
+
.debug-var-hover-pre {
|
|
45
|
+
margin: 0;
|
|
46
|
+
}
|
|
47
|
+
.debug-var-hover-pre span {
|
|
48
|
+
display: inline !important;
|
|
49
|
+
}
|
|
50
|
+
.monaco-editor .debug-top-stack-frame-column.start-of-line {
|
|
51
|
+
position: absolute;
|
|
52
|
+
top: 50%;
|
|
53
|
+
transform: translate(-17px, -50%);
|
|
54
|
+
margin-top: 0px;
|
|
55
|
+
}
|
|
56
|
+
.monaco-editor .inline-breakpoint-widget {
|
|
57
|
+
cursor: pointer;
|
|
58
|
+
}
|
|
59
|
+
.monaco-workbench .debug-view-content .monaco-list-row .monaco-tl-contents {
|
|
60
|
+
overflow: hidden;
|
|
61
|
+
text-overflow: ellipsis;
|
|
62
|
+
}
|
|
63
|
+
.monaco-workbench .monaco-list-row .expression {
|
|
64
|
+
display: flex;
|
|
65
|
+
}
|
|
66
|
+
.monaco-workbench .debug-pane .monaco-list-row .expression,
|
|
67
|
+
.monaco-workbench .debug-hover-widget .monaco-list-row .expression {
|
|
68
|
+
font-size: 13px;
|
|
69
|
+
overflow: hidden;
|
|
70
|
+
text-overflow: ellipsis;
|
|
71
|
+
font-family: var(--monaco-monospace-font);
|
|
72
|
+
white-space: pre;
|
|
73
|
+
}
|
|
74
|
+
.monaco-workbench.mac .debug-pane .monaco-list-row .expression,
|
|
75
|
+
.monaco-workbench.mac .debug-hover-widget .monaco-list-row .expression {
|
|
76
|
+
font-size: 11px;
|
|
77
|
+
}
|
|
78
|
+
.monaco-workbench .monaco-list-row .expression .value {
|
|
79
|
+
margin-left: 6px;
|
|
80
|
+
}
|
|
81
|
+
.monaco-workbench .monaco-list-row .expression .lazy-button {
|
|
82
|
+
margin-left: 3px;
|
|
83
|
+
display: none;
|
|
84
|
+
border-radius: 5px;
|
|
85
|
+
align-self: center;
|
|
86
|
+
}
|
|
87
|
+
.monaco-workbench .monaco-list-row .expression.lazy .lazy-button {
|
|
88
|
+
display: inline;
|
|
89
|
+
}
|
|
90
|
+
.monaco-workbench .monaco-list-row .expression .value a.link:hover {
|
|
91
|
+
text-decoration: underline;
|
|
92
|
+
}
|
|
93
|
+
.monaco-workbench .monaco-list-row .expression .value a.link.pointer {
|
|
94
|
+
cursor: pointer;
|
|
95
|
+
}
|
|
96
|
+
.monaco-workbench .monaco-list:focus .monaco-list-row.selected .expression .name,
|
|
97
|
+
.monaco-workbench .monaco-list:focus .monaco-list-row.selected .expression .value {
|
|
98
|
+
color: inherit;
|
|
99
|
+
}
|
|
100
|
+
.monaco-workbench .monaco-list-row .expression .name.virtual {
|
|
101
|
+
opacity: 0.5;
|
|
102
|
+
}
|
|
103
|
+
.monaco-workbench .monaco-list-row .expression .name.internal {
|
|
104
|
+
opacity: 0.5;
|
|
105
|
+
}
|
|
106
|
+
.monaco-workbench .monaco-list-row .expression .unavailable {
|
|
107
|
+
font-style: italic;
|
|
108
|
+
}
|
|
109
|
+
.monaco-workbench .debug-inline-value {
|
|
110
|
+
background-color: var(--vscode-editor-inlineValuesBackground);
|
|
111
|
+
color: var(--vscode-editor-inlineValuesForeground);
|
|
112
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
.monaco-editor .debug-hover-widget {
|
|
2
|
+
position: absolute;
|
|
3
|
+
z-index: 50;
|
|
4
|
+
animation-duration: 0.15s;
|
|
5
|
+
animation-name: fadeIn;
|
|
6
|
+
user-select: text;
|
|
7
|
+
-webkit-user-select: text;
|
|
8
|
+
word-break: break-all;
|
|
9
|
+
white-space: pre;
|
|
10
|
+
}
|
|
11
|
+
.monaco-editor .debug-hover-widget .complex-value {
|
|
12
|
+
max-width: 550px;
|
|
13
|
+
}
|
|
14
|
+
.monaco-editor .debug-hover-widget .complex-value .title,
|
|
15
|
+
.monaco-editor .debug-hover-widget .complex-value .tip {
|
|
16
|
+
padding-left: 15px;
|
|
17
|
+
padding-right: 2px;
|
|
18
|
+
font-size: 11px;
|
|
19
|
+
line-height: 18px;
|
|
20
|
+
word-break: normal;
|
|
21
|
+
text-overflow: ellipsis;
|
|
22
|
+
height: 18px;
|
|
23
|
+
overflow: hidden;
|
|
24
|
+
white-space: pre;
|
|
25
|
+
}
|
|
26
|
+
.monaco-editor .debug-hover-widget .complex-value .title {
|
|
27
|
+
border-bottom: 1px solid rgba(128, 128, 128, 0.35);
|
|
28
|
+
}
|
|
29
|
+
.monaco-editor .debug-hover-widget .complex-value .tip {
|
|
30
|
+
border-top: 1px solid rgba(128, 128, 128, 0.35);
|
|
31
|
+
opacity: 0.5;
|
|
32
|
+
}
|
|
33
|
+
.monaco-editor .debug-hover-widget .debug-hover-tree {
|
|
34
|
+
line-height: 18px;
|
|
35
|
+
cursor: pointer;
|
|
36
|
+
}
|
|
37
|
+
.monaco-editor .debug-hover-widget .debug-hover-tree .monaco-list-row .monaco-tl-contents {
|
|
38
|
+
user-select: text;
|
|
39
|
+
-webkit-user-select: text;
|
|
40
|
+
white-space: pre;
|
|
41
|
+
}
|
|
42
|
+
.monaco-editor .debug-hover-widget .debug-hover-tree .monaco-list-rows .monaco-list-row:hover:not(.highlighted):not(.selected):not(.focused) {
|
|
43
|
+
background-color: inherit;
|
|
44
|
+
}
|
|
45
|
+
.monaco-editor .debug-hover-widget pre {
|
|
46
|
+
margin-top: 0;
|
|
47
|
+
margin-bottom: 0;
|
|
48
|
+
}
|
|
49
|
+
.monaco-editor .debugHoverHighlight {
|
|
50
|
+
background-color: rgba(173, 214, 255, 0.15);
|
|
51
|
+
}
|
|
52
|
+
.monaco-editor .debug-hover-widget > .monaco-scrollable-element > .value {
|
|
53
|
+
color: rgba(108, 108, 108, 0.8);
|
|
54
|
+
overflow: auto;
|
|
55
|
+
font-family: var(--monaco-monospace-font);
|
|
56
|
+
max-height: 500px;
|
|
57
|
+
padding: 4px 5px;
|
|
58
|
+
white-space: pre-wrap;
|
|
59
|
+
}
|
|
60
|
+
.monaco-editor.vs-dark .debugHoverHighlight,
|
|
61
|
+
.monaco-editor.hc-theme .debugHoverHighlight {
|
|
62
|
+
background-color: rgba(38, 79, 120, 0.25);
|
|
63
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
.monaco-workbench .debug-toolbar {
|
|
2
|
+
position: absolute;
|
|
3
|
+
z-index: 2520;
|
|
4
|
+
height: 26px;
|
|
5
|
+
display: flex;
|
|
6
|
+
padding-left: 7px;
|
|
7
|
+
border-radius: 4px;
|
|
8
|
+
left: 0;
|
|
9
|
+
top: 0;
|
|
10
|
+
-webkit-app-region: no-drag;
|
|
11
|
+
}
|
|
12
|
+
.monaco-workbench .debug-toolbar .monaco-action-bar .action-item {
|
|
13
|
+
margin-right: 4px;
|
|
14
|
+
}
|
|
15
|
+
.monaco-workbench .debug-toolbar .monaco-action-bar .action-item.select-container {
|
|
16
|
+
margin-right: 7px;
|
|
17
|
+
}
|
|
18
|
+
.monaco-workbench .debug-toolbar .monaco-action-bar .action-item.select-container .monaco-select-box,
|
|
19
|
+
.monaco-workbench .start-debug-action-item .select-container .monaco-select-box {
|
|
20
|
+
padding: 0 22px 0 6px;
|
|
21
|
+
}
|
|
22
|
+
.monaco-workbench .debug-toolbar .drag-area {
|
|
23
|
+
cursor: grab;
|
|
24
|
+
width: 16px;
|
|
25
|
+
opacity: 0.5;
|
|
26
|
+
display: flex;
|
|
27
|
+
align-items: center;
|
|
28
|
+
justify-content: center;
|
|
29
|
+
}
|
|
30
|
+
.monaco-workbench .debug-toolbar .drag-area.dragged {
|
|
31
|
+
cursor: grabbing;
|
|
32
|
+
}
|
|
33
|
+
.monaco-workbench .debug-toolbar .monaco-action-bar .action-item .action-label {
|
|
34
|
+
margin-right: 0;
|
|
35
|
+
background-size: 16px;
|
|
36
|
+
background-position: center center;
|
|
37
|
+
background-repeat: no-repeat;
|
|
38
|
+
display: flex;
|
|
39
|
+
align-items: center;
|
|
40
|
+
justify-content: center;
|
|
41
|
+
}
|