Code2care : TechZone Apps & Tutorials

Compare files with Notepad++ Compare Plugin

A Comparator is a very useful tool for a developer to detect any changes in source code between two versions of a file.

Notepad++ Provides a plug-in to Compare files called Compare with the following features,
Features :

1. Results displayed Side-by-side in two windows.
2. Can compare files from SVN repo.
3. Highlight differences inside lines.
4. Navigation bar that displays map of compared files.
5. Detects lines that are moved.
6. Navigate between differences though previous, next , First, Last menu buttons.
Compare Icons

7. Customizable results presentation.



A comparator plug-in is not available by default in Notepad++ application, you need to download this app.

Installing Compare plug-in




1. Goto Menu -> Plugin ->Show Plugin Manager

Plugin Manager - Compare Plugin


2. Under Plugin Manager Available tab, look for Compare, Select Compare check-box and install.
Plugins - Plugin Manager - Show Plugin Manager

3. Notepad++ will re restarted so do save unchanged files.

4. When Application reloads you would see Compare option under Plugins Menu.
Compare Menu Options


5. Now open two files that you want to compare, and go-to Plugins -> Compare -> Compare

6. The Notepad++ Window splits into two and Compare results are displayed.
Compare Results


How to read Comparator results :



1. Green coloured line indicates Line which is added to the New Version of the File (Green + sign at the line number).

2. Red/Pink coloured line indicates Line which is deleted (Red + sign at line number).

3. Blue/Dark Greyish coloured line indicates Line which is moved.

4. Yellow coloured line indicates Line which is changed.

5. Light Grey line indicates Line which is Blank.


You can change these colour options through Menu -> Compare -> Option


Comparator plug-in is released under : GNU General Public License version 3.0 (GPLv3)

Plugin webpage : http://npp-compare.sourceforge.net/

Top











Posts related to notepadplusplus.


1. How to Do Column Mode Editing in Notepad++

2. Setting up Cloud feature with Notepad++

3. Base64 Encoding Decoding In Notepad++

4. Add blank lines after each lines using Notepad++ text editor

5. 97 Useful Notepad++ Keyboard Shortcuts List

6. Compare Files with Notepad++ Plugin

7. Convert SQL to CSV in Notepad++

8. 15 Notepad++ Editor alternatives for Mac OS X

9. Disable Control Scroll Zoom-in and Zoom-out in Notepad++

10. How to Convert CSV file to SQL Script using Notepad++

11. Using Document Map in Notepad++

12. Add Blank Lines Notepad++

13. How to remove blank lines from a file using Notepad++

14. Add Text at Start and End of Each Line Notepad++

15. Indent XML Formatting In Notepad++

16. Replace tabs by spaces or comma Notepad++

17. ASCII to HEX and HEX to ASCII Conversion Notepad++

18. Error opening file for writing Notepad++ Setup

19. Launch Notepad++ html document in any web browser

20. How to do Multi-Line Editing in Notepad++

    more...






Popular tags
android
x 175
eclipse
x 29
notepadplusplus
x 20
macosx
x 14
sharepoint
x 14
html
x 14
mac
x 13
androidstudio
x 11




1000+ C Programs     PHP Tutorial     JSON Tutorial     Swift Tutorial     India Pinocdes     About Us     Privacy Policy


Code2care © 2012-17