When auto-completing a class name in Eclipse, e.g. if you type:
ListI
Tab
A pop-up menu appears offering you matching class names for completion (which you can select with the mouse or by using the arrow keys:
In this example I almost certainly want java.util.ListIterator
and the probability that com.sun.xml.internal.bind.v2.runtime.reflect.ListIterator
(or anything else from that package) is what I want is about one in a million.
I know this particular class will appear in the list frequently (every time I declare a ListIterator
) so I would like to be able to exclude the other packages from autocomplete searches, so that java.util.ListIterator
is auto-completed without the need for a pop-up menu.
Is this possible?