Format code with notepad++ (format normalization) worldsing

Source: Internet
Author: User

In reading other people's code often encounter format is very messy, reading is very laborious, if manual change is easy error, and time-consuming, then can use some professional editor to format the code, notepad++ is a lightweight code editor, taking up less memory, running fast, but notepad+ + itself is not with this formatting function, but he supports the completion of the plugin format.

  1. Install notepad++, install package download: Http://rj.baidu.com/soft/detail/13478.html?ald


  2. Download Auto Format plugin: NppAStyle.dll, Link: http://pan.baidu.com/s/1kTzcQV1


  3. Then find the installation directory of your installed notepad++, and the simplest way is to click "Open File Location" in the properties of the notepad++ shortcut you are using. After entering, we open the Plugins folder and copy the NppAStyle.dll just extracted here.



  1. Restart notepad++, the Nppastyle option appears in the Plugin menu bar



  1. The open code is formatted with the ALT+F key, before the format



After formatting:


Format code with notepad++ (format normalization) worldsing

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.