Community
Participate
Working Groups
When you have: package org.foo; public class Bar { public static final int X = 1; public static final int THING = 2; public static final int OTHER = 3; } package org.xyz; import static org.foo.Bar.X; public class Foo { int t = | } At | code completion will give me X (as expected) but would be nice in addition to see THING and OTHER as low priority items but easy to code complete on. Once code completed it would add the proper import and be updated to: package org.xyz; import static org.foo.Bar.X; import static org.foo.Bar.THING; public class Foo { int t = THING; } and of course if you go beyond your import threshold it will turn into org.foo.Bar.*; eventually.
Good idea. Should be doable.
Currently I handle code assist. So, I'll take this one. Thanks
If you address this please also consider static methods, not only fields, typical use case: import static org.junit.Assert.assertNotNull and then you want to use other assert methods from the same class. Getting such proposals would be cool indeed.
(In reply to comment #3) > If you address this please also consider static methods, not only fields, > typical use case: import static org.junit.Assert.assertNotNull and then > you want to use other assert methods from the same class. > Getting such proposals would be cool indeed. Sure Stephan. Thanks.