e1918e6fc5fa77babe875c6e906f14b6d5dc70ba
[idea/community.git] / plugins / devkit / resources / META-INF / plugin.xml
1 <idea-plugin version="2">
2   <name>Plugin DevKit</name>
3   <id>DevKit</id>
4   <version>1.0</version>
5
6   <description>
7     IntelliJ Platform plugin development kit.
8   </description>
9
10   <category>inspection</category>
11   <vendor>JetBrains</vendor>
12
13   <depends>com.intellij.properties</depends>
14   <depends>com.intellij.java-i18n</depends>
15
16   <resource-bundle>org.jetbrains.idea.devkit.DevKitBundle</resource-bundle>
17
18   <extensions defaultExtensionNs="com.intellij">
19     <errorHandler implementation="com.intellij.diagnostic.ITNReporter"/>
20
21     <runLineMarkerContributor language="JAVA" implementationClass="org.jetbrains.idea.devkit.testAssistant.TestDataLineMarkerProvider"/>
22     <fileEditorProvider implementation="org.jetbrains.idea.devkit.testAssistant.TestDataGroupEditorProvider"/>
23     <gotoRelatedProvider implementation="org.jetbrains.idea.devkit.testAssistant.TestDataAsRelatedFileProvider"/>
24     <gotoRelatedProvider implementation="org.jetbrains.idea.devkit.testAssistant.TestCaseAsRelatedFileProvider"/>
25     <psi.referenceContributor language="JAVA" implementation="org.jetbrains.idea.devkit.testAssistant.TestDataReferenceContributor"/>
26     <getDataRule key="Location" implementationClass="org.jetbrains.idea.devkit.testAssistant.TestLocationDataRule"/>
27
28     <junitPatcher implementation="org.jetbrains.idea.devkit.run.JUnitDevKitPatcher"/>
29     <antBuildGen implementation="org.jetbrains.idea.devkit.build.ant.ChunkBuildPluginExtension"/>
30     <compiler.buildTargetScopeProvider implementation="org.jetbrains.idea.devkit.build.PluginModuleBuildScopeProvider"/>
31
32     <dom.fileDescription implementation="org.jetbrains.idea.devkit.dom.impl.PluginXmlDomFileDescription"/>
33     <dom.extender domClass="org.jetbrains.idea.devkit.dom.Extensions"
34                   extenderClass="org.jetbrains.idea.devkit.dom.impl.ExtensionDomExtender"/>
35     <dom.extender domClass="org.jetbrains.idea.devkit.dom.Action"
36                   extenderClass="org.jetbrains.idea.devkit.dom.impl.InternalDomExtender$ForAction"/>
37     <dom.extender domClass="org.jetbrains.idea.devkit.dom.Group"
38                   extenderClass="org.jetbrains.idea.devkit.dom.impl.InternalDomExtender$ForGroup"/>
39     <dom.implementation interfaceClass="org.jetbrains.idea.devkit.dom.IdeaPlugin"
40                         implementationClass="org.jetbrains.idea.devkit.dom.impl.IdeaPluginImpl"/>
41     <dom.implementation interfaceClass="org.jetbrains.idea.devkit.dom.Extension"
42                         implementationClass="org.jetbrains.idea.devkit.dom.impl.ExtensionImpl"/>
43     <dom.implementation interfaceClass="org.jetbrains.idea.devkit.dom.ExtensionPoint"
44                         implementationClass="org.jetbrains.idea.devkit.dom.impl.ExtensionPointImpl"/>
45     <dom.implementation interfaceClass="org.jetbrains.idea.devkit.dom.Extensions"
46                         implementationClass="org.jetbrains.idea.devkit.dom.impl.ExtensionsImpl"/>
47     <useScopeEnlarger implementation="org.jetbrains.idea.devkit.DevKitUseScopeEnlarger"/>
48     <properties.implicitPropertyUsageProvider implementation="org.jetbrains.idea.devkit.references.RegistryImplicitPropertyUsageProvider"/>
49
50     <configurationType implementation="org.jetbrains.idea.devkit.run.PluginConfigurationType"/>
51     <moduleType id="PLUGIN_MODULE" implementationClass="org.jetbrains.idea.devkit.module.PluginModuleType" classpathProvider="true"/>
52     <sdkType implementation="org.jetbrains.idea.devkit.projectRoots.IdeaJdk"/>
53     <compileServer.plugin classpath="devkit-jps-plugin.jar"/>
54     <fileTemplateGroup implementation="org.jetbrains.idea.devkit.DevKitFileTemplatesFactory"/>
55     <lang.documentationProvider language="XML"
56                                 implementationClass="org.jetbrains.idea.devkit.references.extensions.ExtensionPointDocumentationProvider"/>
57
58     <localInspection language="XML" shortName="PluginXmlValidity" displayName="Plugin.xml Validity"
59                      groupKey="inspections.group.name" enabledByDefault="true" level="ERROR"
60                      implementationClass="org.jetbrains.idea.devkit.inspections.PluginXmlDomInspection"/>
61     <localInspection language="JAVA" shortName="ComponentNotRegistered"
62                      key="inspections.component.not.registered.name" groupKey="inspections.group.name" enabledByDefault="true"
63                      level="WARNING" implementationClass="org.jetbrains.idea.devkit.inspections.ComponentNotRegisteredInspection"/>
64     <localInspection language="JAVA" shortName="InspectionDescriptionNotFoundInspection" displayName="Inspection Description Checker"
65                      groupKey="inspections.group.name" enabledByDefault="true" level="WARNING"
66                      implementationClass="org.jetbrains.idea.devkit.inspections.InspectionDescriptionNotFoundInspection"/>
67     <localInspection language="JAVA" shortName="InspectionUsingGrayColors" displayName="Using new Color(a,a,a)"
68                      groupKey="inspections.group.name" enabledByDefault="true" level="WARNING"
69                      implementationClass="org.jetbrains.idea.devkit.inspections.UseGrayInspection"/>
70     <localInspection language="JAVA" shortName="IntentionDescriptionNotFoundInspection" displayName="Intention Description Checker"
71                      groupKey="inspections.group.name" enabledByDefault="true" level="WARNING"
72                      implementationClass="org.jetbrains.idea.devkit.inspections.IntentionDescriptionNotFoundInspection"/>
73     <localInspection language="JAVA"
74                      key="inspections.component.postfix.template.not.found.description.name"
75                      groupKey="inspections.group.name"
76                      enabledByDefault="true"
77                      level="WARNING"
78                      implementationClass="org.jetbrains.idea.devkit.inspections.PostfixTemplateDescriptionNotFoundInspection"/>
79     <localInspection shortName="ComponentRegistrationProblems"
80                       key="inspections.registration.problems.name"
81                      groupKey="inspections.group.name"
82                      enabledByDefault="true" level="ERROR"
83                      implementationClass="org.jetbrains.idea.devkit.inspections.RegistrationProblemsInspection"/>
84     <localInspection language="XML" shortName="InspectionMappingConsistency"
85                      groupKey="inspections.group.name"
86                      displayName="&lt;inspection&gt; tag consistency"
87                      enabledByDefault="true"
88                      level="WARNING"
89                      implementationClass="org.jetbrains.idea.devkit.inspections.InspectionMappingConsistencyInspection"/>
90     <localInspection language="XML" shortName="ExtensionPointBeanClass"
91                      groupKey="inspections.group.name"
92                      displayName="&lt;extensionPoint&gt; beanClass specification"
93                      enabledByDefault="true"
94                      level="WARNING"
95                      implementationClass="org.jetbrains.idea.devkit.inspections.ExtensionPointBeanClassInspection"/>
96
97     <localInspection language="JAVA" shortName="UndesirableClassUsage" displayName="Undesirable class usage"
98                      groupKey="inspections.group.name"
99                      enabledByDefault="true" level="WARNING"
100                      implementationClass="org.jetbrains.idea.devkit.inspections.internal.UndesirableClassUsageInspection"/>
101     <localInspection language="JAVA" shortName="FileEqualsUsage" displayName="File.equals() usage"
102                      groupKey="inspections.group.name"
103                      enabledByDefault="true" level="WARNING"
104                      implementationClass="org.jetbrains.idea.devkit.inspections.internal.FileEqualsUsageInspection"/>
105     <localInspection language="JAVA" shortName="GtkPreferredJComboBoxRenderer" displayName="Preferred JComboBox renderer"
106                      groupKey="inspections.group.name"
107                      enabledByDefault="true" level="WARNING"
108                      implementationClass="org.jetbrains.idea.devkit.inspections.internal.GtkPreferredJComboBoxRendererInspection"/>
109     <localInspection language="JAVA" shortName="UnsafeVfsRecursion" displayName="Unsafe VFS recursion"
110                      groupKey="inspections.group.name"
111                      enabledByDefault="true" level="WARNING"
112                      implementationClass="org.jetbrains.idea.devkit.inspections.internal.UnsafeVfsRecursionInspection"/>
113     <localInspection language="JAVA" shortName="UseJBColor" displayName="Use Darcula aware JBColor"
114                      groupKey="inspections.group.name"
115                      enabledByDefault="true" level="WARNING"
116                      implementationClass="org.jetbrains.idea.devkit.inspections.internal.UseJBColorInspection"/>
117     <localInspection language="JAVA" shortName="UseCouple" displayName="Use Couple instead of Pair"
118                      groupKey="inspections.group.name"
119                      enabledByDefault="false" level="WARNING"
120                      implementationClass="org.jetbrains.idea.devkit.inspections.internal.UseCoupleInspection"/>
121     <localInspection language="JAVA" shortName="DontUsePairConstructor" displayName="Don't use constructor of Pair class"
122                      groupKey="inspections.group.name"
123                      enabledByDefault="true" level="WARNING"
124                      implementationClass="org.jetbrains.idea.devkit.inspections.internal.DontUseNewPairInspection"/>
125     <localInspection language="JAVA" shortName="UseVirtualFileEquals" displayName="Use VirtualFile.equals"
126                      groupKey="inspections.group.name"
127                      enabledByDefault="true" level="WARNING"
128                      implementationClass="org.jetbrains.idea.devkit.inspections.internal.UseVirtualFileEqualsInspection"/>
129     <localInspection language="JAVA" shortName="UnsafeReturnStatementVisitor" displayName="Unsafe return statements visitor"
130                      groupKey="inspections.group.name" enabledByDefault="true" level="WARNING"
131                      implementationClass="org.jetbrains.idea.devkit.inspections.internal.UnsafeReturnStatementVisitorInspection" />
132     <localInspection language="JAVA" shortName="StatefulEp" displayName="Stateful Extension"
133                      groupKey="inspections.group.name"
134                      enabledByDefault="true" level="WARNING"
135                      implementationClass="org.jetbrains.idea.devkit.inspections.StatefulEpInspection"/>
136
137     <moduleConfigurationEditorProvider implementation="org.jetbrains.idea.devkit.module.PluginModuleEditorsProvider"/>
138     <implicitUsageProvider implementation="org.jetbrains.idea.devkit.inspections.DevKitImplicitUsageProvider"/>
139     <psi.referenceContributor language="XML" implementation="org.jetbrains.idea.devkit.dom.impl.I18nReferenceContributor"/>
140     <psi.referenceContributor implementation="org.jetbrains.idea.devkit.references.IconsReferencesContributor"/>
141     <referencesSearch implementation="org.jetbrains.idea.devkit.references.IconsReferencesContributor"/>
142     <unusedDeclarationFixProvider implementation="org.jetbrains.idea.devkit.inspections.quickfix.RegisterExtensionFixProvider"/>
143
144     <stacktrace.fold substring="at com.intellij.util.messages.impl.MessageBus"/>
145     <stacktrace.fold substring="com.intellij.openapi.command.WriteCommandAction"/>
146     <stacktrace.fold substring="at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction("/>
147     <stacktrace.fold substring="at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction("/>
148     <stacktrace.fold substring="at com.intellij.openapi.application.RunResult.run("/>
149     <stacktrace.fold substring="at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand("/>
150     <stacktrace.fold substring="at com.intellij.testFramework.EdtTestUtil"/>
151
152     <codeInsight.lineMarkerProvider language="JAVA"
153                                     implementationClass="org.jetbrains.idea.devkit.navigation.DescriptionTypeRelatedItemLineMarkerProvider"/>
154     <codeInsight.lineMarkerProvider language="JAVA"
155                                     implementationClass="org.jetbrains.idea.devkit.navigation.ExtensionPointDeclarationRelatedItemLineMarkerProvider"/>
156     <codeInsight.implementedAtRuntime implementation="org.jetbrains.idea.devkit.inspections.DevKitImplementedAtRuntimeCondition"/>
157
158     <moduleService serviceImplementation="org.jetbrains.idea.devkit.build.PluginBuildConfiguration"/>
159     <generatedSourcesFilter implementation="org.jetbrains.idea.devkit.internal.IconsGeneratedSourcesFilter"/>
160   </extensions>
161
162   <project-components>
163     <component>
164       <implementation-class>org.jetbrains.idea.devkit.testAssistant.TestDataHighlightingPassFactory</implementation-class>
165     </component>
166   </project-components>
167
168
169   <actions>
170     <group id="PluginDeployActions">
171       <action class="org.jetbrains.idea.devkit.build.PrepareToDeployAction" id="MakeJarAction"/>
172       <action class="org.jetbrains.idea.devkit.build.PrepareAllToDeployAction" id="MakeAllJarsAction"/>
173       <add-to-group anchor="after" group-id="ProjectViewPopupMenu" relative-to-action="Compile"/>
174       <add-to-group anchor="after" group-id="BuildMenu" relative-to-action="BuildArtifact"/>
175     </group>
176
177     <action class="org.jetbrains.idea.devkit.actions.NewApplicationComponentAction" text="Application Component"
178             id="NewApplicationComponent">
179       <add-to-group anchor="last" group-id="NewGroup"/>
180     </action>
181
182     <action class="org.jetbrains.idea.devkit.actions.NewProjectComponentAction" text="Project Component" id="NewProjectComponent">
183       <add-to-group anchor="last" group-id="NewGroup"/>
184     </action>
185
186     <action class="org.jetbrains.idea.devkit.actions.NewModuleComponentAction" text="Module Component" id="NewModuleComponent">
187       <add-to-group anchor="last" group-id="NewGroup"/>
188     </action>
189
190     <action class="org.jetbrains.idea.devkit.actions.NewActionAction" text="Action" id="NewAction">
191       <add-to-group anchor="last" group-id="NewGroup"/>
192     </action>
193
194     <action class="org.jetbrains.idea.devkit.actions.GenerateComponentExternalizationAction" text="Generate Externalization"
195             id="GenerateExternalization">
196       <add-to-group anchor="last" group-id="GenerateGroup"/>
197     </action>
198
199     <group id="Internal.DevKit" internal="true" text="DevKit" popup="true">
200       <action internal="true" class="org.jetbrains.idea.devkit.actions.ToggleHighlightingMarkupAction"
201               text="Toggle Expected Highlighting Markup"
202               id="ToggleHighlightingMarkup"/>
203
204       <action internal="true" class="org.jetbrains.idea.devkit.actions.ShuffleNamesAction" text="Shuffle Names"
205               id="ShuffleNamesAction"/>
206
207       <action internal="true" class="org.jetbrains.idea.devkit.actions.ShowSerializedXmlAction" text="Show Serialized XML for Class"
208               id="ShowSerializedXml"/>
209
210       <action internal="true" class="org.jetbrains.idea.devkit.dom.generator.GenerateDomModelAction" text="Generate DOM Model..."
211               id="GenerateDomModel"/>
212
213       <add-to-group group-id="Internal" anchor="last"/>
214
215     </group>
216     <action id="TestData.Navigate"
217             class="org.jetbrains.idea.devkit.testAssistant.NavigateToTestDataAction"
218             text="Navigate to testdata" use-shortcut-of="GotoRelated">
219       <add-to-group anchor="last" group-id="TestTreePopupMenu"/>
220     </action>
221     <action id="DumpCleanTestData" internal="true" class="org.jetbrains.idea.devkit.internal.DumpCleanHighlightingTestdataAction">
222       <add-to-group group-id="Internal.Dump"/>
223     </action>
224   </actions>
225
226 </idea-plugin>