-
Notifications
You must be signed in to change notification settings - Fork 3
Code Generation
Kristofers Ozoliņš edited this page Apr 4, 2025
·
3 revisions
Ctrl-Shift-P
-> Magento Toolbox: Generate Module
Ctrl-Shift-P
-> Magento Toolbox: Generate Block
At the moment, plugin generation is only available via the context menu. Right-click a method or anywhere in a PHP class
Ctrl-Shift-P
-> Magento Toolbox: Generate Observer
Ctrl-Shift-P
-> Magento Toolbox: Generate Preference
This command is also available in the right-click context menu when you click anywhere in a PHP class or interface.
Ctrl-Shift-P
-> Magento Toolbox: Generate data patch
Ctrl-Shift-P
-> Magento Toolbox: Generate ViewModel
Generate sample XML configuration files in the etc
directory. All of these commands are also available in the File Explorer context menu