Created by: miraage
https://www.jetbrains.com/help/webstorm/opening-files-from-command-line.html https://www.jetbrains.com/help/phpstorm/opening-files-from-command-line.html
Both editors have the same signature <editor> <projectPath> --line <number> <filePath>
to open file from the command line.
It seems to work even if <projectPath>
is omitted (commit 02f88ba1).
Tested on Win10
+PhpStorm2016
and macOS 10.12
+PhpStorm2017
.