Moves a line, or group of lines, up or down in the editor using shortcut keys. Press the shortcut keys to move the line under the cursor up or down or select a block of text and press the shortcut keys to move the entire block up or down.
The default shortcut keys are as follows:
To change the shortcut keys:
Please note: ReSharper has shortcut keys assigned to the default Alt+Up Arrow (ReSharper.ReSharper_GotoPrevMethod) and Alt+Down Arrow (ReSharper.ReSharper_GotoNextMethod). If you have ReShaper installed you will need to assign different keys to the MoveLine commands as outlined above or reassign the ReSharper shortcut keys. |