Maybe there can be a window which shows the function and method tree as the
order of source code and let user to rearrange them. Also there can be a
sort method to sort methods and fields.
"Igor Karpov" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Sure, this is possible and that's almost how I use it now.
> It's folding + CtrlW + Copy/Paste anyway since I minimize the use of
mouse...
>
> -----Original Message-----
> From: "Bryan Young" <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Date: Thu, 11 Jul 2002 13:45:19 -0500
> Subject: Re: Move method (not refactoring)
>
> >
> > I agree it would be nice to have a shortcut for this, but I thought I
would
> > point out a trick that can help in the mean time:
> >
> > Press Ctrl-+ to collapse the tree.  Then select the method (multiple
lines
> > are easy to select when dragging in the numbered area).  Then drag the
> > method to it's new position (you must have a recent release of the eap
to
> > dnd).
> >
> > I know it's not as cool as a shortcut key, but it beats the copy/paste
> > solution you mentioned in your post.
> >
> >
> > "����� ������" <[EMAIL PROTECTED]> wrote in message
> > news:[EMAIL PROTECTED]...
> > > Often there is a need to move the method up/down relative to other
methods
> > in
> > > the file.
> > > E.g. when idea introduces a method, and the method is private, I wish
to
> > move
> > > it to the end of file. (Something can be done in this area also -
layout
> > code
> > > with sorting by visibility..)
> > >
> > > It would be nice to have a couple of keystroked assigned to this:
> > > E.g.
> > >
> > > void a() { ... }
> > > void b() { ... }  // cursor is here
> > > void c() { ... }
> > >
> > > And I wish to move b() down:
> > > Press Alt+Shift+Down and get
> > >
> > > void a() { ... }
> > > void c() { ... }
> > > void b() { ... }  // we are here
> > >
> > > Otherwise I spend time with lots of cuts-and-pastes, cursor movement
etc.
> > > This can also be applied to statements inside of method....
> > >
> >
> >
> > _______________________________________________
> > Eap-features mailing list
> > [EMAIL PROTECTED]
> > http://lists.jetbrains.com/mailman/listinfo/eap-features
> >
>


_______________________________________________
Eap-features mailing list
[EMAIL PROTECTED]
http://lists.jetbrains.com/mailman/listinfo/eap-features

Reply via email to