Compare Two Source Codes And Text Files In Notepad++ With Compare

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.

compare plugin 1

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.

plugins compare 3

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

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++

قالب وردپرس

About Alyse Kalish

Alyse Kalish
As an Associate Editor for The SalesJobInfo, Alyse is proud to prove that yes, English majors can change the world. She calls many places home, including Illinois where she grew up and the small town of Hamilton where she attended Colgate University, but she was born to be a New Yorker. In addition to being an avid writer, Alyse loves to dance, both professionally and while waiting for the subway.

Leave a Reply

Your email address will not be published. Required fields are marked *