Actually it's not working. Idea can take action keyword as first command line argument, but PhpStorm always assumes it's file to be opened :( (PhpStorm-107.581)
EDIT: It seems to be fine at my home PC with PhpStorm-107.120, will try again at work next week.
Now I found what was the problem, I had PhpStorm running. As there cannot be more instances of PhpStorm, you cannot run CLI application when you have IDE running.
So you got it to work? I can't find my post where I asked about this, but it would not run for me (threw errors.) I think Alexey said he was going to look into it, but have heard nothing back.
It took me some time to realize I cannot have PhpStorm running, so I was just so happy to see that it started reacting to 'inspect' parameter at least somehow.
It works in IDEA, so I guess something wrong with the build. I'll have a look next week when I'm back from holiday
This shoul apply to PhpStorm&Webstorm too: http://www.jetbrains.com/idea/webhelp/running-inspections-offline.html
Actually it's not working. Idea can take action keyword as first command line argument, but PhpStorm always assumes it's file to be opened :( (PhpStorm-107.581)
EDIT: It seems to be fine at my home PC with PhpStorm-107.120, will try again at work next week.
Now I found what was the problem, I had PhpStorm running. As there cannot be more instances of PhpStorm, you cannot run CLI application when you have IDE running.
So you got it to work? I can't find my post where I asked about this, but it would not run for me (threw errors.) I think Alexey said he was going to look into it, but have heard nothing back.
Here it is:
http://devnet.jetbrains.net/message/5312971#5312971You're right, same issue as you have.
It took me some time to realize I cannot have PhpStorm running, so I was just so happy to see that it started reacting to 'inspect' parameter at least somehow.
It works in IDEA, so I guess something wrong with the build. I'll have a look next week when I'm back from holiday
http://youtrack.jetbrains.net/issue/WI-7495
Fixed for 3.0 EAP
Thanks Alexey, can't wait for it! Hope it will be available soon