mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 13:00:58 +00:00
Fix #185051
This commit is contained in:
parent
1eec40969e
commit
56339d9381
|
@ -177,7 +177,7 @@ class CallItemDataProvider implements vscode.TreeDataProvider<CallItem> {
|
||||||
|
|
||||||
const item = new vscode.TreeItem(element.item.name);
|
const item = new vscode.TreeItem(element.item.name);
|
||||||
item.description = element.item.detail;
|
item.description = element.item.detail;
|
||||||
item.tooltip = item.label ? `${item.label} - ${element.item.detail}` : element.item.detail;
|
item.tooltip = item.label && element.item.detail ? `${item.label} - ${element.item.detail}` : item.label ? `${item.label}` : element.item.detail;
|
||||||
item.contextValue = 'call-item';
|
item.contextValue = 'call-item';
|
||||||
item.iconPath = getThemeIcon(element.item.kind);
|
item.iconPath = getThemeIcon(element.item.kind);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue