Title: RE: [Eap-list] Lightbulb Extension Request

The caret has to be located at the error for the 'lightbulb' to popup.

regards,
Andrew

-----Original Message-----
From: Michael Descher [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 13, 2002 4:28 PM
To: [EMAIL PROTECTED]
Subject: AW: [Eap-list] Lightbulb Extension Request


I must be missing something. I would really love to use this new feature,
but how does it work? I tried calling a non-existing method on an object but
all that happens is that the method gets red saying it cannot be resolved.
Do I have to press some key or do something else to get this lightbulb? I've
never seen it yet.

Michael

> -----Ursprungliche Nachricht-----
> Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Im
> Auftrag von Chris Woods
> Gesendet: Mittwoch, 13. Februar 2002 22:14
> An: [EMAIL PROTECTED]
> Betreff: [Eap-list] Lightbulb Extension Request
>
>
> I love the new "lightbulb" thing... I call an object's method with an
> as-yet-unknown signature, and I was able to generate the method
> in the other
> class. A slight extension of this feature: it would be wonderful
> if I could
> do the same with constructors -- give me the opportunity to generate a
> constructor with the parameters I've just passed in to it.
>
> For example, if I have a class Foo with a one-arg constructor defined:
>
> class Foo
> {
>      Foo(int bar)
>      {
>          //...
>      }
> }
>
> and I also have a class Baz in which I'm instantiating Foo, but
> decided that
> I want to have a two-arg constructor:
>
> class Baz
> {
>      int bar, blat;
>      Foo fooInstance = new Foo(bar, blat);
> }
>
> I would love to be presented with the opportunity to generate the two-arg
> constructor in the Foo class.
>
> cheers,
> Chris
>
> --
>    Chris Woods      ICQ UIN#21740987      [EMAIL PROTECTED]
>    Experienced Java Developer Looking For Work in Nashua, NH area:
>                  http://resumes.dice.com/objectnetworks
>
>
>
> _______________________________________________
> 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

Reply via email to