[BUG] Duplicate IntelliJ IDEA detection causing auto-connect IDE failure since version 1.0.57

Resolved 💬 15 comments Opened Jul 29, 2025 by hjkim-devops Closed Jan 17, 2026

Issue Title

Duplicate IntelliJ IDEA detection causing auto-connect IDE failure since version 1.0.57

<img width="1318" height="487" alt="Image" src="https://github.com/user-attachments/assets/ef83b059-e915-4fbc-83bd-0c6729417432" />

Environment

  • Platform (select one):
  • [x] Anthropic API
  • [ ] AWS Bedrock
  • [ ] Google Vertex AI
  • [ ] Other: <!-- specify -->
  • Claude CLI version: 1.0.57+
  • Operating System: Windows 10
  • Terminal: PowerShell → WSL bash (via wsl -- bash -ic "claude")

Bug Description

Since claude-code version 1.0.57 and above, IntelliJ IDEA is being detected twice in the IDE selection menu, which causes the auto-connect IDE feature to fail. The IDE selection shows two identical IntelliJ IDEA entries pointing to the same path, and users must manually type and select "/ide" to proceed.

Steps to Reproduce

  1. Install claude-code version 1.0.57 or higher on Windows 10
  2. Open IntelliJ IDEA and navigate to the terminal
  3. Run wsl -- bash -ic "claude" in the PowerShell terminal within IntelliJ IDEA
  4. Observe the IDE selection menu

Expected Behavior

  • IntelliJ IDEA should be detected only once in the IDE selection menu
  • Auto-connect to IDE should work properly without user intervention
  • The IDE integration should function seamlessly

Actual Behavior

  • IntelliJ IDEA appears twice in the IDE selection list (both pointing to /mnt/c/_GITHUB/spectrakr/k8s-cluster-packages)
  • Auto-connect to IDE fails due to duplicate detection
  • User must manually type and select "/ide" to proceed
  • The tip message suggests using --ide flag or config, but auto-connect should work by default

Additional Context

  • This issue started occurring after upgrading from a version prior to 1.0.57
  • Previous versions correctly detected IntelliJ IDEA only once and auto-connect worked as expected
  • The terminal setup involves running claude through WSL bash from within IntelliJ's PowerShell terminal
  • Both duplicate entries show the exact same path: /mnt/c/_GITHUB/spectrakr/k8s-cluster-packages
  • The issue appears to be related to the IDE detection logic when running through WSL from within the IDE itself

Version comparison:

  • Version 1.0.52: Auto IDE connection works fastest
  • Version 1.0.56: Shows as disconnected initially with slight delay, then connects automatically
  • Version 1.0.57+: Duplicate detection causes auto-connect failure, manual "/ide" input required

View original on GitHub ↗

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