actboy168 / vscode-tasks

MIT License
37 stars 14 forks source link

some suggestions #28

Closed alexzshl closed 3 years ago

alexzshl commented 3 years ago
  1. Add dynamic styles to the button by listening to the start/stop event of the task: vscode.tasks.onDidStartTask, $(sync~spin)

    complex tasks dependencies : dependents

  2. Add examples for schema statubar-label to view all icons (300+ icons) from codicon library. I can provide it later, if you think this is useful image

  3. I have noticed that some users use tasks configured with depends Order and dependsOn. Maybe they want the subtasks to be displayed dynamically. The subtasks will not be displayed, when the main task is running, the subtasks will temporarily appears and then disappears

actboy168 commented 3 years ago
  1. Adding the running status to the label will change the position of part of the statusbar. This is the reason why I did not add this feature.
  2. It looks like a good feature, but it has nothing to do with this extension. This extension just solves the problem of displaying the task on the statusbar to make it easier to start a task. Not how to write a task.This should be a problem solved by another extension or VSCode.
  3. Same as 1. In addition, I don't want to turn this extension into a complicated task manager, it just allows you to start a task more simply.
alexzshl commented 3 years ago
  1. Do you mean that temporarily changing the value of the statusBar.text will cause the position to change? This operation should not reload statusbarArray. I know that hiding and redisplaying a bar will cause the position to change, but that operation is not done here, and the statusBarArray is not reloaded. Able to find the corresponding statusBar by matching task._id statusBar.text = statusBar.text + " $(sync~spin)";