Home > Development Tools > notepad > body text

How to use Notepad++ to compare files

(*-*)浩
Release: 2019-11-30 10:52:44
Original
3901 people have browsed it

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.

How to use Notepad++ to compare files

And Notepad is one of the favorite editors among programmers. It has all the common editor functions such as syntax highlighting, syntax folding, and macros. few. 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 )

The following describes how to 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 Figures (1) and (2):

How to use Notepad++ to compare filesPicture (1) Click [Plugin]–》Plugin Manager –》Show Plugin Manager

How to use Notepad++ to compare files

##Picture (2 ) Check √ Compare —》Install

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 [Plug-in] on the toolbar - "Compare", check √

Align Matches

Ignore Spacing

Detect Moves

 Navigation bar

As shown in Figure (3):

Figure (3) Set the conditions to be compared How to use Notepad++ to compare files

Then, click [Plug-in]/Compare/ Compare, as shown in Figure (4):

Figure (4) Open SN.txt and 11.txt, click [Plug-in] 】/Compara/CompareHow to use Notepad++ to compare files

The effect is as follows:


Figure (5) Check the line represented by yellow color and find that there is a problem with the int of the statement in the target file 11.txt. It should be init, that is, int —> initHow to use Notepad++ to compare files

The above is the detailed content of How to use Notepad++ to compare files. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!