Terminal command "pstorm ." not opening second project on new window after 2019.1 update

Answered

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.

1 comment
Comment actions Permalink

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.

4

Please sign in to leave a comment.