Skip to content
This repository was archived by the owner on Nov 16, 2023. It is now read-only.

Commit 6527f43

Browse files
committed
🔨 Include label and detail in call item tooltip
Signed-off-by: Babak K. Shandiz <[email protected]>
1 parent c698c38 commit 6527f43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/calls/model.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ class CallItemDataProvider implements vscode.TreeDataProvider<CallItem> {
178178

179179
const item = new vscode.TreeItem(element.item.name);
180180
item.description = element.item.detail;
181-
item.tooltip = element.item.detail;
181+
item.tooltip = item.label? `${item.label} - ${element.item.detail}` : element.item.detail;
182182
item.contextValue = 'call-item';
183183
item.iconPath = getThemeIcon(element.item.kind);
184184
item.command = {

0 commit comments

Comments
 (0)