> Similarly, it would be nice if code completion would handle > the following: > > | new Foo(); > > with something like: > > Foo foo = new Foo();
But this is achieved easily by using the Introduce Variable refactoring. You select the "new Foo()" by pressing Ctrl-W a couple of times and press Ctrl-Alt-V and enter "foo" as a variable name, then Enter. Best regards, Eugene Belyaev IntelliJ Software, http://www.intellij.com "Develop with pleasure" > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] On Behalf Of Peter Bertok > Sent: Sunday, October 21, 2001 5:22 AM > To: [EMAIL PROTECTED] > Subject: Re: [Eap-list] smart completion bug(?) > > > > > > > In the following code snippet: > > > > Foo[] foos = { new | }; > > > > I expected that pressing ctrl-shift-space would leave me with: > > > > Foo[] foos = { new Foo(|) }; > > > > but no... nothing happened :o( > > > > > > Dan/tastapod > > Similarly, it would be nice if code completion would handle > the following: > > | new Foo(); > > with something like: > > Foo foo = new Foo(); > > > _______________________________________________ > 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
