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

Feature Request: Git Diff/Undo from gutter #17017

Closed
CoenraadS opened this issue Dec 10, 2016 · 2 comments
Closed

Feature Request: Git Diff/Undo from gutter #17017

CoenraadS opened this issue Dec 10, 2016 · 2 comments
Labels
diff-editor Diff editor issues *duplicate Issue identified as a duplicate of another issue(s) feature-request Request for new features or functionality
Milestone

Comments

@CoenraadS
Copy link
Contributor

CoenraadS commented Dec 10, 2016

Hello

vscode 1.7.2

VSCode displays changed lines in the gutter. However to 'undo' a change, we have to first stage all the changes we want, and then undo whatever is left.

However this requires many clicks and context changes.

  1. Git
  2. Diff
  3. Click Lines you want to keep
  4. Click undo on non-stages lines

In Visual Studio I have an extension that allows me to undo lines/hunks by clicking that git gutter decoration:

diff margin example

I do not think it is possible to create a similar extension because there is no public api to hook the click event. So I am requesting it either be integrated into VS, or expose click events as an API.

@alexdima alexdima added the diff-editor Diff editor issues label Dec 12, 2016
@alexdima
Copy link
Member

fyi @joaomoreno

@alexdima alexdima added the feature-request Request for new features or functionality label Dec 12, 2016
@alexdima alexdima added this to the Backlog milestone Dec 12, 2016
@joaomoreno
Copy link
Member

#10782

@joaomoreno joaomoreno added the *duplicate Issue identified as a duplicate of another issue(s) label Dec 12, 2016
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
diff-editor Diff editor issues *duplicate Issue identified as a duplicate of another issue(s) feature-request Request for new features or functionality
Projects
None yet
Development

No branches or pull requests

3 participants