Friday, February 16, 2007

Move a method with one keystroke! Put your cursor on the same line as a method declaration, at the very beginning of the line. Then Ctrl-Shift-Up Arrow will move the entire method above the previous one, including javadocs. Ctrl-Shift-Down Arrow to move it after the method below it. (Normally, Ctrl-Shift-Up/Down moves only the line your cursor is on.)