actboy168 / vscode-tasks

MIT License
37 stars 14 forks source link

Tooltip on Hover #11

Closed unimpededglare closed 4 years ago

unimpededglare commented 4 years ago

Just discovered this extension tonight and it's fantastic. One feature that would be nice is a customizable tooltip that pops up when you hover over the status bar item. This could be configured with a "statusbartooltip" option. I believe the following code would be close to what is needed:

    let tooltip = getValue2(task, config, "options", "statusbartooltip");

    if (tooltip != undefined) {
                statusBar.tooltip = tooltip;
    }

Sorry I didn't create a pull request for this, it looks like I would need to install quite a few utilities to create/debug extensions and it didn't seem worthwhile for such a small change.