Using PHPStorm code formatter from the command line
Hi Group,
Is there a way to reformat a PHP code base using PHPStorm code formatter and settings from the command line ?
We'd like to have a post commit hook in SVN to format the code at check-in time, any idea if this is feasable
?
Please sign in to leave a comment.
No, but you If you commit to any source control from the IDE there's a "Format source" checkbox in commit dialog.
Hi Alexey,
Thanks for the response, however I don't such such option in the commit
dialog as per screenshot
Sorry, it looks like we did not packaged these into PhpStorm..
I've filed a bug: http://youtrack.jetbrains.net/issue/WI-6771
can we make this happen please? I need it badly to do a git pre-commit hook and need it to work from cli