Starting Claude Code in VSCode integrated terminal opens 3 new VSCode windows
Resolved 💬 8 comments Opened Mar 5, 2026 by lpmwfx Closed Mar 6, 2026
Bug Description
When launching a Claude Code session from within a VSCode integrated terminal, 3 new VSCode windows are opened every time.
Steps to Reproduce
- Open VSCode
- Open the integrated terminal (Ctrl+\`)
- Run
claudeto start a Claude Code session
Expected Behavior
No additional VSCode windows should open. Claude Code should run within the existing terminal session.
Actual Behavior
3 new VSCode windows are opened each time a Claude Code session is started from the VSCode integrated terminal.
Environment
- OS: Windows 11 Pro 10.0.26200
- Shell: bash (Git Bash)
- Claude Code version: latest
Additional Context
This appears to be related to Claude Code's IDE integration detection. It may be spawning multiple code process calls unintentionally when detecting or connecting to the VSCode environment on Windows.
This issue has 8 comments on GitHub. Read the full discussion on GitHub ↗