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 188954

Summary: fix imports on compile option
Product: java Reporter: jonathancrosmer
Component: CompilerAssignee: Dusan Balek <dbalek>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: Windows Vista   
Issue Type: ENHANCEMENT Exception Reporter:

Description jonathancrosmer 2010-07-26 12:55:01 UTC
I'm looking for a very simple enhancement:  the option in the java editor to run "fix imports" before any compile/build/run/debug, or perhaps to run it only if there are import errors preventing compilation.  So many times I push the button to run project, debug, run file, etc. and it fails for exactly one reason: need to import something really obvious that the IDE is able to guess with Fix Imports.  It would be great if NB figured this out, fixed it automatically, and continued with the previous action.

Product Version: NetBeans IDE 6.9 (Build 201006101454)
Java: 1.6.0_20; Java HotSpot(TM) Client VM 16.3-b01
Comment 1 markiewb 2013-12-18 22:21:32 UTC
You want it as a save action? Dup of #89036

*** This bug has been marked as a duplicate of bug 89036 ***