microsoft / microsoft/vscode-cpptools
Setting default task in "Run and Debug" play button
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 6.2k
- Forks
- 1.7k
- Avg merge
- 14h 46m
- Merged PRs (30d)
- 61
Description
We need to make a decision for this scenario:
- When playing the "Debug/Run" button:
- the user will see a set of tasks to choose from,
- the selected task will be set as a default task
- if the user plays the button again, the default task will be run
if the user doesn't want the task to be a default anymore, they have to remove the "isDefault" property from their tasks.json file.
The other way to design this is not to set the default and expect the user to run "Tasks: Configure Default Build Task" to set the default manually.
The question is: what would be a more simple approach for setting the default?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No file, test, or entry point is named. Start by reviewing the existing Run and Debug task-selection behavior and how tasks.json stores default tasks; compare the two approaches in the issue and define acceptance criteria for the chosen user flow.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, vscode
- Domain
- developer-experience, devtools
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100