I am looking for a lightweight PHP prettyprint (beautification) tool. In Netbeans, I can Right-click and select Format to format source code. Is there a text editor with the same capability?
feedback
|
closed as not constructive by Joel Coehoorn, random♦ Dec 26 '11 at 2:41
This question is not a good fit to our Q&A format. We expect answers to generally involve facts, references, or specific expertise; this question will likely solicit opinion, debate, arguments, polling, or extended discussion. See the FAQ for guidance on how to improve it.
|
You can use Notepad++'s auto-indenter. It is in TextFX-> TextFX Edit->Reindent C++ code. | |||||||||
feedback
|
|
Many code beautifiers and prettyprint tools are hosted online. These online tools may be the best, as they are operating system independent. For PHP, some examples are PHPFormatter.com and PrettyPrinter.de. If you are looking for a stand-alone application, phpCodeBeautifier is available for both Windows and Linux. | |||
|
feedback
|