Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio Diff Tool - When is Editing Allowed?

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?

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.

like image 941
Rafi Avatar asked May 05 '15 06:05

Rafi


1 Answers

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 Diff Window: How to Edit .sql Files

like image 128
scw Avatar answered Oct 10 '22 12:10

scw