[FEATURE] /diff tool in CLI should open changes in native JetBrains diff tool

Open 💬 0 comments Opened Jul 7, 2026 by jason-smarty

Preflight Checklist

  • [x] I have searched existing requests and this feature hasn't been requested yet
  • [x] This is a single feature request (not multiple features)

Problem Statement

The /diff command in Claude Code CLI displays file diffs in the terminal, which is difficult to read for large changesets and doesn't leverage the powerful diff tools already available in JetBrains IDEs. While the JetBrains plugin handles diffs for pending edits, the CLI /diff command is limited to text-only terminal output.

Proposed Solution

Enhance the /diff command to make diffs interactive:

When run in a JetBrains environment (or when a project is open), clicking on a file diff opens that specific change in the native JetBrains diff viewer.

Alternative Solutions

Just make each change a hotlink that you can click on to open it in the JetBrains diff viewer, but hitting "enter" opens the CLI diff tool.

Priority

High - Significant impact on productivity

Feature Category

CLI commands and flags

Use Case Example

_No response_

Additional Context

_No response_

View original on GitHub ↗