This app allows to use pstorm://
protocol to open a file in a PhpStorm IDE the same way as it's done in TextMate, (section 21.2).
Following string must be specified as an editor in your app:
pstorm://open/?url=file://%f&line=%l
If something doesn't work, then feel free to submit an issue on GitHub.
More reading about protocol handlers: http://pla.nette.org/en/how-open-files-in-ide-from-debugger.
- clone this repository
- go to cloned folder
- copy folder
PhpStorm Protocol.app
to/Applications/
folder - delete cloned folder
- clone this repository
- go to cloned folder
- copy folder
PhpStorm Protocol (Win)
toC:\Program Files\
folder - double click on
C:\Program Files\PhpStorm Protocol (Win)\run_editor.reg
file - agree to whatever Registry Editor asks you
- update settings at
C:\Program Files\PhpStorm Protocol (Win)\run_editor.js
file, because each PhpStorm version is installed into it's own sub-folder! - delete cloned folder