How to move (up/down) code lines in Android Studio?
android-studio, ide, intellij-idea
Solution
To move a line:
Place the caret at the line to be moved.
Do one of the following:
On the main menu, choose `Code | Move Line Up or Code | Move Line Down`.
Press Shift+Alt+Up or Shift+Alt+Down.
Problem
In eclipse we use Alt + ↑/↓ to move a line up or down. Is there any shortcut in Android Studio to do the same? Or any quick way to avoid copy & paste?