-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot find file 'C:\Windows\system32\W' #40
Comments
The format of URLs you're generating in your app is incorrect. It should be:
You're using:
. |
Thanks for the reply @aik099 - I appreciate it! I tried the alternative style link: It's the same issue with prompt: Once I click "OK" the actual index.php opens up. |
Strange. I wasn't having such an issue when developing & testing this on Windows 7. People using Window 10 also reported it to be working out of the box (once you configure where PhpStorm is located). What is the Windows version you're using? |
It's Windows 10 Home version 20H2. |
Try installing some JavaScript debugger or use the free app (if available on Windows) so do real-time debugging of the My guess would be the ActiveX component registration problem. You can also run |
Hmm, I wouldn't know how to begin debugging windows JS, I'll just deal with the issue. On another note, I looked through your code and found shell.AppActivate call that never worked for me. When PhpStorm has a specific project open, the window title becomes the name of the project. So in my case, I named the project "whois" and then I hardcoded that value to the window switching call: "shell.AppActivate('whois');" - that opens up the file and switches to my project. The problem now is that I will have another PhpStorm window open with bunch of empty W files that I will need to keep closing every now and then. :) My suggestion for window switching would be to allow another parameter to be passed in the URL for the project name... would be great if we could have 2 projects open and the link would know which project to open this file in, i.e:
|
Agreed.
For me window title is:
I'm on Mac though. Maybe the window title on Windows is different and more static. Anyway the
|
This is great. I'm so close, I can smell it.
Running windows OS / PhpStorm 2018.3.1
I trigger a link: phpstorm://open?url=file://W:/index.php&line=15
First it shows a popup:
"Cannot find file 'C:\Windows\system32\W'"
Then it opens up the file and jumps to line 15.
Any tips to prevent the first popup? It already opens the right file, but the popup each time is a pain.
Also any tips on making PhpStorm focus after the link is clicked?
The text was updated successfully, but these errors were encountered: