mirror of
https://github.com/microsoft/vscode.git
synced 2026-09-01 21:54:52 +01:00
Merge pull request #185431 from weartist/fix_call_hierarchy_tooltip
Fix #185051
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user