From 465433d2249408fedb2b6dc76ab26c1be1925779 Mon Sep 17 00:00:00 2001 From: Eric Amodio Date: Wed, 3 Nov 2021 03:45:12 -0400 Subject: [PATCH] Fixes missing debug info from some tooltips --- src/views/viewBase.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/views/viewBase.ts b/src/views/viewBase.ts index 55f37da..8cc5ef4 100644 --- a/src/views/viewBase.ts +++ b/src/views/viewBase.ts @@ -143,6 +143,10 @@ export abstract class ViewBase< const parent = node.getParent(); if (node.resolveTreeItem != null) { + if (item.tooltip != null) { + addDebuggingInfo(item, node, parent); + } + const resolveTreeItemFn = node.resolveTreeItem; node.resolveTreeItem = async function (this: ViewBase, item: TreeItem) { const resolvedItem = await resolveTreeItemFn.apply(this, [item]);