This extension will ease the life of the Magento 2 developer by automating some repeating tasks.
MagentoWizard: Create a new extension
command:F1
and using MagentoWizard: Inject Dependency
command.
Start typing \Vendor\ExtensionName\
to get a list of classes from that extension.MagentoWizard: Add Observer
command, MagentoWizard even knows what data is passed to observers for some popular events.MagentoWizard: Add CRUD Model/ResourceModel/Collection
to create all classes needed to access Model data in DB.MagentoWizard: Generate XML Catalog
command and extension will create XML Catalog file in the correct format. It will be added to the XML extension config if that extension is installed.Go to Definition
function for class names and template names in XML Layouts.Copy Magento Path
Exporer context menu command, allows to copy Magento path for various files in /view/ folder.This project is open for all kinds of contributions - new templates, new ideas, bug reports, new features, etc. If you found a bug or want to request a new feature - just create a new issue on GitHub. If you want to add a new feature yourself - fork this repo and create a pull request.
Copy Magento Path
Explorer context menu command was added.
Added indexing of templates, added a command to quickly switch between block and template files. Added an option to disable auto templates for some files.
Autocompletion of the block names in XML layouts.
Autocompletion of the class and template names in XML layouts and configurations.
Added command to reindex workspace (ignoring cached data)
Added templates for CRUD Model, ResourceModel, Collection. New command to create those classes automatically.
Big update of the inner design of extension. Now MagentoWizard indexes all extentions, themes, libraries in the workspace after the launch
and keeps index up to date by watching changes in the files. That allows to support autodetection of the Magento root in the workspace, also
Magento Wizard now better supports many Magento roots in different workspace folders, also you can override location of the Magento root in settings.
Also support for Go to Defintion
function for class names and templates in XML layout files was added.
Added option to select the existing XML file to convert when using the 'Generate Catalog' command.
Added MagentoWizard: Generate XML Catalog
command
Fixed bug in Plugin template. Added Task Provider for bin/magento commands
Add Plugin command, easily add plugin (interceptor) for any public method.
Added support for extensions in /vendor. Added classes from current extension (including from /vendor) to list in Inject Dependency command, removed duplicates from the list. Added caching of extension file data. Improved Observer class name and DI variable name generation
Fixed bug in php templates. Added templates for catalog_attributes.xml, db_schema.xml, menu.xml, webapi.xml, console command.
Added generation of composer.json when creating new extension. Support for multiple worspace folders. Added classes from app/code/ to Inject dependency list.
New templates for config.xml, cron_groups.xml, systems.xml, sections.xml. Improved all templates with snippet placeholders. Fixed bug which prevented from entering new vendor name. Improved commands.
Adding observers using "MagentoWizard: Add Observer" command
First public release of the extension