[BUG] /ide fails to connect to Intellij IDE
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?
I tried to connect claude running in a windows command prompt to a project running in IntelliJ IDE. It failed to connect. I think the issue is the way the 2 products are reporting the working directory.
What Should Happen?
The /ide command is failing to connect to the IntelliJ IDE.
It shows the following error:
╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ │
│ Select IDE │
│ Connect to an IDE for integrated development features. │
│ │
│ No available IDEs detected. Make sure your IDE has the Claude Code extension or plugin installed and is running. │
│ │
│ Found 1 other running IDE(s). However, their workspace/project directories do not match the current cwd. │
│ │
│ • IntelliJ IDEA: /mnt/c/Projects/OWK/OWK-1.2-Clean7 │
│ │
However, claude was started in c:\projects\OWK\OWK-1.2.-Clean7.
These are actually the same directory as the workspace that IntelliJ is using.
I have claude v2.0.65 installed.
The IntelliJ Claude plugin is version 0.1.14-beta.
IntelliJ is version 2025.2.4 (Ultimate Edition).
Running on Window 11.
Not using WSL.
Error Messages/Logs
Steps to Reproduce
On Windows 11
- Start IntelliJ IDE
- Make sure the claude code plugin is installed.
- Open a project folder
- Open a windows command prompt
- CD to the same project folder
- Start claude
- Execute the /ide command
Claude Model
None
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.0.5
Platform
AWS Bedrock
Operating System
Windows
Terminal/Shell
Windows Terminal
Additional Information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗