Use Tools | IDE Options | Code Style | Imports and specify "Class count to use import with '*'" to the number you need. E.g. 100 so it will never convert explicit class imports to package imports.
Best regards, Eugene Belyaev IntelliJ Software, http://www.intellij.com "Develop with pleasure" > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] On Behalf Of Dmitri Colebatch > Sent: Saturday, November 17, 2001 9:57 AM > To: [EMAIL PROTECTED] > Subject: [Eap-list] alt-enter - insert import > > > hi, > > just found a weird thing with alt-enter. say I have a > package, org.foo.util, and it contains there classes, A, B > and C. If I have: > > import org.foo.util.A; > import org.foo.util.B; > > and I use C, hit alt-enter to let IDEA create the import for me, I get > > import org.foo.util.*; > > I can see the argument for this, but I'd prefer to have the > whole package imported explicitly. what if a new class is > added to the package that clashes with something I've already > imported - I'll get a compile error without changing the > source code... > > as always - great work with IDEA... just nitpicking (o: > > cheers > dim > > > _______________________________________________ > 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
