[BUG] /ide does not use the correct Windows path on Windows and does not connect to IDEs
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 a jetbrains IDE is running and has the claude code extension, it provides internal tools as skills and mcp to claude code which helps claude code being more efficient and faster.
Using the "claude" plugin in the IDE opens the integrated terminal of the IDE and correctly detects the opened project as the root.
But the integrated terminal has many limitations, for ex you can not drop images into it.
Using the Windows Terminal app on Windows, you can start claude code in the same folder where the IDE is opened, then tapping "/ide" should connect to that IDE. But it does not.
What Should Happen?
The connection fails to find the IDE, maybe because claude code compares Windows paths to wsl2 paths, even if those point to the same folder.
<img width="1233" height="716" alt="Image" src="https://github.com/user-attachments/assets/ed645b99-9e68-474c-8b2c-791637c93e03" />
Error Messages/Logs
Steps to Reproduce
- open Android studio on Windows and create a project in path D:\test, make sure the claude code plugin is installed and authenticated.
- open a Windows Terminal with the pwsh bash (powershell 7), cd d:\test, start claude code
- enter /ide in claude code
Claude Model
Opus
Is this a regression?
No, this never worked
Last Working Version
_No response_
Claude Code Version
2.1.263
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
Windows Terminal
Additional Information
_No response_
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗