[BUG] Claude Code VS Code extension auto-install fails in Dev Container environment (Win11 Hyper-V + DevContainer)
Resolved 💬 2 comments Opened May 23, 2025 by papunoko Closed May 23, 2025
Environment
- Platform (select one):
- [ ] Anthropic API
- [ ] AWS Bedrock
- [ ] Google Vertex AI
- [x] Other: Claude Code in VSCode
- Claude CLI version: 1.0.2
- Operating System: Win11 22H2
- Terminal: VS Code Insider integrated terminal (version 1.101.0-insider)
Bug Description
Claude Code VS Code extension auto-install fails in Dev Container environment, while working correctly in WSL environment on other environments.
Steps to Reproduce
- Open project in Dev Container using VS Code Insider (Docker Desktop + Hyper-V)
- Open VS Code integrated terminal
- Run
claudecommand - Extension does not auto-install
- Run
/idecommand to test IDE detection
Expected Behavior
Running claude in VS Code integrated terminal should automatically install the Claude Code extension, as documented in the IDE integrations guide.
Actual Behavior
- Extension auto-install fails
/idecommand shows: "No available IDEs detected. Make sure your IDE has the Claude Code extension or plugin installed and is running."
Additional Context
- Same setup works perfectly in WSL environment on other environments
- Claude Code CLI is properly installed and functional (
claude --versionworks correctly) - Other VS Code extensions correctly show "Install in Dev Container: Claude Code Sandbox @ desktop-linux" option
- VS Code details: Commit 1d7ad01f171443c8b2401f031c2e8f686121515c, Electron 35.4.0
- Environment: Docker Desktop + Hyper-V + Dev Container
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗