[Bug]: "Replace qualifier with an import" in blade files not working when plugin enabled
Bug description
When editing a blade file, I don't have the option to replace the FQCN with an import. Disabled, that option works again.
With plugin not enabled:
When plugin enabled:
Also notice the color that has been changed.
Plugin version
8.1.3.241
Operating system
MacOS
Steps to reproduce
- Call the "Show context actions" when the selector is on a FQCN.
Relevant log output
No response
Any update?
I confirm I have the same issue, I can't import a class in Blade files
Do you know if this issue still exists? It could be an old Blade plugin issue.
And there is another issue about it: https://youtrack.jetbrains.com/issue/WI-81479
@adelf Thanks for picking this up. The issue still remains, but funny is that now it also does not work with the plugin disabled:
Using plugin version: 10.2.1.251 on PHPstorm 2025.2 EAP
You can try to delete the vendor/_laravel_idea folder. It might help. If yes, it is a PhpStorm issue - https://youtrack.jetbrains.com/issue/WI-81479
@adelf Don't have that folder, but I think it still is a PHPstorm issue now, since it still doesn't work when disabling the plugin
Ok. Closing this for now. You can track the JetBrains issue now.
@adelf It works (again perhaps, idk) in PHPstorm, but still not when using the plugin. So it looks like it is not merely a PHPstorm-issue.
WIth plugin disabled:
With plugin enabled:
@EranNL could you try 10.2.2.251 version? If the problem still appears, could you please go to the main menu (PhpStorm, or Help) > About PhpStorm > Copy and Close, and put this info here.
@adelf NIce, that does seem to work. Thanks!