mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Some results from goto symbol are missed in SE IDEA-126559
This commit is contained in:
@@ -1543,7 +1543,9 @@ public class SearchEverywhereAction extends AnAction implements CustomComponentA
|
||||
if (o instanceof PsiElement) {
|
||||
final PsiElement element = (PsiElement)o;
|
||||
final PsiFile file = element.getContainingFile();
|
||||
if (!myListModel.contains(o) && file != null && file.getVirtualFile() != null && scope.accept(file.getVirtualFile())) {
|
||||
if (!myListModel.contains(o) &&
|
||||
//some elements are non-physical like DB columns
|
||||
(file == null || (file.getVirtualFile() != null && scope.accept(file.getVirtualFile())))) {
|
||||
symbols.add(o);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user