When comparing vimdiff vs CodeCompare, the Slant community recommends vimdiff for most people. In the question“What are the best folder/file compare/diff tools for either OSX, Linux or Windows?” vimdiff is ranked 4th while CodeCompare is ranked 10th. The most important reason people chose vimdiff is:
It's practically vim, this means that the whole interface is mouse-free, this increases development speed significantly since you are only using the keyboard.
Specs
Ranked in these QuestionsQuestion Ranking
Pros
Pro Mouse-free interface
It's practically vim, this means that the whole interface is mouse-free, this increases development speed significantly since you are only using the keyboard.
Pro Lightweight
Since it's inside vim, it's very lightweight and fast. It fires up quickly and it does all operations painlessly.
Pro Helpful to people who work a lot inside the terminal
Using command-line tools (vim/git) keep you stick in the terminal.
Pro Graphical showing of where code is added or removed
It does not add a blank line in the other code-pane to show where code was added or deleted. It simply draws a line to show point out its location.
Pro Three-way comparison and automatic merging
Three comparison panes with horizontal and vertical layouts
- Integrates with version control systems as the merging tool for conflicting file revisions
- Non-conflicting changes are merged automatically
- Merging conflicts are highlighted
- One-click conflict resolution with a mouse button
Pro Supports comparing folders
Can diff entire folders.
Pro Integrated into Visual Studio
Can be used either as a stand-alone product or as the built in diff/merge tool for Visual Studio.
Pro Clear overview that marks only the changes, not every line with a change
Most compare tools mark every changed line with colour, making the code just a mess with thousands of coloured lines, while all that might be changed is a sign/character on each line. Code Compare draws boxes around each changed segment and highlights only the real change with a colour.
Pro Offers free version and paid for version
You get a lot more if you pay for the pro version.
Cons
Con Not for people who are not used to vim
Since this is basically a vim feature, it's clear that people who aren't used to vim and it's keyboard-based interface would find it very hard to work with vimdiff.
Con No longer supported
Problematic with Visual Studio 2022. Semantic code comparison (its main selling point) does not support newer language variations.
Con Does not support custom comment markings
Some compilers use ";" to specify in-line commenting. But as that is not a common method, all added comments are marked as new code. So it becomes difficult to find changes in the functionality of the code.
Con Does not support move-detection
Very few programs detect move of blocks of code. Most just show deleted and added instead.
Con Free version is limited
Whereas there is a free version, it is missing a lot of great features that you're forced to pay for if you want.
