PHPStorm IDE integration not working on native Windows - /ide shows "No available IDEs detected" despite SSE port being set
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?
The Claude Code JetBrains plugin fails to establish IDE integration on native Windows. The /ide command shows "No available IDEs detected" even though:
- The plugin is installed and enabled
- CLAUDE_CODE_SSE_PORT environment variable is correctly set in the terminal (e.g., 51849)
- The SSE port is listening and accessible (verified with Test-NetConnection)
- Running from PHPStorm's integrated terminal
The diff viewer does not open when Claude makes file edits - changes only appear in the terminal.
What Should Happen?
• /ide command should detect PHPStorm as an available IDE
• File edits should open in PHPStorm's native diff viewer
• IDE integration features (selection context, diagnostics sharing) should work
Error Messages/Logs
claude doctor output:
Diagnostics
└ Currently running: native (2.1.25)
└ Path: C:\Users\dave\.local\bin\claude.exe
└ Config install method: native
└ Search: OK (bundled)
Updates
└ Auto-updates: enabled
└ Auto-update channel: latest
└ Stable version: 2.1.7
└ Latest version: 2.1.25
Steps to Reproduce
- Install Claude Code CLI natively on Windows (C:\Users\<user>\.local\bin\claude.exe)
- Install Claude Code [Beta] plugin from JetBrains Marketplace in PHPStorm
- Restart PHPStorm
- Open a new integrated terminal
- Verify SSE port is set: echo $env:CLAUDE_CODE_SSE_PORT (shows port number)
- Verify port is listening: Test-NetConnection -ComputerName localhost -Port <port> (TcpTestSucceeded: True)
- Run claude
- Run /ide command
- Observe: "No available IDEs detected"
- Ask Claude to edit a file
- Observe: No diff viewer opens, changes shown in terminal only
Claude Model
Not sure / Multiple models
Is this a regression?
Yes, this worked in a previous version
Last Working Version
Same versions worked this morning
Claude Code Version
Claude Code CLI version: 2.1.25 (native installation)
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
PowerShell
Additional Information
Environment
• Platform: Anthropic API (Claude Max)
• Claude Code CLI version: 2.1.25 (native installation)
• Operating System: Windows 11 Pro (Build 26200)
• IDE: PHPStorm 2025.3.2
• Plugin version: Claude Code [Beta] 0.1.14-beta
• Terminal: PowerShell (PHPStorm integrated terminal)
• Environment type: Native Windows (NOT WSL)
Additional Context
• Previously encountered ClassCastException in plugin (resolved by clearing caches):
• java.lang.ClassCastException: class com.anthropic.code.plugin.settings.PluginSettings cannot be cast to class com.anthropic.code.plugin.settings.PluginSettings
• claude doctor shows healthy installation with native method
• Port connectivity verified - SSE server is running and accessible
• This is NOT a WSL issue - running entirely native Windows
Related Issues
• #14037 - Windows IDE integration PHPstorm (similar symptoms, WSL)
• #18277 - /ide command doesn't detect JetBrains IDE when running inside IDE terminal
• #14489 - IDE detection fails on Windows
• #1232 - Claude Code does not detect Jetbrains IDE on Windows WSL
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗