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
