mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
alternative id (IDEA-140469)
This commit is contained in:
@@ -28,7 +28,7 @@
|
||||
<gotoDeclarationHandler implementation="com.intellij.codeInspection.i18n.folding.I18nMessageGotoDeclarationHandler" order="FIRST"/>
|
||||
<inlineActionHandler implementation="com.intellij.refactoring.inline.InlinePropertyHandler"/>
|
||||
|
||||
<localInspection shortName="HardCodedStringLiteral" bundle="messages.CodeInsightBundle" key="inspection.i18n.display.name"
|
||||
<localInspection shortName="HardCodedStringLiteral" alternativeId="nls" bundle="messages.CodeInsightBundle" key="inspection.i18n.display.name"
|
||||
groupBundle="messages.InspectionsBundle" groupKey="group.names.internationalization.issues" enabledByDefault="false" level="WARNING"
|
||||
implementationClass="com.intellij.codeInspection.i18n.I18nInspection"/>
|
||||
<localInspection groupPath="Java" language="JAVA" shortName="UnresolvedPropertyKey" bundle="messages.CodeInsightBundle"
|
||||
|
||||
@@ -403,6 +403,12 @@ public class I18nInspection extends BaseLocalInspectionTool {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Nullable
|
||||
@Override
|
||||
public String getAlternativeID() {
|
||||
return "nls";
|
||||
}
|
||||
|
||||
@Override
|
||||
@Nullable
|
||||
public ProblemDescriptor[] checkFile(@NotNull PsiFile file, @NotNull InspectionManager manager, boolean isOnTheFly) {
|
||||
|
||||
Reference in New Issue
Block a user