Move line Up/Down shortcut in Visual Studio 2012

后端 未结 9 1680
广开言路
广开言路 2021-01-30 15:59

In VS2010 I had a shortcut set up Alt+Up/Down to move lines of code up or down, just like I used to have in Eclipse in my Java days.

Now since Powe

9条回答
  •  故里飘歌
    2021-01-30 16:23

    You can use Move Line Command extension.

    Just follow formula349's comment:

    I was able to get this working with 2012 as-is.

    Rename the package to .zip and unzip all files into a folder. Edit the extension.vsixmanifest file and look for the SupportedProducts XML node. Change the Version="10.0" to Version="11.0".

    Re-zip the folder contents and rename back to .vsix. Works great!

提交回复
热议问题