notepad is a very popular text editor, but it does not have the automatic alignment and indentation functions of some IDEs. However, we can achieve this function in the form of a plug-in.
Recommended tutorial: notepad installation and use tutorial
1. Open the notepad software, as shown in the figure, select the plug-in Manager (the screenshot is the English version)
2. Pull down, find the NppAutoIndent plug-in, and check the box in front
3. Click the install button on the lower right
4. After the installation is complete, click Yes
to restart the software
5. In the plug-in, you can see the plug-in just now.
Select the corresponding smart indent option.
6. The following text will be Automatically align indents
The above is the detailed content of How to set alignment in notepad. For more information, please follow other related articles on the PHP Chinese website!