[Geany-Users] PHP_Beautifier

barz040 at yahoo.it barz040 at yahoo.it
Sat Nov 24 12:32:21 UTC 2012

Yes, if I run:
php_beautifier -f /home/user/public_html/input.php -o /home/user/public_html/output.php -l "ArrayNested() NewLines(before=if:switch:while:for:foreach:function:T_CLASS:return:break,after=T_COMMENT) IndentStyles(style=k&r)" it works fine.

If I run this simple command in Geany:
sed 's/\./(dot)/g'
it works fine.

The string that I use in Geany is this:
php_beautifier -s4 -l "ArrayNested() NewLines(before=if:switch:while:for:foreach:function:T_CLASS:return:break,after=T_COMMENT) IndentStyles(style=k&r)"

 but without results.

----- Messaggio originale -----
Da: Lex Trotman <elextr at gmail.com>
A: "barz040 at yahoo.it" <barz040 at yahoo.it>; Geany general discussion list <users at lists.geany.org>
Inviato: Sabato 24 Novembre 2012 12:13
Oggetto: Re: [Geany-Users] PHP_Beautifier

On 24 November 2012 22:04, barz040 at yahoo.it <barz040 at yahoo.it> wrote:
> Hi
> i'm new user of Geany on Linux.
> I want to use PHP_Beautifier Pear package (0.1.5) in Geany. I follow this tutorial http://44studio.blogspot.it/2012/09/php-beautifier-with-geany.html but nothing happens: no code formatted nor changed. Where I get the new formatted code? Where is the mistake?

Not much info to help.

Do whatever commands you have configured run correctly in the command line?

Configure a really simple command in Geany and see if it works.


> Thanks!
> _______________________________________________
> Users mailing list
> Users at lists.geany.org
> https://lists.geany.org/cgi-bin/mailman/listinfo/users

More information about the Users mailing list