Skip to content

IDE detection fails on Windows - /ide shows no available IDEs #14489

Description

@lhanks

Description

The /ide command shows "No available IDEs detected" even though the Claude Code extension is installed and enabled in both VS Code and Cursor.

Environment

  • OS: Windows (MINGW64_NT-10.0-26200)
  • Claude Code CLI: v2.0.72 (npm-global)
  • IDEs tested: VS Code and Cursor (both have Claude Code extension installed)
  • Terminal: Running from IDE integrated terminal

Steps to Reproduce

  1. Install Claude Code extension in VS Code/Cursor
  2. Open IDE and verify extension is installed and enabled
  3. Open integrated terminal in the IDE
  4. Run claude
  5. Run /ide

Expected Behavior

The IDE should be detected and listed as available for connection.

Actual Behavior

Shows: "No available IDEs detected. Make sure your IDE has the Claude Code extension or plugin installed and is running."

Troubleshooting Attempted

  • Verified extension is installed and enabled in both IDEs
  • Set "Claude Process Wrapper" setting to C:\Users\lesli\AppData\Roaming\npm\claude.cmd
  • Added Cursor to Windows PATH
  • Added firewall rule for ports 42000-44999
  • Reinstalled extension
  • Restarted IDEs multiple times
  • Ran claude doctor - shows no issues

Extension Logs

The VS Code Output panel for Claude Code shows HTTP client errors:

2025-12-18T15:47:21.048Z [ERROR] "Error: Error\n    at <anonymous> (B:/~BUN/root/claude.exe:45:15236)\n    at <anonymous> (B:/~BUN/root/claude.exe:59:10263)\n    at emitError (node:events:43:23)\n    ...

Additional Context

  • claude doctor output shows installation is healthy
  • No IDE lock files are being created in ~/.claude/
  • No ports in the 42000-44000 range are listening when checked with netstat
  • The extension appears to not be starting its WebSocket server

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateThis issue or pull request already exists

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions