Notepad++ is considered to be one of the best extensible text source editing application. It not only offers a wide range of native add-ins but supports third-party plugins as well, allowing users to further extend its functionality by including new features. We have previously reviewed a brilliant HTML tag finding plug-in for Notepad++ called HTML Tag. Today, we will look at another simple yet powerful plug-in for Notepad++ called Compare. Since its first release in 2007, Compare has been consistently updated with new features and improvements. For those who never tried it before, it’s the ability to compare two source code and plain text files opened in Notepad++ tabs. While it allows you to customize the comparison method, you can also toggle some of its markers on/off which show differences between text files in focus.
Compare is a highly customizable application in terms of changing the text matching criteria. You can defined favorite set of text highlighting colors for line addition, deletion, and line moved and line changed to easily scan the differences between the document. Just like MS Word 2010 Compare feature, it supports synchronous vertical and horizontal scrolling which enables you to scroll through both text files simultaneously. You can either install Compare from Notepad++ Plug-in Manager or move the downloaded package to Notepad++ Plugins folder to install it.
Once installed, open source code or text files which you want to compare. Now select Compare option from Compare in Plugins menu, which will open both text files side by side with synchronous vertical and horizontal scrolling enabled. Compare adds a Nav Bar at right side of the window. The Nav Bar shows the portions of both files in different color to let users distinguish the differences. If synchronous scrolling doesn’t work, make sure that both Horizontal and Vertical synchronous scrolling options are enabled in toolbar.
Green add markers are added alongside those lines in text file which aren’t present in other text document. Matching criteria can be changed from Compare menu. If you’ve been working on different versions of documents, you can quickly compare current version with last save in order to quickly know about all the changes.
The Option button opens color configurator, where you can change marking colors of line added, deleted, moved, changed, empty line, and change highlight and set highlight transparency.
Compare is great alternative for text comparison tools which work as standalone application to compare text and programming language source code files. Compare works with all versions of Notepad++. Testing was done with Notepad++ version 5.9.3 running on Windows 7 64-bit system.
Download Compare for Notepad++