[BUG] Claude Code unable to connect to PyCharm by using the dedicated Plugin or via PyCharm's terminals
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 graphical diff viewer (side-by-side comparison window with "Reject"/"Apply" buttons) randomly fails to appear when Claude Code proposes file changes. Instead, the diff is displayed as plain text in the terminal with red/green lines. This issue is intermittent and unpredictable.
Randomly, the diff is displayed as plain text directly in the Claude Code terminal:
- Red lines for deletions (with -), green lines for additions (with +)
- Text prompt: "Do you want to make this edit to filename?"
- No graphical diff viewer opens
No specific trigger identified - happens across different:
- Projects
- Sessions
- Computers
- Plugin versions
- IDE versions
What Should Happen?
Claude Code should consistently open a dedicated diff tab (e.g., [Claude Code] filename.ext) with:
- Side-by-side or unified diff viewer
- Native IDE diff controls ("Highlight words", "Unified viewer", etc.)
- "Reject" and "Apply" buttons at the bottom
As shown in the official plugin page screenshot #1.
Error Messages/Logs
Steps to Reproduce
- Use Claude Code in JetBrains IDE to request file modifications
- The issue occurs randomly - sometimes the graphical diff viewer appears, sometimes it doesn't
Claude Model
Sonnet (default)
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
2.0.60
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
PyCharm terminal
Additional Information
_No response_
This issue has 15 comments on GitHub. Read the full discussion on GitHub ↗