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.
Half of the times when I build and get a compilation error it can be fixed by clicking Alt+Shift+F to invoke the "Fix imports" tool. Fixing imports takes less than a second whereas building takes much longer. Consequently my daily work looks like this: 1. start the build process and then wait 20 seconds and get a trivial compilation error 2. fix it in 1 second using "Fix imports" 3. start the build process and wait an additional 20 seconds This allows me to build the application in 41 seconds. Now if NetBeans invoked "Fix imports" automatically I would always spend an additional second for fixing imports but I would also quite often safe 20 seconds for rebuilding. That is my suggestion. Randahl
Reassigning to "java".
Could be an action for "save actions". Linked 14202 to this.
*** Bug 188954 has been marked as a duplicate of this bug. ***
Created attachment 161955 [details] Dialog where "fix imports" checkbox should be
(In reply to markiewb from comment #2) > Could be an action for "save actions". Linked 14202 to this. Exactly what I came here to suggest.. see attachment above.