PowerShell / PowerShell/vscode-powershell
When debugging, remember script arguments on a per-script, not per-workspace/folder basis
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, whatever script from the current workspace/folder was being debugged at that time.
It would be useful to have the pre-filling done with the most recent arguments for the currently debugged script.
IOW, the arguments should be remembered separately for each script in the workspace/folder.
This would make debugging several scripts in the same workspace/folder easier.
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 dalla configurazione “PowerShell Launch Current File w/Args Prompt” e dall’input “SpecifyScriptArgs” descritto nell’issue. Traccia dove vengono memorizzati gli argomenti più recenti e fai in modo che il valore ricordato dipenda dallo script attualmente sottoposto a debug invece che dal workspace o dalla cartella. Il lavoro è completato quando ogni script in un workspace precompila i propri argomenti immessi più di 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à
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Tranquilla
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 54/100