Skip to content
Sign in

Structure Diff

Review what AI coding agents changed – Claude Code, OpenAI Codex, DeepSeek, Cursor, Copilot, Gemini CLI and others.

Not scanned yet Editor extension 190 installs

Install in

No install steps yet

Follow the steps on the source page.

Review what AI coding agents changed – Claude Code, OpenAI Codex, DeepSeek, Cursor, Copilot, Gemini CLI and others. Shows changes at member level: added, modified and removed classes, methods and fields of each changed file, in a tree like the Structure tool window, and shows AI code-review findings (SARIF) right in the editor.

Works for every language with a Structure view (Java, Kotlin, TypeScript, JavaScript, ...) and refreshes automatically.

Structure Diff tool window

  • Modes: Uncommitted changes; Branch vs base – everything the branch changed since it forked from main/master or a base you pick under Base Branch…, like a merge request (needs Git); Follow Git Log – the commits selected in the Git log.
  • Export Diff for Review – saves the changes to reviews/<timestamp>-changes.diff and copies a review skill command to paste into your AI agent. With changes in several repositories, the selected one is exported alone; otherwise each gets a <timestamp>-<repo>-changes.diff and the command lists them all. The directory and the command are set in Settings | Tools | Structure Diff.
  • Toggles, in the toolbar's View Options dropdown: Show Nested Changes (inside functions and object literals), Show Unversioned Files (except files directly in the repository root), Flash Changes (briefly highlight what appeared, changed or disappeared; in the treemap, new boxes grow in and removals are not shown).
  • Per file and member: + added, ~ modified, − removed counts, changed lines, renames/moves, and old vs new signature in the tooltip; test files have the test icon. Multiple VCS roots are grouped.
  • The IDE's errors and warnings on changed members, as icons and in the tooltip (levels in Settings | Tools | Structure Diff); only files open in an editor have them, as the IDE analyses no others.
  • Double-click/Enter jumps to source, middle-click opens the diff at the member; context menu: Show Diff, Jump to Source, Show Member History, Copy Path.
  • Show as Treemap shows the changes as nested boxes sized by changed lines and colored by status (removed members red); test files have the test icon. Click a box's header to zoom in, the breadcrumb or Backspace to zoom out; arrows move between sibling boxes, Enter zooms in or jumps to source. Double-click, middle-click, the context menu and finding icons work as in the tree.
  • Treemap colors, chosen in the summary row while the treemap shows, with a legend below it: Status; File Type (one hue per type, the most changed first); Coverage (with the bundled Coverage plugin: the share of each member's lines the selected Run with Coverage executed, orange for none to blue for all, hatched when the file was edited since; reopen a closed run in Run | Manage Coverage Reports); Churn (in Branch vs base and Follow Git Log: how often the lines of each member were changed by the commits shown, plus the working copy in Branch vs base, following renames; green for new code, orange for 2+ changes per line, computed in the background). The border and label keep the status color.

Show Usages

  • Show Usages in the Structure Diff toolbar opens a panel below the tree or treemap with what the selected member uses and what uses it: Used by and Uses, each split into internal (the member's own file) and external (other files, by module), with members nested under their class and test code marked.
  • The changed members related to the selected one are highlighted in the tree and the treemap, so you see which parts of a change belong together: amber (↑) for members that use it, teal (↓) for members it uses, lavender (↕) for both. In the treemap the other members fade to half strength.
  • Imports, generated sources and build, configuration and text files are left out. The usages are searched again after you edit the files; large searches are capped.
  • Double-click or Enter in the panel jumps to the usage; click the header to jump to the member itself. Not available in Follow Git Log mode, as usages need the working-tree files.

Member History

  • Show Member History in the editor or tree context menu lists the commits that changed one class, method or field, newest first, following it across renames, signature changes and file renames, with a diff of the member in the selected commit. Double-click shows the commit in the Git log.

Review Findings

  • When a reviews/*.sarif file appears, or you open a SARIF file from elsewhere with Open Review, its findings are highlighted in the editor with a gutter icon; the tooltip shows the finding and suggested fix.
  • The Review tool window lists them by file and severity; double-click or Enter jumps to the code. Open an older review, Reload, or Clear Findings. Next / Previous Occurrence (Ctrl+Alt+Down / Up, or the toolbar arrows) steps through findings and edit reasons.
  • Findings follow your edits; when the code is gone they are greyed as possibly fixed.
  • Dismiss, Restore and Copy findings; dismissed ones stay dismissed in later reviews.
  • The Structure Diff tree marks members and files that have findings (⚠N).

Edit Reasons

  • Shows why an agent made each change: the reasons it records in reviews/edits/*.jsonl (one file per session) from the last 7 days. Marks written by skills show in purple.
  • The Structure Diff tree and treemap mark members and files with reasons (✎, ✎N for several); the tooltip lists them under Why, newest first, with their time. A change whose reason is not recorded yet shows "reason pending".
  • The editor shows a pencil (✎) in the gutter for each reason, at the first line of one of its changes; its tooltip names the reason, and so does hovering the thin bars over its other changed ranges. The pencil's color tells the kind of change: green for added code, blue for modified and red for removed, like the tree and the treemap, grey when the kind isn't known. A click on the pencil, or on one of its bars, tints every changed range of the reason. It follows the code through later edits.
  • The Review tool window lists them in an Edit Reasons section, by session or skill run and in the order the changes were made, each reason with the places it covers; only reasons on code the shown changes include. Double-click, Enter or Next / Previous Occurrence opens a place with its range selected, and a click on a gutter pencil selects its place in the list.
  • Reasons follow your edits while the IDE runs; ones recorded before it started are marked "(approximate)". They are found again by their text when later edits moved their lines. Refresh re-reads them from disk.
  • Rows show a session's title and each reason's first clause; the rest is in the details pane.

Written by Joobi from the project's own listing. See the source page

24 Nov 2026
Version 2026.7.0 released. Not scanned yet.
25 Nov 2026Listed on Joobi from JetBrains Marketplace.

Follow this listing's changes (Atom feed)