VS Code extension opens 3 new windows when running claude from integrated terminal
Resolved 💬 3 comments Opened Mar 5, 2026 by 13LOLOUT Closed Mar 9, 2026
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
Every time claude is launched from the VS Code integrated terminal, 3 new VS Code windows open automatically. This did not happen in
previous versions.
Environment:
- Claude Code CLI: latest
- Claude Code VS Code Extension: v2.1.69
- VS Code: 1.110.0
- OS: Windows 11 Home
Steps to reproduce:
- Open VS Code with any folder
- Open the integrated terminal (Git Bash)
- Run claude
- 3 new VS Code windows open automatically
Expected behavior: No new windows should open. Claude should run in the terminal as before.
Notes:
- Does NOT happen when running claude from CMD or PowerShell outside VS Code
- Disabling terminal.integrated.shellIntegration.enabled did not fix it
- Setting CLAUDE_CODE_SSE_PORT to empty via terminal.integrated.env.windows did not fix it
- The issue started with a recent extension update
What Should Happen?
not open 3 empty pages of vs studio code
Error Messages/Logs
No error messages are shown. The 3 windows open silently with no warnings or logs.
Steps to Reproduce
- Install the Claude Code VS Code extension (v2.1.69) 2. Open any folder in VS Code
- Open the integrated terminal (Git Bash or any shell) 4. Type
claudeand press Enter - Observe: 3 new VS Code windows open automatically
Claude Model
Not sure / Multiple models
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
v2.1.69
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
VS Code integrated terminal
Additional Information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗