Git挂起在Visual Studio 2013 RC中更改文件预览 [英] Git pending changes file preview in Visual Studio 2013 RC

查看:281
本文介绍了Git挂起在Visual Studio 2013 RC中更改文件预览的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在使用Git时,如何在Visual Studio 2013 RC中获得差异预览选项?大多数其他源代码管理扩展都有这个功能(包括(它看起来像你...)

1)下载.vsix文件的新副本。

2)将其重命名为。 zip。

3)提取全部。

4)编辑 extension.vsixmanifest 文件,复制整个< VisualStudio Version =11.0> 元素并将11更改为12.

5)重新包装所有内容原始.zip。

6)将.zip重命名为.vsix,双击.vsix,您应该能够安装到VS2013中。

HTH -


How do I get a "diff preview" option inside Visual Studio 2013 RC when working with Git? Most other source control extensions have this (including Git Source Control Provider, which I used in VS2012), where the list of uncommitted changes are listed to the left, and a color-coded diff of the selected file is shown on the right.

I can get diffs for individual files by looking in Team Explorer, Changes, right-clicking on an individual file, then selecting Compare with unmodified. But I have to do this for each file I want to see the current diff for, which is much more cumbersome than the "split" view I'm used to.

There are two possible options. The first is I don't know where to look. The second is it's just not available, and I'm stuck using an external tool like gitk.

For clarity, the screenshot below is the exact feature that I'm referring to in the Git Source Control Provider extension for Visual Studio 2012.

解决方案

If you are using this package: http://visualstudiogallery.msdn.microsoft.com/63a7e40d-4d71-4fbb-a23b-d262124b8f4c (and it looks like you are...)

1) Download a fresh copy of the .vsix file.
2) Rename it to .zip.
3) Extract all.
4) Edit the extension.vsixmanifest file, copying the entire <VisualStudio Version="11.0"> element and changing the 11 to 12.
5) Repackage everything back in to the original .zip.
6) Rename the .zip to .vsix, double-click the .vsix and you should be able to install into VS2013.

HTH --

这篇关于Git挂起在Visual Studio 2013 RC中更改文件预览的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆