Merge branch 'ypankratyev/goto_testdata_fixes'
[idea/community.git] / plugins / devkit / resources / META-INF / plugin.xml
1 <idea-plugin>
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 config-file="gradle-devkit.xml" optional="true">org.jetbrains.plugins.gradle</depends>
15
16   <resource-bundle>org.jetbrains.idea.devkit.DevKitBundle</resource-bundle>
17
18   <extensions defaultExtensionNs="com.intellij">
19     <virtualFileSystem key="testdata" implementationClass="org.jetbrains.idea.devkit.testAssistant.vfs.TestDataGroupFileSystem" />
20     <editorTabTitleProvider implementation="org.jetbrains.idea.devkit.testAssistant.TestDataGroupEditorTabTitleProvider" />
21
22     <runLineMarkerContributor language="JAVA" implementationClass="org.jetbrains.idea.devkit.testAssistant.TestDataLineMarkerProvider"/>
23     <fileEditorProvider implementation="org.jetbrains.idea.devkit.testAssistant.TestDataGroupEditorProvider"/>
24     <gotoRelatedProvider implementation="org.jetbrains.idea.devkit.testAssistant.TestDataAsRelatedFileProvider"/>
25     <gotoRelatedProvider implementation="org.jetbrains.idea.devkit.testAssistant.TestCaseAsRelatedFileProvider"/>
26     <psi.referenceContributor language="JAVA" implementation="org.jetbrains.idea.devkit.testAssistant.TestDataReferenceContributor"/>
27     <getDataRule key="Location" implementationClass="org.jetbrains.idea.devkit.testAssistant.TestLocationDataRule"/>
28
29     <junitPatcher implementation="org.jetbrains.idea.devkit.run.JUnitDevKitPatcher"/>
30     <antBuildGen implementation="org.jetbrains.idea.devkit.build.ant.ChunkBuildPluginExtension"/>
31     <compiler.buildTargetScopeProvider implementation="org.jetbrains.idea.devkit.build.PluginModuleBuildScopeProvider"/>
32
33     <dom.fileDescription implementation="org.jetbrains.idea.devkit.dom.impl.PluginXmlDomFileDescription"/>
34     <dom.extender domClass="org.jetbrains.idea.devkit.dom.Extensions"
35                   extenderClass="org.jetbrains.idea.devkit.dom.impl.ExtensionDomExtender"/>
36     <dom.extender domClass="org.jetbrains.idea.devkit.dom.Action"
37                   extenderClass="org.jetbrains.idea.devkit.dom.impl.InternalDomExtender$ForAction"/>
38     <dom.extender domClass="org.jetbrains.idea.devkit.dom.Group"
39                   extenderClass="org.jetbrains.idea.devkit.dom.impl.InternalDomExtender$ForGroup"/>
40     <dom.implementation interfaceClass="org.jetbrains.idea.devkit.dom.IdeaPlugin"
41                         implementationClass="org.jetbrains.idea.devkit.dom.impl.IdeaPluginImpl"/>
42     <dom.implementation interfaceClass="org.jetbrains.idea.devkit.dom.Extension"
43                         implementationClass="org.jetbrains.idea.devkit.dom.impl.ExtensionImpl"/>
44     <dom.implementation interfaceClass="org.jetbrains.idea.devkit.dom.ExtensionPoint"
45                         implementationClass="org.jetbrains.idea.devkit.dom.impl.ExtensionPointImpl"/>
46     <dom.implementation interfaceClass="org.jetbrains.idea.devkit.dom.Extensions"
47                         implementationClass="org.jetbrains.idea.devkit.dom.impl.ExtensionsImpl"/>
48
49     <fileBasedIndex implementation="org.jetbrains.idea.devkit.dom.index.IdeaPluginRegistrationIndex"/>
50
51     <useScopeEnlarger implementation="org.jetbrains.idea.devkit.DevKitUseScopeEnlarger"/>
52     <properties.implicitPropertyUsageProvider implementation="org.jetbrains.idea.devkit.inspections.RegistryImplicitPropertyUsageProvider"/>
53
54     <configurationType implementation="org.jetbrains.idea.devkit.run.PluginConfigurationType"/>
55     <moduleType id="PLUGIN_MODULE" implementationClass="org.jetbrains.idea.devkit.module.PluginModuleType" classpathProvider="true"/>
56     <sdkType implementation="org.jetbrains.idea.devkit.projectRoots.IdeaJdk"/>
57     <compileServer.plugin classpath="devkit-jps-plugin.jar"/>
58     <fileTemplateGroup implementation="org.jetbrains.idea.devkit.DevKitFileTemplatesFactory"/>
59     <lang.documentationProvider language="XML"
60                                 implementationClass="org.jetbrains.idea.devkit.references.extensions.ExtensionPointDocumentationProvider"/>
61
62     <localInspection language="XML" shortName="PluginXmlValidity" displayName="Plugin.xml Validity" applyToDialects="false"
63                      groupKey="inspections.group.name" enabledByDefault="true" level="ERROR"
64                      implementationClass="org.jetbrains.idea.devkit.inspections.PluginXmlDomInspection"/>
65     <localInspection language="JAVA" shortName="ComponentNotRegistered"
66                      key="inspections.component.not.registered.name" groupKey="inspections.group.name" enabledByDefault="true"
67                      level="WARNING" implementationClass="org.jetbrains.idea.devkit.inspections.ComponentNotRegisteredInspection"/>
68     <localInspection language="JAVA" shortName="InspectionDescriptionNotFoundInspection" displayName="Inspection Description Checker"
69                      groupKey="inspections.group.name" enabledByDefault="true" level="WARNING"
70                      implementationClass="org.jetbrains.idea.devkit.inspections.InspectionDescriptionNotFoundInspection"/>
71     <localInspection language="JAVA" shortName="InspectionUsingGrayColors" displayName="Using new Color(a,a,a)"
72                      groupKey="inspections.group.name" enabledByDefault="true" level="WARNING"
73                      implementationClass="org.jetbrains.idea.devkit.inspections.UseGrayInspection"/>
74     <localInspection language="JAVA" shortName="InspectionUniqueToolbarId" displayName="Specify toolbar id"
75                      groupKey="inspections.group.name" enabledByDefault="true" level="WARNING"
76                      implementationClass="org.jetbrains.idea.devkit.inspections.UniqueToolbarIdInspection"/>
77     <localInspection language="JAVA" shortName="IntentionDescriptionNotFoundInspection" displayName="Intention Description Checker"
78                      groupKey="inspections.group.name" enabledByDefault="true" level="WARNING"
79                      implementationClass="org.jetbrains.idea.devkit.inspections.IntentionDescriptionNotFoundInspection"/>
80     <localInspection language="JAVA"
81                      key="inspections.component.postfix.template.not.found.description.name"
82                      groupKey="inspections.group.name"
83                      enabledByDefault="true"
84                      level="WARNING"
85                      implementationClass="org.jetbrains.idea.devkit.inspections.PostfixTemplateDescriptionNotFoundInspection"/>
86     <localInspection shortName="ComponentRegistrationProblems"
87                      key="inspections.registration.problems.name"
88                      groupKey="inspections.group.name"
89                      enabledByDefault="true" level="ERROR"
90                      implementationClass="org.jetbrains.idea.devkit.inspections.RegistrationProblemsInspection"/>
91     <localInspection language="XML" shortName="InspectionMappingConsistency" applyToDialects="false"
92                      groupKey="inspections.group.name"
93                      displayName="&lt;inspection&gt; tag consistency"
94                      enabledByDefault="true"
95                      level="WARNING"
96                      implementationClass="org.jetbrains.idea.devkit.inspections.InspectionMappingConsistencyInspection"/>
97
98     <localInspection language="UAST" shortName="UndesirableClassUsage" displayName="Undesirable class usage"
99                      groupKey="inspections.group.name"
100                      enabledByDefault="true" level="WARNING"
101                      implementationClass="org.jetbrains.idea.devkit.inspections.internal.UndesirableClassUsageInspection"/>
102     <localInspection language="JAVA" shortName="FileEqualsUsage" displayName="File.equals() usage"
103                      groupKey="inspections.group.name"
104                      enabledByDefault="true" level="WARNING"
105                      implementationClass="org.jetbrains.idea.devkit.inspections.internal.FileEqualsUsageInspection"/>
106     <localInspection language="JAVA" shortName="GtkPreferredJComboBoxRenderer" displayName="Preferred JComboBox renderer"
107                      groupKey="inspections.group.name"
108                      enabledByDefault="true" level="WARNING"
109                      implementationClass="org.jetbrains.idea.devkit.inspections.internal.GtkPreferredJComboBoxRendererInspection"/>
110     <localInspection language="JAVA" shortName="UnsafeVfsRecursion" displayName="Unsafe VFS recursion"
111                      groupKey="inspections.group.name"
112                      enabledByDefault="true" level="WARNING"
113                      implementationClass="org.jetbrains.idea.devkit.inspections.internal.UnsafeVfsRecursionInspection"/>
114     <localInspection language="JAVA" shortName="UseJBColor" displayName="Use Darcula aware JBColor"
115                      groupKey="inspections.group.name"
116                      enabledByDefault="true" level="WARNING"
117                      implementationClass="org.jetbrains.idea.devkit.inspections.internal.UseJBColorInspection"/>
118     <localInspection language="JAVA" shortName="UseDPIAwareInsets" displayName="Use DPI-aware insets"
119                      groupKey="inspections.group.name"
120                      enabledByDefault="true" level="WARNING"
121                      implementationClass="org.jetbrains.idea.devkit.inspections.internal.UseDPIAwareInsetsInspection"/>
122     <localInspection language="JAVA" shortName="UseDPIAwareBorders" displayName="Use DPI-aware borders"
123                      groupKey="inspections.group.name"
124                      enabledByDefault="true" level="WARNING"
125                      implementationClass="org.jetbrains.idea.devkit.inspections.internal.UseDPIAwareEmptyBorderInspection"/>
126     <localInspection language="JAVA" shortName="UseCouple" displayName="Use Couple instead of Pair"
127                      groupKey="inspections.group.name"
128                      enabledByDefault="false" level="WARNING"
129                      implementationClass="org.jetbrains.idea.devkit.inspections.internal.UseCoupleInspection"/>
130     <localInspection language="JAVA" shortName="DontUsePairConstructor" displayName="Don't use constructor of Pair class"
131                      groupKey="inspections.group.name"
132                      enabledByDefault="true" level="WARNING"
133                      implementationClass="org.jetbrains.idea.devkit.inspections.internal.DontUseNewPairInspection"/>
134     <localInspection language="JAVA" shortName="UseVirtualFileEquals" displayName="Use VirtualFile.equals"
135                      groupKey="inspections.group.name"
136                      enabledByDefault="true" level="WARNING"
137                      implementationClass="org.jetbrains.idea.devkit.inspections.internal.UseVirtualFileEqualsInspection"/>
138     <localInspection language="JAVA" shortName="UnsafeReturnStatementVisitor" displayName="Unsafe return statements visitor"
139                      groupKey="inspections.group.name" enabledByDefault="true" level="WARNING"
140                      implementationClass="org.jetbrains.idea.devkit.inspections.internal.UnsafeReturnStatementVisitorInspection"/>
141     <localInspection language="UAST" shortName="StatefulEp" displayName="Stateful Extension"
142                      groupKey="inspections.group.name"
143                      enabledByDefault="true" level="WARNING"
144                      implementationClass="org.jetbrains.idea.devkit.inspections.StatefulEpInspection"/>
145     <localInspection language="JAVA" shortName="UsePrimitiveTypes" displayName="Use .equals with primitive types"
146                      groupKey="inspections.group.name"
147                      enabledByDefault="true" level="WARNING"
148                      implementationClass="org.jetbrains.idea.devkit.inspections.internal.UsePrimitiveTypesInspection"/>
149     <localInspection groupPath="Java" language="JAVA" shortName="HighlightVisitorInternal"
150                      displayName="Good code is red"
151                      groupKey="inspections.group.name"
152                      enabledByDefault="false" isInternal="true"
153                      level="ERROR" implementationClass="org.jetbrains.idea.devkit.inspections.internal.HighlightVisitorInternalInspection"/>
154     <localInspection language="JAVA" shortName="QuickFixGetFamilyNameViolation"
155                      displayName="QuickFix's getFamilyName() implementation must not depend on a specific context"
156                      groupKey="inspections.group.name"
157                      enabledByDefault="true"
158                      level="WARNING"
159                      implementationClass="org.jetbrains.idea.devkit.inspections.QuickFixGetFamilyNameViolationInspection"/>
160     <localInspection language="JAVA" shortName="PsiElementConcatenation"
161                      displayName="Using PsiElement string representation to generate new expression is incorrect"
162                      groupKey="inspections.group.name" enabledByDefault="true" level="WARNING"
163                      implementationClass="org.jetbrains.idea.devkit.inspections.PsiElementConcatenationInspection"/>
164
165
166     <moduleConfigurationEditorProvider implementation="org.jetbrains.idea.devkit.module.PluginModuleEditorsProvider"/>
167     <implicitUsageProvider implementation="org.jetbrains.idea.devkit.inspections.DevKitImplicitUsageProvider"/>
168     <psi.referenceContributor language="XML" implementation="org.jetbrains.idea.devkit.dom.impl.I18nReferenceContributor"/>
169     <psi.referenceContributor implementation="org.jetbrains.idea.devkit.references.IconsReferencesContributor"/>
170     <referencesSearch implementation="org.jetbrains.idea.devkit.references.IconsReferencesContributor"/>
171     <unusedDeclarationFixProvider implementation="org.jetbrains.idea.devkit.inspections.quickfix.RegisterExtensionFixProvider"/>
172
173     <stacktrace.fold substring="at com.intellij.ide.IdeEventQueue"/>
174     <stacktrace.fold substring="at com.intellij.util.messages.impl.MessageBus"/>
175     <stacktrace.fold substring="com.intellij.openapi.command.WriteCommandAction"/>
176     <stacktrace.fold substring="at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction("/>
177     <stacktrace.fold substring="at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction("/>
178     <stacktrace.fold substring="at com.intellij.openapi.application.RunResult.run("/>
179     <stacktrace.fold substring="at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand("/>
180     <stacktrace.fold substring="at com.intellij.testFramework.EdtTestUtil"/>
181     <stacktrace.fold substring="at com.intellij.testFramework.UsefulTestCase"/>
182     <stacktrace.fold substring="at com.intellij.testFramework.fixtures.impl.CodeInsightTestFixtureImpl.collectAndCheckHighlighting("/>
183     <stacktrace.fold substring="at com.intellij.testFramework.fixtures.impl.CodeInsightTestFixtureImpl.checkResultByFile("/>
184     <stacktrace.fold substring="at com.intellij.testFramework.fixtures.impl.CodeInsightTestFixtureImpl.access$"/>
185     <stacktrace.fold substring="at com.intellij.testFramework.fixtures.impl.CodeInsightTestFixtureImpl$"/>
186     <stacktrace.fold substring="at com.intellij.testFramework.LightPlatformTestCase"/>
187     <stacktrace.fold substring="at com.intellij.testFramework.LightPlatformCodeInsightTestCase"/>
188     <stacktrace.fold substring="at com.intellij.testFramework.PlatformTestCase"/>
189     <stacktrace.fold substring="at com.intellij.testFramework.EditorActionTestCase"/>
190     <stacktrace.fold substring="at com.intellij.testFramework.ExpectedHighlightingData"/>
191
192     <codeInsight.lineMarkerProvider language="JAVA"
193                                     implementationClass="org.jetbrains.idea.devkit.navigation.DescriptionTypeRelatedItemLineMarkerProvider"/>
194     <codeInsight.lineMarkerProvider language="JAVA"
195                                     implementationClass="org.jetbrains.idea.devkit.navigation.ExtensionPointDeclarationRelatedItemLineMarkerProvider"/>
196     <codeInsight.lineMarkerProvider language="JAVA"
197                                     implementationClass="org.jetbrains.idea.devkit.navigation.ExtensionDeclarationRelatedItemLineMarkerProvider"/>
198     <codeInsight.implicitSubclassProvider implementation="org.jetbrains.idea.devkit.inspections.DevKitImplicitSubclassProvider"/>
199
200     <annotator language="Properties" implementationClass="org.jetbrains.idea.devkit.inspections.RegistryPropertiesAnnotator"/>
201
202     <images.themeFilter implementation="org.jetbrains.idea.devkit.icons.DefaultThemeFilter"/>
203     <images.themeFilter implementation="org.jetbrains.idea.devkit.icons.DefaultHiDPIThemeFilter"/>
204     <images.themeFilter implementation="org.jetbrains.idea.devkit.icons.DarculaThemeFilter"/>
205     <images.themeFilter implementation="org.jetbrains.idea.devkit.icons.DarculaHiDPIThemeFilter"/>
206
207     <moduleService serviceImplementation="org.jetbrains.idea.devkit.build.PluginBuildConfiguration"/>
208     <generatedSourcesFilter implementation="org.jetbrains.idea.devkit.internal.IconsGeneratedSourcesFilter"/>
209
210     <!-- must be before SubstringConsoleFolding to be able to fold the entire stacktrace -->
211     <console.folding order="first" implementation="com.intellij.testFramework.FailedTestDebugLogConsoleFolding"/>
212   </extensions>
213
214   <project-components>
215     <component>
216       <implementation-class>org.jetbrains.idea.devkit.testAssistant.TestDataHighlightingPassFactory</implementation-class>
217     </component>
218   </project-components>
219
220
221   <actions>
222     <group id="PluginDeployActions">
223       <action class="org.jetbrains.idea.devkit.build.PrepareToDeployAction" id="MakeJarAction"/>
224       <action class="org.jetbrains.idea.devkit.build.PrepareAllToDeployAction" id="MakeAllJarsAction"/>
225       <add-to-group anchor="after" group-id="ProjectViewPopupMenu" relative-to-action="Compile"/>
226       <add-to-group anchor="after" group-id="BuildMenu" relative-to-action="BuildArtifact"/>
227     </group>
228
229     <group id="DevkitNewActions" text="Plugin DevKit" icon="AllIcons.Nodes.Plugin" popup="true"
230            class="com.intellij.ide.actions.NonTrivialActionGroup">
231       <action class="org.jetbrains.idea.devkit.actions.NewActionAction" text="Action" id="NewAction"/>
232       <separator/>
233       <action text="Application Service" id="NewApplicationService"
234               class="org.jetbrains.idea.devkit.actions.service.NewApplicationServiceAction"/>
235       <action text="Project Service" id="NewProjectService"
236               class="org.jetbrains.idea.devkit.actions.service.NewProjectServiceAction"/>
237       <action text="Module Service" id="NewModuleService"
238               class="org.jetbrains.idea.devkit.actions.service.NewModuleServiceAction"/>
239       <add-to-group group-id="NewGroup" anchor="last"/>
240     </group>
241
242
243     <action class="org.jetbrains.idea.devkit.actions.GenerateComponentExternalizationAction" text="Generate Externalization"
244             id="GenerateExternalization">
245       <add-to-group anchor="last" group-id="GenerateGroup"/>
246     </action>
247
248     <group id="Internal.DevKit" internal="true" text="DevKit" popup="true">
249       <action internal="true" class="org.jetbrains.idea.devkit.actions.ToggleHighlightingMarkupAction"
250               text="Toggle Expected Highlighting Markup"
251               id="ToggleHighlightingMarkup"/>
252
253       <action internal="true" class="org.jetbrains.idea.devkit.actions.ShuffleNamesAction" text="Shuffle Names"
254               id="ShuffleNamesAction"/>
255
256       <action internal="true" class="org.jetbrains.idea.devkit.actions.ShowSerializedXmlAction" text="Show Serialized XML for Class"
257               id="ShowSerializedXml"/>
258
259       <action internal="true" class="org.jetbrains.idea.devkit.dom.generator.GenerateDomModelAction" text="Generate DOM Model..."
260               id="GenerateDomModel"/>
261
262       <action internal="true" class="org.jetbrains.idea.devkit.actions.ShowHelpPageByIdAction" text="Show Help Page by ID"
263               id="ShowHelpPageById"/>
264
265       <add-to-group group-id="Internal" anchor="last"/>
266
267     </group>
268     <action id="TestData.Navigate"
269             class="org.jetbrains.idea.devkit.testAssistant.NavigateToTestDataAction"
270             text="Navigate to testdata" use-shortcut-of="GotoRelated">
271       <add-to-group anchor="last" group-id="TestTreePopupMenu"/>
272     </action>
273     <action id="DumpCleanTestData" internal="true" class="org.jetbrains.idea.devkit.internal.DumpCleanHighlightingTestdataAction">
274       <add-to-group group-id="Internal.Dump"/>
275     </action>
276   </actions>
277
278 </idea-plugin>