Add "Copy hunk to opposite side" actions to the Compare Marked Files diff viewer. #61175
gvozdetsky
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.
-
Body
Similar to IntelliJ IDEA's "Accept Left/Right" or VS Code's "Copy to Left/Right".
This would allow selectively copying a diff hunk from one compared file to the other without manual copy/paste.
This should be a generic capability of Zed's editable diff viewer rather than specific to Compare Marked Files. The same actions (Copy hunk to left/right) would also be useful in editor: diff clipboard with selection and any future two-way diff views.
Beta Was this translation helpful? Give feedback.
All reactions