This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
If I type the following: JOptionP and then press Cntrl-Space NB suggests JOptionPane. If I press enter to let it complete the code then NB will add an import for JOptionPane at the top of the file. But if instead I type this: JOptionPane.showM and then press Cntrl-Space NB suggests the showMessageDialog() method from JOptionPane. If I press enter to let it complete the code then NB does *not* add an import for JOptionPane. I have to use Fix Imports to then get the import for JOptionPane. That's inconvenient because it forces me to change the way I work in order to get the auto-import functionality. I would like for auto-import to work regardless of how much of the class name I type.
Reassigning to Mila for further evaluation. We should fix this for promoF if possible.
That's surely a java/editor problem, isn't it?