I recently did a new install of netbeans on my opensuse distro.

Before, when I used to use netbeans if I typed for example:
ArrayList<String> a = new ArrayList<String>();

Then I could click at the start of the line and select add import for java.util.ArrayList;

However, now with my fresh install, this option is no longer available.

I need to import it manually.

Is there an option I need to check or something I am missing with my install?

Thanks for any help..