Hello Christian,

as I know, this isn't possible. At least you need to enter 'new':

   DocumentList documentList = new |

and hit Ctrl-Shift-Space.

Mike


>
>Subject: [Eap-features] Declaration with code completion for immediate instanciation.
>   From: Christian Andersson <[EMAIL PROTECTED]>
>   Date: Thu, 14 Mar 2002 11:11:40 +0100
>     To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
>
>
>Maybe I have not found this feature or I'm way behind using build #604 or people 
>simply don't want this...
>Is there a way of getting code complettion for immediate instanciation when declaring 
>an object?
>
>For example if you type:
>
>       DocumentList documentList = |
>(or more sparse)
>       DocumentList documentList |
>
>I'd like to see some kind of code completion (lightbulb intention perhaps?) like:
>
>(when there exist constructors with arguments)
>       DocumentList documentList = new DocumentList(|);
>(and when there only exist the default constructor)
>       DocumentList documentList = new DocumentList();
>       |
>
>/Christian


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

Reply via email to