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 <[email protected]> A: "[email protected]" <[email protected]>; Geany general discussion list <[email protected]> Cc: Inviato: Sabato 24 Novembre 2012 12:13 Oggetto: Re: [Geany-Users] PHP_Beautifier On 24 November 2012 22:04, [email protected] <[email protected]> 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. Cheers Lex > > > Thanks! > > _______________________________________________ > Users mailing list > [email protected] > https://lists.geany.org/cgi-bin/mailman/listinfo/users _______________________________________________ Users mailing list [email protected] https://lists.geany.org/cgi-bin/mailman/listinfo/users
