/vscode-magento-toolbox

Magento 2 extension for VSCode - Code generation, inspection and utility tools

Primary LanguageTypeScript

Magento Toolbox for VSCode

WORK IN PROGRESS

Magento Toolbox is a Magento2 code generation tool for vscode.

Implemented features

Code inspection

  • "Open class" when highlighting a namespace in an XML file: Preview

  • View or create observers when highlighting an event name: Preview

  • View observed event name when highlighting observer class name Preview

  • View interceptors (plugins & preferences) for a class or interface Preview Preview

  • View plugins for a function Preview

Code generation

Some commands are available in the file tree context menu. For example, when clicking on /etc directory.

  • Generate new module Preview
  • Generate a controller
  • Generate a data patch
  • Generate an empty config.xml
  • Generate an empty crontab.xml
  • Generate an empty di.xml
  • Generate an empty layout.xml
  • Generate an empty routes.xml
  • Generate an empty system.xml
  • Generate an observer
  • Generate a plugin. You can highlight a function name and generate a plugin form the context menu.
  • Generate a class or interface preference. Can generate from the context menu.
  • Generate a ViewModel

Preview

Other tools

  • Generate Red Hat XML compatible magento XML catalog