[Geany-Users] PHP_Beautifier

Lex Trotman elextr at gmail.com
Sat Nov 24 23:58:00 UTC 2012


On 25 November 2012 06:51, Matthew Brush <mbrush at codebrainz.ca> wrote:
> On 12-11-24 04:32 AM, barz040 at 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.

What platform are you on? Version of Geany, version of GTK and Glib,
from help->debug messages?  Look for error messages in help->debug
messages.

Cheers
Lex


>>
>
> Try running it same as the Geany version from the command line, ex:
>
>   $ echo "Some PHP Code Here" | php_beautifier -s4 -l "..."
> or
>   $ cat "some-code-file.php" | php_beautifier -s4 -l "..."
>
> Cheers,
> Matthew Brush
>
> _______________________________________________
> Users mailing list
> Users at lists.geany.org
> https://lists.geany.org/cgi-bin/mailman/listinfo/users


More information about the Users mailing list