Yes. It's already implemented and will be included in the EAP. Best regards,
Eugene Belyaev IntelliJ Software, http://www.intellij.com "Develop with pleasure" > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] On Behalf Of Mans af Klercker > Sent: Wednesday, January 09, 2002 9:33 AM > To: [EMAIL PROTECTED] > Subject: RE: [Eap-features] Create new method from sample usage. > > > Hi Graham! > > This feature was discussed on this list some time back (Under > the name "programming by intention" as I reacall) and the > guys at IntelliJ are, to my knowledge, including it in Ariadna. > > cheers, > /Mans > > > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED]]On Behalf Of > > [EMAIL PROTECTED] > > Sent: den 9 januari 2002 07:05 > > To: [EMAIL PROTECTED] > > Subject: [Eap-features] Create new method from sample usage. > > > > > > I would like to be able to create a method from an example > use of the > > (non-existant) method. > > > > For example: > > > > 1. I have class Foo, with no methods. > > 2. While typing in a class using foo, I try to use a method that > > I will now > > want to create on it, called 'bonson' > > E.g.: > > > > Foo foo = new Foo(); > > String blah = "x"; > > String[] result = foo.bonson(blah); > > > > 3. I then want to right-click on the (highlighted) 'bonson' > method and > > click 'Generate New Method'. 4. IntelliJ would then > generate, in class > > Foo: > > > > public String[] > > bonson(String blah) > > { > > | > > } > > > > 4b. If Foo were an interface, the declaration would need to > go in Foo, > > and a definition created in each direct subclass. > > > > Graham Lea > > > > -- > > Software Engineer > > Forge Research Pty Ltd > > Suite 116, Bay 9, Locomotive Workshop > > Australian Technology Park, Cornwallis Street > > Eveleigh NSW 1430 Australia > > Phone: +61 2 9209 4152 Fax: +61 2 9209 4172 > > www.forge.com.au > > > > > ---------------------------------------------------------------------- > > This message contains privileged and confidential > information intended > > only for the use of the addressee named above. If you are not the > > intended recipient of this message you must not > disseminate, copy or > > take any action in reliance on it. If you have received > this message > > in error please notify the sender immediately. Any views > expressed in > > this message are those of the individual sender, except where the > > sender specifically states them to be the views of another > (including > > a Body Corporate). > > > ---------------------------------------------------------------------- > > > > > > _______________________________________________ > > Eap-features mailing list > > [EMAIL PROTECTED] > > http://www.intellij.com/mailman/listinfo/eap-features > > > > > _______________________________________________ > Eap-features mailing list > [EMAIL PROTECTED] > http://www.intellij.com/mailman/listinfo/eap-features > _______________________________________________ Eap-features mailing list [EMAIL PROTECTED] http://www.intellij.com/mailman/listinfo/eap-features
