Original link: https://blog.csdn.net/sanqima/article/details/50467154
-----------------------------------------------------------------------------
Notepad++, also called npp, is an open source software similar to Notepad. It is portable, small in size, small in resource consumption, supports many programming languages, such as C++, C#, Java and other mainstream programming languages; supports HTML, XML, ASP, Perl, Python, JavaScript and other web/script languages. Moreover, Notepad++ is one of the favorite editors of programmers, and there are many common editor functions such as syntax highlighting, syntax folding, and macros. If you find Notepad++ unsatisfactory, you can also define a more powerful Notepad++ by installing an extension or developing your own extension!
The following describes how to compare two Python files by installing the Compare plugin in NotePad++.1. Open NotePad++, click [Plugin] on the toolbar - "Plugin Manager -" Show Plugin Manager, check √Compare - "Install, as shown in Figures (1) and (2):
2. Use NotePad to open the two files to be compared, such as SN.txt and 11.txt, where SN.txt is the source file and 11.txt is the target file. Click [Plugins]->Compare on the toolbar, check √
Align Matches
Ignore Spacing (ignore spaces)
Detect Moves
Navigation bar (navigation bar)
as shown in Figure (3):
Then, click [Plugins]/Compare/Compare, as shown in Figure (4):
The effect is as follows: