EDITPLUS+PHPCB Simple PHP Code formatting tool ____php

Source: Internet
Author: User

Turn from: http://www.lvtao.net/tool/editplus-phpcb.html


PHPCB Download: http://download.csdn.net/detail/frt007/9533158


using EDITPLUS+PHPCB to create simple PHP code formatting tools

PHPCB Download: http://download.csdn.net/detail/frt007/9533158

Each of our developers wants to write beautiful neat code, but because in the development process will be too much of the focus on the development, ignoring the neat code, how to do it. I am here to introduce you to a: PHP code beautifier combined with EditPlus to create the perfect coding tool.

Software:

PHP Code Beautifie (official website: http://www.waterproof.fr/)

EditPlus (official website: http://www.editplus.com/)

The steps are as follows:

First download the PHP Code beautifie and put it under the EditPlus installation root directory.

Then set the parameters, click under editplus: Tool => parameter Settings => User tool => Add tool => application.

1 Menu Text: I write a name casually, such as I write "format code" here

2) command to browse to the phpCB.exe we just put in the root directory

3) Parameter:--space-after-if--glue-arrow--optimize-eol--space-after-switch
--space-after-while--space-before-start-angle-bracket
--one-true-brace-function-declaration--one-true-brace
--extra-padding-for-case-statement--glue-amperscore
--change-shell-comment-to-double-slashes-comment--indent-with-tab
--force-large-php-code-tag--force-true-false-null-contant-lowercase
--comment-rendering-style PEAR--equal-align-position 50
--padding-char-count 1 "$ (FilePath)"

4 Initial directory: $ (FILEDIR)

5 action: Run as Text filter (replace)

The parameters are set to the following figure:

Execute: The tool = code is formatted.

PHPCB Download: http://download.csdn.net/detail/frt007/9533158

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.