MagentoWorkflow
Blazing fast Magento 2 development in SublimeText 3/4
Details
Installs
- Total 649
- Win 228
- Mac 119
- Linux 302
Apr 19 | Apr 18 | Apr 17 | Apr 16 | Apr 15 | Apr 14 | Apr 13 | Apr 12 | Apr 11 | Apr 10 | Apr 9 | Apr 8 | Apr 7 | Apr 6 | Apr 5 | Apr 4 | Apr 3 | Apr 2 | Apr 1 | Mar 31 | Mar 30 | Mar 29 | Mar 28 | Mar 27 | Mar 26 | Mar 25 | Mar 24 | Mar 23 | Mar 22 | Mar 21 | Mar 20 | Mar 19 | Mar 18 | Mar 17 | Mar 16 | Mar 15 | Mar 14 | Mar 13 | Mar 12 | Mar 11 | Mar 10 | Mar 9 | Mar 8 | Mar 7 | Mar 6 | Mar 5 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
Mac | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Linux | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
MagentoWorkflow
MagentoWorkflow — is a SublimeText 3 plugin that allows to work on Magento module or theme with enabled cache and forget about cache clean and outdated generated code. Additionally, it takes care about file sync into docker environment. This approach results in drastically improved Magento performance, which means faster and enjoyable development.
Installation
Windows is not supported. PR are welcome.
- Run “Package Control: Install Package” command
- Type
MagentoWorkflow
and press Enter
How it Works
When you save some file, MagentoWorkflow plugin automatically cleanup appropriate generated files, and triggers cache invalidation. Plugin knows when, where, and what to clear.
You will always see when the plugin do something. It reports about its processes in Sublime's status bar.
Commands
Pulled a lot of changes from remote repository? We've got your back! Press ⌘⇧P and use MagentoWorkflow commands:
- Wipe All - Cleanup all resources and flush cache storage
- Clear Cache - Cleanup selected magento cache
- Flush Cache - Flush cache storage
- Theme Clear - Cleanup theme resources (js, css)
- Module Clear - Cleanup module resources (js, css, php)
Docker
Module automatically discovers if you are using docker and run
commands in appropriate container. Additionally, when docker is detected,
module will sync changes from vendor
folder into the docker.
Tested with:
Configuration
No configuration is required. Just install the module and it's ready!
While you don't need to change anything to work with MagentoWorkflow, sometimes to may need to tune some option.
Option Name | Default Value | Description |
---|---|---|
bin_magento_command | bin/magento |
Command to run bin/magento. |
resources | ["css_module", "css_theme", "requirejs", "translation", "generated"] |
The list of resources to clean when needed. |
service | EMPTY |
Docker service name. Autodetected. |
cmd_prefix | docker-compose exec -T {service} |
Prefix to add to every terminal command. Service is taken from service option. |
sync_command | docker cp {filepath} $(docker-compose ps -q {service}\ | awk '{print $1}'):/var/www/html/{filepath} |
sync_folders | ["/vendor/"] |
Sync files from host to docker from these folders. |
Snippets
Previous version of this plugin had some useful snippets. Now, they've been moved to MagicTemplates plugin.