diff --git a/platform/lang-impl/src/com/intellij/codeInsight/hint/ImplementationViewComponent.java b/platform/lang-impl/src/com/intellij/codeInsight/hint/ImplementationViewComponent.java index c9195be08742..dc36e9d74cd4 100644 --- a/platform/lang-impl/src/com/intellij/codeInsight/hint/ImplementationViewComponent.java +++ b/platform/lang-impl/src/com/intellij/codeInsight/hint/ImplementationViewComponent.java @@ -109,11 +109,7 @@ public class ImplementationViewComponent extends JPanel { return presentableName; } - if (UISettings.getInstance().HIDE_KNOWN_EXTENSION_IN_TABS) { - if (Comparing.strEqual(presentableName, myElementPresentation)) { - return presentableName; - } - } else if (Comparing.strEqual(presentableName, myElementPresentation + "." + vFile.getExtension())){ + if (Comparing.strEqual(vFile.getName(), myElementPresentation + "." + vFile.getExtension())){ return presentableName; }