> -----Original Message----- > From: Valentin Kipiatkov [mailto:[EMAIL PROTECTED]] > Sent: 19 December 2001 10:34 > To: [EMAIL PROTECTED] > Subject: Re: [Eap-list] Optimize imports: problems with wrong packages > > > It's not a bug actually, it's a feature. IDEA used to remove > all imports of unknown classes/packages. This caused IDEA > could easily damage the code by import optimizing in case > some of the classes are not accessible (for example, when > user forgot to add some of library jars to the project). Then > we decided to leave such imports. That seems to be more > correct because Optimize import is intended to just beautify > the code, not to correct uncompilable code. > > But now, even better solution came to my mind. We could leave > imports of unknown classes/packages ONLY when there are any > unknown references in the code. Otherwise we can safely > remove them. What do you think? > > Best regards, > Valentin Kipiatkov
GREAT! Please go ahead with it ASAP :-) Edo _______________________________________________ Eap-list mailing list [EMAIL PROTECTED] http://www.intellij.com/mailman/listinfo/eap-list
