On 24/11/12 13:32, barz040@yahoo.it wrote:
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.
Just a guess:
Did you select the text before using the command? That feature completely relies on a text selection, if no text is selected, nothing happens.
To format a complete file, simply use Ctrl-A before to select all.
Regards, Enrico