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:

 

  1. /project1: pstorm .
  2. Opens PhpStorm on Project1
  3. /project2: pstorm .
  4. 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.

3

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.

8

Thanks Lucasfbustamante This was bugging me for some time, and finding your response made it all better! :)

0

It is not there tools section 2022.2 verison where is this?

 

0

Should be there, if you're on Linux or Mac. If it's missing - please attach a screenshot of your Tools menu.

0

i found only 1 way it is - phpstorm.exe projectName

0

PhpStorm -> Tools -> Create Command-line launcher is available only for Linux and Mac.

0

请先登录再写评论。