Inconsistent double-click behavior in VS 2015 Team Explorer-Changes

azure-devops, visual-studio, visual-studio-2015

Solution

Looks like the below steps will do the trick.

`Team Explorer -> Changes -> ...(Options) -> Compare File as Default Action.`

Problem

I have been using VS 2015 for many months now. Whenever I needed to view my changes in Team Explorer using Git as source control, I would simply double-click the file listed under "Changes" and it would open up the diff view. However, over the weekend, I had to re-install VS 2015. After doing so, I found that the double-click action now simply opened the file. This may seem small, but it is incredibly annoying to me. I re-installed Community and Enterprise and the results were the same. I also tried using a registry fix, but nothing I did changed the double-click action back to open as diff view. Not only that, but my work computer, currently using VS 2015 Enterprise, DOES have the double-click to diff view. I imported all VS settings from that computer to the newly re-installed computer, but no luck. This is extremely frustrating. Not only should VS have consistency across installers/versions, it should allow for registry fixes to alleviate this issue, which apparently it used to.

Original source

Related problems