Home  >  Article  >  Development Tools  >  Which is the notepad++ code formatting plug-in?

Which is the notepad++ code formatting plug-in?

(*-*)浩
(*-*)浩Original
2019-11-28 10:59:305589browse

Which is the notepad++ code formatting plug-in?

NppAStyle is a NotePad plug-in, used to format c, c, C#, java code edited in Notepad. NppAStyle uses Astyle internally to format code.

Get the plug-in (Recommended learning: notepad )

1. Notepad’s SourceForge Plugins homepage

2. Notepad click Click on the question mark on the far right of the menu bar to get the plug-in

ANSI and Unicode version numbers

Notepad plug-ins are also divided into ANSI and Unicode version numbers, so you download the plug-in when. Remember to download the plug-in that matches your current Notepad version number.

For example, the version numbers include: HexEditor_0_9_5_UNI_dll.zip and HexEditor_0_9_5_ANSI_dll.zip, so. Assume that you are using the Unicode version number recommended above. Then what you need to download is HexEditor_0_9_5_UNI_dll.zip. (It doesn’t matter if you choose the wrong one, an error will be prompted after restarting)

Notepad plug-in installation method

1. Manually install the plug-in

Download Just put the dll file of the plug-in into the plugins folder under the corresponding installation folder.

Individual plug-ins. You also need to install some other configuration files, such as some xml configuration files. For specific instructions on how to operate, there will be corresponding prompts in the downloaded plug-in compressed package. Just follow the prompts to install it.

2. Install the plug-in through the Plugin Manager

Note:

1. After the Notepad plug-in is installed, you need to restart Notepad so that it can be correctly recognized. and available.

2. After restarting, pay attention to the settings, plug-in - NPPASTYLE - options - select the code format you want;

3. Format shortcut key alt f

notepad configuration Reuse of files and plug-ins

Notepad configuration file storage location: %AppData%\Notepad

The above is the detailed content of Which is the notepad++ code formatting plug-in?. 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