Skip to content

Commit f0be1a2

Browse files
author
Elaheh Rashedi
authored
add detail to menuItem (#6435)
1 parent df8523e commit f0be1a2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Extension/src/Debugger/extension.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,9 @@ export function initialize(context: vscode.ExtensionContext): void {
7474
configuration: vscode.DebugConfiguration;
7575
}
7676

77-
const items: MenuItem[] = configs.map<MenuItem>(config => ({label: config.name, configuration: config}));
77+
const items: MenuItem[] = configs.map<MenuItem>(config => ({ label: config.name, configuration: config, description: config.detail }));
7878

79-
vscode.window.showQuickPick(items, {placeHolder: (items.length === 0 ? localize("no.compiler.found", "No compiler found") : localize("select.compiler", "Select a compiler"))}).then(async selection => {
79+
vscode.window.showQuickPick(items, { placeHolder: (items.length === 0 ? localize("no.compiler.found", "No compiler found") : localize("select.configuration", "Select a configuration")) }).then(async selection => {
8080
if (!selection) {
8181
return; // User canceled it.
8282
}

0 commit comments

Comments
 (0)