If always found it weird that there is no 'off' feature.  You'd think zero would do 
it, but that has the same affect as 1.

Paul.



                                                                                       
                                                          
                      Sam Wilson                                                       
                                                          
                      <[EMAIL PROTECTED]>               To:       
"'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>       
                      Sent by:                           cc:                           
                                                          
                      [EMAIL PROTECTED]        Subject:  RE: [Eap-features] 
Import seperate classes                                    
                      tbrains.com                                                      
                                                          
                                                                                       
                                                          
                                                                                       
                                                          
                      21/08/2002 15:27                                                 
                                                          
                      Please respond to                                                
                                                          
                      eap-features                                                     
                                                          
                                                                                       
                                                          
                                                                                       
                                                          




Open up IDE Options from the Tools Menu, select Code Style from the tree view... 
Select the "Imports" tab and then find the "Class count to use import with '*'" field 
and change that value.

Essentially, once you import that many classes from a single package, IDEA will 
convert all the individual import statements into one.

Kinda funny that the edit box goes all the way across the dialog, even though it's 
only for an integer value.. :)

sw
 -----Original Message-----
 From: Hans Speijer [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, August 21, 2002 10:17 AM
 To: Eap-Features (E-mail)
 Subject: [Eap-features] Import seperate classes

 I have the following in my imports:

 import java.util.HashMap;
 import java.util.Iterator;

 I add code to a method that uses an ArrayList. The IDEA is great by offering to add 
ArrayList to my import statements.

 How do I prevent it from turning my imports into:

 import java.util.*;

 but instead do this:

 import java.util.HashMap;
 import java.util.Iterator;
 import java.util.ArrayList;

 Thanks,

 Hans Speijer




--

This e-mail may contain confidential and/or privileged information. If you are not the 
intended recipient (or have received this e-mail in error) please notify the sender 
immediately and destroy this e-mail. Any unauthorized copying, disclosure or 
distribution of the material in this e-mail is strictly forbidden.


_______________________________________________
Eap-features mailing list
[EMAIL PROTECTED]
http://lists.jetbrains.com/mailman/listinfo/eap-features

Reply via email to