You are here: PSPad forum > English discussion forum > PHP format code

PHP format code

#1 PHP format code

Posted by: Askold | Date: 2024-03-28 14:30 | IP: IP Logged

Perhaps I don’t know such a button in the editor,
I would like to have something similar to “Format HTML” also
for “Format PHP” and for “Format Javascript”.

Options: Reply | Quote | Up ^


#2 Re: PHP format code

Posted by: pspad | Date: 2024-03-29 17:30 | IP: IP Logged

You can use any command line formatting utility and integrate it into PSPad

Options: Reply | Quote | Up ^


#3 Re: PHP format code

Posted by: Askold | Date: 2024-03-30 07:17 | IP: IP Logged

The answer is clear, but it's a pity.

Options: Reply | Quote | Up ^


#4 Re: PHP format code

Posted by: pspad | Date: 2024-03-30 07:30 | IP: IP Logged

It isn't easy develop and maintain code lexers and formater for different languages.
From this point of view is easier to integrate any existing solution, like SQLFormater for SQL e.t.c.

Options: Reply | Quote | Up ^


#5 Re: PHP format code

Posted by: Askold | Date: 2024-04-03 15:46 | IP: IP Logged

It can be easier, of course, to integrate any existing solution if you know how, and you definitely know how to do it, unlike ordinary users.
It is possible that you will need to add some modules or files.
Well, at least for PHP, and for Javascript it would be wonderful and amazing smiling smiley

The existing editor is the best and most convenient of all that I have tried.
And probably over time you will want to improve it somehow.

I can only wish you every success!

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