[BUG] Rider: No visual diff previews in editor - SSE connection not established

Status Closed — not planned
Maintainer reply None cached
Activity 12 comments · opened Nov 7, 2025 · closed Mar 5, 2026

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?

Rider plugin not displaying visual inline diff previews of proposed changes in the code editor. User only sees text-based change descriptions in terminal, not the actual visual diffs in the IDE.

What Should Happen?

When Claude proposes a file change:

  1. Visual inline diff should appear in Rider editor showing exactly what will change (red/green highlighting, side-by-side comparison)
  2. Terminal shows text description with accept/reject prompt
  3. User can see BOTH the terminal prompt AND the visual diff in the editor simultaneously
  4. After accepting, changes are applied

Error Messages/Logs

No errors. Terminal-based confirmation works, but visual IDE preview missing.

  Claude Code debug logs show no IDE connection attempts - no "IDE", "SSE", "WebSocket", or "62860" references.

  Rider idea.log shows plugin ready:
  CLAUDE_CODE_SSE_PORT=62860
  ENABLE_IDE_INTEGRATION=true

Steps to Reproduce

  1. Install Claude Code CLI 2.0.35 via npm
  2. Install "Claude Code [Beta]" plugin 0.1.12-beta in Rider
  3. Launch claude from Rider's integrated terminal (PowerShell)
  4. Ask Claude to modify a file (e.g., "Add a comment to TerminalLogger.cs")
  5. Expected: Inline diff preview appears in Rider editor showing the proposed change visually
  6. Actual: Only terminal shows text description; no visual diff in editor
  7. Confirm change in terminal
  8. Change applies successfully to file

Claude Model

Sonnet (default)

Is this a regression?

Yes, this worked in a previous version

Last Working Version

Previously working on 2025-11-06 with same setup (unknown if versions changed overnight)

Claude Code Version

2.0.35

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

PowerShell

Additional Information

Root Cause:
Claude Code CLI not establishing SSE connection to Rider plugin. Despite environment variables being correctly set (CLAUDE_CODE_SSE_PORT=62860, ENABLE_IDE_INTEGRATION=true) and verified present in the shell, Claude Code debug logs show zero IDE integration connection attempts.

Technical Details:

  • Rider plugin listening on port 62860 (verified via netstat)
  • Lock file exists: ~/.claude/ide/62860.lock with valid auth token
  • Environment variables confirmed in PowerShell where claude launched
  • Debug log (~/.claude/debug/[session-id].txt) completely lacks IDE integration initialization
  • Terminal-based workflow functions correctly
  • Visual IDE preview component not working

Impact:
User cannot see visual representation of proposed changes in code editor, making it difficult to review complex changes. Only text descriptions visible in terminal.

Attempted Fixes:

  • Restarted Rider multiple times
  • Reinstalled plugin (full uninstall + cache clear + reinstall)
  • Launched from both toolbar button and terminal directly
  • No improvement

The SSE connection between CLI and plugin is not being established, causing the visual preview feature to fail while terminal-based operations continue working.

Version:

  • It worked yesterday (2025-11-06)
  • It's broken today (2025-11-07)
  • Current versions: CLI 2.0.35, Plugin 0.1.12-beta
  • Can't determine if either auto-updated overnight
  • Key issue: Claude Code CLI not connecting to Rider plugin via SSE despite correct environment variables

View original on GitHub ↗

12 Comments

github-actions[bot] · 9 months ago

Found 1 possible duplicate issue:

  1. https://github.com/anthropics/claude-code/issues/5154

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

FraserFallows · 9 months ago

Possible duplicate is from 5th August. Keeping this bug active as there is also version mismatches. Indicating this issue is not resolved yet.

pajama · 9 months ago

bump!
is there source to the plugin? I'm sure we could use claude-code to diagnose better :)

github-actions[bot] · 8 months ago

This issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.

mikolajpod · 7 months ago
This issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.

Was this issue resolved? Let me know, otherwise don't close.

Kimprodp · 7 months ago

Same issue here.

  • Windows 10/11
  • IntelliJ IDEA 2025.3.2
  • CLI 2.1.23
  • Plugin 0.1.14-beta
  • SSE port listening, but /ide shows "No available IDEs detected"
andrewkobzev · 6 months ago

I can also reproduce this issue.

Environment:

  • OS: Windows 10/11
  • IDE: PhpStorm 2025.x
  • Claude Code Plugin: installed and enabled
  • Terminal: JetBrains integrated terminal (JediTerm)

Symptoms:

  • /ide shows no available IDEs detected
  • No visual diff previews appear in editor
  • SSE connection is not established despite plugin listening

Would really appreciate a fix for this. The diff preview feature is essential for code review workflow.

Thanks!

andrewkobzev · 6 months ago

Workaround (partial):

As a temporary solution, I'm using the JetBrains MCP Server (built into PhpStorm 2025.2+) which provides access to IDE tools like:

  • get_file_problems - IDE inspections/diagnostics
  • replace_text_in_file - file editing
  • rename_refactoring - refactoring support
  • build_project, execute_run_configuration, etc.

This works, but still no visual diffs - changes are applied directly without the side-by-side preview that makes code review so much easier.

andrewkobzev · 6 months ago

Exact versions:

  • PhpStorm 2025.3.2 (Build #PS-253.30387.85, January 21, 2026)
  • Claude Code Plugin: 0.1.14-beta
  • Windows 11.0
  • Runtime: OpenJDK 21.0.9+1-b1163.94 amd64
  • Terminal: JetBrains new terminal UI (terminal.new.ui=true)
daveelton · 6 months ago

Assuming this is the same underlying issue as #23119 this issue seems to come and go.
2.1.22 seems to work for me, but it's broken again in 2.1.23.

Additionally I noticed the claude debug logs (~/.claude/debug/) mention MCP server "ide": when working. However logging about this is absent when it does not.

Workaround to install a recent working version:

# Remove or rename native binary if installed using irm
mv $env:USERPROFILE\.local\bin\claude.exe $env:USERPROFILE\.local\bin\claude.exe.bak

# Install working version via npm
npm install -g @anthropic-ai/claude-code@2.1.22
github-actions[bot] · 5 months ago

Closing for now — inactive for too long. Please open a new issue if this is still relevant.

github-actions[bot] · 5 months ago

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.