editor:// integration and PhpStorm from JetBrains Toolbox – changing bin directory

dakur
Member | 281
+
0
-

Hi all,

I've got a quick question. I've read this guide about how to register editor:// protocol in the system (specifically Windows in my case). But there is this thing, that when using with PhpStorm installed through JetBrains Toolbox, it has its own folder per each build (e.g. AppData\Local\JetBrains\Toolbox\apps\PhpStorm\ch-0\211.6693.120\bin) and there is no common shortcut which I can refer to in the handling JS.

What is your experience with this, do you update the handling JS every time your PhpStorm got updated?

Update:
Ok, I've found out there is phpstorm:// protocol already, but if I use it it does not do anything anyway, just outputs Failed to launch '<URL>' because the scheme does not have a registered handler into console. 🤷‍♂️

Last edited by dakur (2021-04-13 13:50)

Keeehi
Member | 36
+
+1
-

You can let toolbox generate shell scripts for you. So when it updates, it just change content of the script and path will stay same. So you can use it as a constant wherever you need to.

dakur
Member | 281
+
0
-

Thanks. That should work. But shouldn't work the phpstorm:// as well out of the box when shipped in PhpStorm?

Last edited by dakur (2021-04-15 10:34)