-
-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
It would be nice when this Plugin has a Support for the PHPStorm Extract Feature to automatic creation of config-fields in config.xml if it is a Shopware 5.2 plugin structure.
Idea Example:
- Write some Plugin-Code with some string constants
- mark the string and click right mouse button
- under Refactor->Extract add entry to generate shopware-config-field
- add a xml-node in config.xml (if not exist create config.xml) with
<element>
<name>[STRING]</name>
<label lang="de">[STRING]</label>
<label>[STRING]</label>
</element>
Additionally should the PHPStorm-Plugin have an Config-Parameter to define a prefix of plugins to force the prefixing of plugin-names and plugin-config fields.
Alternatively, one could also read the prefix for the config fields from the name of the plugin.
This idea could save time when refactoring plugin-code.
FalkoHilbert
Metadata
Metadata
Assignees
Labels
No labels