Title: Feature request: Start Extension Terminal as hidden/background terminal to avoid stealing focus on VS Code
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 68/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- powershell, typescript, vscode
- Ambito
- developer-experience, tooling
Direzione di ricerca
Inizia individuando il percorso di creazione del terminale dell’estensione e della sua attivazione all’avvio, quindi esamina come l’API dei terminali di VS Code gestisce l’opzione proposta hideFromUser. Verifica il comportamento aprendo VS Code con un file PowerShell e confermando che il terminale rimanga nascosto finché non viene aperto o utilizzato esplicitamente, senza sottrarre il focus all’editor.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Prerequisites
- I have written a descriptive issue title.
- I have searched all issues to ensure it has not already been reported.
Summary
When VS Code starts, the PowerShell Extension Terminal launches and grabs window/panel focus,
interrupting whatever the user was doing (e.g., opening a file, using the editor).
Expected behavior
The Extension Terminal should start as a hidden background terminal. It should only become
visible/focused when the user explicitly opens it or runs a PowerShell command.
VS Code supports creating terminals in a hidden state via the hideFromUser option in the
terminal API — the extension could leverage this so IntelliSense/language services start
without the terminal panel stealing focus.
Current behavior
On VS Code startup with a .ps1 file open, the Extension Terminal panel opens and takes focus.
Steps to reproduce
- Open VS Code with any PowerShell file
- The Extension Terminal panel activates and steals focus from the editor
The relevant prior issues are PowerShell/vscode-powershell#1058 (F5 steals focus, partially resolved via powershell.integratedConsole.focusConsoleOnExecute: false)
Proposed Design
VSCode now supports hidden terminals please use it
- Lingua principale
- TypeScript
- Stelle
- 1.9k
- Fork
- 548
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
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.
Altre issue di PowerShell/vscode-powershell
-
agentic-workflows
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
PowerShell/vscode-powershell#5599 · 3 commenti ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
PowerShell/vscode-powershell#5592 · 2 commenti · 1 reazione ·
-
agentic-workflows
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
PowerShell/vscode-powershell#5583 · 1 commento ·
-
powershell.scriptAnalysis.settingsPath (Description): Warning Message Should Provide A Workaround ApertaArea-Code Formatting Issue-Enhancement
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 68/100
PowerShell/vscode-powershell#4653 · 3 commenti · 4 reazioni ·
-
nothing ApertaIssue-Bug Needs: Triage
Difficoltà 5/5 Più di una settimana Idoneità per principianti 5/100
PowerShell/vscode-powershell#5603 · 1 reazione ·
Tutte le issue di PowerShell/vscode-powershell
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
copse-dev/agent-pane#2953 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
[Bug]: Matrix progress drafts fail with "Matrix runtime not initialized" during tool activity Apertabug clawsweeper:linked-pr-open clawsweeper:needs-live-repro clawsweeper:no-new-fix-pr impact:message-loss issue-rating: 🐚 platinum hermit P2 regression
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
-
calcite-components needs triage refactor
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
Esri/calcite-design-system#15203 ·