microsoft / microsoft/vscode-cpptools

Setting default task in "Run and Debug" play button

Aperta
#8,928 2 commenti 1 reazione 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Feature Request Language Service tasks/build/debug
Lingua principale
TypeScript
Stelle
6.2k
Fork
1.7k
Merge medio
14h 46m
PR unite (30g)
61

Descrizione

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?

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Direzione di ricerca

Non viene indicato alcun file, test o entry point. Inizia esaminando il comportamento esistente di selezione delle attività in Run and Debug e il modo in cui tasks.json memorizza le attività predefinite; confronta i due approcci nell’Issue e definisci i criteri di accettazione per il flusso utente scelto.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
typescript, vscode
Ambito
developer-experience, devtools
Tipo di issue
Funzionalità
Difficoltà
5/5
Tempo stimato
Più di una settimana
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
20/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.