IntelliJ IDEA: Move line?

Viewed 58696

I really like IntelliJ IDEA's "Move statement" shortcut (Ctrl + Shift + /). However -- I am not sure if this is a bug releated to ActionScript editing only -- move statement is not always what I want and sometimes it is not correct when editing AS code.

So I just want to move a block of lines up/down. The Eclipse shortcut is Alt + / and does not move statement-wise. Is there an equivalent in IntelliJ IDEA?

7 Answers

The LineMover plug-in works very well and is an acceptable solution.

You can move several lines together with move statement. Are you trying to move partial lines? I don't think there's a way in Idea.

try command+shift+up/down this will auto adjust the indentation

Related