Accepted answer

window > preferences > java > appearance > type filters

you should be able to specify there the packages you do not want to see.

see java tips and tricks

to exclude certain types from appearing in content assist, use the type filter feature configured on the java > appearance > type filters preference page.
types matching one of these filter patterns will not appear in the open type dialog and will not be available to content assist, quick fix and organize imports.
these filter patterns do not affect the package explorer and hierarchy views.

finnw (the op) adds in the comments:

now how do you add a single class to this list? i'm not interested in java.awt.list but occasionally i want java.awt.window or java.awt.dimension. –

"type filter" is actually based on class pattern matching, meaning if you add:


that class will disappear from the content assist propositions.
if you know all java.awt.lxxx classes are of no interest, you could add


all other classes from java.awt would still be there for the content assist.
with a recent eclipse (i have right now a eclipse 3.6mx, but this should work for 3.5.x as well), you are not limited to package pattern only in the type filter.


window > preferences > java > appearance > type filters

Related Query

More Query from same tag