[BUG] Only one Claude Code instance per VSCode window can have IDE connection
Description
When running multiple Claude Code instances in different terminals within the same VSCode window, only ONE instance can be IDE-connected at a time. Other instances show IDE: Installed VS Code extension instead of IDE: Connected to VS Code extension.
Steps to Reproduce
- Open VSCode with Claude Code extension installed
- Open Terminal 1, run
claude, check/status→ ShowsIDE: Connected - Open Terminal 2 (different project folder), run
claude, check/status→ ShowsIDE: Installed(not connected) - In Terminal 1, run
/exit - In Terminal 2, run
/ide→ Now showsIDE: Connected - Go back to Terminal 1, run
claude, check/status→ ShowsIDE: Installed(lost connection)
Expected Behavior
Multiple Claude Code instances in different terminals should be able to connect to the IDE simultaneously, as suggested by the documentation stating "Run multiple Claude Code sessions simultaneously".
Actual Behavior
Only one Claude Code instance per VSCode window can maintain an IDE connection. Starting a new instance or reconnecting from another terminal causes the previous instance to lose its IDE connection.
Environment
- Claude Code version: 2.0.74
- OS: Windows 11 (Build 26200.7462)
- VSCode/Cursor version: Latest
- Terminal: PowerShell (integrated)
Impact
This limitation forces users to either:
- Work with only one IDE-connected Claude Code at a time
- Open multiple VSCode windows (~800 MB each) to have multiple simultaneous IDE connections
Related Issues
- #14832 - IDE not connected when running from subdirectory
- #13447 - VSCode integrated terminal cannot detect 'code' command
Found 3 possible duplicate issues:
- https://github.com/anthropics/claude-code/issues/13448
- https://github.com/anthropics/claude-code/issues/13287
- https://github.com/anthropics/claude-code/issues/13352
This issue will be automatically closed as a duplicate in 3 days.
- If your issue is a duplicate, please close it and 👍 the existing issue instead
- To prevent auto-closure, add a comment or 👎 this comment
🤖 Generated with Claude Code
This issue has been automatically closed as a duplicate of #13448.
If this is incorrect, please re-open this issue or create a new one.
🤖 Generated with Claude Code