From e0f45f65440f14ebf2f458e382993260f1b28d06 Mon Sep 17 00:00:00 2001 From: Scott Meesseman Date: Sun, 7 Feb 2021 04:56:32 -0500 Subject: [PATCH] refactor: if 'detail' is defined on a task definition, then display it in it's representative tree item tooltip --- src/tasks.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tasks.ts b/src/tasks.ts index 3f64e3f3e..b10faba6e 100644 --- a/src/tasks.ts +++ b/src/tasks.ts @@ -71,7 +71,7 @@ export class TaskItem extends TreeItem }; } this.nodePath = task.definition.path; - this.tooltip = "Open " + task.name; + this.tooltip = "Open " + task.name + (task.detail ? ` | ${task.detail}` : ""); } getFolder(): WorkspaceFolder