editor: Add diff statistics to file comparison toolbar #61155
zambetti
started this conversation in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
What are you proposing?
A diff statistics indicator
+A -Din the buffer toolbar that appears when a single-buffer diff comparison tab is active. This proposal is analogous to the recent PR #60464, but for untracked files.What becomes easier or possible?
Currently, when comparing untracked files, there is nowhere to look for a summary of the changes; you have to manually scroll to see how many lines were added or removed, or if there are no changes.
Screenshot and Demo
https://github.com/zambetti/zed/tree/diff-stats adds support for this feature and a boolean
toolbar.diff_statsinsettings.jsonBeta Was this translation helpful? Give feedback.
All reactions