Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Quick copy lines in diff view #22003

Closed
borekb opened this issue Mar 5, 2017 · 3 comments
Closed

Quick copy lines in diff view #22003

borekb opened this issue Mar 5, 2017 · 3 comments
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s)

Comments

@borekb
Copy link

borekb commented Mar 5, 2017

When I'm comparing files before I commit them to Git, it would often be useful to quickly revert a hunk by clicking some small arrow like this (I'm not a designer):

image

I use a similar feature in Beyond Compare (note that in this example, both sides are editable hence the arrows work in both directions):

image

@joaomoreno
Copy link
Member

This is coming with #18615

@joaomoreno joaomoreno added the *duplicate Issue identified as a duplicate of another issue(s) label Mar 6, 2017
@borekb
Copy link
Author

borekb commented May 8, 2017

@joaomoreno Any chance this could be reopened? I think this request is different from what was delivered #18615 (specifically, #18615 (comment)):

  • Polish git as an SCM extension #18615 only works in the context of SCM, not in generic diffs ('Select for Compare' + 'Compare with ...')
  • Clicking an arrow is a faster and more discoverable UI.

@Otiel
Copy link

Otiel commented Oct 20, 2017

I also vote to reopen this.

@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 17, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s)
Projects
None yet
Development

No branches or pull requests

3 participants