claude-code - 💡(How to fix) Fix [BUG] IDE Auto-Connection does not work in WSL2 [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#52342Fetched 2026-04-24 06:09:42
View on GitHub
Comments
0
Participants
1
Timeline
4
Reactions
0
Author
Participants
Timeline (top)
labeled ×4

Error Message

Error Messages/Logs

RAW_BUFFERClick to expand / collapse

Preflight Checklist

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

What's Wrong?

When starting Claude Code in a integrated WSL2 terminal via the Claude Code Plugin 0.1.14-beta in PHPStorm 2026.1 by clicking the toolbar button, the IDE is NOT connected automatically and the connection has to be manually established via /ide on every start. This is needed so that the native Diff Viewer (PHPStorm) is used instead of TUI,

What Should Happen?

PHPStorm should be auto-connected when starting Claude Code from the Toolbar Button and using the native PHPStorm Diff Viewer without any further user interaction needed

Error Messages/Logs

Steps to Reproduce

  1. Start Claude Code via the toolbar button provided by the Plugin
  2. Write a prompt to alter anything
  3. TUI Diff is shown instead of PHPStorm's Diff Viewer
  4. type /ide and select PHPStorm (which for me ist shown twice for whatever reason)
  5. Write a prompt again to change something
  6. Native Diff Viewer opens as expected

Claude Model

Sonnet (default)

Is this a regression?

I don't know

Last Working Version

No response

Claude Code Version

2.1.118

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

WSL (Windows Subsystem for Linux)

Additional Information

No response

extent analysis

TL;DR

The issue can likely be resolved by configuring the Claude Code plugin to automatically establish a connection to PHPStorm on startup.

Guidance

  • Verify that the Claude Code plugin is properly configured to connect to PHPStorm by checking the plugin settings in PHPStorm.
  • Check if there are any available updates for the Claude Code plugin, as the current version (0.1.14-beta) may have a bug that prevents automatic connection.
  • Try modifying the startup command for Claude Code to include the /ide option, which may force the connection to PHPStorm.
  • Investigate why the PHPStorm option is shown twice when typing /ide, as this may be related to the connection issue.

Notes

The issue may be specific to the WSL2 terminal or the Claude Code plugin, and further investigation is needed to determine the root cause.

Recommendation

Apply workaround: modify the startup command for Claude Code to include the /ide option, as this may temporarily resolve the issue until a permanent fix is available.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING