[BUG] Claude code won't connect to IntelliJ
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?
Claude code won't connect to IntelliJ...
I get following error: No available IDEs detected. Please install the plugin and restart your IDE
<img width="667" height="303" alt="Image" src="https://github.com/user-attachments/assets/2206f77b-c7e8-4677-93f5-4f134a486bd7" />
<img width="717" height="245" alt="Image" src="https://github.com/user-attachments/assets/13360482-dacb-464a-93de-400380d53cff" />
/doctor
Diagnostics
└ Currently running: npm-global (2.0.28)
└ Path: C:\Program Files\nodejs\node.exe
└ Invoked: C:\Users\tomsp\AppData\Roaming\npm\node_modules\@anthropic-ai\claude-code\cli.js
└ Config install method: unknown
└ Auto-updates enabled: default (true)
└ Update permissions: Yes
└ Search: OK (vendor)
What Should Happen?
Claude should recognize connected IDE IntelliJ
Error Messages/Logs
Steps to Reproduce
Type /ide while IntelliJ opened and claude code launched via the Plugin
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
v2.0.28
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
IntelliJ IDEA terminal
Additional Information
_No response_
7 Comments
Found 3 possible duplicate issues:
This issue will be automatically closed as a duplicate in 3 days.
🤖 Generated with Claude Code
This is not a duplicate.... I did not use Rider or Goland.
Update: Windows Terminal successfully shows my connected IDE... However IntelliJ's Terminal does not.
However what is interesting:
│
│ 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 3 other running IDE(s). However, their workspace/project directories do not match the current cwd. │
│
│ • IntelliJ IDEA: /mnt/c/Users/tomsp/IdeaProjects/test_claude
│ • IntelliJ IDEA: /mnt/c/Users/tomsp/IdeaProjects/test_claude0
│ • IntelliJ IDEA: /mnt/c/Users/tomsp/IdeaProjects/test_claude1
│
Im not using WSL... So why /mnt/c
Update: After turning off WSL, no more /mnt but.... Still no connection to IntelliJ when inside the IDE even when
passing the --ide flag.
From outside with Windows Terminal i can connect.
It suddenly works again, i have no clue why xd
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.