One nice way would be to have "Import xxx" show up in the context menu when you right click on the highlighted error. If there were more than one possible import that would fix the error they would all show up in the menu. This would extend to other ways of fixing errors such as correcting obvious mis-spellings or creating a skeleton implementation for an as yet unwritten method. Something like the way Microsoft Word works when you right click on a spelling error.
-- Mark -----Original Message----- From: Erb [mailto:[EMAIL PROTECTED]] Sent: Monday, January 07, 2002 11:39a To: [EMAIL PROTECTED] Subject: Re: [Eap-list] auto import identification bug Oh yeah, now I know what you mean. Yeah, you have to do this trick where you put the mouse on the name, use the right arrow key, do a dance and pray, and you can get the prompt to appear again. I think there should be a keystroke to make the prompt come up again (chances are there is, and I just don't know about it; that's usually my experience with IDEA.) Michael Kirby wrote: > I don't mind scrolling to them. But once I do, it no longer offers my the "alt-enter" > option, but rather tells me about the symbol being undefined. I now have to > manually enter the import to fix it (or turn off and on syntax checking). > > Mike > > > On 7 Jan 2002 at 13:11, Erb wrote: > > >>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 >> >> > > --- > [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 _______________________________________________ Eap-list mailing list [EMAIL PROTECTED] http://www.intellij.com/mailman/listinfo/eap-list
