mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
navigation to class fixed if file not opened (IDEADEV-41617 re-fixed)
This commit is contained in:
@@ -35,7 +35,6 @@ import com.intellij.psi.PsiFile;
|
||||
import com.intellij.psi.impl.ElementBase;
|
||||
import com.intellij.psi.search.PsiElementProcessor;
|
||||
import com.intellij.ui.JBListWithHintProvider;
|
||||
import com.intellij.ui.components.JBList;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
@@ -161,8 +160,7 @@ public final class NavigationUtil {
|
||||
|
||||
final FileEditorManager fem = FileEditorManager.getInstance(elt.getProject());
|
||||
if (!fem.isFileOpen(vFile)) {
|
||||
fem.openFile(vFile, true, searchForOpen);
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
final TextRange range = elt.getTextRange();
|
||||
|
||||
Reference in New Issue
Block a user