mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
IDEA-88939 BigDecimal not selected by default in completion popup
This commit is contained in:
@@ -71,7 +71,7 @@ public class KnownElementWeigher extends ProximityWeigher {
|
||||
}
|
||||
|
||||
private static Comparable getJdkClassProximity(@Nullable PsiClass element) {
|
||||
if (element == null) {
|
||||
if (element == null || element.getContainingClass() != null) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user