Skip to content

Commit 4ddbee4

Browse files
author
Vitaliy Boyko
committed
Restored plugin xml
1 parent b9a781d commit 4ddbee4

File tree

1 file changed

+151
-0
lines changed

1 file changed

+151
-0
lines changed

resources/META-INF/plugin.xml

+151
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,151 @@
1+
<!--
2+
/**
3+
* Copyright © Dmytro Kvashnin. All rights reserved.
4+
* See COPYING.txt for license details.
5+
*/
6+
-->
7+
<idea-plugin>
8+
<id>com.magento.idea.magento2plugin</id>
9+
<name>Magento PhpStorm</name>
10+
<version>1.0.0</version>
11+
<vendor url="https://github.com/magento/magento2-phpstorm-plugin">Magento Inc.</vendor>
12+
13+
<description><![CDATA[
14+
Magento PhpStorm plugin, created to improve life-work balance while working with Magento 2
15+
]]></description>
16+
17+
<change-notes><![CDATA[
18+
Please, find change notes
19+
<a
20+
href="https://github.com/magento/magento2-phpstorm-plugin/blob/master/CHANGELOG.md"
21+
title="CHANGELOG.md"
22+
>here</a>
23+
]]>
24+
25+
</change-notes>
26+
27+
<!-- please see http://confluence.jetbrains.com/display/IDEADEV/Build+Number+Ranges for description -->
28+
<idea-version since-build="193.6494.35"/>
29+
30+
<!-- please see http://confluence.jetbrains.com/display/IDEADEV/Plugin+Compatibility+with+IntelliJ+Platform+Products
31+
on how to target different products -->
32+
<!-- uncomment to enable plugin in all products
33+
<depends>com.intellij.modules.lang</depends>
34+
-->
35+
<depends>com.jetbrains.php</depends>
36+
<depends>JavaScript</depends>
37+
<depends>com.intellij.modules.platform</depends>
38+
<depends optional="true" config-file="withJsGraphQl.xml">com.intellij.lang.jsgraphql</depends>
39+
40+
<actions>
41+
<group id="MagentoGenerateGroup">
42+
<action id="MagentoGenerateBeforeMethodAction"
43+
class="com.magento.idea.magento2plugin.actions.generation.PluginGenerateBeforeMethodAction"
44+
text="Magento Before Plugin..."
45+
description="Create Magento before plugin method."/>
46+
<action id="MagentoGenerateAfterMethodAction"
47+
class="com.magento.idea.magento2plugin.actions.generation.PluginGenerateAfterMethodAction"
48+
text="Magento After Plugin..."
49+
description="Create Magento after plugin method."/>
50+
<action id="MagentoGenerateAroundMethodAction"
51+
class="com.magento.idea.magento2plugin.actions.generation.PluginGenerateAroundMethodAction"
52+
text="Magento Around Plugin..."
53+
description="Create Magento around plugin method."/>
54+
<add-to-group group-id="PhpGenerateGroup" anchor="last"/>
55+
</group>
56+
<group id="MagentoNewGroup">
57+
<action id="Magento2NewModule" class="com.magento.idea.magento2plugin.actions.generation.NewModuleAction"/>
58+
<add-to-group group-id="NewGroup" anchor="after" relative-to-action="NewDir"/>
59+
</group>
60+
<action id="MagentoCreateAPlugin.Menu" class="com.magento.idea.magento2plugin.actions.generation.CreateAPluginAction">
61+
<add-to-group group-id="EditorPopupMenu"/>
62+
</action>
63+
<action id="OverrideClassByAPreference.Menu" class="com.magento.idea.magento2plugin.actions.generation.OverrideClassByAPreferenceAction">
64+
<add-to-group group-id="EditorPopupMenu"/>
65+
</action>
66+
</actions>
67+
68+
<extensions defaultExtensionNs="com.intellij">
69+
<projectConfigurable instance="com.magento.idea.magento2plugin.project.SettingsForm"
70+
id="Magento2.SettingsForm"
71+
displayName="Magento"
72+
nonDefaultProject="true"
73+
groupId="language"
74+
parentId="reference.webide.settings.project.settings.php"
75+
/>
76+
<projectService serviceImplementation="com.magento.idea.magento2plugin.project.Settings"/>
77+
78+
<completion.contributor language="XML" implementationClass="com.magento.idea.magento2plugin.completion.xml.XmlCompletionContributor" />
79+
80+
<psi.referenceContributor language="XML" implementation="com.magento.idea.magento2plugin.reference.xml.XmlReferenceContributor"/>
81+
<psi.referenceContributor language="PHP" implementation="com.magento.idea.magento2plugin.reference.php.PhpReferenceContributor"/>
82+
<psi.referenceContributor language="JavaScript" implementation="com.magento.idea.magento2plugin.reference.js.JsReferenceContributor"/>
83+
84+
<fileBasedIndex implementation="com.magento.idea.magento2plugin.stubs.indexes.EventObserverIndex" />
85+
<fileBasedIndex implementation="com.magento.idea.magento2plugin.stubs.indexes.EventNameIndex" />
86+
<fileBasedIndex implementation="com.magento.idea.magento2plugin.stubs.indexes.VirtualTypeIndex" />
87+
<fileBasedIndex implementation="com.magento.idea.magento2plugin.stubs.indexes.PluginIndex" />
88+
<fileBasedIndex implementation="com.magento.idea.magento2plugin.stubs.indexes.BlockNameIndex" />
89+
<fileBasedIndex implementation="com.magento.idea.magento2plugin.stubs.indexes.ContainerNameIndex" />
90+
<fileBasedIndex implementation="com.magento.idea.magento2plugin.stubs.indexes.WebApiTypeIndex" />
91+
<fileBasedIndex implementation="com.magento.idea.magento2plugin.stubs.indexes.ModulePackageIndex" />
92+
<fileBasedIndex implementation="com.magento.idea.magento2plugin.stubs.indexes.ModuleNameIndex" />
93+
<fileBasedIndex implementation="com.magento.idea.magento2plugin.stubs.indexes.xml.PhpClassNameIndex" />
94+
<fileBasedIndex implementation="com.magento.idea.magento2plugin.stubs.indexes.mftf.SectionIndex" />
95+
<fileBasedIndex implementation="com.magento.idea.magento2plugin.stubs.indexes.mftf.ActionGroupIndex" />
96+
<fileBasedIndex implementation="com.magento.idea.magento2plugin.stubs.indexes.mftf.DataIndex" />
97+
<fileBasedIndex implementation="com.magento.idea.magento2plugin.stubs.indexes.mftf.PageIndex" />
98+
<fileBasedIndex implementation="com.magento.idea.magento2plugin.stubs.indexes.mftf.StepKeyIndex" />
99+
<fileBasedIndex implementation="com.magento.idea.magento2plugin.stubs.indexes.js.RequireJsIndex" />
100+
<fileBasedIndex implementation="com.magento.idea.magento2plugin.stubs.indexes.js.MagentoLibJsIndex" />
101+
102+
<codeInsight.lineMarkerProvider language="PHP" implementationClass="com.magento.idea.magento2plugin.php.linemarker.PluginLineMarkerProvider"/>
103+
<codeInsight.lineMarkerProvider language="PHP" implementationClass="com.magento.idea.magento2plugin.php.linemarker.ClassConfigurationLineMarkerProvider"/>
104+
<codeInsight.lineMarkerProvider language="PHP" implementationClass="com.magento.idea.magento2plugin.php.linemarker.WebApiLineMarkerProvider"/>
105+
106+
<directoryProjectConfigurator implementation="com.magento.idea.magento2plugin.project.ProjectDetector"/>
107+
108+
<localInspection language="PHP" groupPath="PHP"
109+
shortName="PluginInspection" displayName="Inspection for the Plugin declaration"
110+
groupName="Magento 2"
111+
enabledByDefault="true"
112+
level="ERROR"
113+
implementationClass="com.magento.idea.magento2plugin.inspections.php.PluginInspection"/>
114+
115+
<localInspection language="XML" groupPath="XML"
116+
shortName="ObserverDeclarationInspection"
117+
displayName="Duplicated Observer Usage in events XML"
118+
groupName="Magento 2"
119+
enabledByDefault="true"
120+
level="WARNING"
121+
implementationClass="com.magento.idea.magento2plugin.inspections.xml.ObserverDeclarationInspection"/>
122+
123+
<localInspection language="XML" groupPath="XML"
124+
shortName="CacheableFalseInDefaultLayoutInspection"
125+
displayName="Inspection for disabled cache site-wide"
126+
groupName="Magento 2"
127+
enabledByDefault="true" level="WARNING"
128+
implementationClass="com.magento.idea.magento2plugin.inspections.xml.CacheableFalseInDefaultLayoutInspection"/>
129+
130+
<libraryRoot id=".phpstorm.meta.php" path=".phpstorm.meta.php/" runtime="false"/>
131+
132+
<internalFileTemplate name="Magento Module Composer"/>
133+
<internalFileTemplate name="Magento Module Registration Php"/>
134+
<internalFileTemplate name="Magento Module Xml"/>
135+
<internalFileTemplate name="Magento Module DI Xml"/>
136+
<internalFileTemplate name="Magento Php Preference Class"/>
137+
</extensions>
138+
139+
<application-components>
140+
<!-- Add your application components here -->
141+
</application-components>
142+
143+
<project-components>
144+
<!-- Add your project components here -->
145+
</project-components>
146+
147+
<actions>
148+
<!-- Add your actions here -->
149+
</actions>
150+
151+
</idea-plugin>

0 commit comments

Comments
 (0)