Open file in cli
已回答
Was using Visual Studio Code, and they have a CLI tool that helps open files from CLI.
Is there, or will there be one for PS?
Right now I have to type `/Applications/PhpStorm.app/Contents/MacOS/phpstorm $(pwd)/projectfolder` to get it to open from CLI. And the terminal is hogged after that.
I could create an alias, but since PS is so expensive and a professional tool, there should be a non hackish way to do such a basic task?
请先登录再写评论。
Hi there,
Please try "Tools | Create Command-line Launcher..." (or just search for such action via "Help | Find Action...")
Then you should be able to use "pstorm" or "phpstorm" command (sorry, I'm a Windows user and such command is for Mac/Linux only)
I tried and its works! Thanks.
Its 'pstorm'. I'm happy again.