Skip to content

Commit c3a1c7a

Browse files
author
Vitaliy Boyko
committed
Fixed templates
1 parent 3c81e25 commit c3a1c7a

File tree

6 files changed

+5
-13
lines changed

6 files changed

+5
-13
lines changed

resources/META-INF/plugin.xml

+4
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,10 @@
108108
groupName="Magento" enabledByDefault="true" level="ERROR"
109109
implementationClass="com.magento.idea.magento2plugin.inspections.php.PluginInspection"/>
110110
<libraryRoot id=".phpstorm.meta.php" path=".phpstorm.meta.php/" runtime="false"/>
111+
112+
<internalFileTemplate name="Magento Module Composer"/>
113+
<internalFileTemplate name="Magento Module Registration Php"/>
114+
<internalFileTemplate name="Magento Module Xml"/>
111115
</extensions>
112116

113117
<application-components>

resources/fileTemplates/internal/Magento Module Composer.html

-4
This file was deleted.

resources/fileTemplates/internal/Magento Module Registration Php.html

-4
This file was deleted.

resources/fileTemplates/internal/Magento Module XML.html

-4
This file was deleted.

src/com/magento/idea/magento2plugin/magento/files/ModuleXml.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
public class ModuleXml implements ModuleFileInterface {
1111
public static String FILE_NAME = "module.xml";
12-
public static String TEMPLATE = "Magento Module XML";
12+
public static String TEMPLATE = "Magento Module Xml";
1313
private static ModuleXml INSTANCE = null;
1414

1515
public static ModuleXml getInstance() {

0 commit comments

Comments
 (0)