mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-149841 Scratches: "Import class" intention/quick-fix is not available
This commit is contained in:
+1
-2
@@ -88,8 +88,7 @@ public abstract class ImportClassFixBase<T extends PsiElement, R extends PsiRefe
|
||||
}
|
||||
}
|
||||
|
||||
PsiManager manager = file.getManager();
|
||||
return manager.isInProject(file) && !getClassesToImport(true).isEmpty();
|
||||
return !getClassesToImport(true).isEmpty();
|
||||
}
|
||||
|
||||
@Nullable
|
||||
|
||||
Reference in New Issue
Block a user