I have typed "import" once since december 2001...
Idea imports * from a package as soon as you have used enough classes from that 
package. How many is for you to specify in the "Tools|IDE Options|Code Style|Imports" 
settings.
Idea helps you update the import statements of a class as you code. If you are going 
to use a class not used before type the first letters of the class and use 
<ctrl>+<alt>+<space> ("complete class name") to complete the name, Idea adds the 
import automatically if it is needed. If you type the class name all by yourself Idea 
asks you if you want to import the class' (only one suggestion though).
If you want to optimize your import statements use <ctrl>+<alt>+<f> ("Layout code"), 
make sure the option "optimize imports" is checked.

/Christian


> -----Original Message-----
> From: Kevin Henrikson [mailto:[EMAIL PROTECTED]]
> Sent: den 18 juni 2002 23:36
> To: Eap-Features@Lists. Jetbrains. Com
> Subject: [Eap-features] Intelli-Sense for imports should allow *
> 
> 
>       When typing import statements many times I want to 
> "import java.util.*" or the
> like after looking at the list of options.   But when I hit 
> the "." to get the
> list of classes I can only import a single class.  I think 
> since I need to hit
> SHIFT-8 (*) to get the * the shift key makes IDEA think I'm 
> selecting so it will
> auto-complete with the current selection as I hit the '8'.  
> Seems we just need
> IDEA to ignore the SHIFT-8 as a selection and take it as the 
> literal so it will
> auto-complete with *.
> 
> -kevin
> 
> --
> Kevin Henrikson                                  Openwave 
> Systems, Inc.
> 
> 
> 
> _______________________________________________
> Eap-features mailing list
> [EMAIL PROTECTED]
> http://lists.jetbrains.com/mailman/listinfo/eap-features
> 
_______________________________________________
Eap-features mailing list
[EMAIL PROTECTED]
http://lists.jetbrains.com/mailman/listinfo/eap-features

Reply via email to