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

Editor: Add Git diff margin (Change Markers) #17655

Closed
aspirisen opened this issue Dec 21, 2016 · 5 comments
Closed

Editor: Add Git diff margin (Change Markers) #17655

aspirisen opened this issue Dec 21, 2016 · 5 comments
Labels
*duplicate Issue identified as a duplicate of another issue(s)

Comments

@aspirisen
Copy link

  • VSCode Version: 1.8.1
  • OS Version: Win 10

There is a good plugin for Visual Studio which is called GitDiffMargin. It shows diff by lines in the editor and you can revert particular changes.

This is how it works in Visual Studio:

This is original code
image

I deleted some code and the red arrow is appeared on the right side of line numbers
image

I can click on the arrow and I will see the deleted code.
image

If I click on Rollback button the deleted code will be restored
image

I think it is easier rather than copypaste lines in "Changes view"
image

@egamma egamma added feature-request Request for new features or functionality git GIT issues labels Dec 21, 2016
@egamma
Copy link
Member

egamma commented Dec 21, 2016

FYI @joaomoreno

@sideeffffect
Copy link

IntelliJ IDEA already has something like this, even better, because it has syntax highlighting. They call it Change Markers:

@aspirisen aspirisen changed the title Editor: Add Git diff margin Editor: Add Git diff margin (Change Markers) Dec 24, 2016
@tamlyn
Copy link

tamlyn commented Feb 23, 2017

Looks like a duplicate of #10782.

@joaomoreno
Copy link
Member

joaomoreno commented Feb 28, 2017

Yup, it is, thanks!

@joaomoreno joaomoreno added *duplicate Issue identified as a duplicate of another issue(s) and removed feature-request Request for new features or functionality git GIT issues labels Feb 28, 2017
@vedmant
Copy link

vedmant commented Oct 1, 2017

Yeah, this is what I'm missing from PHPStorm.

@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

6 participants