Code Compare

VSIP Partner Free

File diff tool that reads structure of C#, C++,VB code for better results. Includes: folder comparison tool, standalone app for comparing and merging files and folders, code review support.

(203) Review
Visual Studio
2015, 2013, 2012, 2010
Get now (280,194)
3/14/2016
4.1
E-mail Twitter del.icio.us Digg Facebook
Add to favorites
Description
Reviews (203)
Q and A (28)
Sign in to write a review
Sort by:

by FredMalone | Thu 7:59 PM

This is so much better than the built-in tool in Visual Studio. Most of my merge headaches are now gone. Those that remain no tool can resolve. This is definitely worth the money.

by skinnyDan72 | September 09 2016

Althought when it works its a great tool, I can't really recommend this tool for the following reasons:

1. Intermittent performance issues, where opening a review file in code compare windows within visual studio takes up to 1 minute. This renders the tool useless. Weirdly some dev's experience this issue for a long period while others are unaffected, then one day one of the lucky ones starts seeing the performance problem. No updates to VS or RA products inbetween.
2. Hardly being developed/extended maintained. We actually got a response on the forum from an RA support staff member telling us this we were asking for a fix to another issue.
3. Issue search is pretty poor. You can run and save custom queries - you just get predefined named queries and a text search.

Shame because it has great potential if were only supported in the same manner as JetBrains products, for example.

by Arnaud.T | August 02 2016

I'm using the free version.

Much better than the built-in comparison tool.
I like the code highlighting capabilities.
I like the VS integration.

by Robert McCabe Lytica | July 13 2016

by Cariarer | June 22 2016

by amp_Tech | May 30 2016

by Aloncho | May 12 2016

muy buena herramienta

by boyapati | May 11 2016

I always feel enjoy to use this tool. Very useful for code compare, resolving conflicts and merging the changes.

There is a considerable scope to improve this tool in comparing some languages like JavaScript files, then only I could rate this app 5

It does not work properly for other IDE's like Webstorm. Not a great documentation.

Thanks & Regards
Prem.

by Glurth | May 01 2016

Have not gone crazy testing, but works great for simple side by side comparisons. No problems.

by Saurabh Saini | April 04 2016

by DevDrake | March 31 2016

Best compare tool i know. Its not perfect yet but i really wish it to be.


It has few flaws i was reporting a year ago, sadly non was fixed yet.

There are four i hope very very much that will be fixed.
First issue is that comparison of big files works differently when spaces and comments are ignored (results are generally worse when they are off).
Second issue is that structural comparison of big files is worse quality than default.
Third is overall performance: opening many comparisons slowing computer a lot, when about 20 are opened, visual studio hangs (computer has still plenty resources left).
Forth It doesn't work well with other VS addons like Resharper, Visual Assist X or Microsoft Productivity Tools.

by DwainK | March 25 2016

Very good tool. I use it daily and especially like the fact that it removes the whitespace from the compare.

by _Cor_ | March 18 2016

by Paul Brack | March 16 2016

by Sebastian Carleberg | March 14 2016

by Moizuddin Khaja | February 24 2016

by DrHerbie | February 10 2016

by laiya | February 05 2016

Good tool

by Abdul_Qadir_Memon | January 30 2016

Code Compare is best Essential tool for developer, it is one, that i always keep on my developer machine, and it is one of the mostly used tool.

by Maverick543 | December 31 2015

Very nice tool. Comparisons is very good, even with multiple changes and reshuffling of code

1 - 20 of 203 Items   
Sign in to start a discussion


  • Two Way Merge Changes in Merge Tool
    2 Posts | Last post September 09, 2016
    • What am I missing here?  I am trying to pull down a code review changeset from TFS.  I have a local copy of one of the files in the changeset which has different edits.  In VS I'm prompted because of Conflicts between the changeset version and my local version.  When I select the Merge Changes in Merge Tool I'm prompted with the "Theirs" shelfset changes on the left and the current version of code in TFS as the "Result" on the right.  This is Completely WRONG.  This isn't comparing the shelfset to the local. This isn't even in the ballpark. 
      
      In the shelfset version I completely removed a block of code.  In my local edits I have the code commented out.  How does Code Compare think I want to include this block of code back in as the "Result"?
    • Sorry for a long wait. Please describe (copy) your issue to our support e-mail address support@devart.com  
  • uninstall
    12 Posts | Last post June 09, 2016
    • after uninstall I can not use VS2012 compare:(
    • Hello,
      
      Please, contact our support specialists via the following link - http://www.devart.com/company/contactform.html?product=codecompare
      
      Could you please specify more details in your request, such as: the version of Visual Studio, the name of VCS and the version of Code Compare, that you has uninstalled?
    • Having the same issue.  After I uninstalled Code Compare (when the free trial expired), VS 2013 compare no longer works?  Why?  I get "Error occurred during difference operation: Cannot load the configured tool."
      
      The uninstaller for Code Compare is not functioning properly.
      
      Please advise.
    • Hello,
      
      We will be glad to answer all your questions. 
      Could you please describe your request in details using this contact form http://www.devart.com/company/contactform.html?product=codecompare ?
      
      Thank you.
    • i installed this free version on visual studio 2012 Pro, it installed but when i try open explore button the open file dialog won't appear and worst is every aspect of  open document, project, including external dll reference that involved open file dialog can't be executed aka dialog won't appear, even after i uninstalled the extension and hard resetting VSTO the open file dialog problem still persist and one more problem appear is i can't even install other vsix because all activity of installing vsix always result in System.Runtime.InteropServices.COMException (0x8007007F). In the end i had to remove all visual studio related files.
    • Hello,
      
      Sorry for inconvenience. To solve this issue, please, write to us your request more detailed, including your version of Windows and exact version of Visual Studio with the list of installed extensions:
      
      http://www.devart.com/company/contactform.html?product=codecompare
      
      Thank you.
    • Why not post the solution here so everyone can see without having to contact you?
    • After uninstall I had the same issue: When you use TFS then go to menu 
      => Tools
      => Options
      => Visual Studio Team Foundation Server
      => 'Configure User Tools...'
      There I had two entries. One for Compare and one for Merge.
      Both pointed to Devart Tools which do not exist anymore.
      I have removed them and now it is working again.
    • Also had this problem.  Fixed by deleting this registry key:
      
      [HKEY_USERS\S-1-5-21-1394226247-1133447202-848847219-21249\Software\Microsoft\VisualStudio\12.0\TeamFoundation\SourceControl\DiffTools\.*]
      
      In case yours is in a different location, I found it by searching "CodeCompare" in the registry.  You will find many entries, press F3 until you find the right one.  
      
    • Faced with the same issue told by most of users. 
      
      @Devart Software : Please test properly before releasing to gallery.
      Please tell your developers to remove those two entries stated by @1km equals 1024m
    • Hasitha,
      
      Thank you very much for detecting this issue, we will fix it in the next updates
    • I deleted the entry .* in "HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\14.0\TeamFoundation\SourceControl\DiffTools" and it works again
  • Support for MS Git Provider
    3 Posts | Last post March 04, 2015
    • When are you going to support the Microsoft Git Provider to diff files?
    • I'd also like to know this.  I can't test the usefulness of this tool till it integrates with the Microsoft Git Provider.  Is there any config I can perform to get it to happen?
    • Hello,
      
      After your request we had tested Code Compare integration with VS 2012 and the last version of VS 2013, and the integration works properly. 
      
      Microsoft Git Provider uses settings from the "gitconfig" file. Try to use the following settings: http://www.devart.com/codecompare/integration_git.html
      
      
  • Binary files
    2 Posts | Last post December 31, 2014
    • Can I compare binary files, e.g. JPEG files or crypto keys?
    • Hello,
      
      Unfortunately, no.
  • TFS Code Comparison in Separate Window
    2 Posts | Last post September 15, 2014
    • Is there a way to open the comparison from the Team Explorer or from within VS 2012 in a separate window, because it is sometimes annoying that the comparison window opens in the same Visual Studio pane...
    • Hello, 
      
      You can turn on an option 'Use standalone application from command line by default' at Code Compare standalone -> Tools -> Options -> Environment. It will force launch comparisons from VCS in Code Compare standalone.
  • Integration with Visual Studio 2013
    2 Posts | Last post March 26, 2014
    • I've enabled the integration in the Setup to Support TFS and AnkhSVN integration, but when I invoke any operation from VS that involves comparisons, the *default comparer is shown*, not Code Compare. However, Code Compare is shown in the menus and you can launch comparisons with the Solution Explorer (selected several files).
      
      I'm using the latest version to date of CC and Visual 2013 Ultimate.
      
    • I have just discovered the reason!
      
      Went to Visual Studio>Tools>Source Control>[SCC Plugin] User Tools>
      
      There you can choose which tool you want to use to see diffs, merges and patches!
      
      I hope this helps :)
  • Three-way Merge with distinct Base Version panel?
    2 Posts | Last post February 18, 2014
    • I come to Code Compare from KDiff3, which I found to be superb for merging, even if it was a little rough around the edges where its GUI is concerned. In Code Compare I feel like I'm missing a panel in a 3-way merge: it shows me Version A, Version B, and the Merge Result located between them, however there is no display that I can find to show the Base Version. Without this, it's difficult to interpret the information displayed in the Version A/Version B panels, and therefore it's also difficult to decide what the result should look like afterwards.
      
      I love your base product--in fact I do most of my code editing in diff mode recently--and I subscribed to the Pro version hoping to find this four-panel three-way merge. So far I haven't had any luck; is this just a panel configuration I haven't found?
    • Alex, 
      In the next version of Code Compare we are going to include own Automatic Merge feature. It won't be necessary for you to look in the Base file because in the Result file you will see lines from the Base file in the conflicts.
      
      Now like a workaround you can use the "Use Base File" button on the Layout toolbar.
  • Constraints?
    4 Posts | Last post February 10, 2014
    • I love this tool, and I'd like to make a suggestion. One thing I've always wanted in a diff tool is the ability to force lines in each file to be treated as the same line. So, for example, if one method was edited and another one added directly above it, lots of tools might misread it and treat it as an edit followed by an add rather than an add followed by an edit. In both cases, the results would be the same, but with the ability to tell the tool that two particular lines are the same logical line would help to make sense of complicated diffs. 
    • Alex,
      You can try to use the Structural Comparison + Detect Similar Lines features in Code Compare Professional Edition.
      
      As for your suggestion, please vote for the similar idea at our UserVoice forum: http://devart.uservoice.com/forums/93035-code-compare/suggestions/2344134-manually-re-align-compare-points
      
    • Woah, there's a pro version where I can pay for more stuff? Sign me up!
    • Alex,
      
      Yes, Code Compare has a Professional Edition, that provides a wide range of capabilities for comparing and merging different files and folders.
      
      Learn more about features of Code Compare and Code Compare Pro on the following page: http://www.devart.com/codecompare/featurematrix.html
      
      You can visit the product's Ordering page to purchase Code Compare Pro: http://www.devart.com/codecompare/ordering.html
  • How do I do a three way diff?
    3 Posts | Last post October 28, 2013
    • Just installed the free version, want to try 3-way diff before purchase which I thought was available in Trial mode, but where is it? The Help says drag the files using Explorer, but I cant drag three files at once (or two even) when they are in different directories.
    • Please, follow the next two steps to resolve your issue:
      1. Open Code Compare, change view to 3 pane and simply drag files to the each pane.
      2. In Windows Explorer open the context menu at the first file and select "Select Left", at the second file - "Select Right", at the third - "Compare with Code Compare".
      
    • You can choose the most convenient way for you.
  • How to merge a single line of code ?
    2 Posts | Last post September 17, 2013
    • For example, if we have 2 versions of a file (class1.vb on each branch) to merge.
      
      Version 1:
      Public Class Class1
          Private _var1 As String
          Private _varB As Integer
      End Class
      
      Version 2:
      Public Class Class1
          Private _varA As String
          Private _var2 As Integer
      End Class
      
      Outcome :
      Public Class Class1
          Private _var1 As String
          Private _var2 As Integer
      End Class
      
      But what we want is :
      Public Class Class1
          Private _varA As String
          Private _varB As Integer
      End Class
      
      How to achieve this?
    • Cyber J-P, please, forward your inquiry to support@devart.com and we will provide you a comprehensive answer.
      
1 - 10 of 28 Items