views:

350

answers:

2

I really like IntelliJ IDEA's "Move statement" shortcut (Ctrl+Shift+UP/DOWN). 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+Up/Down and does not move statement-wise. Is there an equivalent in IntelliJ IDEA?

A: 

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.

PanCrit
As I said in the question, move statement is not what I need but an equivalent to Eclipse's move line. I also found the LineMover plug-in for IDEA. Maybe that will work.
Joa Ebert
+3  A: 

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

Joa Ebert
Very simple, I use this all the time; it binds to Control-Shift-UpControl-Shift-Down
Andy Lynch

related questions