Visual Studio Diff 工具 - 何时允许编辑? [英] Visual Studio Diff Tool - When is Editing Allowed?

查看:15
本文介绍了Visual Studio Diff 工具 - 何时允许编辑?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用的是 Visual Studio 2013tfs 2013.有时我会更改代码并单击与最新版本进行比较.diff 工具将打开并允许我在 diff 工具中编辑文件.但是其他时候它不会让我编辑而是只读.

I'm using Visual Studio 2013 and tfs 2013. Sometimes I'll make a code change and click compare with latest version. The diff tool will open and allows me to edit the file in the diff tool. However other times it will not let me edit but will read only.

是否有一些设置或我需要做的事情总是允许编辑?

Is there some setting or something I need to do for me always allow edit?

在一个数据库项目中,我注意到它从不让我在 diff 工具中进行编辑.我需要更改某些设置吗?

In a database project I've noticed that it never lets me edit in the diff tool. Is there some setting I need to change?

我在网上搜索过,但没有找到任何答案.谢谢.

I've searched around online but haven't found any answers to this. Thank you.

推荐答案

仅允许对某些文件类型在差异查看器中进行编辑.它不支持编辑 .sql 文件,并且没有 VS 设置允许这样做.

Editing in the Diff viewer is only allowed for certain file types. It doesn't support editing .sql files and there is no VS setting to allow that.

Visual Studio 差异窗口:如何编辑 .sql 文件

这篇关于Visual Studio Diff 工具 - 何时允许编辑?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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