My eclipse is configured so that when I save the java source file, it automatically inserts the missing import declarations. Except when the reference is ambiguous. Fpr instance, the most annoying ambiguity is with List<T>
- both java.util
and java.awt
declare it. Here eclipse demands manual resolution.
I was wondering if it was possible to configure somewhere that whenever List<T>
is used then java.util
should be imported. Or alternatively, since I am not using java.awt
, I could just remove it from the list of possible suggestions.
Any ideas?
Thanks.