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

Github Diff will allow single line undo #34274

Closed
khaled-hossain-code opened this issue Sep 13, 2017 · 4 comments
Closed

Github Diff will allow single line undo #34274

khaled-hossain-code opened this issue Sep 13, 2017 · 4 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

@khaled-hossain-code
Copy link

  • VSCode Version:
  • OS Version:

Feature:

  1. When user will preview the diff between newly saved file and previous copy they should be able to undo single line rather discard all the changes all together. May be beside each - or + button there could be a discard icon.

diff of individual line

Reproduces without extensions: Yes/No

@vscodebot vscodebot bot added the editor label Sep 13, 2017
@alexdima alexdima added diff-editor Diff editor issues feature-request Request for new features or functionality labels Sep 13, 2017
@alexdima alexdima added this to the Backlog milestone Sep 13, 2017
@alexdima alexdima removed their assignment Sep 13, 2017
@eamodio
Copy link
Contributor

eamodio commented Sep 13, 2017

@khaled-hossain-code While the UI to access this feature isn't ideal, the functionality I think exists today. You can use the Revert Selected Ranges command from either the command palette or from the ... menu on the far left of the tab bar.

@khaled-hossain-code
Copy link
Author

@eamodio other ide like webstorm has this feature in their UI. And as it works with the command palette and also popup a confirmation modal I think it would be great to have this feature in UI.By the way thanks for the Revert Selected Ranges command. I didn't know it exists. 👍

@gulshan
Copy link

gulshan commented Sep 17, 2017

Related- #30519 #25887

@alexdima alexdima removed the editor label Nov 23, 2017
@alexdima
Copy link
Member

Let's track in #25887

@alexdima alexdima added the *duplicate Issue identified as a duplicate of another issue(s) label Sep 22, 2018
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 6, 2018
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

4 participants