You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Add README.md file generation to the context actions, so that user can generate a README.md file wherever it can be generated depending on the clicked file or directory.
Describe the solution you'd like (*)
Similar features have already been developed, for example #978.
So the solution will be similar. To add new file generation action that depends on context:
create an action class that extends com.magento.idea.magento2plugin.actions.context.AbstractContextAction
register it in the plugin.xml file inside the MagentoContextBasedActionsGroup group
implement the isVisible method to define condition where to show this action
implement the getProperties method to specify properties that should be auto-populated from the known context (leave empty for user-defined values)
Additional context
ℹ️ New internal file template should be created.
Look at those files for examples:
resources/fileTemplates/internal/Magento Web API XML.xml.ft
Is your feature request related to a problem? Please describe.
Add README.md file generation to the context actions, so that user can generate a README.md file wherever it can be generated depending on the clicked file or directory.
Describe the solution you'd like (*)
Similar features have already been developed, for example #978.
So the solution will be similar. To add new file generation action that depends on context:
com.magento.idea.magento2plugin.actions.context.AbstractContextAction
plugin.xml
file inside the MagentoContextBasedActionsGroup groupAdditional context
ℹ️ New internal file template should be created.
Look at those files for examples:
Mainline branch: 4.4.0-develop
The text was updated successfully, but these errors were encountered: