microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
164.2k stars 29.29k forks source link

Display disabled tasks in Run Build Task... menu #184047

Open adam-fowler opened 1 year ago

adam-fowler commented 1 year ago

I would like a method to display build tasks, that are temporarily unavailable. eg A build task that cannot be run because something else in happening in your workspace that would clash with the build.

Maybe add a disabled flag to vscode.Task which could be set in the individual tasks you return from TaskProvider.provideTasks when you want the task to be visible but not actionable.

An alternative is to list tasks with no execution set as disabled, but that would be a change of behaviour which might be less desirable.

vscodenpa commented 1 year ago

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.

Happy Coding!

vscodenpa commented 1 year ago

:slightly_smiling_face: This feature request received a sufficient number of community upvotes and we moved it to our backlog. To learn more about how we handle feature requests, please see our documentation.

Happy Coding!