What's the equivalent for eclipse's ALT+UP/DOWN (move line) in Visual Studio?

后端 未结 7 856
说谎
说谎 2020-12-13 16:54

In Eclipse, selecting a line and pressing Alt + / will move the line up and down, a quick way to avoid copy&paste. Is there

7条回答
  •  隐瞒了意图╮
    2020-12-13 17:19

    ReSharper's Ctrl + Shift + Alt + /// is even more powerful - when on the beginning of the line, it will move the entire line, but can also be used to move entire methods, change the order of parameters, etc.

提交回复
热议问题