No description
  • TypeScript 94.7%
  • JavaScript 5.3%
Find a file
2024-11-09 17:29:14 +01:00
.vscode use prettier instead of editorconfig 2024-10-29 20:14:10 +01:00
media [add] extension icon 2024-11-02 08:33:22 +01:00
snippets [fix] wrong content for snippet layout.container.start-close 2024-11-04 13:21:59 +01:00
src [add] Automatic content generation for db_schema.xml files 2024-11-09 17:29:14 +01:00
.eslintrc.json initial commit 2024-10-14 13:14:56 +02:00
.gitignore initial commit 2024-10-14 13:14:56 +02:00
.prettierrc use prettier instead of editorconfig 2024-10-29 20:14:10 +01:00
.vscode-test.mjs initial commit 2024-10-14 13:14:56 +02:00
.vscodeignore [add] extension icon 2024-11-02 08:33:22 +01:00
CHANGELOG.md change version number to 0.1.1 2024-11-04 13:22:56 +01:00
LICENSE Initial commit 2024-10-14 13:13:00 +02:00
package-lock.json update to add a command to override a view file 2024-10-29 20:14:52 +01:00
package.json change version number to 0.1.1 2024-11-04 13:22:56 +01:00
README.md Update documentation about snippets 2024-11-02 17:22:11 +01:00
tsconfig.json initial commit 2024-10-14 13:14:56 +02:00
webpack.config.js initial commit 2024-10-14 13:14:56 +02:00

MagentoDev

Make vscode a better IDE for Magento 2

This extension aim to make vscode the best IDE for Magento 2 development by adding the most time saving features.

Features

Automatic module creation

When you create a new valid extension folder in the app/code folder, the extension will automatically create the necessary files with the default content.

demo

Default content for new files

When you create a new file in the app/code folder, the extension will automatically add the default content for the file type.

The following file types are supported:

  • registration.php
  • etc/di.xml
  • etc/module.xml
  • Block/**.php
  • Controller/**.php

Override view file

You can now override a view file in a specific theme by right clicking on the file in the explorer and selecting the MagentoDev: Override in theme option.

TODO List

  • Automatic module creation when a valid folder is created.
  • Context menu option in the explorer to override a view file in a specific theme.
  • Auto clean cache index when needed. (like magento cache clean)
  • Auto remove generated files when needed.
  • Dynamic default content for new files.
    • registration.php
    • di.xml
    • layout.xml
    • Block.php
    • Controller.php
    • events.xml
    • Observer.php
    • db_schema.xml
    • routes.xml
    • webapi.xml
    • system.xml
    • acl.xml
    • menu.xml
    • widget.xml
    • cron_group.xml
    • crontab.xml
    • email_templates.xml
    • template.phtml
  • Snippets for common code blocks.
    • di.preference
    • di.type
    • di.virtualType
    • di.plugin
    • di.arguments
    • events.event
    • layout.container.open-close
    • layout.container.self-closing
    • layout.block.open-close
    • layout.block.self-closing
    • layout.referenceContainer.open-close
    • layout.referenceContainer.self-closing
    • layout.referenceBlock.open-close
    • layout.referenceBlock.self-closing
    • layout.remove
    • layout.move
    • layout.update
  • Commands
    • Re-index all indexes
    • Create a new module
  • Extension translation
    • English
    • French
    • Spanish
    • German