seunlanlege / vscode-action-buttons

VsCode extension for custom status bar buttons
90 stars 25 forks source link

Run tasks #6

Closed bpatram closed 5 years ago

bpatram commented 6 years ago

To better integrate into VSCode it would be great to be able to kick off a specific task (https://code.visualstudio.com/docs/editor/tasks) in addition to one off commands.

seunlanlege commented 6 years ago

yeah this would require reading vscode's task list, not sure if such an api exists but if it does PR's welcome.

bpatram commented 6 years ago

Hello, thank you for responding! I've since found an extension which does exactly what I needed:

https://github.com/actboy168/vscode-tasks https://marketplace.visualstudio.com/items?itemName=actboy168.tasks

That extension author seems to have figured it out how to add buttons for tasks. Of course, that extension does not allow for arbitrary commands to be run outside of tasks.json like this extension offers :)