Code reformatting or headless phpstorm

Hello,


is it possible to run "Reformat code..." from command line somehow? I'm looking for something like

./phpstorm ReformatCode /path/to/Project

Is there another solution to achieve the same from cli (e.g. on a headless linux installation) ?

Regards

2 comments
Comment actions Permalink

Hello!

no, it's not currently possible. Please vote for http://youtrack.jetbrains.com/issue/IDEA-99267
The only thing PHPStorm can do in headless mode is running inspections - see http://www.jetbrains.com/phpstorm/webhelp/running-inspections-offline.html

0
Comment actions Permalink

Thanks for the fast response. Hope others will find this feature also useful.

0

Please sign in to leave a comment.