"Compare"->"Compare" in the top menu to compare the code."/> "Compare"->"Compare" in the top menu to compare the code.">

Home  >  Article  >  Development Tools  >  How to compare in notepad

How to compare in notepad

angryTom
angryTomOriginal
2019-08-16 14:24:227992browse

How to compare in notepad

For programming, code version management is a troublesome thing. It often happens that after changing the code, you can’t remember where you changed it, especially because after changing the code, it brings When new errors occur, it is critical to locate the changed location. Recently, I encountered an error after making a code change. With the help of Notepad's comparison function, I could easily find the location of the change. Here is a brief introduction to the process.

Recommended tutorial: notepad graphic tutorial

1. First find the plug-in installation manager. Click "Plugins"--"Plugin Manager"--"Show Plugin Manager" in the top menu bar.

How to compare in notepad

2. Install the plug-in, find the "compare" plug-in in the plug-in manager window, select it, and click Install to install it. There will be some prompts during the process, select " Yes" to continue the installation.

How to compare in notepad

#3. Add the code text to be compared. Open both documents to be compared in the same window.

How to compare in notepad

4. Compare. Click "Plug-in"--"Compare"--"Compare" in the top menu to perform code comparison. I feel that the comparison speed is quite fast, but it may be related to the small difference in the text of my two codes.

How to compare in notepad

#5. Check the differences. After the comparison, the software will use colors or identifiers to display the differences. You can easily find different content by just looking at the color differences.

How to compare in notepad

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

Statement:
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