You are here: PSPad forum > English discussion forum > PHP/HTML/etc. beautifier / clean code / TiDy

PHP/HTML/etc. beautifier / clean code / TiDy

#1 PHP/HTML/etc. beautifier / clean code / TiDy

Posted by: bkej | Date: 2014-03-07 10:04 | IP: IP Logged

Hello,

I am looking for a tool inside PSPad in order to Tidy / Beautify / Re-indent automatically my PHP code.

Is there one inside PSPad ?

I found PHPStylist sourceforge.net but it needs a local PHP server that I don't have (using XAMMPP, or another, etc.)

I don't want to use a local PHP ! I just want to auto re-indent my code...

Where are the tools for that ?

PS : I never managed to use PSPad's Menu HTML > TiDy with PHP, but I think this is normal, because PHP is not HTML ;)

Best regards,
bkej

Edited 2 time(s). Last edit at 2014-03-07 10:11 by bkej.

Options: Reply | Quote | Up ^


#2 Re: PHP/HTML/etc. beautifier / clean code / TiDy

Posted by: pspad | Date: 2014-03-07 11:29 | IP: IP Logged

You can use any external tool, add it in Settings / Highlighters external files or compiler

Options: Reply | Quote | Up ^


#3 Re: PHP/HTML/etc. beautifier / clean code / TiDy

Posted by: bkej | Date: 2014-03-07 12:56 | IP: IP Logged

Thanks for answer.

Which tool would you recommand for beautifying (reindent, etc.) PHP files?

I don't know any, and Google gives me a lot of, so any recommandation would be useful smiling smiley

Any good PHP beautifier that I could use in PSPad?

Options: Reply | Quote | Up ^


#4 Re: PHP/HTML/etc. beautifier / clean code / TiDy

Posted by: carbonize | Date: 2014-03-07 14:36 | IP: IP Logged

forum.pspad.com

--
Carbonize

Options: Reply | Quote | Up ^


#5 Re: PHP/HTML/etc. beautifier / clean code / TiDy

Posted by: bkej | Date: 2014-03-09 15:05 | IP: IP Logged

Doesn't this tool require a local PHP server?
(I wouldn't want this).

Options: Reply | Quote | Up ^


#6 Re: PHP/HTML/etc. beautifier / clean code / TiDy

Posted by: carbonize | Date: 2014-03-10 09:07 | IP: IP Logged

Yes it does but have yet to come across a JavaScript alternative.

--
Carbonize

Options: Reply | Quote | Up ^


#7 Re: PHP/HTML/etc. beautifier / clean code / TiDy

Posted by: Andreas | Date: 2014-03-10 15:53 | IP: IP Logged

Yes it does, but you don't have to run the server. Just install xampp with only the modules apache and php. Link to the php.exe in /xampp/php/

Options: Reply | Quote | Up ^






Editor PSPad - freeware editor, © 2001 - 2024 Jan Fiala, Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák, Privacy policy and GDPR