Terminal quick fixes
VdevAI runs commands through the VS Code terminal by default and reads their output through VS Code shell integration. Most terminal problems are fixed by updating VS Code, selecting a supported shell and starting a fresh terminal.
First checks
Section titled “First checks”- Update VS Code: open the Command Palette (
Cmd/Ctrl + Shift + P) and run Update. - Reload the window: Developer: Reload Window.
- Select a supported shell: Terminal: Select Default Profile and choose
zsh,bash,fishor PowerShell. - Close the old terminal and open a new one.
- Run a harmless command such as
pwdorgit statusand check that VdevAI can see the output.
Shell integration unavailable
Section titled “Shell integration unavailable”VdevAI shows “Shell Integration Unavailable” when VS Code cannot attach its shell integration to the terminal. Try:
- Update VS Code and restart the extension host.
- Switch to a supported shell profile, then open a new terminal.
- Disable shell customisations that replace or wrap the prompt and reload the window.
- For remote development, make sure the shell integration is available inside the remote workspace, not only on your local machine.
- If output capture still fails, open VdevAI Settings → Terminal and try Background Exec mode.
PowerShell is not recognized
Section titled “PowerShell is not recognized”On Windows, VS Code may start a shell that is not on PATH, or PowerShell may be blocked by execution policy.
- Confirm PowerShell is installed and available from a normal terminal.
- In VS Code, run Terminal: Select Default Profile and choose Windows PowerShell or PowerShell 7.
- If execution policy blocks local scripts, ask your administrator before changing it. A common per-user setting is
Set-ExecutionPolicy -Scope CurrentUser RemoteSigned. - Reload VS Code and open a new terminal.
Commands hang or output is missing
Section titled “Commands hang or output is missing”- Stop the current task and close the terminal before retrying.
- Check whether the command is waiting for input; VdevAI cannot answer an interactive prompt for you.
- Reduce very large command output or redirect it to a file, then inspect the file.
- Try Background Exec if the VS Code terminal keeps losing integration.
- See the complete terminal integration guide for diagnostics.
Still stuck?
Section titled “Still stuck?”Open an issue at github.com/vdevai/vdevai/issues with your OS, shell, VS Code version and the command that failed. Remove API keys, tokens and private repository content from logs before posting.