inspections i18n: provide groupPathKey so the structure can be preserved (IDEA-248175)

GitOrigin-RevId: 747d89e9f7ada98a2c427e3aa76dcfc59bd69b6a
This commit is contained in:
Anna Kozlova
2020-08-18 21:21:27 +02:00
committed by intellij-monorepo-bot
parent 1d899092b1
commit cb586d0cf0
6 changed files with 72 additions and 58 deletions

View File

@@ -60,6 +60,9 @@ public class I18nReferenceContributor extends PsiReferenceContributor {
Holder.CONFIGURABLE_EP, Holder.INSPECTION_EP),
new PropertyKeyReferenceProvider(false, "groupKey", "groupBundle"));
registrar.registerReferenceProvider(extensionAttributePattern(new String[]{"groupPathKey"}, Holder.INSPECTION_EP),
new PropertyKeyReferenceProvider(false, "groupPathKey", "groupBundle"));
registrar.registerReferenceProvider(extensionAttributePattern(new String[]{"resourceKey"},
Holder.TYPE_NAME_EP),
new PropertyKeyReferenceProvider(false, "resourceKey", "resourceBundle"));