PHP ASP.JAVA JAVA code formatting tool arrangement

  • 2020-03-31 20:53:59
  • OfStack

The PHP code formatting tool (link: http://www.waterproof.fr/products/phpCodeBeautifier/)
I recently modified a code that had no indentation at all, so I can format it with this.
This is equivalent to the indent of c
By the way, write in other languages
C, c + +, c # = = > (link: http://www.gnu.org/software/indent/indent.html) (link: http://sourceforge.net/projects/astyle)
Java = = > (link: http://sourceforge.net/projects/astyle) (link: http://jalopy.sourceforge.net/) (link: http://www.tiobe.com/jacobe.htm) (link: http://importscrubber.sourceforge.net/)
PHP = = > (link: http://www.phpedit.net/products/phpCodeBeautifier/)
Perl = = > (link: http://sourceforge.net/projects/perltidy/)
Python = = > (link: http://sourceforge.net/projects/pythius/) asp = = > (link: http://www.daansystems.com/vbsbeaut/)

names Apply the language Introduction to the Installation/use (link: http://www.gnu.org/software/indent/indent.html) c Indent is a code beautification tool Indent is a standard tool that comes with GCC,
Indent [options] [input - files]
Indent [options] [single-input-file] [-o output-file] (link: http://sourceforge.net/projects/perltidy/) perl Perltidy itself is also written in perl After downloading: perl makefile.pl; Make; Make install
Perltidy [options] file1, file2, file3...
(output goes to file1.tdy, file2.tdy, file3.tdy,...)
Perltidy [options] file1-o outfile
Perltidy [options] file1-st > outfile
Perltidy [options] < Infile > outfile (link: http://sourceforge.net/projects/astyle) C + + Java (PHP) A fast C/C++/Java source code beautification tool.
Astyle is better than indent with a set of style definitions: ANSI Java Linux... You don't have to remember the complex indentation options. After downloading the source code and unpacking it, make generates the astyle executable
Astyle [options] < The Original > Beautified
Astyle [options] foo. CPP bar. CPP [...]
Astyle - style = ANSI *. CPP
I've tried using it to format PHP programs (pure PHP code that doesn't mix with HTML code, of course). (link: http://jalopy.sourceforge.net/) Java Powerful JAVA code formatting tools, in addition to the standard interface, command line tools, can also be used as a plug-in for tools such as ANT JBUILDER ECLIPSE JDEVELOPER, and provide apis Downloaded from (link: http://prdownloads.sourceforge.net/jalopy/)
Refer to the installation documentation (link: http://sourceforge.net/projects/pythius/) python (link: http://sourceforge.net/projects/pythius/) contains two tools:
Pydent: code indentation tool
Pystat: code statistics tool After downloading the source code unpack:
Run python setup. Py "build"
Run python setup. Py "install" (link: http://tidy.sourceforge.net/) HTML/XML The HTML code error correction tool, which helps your HTML code better conform to the W3C specification, is now called tidy because it is used not only for HTML, but also for XHTML XML formatting.

But JSP is not suitable for ASP PHP JSP embedded script code beautification


Related articles: