[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

  1. Open project in Dev Container using VS Code Insider (Docker Desktop + Hyper-V)
  2. Open VS Code integrated terminal
  3. Run claude command
  4. Extension does not auto-install
  5. Run /ide command 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

  1. Extension auto-install fails
  2. /ide command 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 --version works 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

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗