Monday, March 5, 2007

FileMerge 2.2.1 Review

filemerge icon

FileMerge is a visual diff tool freely included with the Apple developer tools. If you have installed the developer tools on your computer (they come bundled for free on the install disks which came with your Mac), you can find FileMerge nicely hidden in the /Developer/Applications/Utilities/ folder. Amazingly, many people developing software on the Mac haven't yet discovered FileMerge - if you're one of them, now is the time to do so. Apple provides lots of little goodies in the /Developer folder which are worth learning about.

Although it can be used to compare and merge any two text files you desire, FileMerge will mainly be of interest to software developers. If you've ever used the Unix diff tool, using FileMerge is like seeing the light; differences are actually visible side by side and easily understood at a glance - no more deciphering strange diff codes on the command line. As you jump to a difference in one file with the arrow keys, the second file scrolls to the same position and highlights the changes. You can also jump directly to methods/functions and choose which version of a change you want merged into the final output file. True, performing the same diff in the terminal is more condensed and geeky, but the FileMerge equivalent is much easier to grasp and work with. Many tools such as Xcode and svnX also have direct links within them which launch FileMerge for you.

****_

No comments: