Git compare disapear in Visual Studio 2019

贊宇 陳 101 Reputation points
2021-12-17T02:53:30.713+00:00

Hi Microsoft Support,
My comparing editor is fine yesterday.
Usually original file will be showed in leftside and modified file will be showed in rightside.
But once I closed the original file leftside, I can't find it back.
How can I fix this problem?
158375-image.png

Developer technologies | Visual Studio | Other
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Anna Xiu-MSFT 31,056 Reputation points Microsoft External Staff
    2021-12-17T07:42:31.04+00:00

    Hi @贊宇 陳 ,

    Welcome to Microsoft Q&A!

    For your requirement, please go to Tools > Options > Text Editor > Advanced > check the “Show the difference overview margin“ to restore it.
    158501-image.png

    Sincerely,
    Anna
    *
    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


  2. 贊宇 陳 101 Reputation points
    2021-12-25T11:34:20.403+00:00

    160369-image.png
    Hi, Anna
    I found the answer!
    You just need to click the button at right top


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.