Files
openide/plugins/devkit/devkit-java-tests/testData/codeInsight/extensionI18n.xml
Yann Cébron 2d8a174349 [devkit] PluginXmlFunctionalTest.testExtensionI18n: fix test data
GitOrigin-RevId: be1fca2755a558ca779a81256f8957235cfcf320
2020-02-25 14:03:48 +00:00

78 lines
4.0 KiB
XML

<idea-plugin>
<id>com.intellij</id>
<vendor>JetBrains</vendor>
<version>1.0</version>
<resource-bundle>extensionI18nBundle</resource-bundle>
<resource-bundle><error descr="Cannot resolve property bundle">INVALID_VALUE</error></resource-bundle>
<extensionPoints>
<extensionPoint name="localInspection"
beanClass="com.intellij.codeInspection.LocalInspectionEP">
<with attribute="implementationClass" implements="com.intellij.codeInspection.LocalInspectionTool"/>
</extensionPoint>
<!-- qualifiedName EPs must work, too -->
<extensionPoint qualifiedName="custom.myCustomInspection"
beanClass="com.intellij.codeInspection.LocalInspectionEP">
<with attribute="implementationClass" implements="com.intellij.codeInspection.LocalInspectionTool"/>
</extensionPoint>
<extensionPoint name="projectConfigurable"
beanClass="com.intellij.openapi.options.ConfigurableEP"
area="IDEA_PROJECT">
<with attribute="instance" implements="com.intellij.openapi.options.Configurable"/>
</extensionPoint>
<extensionPoint name="generalOptionsProvider" beanClass="com.intellij.ide.GeneralSettingsConfigurableEP">
<with attribute="instance" implements="com.intellij.openapi.options.SearchableConfigurable"/>
</extensionPoint>
<extensionPoint name="typeName" beanClass="com.intellij.ide.TypeNameEP">
<with attribute="className" implements="java.lang.Object"/>
</extensionPoint>
<extensionPoint name="intentionAction"
beanClass="com.intellij.codeInsight.intention.IntentionActionBean">
<with tag="className" implements="com.intellij.codeInsight.intention.IntentionAction"/>
</extensionPoint>
</extensionPoints>
<extensions defaultExtensionNs="com.intellij">
<localInspection groupKey="my.key" key="my.key"/>
<localInspection groupKey="my.key" key="my.key" bundle="extensionI18nBundle" groupBundle="extensionI18nBundle"/>
<localInspection groupKey="<error descr="Cannot resolve property key">INVALID_KEY</error>" groupBundle="INVALID_BUNDLE"
key="<error descr="Cannot resolve property key">INVALID_KEY</error>" bundle="<error descr="Cannot resolve property bundle">INVALID_BUNDLE</error>"/>
<projectConfigurable key="my.key"/>
<projectConfigurable key="<error descr="Cannot resolve property key">INVALID_KEY</error>"
bundle="<error descr="Cannot resolve property bundle">INVALID_BUNDLE</error>"/>
<generalOptionsProvider key="<error descr="Cannot resolve property key">INVALID_KEY</error>"
bundle="<error descr="Cannot resolve property bundle">INVALID_BUNDLE</error>"/>
<typeName className="java.lang.String" resourceKey="my.key"/>
<typeName className="java.lang.String"
resourceKey="<error descr="Cannot resolve property key">INVALID_KEY</error>"
resourceBundle="<error descr="Cannot resolve property bundle">INVALID_BUNDLE</error>"/>
<intentionAction>
<categoryKey>my.key</categoryKey>
<className>com.intellij.codeInsight.intention.IntentionAction</className>
</intentionAction>
<intentionAction>
<categoryKey><error descr="Cannot resolve property key">INVALID_KEY</error></categoryKey>
<bundleName><error descr="Cannot resolve property bundle">INVALID_BUNDLE</error></bundleName>
<className>com.intellij.codeInsight.intention.IntentionAction</className>
</intentionAction>
</extensions>
<extensions defaultExtensionNs="custom">
<myCustomInspection groupKey="my.key" key="my.key"/>
<myCustomInspection groupKey="my.key" key="my.key" bundle="extensionI18nBundle" groupBundle="extensionI18nBundle"/>
<myCustomInspection groupKey="<error descr="Cannot resolve property key">INVALID_KEY</error>" groupBundle="INVALID_BUNDLE"
key="<error descr="Cannot resolve property key">INVALID_KEY</error>" bundle="<error descr="Cannot resolve property bundle">INVALID_BUNDLE</error>"/>
</extensions>
</idea-plugin>