[BUG] /ide command doesn't detect JetBrains IDE in Remote Development (Gateway + WSL)

Resolved 💬 3 comments Opened Jan 8, 2026 by ir0nmand0 Closed Jan 8, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

When using JetBrains Gateway with Remote Development (backend in WSL2), the /ide command from an external WSL terminal returns "No available IDEs detected".

Environment:

  • OS: Windows 11 + WSL2 (Ubuntu 24.04)
  • IDE: IntelliJ IDEA 2025.3.1 via JetBrains Gateway (Remote Development)
  • Claude Code CLI: running in WSL
  • Plugin: Claude Code [Beta] installed on both Host and Client

Both Claude Code CLI and IDEA backend run inside WSL on the same host, so this shouldn't be a network issue (NAT/firewall between Windows and WSL).

Workaround: Running claude from IDE's integrated terminal works — integration is automatic.

What Should Happen?

/ide should detect IDEA Remote Development backend running on the same WSL2 host, allowing IDE integration when Claude is started from an external terminal.

Error Messages/Logs

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

Steps to Reproduce

Steps to Reproduce:

  1. Install JetBrains Gateway on Windows
  2. Connect to WSL2 (Ubuntu 24.04) via Remote Development
  3. Install Claude Code plugin on both Host and Client in IDE settings
  4. Open a project in IDEA Remote
  5. Open a separate WSL terminal (not IDE's integrated terminal)
  6. Run claude
  7. Run /ide
  8. Result: "No available IDEs detected"

Claude Model

Opus

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

v2.1.1

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

WSL (Windows Subsystem for Linux)

Additional Information

The same setup works perfectly when running claude from IDE's integrated terminal — the integration is automatic without needing /ide.

Question: Is /ide supposed to support JetBrains Remote Development (Gateway) architecture, or only local IDE installations?

JetBrains Remote Development architecture:

  • Thin client (Gateway) runs on Windows
  • Backend (actual IDE) runs in WSL2
  • Plugin installed on both sides

View original on GitHub ↗

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