Opening Up a File in PHP/WebStorm from Windows CMD

When I am working on Windows CMD (or cmder), there are times that I need to edit a file and would like to open it up in either phpstorm or webstorm. I know that for Sublime Text it is possible to use a command subl and the file name (or a . to open the entire directory).

Is it possible to do the same with PHP/Webstorm? If so, how?

1 comment
Comment actions Permalink

Hi there,

I'd say -- same way -- "path/to/phpstorm.exe full/path/to/folder-or-file". If you add path to phpstorm.exe into PATH variable, then there will be no need to specify full path to executable file.

In any case: https://www.jetbrains.com/help/phpstorm/2016.1/working-with-phpstorm-features-from-command-line.html?search=command#d420607e72

 

0

Please sign in to leave a comment.