diff --git a/platform/lang-impl/src/com/intellij/codeInsight/hint/actions/ShowImplementationsAction.java b/platform/lang-impl/src/com/intellij/codeInsight/hint/actions/ShowImplementationsAction.java index 29aacc3716cc..c7232ed6d012 100644 --- a/platform/lang-impl/src/com/intellij/codeInsight/hint/actions/ShowImplementationsAction.java +++ b/platform/lang-impl/src/com/intellij/codeInsight/hint/actions/ShowImplementationsAction.java @@ -148,6 +148,11 @@ public class ShowImplementationsAction extends AnAction implements PopupAction { } } + //check attached sources if any + if (element instanceof PsiCompiledElement) { + element = element.getNavigationElement(); + } + String text = ""; PsiElement[] impls = new PsiElement[0]; if (element != null) {