Your extension will be available shortly on the Visual Studio Marketplace at this link.

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.

4.3 Star
Visual Studio
2017, 2015, 2013, 2012, 2010
Get now (302,109)
E-mail Twitter Digg Facebook
Add to favorites
Sign in to write a review
Sort by:

5 Star
by Pavel Stejskal | November 10 2016

1 Star
by wonderzerg | October 27 2016

after installed, the original diff tools is not workable.

4 Star
by FredMalone | September 29 2016

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.

2 Star
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.

4 Star
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.

4 Star
by Robert McCabe Lytica | July 13 2016

5 Star
by Cariarer | June 22 2016

5 Star
by amp_Tech | May 30 2016

5 Star
by Aloncho | May 12 2016

muy buena herramienta

4 Star
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

5 Star
by Glurth | May 01 2016

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

5 Star
by Saurabh Saini | April 04 2016

4 Star
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.

5 Star
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.

5 Star
by _Cor_ | March 18 2016

5 Star
by Paul Brack | March 16 2016

5 Star
by Sebastian Carleberg | March 14 2016

5 Star
by Moizuddin Khaja | February 24 2016

5 Star
by DrHerbie | February 10 2016

5 Star
by laiya | February 05 2016

Good tool

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

  • Cannot replace VS 2105 default diff/merge tool with CodeCompare.
    2 Posts | Last post November 02, 2016
      Dear CodeCompare,
      Please help.
      I cannot replace the VS 2105 default diff/merge tool with the CodeCompare diff/merge too.
      I want to use CodeCompare as my diff/merge tool when working in VS 2015 and Git.
      Right now, when I diff/merge 2 files within VS, VS chooses the default VS diff tool and NOT CodeCompare.
      Note that I am using Windows 7.
      Note that as of now VS 2015 is fully updated/patched...
      Microsoft Visual Studio Professional 2015, Version 14.0.25431.01 Update 3, Microsoft .NET Framework, Version 4.6.01055
      Note that as of now CodeCompare is up-to-date and fully patched, Version 4.1.78
      Note that CodeCompare works great with Windows Explorer integration.
      Note that CodeCompare works great with Windows TortoiseGit integration.
      The problem is with VS 2015 integration.
      Some place someone said "edit the file C:\Users\MyUserName\.gitconfig to use the diff/merge tool of your choice" and I can find that file but unfortunately for me I do not know exactly what to change in that file.
      Can you help?
      -- Mark Kamoski
    • Hello Mark,
      I used this page to get it working:
      My repository git config (/.git/config) looks like this:
      	bare = false
      	filemode = false
      	symlinks = false
      	ignorecase = true
      	logallrefupdates = true
      	repositoryformatversion = 0
      [remote "origin"]
      	url = <url>
      [remote "origin"]
      	fetch = +refs/heads/*:refs/remotes/origin/*
      [branch "master"]
      	remote = origin
      [branch "master"]
      	merge = refs/heads/master
      [difftool "codecompare"]
      	cmd = 'X:\\Program Files\\Devart\\Code Compare\\codecompare.exe' -W \"$LOCAL\" \"$REMOTE\" 
      	renames = true
      	tool = codecompare
      	guitool = codecompare
      [mergetool "codecompare"]
      	cmd = 'X:\\Program Files\\Devart\\Code Compare\\codemerge.exe' -MF \"$LOCAL\" -TF \"$REMOTE\" -BF \"$BASE\" -RF \"$MERGED\" 
      	trustExitCode = true
      	keepBackup = false
      	tool = codecompare
      	guitool = codecompare
      	helper = store
      In VS15 you can check which diff/merge tool gets used by navigating to:
      Team Explorer -> Settings -> Repository Setting
      Sub-Group: Diff & Merge Tools
  • 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  
  • 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 -
      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 ?
      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:
      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:
      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:
  • 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:
    • 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:
      You can visit the product's Ordering page to purchase Code Compare Pro:
  • 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.
1 - 10 of 29 Items