PowerShell / PowerShell/vscode-powershell
Add MRU to argument prompt when debugging a PowerShell script
Nessuno ha ancora preso questa issue.
- Lingua principale
- TypeScript
- Stelle
- 1.9k
- Fork
- 548
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
Summary of the new feature
When one debugs a PowerShell script with the "PowerShell Launch Current File w/Args Prompt" configuration:
{
"type": "PowerShell",
"request": "launch",
"name": "PowerShell Launch Current File w/Args Prompt",
"script": "${file}",
"args": [
"${command:SpecifyScriptArgs}"
],
"cwd": "${file}"
},
the input field is pre-filled with the most recent arguments input on the previous debug session.
It would be useful to have a list of most recently used argument lists, so that one could easily test the same script with several sets of arguments.
Proposed technical implementation details (optional)
The list should be sorted by most-recently used argument list.
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia con la configurazione PowerShell Launch Current File w/Args Prompt e l’input ${command:SpecifyScriptArgs} descritti nell’issue. Segui il modo in cui viene popolato il prompt e determina dove vengono gestiti i suoi elenchi di argomenti recenti. Il lavoro è completo quando il prompt offre gli elenchi di argomenti usati in precedenza in ordine dal più recente al meno recente.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- powershell, typescript, vscode
- Ambito
- devtools
- Tipo di issue
- Funzionalità
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 42/100