What is the notepad++ code formatting plug-in
Editor to share with you what the notepad++ code formatting plug-in is, I believe most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!
NppAStyle is a plug-in for NotePad++ that formats c, C++, C #, java code edited in Notepad++. NppAStyle internally uses Astyle to format the code.
1. Notepad++ 's SourceForge Plugins home page
2. Notepad++, click the question mark on the far right of the menu bar to get the plug-in.
ANSI and Unicode version number
Notepad++ plug-ins are also divided into ANSI and Unicode version numbers, so when you download the plug-in. Remember to download the plugin that matches your current Notepad++ version number.
For example, there are HexEditor_0_9_5_UNI_dll.zip and HexEditor_0_9_5_ANSI_dll.zip in the version number, so. Suppose you are using the Unicode version number recommended earlier. Then all you need to download is HexEditor_0_9_5_UNI_dll.zip. (it doesn't matter if the choice is wrong, it will prompt an error after reboot.)
Installation method of Notepad++ plug-in
1. Manually install the plug-in
Just put the dll file of the downloaded plug-in into the plugins folder under the corresponding installation folder.
Individual plug-ins. You also need to install other configuration files, such as some xml configuration files. Specific how to operate, download the plug-in package, there will be corresponding prompts, according to the prompts can be installed.
two。 Install plug-ins through Plugin Manager
Note:
1. After the installation of the Notepad++ plug-in, you need to restart Notepad++, so that it can be correctly identified and available.
two。 After restarting, pay attention to setting the plugin-NPPASTYLE-options-choose the code format you want.
3. Format shortcut alt+f
Reuse of notepad++ configuration files and plug-ins
Notepad++ configuration file storage location:% AppData%\ Notepad++
The above is all the content of the article "what is the notepad++ Code formatting plug-in". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!