Skip to content

Commit

Permalink
Adds contextValue to DBG node tooltip
Browse files Browse the repository at this point in the history
  • Loading branch information
eamodio committed Jul 9, 2019
1 parent 268f459 commit a642958
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/viewBase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export abstract class ViewBase<TRoot extends ViewNode<View>> implements TreeData
this.getTreeItem = async function(this: ViewBase<TRoot>, node: ViewNode) {
const item = await fn.apply(this, [node]);

item.tooltip = `${item.tooltip || item.label}\n\nDBG: ${node.toString()}`;
item.tooltip = `${item.tooltip || item.label}\n\nDBG: ${node.toString()}, ${item.contextValue}`;
return item;
};
}
Expand Down

0 comments on commit a642958

Please sign in to comment.