Now that you mention it, I think the following situation would be nice.
Suppose you have a method called "myMethod" of class "MyClass" that
takes zero parameters.  Then suppose you do the following:

String name = "Kirk";
MyClass myClass = new MyClass();
myClass.myMethod(name);

I think it would be desirable to have an option to expand "myMethod"
with that new parameter.  In the event that multiple methods are present
of the same name, the intention picklist can be expanded to include all
the method signatures of that method--then you can choose the one you
want to change.

In addition, I would find it nice to be able to do:

new MyNewClass(1, "Blah");

And be able to create a new class.  For choosing the package in such a
situation, perhaps that intention picklist could be populated with
"Current Package" and "Choose Package".

Anyway, great work guys.

Kirk

>-----Original Message-----
>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
On
>Behalf Of Eugene Belyaev
>Sent: Thursday, February 07, 2002 4:24 PM
>To: [EMAIL PROTECTED]
>Subject: RE: [Eap-list] IntentionAction: Create Field in Constructor
>
>Anything else you would like to see in this direction?
>
>Best regards,
>
>Eugene Belyaev
>IntelliJ Software, http://www.intellij.com
>"Develop with pleasure"
>
>
>> -----Original Message-----
>> From: [EMAIL PROTECTED]
>> [mailto:[EMAIL PROTECTED]] On Behalf Of Erb
>> Sent: Friday, February 08, 2002 2:51 AM
>> To: [EMAIL PROTECTED]
>> Subject: Re: [Eap-list] IntentionAction: Create Field in Constructor
>>
>>
>> Useful?  I've been waiting for this for months!!!!
>>
>> Eugene Belyaev wrote:
>> > I encourage you to try one IntentionAction we have added in
>> Ariadna.
>> > When you manually add a new parameter to a constructor there is an
>> > IntentionHint (lightbulb) allowing you to create a field for this
>> > parameter and it automatically assigns it in the
>> constructor's body.
>> > Try it and tell if it's useful.
>> >
>> > Best regards,
>> >
>> > Eugene Belyaev
>> > IntelliJ Software, http://www.intellij.com
>> > "Develop with pleasure"
>> >
>> >
>>
>>
>> --
>>
>> Erb
>>
>>
>>
>> _______________________________________________
>> 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



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

Reply via email to