Home > Article > Development Tools > How to compare files in notepad++
Notepad, also called npp, is a small open source software similar to Notepad. It is portable, small in size, and takes up little resources. It supports many programming languages, such as C, C#, Java and other mainstream programming languages; it supports HTML, XML, ASP, Perl, Python, JavaScript and other web page/script languages.
And Notepad is one of the favorite editors among programmers. It has many common editor functions such as syntax highlighting, syntax folding, and macros. If you find something dissatisfied with Notepad, you can also define a more powerful Notepad by installing extensions or developing extensions yourself! (Recommended learning: notepad )
Introduced below, compare two Python files by installing the Compare plug-in in NotePad.
Open NotePad, click [Plug-in] on the toolbar -》Plugin Manager -》Show Plugin Manager, check √Compare -》Install, as shown in the figure:
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 [Plug-ins] - "Compare" on the toolbar.
Check √: Align Matches, Ignore Spacing, Detect Moves, Navigation bar.
Looking at the line represented by the yellow color, we found that there is a problem with the int of the statement in the target file 11.txt. It should be init, that is, int —> init
The above is the detailed content of How to compare files in notepad++. For more information, please follow other related articles on the PHP Chinese website!