diff --git a/src/main/kotlin/org/zowe/explorer/editor/inspection/MFLossyEncodingInspection.kt b/src/main/kotlin/org/zowe/explorer/editor/inspection/MFLossyEncodingInspection.kt index 4a07fb515..8542696d2 100644 --- a/src/main/kotlin/org/zowe/explorer/editor/inspection/MFLossyEncodingInspection.kt +++ b/src/main/kotlin/org/zowe/explorer/editor/inspection/MFLossyEncodingInspection.kt @@ -39,7 +39,7 @@ import java.nio.charset.CodingErrorAction class MFLossyEncodingInspection : LocalInspectionTool() { override fun getShortName(): String { - return "MFLossyEncoding" + return "ZoweMFLossyEncoding" } override fun checkFile(file: PsiFile, manager: InspectionManager, isOnTheFly: Boolean): Array? { diff --git a/src/main/kotlin/org/zowe/explorer/utils/encodingUtils.kt b/src/main/kotlin/org/zowe/explorer/utils/encodingUtils.kt index b77479663..ccda26a88 100644 --- a/src/main/kotlin/org/zowe/explorer/utils/encodingUtils.kt +++ b/src/main/kotlin/org/zowe/explorer/utils/encodingUtils.kt @@ -227,7 +227,7 @@ fun checkEncodingCompatibility(file: VirtualFile, project: Project): Boolean { val psiFile = PsiManager.getInstance(project).findFile(file) psiFile?.let { val inspectionProfile = InspectionProjectProfileManager.getInstance(project).currentProfile - val inspectionTool = inspectionProfile.getInspectionTool("MFLossyEncoding", project) + val inspectionTool = inspectionProfile.getInspectionTool("ZoweMFLossyEncoding", project) inspectionTool?.let { tool -> val inspectionManager = InspectionManager.getInstance(project) val descriptors = diff --git a/src/main/resources/META-INF/plugin.xml b/src/main/resources/META-INF/plugin.xml index 36b8781be..ac5e6651e 100755 --- a/src/main/resources/META-INF/plugin.xml +++ b/src/main/resources/META-INF/plugin.xml @@ -368,7 +368,7 @@ Thank you for considering IBA Group for your mainframe needs. order="after org.zowe.explorer.editor.status.MfLineSeparatorWidgetFactory, before powerStatus"/> - diff --git a/src/main/resources/inspectionDescriptions/MFLossyEncoding.html b/src/main/resources/inspectionDescriptions/ZoweMFLossyEncoding.html similarity index 100% rename from src/main/resources/inspectionDescriptions/MFLossyEncoding.html rename to src/main/resources/inspectionDescriptions/ZoweMFLossyEncoding.html