mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
show implementations: check if sources are attached (IDEA-137734)
This commit is contained in:
+5
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user