reuse meta-property for text below label & desc

This commit is contained in:
Johannes Rieken
2016-01-13 16:38:12 +01:00
parent d5a91097b9
commit 53a3a0fbad
5 changed files with 35 additions and 23 deletions

View File

@@ -51,17 +51,20 @@ export class ExtHostQuickOpen {
let item = items[handle];
let label: string;
let description: string;
let meta: string;
if (typeof item === 'string') {
label = item;
} else {
label = item.label;
description = item.description;
meta = item.detail;
}
pickItems.push({
label,
description,
handle
handle,
meta
});
}