Thanks. This is what I looked for.
It works well only if:
1. you start with the caret on the method declaration (e.g. its name) as
opposed to inside its body.
2. the method header comments is a javadoc block ('/**' as opposed to '/*').
Otherwise, the CTRL-W expands the selection but for some reason skips over
the
selection of the entire method (looks like a bug to me).
Tal
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Arun Batchu
> Sent: Thursday, October 04, 2001 4:38 PM
> To: [EMAIL PROTECTED]
> Subject: RE: [Eap-list] What is the easiest way to copy a method
>
>
> Repeated Ctrl-W should do it I think.
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Tal Dayan
> Sent: Thursday, October 04, 2001 6:36 PM
> To: [EMAIL PROTECTED]
> Subject: RE: [Eap-list] What is the easiest way to copy a method
>
>
> So, let I rephrase the question... ;-)
>
> What is the eaisest way to select a mehod including its header
> comments ?
>
> Since IDEA is aware of method boundaries (see method seperation lines),
> I would expect it to have somthing better then just basic
> find-start/drag-to-end/copy
> sequence.
>
> Thanks,
>
> Tal
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> > Behalf Of Valentin Kipiatkov
> > Sent: Thursday, October 04, 2001 3:57 AM
> > To: [EMAIL PROTECTED]
> > Subject: Re: [Eap-list] What is the easiest way to copy a method
> >
> >
> > Why not select, Copy and Paste it?
> >
> > Best regards,
> > Valentin Kipiatkov
> > -----------------------------------------------------------
> > IntelliJ Software, http://www.intellij.com/
> > "Develop with pleasure"
> > -----------------------------------------------------------
> >
> > ----- Original Message -----
> > From: "Tal Dayan" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Thursday, October 04, 2001 5:50 AM
> > Subject: [Eap-list] What is the easiest way to copy a method
> >
> >
> > > This is something I encounter very frequently. I want to create a new
> > > method based on an existing method (typically in the same file but not
> > > always).
> > >
> > > What is the easiest way to copy a method (including its
> header comments
> > > whether they
> > > are javadoc or not) and rename the new copy ?
> > >
> > > Thanks,
> > >
> > > Tal
> > >
> > >
> > > _______________________________________________
> > > 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
>
> _______________________________________________
> 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