microsoft / microsoft/vscode-cpptools

Setting default task in "Run and Debug" play button

Open
#8,928 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Feature Request Language Service tasks/build/debug
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:

  1. 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.