PhpStormProtocol
PhpStormProtocol copied to clipboard
Couldn't find PhpStorm
I don't know if this is just me, but I thought I had a 'default' installation of PhpStorm, and this didn't work out of the box.
I changed run_editor.js
as documented and it didn't work (can't find executable). So, I looked through the code, and found line 83 - shell.Exec(command)
, then put shell.Popup(command)
in the line above to see what it was trying to load. Everything was right, except phpStorm on my system is called phpstorm64.exe
yet installed in 'Program Files (x86)
' - which makes me think there is something not 'default' in my setup.
Anyway, I ended up changing line 99 where it chooses between \\bin\\phpstorm64.exe
and \\bin\\phpstorm.exe
to not choose and only use the 64 option.
Again - it's probably more a 'my setup' problem, but thought I would flag it if someone else had issues.
Now working perfectly. Thanks!
My environment: Microsoft Windows [Version 10.0.22631.4317]
, PhpStorm 2024.1.5