2007年11月9日星期五

WinMerge 开源的文件合并比较工具


做程序开发的知道,我们做Source Control 时有时会碰到Conflict。 这个时候你就需要文件比较工具了, 或者你想比较某个Checkin 文件有那些改动时, 就需要比较新旧版本文件的差别。 文件合并比较工具确实是程序开发的非常有用的工具。

我公司用的是Araxis Merge 。 这是商业版本, 功能非常强,支持三方比较。可能是最好的文件合并比较工具,但费用也不低。

今天给大家介绍的一款开源的免费工具,WinMerge。 这个免费的开源工具会将两个文件内容做比对,并在相异之处以高亮度的方式显示,让使用者可以很快的查知,并且您可以直接让左方的文件内容直接覆盖至右方,或者反过来也可,这对需要常常修改文件内容的朋友来说,会是相当便利的一个功能

这是主要功能:
• Visual differencing and merging of text files
• Flexible editor with syntax highlighting, line numbers and word-wrap
• Handles DOS, UNIX and MAC text file formats
• Unicode support
• Difference pane shows current difference in two vertical panes
• Location pane shows map of files compared
• Highlights differences inside lines in file compare
• Regular Expression based file filters in directory compare allow excluding and including items
• Moved lines detection in file compare
• Creates patch files
• Shell Integration (supports 64-bit Windows versions)
• Rudimentary Visual SourceSafe and Rational ClearCase integration
• Archive file support using 7-Zip
• Plugin support
• Localizable interface via resource DLL
• Online manual and installed HTML Help manual

这里有各种文件比较合并工具的对比, 大家如果有兴趣的话, 可以比较比较。

1 条评论:

匿名 说...

diffmerge也很不错。