Kill plugin logos
[idea/community.git] / plugins / java-i18n / src / META-INF / plugin.xml
1 <idea-plugin version="2">
2   <id>com.intellij.java-i18n</id>
3   <name>I18n for Java</name>
4   <depends>com.intellij.properties</depends>
5   <description>
6     This plugin provides code inspections and corresponding quick fixes for code internationalization.
7   </description>
8   <vendor>JetBrains</vendor>
9   <resource-bundle>messages.PropertiesBundle</resource-bundle>
10   <extensionPoints>
11     <extensionPoint name="resourceBundleManager"
12                     interface="com.intellij.lang.properties.psi.ResourceBundleManager"
13                     area="IDEA_PROJECT"/>
14     <extensionPoint name="i18nizeHandlerProvider" interface="com.intellij.codeInspection.i18n.I18nizeHandlerProvider"/>
15   </extensionPoints>
16
17   <extensions defaultExtensionNs="com.intellij.java-i18n">
18     <i18nizeHandlerProvider implementation="com.intellij.codeInspection.i18n.I18nizeJspHandlerProvider"/>
19   </extensions>
20
21   <extensions defaultExtensionNs="com.intellij">
22     <errorHandler implementation="com.intellij.diagnostic.ITNReporter"/>
23     <referenceProviderType key="Properties File Key Provider"
24                            implementationClass="com.intellij.lang.properties.PropertiesReferenceProvider"/>
25     <psi.referenceContributor implementation="com.intellij.psi.impl.source.resolve.reference.impl.providers.JavaReferenceContributor"/>
26     <psi.referenceContributor implementation="com.intellij.lang.properties.PropertiesReferenceContributor"/>
27     <lang.foldingBuilder language="JAVA" implementationClass="com.intellij.codeInspection.i18n.folding.PropertyFoldingBuilder" />
28     <gotoDeclarationHandler implementation="com.intellij.codeInspection.i18n.folding.I18nMessageGotoDeclarationHandler" order="FIRST"/>
29     <spellchecker.support language="JAVA" implementationClass="com.intellij.spellchecker.JavaSpellcheckingStrategy"/>
30
31     <localInspection shortName="HardCodedStringLiteral" bundle="messages.CodeInsightBundle" key="inspection.i18n.display.name"
32                      groupBundle="messages.InspectionsBundle" groupKey="group.names.internationalization.issues" enabledByDefault="false" level="WARNING"
33                      implementationClass="com.intellij.codeInspection.i18n.I18nInspection"/>
34     <localInspection language="JAVA" shortName="UnresolvedPropertyKey" bundle="messages.CodeInsightBundle"
35                      key="inspection.unresolved.property.key.reference.name"
36                      groupBundle="messages.InspectionsBundle" groupKey="group.names.properties.files" enabledByDefault="true"
37                      level="ERROR" implementationClass="com.intellij.codeInspection.i18n.InvalidPropertyKeyInspection"/>
38     <globalInspection shortName="InconsistentResourceBundle" bundle="messages.InspectionsBundle"
39                       key="inconsistent.resource.bundle.display.name" groupBundle="messages.PropertiesBundle"
40                       groupKey="properties.files.inspection.group.display.name" enabledByDefault="true" level="ERROR"
41                       implementationClass="com.intellij.codeInspection.i18n.InconsistentResourceBundleInspection"/>
42     <localInspection language="Properties" shortName="UnusedMessageFormatParameter" bundle="messages.PropertiesBundle"
43                      key="unused.message.format.parameter.display.name" groupKey="properties.files.inspection.group.display.name"
44                      enabledByDefault="true" level="WARNING"
45                      implementationClass="com.intellij.lang.properties.UnusedMessageFormatParameterInspection"/>
46     <localInspection language="JAVA" shortName="DuplicateStringLiteralInspection" bundle="messages.InspectionsBundle"
47                      key="inspection.duplicates.display.name" groupName="Internationalization issues" enabledByDefault="false"
48                      level="WARNING"
49                      implementationClass="com.intellij.codeInspection.duplicateStringLiteral.DuplicateStringLiteralInspection"/>
50   </extensions>
51   <actions>
52     <action id="I18nize" class="com.intellij.codeInspection.i18n.I18nizeAction">
53       <add-to-group group-id="RefactoringMenu" anchor="last" />
54     </action>
55   </actions>
56 </idea-plugin>