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.

Bug 194070

Summary: Fix all imports should be in the menu provided by editor hints which recognizes a class needs to be imported
Product: java Reporter: _ wadechandler <wadechandler>
Component: EditorAssignee: Dusan Balek <dbalek>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: Windows XP   
Issue Type: ENHANCEMENT Exception Reporter:

Description _ wadechandler 2011-01-06 03:36:28 UTC
This is pretty annoying for a while now. I've just now thought about filing an issue for it for some reason. Basically, we have the editor hint about the need for some classes to be imported. Often there will be more than one class on that line. Instead of having to click off that menu and then fix imports, we need a menu option to just let us ALT+ENTER (to see the hints on the line) and then be able to choose the first option which could be "Fix all imports". 

That simple thing would make working with the editor more productive for me most of the time. The ALT+ENTER I wind up hitting a lot because there is an annotation there to tell me exactly what is wrong versus just Fix imports then perhaps still having the issue because there is some library missing. The hints gives me a list of things to possibly import. When it is blank and there is nothing to import yet in the project, I immediately know to look at libraries or if I have misnamed something.