Q:

How to configure Eclipse to automatically insert import statements for classes with a single package match

Is it possible to configure Eclipse so that it automatically inserts an import statement whenever a class name has just one package match ?
Note: "Preferences/Java/Editor/Content Assist/Insert single proposals automatically" is turned on
Thank you

A:

As @Bala R commented, Ctrl-Shift-O (Organize Imports) is the way to go.
"Insert single proposals automatically" is only for content assist - e.g. code completion.

