Terminal command "pstorm ." not opening second project on new window after 2019.1 update
已回答
After PHPStorm 2019.1 update, the pstorm . command isn't working the way it used to.
Example in terminal:
- /project1: pstorm .
- Opens PhpStorm on Project1
- /project2: pstorm .
- It focus the opened PhpStorm on Project 1
I would expect that on step 4, it would open PhpStorm on Project 2 on a new window.
请先登录再写评论。
Solved it by clicking PhpStorm -> Tools -> Create Command-line launcher...
It will ask if you want to overwrite the existing one. Say yes. Quit PhpStorm.
Now phpstorm . command should work as expected.
Thanks Lucasfbustamante This was bugging me for some time, and finding your response made it all better! :)
It is not there tools section 2022.2 verison where is this?
Should be there, if you're on Linux or Mac. If it's missing - please attach a screenshot of your Tools menu.
i found only 1 way it is - phpstorm.exe projectName
PhpStorm -> Tools -> Create Command-line launcher is available only for Linux and Mac.