IDEA-241963 Devkit: support <separator> "key" in plugin.xml

GitOrigin-RevId: de4ca65ae6fb8b717a40b95ebd861e58302eda33
This commit is contained in:
Yann Cébron
2020-05-28 13:19:25 +02:00
committed by intellij-monorepo-bot
parent d992c5b59e
commit 2bf945f71c
6 changed files with 42 additions and 3 deletions

View File

@@ -75,4 +75,12 @@
<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>
<actions>
<group id="separatorGroup">
<separator key="my.key"/>
<separator key="<error descr="Cannot resolve property key">INVALID_KEY</error>"/>
</group>
</actions>
</idea-plugin>

View File

@@ -10,4 +10,7 @@ action.BundleGroupWrongCasing.text=group lower case text
action.BundleGroupWrongCasing.description=group lower case description
action.OverrideBundleAction.ViaBundle.text=Action Text Override Via Bundle
action.OverrideBundleAction.ViaBundleWrongCase.text=Action Text Override Via Bundle lower case
action.OverrideBundleAction.ViaBundleWrongCase.text=Action Text Override Via Bundle lower case
titleCaseKey=My Text
sentenceCaseKey=My key

View File

@@ -48,5 +48,13 @@
<<warning descr="String 'Action Text Override Via Bundle lower case' is not properly capitalized. It should have title capitalization">override-text</warning> place="ViaBundleWrongCase"/>
<<warning descr="Missing resource bundle key 'action.OverrideBundleAction.ViaBundleMissingKey.text'">override-text</warning> place="ViaBundleMissingKey"/>
</action>
<!-- separator -->
<group id="separatorGroup">
<separator key="titleCaseKey"/>
<separator key="<warning descr="String 'My key' is not properly capitalized. It should have title capitalization">sentenceCaseKey</warning>"/>
</group>
</actions>
</idea-plugin>