From bb5e5e0fe7fbb8e2504f1eac618902558ee9835a Mon Sep 17 00:00:00 2001 From: anna Date: Mon, 23 May 2011 11:28:48 +0400 Subject: [PATCH] implementations popup: check always names --- .../codeInsight/hint/ImplementationViewComponent.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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; }