Skip to content

Allow "hide" attribute of tasks within a platform element like "windows", "linux", "osx" to effectively hide the task on the given platform #160939

@capiro

Description

@capiro

I'm looking for a way to hide a task from the UI when it doesn't make sense on a given operating system to uncluttered the UI.
The tasks.json already supports a "hide" element that can be set to true to hide the task from the UI.
However, when the "hide" element is inside a "windows", "linux" or "osx" element, it is ignored.
It seems allowing "hide" to be within the platform element would be an elegant way to hide tasks from OSs where it would not make sense to execute them.

Metadata

Metadata

Assignees

Labels

feature-requestRequest for new features or functionalitytasksTask system issues

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions