Skip to content

Commit

Permalink
refactor: if 'detail' is defined on a task definition, then display i…
Browse files Browse the repository at this point in the history
…t in it's representative tree item tooltip
  • Loading branch information
spmeesseman committed Feb 7, 2021
1 parent 8784e00 commit e0f45f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tasks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e0f45f6

Please sign in to comment.