The original problem seems somewhat contrived. The user could have achieved the same effect by just doing an Optimize Imports rather than by deleting the import and then fixing all the errors introduced.
-- Mark -----Original Message----- From: North D [mailto:[EMAIL PROTECTED]] Sent: Monday, January 07, 2002 10:26a To: '[EMAIL PROTECTED]' Subject: RE: [Eap-list] auto import identification bug +1 for add all imports. It would need to pop up a dialog for ambiguous imports though. Maybe just list them all with checkboxes, and you select the ones you want? > -----Original Message----- > From: Erb [mailto:[EMAIL PROTECTED]] > Sent: 07 January 2002 18:11 > To: [EMAIL PROTECTED] > Subject: Re: [Eap-list] auto import identification bug > > > This is because the alt-enter functionality only works on > symbols on the > current screen. > IDEA will not highlight other references in the file until > you actually > scroll to them. Maybe we could use an "add all imports" option. > > Michael Kirby wrote: > > > Opena file with a lot of imports, where the import is > something like java.io.* > > > > change tools->options->imports to be a big number so > intellij won't put the java.io.* > > back in. > > > > delete the import java.io.*. > > > > It will highlight a bunch of stuff that needs to be > replaced. It asks you to press alt- > > enter. Keep pressing this until it goes off the bottom of > the screen. > > > > Select on one of the highlighted tabs to continue the > process on a later page, and > > suddenly all of the errors are reported as being "cannot > resolve symbol". > > > > If you uncheck the syntax highlighting options, close > options, and then recheck them > > it will find missing imports again, until it scrolls off the screen. > > > > There is something really weird going on. > > > > Mike > > --- > > [EMAIL PROTECTED] > > To obtain my PGP public key, mail "SEND PUB KEY" in the > > subject to "[EMAIL PROTECTED]" > > > > > > _______________________________________________ > > Eap-list mailing list > > [EMAIL PROTECTED] > > http://www.intellij.com/mailman/listinfo/eap-list > > > > > > > > > -- > > Erb > > ============================================================== > "The only time I like in the morning is afternoon." > - Russell D. Cooper > > "If you do everything, then you're all done." > - Melissa F. Cooper > > "Most of you are familiar with the virtues of a programmer. > There are three, of course: laziness, impatience, and hubris." > - Larry Wall > ============================================================== > > > _______________________________________________ > Eap-list mailing list > [EMAIL PROTECTED] > http://www.intellij.com/mailman/listinfo/eap-list > **************************************************************************** *********** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify [EMAIL PROTECTED] immediately. This footnote also confirms that this email message has been swept for the presence of computer viruses. **************************************************************************** *********** _______________________________________________ Eap-list mailing list [EMAIL PROTECTED] http://www.intellij.com/mailman/listinfo/eap-list _______________________________________________ Eap-list mailing list [EMAIL PROTECTED] http://www.intellij.com/mailman/listinfo/eap-list
