EditPlus Formatting Code

Source: Internet
Author: User

editplus Formatting Code plug-in (CSS,JS)Today at BlueideaSee someone sent an article called "Let EditPlus automatically format css and JS" articles, after reading it felt very good, I also suddenly came to the inspiration, why not the front-end development of common tools are integrated into it? To do it, I found some relevant tool code on the Internet, the author's way to start the transformation (the author is using "Local cscript call Js+ep text filter" way to achieve).
The following is an integrated approach (the following is an example of the Chinese version of EDITPLUS3):
1, download the toolkit: Edtools.rar, unzip and put to a directory on the disk, such as D:edtools.

2. Open Ed, open tools-user Tools group, in the Popup object box, select a tool group in the Group and tool items drop-down box, click "Group name" to set a name for the group tool, such as "front-end development tools" as shown in:

3, the following start to join the tool, here is mainly jsformat for example, other similar.
Click "Add" – "Application", in the new item, the menu text is written on the name, such as "Jsformat", enter in the command:

Java code
Cscript/nologo "D:\edTools\jsFormatter.js"
The contents of the enclosed quotation mark to modify the path of the corresponding file on your disk. In the following few options, select Run as text filter. As shown in the following:

4, the other several installation method and Jsformat installation similar, here no longer repeat. Click Ed, tools you will find: Jsformat ctrl+1, open a JS Click after you will find the mystery.
: Click to download

EditPlus Integrated PHP Code formatting Tool PHPCB (phpcodebeautifier)EditPlus is a lightweight code editor that is recognized and used by a wide range of programming enthusiasts. Commonly used for ASP, PHP, C and other languages of code writing and debugging. The editplus itself has the ability to automatically indent code formats, but is only available when the code is written. Does not have the function of code formatting. PHP code Beautifilier, referred to as PHPCB, is a foreigner's development of the free PHP coding tool, support a lot of settings options, easy for users to control the results after formatting. : http://www.waterproof.fr/products/phpCodeBeautifier/download.php
What I offer here is the 1.1 version of PHPCB, a command-line tool that is very simple to use:
phpCB.exe [Options] PHP file path to formatYou can also drag PHP directly onto the PhpCB.exe icon.
However, the command line is not always easy to use. Fortunately EditPlus provides powerful integration of external tools
EditPlus supports up to 10 sets of external tools, each group can contain n tools, hehe. n is how much, I have not tried.
As long as the PHPCB is integrated into the EditPlus, the PHP code is written and formatted to work as one.
The steps to integrate PHPCB into EditPlus are as follows:
1. Copy the PhpCB.exe to the installation directory of the EditPlus (It's not easy to lose files
2., open the "Configure User Tools"

3. Add an item

According to the above format, add on it, click OK, close this window. Then open the Tools menu and you'll see

Now, you can open a php file and press Ctrl + 1, or execute the menu "format PHP Code" to experiment with the effect.

EditPlus Formatting Code

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.