Tip for Visual Studio 2013: moving lines up and down in the code editor

Posted: (EET/GMT+2)

 

A quick Visual Studio 2013 code editor tip for today: if you want to quickly move a single line of code up or down, simply press the Alt key while pressing the up or down arrow keys (Alt+Up or Alt+Down). This also works for selected lines of code, thus you can move multiple lines at once.

Note that this feature has been available in the Visual Studio Power Tools for a couple of years at least, but in Visual Studio 2013, this feature is built-in for the first time.

Motto: Gettin' the code written on time!