@codingame/monaco-vscode-debug-service-override 4.5.1 → 5.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 +2 -2
- package/vscode/src/vs/platform/debug/common/extensionHostDebugIpc.js +2 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/callStackView.js +140 -177
- package/vscode/src/vs/workbench/contrib/debug/browser/debug.contribution.js +260 -531
- package/vscode/src/vs/workbench/contrib/debug/browser/debugActionViewItems.js +34 -52
- package/vscode/src/vs/workbench/contrib/debug/browser/debugAdapterManager.js +44 -71
- package/vscode/src/vs/workbench/contrib/debug/browser/debugConfigurationManager.js +116 -120
- package/vscode/src/vs/workbench/contrib/debug/browser/debugConsoleQuickAccess.js +8 -11
- package/vscode/src/vs/workbench/contrib/debug/browser/debugEditorActions.js +81 -140
- package/vscode/src/vs/workbench/contrib/debug/browser/debugEditorContribution.js +73 -76
- package/vscode/src/vs/workbench/contrib/debug/browser/debugHover.js +30 -30
- package/vscode/src/vs/workbench/contrib/debug/browser/debugMemory.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/debugQuickAccess.js +17 -49
- package/vscode/src/vs/workbench/contrib/debug/browser/debugService.js +143 -135
- package/vscode/src/vs/workbench/contrib/debug/browser/debugSession.js +220 -177
- package/vscode/src/vs/workbench/contrib/debug/browser/debugStatus.js +9 -17
- package/vscode/src/vs/workbench/contrib/debug/browser/debugTaskRunner.js +70 -111
- package/vscode/src/vs/workbench/contrib/debug/browser/debugToolBar.js +84 -65
- package/vscode/src/vs/workbench/contrib/debug/browser/debugViewlet.js +85 -57
- package/vscode/src/vs/workbench/contrib/debug/browser/disassemblyView.js +50 -75
- package/vscode/src/vs/workbench/contrib/debug/browser/exceptionWidget.js +13 -29
- package/vscode/src/vs/workbench/contrib/debug/browser/linkDetector.js +22 -51
- package/vscode/src/vs/workbench/contrib/debug/browser/loadedScriptsView.js +52 -78
- package/vscode/src/vs/workbench/contrib/debug/browser/media/debug.contribution.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/media/debugViewlet.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/rawDebugSession.js +60 -76
- package/vscode/src/vs/workbench/contrib/debug/browser/repl.js +29 -54
- package/vscode/src/vs/workbench/contrib/debug/browser/replFilter.js +4 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/replViewer.js +42 -55
- package/vscode/src/vs/workbench/contrib/debug/browser/statusbarColorProvider.js +17 -16
- package/vscode/src/vs/workbench/contrib/debug/browser/variablesView.js +84 -110
- package/vscode/src/vs/workbench/contrib/debug/browser/watchExpressionsView.js +50 -88
- package/vscode/src/vs/workbench/contrib/debug/browser/welcomeView.js +60 -60
- package/vscode/src/vs/workbench/contrib/debug/common/debugContentProvider.js +14 -28
- package/vscode/src/vs/workbench/contrib/debug/common/debugLifecycle.js +12 -15
- package/vscode/src/vs/workbench/contrib/debug/common/debugSchemas.js +71 -146
- package/vscode/src/vs/workbench/contrib/debug/common/debugStorage.js +1 -0
- package/vscode/src/vs/workbench/contrib/debug/common/debugger.js +92 -111
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariableCommands.js +5 -12
- package/vscode/src/vs/workbench/services/configurationResolver/browser/baseConfigurationResolverService.js +42 -22
- package/vscode/src/vs/workbench/contrib/debug/browser/debugCommands.js +0 -1042
- package/vscode/src/vs/workbench/contrib/debug/browser/debugSessionPicker.js +0 -116
- package/vscode/src/vs/workbench/contrib/debug/common/loadedScriptsPicker.js +0 -87
|
@@ -6,19 +6,16 @@ import { IDebugService } from 'vscode/vscode/vs/workbench/contrib/debug/common/d
|
|
|
6
6
|
import { IWorkspaceContextService } from 'vscode/vscode/vs/platform/workspace/common/workspace.service';
|
|
7
7
|
import { ICommandService } from 'vscode/vscode/vs/platform/commands/common/commands.service';
|
|
8
8
|
import { matchesFuzzy } from 'vscode/vscode/vs/base/common/filters';
|
|
9
|
-
import { DEBUG_QUICK_ACCESS_PREFIX, ADD_CONFIGURATION_ID } from '
|
|
9
|
+
import { DEBUG_QUICK_ACCESS_PREFIX, ADD_CONFIGURATION_ID } from 'vscode/vscode/vs/workbench/contrib/debug/browser/debugCommands';
|
|
10
10
|
import { debugConfigure, debugRemoveConfig } from 'vscode/vscode/vs/workbench/contrib/debug/browser/debugIcons';
|
|
11
11
|
import { ThemeIcon } from 'vscode/vscode/vs/base/common/themables';
|
|
12
12
|
|
|
13
|
+
const _moduleId = "vs/workbench/contrib/debug/browser/debugQuickAccess";
|
|
13
14
|
let StartDebugQuickAccessProvider = class StartDebugQuickAccessProvider extends PickerQuickAccessProvider {
|
|
14
15
|
constructor(debugService, contextService, commandService, notificationService) {
|
|
15
16
|
super(DEBUG_QUICK_ACCESS_PREFIX, {
|
|
16
17
|
noResultsPick: {
|
|
17
|
-
label: ( localizeWithPath(
|
|
18
|
-
'vs/workbench/contrib/debug/browser/debugQuickAccess',
|
|
19
|
-
'noDebugResults',
|
|
20
|
-
"No matching launch configurations"
|
|
21
|
-
))
|
|
18
|
+
label: ( localizeWithPath(_moduleId, 0, "No matching launch configurations"))
|
|
22
19
|
}
|
|
23
20
|
});
|
|
24
21
|
this.debugService = debugService;
|
|
@@ -47,11 +44,7 @@ let StartDebugQuickAccessProvider = class StartDebugQuickAccessProvider extends
|
|
|
47
44
|
highlights: { label: highlights },
|
|
48
45
|
buttons: [{
|
|
49
46
|
iconClass: ThemeIcon.asClassName(debugConfigure),
|
|
50
|
-
tooltip: ( localizeWithPath(
|
|
51
|
-
'vs/workbench/contrib/debug/browser/debugQuickAccess',
|
|
52
|
-
'customizeLaunchConfig',
|
|
53
|
-
"Configure Launch Configuration"
|
|
54
|
-
))
|
|
47
|
+
tooltip: ( localizeWithPath(_moduleId, 1, "Configure Launch Configuration"))
|
|
55
48
|
}],
|
|
56
49
|
trigger: () => {
|
|
57
50
|
config.launch.openConfigFile({ preserveFocus: false });
|
|
@@ -72,10 +65,7 @@ let StartDebugQuickAccessProvider = class StartDebugQuickAccessProvider extends
|
|
|
72
65
|
const dynamicProviders = await configManager.getDynamicProviders();
|
|
73
66
|
if (dynamicProviders.length > 0) {
|
|
74
67
|
picks.push({
|
|
75
|
-
type: 'separator', label: ( localizeWithPath(
|
|
76
|
-
key: 'contributed',
|
|
77
|
-
comment: ['contributed is lower case because it looks better like that in UI. Nothing preceeds it. It is a name of the grouping of debug configurations.']
|
|
78
|
-
}, "contributed"))
|
|
68
|
+
type: 'separator', label: ( localizeWithPath(_moduleId, 2, "contributed"))
|
|
79
69
|
});
|
|
80
70
|
}
|
|
81
71
|
configManager.getRecentDynamicConfigurations().forEach(({ name, type }) => {
|
|
@@ -86,11 +76,7 @@ let StartDebugQuickAccessProvider = class StartDebugQuickAccessProvider extends
|
|
|
86
76
|
highlights: { label: highlights },
|
|
87
77
|
buttons: [{
|
|
88
78
|
iconClass: ThemeIcon.asClassName(debugRemoveConfig),
|
|
89
|
-
tooltip: ( localizeWithPath(
|
|
90
|
-
'vs/workbench/contrib/debug/browser/debugQuickAccess',
|
|
91
|
-
'removeLaunchConfig',
|
|
92
|
-
"Remove Launch Configuration"
|
|
93
|
-
))
|
|
79
|
+
tooltip: ( localizeWithPath(_moduleId, 3, "Remove Launch Configuration"))
|
|
94
80
|
}],
|
|
95
81
|
trigger: () => {
|
|
96
82
|
configManager.removeRecentDynamicConfigurations(name, type);
|
|
@@ -113,12 +99,7 @@ let StartDebugQuickAccessProvider = class StartDebugQuickAccessProvider extends
|
|
|
113
99
|
dynamicProviders.forEach(provider => {
|
|
114
100
|
picks.push({
|
|
115
101
|
label: `$(folder) ${provider.label}...`,
|
|
116
|
-
ariaLabel: ( localizeWithPath(
|
|
117
|
-
'vs/workbench/contrib/debug/browser/debugQuickAccess',
|
|
118
|
-
{ key: 'providerAriaLabel', comment: ['Placeholder stands for the provider label. For example "NodeJS".'] },
|
|
119
|
-
"{0} contributed configurations",
|
|
120
|
-
provider.label
|
|
121
|
-
)),
|
|
102
|
+
ariaLabel: ( localizeWithPath(_moduleId, 4, "{0} contributed configurations", provider.label)),
|
|
122
103
|
accept: async () => {
|
|
123
104
|
const pick = await provider.pick();
|
|
124
105
|
if (pick) {
|
|
@@ -130,40 +111,27 @@ let StartDebugQuickAccessProvider = class StartDebugQuickAccessProvider extends
|
|
|
130
111
|
});
|
|
131
112
|
const visibleLaunches = configManager.getLaunches().filter(launch => !launch.hidden);
|
|
132
113
|
if (visibleLaunches.length > 0) {
|
|
133
|
-
picks.push({ type: 'separator', label: ( localizeWithPath(
|
|
134
|
-
'vs/workbench/contrib/debug/browser/debugQuickAccess',
|
|
135
|
-
'configure',
|
|
136
|
-
"configure"
|
|
137
|
-
)) });
|
|
114
|
+
picks.push({ type: 'separator', label: ( localizeWithPath(_moduleId, 5, "configure")) });
|
|
138
115
|
}
|
|
139
116
|
for (const launch of visibleLaunches) {
|
|
140
117
|
const label = this.contextService.getWorkbenchState() === 3 ?
|
|
141
|
-
( localizeWithPath(
|
|
142
|
-
|
|
143
|
-
"addConfigTo",
|
|
144
|
-
"Add Config ({0})...",
|
|
145
|
-
launch.name
|
|
146
|
-
)) :
|
|
147
|
-
( localizeWithPath(
|
|
148
|
-
'vs/workbench/contrib/debug/browser/debugQuickAccess',
|
|
149
|
-
'addConfiguration',
|
|
150
|
-
"Add Configuration..."
|
|
151
|
-
));
|
|
118
|
+
( localizeWithPath(_moduleId, 6, "Add Config ({0})...", launch.name)) :
|
|
119
|
+
( localizeWithPath(_moduleId, 7, "Add Configuration..."));
|
|
152
120
|
picks.push({
|
|
153
121
|
label,
|
|
154
122
|
description: this.contextService.getWorkbenchState() === 3 ? launch.name : '',
|
|
155
123
|
highlights: { label: matchesFuzzy(filter, label, true) ?? undefined },
|
|
156
|
-
accept: () => this.commandService.executeCommand(ADD_CONFIGURATION_ID, ( launch.uri.toString()))
|
|
124
|
+
accept: () => this.commandService.executeCommand(ADD_CONFIGURATION_ID, ( (launch.uri.toString())))
|
|
157
125
|
});
|
|
158
126
|
}
|
|
159
127
|
return picks;
|
|
160
128
|
}
|
|
161
129
|
};
|
|
162
|
-
StartDebugQuickAccessProvider = ( __decorate([
|
|
163
|
-
( __param(0, IDebugService)),
|
|
164
|
-
( __param(1, IWorkspaceContextService)),
|
|
165
|
-
( __param(2, ICommandService)),
|
|
166
|
-
( __param(3, INotificationService))
|
|
167
|
-
], StartDebugQuickAccessProvider));
|
|
130
|
+
StartDebugQuickAccessProvider = ( (__decorate([
|
|
131
|
+
( (__param(0, IDebugService))),
|
|
132
|
+
( (__param(1, IWorkspaceContextService))),
|
|
133
|
+
( (__param(2, ICommandService))),
|
|
134
|
+
( (__param(3, INotificationService)))
|
|
135
|
+
], StartDebugQuickAccessProvider)));
|
|
168
136
|
|
|
169
137
|
export { StartDebugQuickAccessProvider };
|