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.

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

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

by Johannes Pieringer | December 09 2015

by George Birbilis | November 15 2015

Best tool I've seen for code merging. Have used it with ClipFlair (http://clipflair.codeplex.com) a lot when I needed to merge WPF and Silverlight codebases of FloatingWindow and other libraries used

by vsGooner | November 05 2015

Great tool.

by C_ Boy | October 20 2015

by Pxtl | October 14 2015

Frequently takes painfully long to load, and is often highlighting entire nearly-identical lines with no indication whatsoever where the actual difference lies. I find I'm often copy-pasting diffs into WinMerge to see the *actual* difference.

It seems marginally better than the built-in VS tool, but that's not exactly impressive.

Devart Software October 15 2015
| Edit |
Delete

Hello,

For further investigation, please, send us an example of the file with wrong comparison at support@devart.com

by jhosefmax | October 13 2015

Very productive tool. Has a great match for the differences. Help me a lot with comparisons of folders.

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


  • uninstall
    11 Posts | Last post April 28, 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
  • 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.
      
  • How can I remove the CodeCompare page from Options after attempted uninstall?
    6 Posts | Last post June 19, 2013
    • I tried this add-on awhile back and uninstalled after too many problems. The uninstall hung and I've been left with the add-on apparently uninstalled except that the settings page still appears in Tools -> Options. ("An error occurred loading this property page" is displayed.)
      
      How can I remove this, and any other vestiges of the add-on, from my Visual Studio install?
    • To remove all information about Code Compare from the registry, download this registry file -  http://www.devart.com/pub/CodeCompareClean.zip , and run it. We will be very grateful if you give a more detailed description of the problem. What exactly hung?  Uninstall process or devenv.exe? In the second case you should have waited till the Visual Studio process finishes. Did you kill any process during uninstall? Which problems occurred when you were working with Code Compare?
    • I run the .reg from CodeCompareClean.zip and the "Code Compare" still shows up in my VS2012 Ultimate on the "Extensions and Updates" dialog as installed (both the "Disable" and "Uninstall" buttons are grey out).
      
      What can I do to completely remove it from there?
    • You should to reinstall Code Compare and in 'Choose components' window uncheck 'Integration with Visual Studio 2012'.
      Registry file above is suitable only for Code Compare 2.8 in Visual Studio 2008/2010.
    • I reinstalled it as explained and it didn't work. Then I uninstalled it, and still didn't work.
      
      Another idea?
    • Dannie, 
      I would like to ask you to contact Devart support service http://www.devart.com/company/contactform.html?product=codecompare providing the detailed description of the problem you are facing and specifying the version of Code Compare you are using. This way we will be able to provide you the most efficient assistance.
1 - 10 of 27 Items