sublimehq / sublime_merge

Issue tracker for Sublime Merge
https://www.sublimemerge.com
273 stars 14 forks source link

Elevating Usability: Direct Commit-to-Working Tree Comparisons in Sublime Merge #1830

Open runminlook opened 8 months ago

runminlook commented 8 months ago

Problem description

Currently, in Sublime Merge, users can view the file differences between any two commits by holding the Ctrl key and clicking on them. However, there is no direct way to quickly compare a specific commit with the current Working Tree in the same manner.

Preferred solution

Implement a feature in Sublime Merge where holding the Ctrl key and clicking on any commit followed by the Working Tree (or vice versa) will immediately display the differences between the two. This should provide a seamless experience for users who want to quickly compare a commit with the current state of their project.

Alternatives

  1. Add a right-click context menu option for the selected commit with an option like "Compare with Working Tree." When chosen, differences between the commit and the Working Tree are shown.
  2. Introduce a toolbar button or icon that, when activated, enables a "Compare Mode" where the next clicked commit and the Working Tree are compared.

Screenshots

If applicable, add screenshots to help demonstrate the problem or proposed solution. This section may be omitted/removed.