Preset for copying file path instead of opening the editor in Pro
Feature request
I'm using an editor that does not support being opened via a url, so for me it would be helpful if the file link instead copied the path to the clip board. I managed to set this up by entering the following line as the Scheme:
javascript:navigator.clipboard.writeText("%file%");void(%line%);
I was thinking it might be nice to have it as a preset in addition to the current 3 supported editor.
->

Hi, what's your editor? :)
Please 😢
Hi, I plan to work on PHPStan Pro and massively improve it this year, this is definitely one of the things I could do 😊
Now that 1.11 is out is there any chance for this being implemented :)
CodeLite now supports opening files via links that start with codelite:// :)
If I delay something long enough it eventually solves itself 😊 I'm glad I dob't have to do this, clicking on links vs. performing another action is conceptually very different.
I hope you like the new PHPStan Pro in PHPStan 1.11 😊
it eventually solves itself 😊
Ha ha, that's just how it looks from your perspective :D From where I'm sitting nothing happened for so long that I eventually realized that I would have to solve it myself. It actually caused me to not use Pro for a long time, but my current task is to solve 2k issues so at this point the work to add support for it was less the then time it will save me. Still the result is much better then if I had only got the copy button, so maybe it was all for the better :)
Also, will you please add CodeLite as an option. I looked for where the code for that list is but was unable to find it. The syntax is the same as for PhpStorm, just codelite: instead of phpstorm:. Or point me to where I can do it once the URL PR gets merged.
I hope you like the new PHPStan Pro in PHPStan 1.11 😊
I do, the stream of issues is really nice.
I don't use @ignore, so haven't had a chance to try the wizards, but it sounds like it would be helpful to others.
I do find that it often won't live update issues for a file unless you first reload the page, I'm using Firefox. I haven't created an issue for it yet as I haven't taken time out to properly debug it.
P.s. it also appears that when you solve all issues for a file it disappears from the file list, but you are still left with the last know errors in the main view, I found that confusing a few times thinking that I didn't actually solve the issues. Edit: this only happens sometimes as well I just noticed.
Yeah, of course I feel a little bit bad about this :)
I stumbled upon the Firefox bug myself. The problem happened after clicking on an editor link, the current page stopped updating, because only in Firefox something weird happens during that - the WebSocket connection reopens, but the actual page does not reload. And there was a bug on the frontend side that caused the current page to no longer update.
I fixed that bug.
I also added CodeLite to supported editor schemes.
Please update PHPStan Pro by going to "About PHPStan Pro" under the user icon in top-right and let me know how it works for you :) Thanks.
Thank you, much apricate :) Codelite also just did a new release that includes support for links so that's good timing.
Thanks for the tip about how to update pro, I was not aware of that. This is all coming together at a very good time for me.
First of all I can confirm that the CodeLite links work :pray:
It also picked up the dark mode theme :+1:
The files are now closing and updating correctly :recycle:
On a side note CodeLite now has better PHP support as well so excited how well things work right now :slightly_smiling_face:
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
