This plugin provides utilities that improve the workflow when working with Magento 2 Projects in PHPStorm.
- PhpStorm >= 2020.3
- JRE >= 11
- "Recompile" static files (.less, .css, .js, etc) by deleting only the files selected or currently open in editor from the
/pub/static
and/var/view_preprocessed
folders. Thus removing the need to run magento cli commands to have the same effect, like runningbin/magento deploy:mode:set developer
orbin/magento setup:upgrade
.- Can be used inside the project view, by selecting which files or folders to "recompile" or in the current open tab in the editor by:
- Using the provided default keyboard shortcut CTRL+ALT+R (can be customized).
- Searching for the action in the general search pressing ⇧⇧.
- In the editor tab context menu.
- Can be used inside the project view, by selecting which files or folders to "recompile" or in the current open tab in the editor by:
- Delete PHP classes interceptors by choosing 'Delete Interceptor' on the file context menu.
- Run Magento CLI commands trough the IDE toolbar options.
-
Using IDE built-in plugin system:
Preferences > Plugins > Marketplace > Search for "Magento2-Utilities" > Install Plugin
-
Manually:
Download the latest release and install it manually using Preferences > Plugins > ⚙️ > Install plugin from disk...