I thought about this as well some time ago, but I guess much too often
there is more than one class matching the name, e.g. List could be
java.awt.List or java.util.List. The same applies to many other class
names if you are using some 3rd-party libs. So auto-insert of imports
would be possible on a limited amount of classes only. IDEA would more
or less often have to ask you which of the possible classes you mean.
So I think the current behaviour is the best we can get.

Michael

On Mon, 15 Jul 2002 11:32:58 +0400, "Alexey Efimov"
<[EMAIL PROTECTED]> wrote:

>More of we can use - a declaration imports or somethink by pressing
>ALT+Enter. I  request to make negotive action - "Disable authomatic
>ALT+Enter". Or just "Disable ALT+Enter".
>
>I try describe:
>Then i type:
>List|
>This underlined and ask for ALT+Enter.
>
>I want to:
>List|
>It show tool tip with "Import automaticaly inserted after 2 second unless
>you pressed ALT".
>This Automatical inserts holded into list and execute lazy:
>// Blocks in {} are description of current position state
>List{here IntelliJ put in list information #1 about this import} list = new
>ArrayList{here IntelliJ put in list information #2 about this import}();
>// ... Imagine that already passed 2 second after first putting
>{IntelliJ insert import java.util.List}
>Iterator{here IntelliJ put in list information #3 about this
>import}{IntelliJ insert import java.util.ArrayList becose time is over for
>this import} iterator = list.iterator();
>{IntelliJ insert import java.util.Iterator}
>
>etc.
>
>The idea is not pressing ALT+Enter authomatical inser imports, and give
>ability to disable it for short time period by pressing ALT.
>
>So this feature must be in IDE options. And i also guess for full automatic
>import inserting imediatly without disabling ability.
>
>Thanks. Sorry for bad language
>

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

Reply via email to