Skip to content

Diff Editor V2 Planning #184164

@hediet

Description

@hediet

Features from old diff editor:

  • Inline View
  • Support audio cues
  • Diff Review (for screen readers)
  • Arrow gutter buttons to undo changes in side-by-side view
  • Restoring view state should work
  • Correct alignment for wrapped lines
  • Correct alignment when peek window is opened
  • Staging changes should work
  • First diff should reveal automatically when opening a diff editor

New features:

  • Collapsing Unmodified Code
    • First prototype
    • Figure out button names
    • Polishing style
    • Word-wrap doesn't confuse alignment when there is collapsed unmodified code
    • Handle unchanged files gracefully
    • Open File Should Jump To Same Line
    • Typing In unfolded code shouldn't cause flickering
    • Persist View State
  • Update diff synchronously with incoming edits
  • Moved Code Detection
    • First prototype
    • Typing in a moved code block should work
    • Polish Move UX

Under discussion:

  • Review Mode as third mode, additionally to Inline/Side-By-Side modes? (currently it is a modal)
  • Should Inline-Mode be renamed to Unified-Mode? (IntelliJ and diff use this term)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions