Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add hide property to configure which tasks appear in the Tasks: run task quickpick #154166

Merged
merged 17 commits into from Jul 6, 2022

Conversation

meganrogge
Copy link
Contributor

This PR fixes #149095

@meganrogge meganrogge requested a review from Tyriar July 5, 2022 13:57
@meganrogge meganrogge self-assigned this Jul 5, 2022
@meganrogge meganrogge added this to the July 2022 milestone Jul 5, 2022
Copy link
Member

@Tyriar Tyriar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if we should have this vs an actual hidden property as suggested in the related issues? Underscore hiding is somewhat intuitive but much less discoverable.

@meganrogge
Copy link
Contributor Author

Yeah I'm not sure which is the right approach. @alexr00 thoughts?

@alexr00
Copy link
Member

alexr00 commented Jul 5, 2022

I agree that having a property is more discoverable, so I would go for a hidden or hide property. There will inevitably be someone who wants the _ tasks to show, and then you'll also need to add a setting for it.

@meganrogge meganrogge changed the title hide tasks from Tasks: run task quickpick when prefixed with __ hide hidden task from Tasks: run task quickpick Jul 5, 2022
@meganrogge meganrogge changed the title hide hidden task from Tasks: run task quickpick add hide property to configure which tasks appear in the Tasks: run task quickpick Jul 6, 2022
.vscode/tasks.json Outdated Show resolved Hide resolved
.vscode/tasks.json Outdated Show resolved Hide resolved
.vscode/tasks.json Outdated Show resolved Hide resolved
.vscode/tasks.json Outdated Show resolved Hide resolved
.vscode/tasks.json Outdated Show resolved Hide resolved
.vscode/tasks.json Outdated Show resolved Hide resolved
.vscode/tasks.json Outdated Show resolved Hide resolved
.vscode/tasks.json Outdated Show resolved Hide resolved
.vscode/tasks.json Outdated Show resolved Hide resolved
.vscode/tasks.json Outdated Show resolved Hide resolved
.vscode/tasks.json Outdated Show resolved Hide resolved
.vscode/tasks.json Outdated Show resolved Hide resolved
.vscode/tasks.json Outdated Show resolved Hide resolved
Tyriar
Tyriar previously approved these changes Jul 6, 2022
src/vs/workbench/api/common/shared/tasks.ts Show resolved Hide resolved
src/vs/workbench/contrib/tasks/common/jsonSchema_v2.ts Outdated Show resolved Hide resolved
@meganrogge meganrogge merged commit 0df86c3 into main Jul 6, 2022
@meganrogge meganrogge deleted the merogge/hide-tasks branch July 6, 2022 15:54
@github-actions github-actions bot locked and limited conversation to collaborators Aug 20, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow implementation tasks to be hidden
3 participants