magento2-phpstorm-plugin
magento2-phpstorm-plugin copied to clipboard
Override this file in a project theme is not working
When I right click on file and select "Override this file in a project theme" on the popup window dropdown list is empty. I am using the latest version of PHPStorm (Build #PS-251.25410.148, built on May 13, 2025) and the plugin (2025.1.1)
To Reproduce (*)
Steps to reproduce the behavior:
- choose any .phtml file
- right click and select "Override this file in a project theme"
Expected behavior (*)
The list should be filled with themes
Screenshots
Please complete the following information: (*)
- OS: Windows 11
- PhpStorm/Intellij version: PhpStorm 2025.1.1 Build #PS-251.25410.148, built on May 13, 2025
- Plugin Version: 2025.1.1
Hi @Hoszi. Thank you for your report.
To speed up processing of this issue, make sure that you provided sufficient information.
Add a comment to assign the issue: @magento I am working on this
Join Magento Community Engineering Slack and ask your questions in #github channel.
I confirm that I detect the same error, and not only in the list of themes. Nothing works anymore, even when I need to make a plugin or preference the list of modules in the project doesn't appear, so I can't select the module I want to work on and it doesn't generate the files correctly. It seems to simply no longer scan the project files correctly, so it no longer detects themes, modules, etc..
Bonjour,
Je reproduis le même souci remonté avec:
- Version du plugin 2025.1.1
- Version phpStorm 2025.1.1 (Build #PS-251.25410.148, built on May 13, 2025)
- Version de Magento 2.4.7-p4
having the same issue with latest version of module and phpstorm using windows 11 and project in WSL2 ubuntu any solution ?
I found a solution to the bug/problem.
In the .idea\magento2plugin.xml file, I had to change the value of magentoPath to $PROJECT_DIR$.
After that, overwriting classes and files is possible again.
I use Windows 11 with WSL.
I found a solution to the bug/problem.
In the
.idea\magento2plugin.xmlfile, I had to change the value ofmagentoPathto$PROJECT_DIR$. After that, overwriting classes and files is possible again.I use Windows 11 with WSL.
works for me, thanks for the workaround i notice that path in setting is with " \ " it work when changing to " / "