Another “small but useful” feature provided by the power
tool extensions is the ability to easily move lines of code up/down within the
editor.
Simply select either a single line of code, or a block of
multiple lines of code, within the editor:
Then hold down the “alt” key, and press either the up or
down arrow on your keyboard. This will cause the editor to move the selected
code up or down within the editor (without you having to copy/paste or move
anything around manually):
This is another one of those features that Word has had for
awhile – and which is nice to now have in VS.