Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What happened to Edit.MoveLineUp/Down in Visual Studio 2012

In Visual Studio 2010 you can assign keyboard shortcuts for moving lines up and down.

Visual Studio 2010

I can't find these commands in 2012.

Visual Studio 2012

Have they been renamed or removed? Is there any way, out-of-the-box, to move lines using ALT + ? (I'm not buying ReSharper.)

like image 843
Daniel Avatar asked Sep 14 '12 19:09

Daniel


2 Answers

This command is a part of Productivity Power Tools.

The 2012 version was released in November 2012. You can find it here:

Productivity Power Tools for Visual Studio 2012

like image 88
Ryan Lundy Avatar answered Nov 07 '22 19:11

Ryan Lundy


Nothing happened to it, these commands don't exist in VS2010 either. Check what add-ins you've got installed.

Not sure what it does, but consider Edit.ScrollLineUp/Down. Default binding is Ctrl+Up/Down arrow.

like image 35
Hans Passant Avatar answered Nov 07 '22 19:11

Hans Passant