I've been trying to solve it for almost 2 days already. I read all threads about tracking hotkeys down in windows 10 that i am using. No help. I tried killing all processes, closing all programs - result is only one: Alt + Shift + Enter not working in WebStorm/PhpStorm, that is supposed to apply quick fix.
Fast Edit:just tried adding Alt + Shift + Enter to another action and it worked, so problem should be with WebStorm not firing Quick Fix somewhy. Is there any command in Settings->Keymap that responsible for that command? I can't find any.
Note that Alt+Shift+Enter shortcut is designed to work only when the popup is shown. Otherwise, the user does not know what action is applied. With Alt+Enter it is different because it does not change the code, just opens a popup.; see the comments in IDEA-209202
Tracy Debugger offers an Editor protocol handler link so you can jump directly to a file from a Tracy Debugger dump message. Unfortunately this does not work on Windows, as the URI protocol handler isn't implemented in the Windows version (see link). However, all IDEA products (IntelliJ, PHPStorm, etc.) provide a REST API from which you can open files.
@adrian The solution you linked to could work (not tested), I found a similar script that I tried, that didn't work. But the script utilizes the Windows Scripting host and requires you to put the path in the .js file, which is a detour.
I think rather than using that custom syntax, it maybe makes more sense to install the protocol handler that @bernhard linked to. Actually, I just noticed that in the Tracy settings I was linking to a protocol handler for PHPStorm, but it was Linux only, so I have linked to the one bernhard mentioned instead.
Yes. If you look into the file Protocol (Win)/run_editor.js there are two variables you have to change and if you are using Jetbrain Toolbox to install and update your IDE, then even the paths in Protocol (Win)/run_editor.js#L22 are completely different.
All good if another way is added to open files in PhpStorm, but I use the editor:// protocol with PhpStorm and never had any problem with it. It's been a long time since I set it up but I expect I followed the PhpStorm docs and I don't remember it being difficult.
@Jens Martsch - dotnetic, I had set it up some years ago under win7 with a (sort of) proxy batchfile. It is a single file, that I pointed the modules default protocol settings to. Don't know if this can be of help for you, as I hadn't read all the posts here. But here is the windows batchfile that I use(d):
from my understanding this binds port 9000 from this container to port 9000 on 10.0.75.2 (docker from windows) ?
then what IP should i use for xdebug.remote_host ?
by default PHPStorm waits for some connection on port 9000, on local machine (Windows).
should I set what it calls a DBGp Proxy ? Pointing to docker ? On port 9000 ?
If I run a webserver on the Windows 10 host and make sure that it listens for external connections (listening on locahost will probably not cut it) and completely disable Windows Firewall, I can curl the webserver from a linux container running in Docker for Windows:
i think a docker container should really be able to connect to a listening service on windows.
xdebug is a major tool for web developers, who i guess are a big part of docker users. and i guess there are a bunch of other uses where this would be requested.
xdebug needs to connect back to your windows machine (PHPSTORM) on port 9000, so if networking in the container is working (should work if you have http and mysql up and running), you need to find out the windows IP on the docker-windows internal net and use this as xdebug.remote_host.
I decided to repo my docker-compose for two reasons. To share what it took for ME to get PHPStorm to play nice with Docker and to invite and refinements. It is called phpdock because at this point, I need to accommodate a variable number of php projects not necessarily Laravel all connecting to common services.
795a8134c1