I like this idea!
I'd like to add another request, driven by a bug that I've had some back-and-forth with support about. If your Java project has other filetypes, such as XML, and they get tagged, the importer can get confused. For example, if I have an XML file with the following in it:
<foo>
<bar Locale="en">abc</bar>
</foo>
then the Locale attribute will confuse the importer such that it will fail silently whenever I try to use it on code like this:
ResourceBundle bundle = (ResourceBundle)session.getAttribute("bundle");
Locale locale = bundle.getLocale();
If I try to do "Add Import" on Locale in that code, it does nothing. If I remove the above XML file from my project, Add Import will find java.util.Locale successfully.
So the request is to have the Java import functions be a bit smarter: only look at tags that came from other Java files.