This commit is contained in:
weartist 2023-06-17 20:08:06 +08:00
parent 1eec40969e
commit 56339d9381

View file

@ -177,7 +177,7 @@ class CallItemDataProvider implements vscode.TreeDataProvider<CallItem> {
const item = new vscode.TreeItem(element.item.name);
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.iconPath = getThemeIcon(element.item.kind);