Skip to content

IDE: Compare with Saved and Compare with Selected #288

Done

Description

@aMonteSl

As a developer using the Code-XR IDE, I want to compare a file with its saved version, or two files with each other, so that I can review what I changed before saving, or how two files differ.

Scope

  • Compare Active File with Saved (Ctrl/Cmd+K D, palette, tab menu): a diff tab with the disk text on the left and the open file (live, editable) on the right.
  • Select for Compare and Compare with in the tab menu: a diff tab of two files.
  • Both are custom tabs (IDE: PDF and image viewer tabs, on a generic custom-editor tab seam #256): split, move, restore with the session, follow the files on disk.
  • Non-file tabs get only the tab entries in their context menu.

Acceptance criteria

  • Compare with Saved shows unsaved edits as inserts, and typing in the right side edits the file.
  • Compare with Selected shows two files side by side.
  • The ids round-trip in unit tests.

Done in PR #290, merged into ide.

Activity

  1. added
    tfm
    user-story
    on Nov 27, 2026
  2. added
    area: ide
    on Nov 27, 2026
  3. added 2 commits that reference this issue on Nov 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: idestream: ide-powertfmuser-story

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions