Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 1.15 KB

File metadata and controls

25 lines (18 loc) · 1.15 KB

PhpStorm Protocol handler for Windows

This code allows to use phpstorm:// protocol to open a file in a PhpStorm.

One of the following links must be specified as an editor in your app:

phpstorm://open?url=file://%f&line=%l

phpstorm://open?file=%f&line=%l

If something doesn't work, then feel free to submit an issue on GitHub.

Installing

  1. clone this repository in the folder C:\Program Files\PhpStorm Protocol (Win)
git clone https://github.com/Makedit/PhpStormProtocolWin.git "C:\Program Files\PhpStorm Protocol (Win)"
  1. double click on C:\Program Files\PhpStorm Protocol (Win)\install.reg file and agree to whatever Registry Editor asks you
  2. by default PhpStorm has to be installed in C:\Program Files\JetBrains\PhpStorm on Windows x64. If you use 32 bits version or another folder, update settings at C:\Program Files\PhpStorm Protocol (Win)\run_phpstorm.js
  3. if you use Xdebug, set the following line on php.ini xdebug.file_link_format = "phpstorm://open?file=%f&line=%l"